Publisher & Advertiser

Page, section or URL patterns

Allows or blocks ads on specific pages, site sections or URL patterns, giving you precise control over where ads appear.

Available actions

Block / Monitor

Example

Block /checkout/* and /account/*

What it checks

Matches the current page URL or path against rules you define. You can target individual pages, sections or patterns such as checkout and account paths.

Why it matters

Advertisers: Helps prevent campaigns from appearing on unsuitable pages or environments where an ad would be irrelevant.

Publishers: Helps control which parts of a site can load a particular ad tag, including sensitive or non-monetised sections.

How to use it

Use clear patterns and test both trailing slashes and query strings. Keep rules narrow enough that an intended section is not accidentally excluded.

Frequently asked questions

What are AdPurify rules?

Rules are checks that run on each visit. In monitor mode, AdPurify records a match while the ad tag continues to run. In publisher blocking mode, a matching blocking rule prevents the wrapped ad tag from loading.

Can I use different rules per tag?

Yes. Each wrapped slot has its own rule set.

How many rules can I use?

Lite allows 3 active rules per slot. Professional and Enterprise allow unlimited rules.

How does AdPurify prevent false positives?

Traffic classification is probabilistic, so no signal should be treated as perfect proof on its own. Start every new rule in Monitor-only mode, review matched traffic, then tune that rule's sensitivity before enabling blocking. You can tune rules individually across 30+ checks and use narrow allowlists for trusted IPs, networks or known services.