# Hermoso: set_openai_ads_daily_spend_limit · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/set_openai_ads_daily_spend_limit/. 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_daily_spend_limit

# `set_openai_ads_daily_spend_limit`

Set the ChatGPT Ads account daily spending limit destructive

Area: ChatGPT ADS BREADTH · [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

Create or change the ACCOUNT-WIDE DAILY SPENDING LIMIT on ChatGPT Ads: the most all campaigns together may spend each day, renewing at midnight in the account timezone, until it is removed or reaches its optional end date. OpenAI offers it only on ad accounts with postpaid INVOICE billing and it needs billing-management permission; a card-billed account is refused whatever key is used. amount is per day in the account currency and is required even when only the end date changes (0 stops account spend). A NEW limit starts tomorrow or later: list_openai_ads_spend_windows names the earliest start date. On an existing limit leave startDate out, because its start cannot change. An account can hold SEVERAL non-overlapping daily rules (list_openai_ads_spend_windows returns each with a windowId): pass windowId to change one, or newRule:true (with startDate) to add another; with more than one rule OpenAI requires the windowId. endDate is exclusive; noEndDate:true clears it. A daily limit and a date-range window cannot overlap. Lowering it can stop delivery and raising it lets campaigns spend up to their own budgets, so show the user the current and new values first: without confirm:true AND expectedRevision (the revision list_openai_ads_spend_windows returns) nothing changes and the reply states what would. The result is read back from ChatGPT Ads.

## Parameters

Parameter Type Description

`amount` required `number` daily limit in the account currency; 0 stops all account spend

`windowId` `string` the daily rule to change, from list_openai_ads_spend_windows; required when the account has more than one

`newRule` `boolean` true adds another non-overlapping daily rule instead of editing one

`expectedRevision` `number` the revision from list_openai_ads_spend_windows

`startDate` `string` YYYY-MM-DD, first day of a NEW daily limit (tomorrow or later)

`endDate` `string` YYYY-MM-DD, exclusive

`noEndDate` `boolean` true removes the end date

`confirm` `boolean` true applies the change; needs expectedRevision as well

## 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_daily_spend_limit`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_openai_ads_daily_spend_limit","arguments":{"amount":"<number>"}}}`
**CLI**

`hermoso call set_openai_ads_daily_spend_limit --json '{"amount":"<number>"}'`

## 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

- [list_openai_ads_spend_windows](https://hermoso.ai/docs/reference/ads/list_openai_ads_spend_windows/) List ChatGPT Ads account spending limits
- [delete_openai_ads_spend_window](https://hermoso.ai/docs/reference/ads/delete_openai_ads_spend_window/) Delete a ChatGPT Ads spend-limit window
- [remove_openai_ads_daily_spend_limit](https://hermoso.ai/docs/reference/ads/remove_openai_ads_daily_spend_limit/) Remove the ChatGPT Ads account daily spending limit
- [set_openai_ads_spend_window](https://hermoso.ai/docs/reference/ads/set_openai_ads_spend_window/) Create or edit a ChatGPT Ads spend-limit window
- [set_openai_ads_negative_keywords](https://hermoso.ai/docs/reference/ads/set_openai_ads_negative_keywords/) Set ChatGPT Ads account negative keywords
- [list_openai_ads_feeds](https://hermoso.ai/docs/reference/ads/list_openai_ads_feeds/) List ChatGPT Ads product feeds
- [openai_ads_agent_insights](https://hermoso.ai/docs/reference/ads/openai_ads_agent_insights/) ChatGPT Ads Business Agent insights
- [create_openai_ads_feed](https://hermoso.ai/docs/reference/ads/create_openai_ads_feed/) Create a ChatGPT Ads product feed
- [publish_openai_ads_business_agent](https://hermoso.ai/docs/reference/ads/publish_openai_ads_business_agent/) Publish a ChatGPT Ads Business Agent
- [list_openai_ads_feed_uploads](https://hermoso.ai/docs/reference/ads/list_openai_ads_feed_uploads/) List ChatGPT Ads feed uploads

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