AdSense in post for blogger





METHOD 1: Using Default Blogger Widgets

1.remove all adsense widgets/codes from ur blog
2.go to layout –> page elements
3.click on edit for blog posts
4.enable ads in blog posts, choose the ad template u want
5. now go to edit html
6. check ‘Expand Widget Templates’
7. search for the following lines
Code:

<b:if cond=’data:post.includeAd’>
<data:adEnd/>
<data:adCode/>
<data:adStart/>
</b:if>

8.cut it and paste on notepad
9. modify it to
Code:

<div style=’float:left;’>
<b:if cond=’data:post.includeAd’>
<data:adEnd/>
<data:adCode/>
<data:adStart/>
</div>

10. now find this line
Code:

<div class=’post-body entry-content’>

11. paste our modified code below this line
12. make sure the next line after our code is
Code:

<data:post.body/>

13. click on save template, u r done!!
u can now add more adsense widgets to the sidebar or wherever as required

the problem with this method is that u cant track the ads individually
so for performance tracking use method 2

METHOD 2: Using Adsense codes

1. Make sure u have disabled show ads in post option
2. from the adsene site create an ad, with the size and template desired. add it to a channel to track its performance
3. copy the created adsense script on notepad as we need to modify it a bit
dont worry this is not going to be against their TOS
4. now modify
< with &lt;
> with &gt;
” with &quot;
5. the final output should look something like this
Code:

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!–
google_ad_client = &quot;pub-0000000000000000&quot;;
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = &quot;336×280_as&amp;amp;quot;;
google_ad_type = &quot;text&quot;;
google_ad_channel = &quot;&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;000000&quot;;
google_color_text = &quot;000000&quot;;
google_color_url = &quot;000000&quot;;
//–&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

6.add <div style=’float:left;’> and </div> to the top and bottom respectively
7.go to edit html–>click expand widgets
8. find
Code:

<div class=’post-body entry-content’>

and paste our code below this line like steps 10,11,and 12 of method 1 above
9. save template, u r done!

this method can be used for any ads not just the ones in the post
just make sure u modify the code as said

Published by AdSense tricks

Related posts:

  1. AdSense Tricks: Placing AdSense inside content This trick does not require the usage of the adsense...
  2. Blogger on blogspot.com SEO optimization Though blogger belongs to Google but it doesn’t mean that...
  3. Adsense Tricks – how to get ads with bigger font like Premium publisher “ADSENSE premium status like this Sample: http://img188.imageshack.us/img188/5796/ads.gif The tricks that...
  4. Easy Blogger Creator Pro * Niche Specific – Don’t just throw up blogs. Create...
  5. Making $16/day Using Adsense and Blogger 1- Make a blog at blogger dot com 2- Blogger...

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , ,

One Response to “AdSense in post for blogger”

  1. [...] See the rest here: AdSense in post for blogger | AdSense tricks | [...]

Leave a Reply

You must be logged in to post a comment.