Marketing API Version

Publishers

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

Read Publishers

Permissions

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

Fields

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

Read Publisher

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

An example of the request and response:

Request:

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

Response:

{
  "created_date": "2013-12-18T11:55:05-08:00",
  "id": "11002200632400",  
  "last_modified_date": "2013-12-18T11:55:05-08:00", 
  "name": "Facebook", 
  "version": "1"
}

Curl Example

A curl example to get publisher details:

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

Read Campaign Publisher

You can get details of publishers associated with a campaign by making an HTTP GET request.

An example of the request and response:

Request:

https://graph.facebook.com/<API_VERSION>/<CAMPAIGN_ID>/publishers

Response:

{
  "data": [
    {
      "created_date": "2013-12-18T11:55:05-08:00",
      "id": "11002200632400",  
      "last_modified_date": "2013-12-18T11:55:05-08:00", 
      "name": "Facebook", 
      "version": "1"
    }
  ]
}

Curl Example

A curl example to get campaign publishers:

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

Create Publishers

You cannot create publishers.

Delete Publishers

You cannot delete publishers.

Connections or Related Endpoints of AtlasPublishers (Edges)

NameDescription

/sites

Sites associated with the publisher