Place AdSense Ad Unit In Various Positions

| More

Placing adsense code and earning though it is not a difficult task, but you need to incorporate it wisely into your blog or website. There are many tricks to add Google’s AdSense and other advertising network like AdBrite ad unit right beside and inside within Blogger post content, such that the ad block will appear wrapped and floated inline to the top left or top right next to the blog text. If one does not like this layout and dislike the prominent location the ads are displayed, there are other places within blog post to put the ad code. Most blogs that are earning high use this approach of placing the Adsense unit.I will tell you some of the tricks on where should the parsed HTML ad code be pasted and inserted in the Blogger XML-based template. The steps are exactly the same when positioning the ad next to and within post content.

Go to Blogger Template tab for the blog you want to change, then click on Edit HTML. Remember to check the Expand Widget Templates check box, and perform the backup.

1) Wrap Around Next to the Post and Float to Left or Right

Look to the top left corner of this post, there is a Google AdSense ads unit block that has a style that is aligned inline beside and wrapped the article body (only on single post view). This kind of layout helps blogger to generate higher CTR (click through rate) for AdSense ads, directly increasing the revenue publisher earned. The new Blogger service with widget-based XML template allows authors to insert AdSense ad blocks in between blog posts by using AdSense or HTML/JavaScript page elements, but not inline within and wrap around blog post itself.Following method can be used on how to put AdSense ads in within and beside of Blogger.com blog post body, and has the content wraps around the ads to make the ads look like part of the content. The AdSense ads put in by this method will also be shown and displayed in the blog main page, or when individual blog post content page is visited.

  • Login to the Blogger account.
  • At Dashboard, click on Settings link for the blog that you want to enable to show AdSense ads between posts.
  • Click on Template tab, and then click on Edit HTML to open Blogger HTML code template editor to edit the contents of your template.
  • Do not forget to take a copy of your template by click on Download Full Template. You can anytime revert back to your previous working code whenever your code gets corrupted while making any changes to it.
  • Click the Expand Widget Templates checkbox.
  • Seach for the following line in the Blogger template HTML code in the text box:

<data:post.body/>

or <p> <data:post.body/> </p>

  • Append the following lines of code into the template BEFORE the line of <data:post.body/> located below:

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

<div style=”float: left;”><script type=”text/javascript”>

<!–google_ad_client = “pub-3478852466551521″;

google_ad_width = 300;

google_ad_height=250;

google_ad_format=”300×250_as”;

google_ad_type=”text_image”;

google_ad_channel=”";

google_color_border=”FFFFFF”;

google_color_bg=”FFFFFF”;

google_color_link=”0000FF”;

google_color_text=”000000″;

google_color_url=”008000″;

//–></script><

/script type=”text/javascript”;

src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>

</script></div><p>

<data:post.body/></p>

  • This code will align AdSense ad block to the left. You can also make it make it float to the right, you can do so by changing the “float: left;” to “float: right;”.Thats All!!
  • Click SAVE TEMPLATE button.If the alignment of your blog layout is not good, you may try to add the code above directly after the following line in the Blogger widget template:

<div class=’post-header-line-1’/>

Blog Widget by LinkWithin

Related posts:

  1. How to Display Adsense Ads On Individual Post After post title
  2. Place Ads after Post Title or Before Post Contents
  3. Adsense for Mobiles.
  4. Display Ads after Footer Credits
  5. How to secure your blog content and images ?
  6. Top 15 Adsense Mistakes.
  7. Link author names to profiles on your team blog?
  8. Make money from youtube using Adsense!!
  9. Adsense Tips
  10. After Post Content Before Footer Credits

Get Freeware updates just like this one in your email inbox every day - for free! Just enter your email address below:

 

{ 5 comments… read them below or add one }

Roger March 5, 2009 at 3:53 pm

Just what I was looking for how to place my adsense code. Thanks

Reply

Find A Domain Name March 5, 2009 at 3:54 pm

Sorry I’m trying to update my previous comment

Reply

watzabatza March 23, 2009 at 7:31 pm

I love to change it. But it won’t work on mine..

Reply

Eric April 11, 2009 at 6:23 am

Desole ca ne marche pas, j ai la pub qui s’affiche entre le titre et le debut de mon texte, comment faire pour mettre le texte a droite de la pub ?

Merci

Reply

vineeth September 4, 2009 at 2:11 am

Thank you for your tip.I will be thank ful to you for it every time since it increased my earnings.
Thanking you agian.

Reply

Leave a Comment

Binary Head | About us |  Copyright Policy |  Privacy Policy |  Disclaimer |  Subscribe us |  Advertise |  Contact us |  RSS Feed |  Sitemap