Working with Ströer MetaTag

Ströer requies, as long as Google is not listed as an IAB TCF vendor, to pass separate consent for Google (ConsentManager vendor name “Google Ads”, vendor ID “s1”). Here is an example how this can be achieved:

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!