How to put ads at the start and end of posts in blogger adsense and others

1) In Blogger, click on “Design”, then “Edit Html” and then check the box that says “Expand Widget Templates.”

2)Look for this part of the code:

<data:post.body/>

3) Convert your Ad code to a suitable format using this
http://www.hacktrix.com/adsense-code-converter/index.php

4) Paste the code above if you want the ad to be displayed on the top of the post and below if you want your ad to be displayed below. Example:

<!– This is the code for the ad i want at the top –>
<script type=”text/javascript”><!–
google_ad_client = “ca-pub-“;
google_ad_host = “pub-“;
/* Header links */
google_ad_slot = “5805919889”;
google_ad_width = 728;
google_ad_height = 15;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
<!– End of the code –>

<data:post.body/>

<!– This is the code i want to display at the bottom –>
<script type=”text/javascript”><!–
google_ad_client = “ca-pub-“;
google_ad_host = “pub-“;
/* Header links */
google_ad_slot = “5805919889”;
google_ad_width = 728;
google_ad_height = 15;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
<!– End of code –>

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *