How to Install Adsense Ads in the Middle of Posts

How to Install Adsense Ads in the Middle of Posts
How to Install Adsense Ads in the Middle of Posts - Still discussing about Adsense, this time Arlina Design discusses tricks and tips on How to Install Adsense Ads in the middle of a post. Actually there have been a lot of articles discussing this trick, but by chance this blog doesn't exist yet so I share it and maybe the title is a bit mainstream in my opinion but it's not important to share.

Benefits of tricks Installing Adsense Ads in the middle of this post is that you can further increase your Google Adsense blog revenue with a higher number of click ratios and usually will attract more readers with the ad content displayed because the strategic ad position is in the middle of the post. In short, here are the ways to install Adsense ads in the middle of posting.

How to Install Adsense Ads in the Middle of Posts

The method is very easy, here you just need to replace certain code in the template and replace it with the code that I will give 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 search and replace this code <data:post.body/> in your template with the code below

In the template you will find some code <data:post.body/> depending on the template used, try one by one until the ad appears in the article page

<div expr:id='&quot;zet1&quot; + data:post.id'/>
<div class='googlezet'>
<!-- install ad code that has been parsed here -->
</div>
<div expr:id='&quot;zet2&quot; + data:post.id'><p><data:post.body/></p></div>
<script type='text/javascript'>
var obj0=document.getElementById(&quot;zet1<data:post.id/>&quot;);var obj1=document.getElementById(&quot;zet2<data:post.id/>&quot;);var s=obj1.innerHTML;var t=s.substr(0,s.length/3);var r=t.lastIndexOf(&quot;&lt;br&gt;&quot;);if(r&gt;0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>

Add ad code to the marked code

2. Also add the CSS code below so that the ad display looks neat evenly before the middle ]]></b:skin> or </style>

.googlezet{margin:15px auto;text-align:center}

3. Simpan template dan lihat hasilnya.

Not only to display ads from Google Adsense, but you can also install other ad code or other content such as related posting links, or others.

Thus a short article that hopefully will be useful for you, thank you for visiting and greeting blogger.
𝕵𝖔𝖑𝖆
𝕵𝖔𝖑𝖆 Kyɛfa yɛ fɛ, nanso sɛ woannya mfaso mfi kyɛfa mu a, so wokɔ so kyɛ? Me nsusuw sɛ ɛho hia, momma yɛnkɔ so nkyerɛw blog

Post a Comment for "How to Install Adsense Ads in the Middle of Posts"