Set up Interstitial ads

HTL BID provides automatic “interstitial” functionality for GAM and Prebid requests. Interstitials are full page ads that usually appear in transitions between pages. They cover the full screen and usually require user actions to close them.

For more info visit the GAM Interstitials or Prebid Interstitials documentation.

Navigate to Slot Setup screen

Navigate to the Slot Setup screen in the sidebar and locate the target ad slot that you want to make an interstitial. They can be existing slots that use 1x1s or other sizes.

image

Check “Interstitial”

Check the “interstitial” checkbox to enable the interstitial behavior for the selected ad slot.

image

Gotchas

  • The checkbox enables the GAM Interstitial. If A Prebid Group is associated to the interstitial slot, the Prebid flag will be passed marking it as an interstitial unit for the Prebid auction as well. Prebid Interstitials pass the instl: 1 flag in the pbjs configuration.
  • If no Prebid Group is associated, the slot will only be used as a GAM Interstitial.

  • The slot configured in HTL BID as an interstitial must have a corresponding div on the page or it needs to be inserted dynamically. HTL BID does not automatically add the interstitial div to the page, it only adds the functionality to a slot that is already present or will be added by the publisher.
  • Publishers can use CustomJS to add the interstitial div dynamically using a JS snippet, for example:

    // Adds the interstitial div
    (function () {
        const div = document.createElement('div');
      	div.classList.add("htlad-Between_Page_Interstitial");
      	document.body.appendChild(div);
    })();