My unpopular opinion is I like ads, some are well thought, funny, and memorable.
Ads in videogames which allow you to have a small boost are also amazing, I don’t have to spend money, just leave my phone for 30~60 seconds and I get a bit of premium currency while supporting the devs.
The annoying/worrisome part is all the tracking the ads have, and the ones which are very invasive which take half of the screen.
If we could go back to TV ads where everyone watches the ads without individual targeting, and with current technology to protect against hacking, and getting them in sensible places to not hide the content I would place and exception in my ublock and pihole for them.
All the ones I’ve used require a separate service to actually do the query.
You can use traccar, owntracks, or wanderer (this one is not realtime tho, and requires for you to find an app to send the data).
There’s also gpslogger which can record everything locally (or send it to any URL you set), but you need another app or service to be able to query it properly.