.

Saturday, 13 May 2017

Blogger:How to Fix Google Adsense Async Error Code

Are you facing async error message issue while saving Google Adsense code? This error is so common to those using Google Adsense because when placing an Adsense code to your blog HTML, your generated Adsense code will surely give an error, if you place it raw.


I am quite sure that most bloggers have faced this issue but I am yet to face as you guys know and can see that I haven't added any Adsense to my site. But when I do I don't think I'll face with the help of such a discovery. lets continue

The worst part of this is that some of them think the solution to this, is by parsing the Adsense code, NO!. It can't be resolved in that way, you 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.".


Now, the solution to fix the async error message while integrating Adsense code in your template is here. You just have to modify the JavaScripts Adsense code. As shown below.


Normal Adsense code;

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


Modified Adsense code;

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


Now this is how to modify it. Just add ="async" to the normal adsense code. Then, paste the modified Adsense code into your blogger template and Save.

I hope you've been enlightened and when you encounter such a difficulty you know just what to do and if you don't, Just visit EmmyTechBlog



Notedwap Get All Our Latest Free Browsing Tweaks via Sms. Kindly sms Follow Notedwap to 40404. On Any Network And Sms is Totally free.
entclassblog-bg