Spotify is not making commercial advertisements showing all the raw data they have collected on you. Instead, they are probably doing things like aggregating data on their users and looking for trends.
It's more like watching security footage (or having machines watch it and let you know what they've observed) and then making decisions with that information.