Marketing API Version

MultiActionTags

Provides operations to create, read, update and delete MultiActionTags.

Read MultiActionTags

MultiAction Tags are also referred to as Universal Tags.

Permissions

A user access token with Atlas API capability is required to request MultiAction Tags details.

Fields

Reading this endpoint returns a single or an array of MultiActionTag objects with the same fields as the node.

Read MultiActionTag

You can get details of the multiactiontags by making an HTTP GET request.

An example of the request and response:

Request:

https://graph.facebook.com/<API_VERSION>/<MULTI_ACTION_TAG_ID>

Response:

{
  "advertiser_id": "11002200631100", 
  "created_date": "2014-11-13T23:51:27+0000", 
  "description": "", 
  "id": "11002200670000", 
  "last_modified_date": "2014-11-13T23:54:59+0000", 
  "location_url": "", 
  "name": "TestMultiActionTagName", 
  "version": "2"
}

Curl Example:

A curl example to get action tag details:

curl -G \
  -d 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/<API_VERSION>/<MULTI_ACTION_TAG_ID>

Create MultiActionTags

Permissions

A user access token with Atlas API capability is required to create or update multiactiontag details.

Fields

Publishing this endpoint returns a single or an array of MultiActionTag objects.

Create MultiActionTag

You can create multiactiontag for an advertiser by making an HTTP POST request to the endpoint with multiactiontag parameter. It will update the multiactiontag if it already exists.

An example of the request and response:

Request:

POST
https://graph.facebook.com/<API_VERSION>/<ADVERTISER_ID>/multi_action_tags

with parameter:

multi_action_tags=[{"name" : "TestMultiActionTagName"}]

Response:

{
  "data": [
    {
      "id": "11002200670000", 
      "success": true
    }
  ]
}

Curl Example

A curl example to create multiactiontag for an advertiser:


curl \ -F 'multi_action_tags=[{"name" : "TestMultiActionTagName"}]' \ -F 'access_token=<ACCESS_TOKEN>' \ https://graph.facebook.com/<API_VERSION>/<ADVERTISER_ID>/multi_action_tags