google_ads_negative_keywords_add_to_ad_group
Add ad group-level negative keywords to exclude specific search queries from triggering ads, with match type control (Broad, Phrase, Exact). Ideal when exclusions apply only to one ad group.
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). |