Google Ads: create negative keyword list
create_negative_keyword_listCreates a shared negative keyword list, optionally with its keywords.
A negative keyword list is one blocklist that many campaigns can share:
attach it with attach_negative_keyword_list and every attached campaign
stops showing for its words. The list does nothing until it is attached.
Args:
customer_id: The Google Ads customer ID (numbers only, no hyphens).
name: Name of the list, unique among the account's negative keyword
lists (1-255 characters).
keywords: Optional keywords to put in the list, each with:
- text: The keyword text (e.g., "free").
- match_type: One of: EXACT, PHRASE, BROAD. Default: BROAD.
Exact duplicates are dropped. More can be added later with
add_to_negative_keyword_list, and taken out with
remove_from_negative_keyword_list.
Returns:
Dictionary with the list's shared_set_id and resource name, and the
keywords added.Tools revision: 5c9bea8f.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| keywords | No | ||
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |