add_negative_keywords
Add negative keywords to a campaign, ad group, or shared list, skipping duplicates. Requires campaign_id for ad group scope to avoid API errors.
Instructions
Draft negatives. scope: campaign | ad_group | shared_list. keywords: [{text, match_type: Phrase|Exact}]. Checks existing negatives first and skips duplicates (check-existing-lists-first rule). Blocklist NOT applied — negating a settings-blocked term is desired. scope='ad_group' REQUIRES campaign_id (the parent campaign) — MS's read API hard-faults for AdGroup scope without it.
Live-verified 2026-07-28 at ad_group scope, including the duplicate-check read; campaign scope not separately smoked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| keywords | Yes | ||
| entity_id | Yes | ||
| campaign_id | No |