Wednesday, July 6, 2011

How to put Google Adsense below blog title

Google Adsense is the most popular ad serving application over the web. Blogggers and website owners can make high profits by using Google Adsense to enable text, image, and video advertisements on their websites. And Google Adsense use cost-per-click and cost-per-impression to determine the revenue that those publishers have made. And you can also make money with Google Adsense. But, firstly, you need to place Google Adsense in your blog. In this post, I will show you how to put Google adsense under your post title.

As you can see, my Google Adsense is placed nicely under the post title and on the left of my content. But do not worry, you can do it also, just follow a few simple steps below.


Before add Google Adsense, you must encode the Google Adsense scripts, otherwise, Google Adsense would not work. Click here to encode Google Adsense. Now, you are ready to add Google Adsense under your post title.

1. Go to Design / Layout
2. Click Edit HTML
3. Tick the "Expand Widget Templates" box
4. Click on Download Full Template to Back-up your template (it's important)
5. Find the tag  <data:post.body/>
6. Replace <data:post.body/>  with the the following code:
<b:if cond='data:blog.pageType == &quot;item&quot;'>
.....Insert Your Encoded Adsense Code here.....
</b:if>
<p><data:post.body/></p>

7. Click Save Template

Optional Steps: If you want to place Google Adsense on the left of your post, follow these steps:

8. Add this code to step 6



And It should be something like this:
<div style='float:left;padding:5px;'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
.....Insert Your Encoded Adsense Code here.....
</b:if>
</div>
<p><data:post.body/></p>


Enjoy!

adsense

0 comments:

Post a Comment

 
 
Copyright © blog
Blogger Theme by Blogger Designed and Optimized by Tipseo