set_openai_ads_status
Activate, pause or archive a ChatGPT Ads account / campaign / ad group / ad destructive
Description
Turn a ChatGPT Ads AD ACCOUNT, campaign, AD GROUP or AD on (active), off (paused), or ARCHIVE it. Pass level:"account" (NO id — the connection IS the account), level:"campaign" + campaignId, level:"adGroup" + adGroupId, or level:"ad" + adId. LEVEL "account" IS THE EMERGENCY STOP AND BEHAVES DIFFERENTLY FROM EVERY OTHER LEVEL: BOTH directions take confirm:true, because pausing it stops ALL ChatGPT Ads delivery for the brand at once and activating it un-suppresses EVERY active campaign underneath — Hermoso cannot tell you in advance which of them will start spending. An account cannot be archived. ACTIVATING STARTS REAL AD SPEND — you MUST first show the user the object and its budget, get an explicit yes, then call with status:"active" and confirm:true. Pausing is always safe and stops all spend. ARCHIVING IS IRREVERSIBLE: it is this platform’s only teardown (there is no delete and no un-archive, and OpenAI’s own guidance is "only archive objects you have no further use for"), so it ALSO requires confirm:true — prefer pausing unless the user is certain. Remember an ad only serves when the ad, its ad group AND its campaign are all active and the ad has passed OpenAI’s review. The resulting status is READ BACK from OpenAI before you are told it took.
Parameters
| Parameter | Type | Description |
|---|---|---|
level | "account" | "campaign" | "adGroup" | "ad" | inferred from which id you pass — default campaign. "account" is the whole ad account and takes no id. |
campaignId | string | campaign id to change; use with level campaign |
adGroupId | string | ad group id to change; use with level adGroup |
adId | string | ad id to change; use with level ad |
statusrequired | "active" | "paused" | "archived" | active = start spending; paused = stop; archived = permanent (not available at level "account") |
confirm | boolean | REQUIRED true to activate (real spend), to archive (irreversible), or for EITHER direction at level "account" |
confirmName | string | when archiving or removing: its EXACT name, as the unconfirmed call names it. Required when it has children or is live |
confirmChildren | number | when archiving or removing: the exact number of children the unconfirmed call reported. Required when it has any |
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_openai_ads_status.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_openai_ads_status","arguments":{"status":"<one of the listed values>"}}}
CLI
hermoso call set_openai_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
update_openai_ads_accountUpdate the ChatGPT Ads account (brand / account / legal name, URL, favicon)delete_openai_ads_objectArchive (ChatGPT Ads’ delete) a campaign / ad group / adcreate_openai_ads_conversion_api_keyCreate a ChatGPT Ads Conversions API keysend_openai_ads_conversionsSend server-side conversion events to ChatGPT Adspreview_openai_ads_adPreview a ChatGPT Ads adopenai_ads_conversionsChatGPT Ads attributed conversionsset_openai_ads_budgetSet a ChatGPT Ads campaign budgetupdate_openai_ads_objectEdit a ChatGPT Ads campaign / ad group / adupdate_openai_ads_feed_productsUpdate ChatGPT Ads product-feed variantsopenai_ads_bulk_jobRead a ChatGPT Ads bulk job