How to resolve Async XML parsing error when saving Google Adsense code in Blogger?

Async Error when saving Google Adsense code in Blogger
If you are a Blogger trying to integrate Google Adsense on your blog, you might have encountered and "async error" if you add the Google Adsense code in Blogger template as it is. Google Adsense provides JavaScript code which can be added to websites and blog platforms to display Google Ads. A typical Google Adsense (asynchronous) Code looks like this:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-XXXXXXXXXXXXXX",
    enable_page_level_ads: true
  });
</script>

The error message on Blogger looks like this:
Read more »

Comments

Popular posts from this blog

Mi PC Suite and USB connection problems: not detected and need to update your device to use Mi PC Suite

How to create the simplest guestbook on WordPress [no plugin]?

How to add Share This Social Media share button for Website ?