How to Add Google Adsense to Your Niche WordPress Blogs

How to Add Google Adsense to Your Niche WordPress Blogs

I often get asked how to add Google Adsense to a WordPress Blog or what plugin I use to perform the task.  Rather than trying to explain in words how I add Adsense units to my niche websites, I thought it would be easier with a video.  So, in this 10 minute video I tackle a few different ways to add advertisements to a WordPress site.

First, I show how to insert a Link Unit ad just under a navigation bar.  This by far the most difficult task of the 3 and it does take a little bit of know-how to get this type of unit to show up where you want it.  The difficulty is complicated because every single theme is slightly different – so you will never know exactly where to place your code.  However, in this video I show some principles that you can follow to insert your link unit ads under the navigation bar.

Primarily you need to be able to go into the “editor” on WordPress and typically find the “header.php” file.  If you insert your ads at the end of this file, then the link unit will show up just below the header on all your pages.  This works in MOST cases but not all.  In some cases you may need to insert ads in a couple of different locations which may include the “Maid Index Page”, “Single Post” file, or the “Single Page” file.  However, in the video I show how you can test out different locations to make sure it works.

Second, I show how to use widgets to place Adsense ads in your sidebar.  This fairly basic and straightforward.

Finally, I show how I use the “Quick Adsense” plugin to add Google Adsense within the content of posts.  I have used other plugins in the past, but this is the one that I am currently using.  If you are using a better plugin – please share it in the comments below!

Overall, I truly hope that you find this video tutorial helpful!  Let me know your thoughts or questions below.


How Long Tail Pro Can Help You Capture Way More Search Engine Traffic

If your business could benefit in any way from getting more search engine traffic, I have some good news.

Search engines are in love with long tail keywords! If you are able to provide relevant content targeting these long tail keywords, then you can see a dramatic increase to the amount of traffic Google and other search engines send you.

Long Tail Pro is a powerful keyword research tool that makes finding these valuable long tail keywords a breeze.

What are “long tail keywords”? Essentially, these are words or phrases that people type into the search engines to find very specific things. Rather than searching for “dog training” a user might search for “how to potty train a pitbull”.

This is an example of a Long Tail Keyword. To visualize how Long Tail Keywords work...

Click to Continue Reading


39 Comments for this entry

  1. Ralph says:

    I’ve used the easy adsense Pro.
    Works in a similar way but you can tweak it a bit more.

  2. I am using thesis theme so thesis hook plugin helps me lot, wp-insert also very nice

  3. Tom says:

    Spencer,
    Thx for the clear explanation. I played around with some of the ad types and found one that fit perfectly on my site.
    Tom

  4. Steve Roy says:

    Spencer,
    Since I found your site earlier this week, I’ve really enjoyed what I’ve read. I love your business model and am looking forward to trying my hand at building a few niche sites.

    I have little idea of how this all works, so thanks for the great content. This post is perfect as well because I’ve never used AdSense and had no idea how to set it up.

    Thanks!

  5. Rick says:

    Spencer,

    With Adsense, the idea is getting paid for clicks that ultimately lead the visitor off your site to another. How would you structure a site combining an affiliate product (ie: LTP) and Adsense ads? I want the visitor to remain on my site for the affiliate product info but also generate revenue from Adsense. I suppose you could separate affiliate product vs. Adsense by site pages, ie: not placing Adsense on the affiliate product page(s). Does this make sense? Any suggestions?

    Thanks.

    • Jason says:

      I have found that having a killer first page for affiliate marking with out any other links or adds, works fine.

      What you can do is create alternative pages for adsense, and other add units.

      Im not sure If I should post a example, but I have found a couple sites, I really liked and basically captured their style.

      This seems to work well with low competition products.

      As with any page you create it is about conversions.

    • Spencer says:

      Perhaps a main page with the affiliate offer, and then other pages with adsense.

  6. Spencer,

    Great video! I would suggest your readers setup Ad Units and Custom Channels in a coherent way. Make sure they relate and the names make sense for tracking purposes. If you have lots of sites, random naming of Ad Units can really drive you crazy!

      • Simon says:

        Would you mind sharing some information how to organize the ad units and channels for that many sites?

        What I’m confused is that if the same ad unit is used by multiple sites, would the different custom channels (say per site) smart enough to segment the traffic within the attached same ad unit?

        Thank you!

  7. Vijay says:

    I’m using wordpress plugins on most of my sites. Also I know programming so it’s not difficult to me.

    I was getting lots of queries on how to put adsense to right or left corner of post content without using any plugin. So I wrote one posts here:
    http://www.etechbuzz.com/adsense-unit-inpost-content-corner/
    and I know it helps hundreds of my readers to put highest CPC ad unit i.e 250×250 floating left or right in your blog post..

    Thanks,
    Vijay

  8. Sandeep says:

    whydowork adsense is a plugin which i use currently… it works good and does the job..

    I will check out quick adsense… and yes, i agree that adding link units on the header is the most difficult by far

  9. Michael says:

    Some great tips Spencer.

    I’ve just added the link units just below my navigation bar to my group of niche sites I’ve just recently developed.

    Thanks.

  10. Kaz says:

    Thanks for this video, Spencer. Sometimes it’s the seemingly small technical details that can cause ‘blockages’ in progressing your business online, particularly if – like me – you’re not a hard core techo!
    Having easy to follow videos like this are invaluable!
    Cheers, Kaz

  11. Paul says:

    Great video Spencer, thanks. I’m new to this whole thing but when placing Adsense within a post is it more effective to have text based ads rather than image based ones?

  12. Christiaan says:

    It’s these little things that stop a lot of people persuing an online income. You edit that php file like it’s nothing, but you should see the reaction most poeple have when you open such a file in a terminal (in Vim, with syntax highlighting). “OMG you must be some computer geek” is the least of my problems :p

    Doing these things on a public computer even got me kicked out once. But that’s enough about me.

    I just stumbled accross your blog and well, it’s rekindled my interest in the elusive online income. You’re now officially to blame that I’ve taken up the plan to build at least 10 niche sites, 2 of which before the end of the year. The modest income goal is $100 a month by the fourth of July.

    Thanks, not only for this blogpost, but for this blog as well!

    *clicks on RSS feed button*

    Gr, Christiaan

  13. Mary says:

    I want to second what Kaz said – it’s the small tech stuff that slows me down. Thanks for the video.

    Thanks for the site as well. No pun intended, but you have a nice “low key” manner of presenting things.

  14. Glenn says:

    Thanks Spencer,

    As a newbie to WordPress and Blogging I found the information clear and easy to understand.

    Very much appreciated.

    Glenn

  15. Mark says:

    Hi – Thanks for the video – very clear ! I find WordPress a real pain, I don’t understand why people like it so much but maybe I will now take the plunge and stick some Adsense on my site.

  16. Chris Miller says:

    Interesting that your adsense account is serving up ads related to your searched. You have that turned on in your account? If so, I wonder how much better your sites might do if they were serving up only ads that are related to your sites?

  17. Kuttus says:

    Thanks Spencer for the update.

  18. Deb says:

    I just read on one of the Adsense pages that you can use the same ad unit code on many sites, e.g. you can set up a 160×600 skyscraper for SITE1.com and use that same code for SITE2.com.

    I’ve been setting up separate ad units for each domain and labeling them ‘sidebar’ ‘post top’ etc. thinking that it will be better for tracking which sites and which ad units are performing best.

    Am I correct or am I wasting time?

    Deb

  19. Jenny Nassour says:

    Hey Spencer – when inserting the code within the header template, this makes the ads appear on all the pages on the site (including contact and privacy policy). Is there a way to disable it from appearing on those non-content pages after putting the code in the header (which is against the TOS to show ads on non-content pages)? Or would it be ok to “exclude” those pages so they don’t show at all with ads on them?

    • Spencer says:

      Hmmm… tough question! Im sure there is a way to not show the header links on those pages, but I have always just left them there. The header links are not within the content, so I’m hoping that is not against TOS. That’s the way I have always done it though.

  20. Alan says:

    I thought in the past you have said that you use the WhyDoWork Adsense plugin? Do you prefer the Quick Adsense plugin over that one. Thanks.

  21. Jae says:

    Hi again Spencer,
    Having hunted through the site, I’ve found a few different options for adsense plugins. For those of us who are still quite new to the adsense model, its reassuring to know we are following along with your latest methods…. which do you currently use? When we are looking for a good adsense plugin in future, what should we be looking for – is it for easy ad placement, the safety features such as not letting us click on our own links by mistake, etc?
    Thanks :-)

  22. Ron says:

    When placing the code in the header.php. How does it know what type of ads to pull? Ads usually are oriented to the content of the page.

    Thanks

  23. Ron says:

    Actually I’m now seeing that it does pull info from the database to know which ads to show. Sorry about that.

  24. paul says:

    just started with adsense, made 61 cents on 1st 19 clicks but nothing since so will try your strategies hope it works. like reading your blogs spencer cheers

  25. Zahid Al says:

    hey nichepursuits.com admin. why you don’t add ads in this website ?

  26. I only seen video of Google ad-sense then i no need to read entire post because of in this video fantastic explain of how to put Google ad sense code.. Thanks for sharing…

  27. Bella says:

    Hello Spencer,

    Thank you for providing this helpful tutorial. I am new to wordpress :) I would like to start adding adsense on my blog in future but I would like to know how many adsense are we allowed to add on our blog? I have heard that we are only allowed to add 3 adsense per blog otherwise if we add more than that google might disable your adsense account, is this correct? I hope you can clarify my questions. Thanks.

  28. Hi there, I read your site on a regular basis. Thanks for the info again.

Comments are now closed.

                    



css.php