I'm really surprised no one has mentioned the short story by Cory Doctorow "Scroogled" [0] (Not to be confused with the MS ad campaign). It's about US officials using what ads you were served to vet you, not too far off from using your search results.