My number one reason for rooting my phone is blocking ads on a hosts-file level. It also stopped me from being able to play pokemon go, which I assume is for the best.

A non-root way: DNS66 via F-Droid.

https://github.com/julian-klode/dns66