Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
taddis opened this issue Feb 11, 2022 · 2 comments
Open

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

taddis opened this issue Feb 11, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@taddis
Copy link

taddis commented Feb 11, 2022

Version
1.4.0

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

Describe with reproduction steps – What is the expected behavior?

  • Make sure you have Google Ad Manager privacy and messaging setup and working for a webpage.
  • Build the stub as shown in the README
  • Add it directly to the page before gpt.js script.
  • Expected behaviour is that the Google Ad Manager privacy and messaging popup should show.
  • Current behaviour is that nothing is shown.
<!-- 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

@taddis taddis added the bug Something isn't working label Feb 11, 2022
@taddis taddis changed the title CMP stub not working with Google Ad Manger CMP (prev. Funding Choices) CMP stub not working with Google Ad Manger CMP (Funding Choices) Feb 15, 2022
@webbugt
Copy link

webbugt commented Jul 5, 2022

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants