The biggest players like Spotify, iHeartMedia and Pandora are developing technology to serve ads to listeners, and they all see value in targeting based on musical tastes. A fan tuned to a rock station fits one profile for iHeartMedia. A subscriber playing a workout mix gives Spotify a consumer to sell to real-time marketers.