ads_post_boost
Turn a published Facebook or Instagram post into a paid ad. Creates the campaign, ad set and ad in one call (or attaches to existing ones via attach_to) and returns the ad. SPENDS REAL MONEY from the ad account once approved unless status is paused: confirm the budget and targeting with the user first, and consider validate_only. Needs ad_account_id, a budget (unless attach_to.ad_set_id) and either post_id (a Postproxy post) or platform_post_id + platform. Instagram posts can be boosted only when the Instagram profile was connected via Facebook Login, and not with goal traffic. Not idempotent: pass idempotency_key before retrying. Meta only; Google Ads answers 501.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ad_account_id": "<ad_account_id>"
},
"name": "ads_post_boost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Default engagement. traffic is not available for Instagram and is required for a link button. | |
| budget | No | Budget in the ad account currency, whole units (10 = 10.00). Meta minimum is the ad account's minimum_daily_budget. | |
| status | No | Default active: the ad starts spending once approved. Use paused to create without delivering. | |
| ad_name | No | Defaults to 'Postproxy Ad - <timestamp>' | |
| page_id | No | Facebook Page id. Needed with platform_post_id when the id does not contain it. | |
| post_id | No | Postproxy post hashid of a post published to Facebook or Instagram. Send this or platform_post_id. | |
| platform | No | Required with platform_post_id. With post_id, picks the placement when the post went to both. | |
| schedule | No | When the ad runs. Without end it runs until paused. On Meta end must be at least 30 hours after the start. | |
| tracking | No | Meta: { pixel_id } | |
| url_tags | No | Meta: appended to the ad's links, e.g. ["utm_source=postproxy"] | |
| attach_to | No | Reuse existing objects instead of creating new ones: { campaign_id } adds a new ad set and ad to a campaign; { campaign_id, ad_set_id } adds only the ad. Both are network ids. With ad_set_id, do not send budget, bid_amount or targeting (Meta) or keywords (Google); with any attach_to, no campaign-level budget. | |
| dsa_payor | No | Meta EU DSA payor; send together with dsa_beneficiary | |
| targeting | No | Audience. Meta defaults to US, ages 18-65. Google Search accepts only locations, excluded_locations and location_targeting_type, with locations as arrays of numeric ids. | |
| bid_amount | No | Meta: required with bid_cap / cost_cap, not allowed with lowest_cost | |
| profile_id | No | Ads profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are. | |
| ad_set_name | No | Defaults to ad_name | |
| bid_strategy | No | Meta. Defaults to bid_cap when bid_amount is sent, else lowest_cost. | |
| ad_account_id | Yes | Ad account id: the network's own id, from ads_accounts_list (id field) | |
| ad_set_status | No | Defaults to status on Meta, to active on Google | |
| campaign_name | No | Defaults to ad_name | |
| validate_only | No | Check the request without creating anything. Returns { valid: true, validated: [...] }. On Meta only the parameters and the campaign are dry-run; on Google the whole request is. | |
| call_to_action | No | Meta button. Link button: { type, link, link_title } with type LEARN_MORE, APPLY_NOW, SIGN_UP, SHOP_NOW, BOOK_TRAVEL, GET_QUOTE, CONTACT_US, DOWNLOAD or SUBSCRIBE. Messaging: { type, destination } with destination messenger, whatsapp or instagram_dm and type MESSAGE_PAGE, WHATSAPP_MESSAGE or INSTAGRAM_MESSAGE (needs goal engagement). | |
| campaign_status | No | Defaults to status | |
| dsa_beneficiary | No | Meta EU DSA beneficiary; send together with dsa_payor. Suggestions: ads_dsa_recommendations. | |
| idempotency_key | No | Unique key for this create, sent as the Idempotency-Key header. Reuse the same key when retrying so the object is not created twice. | |
| post_profile_id | No | Profile hashid that picks one placement of the post when several can be boosted | |
| platform_post_id | No | The network's post id, for a post not published through Postproxy. Needs platform. | |
| profile_group_id | No | Profile group hashid, to scope the call to one profile group. Usually not needed. | |
| optimization_goal | No | Meta, per goal: engagement post_engagement; traffic link_clicks or landing_page_views; awareness reach or impressions; video_views thruplay. Defaults to the first. | |
| instagram_account_id | No | Instagram account id. Required with an Instagram platform_post_id. | |
| special_ad_categories | No | Meta special ad categories | |
| ad_set_budget_sharing_enabled | No | Meta ad set budget sharing. Not with a lifetime or campaign-level budget, or attach_to. | |
| special_ad_category_countries | No | Meta: defaults to the countries of the targeted locations |