Test your AI Max URL exclusions before Google uses the wrong page
Paste your "URL contains" exclusion rules and your site's URLs or sitemap XML. See which pages each rule really excludes under the matching Google documents (whole tokens, underscores aren't separators, a space means AND), and which rules miss, over-match or depend on behavior Google doesn't document. Free from DetectivePPC.
By DetectivePPC · Matching rules from Google Ads Help pages fetched 2026-12-02 · Runs in your browser, no connection to your Google Ads account.
Test your rulesGet the guide + AI prompt
We'll email you a zip with the 3-page PDF guide, the AI proposal prompt and the tester as an offline HTML file.
Free, no email needed
Test your rules
Paste your AI Max for Search "URL contains" exclusion rules and your site's URLs (or sitemap XML), then select Test rules. Or load the fictional example to see the most common warnings on a made-up site.
The tester models Google's written rules. It isn't Google's matcher and wasn't tested in a live Google Ads account. Where Google is silent, it says UNCERTAIN instead of guessing.
Best list to test: your sitemap, plus the pages AI Max already used (asset report, "Expanded final URL assets" tab; landing pages report).
Optional: pages that must be excluded / must stay available, and the "too much" limit
% of URLs.
How Google says "URL contains" matches
- "URL contains" matches whole, consecutive tokens, not parts of words: "auto" does not exclude a URL with "automation". (About URL exclusions in AI Max for Search campaigns, 18788711)
- URLs are split into tokens at hyphens, periods and slashes (Google says "common separators like", so the list may not be complete). (About URL exclusions in AI Max for Search campaigns, 18788711)
- Underscores are not separators: promo_page is one token, so "promo" does not exclude it. (About URL exclusions in AI Max for Search campaigns, 18788711)
- A space in a rule means AND: every part must appear somewhere in the URL, in any order. Google recommends not using spaces. (About URL exclusions in AI Max for Search campaigns, 18788711)
- No plurals and no added numbers: "FAQ" excludes /FAQ/page but not /faqs or /FAQ11. (About URL exclusions in AI Max for Search campaigns, 18788711)
- Three ways to exclude: exact URLs, page feed custom labels, and "URL contains" rules. (About URL exclusions in AI Max for Search campaigns, 18788711)
- URL exclusions need both Text customization and Final URL expansion turned on. (About URL exclusions in AI Max for Search campaigns, 18788711)
- Exclusions only apply to pages Final URL expansion picks. RSAs with static final URLs and manual sitelinks pointing to an excluded URL still serve. (About Final URL expansion in Search, 16230205)
- URL exclusions are a campaign-level control. (Set up AI Max for Search campaigns, 15909989)
- Existing URL exclusions are ignored if AI Max is turned off. (Set up AI Max for Search campaigns, 15909989)
- After a DSA upgrade, legacy "page title contains" / "page content contains" rules become read-only: you can remove them, not add or edit. (About URL exclusions in AI Max for Search campaigns, 18788711)
What Google doesn't say (and what the tool does)
- Letter case: Google's only example uses the same case on both sides ("FAQ" blocks "/FAQ/page"). Whether "faq" would block "/FAQ/page" isn't stated. The tool tests both and marks a URL UNCERTAIN when the answer depends on case.
- Other separators: Google lists hyphens, periods and slashes as "common separators like". It doesn't say whether ?, =, &, #, :, %, + or ~ split tokens. The tool tests both readings (only - . / split, or every non-letter/number/underscore character splits) and marks UNCERTAIN when they disagree. That usually matters for query strings.
- Rules with a hyphen, period or slash inside (e.g. "gift-cards"): Google says matching "relies on consecutive tokens", so the tool splits the rule the same way and needs those tokens next to each other, in order. Google gives no worked example of this.
- Exact URLs: Google doesn't document how exact URLs are normalized (trailing slash, http vs https, www, letter case, query strings, fragments). The tool counts an exact URL only on an identical string and marks near-identical variants UNCERTAIN.
- What part of the URL is tokenized: Google says tokens can match "anywhere in the URL", so the tool includes the protocol, domain and query string. A rule that equals a domain token (e.g. "www" or "com") then excludes every page.
- URL inclusions: the token article covers exclusions only. The tool doesn't claim inclusions match the same way.
- Limits: the fetched pages don't state a maximum number of URL exclusions or rules per campaign, so the tool doesn't enforce one.
Where Help pages disagree
- "URL contains" means whole tokens in AI Max, but plain "containing" in DSA/feed wording. For AI Max URL exclusions the tool follows the AI Max article (18788711), the only page that explains the matching. The DSA and page feed pages (2471185, 7166527) use 'containing' wording for DSA/PMax targeting. Don't assume an old DSA rule behaves the same after an upgrade; re-test it here. (Help 18788711 vs 2471185)
- Excluded from serving vs only from finding new search terms (Search campaigns for Travel). The tool reports which pages a rule matches. For Travel feed formats, Google says a feed item pointing to an excluded URL still wins, so an EXCLUDED result there doesn't mean the page never gets traffic. (Help 18788711 vs 16230205)
This tool models Google's written rules. It isn't Google's matcher, isn't advice from Google and doesn't connect to your account. Before you rely on a rule, check the asset report's "Expanded final URL assets" tab after it's live. For the wider AI Max setup (search terms, text customization, brand controls, reporting), see the free AI Max for Search Without Losing Control email course.
New to AI Max controls? Start with the free AI Max for Search Without Losing Control email course. Its Day 3 planner is the quick version; this is the full test.
Why it matters
Google Ads Help says "URL contains" "relies on consecutive tokens rather than partial substring matching" and that underscores "aren't considered separators" (support.google.com/google-ads/answer/18788711). Final URL expansion is on by default when you opt in to AI Max, and exclusions only apply to pages it picks: RSAs with static final URLs and manual sitelinks pointing to an excluded URL still serve (/16230205).
URL rules are one control. The account around them matters too.
DetectivePPC runs a read-only Google Ads audit across 50+ dimensions in about 5 minutes for most accounts and gives you a scored case file with a Health Score, prioritized findings and a white-label PDF.
7-day trial · 1 free audit · Read-only access
