The value of a good data company is much more than the average person might think. Recently Clear Story Data was purchased by an investment group formed by Google Ventures and others for $9 million.
The growth of the company database, and the need for large amounts of data by companies make the sale well worth it. Google can use the information for much more than targeting ads, and will see a great return of Investment.
Here's the article to read more.