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
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.