Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Update Campaign Settings

gads_update_campaign_settings
DestructiveIdempotent

Rename 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

NameRequiredDescriptionDefault
nameNoNew 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_maxNoTurn 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_dateNoNew 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_dateNoNew 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_idYesCampaign to change.
customer_idNoGoogle 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

NameRequiredDescriptionDefault
nameYesName now in effect.
changedYesWhich fields this call actually wrote.
endDateNoEnd date now in effect. Null means the campaign runs until it is paused.
warningsNoConsequences worth knowing about, such as a paused-by-date campaign becoming live again.
startDateNoStart date now in effect.
campaignIdYesCampaign that was changed.
aiMaxEnabledNoWhether AI Max for Search is on, for search campaigns.
previousNameNoName the campaign had before this call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare destructive/openWorld/idempotent, but the description adds causal context the annotations cannot: removing an end date fixes an ENABLED-but-not-spending campaign, a past end date would retroactively stop delivery, and a started campaign's start date is frozen. Side effects of AI Max (broader matching, rewritten assets) and the brand-list prerequisite are also disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the three mutating actions, then constraints, then alternative tools—a sensible order. It is dense (a long parenthetical about AI Max and a dash-heavy clause), but nearly every clause carries decision-relevant information, with only mild redundancy against the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with an output schema, the description covers the preconditions, refusals, reversibility and sibling routing an agent needs. Return values are correctly left to the output schema; only the multi-account customer_id requirement is left entirely to the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the description adds operational meaning beyond the schema: the null end_date workaround for a stalled campaign, the retroactive-stop rationale behind the past-date rejection, and the immutability of start_date once started.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening enumerates the exact operations: rename, change run dates, toggle AI Max for Search, scoped to search campaigns for the last. An agent can distinguish this from gads_update_campaign_bidding, gads_update_campaign_targeting and gads_set_status without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing to alternatives is given per concern: budgets to gads_update_budget, pausing/enabling to gads_set_status, bidding to gads_update_campaign_bidding, locations/languages to gads_update_campaign_targeting. It also states a when-not case—a past end date is refused, and the reversible route is gads_set_status with PAUSED.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources