Setting Google AdSense Alternate Ad URL
Are you monetizing your website with Google AdSense? LOL
If you are you’re going to want to take a moment to set up alternate or default ads for your AdSense Ads. Alternate ads would be an ad that would replace the AdSense Ad when there are no available ads and instead a lovely PSA (Public Service Announcement) appears that when clicked will not result in any revenue for you (Example of a PSA RedCross.org). These ads, while helpful to communities and/or non for profit organizations, will instead lower your CTR (click through rate) as well as ePCM (Page View Value per 1000). I personally had no idea how simple it was to set up a default ad until fairly recently and wanted to take a moment to pass this valuable information on as it did increase my overall CTR and ePCM as well as created an additional source of revenue.
First, you will need an alternate advertiser and/or affiliate program. There are many to choose from like Chitika, Amazon ect. but I suggest a non contextual affiliate program since you are probably running more than one AdSense ad block on a page and you want to stay within the rules of the AdSense program.
Second, you will need to create a basic template page. You can use Note Pad or HTML-Kit or a similar text editor. You will need to make this page a .html, .shtml, .php or what ever page type you want. I prefer .php myself so I will create a page called google-default.php. I suggest keeping your HTML in this page simple but you will want to at least a 0 left margin in the BODY Tag.

Then in the BODY area of the page you place the code for your alternate affiliate source. Upload to your site in a location you can easily remember. You can use this text as your initial AdSense alternate ad HTML code if needed. (To save code : Right click the link and “Save Target As”)
Third, you will need to update your AdSense code. The best way to do this is to login to your AdSense account and visit the create code area. When updating ad settings for your pages ad you will need to place your default ads URL, or web address location at your site, in the box for the “Alternate Ad” and it will automatically ad the proper code. It will ad a line in the code that looks similar to this
google_alternate_ad_url = "http://mysite.com/google-default.php";
You will need to repeat this process for various sized ads so the alternate ad that appears is the same size as the original AdSense ad would be so the alternate ad will appear correctly on your page.
Origanilally posted (12-08-05) by me at another blog.
Comments are closed.











