Adsense ads in Blogger post body



Using Blogger Feature:

You can use Blogger's own feature of putting ads in between posts...
Go to Layout -> Page Elements... you would see "Blog posts" click the edit link at the bottom right corner.



You would need a Google Adsense . You will be assigned a publisher identity number which shall appear in all your adsense codes.....
Tick the "Show Ads Between Posts" .You can select whether to show ads after every post or after several posts.
Save and refresh your blog to see the ads...

More ad Locations:



Go to Adsense For Content
Make Ad of your choice
You would get a Adsense Code





Changing the Adsense Code:

You Should replace some character

< with &lt;
> with &gt;
" with &quot;


Your Adsense code should appear like this...

&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;336x280_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;


Insert Code Into Template:

Go to Blogger Account and Layout -> Edit HTML
"Expand Widget Templates"

First Download your template before making any changes...

Now search for "post.body" you should see these lines
<div class='post-body'>
<p><data:post.body/></p>
<div style='clear: both;'/> <!-- clear for photos floats -->
</div>


If you want the ads to appear between your post title and post body, add the following code above the orange lines and if you want you your adsense code immediately after every individual post, add the following post below the orange lines.
The code to add is


 <div style='float:left; margin-left:30px'>
AdSense Code
</div>
Keep blogging!!!
if you like this post then please leave a comment or subscribe via RSS or Email.

1 comment:

  1. like the help!
    thanks

    www.citrusprior2009.blogspot.com

    ReplyDelete

Share your ideas with us, we will be very greatful to hear from you