How to Place Adsense Ads Above and Below Blog Posts


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.

About the Author

“Hustle in silence and let your success make the noise.”

إرسال تعليق

Check the "Notify me" box to get an email notification if someone replies to a comment.
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.