The adsense code depends on the code we add in loop tag in Blogger. Every widget have b:includable tag with id main. In post section we also have it.
Under this tag we include all the widget content. The post comes under loop, this loop is quite helpful because you can individually handle each post. Here it is:
<b:includable id='main' var='top'>
This loop also container comment and other include tags, this is just a demo code. What really matters is adsense code inside the loop.
<b:loop values='data:posts' var='post'> <b:include data='post' name='post' /> </b:loop>
This will add the adsense code in between the post. Just add this before </b:loop> and it will work great.
<b:if cond='data:post.includeAd'> <div class='inline-ad'> <data:adCode/> </div> </b:if>