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

Dailymotion Bid Adapter: add consent enforcement to read the advertising cookie #33

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

sebmil-daily
Copy link
Collaborator

Type of change

  • Feature

Description of change

  • Add consent enforcement before reading the advertising cookie
  • If Dailymotion does not have consent from the user, it does not transmit any cookie in the request to the Prebid server (previously the cookie was sent but not used)

@sebmil-daily
Copy link
Collaborator Author

I'm currently testing these changes into the E2E framework to validate they work with a standard Prebid.js deployment and a third party video player.
Please don't merge it before it's been fully validated.

@sebmil-daily
Copy link
Collaborator Author

sebmil-daily commented Jul 5, 2024

This feature can't be tested E2E without a full CMP implementation, which we don't currently have in testing environment. But we managed to test it by hardcoding the consent values (extracted from Dailymotion CMP) in this E2E PR.

Please note that because of this known issue in Prebid 9.4.0, we could not validate with the official latest version, but it was confirmed to:

  • work on the version before the commit creating this issue
  • work by manually applying the fix on the last version

So we can now merge this change as soon as it's reviewed.

@kvnsw kvnsw force-pushed the cookie_reading_consent_enforcement branch from 77f585c to 4aeb8a8 Compare July 9, 2024 12:18
@kvnsw
Copy link
Collaborator

kvnsw commented Jul 9, 2024

Reviewed:

  • Enforcement logic ✅
  • All tests & lint passing ✅

…ing cookie

* [x]  Feature

* Add consent enforcement before reading the advertising cookie
* If Dailymotion does not have consent from the user, it does not transmit any cookie in the request to the Prebid server (previously the cookie was sent but not used)
@kvnsw kvnsw force-pushed the cookie_reading_consent_enforcement branch from 4aeb8a8 to a099bf0 Compare July 9, 2024 12:25
@kvnsw kvnsw merged commit 672f3eb into master Jul 9, 2024
4 checks passed
@kvnsw kvnsw deleted the cookie_reading_consent_enforcement branch July 9, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants