How to show 2 ad units in every blog post


#1

Hi i want to place 2 adsense ads unit in my post i ahve already added one by help of using that code in which u have to place codes justabove the <data:post.body/> code

Now how can i show one more ad in my blogger’s Post please help me i am searching for help from long

Thanx

Aman


#2

Hi @amananjaan,

You want to show two AdSense Ads right?

Go To Blogger.com >> Template >> Edit HTML button. Search for <data:post.body/> code and replace it with below code and after that change Your AdSense Code Goes Here text with your adsense code.

Make sure you are putting this code by replacing second appearance of <data:post.body/> code inside your blogger template code area.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='adsensetop'>
Your AdSense Code Goes Here
</div>
</b:if>
<data:post.body/>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='adsensebottom'>
Your AdSense Code Goes Here
</div>
</b:if>

#3

This code works to place ads below title and at the bottom of the post. Is there any code to place 2 ads inside posts below the first para and above the last para.

Thanks and How to post new topic on the forum


#4

This could be a very useful code which I did not find on the net, Maybe some coders on this forum can find a way.