PubGuru Header Bidding is Not Loading Asynchronously. Here’s How To Fix It.

Synchronous tags won’t work with Header Bidding. Change the on-page code to <script src=”https://{{script}}” a{{mode}}>

As of December 3, 2018, Google has deprecated the ability for Google Publisher Tags to render ads synchronously. This means that the API methods enableSyncRendering() and enableAsyncRendering() are no longer supported, but they will continue to function until April 2, 2019

OFF-page setup

Update your header tag to:

<script src=”INSERT_CONFIG_URL_HERE” async></script>

ON-page setup

Async sample below:

<script async=’async’ src=’https://www.googletagservices.com/tag/js/gpt.js’></script>

<script>

var googletag = googletag || {};

googletag.cmd = googletag.cmd || [];

</script>

<script>

googletag.cmd.push(function() {

googletag.defineSlot(‘/1234567/In-Line1_Article_300x250’, [300, 250], ‘div-gpt-ad-12345-0’).addService(googletag.pubads());

googletag.pubads().enableSingleRequest();

googletag.enableServices();

});

</script>

Back to Notification Center