Put Adsense Below Blogger Post Title Without Converting Code
But, here a publisher also needs to place Google Ads in proper places where it gets noticed by the users easily. Google also recommended some best placements for blog optimization (See Here).
To improve your CTR you should place one Ad unit into content under the post title.
The Blogger users can not place Adsense Ad into all blog contents (just below the title) directly unless it converted into XML format. Because, Blogger template is in XML format and Adsense code is in JavaScript.
But, here is still a little problem. Google clearly said that- Modifying Adsense code is a violation of Adsense TOS. Although converting Adsense code into XML format (that blogger can read and display Adsense ads properly) might not be a violation of Adsense TOS, still then there is a risk factor (especially for the new accounts)!
Image by- Google.com |
Placing Adsense into blog content/ below post title;
Here is no need to create Adsense Unit. Just follow the steps below-
Note: To use this process, you should keep only one Adsense banner ad in your template. Other two banners will be created by this process. Because only three banner units can be placed on a page.
- Go to the Blogger Dashboard and click- Layout.
- Click on Blog Posts “edit” to configure blog post.
- Now click “show ads between posts“. See the picture.
- Click “Save” icon to complete the process.
- Go to the template section and back-up your template first
- Click “Edit HTML“.
- Find <data:post.body/> using keyboard short cut Ctrl+F.
- Paste the code below just above the <data:post.body/> (above the last two).
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:post.includeAd'>
<div style='float: left; margin:10px;'>
<data:adEnd/>
<data:adCode/>
<data:adStart/>
</div>
</b:if>
</b:if>
<b:if cond='data:blog.metaDescription == ""'>
<!-- Then use the post body as the schema.org description,
for good G+/FB snippeting. -->
<div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='description articleBody'>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:post.includeAd'>
<div style='float: left; margin:10px;'>
<data:adEnd/>
<data:adCode/>
<data:adStart/>
</div>
</b:if>
</b:if>
<data:post.body/>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>
<b:else/>
<div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='articleBody'>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:post.includeAd'>
<div style='float: left; margin:10px;'>
<data:adEnd/>
<data:adCode/>
<data:adStart/>
</div>
</b:if>
</b:if>
<data:post.body/>
- Now save your template and check your blog live.
Moving Ad Left/Right and Middle of the title and content:
by- creasysolve.com |
Related Posts:
© copyright 2018 – All rights reserved
Manik
November 26, 2014 @ 9:39 am
Hi Majharul,
Thanks for sharing the nice tutorial. I'm searching something like this from last several days because I also want to integrate Adsense code in my blogger blog.