Facebook Ads Ad Creative - Data API Endpoint

Ad Creative by ad object id, access token and fields.

Get bulk Ad Creative data from the Facebook Ads API | Official API: https://developers.facebook.com/docs/marketing-apis | 👥  Contributors: steve 🚩  Report

✏️ Inputs

Ad Object ID ad_object_id Required

ID of the Facebook Ad object:

  • Account: act_<AD_ACCOUNT_ID>
  • Campaign: <CAMPAIGN_ID>
  • Ad Set: <ADSET_ID>
  • Ad: <AD_ID>

See more under “Making Calls” here.

You can also get this ID from the URL in FB Ads Manager, e.g. https://business.facebook.com/adsmanager/manage/adsets?act=12345 will let you know your account ID is 12345 and you can then enter act_12345 for this value.

Access Token access_token Required

Your access token for the Marketing API: https://developers.facebook.com/apps/

You’ll need to then go under Products > Marketing API > Tools (left hand column) and generate a token with ads_read and read_insights permissions.

Fields fields Default object_id,effective_instagram_media_id,effective_instagram_story_id,effective_object_story_id

Fields to get back, separated by commas. See the full list of available fields. Popular fields:

  • object_id
  • effective_instagram_media_id
  • effective_instagram_story_id
  • effective_object_story_id

📝 Notes

Posted by steve on June 29, 2022, 6:31 a.m. 🚩  Report

⚡️ Endpoint

GET https://graph.facebook.com/v9.0/{{ad_object_id}}/adcreatives?access_token={{ access_token }}&fields={{ fields }}