Add Location Targeting
add_location_targetingAdds location targeting criteria to a Google Ads campaign; optionally exclude locations, using geo target IDs resolved via suggest_geo_targets.
Instructions
Adds location targeting criteria to a campaign.
Resolve human-readable places to ids first with suggest_geo_targets.
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": {
"customer_id": "<customer_id>",
"campaign_id": "<campaign_id>",
"geo_target_ids": "<geo_target_ids>"
},
"name": "add_location_targeting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| negative | No | If True, EXCLUDE these locations instead. | |
| campaign_id | Yes | The campaign to target. | |
| customer_id | Yes | The Google Ads account. | |
| validate_only | No | If True, only validates the request. | |
| geo_target_ids | Yes | Numeric geo target constant ids (e.g. 1013962). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||