Ensures all Search, Shopping, Display, Video, and PMax campaigns have required placement exclusion lists and negative keyword lists associated, automatically adding missing ones.
by Dmytro Tonkikh·chiliad.io
Exclusion List Checker checks every active campaign of the configured types for required shared exclusion lists. Any missing associations are added automatically via the Google Ads API mutateAll method — useful for agencies enforcing brand safety standards across all campaigns. The sharedSets arrays are empty by default, so the script does nothing until you list at least one of your shared-set names in CONFIG.
| Variable | Default |
|---|---|
CONFIG.NEGATIVE_PLACEMENTS.campaignTypes | ["DISPLAY", "VIDEO"] |
CONFIG.NEGATIVE_PLACEMENTS.sharedSets | [] |
CONFIG.NEGATIVE_KEYWORDS.campaignTypes | ["DISPLAY", "VIDEO", "PERFORMANCE_MAX"] |
CONFIG.NEGATIVE_KEYWORDS.sharedSets | [] |
Campaign "Display - Remarketing" missing "chiliad | common negative", adding... Campaign "YouTube - Brand" missing "chiliad | common negative", adding... Applying 2 association(s)... Added 2 of 2 association(s). All campaigns have required NEGATIVE_KEYWORDS lists.
List names must match exactly (case-sensitive) with existing shared lists in your account. With empty sharedSets arrays the script is a no-op, so add at least one list name to activate it. Uses mutateAll for instant, synchronous updates. Only active, serving campaigns of the configured types are checked.