google_ads_negative_keywords_add_to_ad_group
Add negative keywords to a specific ad group to exclude irrelevant searches from only that ad group, without affecting the campaign.
Instructions
Adds one or more ad group-level negative keywords. Scope is narrower than campaign-level negatives — exclusions apply only to the specified ad group. Returns created criterion_ids. Mutating, reversible via rollback_apply. Prefer this over google_ads_negative_keywords_add when the exclusion is only wrong in one ad group's context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | Google Ads customer ID as a 10-digit string without dashes (e.g. '1234567890'). Optional — falls back to GOOGLE_ADS_CUSTOMER_ID / GOOGLE_ADS_LOGIN_CUSTOMER_ID from the configured credentials when omitted. | |
| ad_group_id | Yes | Ad group that will receive the negatives. Exclusions do not cascade to sibling ad groups. | |
| keywords | Yes | Negative keywords to add. Each item has `text` and optional `match_type` (BROAD / PHRASE / EXACT). |