Skip to main content
Glama
Google Ads MCP Server

Google Ads MCP Server

add_campaign_location_targeting

Add geographic location targeting to a Google Ads campaign to include or exclude specific areas, with optional bid modifiers for each targeted location.

Instructions

Add location targeting to a campaign (target or exclude geographic areas).

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": {
      "customerId": "<customerId>",
      "campaignId": "<campaignId>",
      "locations": "<locations>"
    },
    "name": "add_campaign_location_targeting"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationsYesLocations to target
campaignIdYesThe campaign ID
customerIdYesThe customer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It only says 'add', leaving undisclosed whether this is additive or replaces existing location criteria, whether duplicate geo targets error or are ignored, permission requirements, and reversibility. For a mutation tool this is a significant gap.

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

Conciseness5/5

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

A single front-loaded sentence with zero filler; the parenthetical adds useful scope information without padding.

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

Completeness3/5

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

The schema fully describes inputs and there is no output schema to explain, so structure is adequate. However, as an unannotated mutation tool it omits add-vs-replace semantics and any confirmation of what changes on the campaign, leaving an agent to guess.

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

Parameters3/5

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

Schema coverage is 100%, and the schema already documents customerId, campaignId, and each location field including the negative flag and bidModifier format. The description's 'target or exclude geographic areas' restates the schema's negative flag semantics rather than adding new meaning, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb (add) and resource (location targeting on a campaign), and the parenthetical clarifies the two modes: targeting vs exclusion. The resource is distinct enough from siblings such as add_campaign_language_targeting, though it does not explicitly name or contrast them.

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

Usage Guidelines3/5

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

Usage is implied by the parenthetical that you can target or exclude geographic areas, which hints at the negative flag. There is no explicit when-to-use guidance, no prerequisites (campaign must exist, account/customer context), and no pointer to alternatives like add_campaign_language_targeting or remove_campaign_criterion.

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

Deploy Server

Other Tools