What successful affiliates are doing is very frequently some shade of gray, which is one of the reasons to have affiliates in the first place - plausible deniability. [Edited to add: a well-designed affiliate program also generates organic SEO benefits, and this facet profits even from a single link on an unremarkable blog, when that gets duplicated at scale.]