I find using a DNS server that blocks ads gets rid of them. You just put the name of the server (like “dns.adguard.com”) in the private DNS field in settings and turn it on.
I find the setting on my phone in Settings > connections > more connection settings > private DNS