Didomi supports sharing consent with Google 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 DFP/AdSense but also takes care of the initial loading and refreshing of ads when needed. Use this configuration if you only use DFP and no other script (Prebid, IAS, etc.) is in charge of loading/refreshing ads or needs to be synchronized with DFP.
Share consent without ads refresh: In this setup, the Didomi SDK shares the consent status with Google DFP/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 DFP 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.