Naming convention enforcer
Keeps campaign names consistent: checks every name against your convention and labels the ones that need fixing.
What it does
- Splits each campaign name by your separator and checks it has the right number of parts.
- Checks the first part against your allowed values (campaign type, brand or generic, and so on).
- Labels campaigns that break the convention, and removes the label once they are fixed.
- Writes the list to a Google Sheet and emails it.
How it changes your account
It adds and removes one campaign label. It never renames anything.
Smart Bidding
Works with any bid strategy. Consistent names make reports, scripts and campaign filters reliable.
Settings explained
- Pattern
Parts separated by a separator, e.g. "Type | Venue | Theme". Allowed values for the first part go below.
- Separator
- Allowed values for the first part
One per line. Leave blank to allow anything.
- Label for names that break it
- 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.
- 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
Can it rename campaigns?
No. Renaming can break reports and other scripts, so it only labels them for you to fix.
Ad groups too?
This version checks campaign names, where conventions matter most for reporting.
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.