ads

Call ads.set_budget

Set what a campaign spends and for how long, or how many ads it tries — 'make it $40 a day', 'run it for two weeks from Monday', 'no end date', 'try five ads instead'. Saves the daily amount in dollars, the first and last day, or the ad count onto the campaign's Budget step; anything not named stays as it is. Nothing spends until the campaign launches, and a higher ad count draws nothing by itself. A campaign that is already live is refused. Not for launching the campaign — that is ads.approve_launch.

Every result names the workspace it ran in. Say which workspace the answer is about. When the account has more than one workspace and none is selected, this tool refuses with workspace_ambiguous and lists the choices — offer them, never pick one.

post/api/v1/tools/ads.set_budget

Request

  • Base URL: https://app.goosybear.ai
  • URL: https://app.goosybear.ai/api/v1/tools/ads.set_budget
  • Auth: HTTP bearer

Headers

x-request-idstring

Your own id for this request, echoed back and recorded on the audit trail. 1–128 characters from A–Z a–z 0–9 . _ : -, starting with a letter or digit; anything else is replaced by a generated id.

Request body

campaign_idstring uuid

The campaign's id. Leave it out to use the campaign the person is looking at.

daily_budget_dollarsnumber

The daily amount in DOLLARS, e.g. 40 for $40 a day — never cents. Leave it out to keep the current amount.

starts_onstring

The first day, YYYY-MM-DD, only when the person names one. Leave it out to keep the current start.

ends_onstring

The last day, YYYY-MM-DD, only when the person names one. Leave it out to keep the current end.

run_until_pausedboolean

true only when the person wants no end date — the campaign then runs until they pause it.

ad_countinteger

How many ads the campaign should try, only when the person names a number. It draws nothing by itself.

workspacestring

Which workspace to run in — its slug. Omit to use your default. With more than one reachable workspace and no default, the call is refused and the choices are listed.

Response

The call was admitted and dispatched. ok says whether the tool succeeded — a refusal the tool itself produced is still a 200, exactly as it is a successful JSON-RPC result over MCP.

OR

Changes

No recorded changes to this operation across all 4 revisions of this API.