This a solution, not a problem, but I’m still ranking in stackoverflow. When you paste this code, it will disappear the warning of “Third-party cookie will be blocked. Learn more in the Issues tab.”
document.cookie = "myCookie=cookieValue; SameSite=None; Secure";
Make disappear the warnings that google sends.