Add Google Adsense to Wordpress without plugins

Posted by admin on Mar 12, 2009 in Web |

I was just trying to add Adsense to this blog and found several plugins available to add Google adsense to wordpress. Finally, I managed to add Google Adsense to this blog without any plugins – this solution takes around 5 mins to setup and it only uses the text widget available in wordpress by default.

Step 1: Login to your blog as administrator
Step 2: Click on Appearance
Step 3: Select Widgets
Step 4: Select the sidebar you want (Default Sidebar 1)
Step 5: Add Text widget
Step 6: Click on Edit widget
Step 7: Enter Caption. I have used “Useful Links”
Step 8: Paste your Google Adsense code in the text area. See example code & screenshot

Example:


<script type="text/javascript">
<!--
google_ad_client = "pub-9990819195828769";
google_ad_slot = "7810166087";
google_ad_width = 200;
google_ad_height = 200;
// --></script>
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js"
type="text/javascript"></script>

Screenshot

Wordpress Text Widget - Add Google Adsense code

Wordpress Text Widget - Add Google Adsense code

Step 9: Click done & Save changes.

You should now be able to see Ads from Google showing on the left side of your sidebar. Just like we have on the top right of this page.

Tags: , ,

98 Comments

whysayso
Mar 13, 2009 at 2:03 pm

Great thanks. This is simple.. I can’t believe the number of plugins out there to do this and more.. Search Google for wordpress adsense to see loads of plugins!


 
Brent
Mar 13, 2009 at 4:31 pm

Keep it simple :) Good tip!


 
Tero Simon
Mar 15, 2009 at 4:16 pm

Thanks for showing us how to put google ads in word press blog quickly. I now have googleads showing advertisement in my blog. See link myinfoweb.org/


 
Puneet
Mar 17, 2009 at 10:08 am

this is the easiest way to place adsense on our wordpress blogs without any plugins or changes in ur theme :)

btw : adsense in ur sidebar is looking really cool … nice theme ;)


 
Leo
Mar 25, 2009 at 7:06 am

I was wondering on how to put google adsense to http://www.uttamah.com, my gadget site, since it uses wordpress. This solution is very helpfull, thanks for sharing. Hope for your success :)


 
Kristine
Apr 3, 2009 at 7:09 am

Hi! This post is very informative. I followed your instructions and it worked for me. :)

Thank you.


 
FahadOnline
Apr 14, 2009 at 8:25 am

What about inserting ads to posts ? I mean every post made also future posts .


 
sewdragondesigns
Apr 22, 2009 at 1:42 pm

I have tried to do what you did above, and after saving the script in the txt block, it will not show on the page. Go back in to “edit” and it is blank. While it is saving the Useful Links txt it is not saving the google ad script. Please help!


 
Dean
Apr 29, 2009 at 4:45 am

Thanks..great tip! I will hopefully with a few more clicks a day I will be ready to add adsense to my blog…


 
kim
May 1, 2009 at 2:18 am

@sewdragondesigns: I’m guessing your wordpress blog is hosted at wordpress.org – they don’t seem to allow javascript to be used on the hosted version there.


 
Ben
May 3, 2009 at 1:30 am

@kim – That is right. Allowing javascript on a hosted platform is a security risk.


 
sun
May 4, 2009 at 7:47 am

Hi, i heard of making money from the ads. Any suggestions on how I can do this in my blog? I welcome any suggestions!


 
Google Adsense « Random Musings of a Software Engineering Student
May 23, 2009 at 9:06 pm

[...] As you may have noticed, I added Adsense to my blog earlier today. The process for doing this is fairly simple: Essentially, you just add a new ‘Text’ widget on your sidebar and paste in the code Google gives you to display ads. If you need a more detailed guide, the instructions I followed are located here. [...]


 
kusum
Jun 9, 2009 at 6:26 am

its very nice i can see my ads now thanks a lot tell me more ways to improve my blog on word press


 
happy
Jun 10, 2009 at 3:37 pm

added to my site – thanks i was stuck on how to do this
cheers
rick


 
Highlow
Jun 11, 2009 at 7:17 pm

Thanks for the tip!! It works great but I have the same problem as sewdragondesigns…so is there no way to host ads at all if your wordpress blog is hosted on wordpress.org?


 
rhonda
Jun 18, 2009 at 2:25 am

thanks so much

recipecarousel.com/blog keeping it simple now all i must do is wait for traffic…


 
kingducky
Jul 11, 2009 at 8:12 am

I had the same issue. My blog is hosted on wordpress.com and i cant seem to figure this out. Can you help me please?


 
Aaron
Jul 13, 2009 at 3:41 pm

They probably blocked it :(


 
Rwandrew077
Jul 21, 2009 at 4:09 pm

Thanks!! I do not think it took a whole 5 minutes!


 
Odvord
Jul 29, 2009 at 4:35 pm

Outstanding!! This made it sssooooo easy! Now all I have to do is change the adsense to sidebar from header.

Thanks!


 
Talha Kazmi
Jul 30, 2009 at 2:50 pm

Salam,
Great you have solved my problem here :)
thanks a lot…


 
salman
Jul 30, 2009 at 10:16 pm

Thanks for showing us how to put google ads in word press blog quickly. I now have googleads showing advertisement in my blog……..http://devilpace.wordpress.com/


 
Losille
Jul 31, 2009 at 5:26 am

Thank you! Thank you! Thank you!
For some reason the html I wanted on my page would show up in sidebar 2 but not sidebar1. Now I have google and other things!
Losille


 
Matt Kendricks
Aug 5, 2009 at 6:00 pm

I like it, it’s simple.


 
Ms Dony
Aug 16, 2009 at 3:07 am

thanks for the tip..i’ll try that..


 
safaaa
Aug 22, 2009 at 9:01 pm

hey i try it but it doesnt work am new in adsense google i shoud wait some days to receive the ads? .plz help


 
Renegade Moms
Sep 1, 2009 at 7:18 pm

Thanks for the help and the example of Google ads on the top right.


 
warungkopi
Sep 2, 2009 at 7:54 am

Good info . I always await new article from you :D


 
ChrisParke
Sep 6, 2009 at 4:32 pm

Thanks for the tip.


 
Elizabeth Harvey
Sep 7, 2009 at 4:05 pm

Thanks a lot for this detailed article.


 
Keasley
Sep 12, 2009 at 8:45 pm

Thank you, so much! I was really getting frustrated and was beginning to question my decision to switch to Wordpress. Not only did this help me understand how to get Google Adsense up and running, it help me figure out how to customize my entire sidebar. Much thanks. God Bless.
-Kiesha


 
Yosef
Sep 30, 2009 at 1:46 pm

I have tried plugins and with the code, but nothing displays. My blog just creates a white space where the ads should be. Have you come across this problem?


 
bob hoskins
Oct 2, 2009 at 3:00 pm

thanks a lot for the help. Plugins did not work well but your tip worked a treat! Thanks again for the helpful post.


 
Amberly Rundell
Oct 5, 2009 at 8:18 pm

Thanks, that helps a lot! :)


 
cesar
Oct 9, 2009 at 10:09 pm

hello,
I followed your instruction. However for some reason, when I am saving the widget, the code disappear. Any clue of what I am doing wrong ? Let me know if anyone else has this problem


 
yufi ps
Oct 16, 2009 at 5:12 pm

thanks for the information


 
NeonBlueWS
Oct 18, 2009 at 2:13 pm

Thanks for the info. I have no idea why there are so many WordPress plugins to do the same thing.


 
Soros
Oct 21, 2009 at 7:30 am

Adding Adsense couldnt be easier. Thanks.


 
Raksa
Oct 25, 2009 at 10:18 am

Thanks a million for posting this simple guide.


 
WP Kid
Oct 28, 2009 at 6:53 am

Thanks for the details.


 
Thorpe
Oct 29, 2009 at 2:56 am

It works great on my 250×250 banner.


 
Sally
Nov 5, 2009 at 9:29 am

Coolio! That’s the way to do it!


 
Dave Hawkins
Nov 6, 2009 at 12:52 am

Thanks.
- NOTE: Code insertion is not supported in comments.


 
Cathy
Nov 9, 2009 at 8:05 pm

Wow! I can’t tell you how much time and aggravation this saved me. Thanks so much. I’ve added it to my baby freebies blog. Now if only I can figure out how to put it in the actual posts. ;) Thanks again!


 
Normalyn Espejo
Nov 28, 2009 at 9:38 am

Thanks for this information. Can you also share to us how you did your tag cloud?


 
Sam
Nov 29, 2009 at 10:19 pm

thanks man!


 
Colombopro
Dec 4, 2009 at 6:12 pm

Thanks. I wonder how to add adsense to wordpres posts. Is there a no plugin way like adding to sidebar?


 
murthy
Dec 14, 2009 at 4:46 am

Simple and very helpful. Good work dude.


 
Adam
Dec 20, 2009 at 3:41 am

This works fine. For wordpress.com users can i just point this out to the people who are complaining it doesnt work… http://en.support.wordpress.com/advertising/


 
Ije
Jan 1, 2010 at 7:54 am

Thank you so much. This worked perfectly.


 
blogging tips
Jan 7, 2010 at 7:06 pm

great help to me….i was searching for adsense integration in my blog


 
Mcgelligot
Jan 7, 2010 at 10:36 pm

Hey, thanks so much for posting this. I have used plugins in the past and they can be a pain in the neck. This is a nice, elegant quick-fix. Keep up the good work.


 
Jo
Jan 9, 2010 at 12:27 am

Cool thanks heaps for this :) – I just added mine now and so much better than using a plugin – and nice and fast :) – mine isn’t showing just yet but they take like 10 min to show up for the first time so I’m sure they are on the way


 
Fsatark
Jan 12, 2010 at 7:46 pm

It also works for me. Thanks.


 
tina
Jan 13, 2010 at 4:02 pm

Thanks for your help.


 
Vicki
Jan 15, 2010 at 10:35 pm

Thank you soooooo much! This was a breeze!
Vicki


 
Tony
Jan 16, 2010 at 1:10 pm

Very smooth, thanks, exactly what I was looking for.


 
helena
Jan 19, 2010 at 5:48 am

Thanks for this. It was really easy to add to my wordpress blog – unlike any other solution. Now if only there were a simple solution to adding adsense to the very bottom…


 
Jack
Jan 19, 2010 at 8:27 am

im doing the same steps and it works on my blog. Thanks.


 
Gavin
Jan 26, 2010 at 1:28 am

Thanks for the tip. I have added it to my wordpress blog on my domain successfully. Just figuring out how to move the panels in wordpress admin.


 
Essam
Jan 27, 2010 at 12:49 pm

Thank u, I just added it to my blog greenpages


 
Rupali
Jan 31, 2010 at 6:15 pm

This info is very useful to me.thnks


 
waqar
Feb 3, 2010 at 12:54 pm

very cool and easy way………
Thanks


 
Bak
Feb 3, 2010 at 3:32 pm

Thanks for this useful tips
I got Ads on my Site bodyig.com


 
bhaw
Feb 4, 2010 at 8:00 am

thanks for these useful info.


 
Snsaha
Feb 9, 2010 at 12:36 pm

It worked for me


 
Chris
Feb 10, 2010 at 12:35 pm

Hi thanks for the tip, but I was wondering if you can add adscense to the bottom of a page also. I had wanted it at the bottom of my main page.

Thanks for the tip.


 
Chetan
Feb 17, 2010 at 5:57 pm

It worked fine with me on my blog!


 
Joseph
Feb 20, 2010 at 10:36 am

Thanks for the link. It worked perfectly. Much better than having to install plugins to do the same thing!


 
nraywood
Feb 20, 2010 at 2:04 pm

thankyou very much got my google adds on the site now


 
Esobe
Feb 20, 2010 at 5:27 pm

thanks nice one


 
D3Marketers
Mar 30, 2010 at 5:52 am

I have found your blog via google search when I was looking for tips on how to place adsense below the nav bar or just above the post title. Anyway, your site is great and very informative. Thanks and more power!


 
Tony UC
Apr 10, 2010 at 11:02 am

I have found this post very useful. I am grateful for your contribution, especially the illustrations via pictures. Thanks


 
Priti
Apr 12, 2010 at 6:46 am

I have tried this and ads are coming up into my blog


 
James Cage
Apr 16, 2010 at 6:42 am

Great post. Thank for the info and the good tips. Very helpful post with great images on it.


 
Sandra
Apr 20, 2010 at 6:12 pm

Hi,

great work, just followed this and managed to install mine. This was very helpful and thanks once again.


 
JOSEPH IBE
Apr 28, 2010 at 12:17 am

Thanks for this informative quite brief and straight to the point. i followed your instructions and it worked perfectly for me om my site.


 
kitt
Apr 29, 2010 at 8:13 pm

how long will the widget be up on the site because i did it but it doesnt show right away


 
ebrahim3enab
May 3, 2010 at 9:32 pm

thank you , great efforts


 
Money Man
May 13, 2010 at 8:00 am

Thank you very much for that astonishing article


 
me
May 13, 2010 at 12:31 pm

Please help

i tried to add on the text widget, it won’t let me save it. it will show a blank page again and again. it has “save widget” instead of “done” button on the page.


 
googletop
May 16, 2010 at 11:08 am

Wow. thanks for the useful tip :)


 
Newbie blogger
May 20, 2010 at 6:54 am

Thanks for the info, its useful for newbie blogger like me….


 
Blogal
May 20, 2010 at 2:46 pm

Hi, i followed your instruction and paste the code on the text area.
But after i click ’save’, all the code disappear and no ads appear on my blog:(


 
Piseth
May 21, 2010 at 5:01 am

This is very simple but effective. thanks for sharing this


 
Yousoff
May 28, 2010 at 1:22 pm

wow!!.. thx alot.. its so easy..


 
Techs24x7.com
Jun 3, 2010 at 12:20 pm

Wow !! Very informative ……..


 
Jay
Jun 3, 2010 at 3:09 pm

I tried this but no ad is being displayed on my web page. Do I need to do anything to my domain before this works?


 
php-manual
Jun 3, 2010 at 7:20 pm

Hi Jay, do you have the wordpress installed on your domain or is it hosted on wordpress.com?


 
Jay
Jun 4, 2010 at 5:38 pm

It is hosted on wordpress.com but I also have it pointed to my domain [www.livestartingfive.com]


 
Wp fan
Jun 7, 2010 at 8:45 am

Thanks very good for tip. I have it running beautifully on wordpress.


 
Miss Tee
Jun 17, 2010 at 6:54 pm

What about adding ads just above the footer and just below the header? Does anyone know how this can be done?


 
Jay
Jun 21, 2010 at 2:02 am

I’m still not getting it to work. I am following all of the steps. When I enter the ad code into the text widget field and click “save” the code just disappears. Has anyone else had this problem?


 
MS-Technology BD (Pvt.) LTD
Jun 28, 2010 at 3:19 am

I want to know, How i can use adsense code into my wordpress posts?


 
shanna Brooks
Jul 18, 2010 at 12:28 am

Hello. Thank-you so very much.


 
Joseph
Jul 20, 2010 at 10:32 pm

Nice info. It took me less than 3minutes to get it done.


 
Cornel M
Jul 24, 2010 at 3:17 pm

Simple and very useful! Thanks for trick! I’m tired of so much plugins!


 

Reply

Copyright © 2010 PHP, Web and IT stuff All rights reserved. PHP Web development in London.