Google Ads: Update Campaign Settings
gads_update_campaign_settingsRename a Google Ads campaign, change the dates it runs between, and turn AI Max for Search on or off (search campaigns only; AI Max widens matching beyond your keywords and lets Google rewrite headlines and landing pages, and is required before a search campaign can take a brand list). Removing an end date is the fix for a campaign that looks ENABLED but spends nothing because its end date has passed — pass end_date as null to let it run until it is paused. An end date in the past is refused, because it would stop a campaign retroactively; use gads_set_status with PAUSED for that, which is reversible. The start date of a campaign that has already started cannot be moved. For daily budgets use gads_update_budget, for pausing and enabling gads_set_status, for bidding gads_update_campaign_bidding, and for locations and languages gads_update_campaign_targeting.
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>"
},
"name": "gads_update_campaign_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New campaign name, at most 128 characters. Must be unique among the account's campaigns. Renaming breaks saved reports, rules and scripts that match on the old name, so the result reports what the previous name was. | |
| ai_max | No | Turn AI Max for Search on (true) or off (false). Search campaigns only. On, Google also matches queries beyond the keywords and may tailor ad text and final URLs, which usually raises spend and traffic. | |
| end_date | No | New end date as YYYY-MM-DD. The campaign stops at the end of that day. Pass null to remove the end date so the campaign runs until it is paused. Must not be in the past. | |
| start_date | No | New start date as YYYY-MM-DD in the serving account's own timezone. The campaign starts at the beginning of that day; time of day cannot be set here. Only settable on a campaign that has not started yet. | |
| campaign_id | Yes | Campaign to change. | |
| customer_id | No | Google Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name now in effect. | |
| changed | Yes | Which fields this call actually wrote. | |
| endDate | No | End date now in effect. Null means the campaign runs until it is paused. | |
| warnings | No | Consequences worth knowing about, such as a paused-by-date campaign becoming live again. | |
| startDate | No | Start date now in effect. | |
| campaignId | Yes | Campaign that was changed. | |
| aiMaxEnabled | No | Whether AI Max for Search is on, for search campaigns. | |
| previousName | No | Name the campaign had before this call. |