ads_negative_keywords_create
Add negative keywords to a Google Ads campaign (campaign_id) or ad group (ad_set_id), so ads stop showing for those searches. Returns { data: [{ id }] }. Google Ads only; other networks answer 501.
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": {
"ad_account_id": "<ad_account_id>",
"keywords": "<keywords>"
},
"name": "ads_negative_keywords_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | Yes | Google negative keywords: { text, match_type }. A bid is ignored. | |
| ad_set_id | No | Network id of the ad group | |
| profile_id | No | Ads profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are. | |
| campaign_id | No | Network id of the campaign. Send this or ad_set_id. | |
| ad_account_id | Yes | Ad account id: the network's own id, from ads_accounts_list (id field) | |
| profile_group_id | No | Profile group hashid, to scope the call to one profile group. Usually not needed. |