apply_negative_keyword_list
Create or extend a shared negative keyword list and apply it to multiple campaigns in one go. Preview first, then confirm with a token to exclude terms across campaigns.
Instructions
Create or extend a SHARED negative keyword list. Two-phase.
Prefer this over add_negative_keywords whenever the same exclusions apply to several campaigns: one shared list means one edit updates them all, instead of duplicating negatives campaign by campaign.
Idempotent — an existing list of the same name is reused, and only missing keywords and links are added. Running it twice does nothing.
Args: customer_id: Account holding the campaigns. list_name: Name of the shared list, e.g. "Brand exclusions". keywords: Terms to exclude. campaign_ids: Campaigns the list applies to. match_type: EXACT, PHRASE, or BROAD. PHRASE is the usual choice. confirm_token: Token from the preview call. Omit for a preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | Yes | ||
| list_name | Yes | ||
| match_type | No | PHRASE | |
| customer_id | Yes | ||
| campaign_ids | Yes | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |