google_ads_location_targeting_update
Update Google Ads campaign location targeting by adding or removing geographic criteria in one mutation. Specify locations to add or criterion IDs to remove for immediate campaign targeting changes.
Instructions
Add and/or remove location criteria on a Google Ads campaign in a single mutate. Returns [{resource_name}] — one entry per operation executed (adds first, then removes). Mutating — adds create new criteria, removes delete them by criterion_id. Reversible only by calling this tool again with the inverse operations. At least one of add_locations / remove_criterion_ids must be provided. Locations can be passed as bare numeric IDs or as full 'geoTargetConstants/' paths; bare IDs are auto-prefixed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Campaign ID as a numeric string without dashes (e.g. '23743184133'). Obtain via google_ads_campaigns_list. | |
| customer_id | No | Google Ads customer ID as a 10-digit string without dashes (e.g. '1234567890'). Optional — falls back to GOOGLE_ADS_CUSTOMER_ID / GOOGLE_ADS_LOGIN_CUSTOMER_ID from the configured credentials when omitted. | |
| add_locations | No | Geo target constants to add, either as numeric IDs (e.g. '2392' for Japan, '2840' for US) or as full resource paths ('geoTargetConstants/2392'). Bare IDs are auto-prefixed. | |
| remove_criterion_ids | No | Existing criterion_ids to remove (numeric strings, e.g. '30002'). Obtain via google_ads_location_targeting_list. |