create_ad_creative
Generate new Meta Ads creatives using uploaded images, specifying headlines, descriptions, call-to-action buttons, and dynamic creative testing options.
Instructions
Create a new ad creative using an uploaded image hash.
Args:
account_id: Meta Ads account ID (format: act_XXXXXXXXX)
image_hash: Hash of the uploaded image
access_token: Meta API access token (optional - will use cached token if not provided)
name: Creative name
page_id: Facebook Page ID to be used for the ad
link_url: Destination URL for the ad
message: Ad copy/text
headline: Single headline for simple ads (cannot be used with headlines)
headlines: List of headlines for dynamic creative testing (cannot be used with headline)
description: Single description for simple ads (cannot be used with descriptions)
descriptions: List of descriptions for dynamic creative testing (cannot be used with description)
dynamic_creative_spec: Dynamic creative optimization settings
call_to_action_type: Call to action button type (e.g., 'LEARN_MORE', 'SIGN_UP', 'SHOP_NOW')
lead_gen_form_id: Lead generation form ID for lead generation campaigns. Required when using
lead generation CTAs like 'SIGN_UP', 'GET_OFFER', 'SUBSCRIBE', etc.
instagram_actor_id: Optional Instagram account ID for Instagram placements
Returns:
JSON response with created creative details
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| image_hash | Yes | ||
| access_token | No | ||
| name | No | ||
| page_id | No | ||
| link_url | No | ||
| message | No | ||
| headline | No | ||
| headlines | No | ||
| description | No | ||
| descriptions | No | ||
| dynamic_creative_spec | No | ||
| call_to_action_type | No | ||
| lead_gen_form_id | No | ||
| instagram_actor_id | No |