create_creative
Create a Meta ad creative using object_story_spec to define link, photo, or video content and the linked Facebook Page.
Instructions
Create a new ad creative with object_story_spec. The spec defines the ad content (link, photo, or video) and the associated Facebook Page. Notes for v26.0: poll_spec and the poll type under interactive_components_spec are no longer supported and will be rejected. If the advertiser has a shop, eligible creatives now default to destination_spec.destination_type=WEBSITE_AND_SHOP — set it to WEBSITE_AND_SHOP_OPT_OUT to opt out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Creative name | |
| url_tags | No | URL tags to append to all links | |
| account_id | No | Ad account ID to create the creative in (e.g. 'act_123' or '123'). Falls back to META_AD_ACCOUNT_ID env var if omitted. | |
| asset_feed_spec | No | JSON string of asset_feed_spec for dynamic creative | |
| destination_spec | No | JSON object controlling the destination; set destination_type=WEBSITE_AND_SHOP_OPT_OUT to opt out of the v26 Shops default | |
| object_story_spec | Yes | JSON string of object_story_spec (page_id, link_data/photo_data/video_data). Use the separate wamo_whatsapp_identity_spec parameter for WhatsApp Status ads. | |
| degrees_of_freedom_spec | No | JSON object for Advantage+ creative controls, including creative_features_spec.image_animation, video_filtering, and video_uncrop | |
| wamo_whatsapp_identity_spec | No | JSON object with wamo_whatsapp_identity_id or whatsapp_phone_number for WhatsApp Status ads; sent at the creative's top level |