# Hermoso: set_openai_ads_status · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/set_openai_ads_status/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / set_openai_ads_status

# `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](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

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

`status` required `"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](https://hermoso.ai/docs/credits/).

## Related tools

- [update_openai_ads_account](https://hermoso.ai/docs/reference/ads/update_openai_ads_account/) Update the ChatGPT Ads account (brand / account / legal name, URL, favicon)
- [delete_openai_ads_object](https://hermoso.ai/docs/reference/ads/delete_openai_ads_object/) Archive (ChatGPT Ads’ delete) a campaign / ad group / ad
- [create_openai_ads_conversion_api_key](https://hermoso.ai/docs/reference/ads/create_openai_ads_conversion_api_key/) Create a ChatGPT Ads Conversions API key
- [send_openai_ads_conversions](https://hermoso.ai/docs/reference/ads/send_openai_ads_conversions/) Send server-side conversion events to ChatGPT Ads
- [preview_openai_ads_ad](https://hermoso.ai/docs/reference/ads/preview_openai_ads_ad/) Preview a ChatGPT Ads ad
- [openai_ads_conversions](https://hermoso.ai/docs/reference/ads/openai_ads_conversions/) ChatGPT Ads attributed conversions
- [set_openai_ads_budget](https://hermoso.ai/docs/reference/ads/set_openai_ads_budget/) Set a ChatGPT Ads campaign budget
- [update_openai_ads_object](https://hermoso.ai/docs/reference/ads/update_openai_ads_object/) Edit a ChatGPT Ads campaign / ad group / ad
- [update_openai_ads_feed_products](https://hermoso.ai/docs/reference/ads/update_openai_ads_feed_products/) Update ChatGPT Ads product-feed variants
- [openai_ads_bulk_job](https://hermoso.ai/docs/reference/ads/openai_ads_bulk_job/) Read a ChatGPT Ads bulk job

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
