Google has stopped selling ads based on individual users' browsing history and is phasing out third-party cookies in an attempt to protect users' privacy.