Sunday, July 31, 2005

Alternate Ads Submitted by Sashi

Swank Home


Sashi’s Page


If you have elected to receive contextually targeted ads, you can make sure that your advertising space is always being used effectively, either by targeted Google ads, or by your own choice of content by specifying an image or ad server of your choice. However, you may not specify Google ads as your alternate ads.

So, first up, you need an Amazon.com Associate membership signup
. It’s free, so go and sign up.

Once you’ve signed up, login and click on ‘Build Links’. Then click on ‘Recommended Product Links’. Select the desired Product Category, keywords or subcategory, then select the ad size to correspond to your Google ad size.

You will then be provided with HTML code to be embedded in a page. Copy and paste that code in a text editor, and wrap the code with basic HTML tags like the html, head and body tags.

Now, you’ve gotta upload this file to a server where it can be easily accessed using your browser. I’ve hosted the file that I use for the above ad here. You can see the source code to see what I meant by wrapping the Amazon code with regular HTML, if you didn’t understand I was saying..

Then, login to your blog CMS, and view the HTML template of the page where you have your Google ad code.

Add this line: google_alternate_ad_url = "[full URL of the page containing the Amazon.com HTML code]"; just after this line: google_ad_client = "pub-xxxxxxxxxxxx"; .

And that’s it. You might never see Amazon ads displayed in place of Google ads if you have a high-traffic website with tonnes of marketable keywords, but if you’re like me, and you’re tired of PSAs, give this a go and you might catch a glimpse of an Amazon ad or two in the future.

No comments: