Home | Looking for something? Sign In | New here? Sign Up | Log out

Sunday, June 15, 2014

How To Place Adsense Ads Inside Your Blog Post

Today i’m gonna tell you about how to ad google adsense ads or any other adsense advertisements inside your blog post. its not hard just what you need is edit template. i have explained it step by step. please make sure to comment if it helps to you. ask any question about this if you got a problem while editing.

Note for this you need to encode your ad code or this wont work.
using this site you can encode your ad code Click here to Encode
Log in to your blog account then goto dashboard
Then click on “Template” in the side menu then “Edit html”
Use CTRL + F to find this code “<b:includable id=’post’ var=’post’>”
If you need to add Ad before the Topic
scroll little bit down and find the code “<div class=’post-header-line-1′/>” then paste bellow code before the  “<div class=’post-header-line-1′/>” line
<b:if cond=’data:blog.pageType != &quot;index&quot;’>
<!--Encoded ad code here-->
</b:if>
If you need to add Ad after the Topic
scroll little bit down and find the code “<div class=’post-header-line-1′/>” then paste bellow code after the  “<div class=’post-header-line-1′/>” line
<b:if cond=’data:blog.pageType != &quot;index&quot;’>
<!--Encoded ad code here-->
</b:if>
If you need to add Ad inside your article content 
Scroll down and find the following code “<data:post.body/>” then paste the ad code right above the line “<data:post.body/>”
<b:if cond=’data:blog.pageType != &quot;index&quot;’>
<!--Encoded ad code here-->
</b:if>
the conditional tag will make the ad only shows on post pages. If you want the ad to show on all other pages pages, just remove the condition lines.
That’s it save your blog and enjoy..

Technology News

Online Money

Review

Motor