Free download · Script + PDF

Find the Google Ads clicks landing on a 404 before your client does

A free, read-only Google Ads script that checks every final URL your live ads, keywords, Performance Max asset groups and sitelinks use, and emails you the broken ones with the campaigns behind them. From DetectivePPC.

By DetectivePPC · Written against the documented Google Ads scripts APIs (AdsApp.search, UrlFetchApp, 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.

Why it matters

Google's Destination requirements policy lists destinations that don't function properly, or that return an HTTP error code for Google AdsBot, as grounds for a “Destination not working” disapproval.

Source: support.google.com/adspolicy/answer/6368661

What it flags

Unique final URLs from enabled ads, keywords, Performance Max asset groups and sitelinks.

FlagWhat it flags
  • HTTP errors404 Not Found, 410 Gone, 5xx server errors and anything else 400 or above, with the ads and assets that use the URL.
  • Network failuresTimeouts, DNS and SSL errors. Server and network errors are retried once to skip one-off blips.
  • Redirect to home pageA product or category URL that now bounces to the home page, usually a removed page.
  • Soft 404A page that loads (200) but says "page not found" or similar. You choose the phrases.
  • Out of stock (optional)For ecommerce: pages that contain your out-of-stock wording, such as "sold out".

Where it looks: enabled ads, keyword-level final URLs, Performance Max asset groups, and sitelinks at account, campaign and ad group level, in enabled campaigns. Each unique URL is requested once, however many ads use it.

Read-only by design. It reads reports, requests your pages like a visitor would, writes to the log and sends one email. It never pauses ads, edits URLs or changes anything else.

Fictional sample

What a report looks like

Sample output from a fictional account (made-up URLs, generated by running the script against mock data; no real sites were requested). A sitelink points at a page that is down, an expired promo URL is a 404, an old coupon page redirects home, and a PMax asset group lands on a “page not found” template.

To
you@example.com
Subject
[Google Ads alert] 4 broken or suspect landing page(s) - Northwind Plumbing (fictional) (123-456-7890)
Account: Northwind Plumbing (fictional) (123-456-7890)
Checked 8 of 8 unique final URL(s) used by enabled ads, keywords, asset groups and sitelinks.

Needs a look:
1. HTTP 503 Service Unavailable
   URL: https://www.northwind-plumbing.example/financing
   Used by: Sitelink | Search - Water Heaters
2. HTTP 404 Not Found
   URL: https://www.northwind-plumbing.example/water-heaters/tankless-2025-promo
   Used by: Ad | Search - Water Heaters > Tankless
3. Redirects to the home page (https://www.northwind-plumbing.example/)
   URL: https://www.northwind-plumbing.example/old-coupons
   Used by: Keyword URL | Search - Water Heaters > Repair
4. Possible soft 404: page contains "page not found"
   URL: https://www.northwind-plumbing.example/drain-cleaning
   Used by: PMax asset group | PMax - Services > Drain cleaning

Sent by the DetectivePPC Broken Landing Page Checker (read-only; it changed nothing).
Want a full audit plus daily monitoring without maintaining scripts? https://www.detectiveppc.com

A script tells you a page is broken.

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 Broken Landing Page Checker — DetectivePPC