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

This post was most recently updated on novembro 7th, 2021

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>

 

Need more help? Send us an email at support@monetizemore.com or log in to PubGuru App and use the Chat widget for immediate support.

Stop letting RPM drops stress you out

Let our AdOps Experts do the hard work. Sign up today and unlock your revenue potential.

Maximize my Ad Revenue

It’s your turn to take the ad monetization game to the next level

  • No credit card required
  • No DNS transfer
  • Cancel any time

Get started