Google Code Search: 2006-2013.[1] It was from the era when Google claimed their mission was to organize all the world's information, and they had book-scanning and newspaper-scanning projects. But that content generated no ad revenue.
[1] https://en.wikipedia.org/wiki/Google_Code_Search