Propose a Meta ad swap
propose_ad_swapState errors return error state_unavailable with details.object_type, details.object_id and details.check. Propose activating ads first then pausing source ads in the same own ad account. Stop without pausing if activation fails. Zero spend increase only when each activation replaces an active ad in the same active set; New carousel sets can be activated with activate_ad_sets; pause_ad_sets fully pauses old sets. CBO adds zero, ABO adds the new set daily budget unless compensated by a fully paused same-currency set. Otherwise live resume budgets and owner currency limits apply. Never delete/archive. Approval via portal, signed link or owner-enabled autopilot only, never MCP. After approval it runs in steps and can stay on executing for some minutes; get_change shows progress per phase.
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": {
"site_id": "<site_id>",
"reason": "<reason>",
"account": "<account>",
"activate": "<activate>",
"pause": "<pause>"
},
"name": "propose_ad_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pause | Yes | ||
| reason | Yes | ||
| account | Yes | ||
| site_id | Yes | ||
| activate | Yes | ||
| pause_ad_sets | No | ||
| activate_ad_sets | No |