Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


How can I clean up my Google AdSense Channels?

I've been an AdSense publisher for over a year and have been very pleased with all Google has to offer. I'm now thinking of starting a new site and again incorporating AdSense. Here's my problem ... as with many things in life, I took the 'learn as you go' approach with AdSense. When that specifically applies to 'channels' in the AdSense program, things are disorangized to say the least. And now that I want to add a new site, things would get even worse. Is there any way to clean things up or start from scratch? Thank you.


Dave's Answer:

This is a common problem with Google AdSense, actually, because when you're just starting you don't bother with the advanced features like being able to differentiate results by using site or style specific channels. Fortunately, it is something you can clean up!

I would start by reading through my tutorial on getting started with Google AdSense Channels to see how they work and how you can add just a single line to your existing AdSense code blocks to enable this feature.

Then go into the AdSense management area and create a number of new channels, either one for each of your sites or one for each of your AdSense blocks (for example, you could have "copjokes" for your police joke and humor site and "textlinks1" for your primary textlinks block). If you want to track things with more granularity, consider having hybrid channel names as I do, like "copjokes-bigrect" or "furniture-store-textlinks". It all depends on how much effort you want to put into it, of course: the more channels you have, the better you can ascertain exactly how each ad block on each of your sites is doing, but, well, it's more work to set up thirty different channels than three.

Since you already have AdSense on your pages, however, the good news is that once you do establish a channel within the AdSense system, all you need to do is paste a single line into the existing adblocks to get everything to work. For example, if I wanted to change a stock AdSense block to one that included a channel, I'd simply add google_ad_channel ="7151328846"; to the block, producing something like this:

<script type="text/javascript"><!--
google_ad_client = "pub-7950118917489847";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="7151328846";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Hopefully you have your sites set up with templates of some sort or perhaps utilize server-side includes so that your AdSense code is in one file rather than duplicated across hundreds of pages that will need to be edited by hand. If you don't have things set up that way, now is a great time to learn how to change it.

You might find that you can, for example, add a line like:

<!--#include virtual="adsense-block-bigrect.txt"-->

everywhere you currently have the actual AdSense code block for a large rectangle ad. Then simply put your actual code into the file "adsense-block-bigrect.txt" and you now have one file, one place where you can tweak and modify your AdSense code to test color schemes, etc., rather than having to edit lots of pages with the exact same change.

If you do want to go in this direction as part of your AdSense update, check with your site admin to find out what kind of inclusion options you have. PHP-based sites can add PHP code too. Oh, and if you have a site built on a weblog tool like WordPress or Movable Type, you should be able to just update the AdSense code in your main templates and "rebuild site" to get everything deployed.

Since channel codes are consistent across pages, you can also go into Google's AdSense management system and create a dozen or more channels, write them all down on a notepad (or copy and paste them into a sticky/post-it note) and then do all your editing as a second pass, adding the appropriate google_ad_channel as you go.

It'll be some work and there's no great shortcut, especially if you have lots of pages that require manual editing, but I have no doubt that being able to differentiate sites and specific ad block formats in your Google AdSense report is a critical capability for you to learn how to maximize your AdSense results and payout. Good luck!

What's that? You aren't running Google AdSense on your site and making a few bucks through their advertising network? Then please start here: getting started making money with Google AdSense and cover your host bill -- and perhaps quite a bit more -- today.


More Useful Pay Per Click (PPC) Advertising Articles:
✔   How much money should I be making with AdSense?
Hey Dave, I get ~130.000 views per month and for 30 days of using AdSense I earned $60, is it a lot or...
✔   Add Po.st Social Media (Facebook, Google Plus) widgets to your blog?
I really like the set of social media buttons you have on the pages of your AskDaveTaylor site, Dave. What are they, and...
✔   How is CPM calculated on Google AdWords YouTube Video?
Have you bought Google AdWords Video [actually it's called "YouTube Promoted Videos" -dt] before? I'm confused about whether the CPM bid for 1000...
✔   How do I connect my Google AdSense and Analytics accounts?
I'd like to connect up my Google AdSense account and my Google Analytics stats account. I understand that if you do this, you...
✔   Why doesn't AdSense earn me any money?
I subscribe to any Google Adsense earnings but zero in the day, I do not know why: I hope you can advise me...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  




Categorized: Pay Per Click (PPC) Advertising   (Article 7456, Written by )
Tagged: adsense channels, google adsense, ppc
Previous: How do you delete contacts from Yahoo Instant Messenger (YIM)?
Next: What actually happened on July 4, 1776?




Reader Comments To Date: 1

Kevin said, on February 25, 2010 11:33 AM:

Hmmm, I think we cant delete the channel on GA. Have to keep it all

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

I do have a comment, now that you mention it!











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.