Zusammenarbeit mit Ströer MetaTag

Ströer verlangt, solange Google nicht als IAB-TCF-Anbieter gelistet ist, eine separate Einwilligung für Google (ConsentManager-Anbietername „Google Ads“, Anbieter-ID „s1“). Hier ist ein Beispiel, wie dies umgesetzt werden kann:

var x = __tcfapi('getTCData',2);
if("customVendorConsents" in x && "s1" in x.customVendorConsents && x.customVendorConsents.s1)
{
  SDG.Publisher.setAdserverConsent(true);
}
else
{
  SDG.Publisher.setAdserverConsent(false);
}

We do our best to keep this purely informative documentation up to date. However, if you notice that any of these guides need a little touch-up, let us know!