Assuming that you are looking at organic traffic, I would look at them from keyword perspective because you can write about affiliate products as well as general niche topics.
Affiliate product keywords will become competitive with time if the product is popular and therefore you will need to continuously build links to keep your ranking.
With niche topic keywords you can rank for longer and remain unnoticed and still recommend an affiliate product in your article.