Manage Capping for Popunders and Fullpage Interstitials
As a Publisher, when you create or edit a Popunder, Desktop Fullpage Interstitial, or Mobile Fullpage Interstitial zone, you can enable or disable capping for your ad zone. With this option, you can manage capping (display frequency) on your own side.
Supported Ad Formats: Popunder, Mobile Popunder, Desktop Fullpage Interstitial, Mobile Fullpage Interstitial.
Setting Up
Step 1: Enable/Disable Capping Through the Snippet
Disable the capping on the Popunder snippet. Only the adConfig block is shown below — copy the full tag from your zone's tag page in the Admin Panel and set capping_enabled or ad_capping_enabled to false.
Step 2: Setting Up Event Listener
Set up the event listener for the creativeDisplayed event so that you can store and increment the capping counter on your own side.
Step 3: Managing the Page DOM
Based on the value of the counter, which you can store in any way, exclude the snippet from the page DOM. You can do this on the front end or the back end; both examples follow.
FE Example:
BE Example:
Using the should_fire callback
Instead of keeping the snippet out of the page DOM, you can leave the tag in place and decide on each click whether the ad should be served. When capping is disabled, the ad is only served if your callback returns true.
Popunder
Inline + Remote Script
Remote Script Only
Desktop and Mobile Fullpage Interstitial
On the asynchronous tag, pass the name of your function in the data-should-fire attribute rather than the function itself. The function must be defined on the page before the tag runs.
Last updated
Was this helpful?

