Adx ADS CODE

                               -------------------------------------------------------

// Interstitial-Ad1 //  foot

                              -------------------------------------------------------


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

<script>

    

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

      

      var interstitialSlot;

      googletag.cmd.push(function() {

        interstitialSlot = googletag.defineOutOfPageSlot('/22728755280/inter',

            googletag.enums.OutOfPageFormat.INTERSTITIAL);

        interstitialSlot.addService(googletag.pubads());

        googletag.pubads().enableSingleRequest();

        googletag.pubads().set('page_url', 'https://domain.com');

        googletag.enableServices();

        googletag.display(interstitialSlot);

   });

</script>



                              -------------------------------------------------------

// Top-Anchor-Ad1 // head

                              -------------------------------------------------------


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

<script>

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


  googletag.cmd.push(function () {

    googletag.pubads().enableLazyLoad({

      fetchMarginPercent: 100,

      renderMarginPercent: 50,

      mobileScaling: 2.0

    });


    var anchor = googletag.defineOutOfPageSlot(

      '/23336666436/anchor-j',

      googletag.enums.OutOfPageFormat.BOTTOM_ANCHOR

    );


    if (anchor) {

      anchor.addService(googletag.pubads());

      googletag.enableServices();

      googletag.display(anchor);

    }

  });

</script>




-------------------------------------------End-------------------------------




Top-Anchor-Ad1 Size - 300x50, 300x100, 320x50, 320x100


Interstitial-Ad1 - 1024x768


Responsive Display Ad Unit Size - 250x250, 300x250, 336x280




No comments:

Post a Comment

Pages