jugend / amazon-ecs

Amazon Product Advertising Ruby API
MIT License
554 stars 95 forks source link

Pass Associate Tag in API request #13

Closed zeantsoi closed 13 years ago

zeantsoi commented 13 years ago

According to the recent changes to the Product Advertising API, as of 10/25/2011, all requests made to the API will need to include the Associate Tag as a parameter.

https://affiliate-program.amazon.com/gp/advertising/api/detail/api-changes.html

Is this actively being incorporated or should I make a pull request?

jugend commented 13 years ago

Zeanstol the latest version would still work till 02/21/2012 without associate tag.

Will apply the patch when I have the time later.

jugend commented 13 years ago

Thanks for the ping btw.

dkam commented 13 years ago

In addition to that new requirement, the Associate Tag is required if you want retrieved items's DetailPageURL attribute to include the tag. The reason that's important is so that sales are correctly attributed to your Associate Tag for the purposes of increasing the number of requests you can make to the API.

See the Efficiency Guidelines for more.

You can set the Associate Tag currently with:

Amazon::Ecs.options[:AssociateTag]=<your associate tag>
jugend commented 13 years ago

Fixed in 2.2.0. Upgraded to the latest version 2011-08-01

anandkrishnan commented 10 years ago

how to get free amazon associate tag