Cost per click was more common in the early days of affiliate marketing but has diminished in use over time due to click fraud issues very similar to the click fraud issues modern search engines are facing today. Contextual advertising programs are not considered in the statistic pertaining to the diminished use of cost per click, as it is uncertain if contextual advertising can be considered affiliate marketing.
One of the cool things about Google AdSense is that it's so easy to get set up. If you have a blog or website, you can sign up for a free Google AdSense Account. From there, Google will give you a unique code that you will paste onto your website. Google takes it from there, tracking your page views, traffic, and earnings on your behalf. There is no upkeep or maintenance to get this thing going, which makes it a no-brainer if you have a website already.