add_location_target
Adds a location target or exclusion to a Google Ads campaign. Include a geo target ID and set negative to true to exclude a location instead of targeting it.
Instructions
Add a location target (or exclusion) to a campaign.
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>",
"geo_target_id": "<geo_target_id>"
},
"name": "add_location_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute. | |
| negative | No | Set to true to EXCLUDE this location instead of targeting it | |
| campaign_id | Yes | Campaign ID | |
| customer_id | No | Google Ads customer ID (no dashes). Uses active account if not provided. | |
| bid_modifier | No | Bid modifier for this location (1.0 = no change, 1.2 = +20%) | |
| geo_target_id | Yes | Geo target constant ID (e.g. 2840=US, 2826=UK, 2124=Canada, 1014044=New York City). Find IDs at developers.google.com/google-ads/api/data/geotargets |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||