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

Hello Everyone !

Today I am going to share one important solution. Its related to Google adsense code. 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 

🙂

Manoj Kumar Sethi

Digital Media Marketer | Brand Building | Social Media Enthusiast | Analytics | Freelance Blogger | Painter | Trainer | Provides Strategies Football Lover ;)

You may also like...

Leave a Reply

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