Publisher & Advertiser

Iframe and embed restrictions

Controls whether your ads can load inside iframes or on third-party embeds, preventing clickjacking and unauthorized placements.

Available actions

Block / Monitor

Example

Allow framing only from yourbrand.com

What it checks

Checks whether the ad tag is running inside an iframe or embedded context and, where configured, whether that context is permitted.

Why it matters

Publishers: Primarily a publisher control. It helps prevent unauthorised embedding, clickjacking and use of ad tags on sites or frames the publisher does not control.

Advertisers: Can help enforce approved placement environments, but is usually configured by the publisher or tag owner.

How to use it

Allow known legitimate wrappers, players and partner domains. Test nested iframe setups carefully so that normal ad serving is not interrupted.

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.