Copy-ready Google Ads scripts for common jobs — each script on its own page. Paste under Tools › Bulk actions › Scripts.
Scripts marked "Modifies account" change your campaigns — test on a small account first.
Sets a tracking template on all active campaigns — Search, Shopping and Performance Max — so every click is auto-tagged with UTM (utm_source=google, utm_medium=cpc, utm_campaign=campaign name). Skips paused/removed and logs old vs new template. Note: overwrites any existing tracking template.
Open script →Read-only. Requests the final URLs of all enabled ads and logs any that respond with an error (4xx/5xx) — so you catch dead landing pages before they waste budget. Deduplicates URLs.
Open script →Read-only. Logs 30-day performance per active campaign — impressions, clicks, cost and conversions, sorted by cost. A quick health check without opening the UI.
Open script →Read-only. Lists enabled keywords that spent over the threshold but produced zero conversions in the last 30 days — strong candidates to pause or optimize. Change COST_THRESHOLD for your currency.
Open script →Google Ads scripts are small JavaScript programs that run inside your Google Ads account and can read and change campaigns, keywords, budgets and ads. They are perfect for recurring checks — broken landing pages, wasted spend, UTM tagging — that are otherwise done by hand. Paste a script under Tools › Bulk actions › Scripts, preview it and schedule it.
Scripts are provided as-is. Always preview before running against a live account.