Don't use apps with ads then? Or set up an ad blocker.
Root access, that is, being admim of your own device.
That's just how most Android versions are shipped. It's still technically possible to get root access, and really enjoy every privilege of Linux. Not all devices allow using a custom OS though, sadly