JSFiddle - React, Tailwind, and code Playground

by hellosze

JavaScript

window.lazyLoadSlots = {}; //Required for Lazy Loading
          googletag.cmd.push(function() {
             googletag.defineSlot('/22221537295/boxrec_300x250_1_Desktop', 
                                  [300, 250], 
                                  'div-gpt-ad-1612529564218-0').addService(googletag.pubads());              
             googletag.defineSlot('/22221537295/boxrec_300x250_2_Desktop', 
                                  [300, 250], 
                                  'div-gpt-ad-1612529606376-0').addService(googletag.pubads());              
             googletag.defineSlot('/22221537295/boxrec_Leaderboard_ATF_Desktop', 
                                  [[728, 90]], 
                                  "div-gpt-ad-1612529728397-0").addService(googletag.pubads());

            window.lazyLoadSlots['div-gpt-ad-1612529755905-0'] = //Required for Lazy Loading 
                                  = googletag.defineSlot('/22221537295/boxrec_Leaderboard_BTF_Desktop', 
                                    [[970, 250], [728, 90]], 
                                    'div-gpt-ad-1612529755905-0').addService(googletag.pubads());                          
      
             googletag.pubads().setTargeting('PageType',['home']);
            
            googletag.enableServices();
          });