Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Update Campaign Devices, Schedule and Audiences

gads_update_campaign_criteria
DestructiveIdempotent

Change a Google Ads campaign's device bid adjustments, ad schedule and audiences. Set a device adjustment from -100% (stop showing on that device) to +900%; add ad schedule windows (a day with start and end time on the quarter hour, optional bid adjustment) so ads only run at those times; add audiences by user list id (remarketing, customer lists) or user interest id (affinity, in-market), optionally with a bid adjustment; switch audiences between OBSERVATION (adjust bids, keep reach) and TARGETING (reach only those audiences); change or remove existing criteria by criterion id. Call it with only campaign_id to read the current settings. Customer lists and their ids come from gads_create_customer_list; other audience ids from gads_query on user_list or user_interest. Automated bidding ignores bid adjustments other than a -100% device exclusion. Not for Performance Max. For locations and languages use 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_criteria"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign to read or 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.
add_audiencesNoAudiences to add, at most 20. Give user_list_id or user_interest_id.
audience_modeNoOBSERVATION keeps the campaign's reach and only adjusts bids for its audiences; TARGETING shows ads only to people in them, which can cut traffic sharply.
add_ad_scheduleNoAd schedule windows to add, at most 20. Once a campaign has any window, ads run only inside its windows. Times are in the account's timezone; windows on one day may not overlap.
device_adjustmentsNoDevice bid adjustments to set. 0 removes the adjustment, -100 stops ads on the device.
update_adjustmentsNoNew bid adjustments for existing ad schedule or audience criteria.
remove_criterion_idsNoAd schedule or audience criteria to remove. Ids already gone are skipped. Removing the last schedule window lets ads run at all hours again.

Output Schema

NameRequiredDescriptionDefault
addedYesHow many criteria were created.
devicesYesDevice bid adjustments now set.
removedYesHow many criteria were deleted.
skippedNoWhat was already in place, and so was not written again.
updatedYesHow many adjustments or settings changed.
scheduleYesAd schedule windows now set.
warningsNoConsequences worth knowing about.
audiencesYesAudiences now on the campaign.
campaignIdYesCampaign that was read or changed.
audienceModeNoOBSERVATION or TARGETING, null when never set.

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 already flag destructiveness, idempotency, and open-world scope, but the description goes well beyond them: it explains the -100% device semantics, the OBSERVATION vs TARGETING reach tradeoff, that once any schedule window exists ads run only inside windows, that removing the last window restores all-hours delivery, that already-deleted criteria are skipped, and the per-day non-overlap and account-timezone constraints. This is exactly the mutation context an agent needs.

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 action and resource, then constraint clauses; nearly every sentence carries operational information. It is a single dense block rather than being broken into scannable segments, which slightly hurts parsing for a description this long.

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

Completeness5/5

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

For a destructive multi-mode mutation tool with 8 parameters and an output schema, the definition covers read vs write modes, id sourcing, delivery side effects, mode tradeoffs, and sibling routing. Nothing essential to a correct call is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: where audience ids come from (gads_create_customer_list for customer lists, gads_query for user_list/user_interest), the adjustment range endpoints, and the mode semantics. It stops short of restating per-field ranges that the schema already carries.

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?

Opens with a specific verb and enumerates the exact resources touched: device bid adjustments, ad schedule windows, and audiences on a named Google Ads campaign. It also draws explicit boundaries against siblings ('Not for Performance Max', 'For locations and languages use gads_update_campaign_targeting'), so an agent can select it without opening another 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?

Gives the read-only path ('Call it with only campaign_id to read the current settings'), names concrete alternative tools for adjacent needs, and states a key exclusion (automated bidding ignores adjustments other than a -100% device exclusion). Both when-to-use and when-not-to-use are covered.

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