You can run dnsmasq and point your phone to it. Then block whatever you want.
Run it where?
I currently run it on a little raspberry pi sitting in a closet. Every device in my home points to it, allowing me to filter out undesirable stuff (mostly ads) from one place. Doesn't help you when you're out and about on your cell data plan though.