Skip to content Skip to sidebar Skip to footer

adx ads anchor and interstitial

  <!– Google Adx Anchor Ads –>

    <script async=’async’ src=’https://securepubads.g.doubleclick.net/tag/js/gpt.js’/>

<script>

      window.googletag = window.googletag || {cmd: []};

      // GPT ad slots

      var anchorSlot_2;

      googletag.cmd.push(function() {

        anchorSlot_2 = googletag.defineOutOfPageSlot(&#39;/23047241559/anchorads&#39;, googletag.enums.OutOfPageFormat.BOTTOM_ANCHOR);

        anchorSlot_2.addService(googletag.pubads());

         // Enable SRA and services.

        googletag.pubads().enableSingleRequest();

        googletag.enableServices();

        googletag.display(anchorSlot_2);

      });

</script>

    

  <!– Google Adx Interstitial Ads –>

    <script async=’async’ src=’https://securepubads.g.doubleclick.net/tag/js/gpt.js’/>

<script>

    window.googletag = window.googletag || { cmd: [] };

    var interstitialSlot;

    googletag.cmd.push(function () {

       interstitialSlot = googletag.defineOutOfPageSlot(&#39;/23047241559/fullscreenads&#39;,googletag.enums.OutOfPageFormat.INTERSTITIAL).addService(googletag.pubads());

      googletag.enableServices();

    });

    googletag.cmd.push(function () {

    googletag.display(interstitialSlot);

    });

  </script>

   <!– Google Adx Interstitial Ads END –>

Leave a comment