Change a daily budget
set_campaign_budgetChange the daily budget of ONE network on one campaign, applied live to that ad network. This spends real money, so it is bounded: a hard ceiling per day, a limit on how far above the current budget one change may go, and a cap on changes per day. Prefer several small steps to one large jump. It cannot create a campaign, and it cannot enable or pause one — those stay in the AdPlus app on purpose.
REQUIRES EXPLICIT USER CONFIRMATION. Before calling this, show the user the campaign, the network, the current daily budget and the new one, and get their agreement to that exact figure. Then pass current_daily_budget (the figure you showed them) and user_confirmed: true. The server rejects the call if current_daily_budget does not match the live value, so a budget that moved since you last read it fails instead of overwriting a number the user never saw.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>",
"network": "<network>",
"daily_budget": "<daily_budget>",
"current_daily_budget": "<current_daily_budget>",
"user_confirmed": "<user_confirmed>"
},
"name": "set_campaign_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | Which network's budget to change, e.g. google_ads. | |
| campaign_id | Yes | ||
| daily_budget | Yes | The new daily budget in USD. | |
| user_confirmed | Yes | Set true ONLY after the user has seen the exact old and new figures and agreed to the change. Never set it to satisfy the schema. | |
| current_daily_budget | Yes | The campaign's CURRENT daily budget on that network in USD, as you showed it to the user. Read it with get_campaign first. The call is refused if this does not match the live value. |