🥇 Filemay.com
  • Apps
  • Games
  • Video editing
  • Mod Apk
  • video player
No Result
View All Result
  • Apps
  • Games
  • Video editing
  • Mod Apk
  • video player
No Result
View All Result
🥇 Filemay.com
No Result
View All Result
Home Apps

How to Install Adsense Ads Above, Below and centre of the Blog Posts

dont know by dont know
11 months ago
in Apps
0
SHARES
Share on FacebookShare on TwitterShare on WhatsApp Pin This PostShare QR Code
How to Install Adsense Ads Above, Below and centre of the Blog Posts – To increase the impressions of google adsense ads, it would be nice to advertise above and below the article, remember not to disturb the readers of the article, by placing ads above and below can also increase revenue or increase the number of adsense clicks friend.

How to Install Adsense Ads Above, Below and centre of the Blog Posts

How to Install Adsense Ads Above and Below Blog Posts

First, you first enter Blogger > Themes > Edit HTML, find for this code <data:post.body/> usually like the code below.


<b:includable id='post' var='post'>
....

....

<data:post.body/>
....

....

</b:includable>

Remember in the template there are lots of code <data:post.body/> so try one by one until the ads appear in the article.

If you have found it, please add the conditional tag then it will be like the code below


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

So that the ad looks neat add the code as below.


<b:if cond='data:blog.pageType == "item"'>
<div class='ads.blogs>
<!-- Install the ad code here -->

</div>
<data:post.body/>

<div class='ads.blogs>
<!-- Install the ad code here -->

</div>
<
/b:if>

The last one adds the CSS code, copy the code below and paste it right above the code </head> .



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

If your getting error something please read article carefully

Recommended Apps

Anonytun Pro Premium [Mod] Apk v9.6

Anonytun Prime Apk [Mod] Latest Version

3 days ago
Skit Premium Download Apk [Mod] Latest v1.4.1

Skit Premium Download Apk [Mod] Latest v1.4.1

3 days ago
Download DashCards For KLWP

Download DashCards For KLWP Apk [Premium]

3 days ago
Turbo bomber

Turbo Bomber Apk Unlimited 999 [SMS Bomber]

1 week ago

Now second How to ads centre of the post

How to Install Adsense Ads in the Middle of Article Posts
 – Google Adsense is an advertising service that is widely used by bloggers as well as me to get a little extra income, to increase Adsense income placement of ads is also influential from ads above articles and also under the article is very recommed and also not disturb your visitors later when reading your article.

Placement of Adsense ads in the middle of posts can also increase your Adsense impression with the condition of 400 words in 1 article so that the ads that are displayed are not close together and pleasing to the eye, Google Adsense has 2 types already know?

How to Install Adsense Ads in the Middle of Article Posts


How to Install Adsense Ads Above, Below and centre of the Blog Posts



First, you first enter Blogger > Themes > Edit HTML, click CRTL + F, look for the code <data: post.body/> then change with the code below. 

Remember in the template there are lots of code <data:post.body/> so try one by one until the ads appear in the article.

The Adsense code that you want to install should be parsed first here


<div expr:id='&quot;post1&quot; + data:post.id'/>
<div class='googlepublisherads' style='margin:20px 0'>
<center>

PASTE THE CODE OF ADSENSE HERE BEFORE PREFERRED

</center>
</div>
<div expr:id='&quot;post2&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>
var obj0=document.getElementById(&quot;post1<data:post.id/>&quot;);
var obj1=document.getElementById(&quot;post2<data:post.id/>&quot;);
var s=obj1.innerHTML;
var t=s.substr(0,s.length/2);
var r=t.lastIndexOf(&quot;&lt;br&gt;&quot;);
if(r&gt;0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+4);}
</script>

Below is the code 2 adsense ads in 1 post


<div expr:id='"post1" + data:post.id'/>
<div class='googlepublisherads' style='margin:20px 0'>
<center>

PASTE THE CODE OF ADSENSE HERE BEFORE PREFERRED

</center>
</div>
<div expr:id='"post2" + data:post.id'><data:post.body/></div>
<div class='googlepublisherads' style='margin:20px 0'>
<center>

PASTE THE CODE OF ADSENSE HERE BEFORE PREFERRED

</center>
</div>
<div expr:id='"post3" + data:post.id' />
&lt;script type='text/javascript'&gt;
var ads1=1/5;
var ads2=4/5;
var a=document.getElementById(&quot;post1<data:post.id/>&quot;);
var b=document.getElementById(&quot;post2<data:post.id/>&quot;);
var c=document.getElementById(&quot;post3<data:post.id/>&quot;);
var html=b.innerHTML;
var n=html.length;
var t=html.substr(0,n*ads1);
var i=t.lastIndexOf(&quot;&lt;br&gt;&quot;);
var t2=html.substr(0,n*ads2);
var i2=t2.lastIndexOf(&quot;&lt;br&gt;&quot;);
if(i&gt;0 &amp;&amp; i2&gt;0){
a.innerHTML=html.substr(0,i);
b.innerHTML=html.substr(i+4,i2);
c.innerHTML=html.substr(i2+4);
}&lt;/script&gt;

The red one is replaced with your Adsense code.

Now save your template done!

Okay so that I can say about How to Install Adsense Ads Above ,Below and centre of the Posts Blog Thank you for visiting, hopefully it will be useful for all of you.

Free Download WordPress Themes
Download Best WordPress Themes Free Download
Premium WordPress Themes Download
Free Download WordPress Themes
udemy free download
download huawei firmware
Download WordPress Themes
free online course
ShareTweetSendPinScan
Previous Post

Pokemon Go Mod Apk Download 0.131.2 + Poke Radar Pokemon Shuffle Android

Next Post

wcc2 unlocker [world Cricket championship mod apk] game mod apk 2019

Related Posts

Anonytun Pro Premium [Mod] Apk v9.6

Anonytun Prime Apk [Mod] Latest Version

12/12/2019
Skit Premium Download Apk [Mod] Latest v1.4.1

Skit Premium Download Apk [Mod] Latest v1.4.1

12/12/2019
Download DashCards For KLWP

Download DashCards For KLWP Apk [Premium]

12/12/2019
Turbo bomber

Turbo Bomber Apk Unlimited 999 [SMS Bomber]

12/06/2019
Anonytun Pro Premium [Mod] Apk v9.6

Anonytun Pro Premium [Mod] Apk v9.6

12/06/2019
tinder plus apk

[MOD] Tinder Plus Apk + Tinder Gold Mod Apk

12/06/2019
Next Post

wcc2 unlocker [world Cricket championship mod apk] game mod apk 2019

Download dead trigger 2 mod apk latest version 2019

latest version vidmate hd video downloader 2019 on filemay

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

MUST HAVE APPS →

Anonytun Pro Premium [Mod] Apk v9.6

Anonytun Prime Apk [Mod] Latest Version

12/12/2019
Skit Premium Download Apk [Mod] Latest v1.4.1

Skit Premium Download Apk [Mod] Latest v1.4.1

12/12/2019
Download DashCards For KLWP

Download DashCards For KLWP Apk [Premium]

12/12/2019
8 Ball Pool Mod APK [Unlimited Money + Mega Mod] v4.6.2

8 Ball Pool Mod APK [Unlimited Money + Mega Mod] v4.6.2

12/06/2019
Turbo bomber

Turbo Bomber Apk Unlimited 999 [SMS Bomber]

12/06/2019
Anonytun Pro Premium [Mod] Apk v9.6

Anonytun Pro Premium [Mod] Apk v9.6

12/06/2019
  • Home
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Sitemap
  • DMCA
DMCA.com Protection Status   FIlemay Mod!!

© 2019 Filemay Mod - Premium Mod Apps For Android Also Files

No Result
View All Result
  • Apps
  • Games
  • Video editing
  • Mod Apk
  • video player

© 2019 Filemay Mod - Premium Mod Apps For Android Also Files

Login to your account below

Forgotten Password?

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.