JSFiddle - React, Tailwind, and code Playground

by madamek

HTML

googletag.cmd.push(function() {
      googletag.cmd.push(function() {
        var slot0 = googletag
          .defineSlot(
            "/31695561/all-test/header-bid-tag-0",
            mainbar_sizes,
            "adSlot-0"
          )
          .addService(googletag.pubads());

        var slot1 = googletag
          .defineSlot(
            "/31695561/all-test/header-bid-tag-1",
            sidebar_sizes,
            "adSlot-1"
          )
          .addService(googletag.pubads());
          
        googletag.pubads().disableInitialLoad();
        googletag.pubads().enableSingleRequest();
        googletag.enableServices();
      });