Subscribe to updates

SHOW ADSENSE ADS AT START AND END OF EACH POST

You might have seen in many blogs that Adsense ads are being displayed at the start and end of each post.The reason they are put there are that it ensures maximum probability of click from the visitors.Below are the step by step instructions of doing the same
Before starting please backup your template so that if anything goes wrong you can revert back to your previous template.

1.Get the Adsense code and make it template friendly from here.

2.Sign in to your blogger account and goto layout>Edit html
click on Expand widgets.

3.Find the below code in your template by pressing Ctrl+f and then pasting the code
<data:post.body/>

4. Now add the Adsense code before and after the above code.

<!-- Your AdSense code --!>

<data:post.body/>

<!-- Your AdSense code --!>

5.Save the template

If you want the ads to be visible only in post or you are using Read only hack then
enclose your adsense codes in below codes

<b:if cond='data:blog.pageType == &quot;item&quot;'>

<!--adsense codes--!>

</b:if>


If you have any doubt or suggestion please do leave a comment.


Share this post
2 Responses to "SHOW ADSENSE ADS AT START AND END OF EACH POST"
  1. Blog crust Says:

    When I implement this hack my adsense ads are placed below the post header but the post starts below the ads.I wanted ads to be placed left and then post coming on the left side what is seen on your site.

  1. Monci Says:

    Use the below code for obtaining ads placement like in my site.


    <div class='post-header-line-1'/>
    <div class='adsense' style='float:left;padding:5px;'>
    <table align='center' border='0' height='280' width='280'>
    <tr><td height='250' width='250'>
    <div align='center'>
    <-- your adsense code -->
    </div></td></tr>
    </table>
    </div>

    Rest all similar to above post.