Inputs
SelectItem
Output
Type:Dict
Returns created ad details, a list of ad IDs and count.
Fields: ad_ids, created_countDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Creates Advantage+ Catalog / dynamic Ads (carousel or single image) via product sets (bulk mode)
| App | Meta Ads |
| Operation ID | meta_ads_create_catalog_ad |
| Type | Action |
| Connection | meta_ads (required) |
| Credits per run | 2 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the Meta Ads account, ask the user for it if not provided |
page | string or SelectItem | Yes | - | Select Facebook page, ask the user for it if not provided |
instagram_user_id | string or SelectItem | No | - | Optional Instagram account override. Leave empty in nearly all cases — the Instagram account linked to the selected Page is used automatically. Only set this when the user wants to advertise with a different Instagram account they have access to. Value is the numeric IG user/business account id. |
structured_data | array (also accepts a comma-separated string) | Yes | - | Structured data containing catalog ad information. Each row represents one catalog ad. Required columns: adset_id, product_set_id, ad_name, website_url, primary_text, headline. Optional columns: primary_text_2 through primary_text_5, headline_2 through headline_5, and description_2 through description_5 (additional text variations, Meta picks the best combination per viewer; primary_text_1/headline_1/description_1 are accepted as aliases of the bare columns), description, url_parameters, ad_status (ACTIVE/PAUSED), ad_type (carousel/single_image), carousel_card_type (use value ‘slideshow’ to enable slideshow cards; any other value ignored), multi_share_end_card (only set FALSE by putting ‘false’; omitted otherwise), show_multiple_images (only set TRUE by putting ‘true’; omitted otherwise), static_card_media_url, static_card_headline, static_card_description (if static_card_media_url AND static_card_headline provided, a static card is prepended as first child attachment; supports both images and videos; description optional), call_to_action (optional, e.g. SHOP_NOW, LEARN_MORE, SIGN_UP; defaults to SHOP_NOW if omitted or invalid), disable_creative_enhancements (set to True to disable Meta’s automatic creative optimizations like enhanced CTAs, image cropping, text optimizations, dynamic media, etc.), disable_multi_advertiser_ads (set to True to opt out of showing your ad alongside other ads), ad_start_time (schedule ad start, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account’s timezone), ad_end_time (schedule ad end, format: YYYY-MM-DD HH:MM or YYYY-MM-DD, in the ad account’s timezone). For single image ads set ad_type to ‘single_image’ which internally sets force_single_link=true. Case-insensitive matching is applied for ad_type, carousel_card_type, and the boolean flags. Note: user can provide direct media URLs or Google Drive share links; Markifact will convert Drive links to direct URLs automatically, the only requirement is that the file sharing is set to ‘Anyone with the link’. |
creative_only | boolean | No | False | Set to true to create only the Meta ad creative without creating an ad. Useful when editing an existing ad: create a new catalog creative with the updated product set, static card, text, or template data, then attach it using replace_ad_creative. When true, adset_id is not required since you’re not creating a new ad, just an ad creative. Returns creative IDs instead of ad IDs. Default is false. |
return_detailed_results | boolean | No | False | If true, returns per-row results (success_count, failed_count, total_count, results[]) and does NOT raise an error on partial failures so the workflow can continue. If false (default), returns a simple summary and raises an error if any row fails. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | The value of the selectable item. |
label | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |
Dict
Returns created ad details, a list of ad IDs and count.
Fields: ad_ids, created_count