Update a Meta campaign
ads_update_campaignRename a Meta campaign, change its Advantage campaign budget (whole currency units, same daily or lifetime type it has) or bid strategy, or set or remove its spend cap (null removes it; Meta's minimum is about 100 USD). Campaigns that budget per ad set take budget and bid changes on the ad set (ads_update_ad_group). Raising a budget on an active campaign spends more real money: confirm the new amount with the user first. Meta changes are paced and limited so the ad account does not look automated: on ads_change_limited, wait retryAfterSeconds before retrying; on confirmation_required, confirm the new budget with the user and retry with confirmLargeChange true.
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": {
"adAccountId": "<adAccountId>",
"campaignId": "<campaignId>"
},
"name": "ads_update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| budget | No | ||
| platform | No | meta_ads, tiktok_ads or linkedin_ads. Needed only when the profile has more than one ad network and no accountId is given. | |
| spendCap | No | ||
| accountId | No | The Facebook accountId from list_accounts. Without it, pass profileId to use that profile's Facebook connection. | |
| profileId | No | A profileId from list_profiles. Optional when accountId is given, which names its profile; if both are given they must agree. | |
| campaignId | Yes | A campaign id from ads_get_tree. | |
| adAccountId | Yes | ||
| bidStrategy | No | ||
| confirmLargeChange | No |