• Resolved justinmarch

    (@justinmarch)


    Adsense Auto Ads have a different code than the sample you show at https://support.cookiebot.com/hc/en-us/articles/360003812773-AdSense-cookie-consent

    I presume the following should work?

    If not please let me know what code would work?

    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js” type=”text/plain” data-cookieconsent=”marketing”></script>
    <script type=”text/plain” data-cookieconsent=”marketing”>
    (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: “ca-pub-###############”,
    enable_page_level_ads: true
    });
    </script>

Viewing 1 replies (of 1 total)
  • @justinmarch

    Yes, seems like your prior consent implementation on ads it`s correct, by following the method from the example in the link. Should work properly on your script.
    Please notify me if any problem occurs.

    Regards,
    Martin

Viewing 1 replies (of 1 total)
  • The topic ‘Adsense Auto Ads’ is closed to new replies.