Skip to content

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

@taddis

Description

@taddis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs MoreNeeds more informationbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions