hermosodocs

set_openai_ads_daily_spend_limit

Set the ChatGPT Ads account daily spending limit destructive

Area: ChatGPT ADS BREADTH · Ad campaign management. Generated from the running MCP server, like the rest of the tool 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

ParameterTypeDescription
amountrequirednumberdaily limit in the account currency; 0 stops all account spend
windowIdstringthe daily rule to change, from list_openai_ads_spend_windows; required when the account has more than one
newRulebooleantrue adds another non-overlapping daily rule instead of editing one
expectedRevisionnumberthe revision from list_openai_ads_spend_windows
startDatestringYYYY-MM-DD, first day of a NEW daily limit (tomorrow or later)
endDatestringYYYY-MM-DD, exclusive
noEndDatebooleantrue removes the end date
confirmbooleantrue 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.

All 759 Ad campaign management tools · tools.json