This post was most recently updated on noviembre 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
Update your header tag to:
<script src=»INSERT_CONFIG_URL_HERE» async></script> |
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.
Let our AdOps Experts do the hard work. Sign up today and unlock your revenue potential.