Inserting Adsense code into your post body helps you to increase your benefits from google Adsense and have higher (Click through rate).
Parse means making the Adsense code standarded XML and that is made by replacing all the html character such as ’<’ with ’>’ and ’"’ with ’"’. For example:
Quote:would be
<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXX";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Quote:
<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXX";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
You can use your text editor to replace all the HTML, but there is an easier free method to parse AdSense Code at BlogCrowds,it takes care of everything for you.and here is the link:
http://www.blogcrowds.com/resources/parse_html.php
Now with the code you can paste it anywhere in your HTML code with no error at all.
Where to paste the parsed HTML code?
Expand your blog’s widget first and find the code below,then add your parsed code and save the template :
1)Next To The Post :
<div style="float:left;">
<!--parsed Adsense code-->
</div>
<p><data:post.body/></p>
<div style=’clear: both;’/> <!-- clear for photos floats -->
</div>
2)After Post Before Credits:
<div class=’post-body’>
<p><data:post.body/></p>
<div style=’clear: both;’/> <!-- clear for photos floats -->
</div>
<div><!--parsed Adsense code--></div>
<div class=’post-footer’>
<p class=’post-footer-line post-footer-line-1’>
<span class=’post-author’>
<b:if cond=’data:top.showAuthor’>
<data:top.authorLabel/> <data:post.author/>
3)After Credits
<p class=’post-footer-line post-footer-line-3’/> <div><!--parsed Adsense code--></div> </div> </div> </b:includable> </b:widget> </b:section> |
may this method violate Google Adsense TOS ?
Absolutely no,Minor edits on Google Adsense Code for Blogger Beta/XML are allowed as long as the resulting Adsense Code generated by Blogger is exactly the same as given from Google Adsense.
1 comment:
tramadol online pharmacy tramadol 50 mg whyte pill - vicodin vs ultram tramadol
Post a Comment