Error parsing XML, line 6, column 15: Attribute name "async" associated with an element type "script" |
Why Do I Get This Error: Error parsing XML, line 6, column 15: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.
When i try to paste the code an error display - Error parsing XML, line 6, column 15: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.
Add the following code.. it will work.
<script async='async' src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
below code will be yours code provided by adsens this is example.. only. cos you have to put your pub id.. problem will b soloved by chaning above code only...
this is old code..
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
this is new code.
<script async='async' src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-XXXXXXXXXXX",
enable_page_level_ads: true
});
</script>
No comments:
Post a Comment