Google Ad Manager / AdSense

This module does not support automatically passing CCPA Do Not Sell Status to Google products yet. See https://support.google.com/adsense/answer/9598414 for more information.

Didomi supports sharing consent with Google Ad Manager (ex DFP), AdSense and Ad Exchange asynchronous ad tags. When the user gives consent, the Google tags are configured to fetch personalized ads.

For this integration to work, you need to make sure that you are delaying the loading of Google ads until Didomi has shared the consent information with Google.

The Didomi SDK offers two different configurations:

  • Share consent and refresh ads: In this setup, the Didomi SDK is in charge of both sharing the consent status with Google Ad Manager/AdSense but also takes care of the initial loading and refreshing of ads when needed. Use this configuration if you only use Ad Manager and no other script (Prebid, IAS, etc.) is in charge of loading/refreshing ads or needs to be synchronized with Ad Manager.

  • Share consent without ads refresh: In this setup, the Didomi SDK shares the consent status with Google Ad Manager/AdSense but does not load or refresh ads at all. You must synchronize with the SDK through an event listener to make sure that any ads refresh in your code or in third-party code (Prebid, IAS, etc.) happens after the Didomi SDK has passed consent to Google. Use this integration if you use Ad Manager to include auction results from Prebid, for instance.

Make sure to read the documentation dedicated to the setup that is appropriate for your website configuration. Feel free to reach out to our support team if you have any question.