create_ad_creative
Create ad creatives from uploaded videos, supporting both multi-variant asset feed specs and single-variant story specs for Meta ads.
Instructions
Create an ad creative from an ad-account-scoped video.
Two modes:
Multi-variant (pass messages[], headlines[], descriptions[]): builds an asset_feed_spec creative. Meta shows "Primary text (1 of 5)" in Ads Manager. This is what you attach to ads via update_ad (step 4 of the flow).
Single-variant (pass message + headline): builds an object_story_spec creative. Use this once as the placeholder to create ads against (step 2 of the flow).
video_id must be the ad-account-scoped id returned by upload_video (NOT a page-uploaded video id). image_url is a thumbnail - fetch it fresh right before this call (CDN urls expire); get_video_thumbnail gets one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | creative | |
| message | No | ||
| page_id | Yes | ||
| headline | No | ||
| link_url | Yes | ||
| messages | No | ||
| video_id | Yes | ||
| headlines | No | ||
| image_url | No | ||
| account_id | No | ||
| descriptions | No | ||
| call_to_action_type | No | LEARN_MORE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||