Free, hand-authored Google Ads Scripts that solve real 2026 PPC pain points — Performance Max blind spots, search-term control under broad-match-with-smart-bidding, and AI-bidding anomaly detection.
Every script is read-only by default. Where a script could mutate the account, that mutation is gated behind an explicit DRY_RUN = false flag in the config block. We default to safety; you decide when to flip it.
| Script | What it does | Status |
|---|---|---|
pmax-asset-group-exporter/ |
Pulls spend, conversions, ROAS, and CPA per asset group across all Performance Max campaigns into a Google Sheet. Emails a top-movers digest. Solves PMax's #1 pain: no asset-group-level visibility in the native UI. | v1 — single + MCC |
search-term-intent-classifier/ |
Classifies search terms by intent (brand, competitor, informational, transactional, navigational, unclear) and suggests negatives. Dry-run by default; flip a flag to auto-apply to a shared negative-keyword list. | v1 — single + MCC |
account-anomaly-detector/ |
Hourly CPA/ROAS/spend drift detection across Search, Shopping, and PMax. Alerts on >15% deviation from a rolling 7-day baseline. | Planned |
- Open the script folder above and pick the flavor —
single-account.js(one account) ormcc.js(manager / MCC account). - Read the script's README first. Each one has setup steps, required permissions, and expected output.
- In Google Ads (or your MCC), go to Tools → Bulk actions → Scripts → +.
- Paste the script. Update the
CONFIGblock at the top — at minimum the recipient email and the Sheet URL (or leave blank to auto-create). - Click Preview first. Verify the log output looks sane (script ran without errors, expected number of campaigns/asset groups detected).
- Authorize when prompted — Google will tell you exactly which scopes it's requesting. Read them.
- Run once manually. Check your inbox and the Sheet.
- Set up a schedule (Daily / Hourly / Weekly depending on the script's recommendation).
MIT — see LICENSE. Use them, fork them, ship them in client work. Stars appreciated.
Built and maintained by Aumlytics — analytics + ads agency. We open-source the scripts we use ourselves on client accounts.
aumlytics/shopify-liquid-snippets— Shopify Liquid + Customer Eventsaumlytics/gtm-container-templates— GTM container.jsontemplates