Tuesday, March 19, 2013

Parsed Adsense Code is OK

Tags

Parsing Adsense code is a must if you want to put it inside the HTML template. The question is it permissible or not by Adsense? Or does it violate the Adsense TOS?

There's no clear and official answer but a few ones I found in this forum

Gracey said: Adsense Pros have said that you can parse the code in order to use it on blogger. You may use the parsed code within the text area of blogger. According to the Pros, this is okay to do, provided the code is not changed in any other way.

Another way to add Adsense code inside the HTML template is to wrap the code within the javascript as follows:


<script type='text/javascript'>
//<![CDATA[
... adsense code here ...
//]]>
</script>


EmoticonEmoticon