set_openai_ads_daily_spend_limit
Set the ChatGPT Ads account daily spending limit destructive
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 |
|---|---|---|
amountrequired | 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.
Related tools
list_openai_ads_spend_windowsList ChatGPT Ads account spending limitsdelete_openai_ads_spend_windowDelete a ChatGPT Ads spend-limit windowremove_openai_ads_daily_spend_limitRemove the ChatGPT Ads account daily spending limitset_openai_ads_spend_windowCreate or edit a ChatGPT Ads spend-limit windowset_openai_ads_negative_keywordsSet ChatGPT Ads account negative keywordslist_openai_ads_feedsList ChatGPT Ads product feedsopenai_ads_agent_insightsChatGPT Ads Business Agent insightscreate_openai_ads_feedCreate a ChatGPT Ads product feedpublish_openai_ads_business_agentPublish a ChatGPT Ads Business Agentlist_openai_ads_feed_uploadsList ChatGPT Ads feed uploads