Free download · Script + PDF

Get an email the morning your Google Ads account goes off the rails

A free, read-only Google Ads script that compares yesterday with your normal day and emails you when cost, clicks, conversions or CPA swing past your thresholds. Paste it in, Preview, schedule it daily. From DetectivePPC.

By DetectivePPC · Written against the documented Google Ads scripts APIs (AdsApp.search, MailApp). Logic-tested on fictional data; run Preview in your account first.

Get the script

We'll email you the script and the setup guide.

What it checks

Account-wide and per enabled campaign, including Performance Max.

MetricWhat it checks
  • CostYesterday vs baseline, alert at ±40% by default.
  • ClicksYesterday vs baseline, alert at ±40%.
  • ConversionsAlert at ±40%, plus a dedicated alert for zero conversions with spend (the classic broken-tag signal).
  • CPAAlert at ±50%, only when there's enough conversion volume to mean something.
  • BaselineTrailing average of the previous 14 days, or the same weekday over the last 4 weeks.

Read-only by design. It reads reports, writes to the script log and sends one email. It never changes bids, budgets, statuses, keywords or anything else in the account.

Fictional sample

What an alert looks like

Sample output from a fictional account (made-up numbers). Here a non-brand campaign spent 90% more than normal with zero conversions, which points to a broken tag or landing page, while PMax spend dropped 60%.

To
you@example.com
Subject
[Google Ads alert] 8 anomaly(ies) on 2026-11-12 - Sample Plumbing Co (fictional) (123-456-7890)
Account: Sample Plumbing Co (fictional) (123-456-7890)
Date checked: 2026-11-12 (baseline: average of the previous 14 days)

Account yesterday: cost 690.00 USD, clicks 412, conversions 10, CPA 69.00 USD
Account baseline:  cost 540.00 USD, clicks 349.5, conversions 24, CPA 22.50 USD

Anomalies:
- Account total | Conversions: 10 vs 24 (-58%)
- Account total | CPA: 69.00 USD vs 22.50 USD (+207%)
- Non-brand - Search | Cost: 570.00 USD vs 300.00 USD (+90%)
- Non-brand - Search | Clicks: 275 vs 149.8 (+84%)
- Non-brand - Search | Conversions: 0 vs 10 (-100%) - Zero conversions with spend. Check conversion tags and the landing page.
- PMax - All products | Cost: 80.00 USD vs 200.00 USD (-60%)
- PMax - All products | Clicks: 55 vs 119.9 (-54%)
- PMax - All products | Conversions: 2 vs 6 (-67%)

Sent by the DetectivePPC Anomaly Alert Script (read-only; it changed nothing).

A script tells you a number moved.

DetectivePPC runs a read-only Google Ads audit, gives you a scored case file with prioritized findings, and then monitors the account between audits, alerting you to anomalies like a CPA spike or a sharp spend drop, without any code to maintain.

7-day trial · 1 free audit · Read-only access

    Free Google Ads Anomaly Alert Script — DetectivePPC