দেখেনিন কিভাবে Blogger Website এ Articles এর প্রথমে এবং শেষে Automatically Google Adsense ads ব্যাবহার করবেন | How to Show Ads At The Beginning And At The End Of Posts/article For Blogger
How to Show Ads At The Beginning And At The End Of Posts/article For Blogger |
With these tips will help you to increase ad impressions, which can increase ad click turns your blog.
How to Add Ads to the Beginning and End of Posts for Blogger
To add ads to the beginning and the end of the article, follow the steps below.
Step 1: Login to Blogger.
Step 2: On your Blogger dashboard, Select Topics ➺. Edit HTML.
Step 3: Find the code as below (Depending on each interface, there are 1 or more codes, if there are 2 or more, you should try each one).
<data:post.body/>
Step 4: After finding that code, add a conditional tag like below.
<b:if cond='data:blog.pageType == "item"'>
<data:post.body/>
</b:if>
Step 5: Add a <div> tag to make your ad more compact and not overflow from the post area. Please add as below.
<b:if cond='data:blog.pageType == "item"'>
<div class='ad.top'>
<!-- Put your Ads Code Here -->
</div>
<data:post.body/>
<div class='ad.below'>
<!-- Put your Ads Code Here -->
</div>
</b:if>
Step 6: Add this CSS snippet on your </head> tag.
<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>
Then click Save topic.
So, I have finished showing you how to add ads at the beginning and end of blogger posts, if you still can't do it, please comment below for support.
Thanks for Visit ❤️