The decisions are based on the purpose for which the interception was done.
Using the contents of people's email to support an arbitrary business model is too broad according to the judge.
If we allow advertising as a legitimate reason to allow machines to read your email, why not also allow Google to offer credit scores, insurance ratings, HR evaluations, and services to private detectives?