Pi-hole Spotify

Is there any way to block Spotify ads with it still working?

I’ve tried a list online and whitelisting but still, it would not work.