Skip to Content

Create ad (adsap_create_ad)

Platform: Meta · Read or write: Write · Plan: All plans · Consumes a task: Yes · Preview supported: Yes

What it does

Creates a single image or single video ad inside an existing Meta ad set. You supply the creative: the asset, primary text, headline, description, call to action and destination URL. The ad starts paused. Ask for a preview first: the copilot validates the ad and shows a launch review card where you confirm, create and activate.

Parameters

Descriptions are shortened from the tool schema. Your assistant sees the full text.

NameTypeRequiredDescription
ad_set_idstringYes
ad_account_idstringYes
namestringYes
ad_formatone of SINGLE_IMAGE, SINGLE_VIDEOYes
creative_specobjectYes
creative_spec.page_idstringYes
creative_spec.instagram_user_idstringNoInstagram account id for Instagram placements. OPTIONAL: omit it when the brand has no Instagram account. Adsap then represents the brand on Instagram through its Facebook Page (Meta page-backed Instagram account), exactly like the Use Facebook Page option in Ads Manager.
creative_spec.feed_creative_namestringYesFeed creative filename (1080x1080). Must exist in creative_metadata table.
creative_spec.vertical_creative_namestringNo1080x1920 filename.
creative_spec.horizontal_creative_namestringNo1200x628 filename.
creative_spec.primary_textsarray of stringYes
creative_spec.headlinesarray of stringYes
creative_spec.descriptionstringNo
creative_spec.link_urlstringNoDestination URL (https). Required unless awareness/engagement or lead gen.
creative_spec.display_linkstringNo
creative_spec.call_to_actionone of SHOP_NOW, LEARN_MORE, SIGN_UP, BOOK_NOW, CONTACT_US, DOWNLOAD, GET_OFFER, GET_QUOTE and 11 moreYesCTA button. For profile visit ad sets (destination_type INSTAGRAM_PROFILE / FACEBOOK_PAGE / INSTAGRAM_PROFILE_AND_FACEBOOK_PAGE) the CTA is dictated by the destination: VIEW_INSTAGRAM_PROFILE (Instagram), VISIT_PROFILE (Facebook)…
creative_spec.url_parametersstringNoUTM tags.
creative_spec.deep_linkstringNoMobile deep link (e.g. myapp://product/123). App-promotion ads only: sent as the CTA’s app_link with app-store fallback (applink_treatment). Requires App Links / the Meta SDK configured in the promoted app.
creative_spec.partnership_page_idstringNo
creative_spec.partnership_instagram_user_idstringNo
creative_spec.threads_page_idstringNo
creative_spec.ad_template_idstringNo
creative_spec.product_tagsarray of stringNo
creative_spec.catalog_idstringNo
creative_spec.catalog_namestringNo
creative_spec.product_set_idstringNo
creative_spec.product_set_namestringNo
creative_spec.leadgen_form_idstringNo
creative_spec.multi_advertiser_opt_inbooleanNoDefault true.
creative_spec.account_enhancementsanyNo
creative_spec.ad_schedule_startstringNo
creative_spec.ad_schedule_endstringNo
statusone of PAUSED, ACTIVENo
dry_runbooleanNoPreview only: the request is validated and the resolved payload returned, nothing is created or changed.
idempotency_keystringNo

Example prompts

  • “Create a video ad in the Retargeting ad set using the summer-hero clip, headline ‘Free shipping this week’, linking to our sale page.”
  • “Make an image ad from the blue-sneaker asset with three primary text variations and a Shop Now button.”
  • “Preview an ad for the App Installs ad set that sends people to the App Store listing.”

Notes

For App promotion ad sets, the link is the app store URL and the call to action is Install Mobile App.

Guide

Read Building the ads for the workflow around this tool, and the Tool reference for every tool.

Last updated on