Search This Blog

Sunday, March 19, 2006

Where to paste the AdSense codes?

Update: This is an old post but is still applicable to those using the old classic Blogger template. Those using the New xml Blogger template should use the HTML/Javascript gadget (Page Element)

Where to paste the AdSense codes? This will depend on where you want the ads on your site. Probably the most prominent place to place it will be just below the header, like on this site. If so:
1. log into Dashboard
2. click the TEMPLATE tab
3. look for the codes you see above and paste the codes where you see Paste AdSense codes here

Update: With the newly introduced Blogger Beta, there is now an easier way to put in your AdSense (and other, eg. Amazon) scripts, and to move them around. See Blogger Beta - adding advertisement and hit counter scripts

Books from Amazon

Google Advertising Tools : Cashing in with AdSense, AdWords, and the Google APIs


  1. Just signed up for adsense minutes ago.

    How and where do I place code so that Adsense appears in the middle of each post?

    Any comments on the best location for maximum CTR?

  2. For ads in the middle of each post, you will have to paste the codes into the post itself. However scripts are not allowed in the posts by Blogger. So you will have to hack. Someone has the hack, but I don't know where it is now. If I find it, I will post it.

    The best position for max CTR is probably the middle of the post, but probably has the most irritation factor.

  3. My humble and profuse thanks Peter.

    After my Adsense account is approved, I can't wait to test your provided answer.

    Will this method work for WordPress as well?

    Or is it necessary in WordPress since perhaps you can place the code directly where you want it?

    (Haven't used WordPress yet.)

  4. REMINDER: Always backup template before making changes to it.

  5. Hi Peter,

    Yes, I did backup the template first.

    However, I followed the instructions provided by Ads in the Middle.

    I copied and pasted the code as instructed.

    I then placed the tag for Adsense [Blogger will not allow the tag syntax) in the blog HTML precisely where I wanted the ads to appear.

    There was no change to the ads position at the top of the post. I saw no affect on the blog at all.

    I Emailed the author about 12 hours ago. So far no response.

    Have you tried the Ads in the Middle coding?

    Do you have a solution?

    (By the time you read this, the ads may be at the bottom or elsewhere).

    Noori Daili

  6. For this you will have to contact the author of the codes.

  7. Thanks for a great blog; just curious, would you consider placing the code for me inside of my blog so I can have the ads right where I want them?
    Thanks, Warren

  8. Getting someone to place the adsense codes in the template for you will involve revealing your password to a third party which is not wise. For a guide to where to paste the codes, refer to Adding content via the template

  9. thank you thank you thank you. finally someone mentions where to put my adsense. and it finally works. wauw it took me days to find some helpfull info.

  10. thank you thank you. finally someone mentioned where exactly to put my adsense code.
    and finally it works. your site maybe for dummies, but it sure will help me to become a great adsense publisher. and well i will not feel like a dummie anymore!!!!

  11. I want to place a vertical adsense banner on the left part of my page, how can I go about doing that, and where should I place the code?


  12. You only have a sidebar on the right side of your blog, thus, you cannot post any ads on the left side of your blog.

    If you want to post ads or other content on the left side of your blog, you will have to change your sidebar to the left side of your blog. To see how to do that, refer to How to make the sidebar display on the left

    Another way is to add another sidebar. This can be a difficult task. You can, however, use ready-made 3 column templates. You can see examples of such blogs here:
    Guide to Malaysia
    Digital cameras - choosing and caring for your digital cameras

    For instruction on how to do this, see Blogger for Dummies is now 3 column for Blogger classic blogs.

    For Blogger Beta blogs, refer to 3 column templates for Blogger Beta blogs

  13. Hello.

    All I wanna know is how exactly were you able to paste the Google search bar up there in your blog?

    Please simple step-by-step instructions for the non-geek!



  14. This post should help: Blogger template tutorial - adding content via the template. If you have any other question, comment again.

  15. where i paste google search code in my blog please guide where exectly i paste.I want google search at central position.


  16. Are you using the old classic template or the New Blogger template?

    Peter a.k.a. enviroman
    Enviroman Says

  17. Hi I want to put google add on right hand side of the page and vartical.I already copy code for my adsense account.But i dont know where I paste
    that code.Please help.Also guide me which temple is good for each adsense add posting as i frequently change my add place.
    thank you.You alway guide me.

  18. How to change old classic templet to new blogger templet.

  19. Hi Ujval,

    This post was published before New Blogger was introduced. Anyway, I have put an update at the bottom of the post. Don't know if you have seen it and follow the link.

    Also, if you want me to answer your question, you need to let me know whether you are using the old classic template or the New Blogger template. You can find out by referring to Old classic template or New Blogger template?.

    Regarding templates for AdSense, I have written a post What is the best template for AdSense.

    Dummies Guide to Google Blogger
    "online book" in progress

  20. topic:- I want to put google add on right hand(vertically) side of the blog.
    I already gone throught ur blog.I follow the steps.Edit html-configure html/java script.I paste adsense code there. but it did not show google add.And no error there.I confuse lot as i want google add on right side of the page.
    please help

    thanks in advance

  21. Hi ujval,

    This post was written before New Blogger was introduced is is for those using the old classic template. I have put an update with a link to a new post.

    Are you using the old classic template or the New Blogger template?

    Dummies Guide to Google Blogger
    "online book" in progress

  22. I believe using wordpress more simple like I did at my site (

    Now blogger can have more features with wordpress based site.

  23. hi, i just got adsense but i dont know how to make it show up on my youtube account, nor does my player show up. it shows up everywhere else. but on youtube i guess i dont know where to paste it because it keeps saying html not allowed

  24. This is an old post and it is for those still using the old classic Blogger template, not the New Blogger xml template. You cannot add AdSense to Youtube account, only to your blog or blogs

  25. I can't figure out how to get my vertical ad on the LEFT side of my page. It won't let me move page elements to the left side column, and I have no idea how to do it through HTML.

    Can somebody help me?

  26. What template are you using?

  27. Heloo,

    I was looking out for ways in which i can incorporate adsense into my blog, and your piece of information really helped solve some of my queries......thank you !!!!

  28. I would love to know that how to switch back after I change my template to HTML. cannot see adSense tab
    Thank you

  29. "I would love to know that how to switch back after I change my template to HTML."

    You mean you have upgraded from old classic template to new xml template (LAYOUT), but now want to switch back?

  30. Dear,

    Ad sense is Deactivating my request every time.this common ting they are sayin..

    "We did not approve your application for the reasons listed below.

    - Postal address incorrect or not provided."

    Kindly help me with this. I hav tried every possibilities & my address is also correct and written it correctly.Whats the Problem ??

    plz reply !

  31. Slave of Allah,

    I am not AdSense and have no authority to aid in your application. Because AdSense have managed to get so many publishers they are now more choosy. I guess you just and to keep on trying provide good content and pray to your God.

  32. thanks that was helpful good luck

  33. Anonymous11:00 PM

    Thanks very much for your help, i got another style of implementing the code at
    if you need the same i can help.


Related Posts Plugin for WordPress, Blogger...

Find topics by using the Google custom search box above which can search multiple blogs, or the SEARCH BLOG in the left corner of navbar. You can also find topics in the Label List and Categrories in the right sidebar.

For more information and special deals related to any of the issues on this page, place your cursor over the double-underlined links. All information supplied by

Disclaimer: This blog has no relation with Wiley Publications