How To Fix The Error Parsing Code When Google Adsense Code Is Place In Blogger

0
How many Of You Are Faced with The problem of Error Async Message when trying to Paste Your Google Adsense code on Your Blogger Edit Template? This Problem is Common because when placing an Adsense code to your blog HTML, your generated Adsense code will surely give an error, if you place it raw. There Many Solution And Alternative to Fix This Issue, Like Converting Your Adsense Code, Many are using this but i will show you another way to Fix this Error Message in a seconds.

The True Fact About this Issue is that you, It can Never be solved but you can only have to edit or modify the Adsense generated asynchronous code otherwise, you will receive an error message saying; “Error Parsing XML Code Attribute name “async” associated with an element type “script” must be followed by the ‘ = ‘ character.”.


Do Your Modification Using Below Solution and Techniques.

This can bring solution To The Error Message. While integrating Adsense code in your template. You just have to modify the JavaScripts Adsense code.

NORMAL ADSENSE CODE

<pre> <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: “ca-pub-8393037731596945”,
    enable_page_level_ads: true
  });
</script>
</pre>

CUSTOMIZED OR MODIFIED ADSENSE CODE

<pre> <script async=”async” src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: “ca-pub-8393037731596945”,
    enable_page_level_ads: true
  });
</script>
</pre>

All You Need to do is Just to add =“async” to the normal adsense code. Then, paste the modified Adsense code into your blogger template and Save. You are Done.

Hope This Helps

LEAVE A REPLY

Please enter your comment!
Please enter your name here