google_ads_set_campaign_locations
Set location targeting for a campaign using specified location IDs to include or exclude. Control where ads appear by defining positive and negative geotargets.
Instructions
Set location targeting for a campaign.
Args: customer_id: Customer ID (without hyphens) campaign_id: Campaign ID location_ids: List of geo target constant IDs to target negative_location_ids: List of geo target constant IDs to exclude (optional)
Returns: Success message
Note: Common location IDs:
2840: United States
2826: United Kingdom
2124: Canada
2036: Australia Use Google Ads location targeting tool to find specific IDs
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>",
"location_ids": "<location_ids>"
},
"name": "google_ads_set_campaign_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | ||
| campaign_id | Yes | ||
| location_ids | Yes | ||
| negative_location_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |