InteractiveAdvertisingBureau / iabtcf-es

Official compliant tool suite for implementing the Transparency and Consent Framework (TCF) v2.0. The essential toolkit for CMPs.
Apache License 2.0
128 stars 94 forks source link

CMP stub not working with Google Ad Manger CMP (Funding Choices) #329

Open taddis opened 2 years ago

taddis commented 2 years ago

Version 1.4.0

Module (core, cmpapi, cli, stub, or testing) stub

Describe with reproduction steps – What is the expected behavior?

<!-- cmpstub from IAB Tech -->
<script
    type="text/javascript"
    src="https://storage.googleapis.com/statics.lifeofsvea.se/production/js/cmpstub-debug-a.js">
</script>

<!-- Run GAM/gpt.js standalone -->
<script
    async
    type="text/javascript"
    src="https://securepubads.g.doubleclick.net/tag/js/gpt.js">
</script>

With CMP Stub with-cmp-stub

Without CMP Stub without-cmp-stub

webbugt commented 2 years ago

Simmilar issue here, we imported via npm

import * as cmpstub from '@iabtcf/stub';

cmpstub();

Google Funding Choices is also loaded from gpt.js

For us the panel will show when using ?fc=alwaysshow but not when accessing the site with fresh cache/cookies in incognito

danielfx90 commented 11 months ago

Hi, any news on this? It seems that it is still happening.