Google was raking in money before the massive surveillance infrastructure. They did it by selling context-based ads.