Adding HTML Events for Fullpage Interstitials
As a Publisher, you can make the Desktop Fullpage Interstitial and Mobile Fullpage Interstitial ad formats interact with your website through HTML events. Use these events to trigger additional actions on your website.
creativeDisplayed Event
When a Fullpage Interstitial ad is loaded in the user's browser, it generates the event creativeDisplayed-XXXXXXX, where XXXXXXX is the zone id corresponding to that Fullpage Interstitial ad zone.
This event listener allows you to programmatically execute any action you may need on your website and get more information about the element that triggered the event, such as the URL, id, classes and text.
The example below displays the Creative shown! message in the console when the Fullpage Interstitial is shown, and lists all the details from the element that triggered the event:
message Event
If your Fullpage Interstitial ad zone serves an iframe campaign, then you can add an event listener to the event message. This allows you to programmatically execute any action you may need on your website after the iframe is loaded in the user's browser.
The event data contains the properties id, which is an md5 of the iframe URL parameter, and loaded being true. The example below displays the Iframe loaded! message in the console when the iframe is shown in your visitor's browser:
Last updated
Was this helpful?

