Contains creative content for an ad account that you can use in your ads. Includes images, videos and so on. Using an ad account creative for a particular ad is subject to validation rules based on the ad type and other rules. See Facebook Ads Guide and Validation, Objectives and Creative.
To retrieve an account's ad creatives, make an HTTP GET call to
use FacebookAds\Object\AdAccount; use FacebookAds\Object\Fields\AdCreativeFields; $account = new AdAccount('act_<AD_ACCOUNT_ID>'); $adcreatives = $account->getAdCreatives(array( AdCreativeFields::NAME, ));
from facebookads.adobjects.adaccount import AdAccount from facebookads.adobjects.adcreative import AdCreative ad_account = AdAccount('act_<AD_ACCOUNT_ID>') ad_account.get_ad_creatives(fields=[AdCreative.Field.object_story_id])
curl -G \ -d 'fields=object_story_id' \ https://graph.facebook.com/<API_VERSION>/act_<AD_ACCOUNT_ID>/adcreatives/