I am using results from one of my site on another site and clicks from that site also going to amazon using product advertising api
Do clicks from that site also count or not? is it legal?
Clicks should count as long as you are using the referral tag. Because the API in question doesn't take the refferer site domain as passing parameter. so, it tracks through the customer referral tag.