Exclude queries based on queryString

This free script helps keep standard Shopping and Search campaigns focused by finding search queries that do not contain your chosen terms and adding them to a …

Price

Free

Downloads

115

Versions

1

Created

5/26/2025

About This Script

This free script helps keep standard Shopping and Search campaigns focused by finding search queries that do not contain your chosen terms and adding them to a negative keyword list.

Add brand terms, misspellings, or selected generic terms to the queryString variable. The script excludes queries that do not contain those terms after they meet the impressions threshold you set.

It works with standard campaign types and does not support Smart Shopping or Performance Max. Create the negative keyword list before running the script and select its name in the configuration.

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

Free

Experience version 1.0 of this script.

FSFloris de Schrijver
6/26/2025
115

Want more scripts?

Sign in to access all script versions and download code.

Sign in