Junk placement excluder
Stops Performance Max spending on mobile games, VPN sites and other junk placements by excluding them for the whole account.
What it does
- Reads where Performance Max showed your ads: websites, apps and YouTube.
- Matches each placement against your junk words, and optionally every mobile app.
- Adds matches as account-level placement exclusions, which apply to Performance Max, Display and Demand Gen.
- Never touches anything on your allow list, and logs every exclusion in a Google Sheet.
How it changes your account
It adds account-level placement exclusions, capped per run. It never removes exclusions.
Smart Bidding
Works with Smart Bidding. Bidding cannot exclude a placement on its own; excluding junk protects budget for inventory that converts.
Settings explained
- Days of data
How many full days of data to look at, ending yesterday.
- Exclude placements whose name or address contains
One word per line.
- Exclude all mobile app placements
Many advertisers find app traffic converts poorly. Turn on to exclude every app placement found.
- Only judge placements with at least this many impressions
- Never exclude
Domains or app names to keep, one per line.
- Most exclusions per run
- 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 weekly.
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 Weekly.
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
Why only impressions, not conversions?
Google reports only impressions for Performance Max placements, so judging is by name and type rather than results.
Is there a limit?
Google allows up to 65,000 account-level placement exclusions, which is far more than most accounts need.
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.