To drive more traffic to your site you can buy ads like Adword, banner ads, video marketing, SEO and the rest.
For SEO which am more conversant with,
you need to optimize your site/page title,
description, tags, h1, h2 tags, content and then
start building quality back links.
Once you have or apply for an adsense account,
you can use the codes on your site in strategy areas.
However, i find it more successful running a purely
ad sense based site and no ads or affiliate program to distract.
Regards,
John