Google Ads UTM Automation Scripts (Account & MCC)
Automatically apply consistent UTM parameters to all your Google Ads campaigns.
Stop fixing broken tracking URLs manually. These scripts ensure every campaign in your account (Search, Display, Shopping, PMax) has the correct tracking template, automatically sanitizing campaign names to prevent "Illegal Characters" errors.
### 📦 What's Inside:
1. Account-Level Script: For single accounts.
2. MCC-Level Script: For Manager Accounts.
3. Setup Guide: Step-by-step instructions.
### 🔥 Key Features:
* Auto-Sanitization: Converts "Campaign Name | Search" -> "Campaign_Name_Search" automatically. No more script errors!
* Safety First: Includes a PREVIEW mode to test before applying.
* Idempotent: Checks if the template is already correct before writing (keeps Change History clean).
* Smart MCC Logic: Skips inactive accounts to save resources.
⚙️ UTM template used
The script sets a tracking template like:
{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={_campaign}&utm_id={campaign_id}
Where:
-
utm_campaignis dynamically filled from the campaign name (via custom parameters) -
utm_idis the campaign ID
### ⚠️ IMPORTANT - Please read before buying
This is a DIY (Do It Yourself) product.
✅ Included: the scripts + documentation
❌ Not included: installation help, customization, debugging, or 1-on-1 support
Recommended for:
- Google Ads specialists
- PPC agencies
- In-house performance teams
Pricing
Pay what you want (minimum $25).
FAQ (Quick Answers)
❓ Is this safe to use in live Google Ads accounts?
Yes. Always run in Preview mode first. No changes are applied until you disable Preview.
❓ Will this overwrite my existing tracking?
No, not by default. Campaigns with existing tracking templates are skipped unless you enable overwriting.
❓ Does it work with Performance Max?
It attempts to apply tracking where Google allows it. Some PMax behavior is controlled by Google.
❓ Can I exclude specific campaigns?
Yes. Add a label called “protected” and keep SKIP_PROTECTED = true.
❓ Is support included?
No. This is a DIY product. Scripts + documentation only.
❓ Can I get a refund?
Yes. For genuine compatibility issues within 7 days of purchase.
Two production-ready Google Ads Scripts (Account & MCC level) that automatically apply consistent campaign-level UTM tracking templates. Includes safe Preview mode, campaign name sanitization, and MCC automation to process multiple accounts efficiently.