Generally just linking to an affiliate program produces poor results. It's better to integrate some info into your site and link from that info to the affiliate program. Write an article about "widgets" and within that article, have an appropriate link to your affiliate program that sells widget.
Or alternatively, write or publish articles that relate to widgets. As an example, write about recipes and send your traffic to a food related affiliate program.
Just posting banners or text links on their own will generally not produce great results.