Rules-based auto negator
Your own negative keyword rules, applied every day: cost with no conversions, low CTR, banned words, with an approval queue in Google Sheets.
What it does
- Checks every search term against your rules, written in plain lines like "cost >= 20 and conversions = 0" or "contains free".
- Skips any term containing your protected brand or product words.
- Queues matches in a Google Sheet for you to approve with "yes", or adds them automatically.
- Adds approved terms to a shared negative list attached to your campaigns.
How it changes your account
It adds negative keywords to one shared negative list and attaches it to the selected campaigns. It never removes keywords or negatives.
Smart Bidding
Works with Smart Bidding. Negatives stop irrelevant searches before they cost money, which bidding cannot do on its own.
Settings explained
- Campaigns
Which campaigns this script looks at. Pick all, names that contain some text (separate several with commas), or campaigns with a label.
- Days of data
How many full days of data to look at, ending yesterday.
- Rules
One rule per line; a term matching any rule is flagged. Join conditions with "and". Fields: cost, clicks, impressions, conversions, ctr (%), convrate (%), cpa, words. Or use "contains" with a word.
- Never touch terms containing
Your brand, venue and product names, one per line. Terms containing these whole words are never flagged.
- Include Performance Max search terms
Also checks Performance Max terms. Negative lists can be attached to Performance Max campaigns.
- Approval
Queue lists each candidate in the Google Sheet; type yes next to the ones to add and they are added on the next run. Automatic adds them straight away (unless Alerts only is on).
- Negative list name
Negatives go into this shared negative keyword list, created if needed and attached to the selected campaigns.
- Add negatives as
Exact blocks only that search. Phrase blocks any search containing it, which is stronger.
- Alerts only (recommended for the first week)
While this is on, the script only logs and emails what it would change. Nothing in your account changes. Turn it off once you are happy with what it reports.
- Email alerts to
Where alerts and summaries go. Separate several addresses with commas. Leave blank to log only.
- Slack webhook URL (optional, stays in your browser)
Paste a Slack incoming webhook URL to get the same alerts in a channel. It is added to your copy of the script on your device and never sent to us.
- Google Sheet name
The script keeps its working data in a Google Sheet with this exact name in your Drive, and creates it on the first run.
Install in two minutes
- In Google Ads, go to Tools, then Bulk actions, then Scripts.
- Click the plus button and name your script.
- Delete the sample code, paste yours and click Authorise.
- Click Preview and check the log. Nothing changes in Preview.
- Click Save and set it to run daily.
In Google Ads, go to Tools > Bulk actions > Scripts, add a new script, paste the code and click Authorise. Then click Preview and read the log before anything runs for real.
Schedule it Daily.
It starts with Alerts only on. Leave it on for a week, check the emails, then turn it off and copy the script again.
Questions
How do I write a rule?
Use a field, a comparison and a number: "cost >= 20 and conversions = 0". CTR and conversion rate are percentages, so "ctr < 1" means under 1%. "contains jobs" catches any term with that word.
How does approval work?
New matches appear on the Review tab. Type yes in the Approve column and the next run adds them.
Will it change my account straight away?
No. Alerts only is on by default, so the first runs only report what would change. You turn it off when you are happy.
Changelog
- 1.0.0 27 Nov 2026 Improvement
- First release in the Invincible Google Ads scripts library.
Scripts are provided as is. You're responsible for previewing, testing and monitoring them in your account. Scripts Terms of Use.