Build a full Meta ad (campaign → ad set → ad, paused)
create_meta_adCreate a paused Meta ad campaign from image URLs, message, and link. Builds campaign, ad set, and ads ready for activation.
Instructions
Build a complete, ready-to-run Meta ad from image creative(s): campaign → ad set (targeting + daily budget) → creative → ad(s), ALL created PAUSED — it spends NOTHING until you activate the campaign with set_meta_campaign_status(confirm:true). This is the "create a campaign and put the ads on it" path. Pass adAccountId (from list_meta_pages), an imageUrl (or imageUrls for one ad each), the primary message, and a destination link. IMAGE ads only for now. Needs ads-management on the connected account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cta | No | call-to-action, e.g. SHOP_NOW / LEARN_MORE / SIGN_UP (default LEARN_MORE) | |
| link | No | destination URL (defaults to the brand domain) | |
| name | No | base name for the campaign/ad set/ads | |
| pageId | No | Page id from list_meta_pages; omit = first Page | |
| country | No | 2-letter targeting country (default US) | |
| message | No | primary ad text | |
| headline | No | optional headline | |
| imageUrl | No | public https image URL for the ad creative | |
| imageUrls | No | several image URLs → one ad each | |
| objective | No | default OUTCOME_TRAFFIC | |
| campaignId | No | attach to an existing campaign instead of creating one | |
| adAccountId | Yes | ad account id (act_… or digits — from list_meta_pages) | |
| dailyBudgetUsd | No | ad-set daily budget USD (1–10000, default 10) — spends only once ACTIVE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| count | No | ||
| status | No | ||
| adSetId | No | ||
| campaignId | No | ||
| dailyBudgetUsd | No |