Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Update Product Group Bid

gads_update_product_group
DestructiveIdempotent

Set the max CPC bid of product groups in a Standard Shopping campaign. Identify each product group by ad_group_id + criterion_id or by its ad group criterion resource_name (customers/{id}/adGroupCriteria/{ad_group_id}~{criterion_id}); find them with gads_query on ad_group_criterion where ad_group_criterion.type = 'LISTING_GROUP'. Only bidding nodes (listing group type UNIT) take a bid, and excluded product groups are refused. Only the named product groups change: the ad group default bid and other product groups are left as they are. After the write the product groups are read back from Google and each row reports the previous bid, the bid now in effect, and whether it matches. For more than one product group pass product_groups (up to 100 rows). A bid only affects delivery when the campaign uses Manual CPC; the result says so when it does not.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gads_update_product_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpc_bidNoNew max CPC bid in the account's currency units.
ad_group_idNoAd group the product group sits in.
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.
criterion_idNoCriterion id of the product group (listing group).
resource_nameNoAlternative to ad_group_id + criterion_id: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}.
product_groupsNoBatch form, up to 100 rows: use instead of the single-row arguments when re-bidding more than one product group.

Output Schema

NameRequiredDescriptionDefault
failedYesRows refused.
resultsYesOne entry per input row.
updatedYesRows Google accepted.
currencyNoISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag a destructive, idempotent write, so the bar is lower; the description still adds substantial behavior: only the named product groups change while the ad group default bid and other groups are untouched, excluded groups are refused, and the write is followed by a read-back reporting previous bid, current bid, and match status. It also discloses the Manual CPC caveat and that the result flags when the bid has no delivery effect.

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, then target identification, then constraints, then the read-back and CPC caveat — a logical progression with no filler. It is dense for a single paragraph, and the resource_name format is restated from the schema, but nothing is wasted.

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?

An output schema exists, yet the description still summarizes what the read-back rows contain, and it covers the target-identification, eligibility, and batch-vs-single dimensions an agent needs before calling this mutation. Nothing material 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 would be 3; the description goes beyond it by explaining that a product group is identified by ad_group_id + criterion_id as a pair, or alternatively by the full customers/{id}/adGroupCriteria/{ad_group_id}~{criterion_id} resource_name, and that `product_groups` carries up to 100 rows. The customer_id multi-account nuance is left to the schema, keeping this short of a 5.

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?

States a specific verb and resource: 'Set the max CPC bid of product groups in a Standard Shopping campaign.' This clearly separates it from sibling mutators such as gads_update_ad_group or gads_update_campaign_bidding.

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?

Explicitly tells the agent how to locate targets ('find them with gads_query on ad_group_criterion where ... type = LISTING_GROUP'), which nodes accept a bid (UNIT only), that excluded groups are refused, when to use the `product_groups` batch form (more than one, up to 100), and when a bid is actually effective (Manual CPC campaigns). This is when-to-use plus constraints and alternatives in one place.

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