Untitled

mail@pastecode.io avatar
unknown
html
2 years ago
1.7 kB
5
Indexable
Never
<script src="https://securepubads.g.doubleclick.net/tag/js/gpt.js" async></script>
<script>
        window.googletag = window.googletag || {cmd: []};
        googletag.cmd.push(function () {
            
            // responsive positions
            if(window.innerWidth > 1000) {
                googletag.defineSlot('/147246189,22678383093/cloudsmediatz.com_728x90_desktop_sticky', [728, 90], 'cloudsmediatz_com_728x90_sticky_responsive').addService(googletag.pubads());
		    } else {
                googletag.defineSlot('/147246189,22678383093/cloudsmediatz.com_320x100_mobile_sticky', [[320, 100], [320, 50]], 'cloudsmediatz_com_728x90_sticky_responsive').addService(googletag.pubads());
            }
            
            googletag.defineSlot('/147246189,22678383093/cloudsmediatz.com_300x250_1', [300, 250], 'cloudsmediatz.com_300x250_1').addService(googletag.pubads());
            googletag.defineSlot('/147246189,22678383093/cloudsmediatz.com_300x250_2', [300, 250], 'cloudsmediatz.com_300x250_2').addService(googletag.pubads());

            var interstitialSlot = googletag.defineOutOfPageSlot('/147246189,22678383093/cloudsmediatz.com_interstitial', googletag.enums.OutOfPageFormat.INTERSTITIAL);
            if (interstitialSlot) interstitialSlot.addService(googletag.pubads());
            googletag.display(interstitialSlot);
            
           
            // non-responsive positions
            googletag.pubads().enableSingleRequest();
            googletag.pubads().disableInitialLoad();
            googletag.enableServices();
        });
</script>
<script src="https://stpd.cloud/assets/hb/cloudsmediatzcom.js?v=4" async></script>