Campaign Search Term Filter

This Google Ads script auto-gathers search terms from specified campaigns, comparing them against an approved list. If any search terms exceed a set click t…

Price

Free

Downloads

227

Versions

2

Created

5/26/2025

About This Script

This Google Ads script auto-gathers search terms from specified campaigns, comparing them against an approved list. If any search terms exceed a set click threshold and are not approved, they're placed into a shared negative keyword list. Run it hourly and set daysAgo from 1 to 7 days.

Resources

Featured Videos

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

Free

V1.5 — What’s new - Match method — You can choose how search terms are compared to your allowed list: - contains — Any search term that contains an allowed keyword is allowed (e.g. “bono olive oil” is allowed if “bono” is on the list). - closeMatch — Only search terms that are very similar to an allowed keyword are allowed (e.g. typos or 1–2 character differences). Good for strict branded control. - containsOrCloseMatch — A search term is allowed if it either contains an allowed keyword or is a close match. Covers both longer queries and small typos. - Ad group filter — You can restrict the script to campaigns whose name contains a value and ad groups whose name contains a value (e.g. only certain ad groups inside branded campaigns). - Allowed list — Empty or blank rows in your sheet are ignored, so the script no longer treats all search terms as allowed when there are empty cells. - Config — Same main settings (sheet URL, negative list name, thresholds, date range, campaign filter), plus match method, ad group filter, and close-match sensitivity (how many character differences still count as a match) when you use closeMatch or containsOrCloseMatch.

ASArjan Schoorl
1/29/2026
37

Version 1

Free

Experience version 1 of this script.

ASArjan Schoorl
6/26/2025
190

Want more scripts?

Sign in to access all script versions and download code.

Sign in