set_x_ads_status
Pause or activate an X campaign or line item destructive
Description
Pause or ACTIVATE an X ads CAMPAIGN (campaignId) or ONE LINE ITEM inside it (lineItemId) — pass exactly one. ACTIVATING STARTS REAL SPEND on the next auction, so it requires confirm:true — this is the only switch on X that arms money. Tell the user the budget and what will start spending BEFORE you pass confirm. DELIVERY ON X IS THE AND OF BOTH LEVELS: an ACTIVE line item under a PAUSED campaign serves nothing, so the result reads the PARENT back too and states whether anything can actually spend rather than letting you infer it. Pausing a line item is the REVERSIBLE way to take one ad group out of delivery — deleting it is not.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | X ad account id (list_x_ads_accounts); omit if only one is shared |
accountId | string | older name for adAccountId (MCP only) |
campaignId | string | the whole campaign — pass this OR lineItemId |
lineItemId | string | one ad group — pass this OR campaignId |
statusrequired | "ACTIVE" | "PAUSED" | ACTIVE starts real spend; PAUSED stops delivery |
confirm | boolean | required to set ACTIVE — real money |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/set_x_ads_status.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_x_ads_status","arguments":{"status":"<one of the listed values>"}}}
CLI
hermoso call set_x_ads_status --json '{"status":"<one of the listed values>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
create_x_ads_campaignBuild an X ads campaign (paused)list_x_ads_campaignsList X ads campaignslist_x_ads_accountsList X ad accountsopenai_ads_geo_searchFind ChatGPT Ads location idsopenai_ads_reportChatGPT Ads performance reportlist_openai_ads_campaignsList ChatGPT Ads account / campaigns / ad groups / ads