List negative keywords by level
get_negative_keywordsRead-onlyIdempotent
Lists negative keywords grouped by level, in Google notation ("phrase", [exact], broad): account (the account-level negative list and whether it is attached_to_account), campaigns, ad_groups, and shared negative lists (id, name, keywords, attached_campaigns). With campaign_id, campaign and ad group levels are limited to that campaign and only shared lists attached to it are returned; the account level is always returned because it applies to every campaign.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | No | Optional campaign id (from get_campaigns) to limit results to one campaign. | |
| customer_id | Yes | Google Ads customer ID from get_accounts, e.g. 123-456-7890. |