hermosodocs

set_openai_ads_status

Activate, pause or archive a ChatGPT Ads account / campaign / ad group / ad destructive

Area: X ADS CUSTOM AUDIENCES + CONVERSION API · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
level"account" | "campaign" | "adGroup" | "ad"inferred from which id you pass — default campaign. "account" is the whole ad account and takes no id.
campaignIdstringcampaign id to change; use with level campaign
adGroupIdstringad group id to change; use with level adGroup
adIdstringad id to change; use with level ad
statusrequired"active" | "paused" | "archived"active = start spending; paused = stop; archived = permanent (not available at level "account")
confirmbooleanREQUIRED true to activate (real spend), to archive (irreversible), or for EITHER direction at level "account"
confirmNamestringwhen archiving or removing: its EXACT name, as the unconfirmed call names it. Required when it has children or is live
confirmChildrennumberwhen 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.

All 759 Ad campaign management tools · tools.json