Hi All Dear Visitors, Sorry For Being Late On Reply Your Messages And Comments, I'm Now Working With AllBlogTools.com Team On The Next Version Of AllBlogTools.com v3. The New Version Will Be Launched Soon, Please Wait For Our Surprises, We Are Working On A Great Features And Amazing, Powerful Version.
You Are Here You Are Here NowAllBlogTools > Blogger Tricks and Hacks > Google Adsense > How to put google adsense block in the middle of the post

Post Details  Posted By Max On Saturday, May 9th, 2009 In   Blogger Tricks and Hacks



Share

 
How to put google adsense block in the middle of the post

In normal cases all blogger users can put the adsense block at the top of the post or at the bottom Only.
but the problem here is that alot of bloggers don’t get high CTR ( clicks ) by this placement,
so they should play with the ads placement,
the best solution here is to put you google ads blocks in the middle of the post in your blogspot blog.

and you have to check out Google AdSense heat map

blogger don’t offer this option by default settings, so you have to be tricky to do it,
here is easy and fast way to do it.

go to your blogger account, and navigate to Layout >> edit html, and check check Expand Widget Templates

Find the tag :


And replace it with the following code.

Note that you must replace

with block code provided by Google.

Now you are done, just to put your google adsense block in the middle of the post, you have to put this code

in the exact place you want to put AdSense block.

and now you are done.

By Max

I'm Max, The founder and the admin of AllBlogTools.com I'm a very big van of blogging ,design and coding, I think that i'll die next to my computer.

No related posts found

DeliciousFacebookDigg
Design FloatMixxReddit
StumbleUponTechnoratiTwitter

comments

  • 79 responses so far!
  •      indoshared ( 6:06 PM on 5/13/09 )

    thanks i love it too much

  •      Thiwakorn ( 4:45 AM on 5/14/09 )

    Thank You For Your Trick.

  •      Max ( 1:37 PM on 5/14/09 )

    Thiwakorn, indoshared, thanks too much, i wish you better earnings

  •      Diseño Web Cusco ( 7:15 AM on 5/16/09 )

    Very good information, thanks too much.

  •      Max ( 3:13 PM on 5/16/09 )

    thanks Diseño Web Cusco

  •      Chan ( 6:26 PM on 5/25/09 )

    i need help..

  •      Taufik ( 11:52 PM on 5/27/09 )

    hi admin..i have 2 data:post body..which one should i replace??..and one more thing, adsense code need to parse first before put into template code?

  •      ApplyCreditCards ( 8:12 AM on 5/28/09 )

    da best. Keep it going! Thank you

  •      Max ( 10:26 AM on 5/28/09 )

    Taufik, i think you should save your template before doing any changes, and then, try to add the code in both places and see what happens,
    about your second question, sorry i don’t understand you.

  •      Taufik ( 11:25 AM on 5/28/09 )

    nevermind Max . i made it..thnx for ur tips..really appreciate your work

  •      Max ( 12:24 PM on 5/28/09 )

    you are always welcome here Taufik

  •      cheap propecia ( 3:46 PM on 5/31/09 )

    I rarely comment on blogs but yours I had to stop and say Great Blog!!

  •      Hendriono ( 8:44 AM on 6/4/09 )

    Wow… thanks friend… It’s good tips. Keep writing!

  •      Max ( 4:44 PM on 6/4/09 )

    hi Hendriono
    thanks for your nice comment.

  •      birdy ( 10:02 AM on 6/9/09 )

    I was in search of such great tips. Thanks for sharing. Would you mind telling us how to put adsense code in the template so that the ads appear just underneath the header.

  •      Rajesh Kumar Chekuri ( 12:55 PM on 6/23/09 )

    i see some other ways to add ads in posts but it was really good hack….

    funny scraps
    A blog for all about humor and funny scraps….

  •      ladykristinn ( 8:59 PM on 6/28/09 )

    I tried doing this but I wasn’t able to see the ad.

  •      Free Kaspersky Keys ( 1:36 AM on 7/3/09 )

    Thank you so much.

  •      Free Kaspersky Keys ( 1:51 AM on 7/3/09 )

    very nice.This is really good

  •      Free Skins ( 4:23 PM on 7/4/09 )

    Oh Thank Youuuuuuuuuu.

  •      humour ( 12:04 AM on 7/13/09 )

    thanks a lot buddy…

  •      mohit ( 4:23 AM on 7/26/09 )

    not working.

    what do i have to add in my post for ads to appear

  •      Max ( 12:28 PM on 7/28/09 )

    thanks all, cheap propecia, humour and all visitors, and if some bloggers ads blocks doesn’t appear, please check you adsense account,

  •      black rose ( 7:32 PM on 8/4/09 )

    thanks very good trick

  •      JR ( 12:38 AM on 8/6/09 )

    CAn’t get working on my site http://www.socceryoutube.com/
    maybe because is custom?

  •      Max ( 1:30 AM on 8/6/09 )

    hi JR
    actually the is no any difference between custom domain and the normal blogspot blogs, it’s only the name, and this shouldn’t affect your blog, it should be customize able as the normal blogger blog. just double check the steps, and tell me whats wrong with your blog.

  •      John903 ( 8:04 PM on 8/11/09 )

    Very nice site!

  •      aswin ( 2:59 AM on 8/23/09 )

    can i get the template of your website?It is very sexy………

  •      Max ( 6:08 AM on 8/23/09 )

    Hi aswin
    i’m afraid that we are NOT using blogger for this site aswin.
    i’m very sorry.

  •      rocky ( 12:22 AM on 8/27/09 )

    XML error message: Attribute name “:post.id” associated with an element type “data” must be followed by the ‘ = ‘ character.
    Why I m getting this error?

  •      Max ( 6:16 AM on 8/27/09 )

    hi rocky,
    what template do you use?
    make sure to check on expand widget box on edit html page.

  •      sulltan ( 7:43 PM on 8/31/09 )

    XML error message: Attribute name “:post.id” associated with an element type “data” must be followed by the ‘ = ‘ character.
    Why I m getting this error?
    I also check the expand widget box on edit html page. i m using templet from your website.

  •      spadoz ( 10:10 AM on 9/1/09 )

    Thanks a lot.^_^

    ** You try to check “:post.id”.
    ex. data(don’t space):post.id

    Good luck

  •      peyoh ( 8:22 AM on 9/7/09 )

    hi..any chance to put other code from others advertiser?

  •      Max ( 1:41 PM on 9/7/09 )

    hi peyoh,
    you can use the same method to do it.

  •      sulltan ( 7:39 PM on 9/15/09 )

    hi ,
    i m facing problum i have 2 codes in blogger with this name (()) when i replace they give me ” XML elements are closed properly ” Error
    kindly help me thanks,

  •      SAVRY ( 2:51 AM on 9/22/09 )

    good post i find but some problem with my template i find and replace but some problem this error
    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: Attribute name “:post.body” associated with an element type “data” must be followed by the ‘ = ‘ character.
    what should i do ?

  •      Max ( 4:39 AM on 9/22/09 )

    hi suvry, please make sure to past the code exactly as we presented it here.
    and tell us if you still have the same problem.

  •      SAVRY ( 8:38 PM on 9/22/09 )

    sorry dear it still have the same problem please help me to do that

  •      manoj ( 2:30 AM on 10/8/09 )

    Hi i need help

    I did as u said but , i got the following errors .. what is wrong ?

    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: Attribute name “:post.body” associated with an element type “data” must be followed by the ‘ = ‘ character.

    Thank u
    manoj

  •      Max ( 7:39 PM on 10/8/09 )

    hi all, please note that this trick is not working with a lot of bloggers, so please wait until we add another one that will work 100% for every blogger. thanks for waiting,

  •      joey ( 11:08 AM on 10/24/09 )

    Pls help I can not save because it says:
    Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
    XML error message: Open quote is expected for attribute “{1}” associated with an element type “expr:id”.

  •      joe ( 3:14 AM on 11/25/09 )

    Thanks Max IT Work :)

  •      Gym ( 8:40 PM on 11/25/09 )

    My blog don’t have
    Any idea?

  •      Gym ( 8:41 PM on 11/25/09 )

    My Blog don’t have
    data :post.body
    Any idea ?

  •      Rafael ( 7:32 PM on 11/28/09 )

    mm , what is the code i should put where i want my ads to show up ??

  •      lyndon ( 9:10 PM on 12/9/09 )

    Regarding the problem like this one, XML error message: Attribute name “:post.body” associated with an element type “data” must be followed by the ‘ = ‘ character.

    You need to parse the double quote “, the equivalent parse of double quote is this one "

    I hope it will you guys because i experience it and parsing of double quote help solve my problem.

    visit my blogsite if your are interested in Anime, you can download directly the anime series you like.

  •      lyndon ( 9:14 PM on 12/9/09 )

    max! miss something in this tutorial, just put this tag in the article you want to post in your blog, this represents were your ads placement. For me, I put it in the 3rd paragraph of my article.

  •      lyndon ( 9:16 PM on 12/9/09 )

    regarding in my first comment it seems that the equivalent code of the parse double quote did not appear. Just go to this site http://www.blogcrowds.com/resources/parse_html.php and put ” there and hit the parse button.

  •      Best Buy Amazon ( 6:05 AM on 12/16/09 )

    thanks for the tutorial, here’s what I’m always looking for…….

  •      Max ( 5:46 PM on 12/25/09 )

    Hi all, I updated the codes and i wish it’ll work for you all,

    thanks for waiting,
    max

  •      Rabins ( 5:16 AM on 1/15/10 )

    one of the nice way to increase revenue. I am surely gonna use on my new blog. http://fullnepalisongs.blogspot.com/
    Thanks.

  •      andresfanatico ( 5:09 PM on 2/2/10 )

    gracias amigo

  •      wniizzati ( 9:20 AM on 2/4/10 )

    sorry to interrupt, if not mistaken, we need to add this code”” in our post to determine the place the add will be in the post.

    Title
    ———————–
    ———————–
    ———————-

    ———————-
    ———————-

    because the ads be in the middle when i add this

  •      Cristiano ( 11:48 AM on 2/7/10 )

    This is brilliant!!

  •      gene + experiments ( 9:15 AM on 2/11/10 )

    Thank you! Does this also work on doing it before the fold? Or there’s a different coding specifically for that?

  •      Max ( 7:54 AM on 2/12/10 )

    @ Rabins, andresfanatico And Cristiano thanks for commenting, i wish you all earn alot of $$$$ from adsense.

    @ wniizzati ok, this is an old way to do it, but the problem with your way is what if you want to change the ad size or code in all your posts, in my way, you will change it only one time in your template, but in your way, you’ll change in in every single post.

    @ gene + experiments if you want to add your ads above the fold i prefer to add it from your page elements page.

  •      israel ( 8:15 AM on 2/13/10 )

    wow thanks for the helpful information.This is the bomb

  •      karan ( 4:36 AM on 2/19/10 )

    i am getting error
    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: Open quote is expected for attribute “{1}” associated with an element type “style”.

    please tell me how to add code

  •      Max ( 7:18 PM on 2/21/10 )

    hi karan
    please check your copied code again, i fixed this trick and it’s 100% working now, make sure to copy all the code.

  •      vishirockz ( 9:17 AM on 2/23/10 )

    will it work with another adds other than adsense such as adbrite

  •      evoel ( 12:03 PM on 2/23/10 )

    thank a lot.. i’ll try..

  •      Max ( 3:17 PM on 2/23/10 )

    @ vishirockz, yes vishirockz, sure it’ll work.

  •      sachin ( 7:19 AM on 2/24/10 )

    max bro plese help me, i have adsense acount but i dont know where to find adsense code

  •      sachin ( 11:54 AM on 2/24/10 )

    this trick not work for me plz uplod other trick

  •      Max ( 2:17 PM on 2/25/10 )

    @ sachin, this is a very easy task to do, and you can search in google help to know more about it, the easiest way to do it is to create a new ad, and click get ad code from your account.
    i wish this will help you.

  •      Robert Salceda ( 6:55 AM on 3/6/10 )

    It did work for me. when i save my template this came out..

    “Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: Attribute name “:post.id” associated with an element type “data” must be followed by the ‘ = ‘ character.”

  •      gadarf ( 2:00 PM on 3/27/10 )

    Muito bom, funciona perfeitamente.

  •      kismat ( 6:40 AM on 5/1/10 )

    i could not find the tag (

  •      Max ( 6:22 AM on 5/7/10 )

    hi kismat, please check expand template widget to find the tag,
    and i’ll add another tutorial soon.

  •      citydl ( 1:41 PM on 5/15/10 )

    its not working on my blog help me plz

  •      citydl ( 1:42 PM on 5/15/10 )

    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: Attribute name “:post.id” associated with an element type “data” must be followed by the ‘ = ‘ character.”

    this error apperars

  •      HumanityLife ( 7:36 AM on 5/23/10 )

    Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
    XML error message: Open quote is expected for attribute “{1}” associated with an element type “style”.

    admin i have this errors… :(

    how to fix this errors

  •      free sexy stuff ( 12:06 PM on 5/23/10 )

    i am also getting same error as HumanityLife is facing

  •      hadadjus ( 3:50 AM on 5/26/10 )

    hadadjus Submit on mercredi 26 mai 2010 10:41:42:

    Message d’erreur XML : Open quote is expected for attribute “{1}” associated with an element type “style”.

    please help me

  •      Max ( 10:31 AM on 6/3/10 )

    hi citydl, please note that i mentioned before, this trick is not working for all templates, i’ll try to post another one soon.

  •      SEO ( 4:44 PM on 6/12/10 )

    Great Post dude

  •      Minty ( 10:51 AM on 8/2/10 )

    Is it just me.. because i am unable to see any code above !!!!!!!

  •      info net ( 11:06 AM on 8/3/10 )

    where is the code ?????

blogger spacer my twitter my facebook my rss feeds my google buzz E-mail updates

advertise
Write For Us
Write For Us

Add to Technorati Favorites Web Design Top Blogs
Top Resources blogs Web Development & Design Blogs hihera.com Resources BlogsArts Blogs - Blog Rankings
Templates Blogs - Blog Catalog Blog Directory Click to see how many people are online TopOfBlogs Computers & The Internet Topsites - TOP.ORG  blogarama - the blog directory
 

Featured in Alltop

AllBlogTools.com © 2009 All rights reserved

Home  |  About Us  |  Contact Us  |  Support Blogger Tricks  |  Blogger News   |  Blogger Templates