Exclude queries based on queryString
The light version of the script. This one is very easy to implement. You can use this for standard campaign types (not for smart and pMax). What is does? It…
Price
Free
Downloads
112
Versions
1
Created
5/26/2025
About This Script
- branded shopping campaign, add your brand and misspellings to the queryString variable.
- shopping campaign, where you only want to match upon a few generic queries.
- search campaign where you use broad match to increase volume but don't want to go too broad. In this case: use the n-grams script to find out which words deliver conversions and need to be incorporated in the queryString.
The light version of the script. This one is very easy to implement. You can use this for standard campaign types (not for smart and pMax).
What is does? It fetches all queries that do not contain a certain query and adds them to a negative keyword list. That list will be added to the set campaign.
How can you use this one? Use it for a:
Set a threshold on impressions in line 3 and create your list beforehand. You can change the name of the negative keyword list too (line 4)
Resources
Articles
Get full access
Sign in to view all script versions, download code, and access premium features.
Sign in to accessFree versions available
Free Versions
Version 1
FreeExperience version 1 of this script.