Earlier quoted context omitted.
Was scanning for this thanks for pointing it out. Some of these banners are infuriating, and if I use firefox containers sometimes I see them over and over, especially if I'm clearing my cookies. It is insane to me that this isn't already a standard.
There is a standard that has some recognition and uptake (though needs more) - Global Privacy Control. It’s been adopted by some browsers and publishers, and IIRC is a requirement for CCPA (California Consumer Privacy Act) compliance. https://globalprivacycontrol.org/
In the end Google ends up in a script on the page somehow in the name of privacy.