This ad will be displayed between list of posts, layout of this ad will adjust to appearance of the post.
This feature is available in all templates, it's just that you have to activate it first.
Enabling In-Feed Ads
- Go to the theme's HTML Editor, in Blogger dashboard click Themes
- click icon on the Customize button
- select Edit HTML.
On theme's HTML editor page, find the code as below and remove comment tag at start and end of the code<!--
& -->
to enable it:
<!--[ Remove comment tag below to enable in-feed ad ]--> <!--<b:if cond='data:i == 2'> <b:include name='post-adIn'/> </b:if> <b:if cond='data:i == 6'> <b:include name='post-adIn'/> </b:if>-->
<!--[ Remove comment tag below to enable in-feed ad ]--> <b:if cond='data:i == 2'> <b:include name='post-adIn'/> </b:if> <b:if cond='data:i == 6'> <b:include name='post-adIn'/> </b:if>
By default ad position will be displayed on the 3rd and 7th order in the list of posts (the loop count starts from number 0), you can change it by replacing number marked with the order you want.
Adding Adsense Ad Units
The next step is to add your Adsense ad unit code, you can find a code like this:
<!--[ In-feed ad ]--> <b:includable id='post-adIn'> <div class='ntry nAd'> <!--[ InFeed Ad ]--> <!--<ins class='adsbygoogle'/> <script>...</script>--> </div> </b:includable>
Replace marked part of the code with your own ad.