Support > Publisher > How can I setup an Interstitial layer?

How can I setup an Interstitial layer? (#2106)

(Last Update: 09.12.2015)

Demo

Click here to see demo...

Viewport Zoom

Add the following to the <head> section of your site to optimize view on mobile devices:

<meta name="viewport" content="width=device-width,initial-scale=1.0">

Interstitial Example Code

  • Takes all available banner sizes.
  • Do not use for CPC text ads.

Customise code and copy in front of closing </body> tag.

<!-- SOLADS INTERSTITIAL START -->
<div id="interVeil"></div>
  <div id="interContainer">
    <div class="headerbar">
    <a id="cls_ac" onclick="closeit();" href="javascript:void(0)">
    <img title="Close Box" src="//cdn.solads.media/www/img/icons/close.gif" />
    </a>
      <div style="clear:both"></div>
      <div id="interContent">
        <div id="m3ads_interstitial" style="display:none" >
        <script type="text/javascript" data-params="jsads">
          m3ads_system = "Solads";
          m3ads_partnernumber = 1234;
          m3ads_sectors = "2007";
          m3ads_numberadverts = 1;
          m3ads_imagewidth = 300;
          m3ads_imageheight = 250;
          m3ads_iautohide = 0;
          m3ads_ilifetime = "session";
          m3ads_idelay = 1000;
        </script>
        <script type="text/javascript" src="//cdn.feed.solads.media/resources/scripts/jsAds-1.3.min.js"></script>
        <script type="text/javascript" src="//cdn.solads.media/js/interstitial-1.1.min.js"></script>
      </div> 
    </div> 
  </div>   
</div>    
<!-- SOLADS INTERSTITIAL END -->

Available Options

ParameterTypeDetails
m3ads_iautohide Optional Time in seconds until interstitial layer is closed automatically. Set 0 to disable autohide (default)
m3ads_ilifetime Optional Time in minutes before the layer is shown again to the same user. Set to "session" to show interstitial once per browser session (default).
m3ads_idelay Optional Time in milliseconds before layer appears. Default = 1000

Standard image ad sizes

NameGröße
Smartphone interstitial (portrait) 320 x 480
Smartphone interstitial (landscape) 480 x 320
Tablet interstitial (portrait) 768 x 1024
Tablet interstitial (landscape) 1024 x 768