Campaigns Add Campaign Targeting
campaigns_add_campaign_targetingRefine campaign targeting and block unwanted searches by adding locations, languages, and negative keywords to your Google Ads campaign.
Instructions
Adds locations, languages and campaign-level negative keywords 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": {
"customer_id": "<customer_id>",
"campaign_id": "<campaign_id>"
},
"name": "campaigns_add_campaign_targeting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locations | No | Geo targets to include or exclude (ids from suggest_geo_targets). | |
| campaign_id | Yes | The campaign id. | |
| customer_id | Yes | Google Ads customer id. | |
| validate_only | No | Dry-run only. | |
| language_codes | No | ISO codes, e.g. ["en", "ar"]. Resolved to language constants. | |
| login_customer_id | No | Manager account id if applicable. | |
| negative_keywords | No | Search terms the campaign must never show for. | |
| negative_keyword_match_type | No | Match type for the negatives (PHRASE is the usual choice). | PHRASE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||