Skip to main content
Blogger Byte

follow us


How to Install Adsense Ads Above and Below Blog Posts - To increase impressions of Google adsense ads, it is better to advertise above and below the article, remember not to disturb the article reader, friend, by placing ads above and below can also increase revenue or increase the number of adsense clicks. friend. Your blog often hit by a click bomb? read the article below there is a solution.

How to Place Adsense Ads Above and Below Blog Posts

First, enter Blogger > Theme > Edit HTML look for the code <data:post.body/> usually like the code below

<b:includable id='post' var='post'>
....
....
<data:post.body/>
....
....
</b:includable>

If you have found it please add the conditional tag code so it looks like the code below

<b:if cond='data:blog.pageType == "item"'>
<data:post.body/>
</b:if>

So that the ads look neat add the code as below.

<b:if cond='data:blog.pageType == "item"'>
<div class='ad.top'>
<!-- Place the ad code here -->
</div>
<data:post.body/>
<div class='ad.below'>
<!-- Place the ad code here -->
</div>
</b:if>

The latter adds the CSS code, copy the code below and paste it directly above the code </head>

<b:if cond='data:blog.pageType == "item"'>
<style type='text/css'>
.ad.below{margin:20px auto 0 auto}
.ad.top{margin:20px auto}
</style>
</b:if>

If you are done click save.

That's all about How to Place Adsense Ads Above and Below Blog Posts Thank you for visiting may be useful for all of you.

If you want to be buddy donors please contact admin via Whatsapp .Proceeds from donations will be used to extend the domain bloggerbyte.net. Thank you

You Might Also Like :

Comment Policy : Please write your comments that match the topic of this page's posts. Comments that contain links will not be displayed until they are approved.
Open Comments