How To Add Google AdSense Code Between Title And Body Text ?

If you are the website owner and your earning comes from Google Adsense, then you must check out this important blog. Its related to Google adsense code.

Build your dream website with up to 75% off Check out the deals here :

Now since you have got your website bring excellent traffic and your want to improve your ads impression. In my coming topic I will share you some important section which is best for your Google Adsence ads.

Here I am going to tell how to make your ads appear between Title and Content of your article of your blogger. 

Remember you cannot insert Google ads code in Edit Template , hence there is something need to be break down. Let me help you. I have one food blog Odia Khana Khazana where I cover my favorite recipes shared by my friends and food network. www.manojblogszone.comYou can see I have made google ads appearing between title and content.

For this you need to follow below steps one by one :

1. Save this code in notepad :

<b:if cond=’data:blog.pageType == &quot;item&quot;’>
Your Google Ads Code  

</b:if>

<b:if cond=’data:blog.metaDescription == &quot;&quot;’>

2. Go to your blogger > Setting > Template > Click Edit Template

3. With the help of Ctrl + F find the below code 

<div class=’post-header’>
<div class=’post-header-line-1’/>
</div>

4. Once you have found “post-header” , insert the above <b:if…..> codes

5. Go to your Google Adsense account and select the one which you want to display after the title.

6. Convert ads code into XML with the help of any online tool and your code will change 

HTML :

<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– AdsPost1 –>
<ins class=”adsbygoogle”
———-

</ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

XML code : Your code will look something like below.

&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;!– AdsPost1 –&gt;
&lt;ins class=&quot;adsbygoogle&quot;
——–

;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;

7. Paste this code in between : <b:if cond=’data:blog.pageType == &quot;item&quot;’>  Your Google Ads Code  </b:if>

8. Save the template .

9. Visit your blog and click any article and you will see the result … yes your ads started appearing after the title 

www.manojblogszone.com

Also read : Things To Remember  | SEO Videos  | Social Media Tips

Still if you are unable to make it live, you can comment down the article and share your issues, I will help in fixing it. Keep visiting Manoj Blogs Zone 

🙂

Jaw dropping deals from Zebronics | Best Video Games for PS5 PS4 Xbox and PC starting at INR 149

Manoj Kumar Sethi

Manoj Kumar Sethi has been into Digital Media industry for more than 12 years and has handled and helped clients from B2B & B2C industry.He is proficient in Digital Media skills mostly into digital product development and growth. He has also depth knowledge in Analytics. In free time, he research on new development happening in digital world.He loves blogging as it helps him to share the knowledge and solve problems.

You may also like...