I have an existing web site ([login to view URL]) that integrates several affiliate marketing programs. I want to integrate Amazon's Product Advertising API ([login to view URL]) into this site.
## Deliverables
The code will be used on a Brand page on my site such as:
[login to view URL]
The code should accept three variables:
1. My Amazon Affiliate ID
2. The brand name to be used to power your query of Amazon
3. The maximum number of products to return
Your code should take the brand name and return the maximum number of random products to be displayed in a 3-column grid. The products should link through to Amazon with my Affiliate ID so that I can generate additional commissions.
Error trapping should be included in case the query doesn't return any results.