Most servers are not able to access the Google API.
Invidious report of the same(ish) problem: https://github.com/iv-org/invidious/issues/4045#issuecomment-1674373088
The only answer is Ublock Origin.
Aside from that, you can do adblocking for your entire network and everything on it via Pi-hole. It requires no modification for the devices on your network and will work for literally any device connected to it.
If you combine those two, the odds of seeing any ad anywhere isn’t zero, but it is close enough to zero to effectively be zero.
I have a pihole and it’s great. Unfortunately it doesn’t do much against YouTube ads, as the ads are served from the same server that the videos are sent from. I still recommend it- it’s great for random banner ads and embedded trackers.
Ublock origin definitely still works tho… For now.
I have a spare pi4 I should set that up. Although it’s had issues with WiFi so idk I’ll be able to do it.
You should just put it next to your router with a wired connection. This should improve latency for dns requests and give you less headache because no problems with wifi can happen.
[https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/](uBlock Origin)