Pihole on your network will block those. I use apps and games on my phone and then leave my house and get surprised at how many ads I didn't know where there.
I don't have any app with embedded ads on my phone. All my apps is FOSS except banking apps. And when I didn't know about the existence of F-droid, I just downloaded patched apks with disabled ads or patched apps by myself using luckypatcher.
Fuck me, I uninstalled about 4 games for invasive ads. Its a shame the open source community and paid games cant be a solution to all this data collection and ads on android.