I don't get any ads, after doing this a few months ago.
"To block ads on your phone, navigate to the Settings app on the device. Enter the Network and Internet section and scroll all the way down to find a Private DNS option.
Tap on the option, and you will be prompted to enter a private DNS address. Here, add ‘dns.adguard.com’ without the inverted commas in the private DNS provider hostname field (the last option) and tap on ‘Save’.
That’s it! Give your phone a restart and you should no longer see ads in apps and in browsers."