Google’s John Mueller says the number of affiliate links on one page is irrelevant as long as the main content is useful to searchers. This is stated during the Google Search Central SEO hangout recorded on August 6, 2021.
Mueller clarifies that Google isn’t trying to send a message that affiliate links are bad. They’re perfectly fine, provided they’re placed within useful content:
“There is no limit. From our side it’s not that we’re saying that affiliate links are bad or problematic. It’s more a matter of, well, you actually need to have some useful content on your page as well. So that’s kind of the angle that we take there.
The amount of affiliate links that you have on a site is totally irrelevant. The ratio of links to article length is also totally irrelevant.”