How to Place Adsense Ads in the Middle of a Post
Still discussing AdSense , this time Arlina Code will discuss tricks and tips on how to place AdSense ads in the middle of your posts. There are actually plenty of articles discussing this trick, but it's not available on this blog, so I'm sharing it. The title may seem a bit mainstream, but that's okay, as long as it's shared.
The benefit of this middle-post AdSense ad placement trick is that you can significantly increase your blog's Google AdSense revenue with a higher click-through rate. The ad content will typically be more engaging to readers due to its strategic positioning in the middle of the post. In short, here's how to place an AdSense ad in the middle of a post.
The method is very easy, here you only need to replace certain codes in the template and replace them with the codes that I will provide in the guide below.
1. Please log in to Blogger and select the blog to be edited, click the Template menu , click the Edit HTML button , then find and replace this code <data:post.body/>in your template with the code below
2. Also add the CSS code below so that the ad display looks neat and centered before ]]></b:skin> or </style>
3. Save the template and see the results.
Not only to display ads from Google Adsense, but you can also install other ad codes or other content such as related post links, or others.
This is a short article that I hope is useful for you, thank you for visiting and greetings blogger.
The benefit of this middle-post AdSense ad placement trick is that you can significantly increase your blog's Google AdSense revenue with a higher click-through rate. The ad content will typically be more engaging to readers due to its strategic positioning in the middle of the post. In short, here's how to place an AdSense ad in the middle of a post.
How to Place Adsense Ads in the Middle of a Post
The method is very easy, here you only need to replace certain codes in the template and replace them with the codes that I will provide in the guide below.
1. Please log in to Blogger and select the blog to be edited, click the Template menu , click the Edit HTML button , then find and replace this code <data:post.body/>in your template with the code below
In your template you will find several <data:post.body/> codes depending on the template used, try them one by one until the ad appears on the article page.
<div expr:id='"zet1" + data:post.id'/>
<div class='googlezet'>
<!-- Place the parsed ad code here -->
</div>
<div expr:id='"zet2" + data:post.id'><p><data:post.body/></p></div>
<script type='text/javascript'>
var obj0=document.getElementById("zet1<data:post.id/>");var obj1=document.getElementById("zet2<data:post.id/>");var s=obj1.innerHTML;var t=s.substr(0,s.length/3);var r=t.lastIndexOf("<br>");if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>Add the ad code to the marked code
2. Also add the CSS code below so that the ad display looks neat and centered before ]]></b:skin> or </style>
.googlezet{margin:15px auto;text-align:center}3. Save the template and see the results.
Not only to display ads from Google Adsense, but you can also install other ad codes or other content such as related post links, or others.
This is a short article that I hope is useful for you, thank you for visiting and greetings blogger.


Post a Comment