This article explains how Google both sells ads and even allows companies to pay to block ads. As an agency we purchase a significant amount in Google AdWords, our team is Google AdWords certified and well acquainted with Google retargeting campaigns. We are also working with programmatic targeting, allowing us to bid on ads in real time. It is incredible that Google can have it both ways.
See this blog post for more information about display ads.