I agree on the YT front, but I don't remember seeing Spotify ads.
"To provide you with features, information, advertising, or other content which is based on your specific location."
You might also be interested in the massive amount of data they store about users that was discovered after GDPR passed. Here's the HN thread: https://news.ycombinator.com/item?id=17681289
Also, location information is used to avoid account sharing, which I think would clear GDPR.