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

    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:

  • 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.
  • 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

Get full access

Sign in to view all script versions, download code, and access premium features.

Sign in to access

Free versions available

Free Versions

Version 1

Free

Experience version 1 of this script.

FSFloris de Schrijver
6/26/2025
112

Want more scripts?

Sign in to access all script versions and download code.

Sign in