Here it is in action (as I write this I am not sure what books will be recommended):

I have started a test with these ads on several of my sites. I wonder how good the targeting will be. Compared to AdSense, the range of products that can be displayed is much narrower, especially since you have to specify only one amazon store (books, dvds, electronics, etc.). By the way, that's number one feature request for Amazon associate links: ads boxes that span more than one store. This would be especially useful for Amazon Web Services (AWS) - enabling you to display a book, a dvd, and a dvd player in the same ad box. I am interested in feedback on how good the targeting is -- please reply in the discussion for this entry with your comments.

You can pass the following arguments with the script:

store - books, dvd, electronics, etc.url - the URL of the page to targettag - your Amazon associates idad_geometry - a code associated with the size and dimensions of the ad box

There is also an XML output option, which returns a series of keywords and a single key phrase based on the target URL. The idea is that you can then use the key phrase to display links using AWS. The XML method take the following form:

The tag n_terms enables you to limit the maximum number of terms that are returned. This actually affects the target phrase as well, so it would be interesting to test the optimal number of terms to achieve the best targeting.

To see what books would be recommended on your site, use the form below: