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

getConfig cleanup of consent management #10658

Closed
patmmccann opened this issue Oct 30, 2023 · 5 comments · Fixed by #11592
Closed

getConfig cleanup of consent management #10658

patmmccann opened this issue Oct 30, 2023 · 5 comments · Fixed by #11592

Comments

@patmmccann
Copy link
Collaborator

This is a serious bug in several adapters. Consent management needs to come off the request.

const consentManagement = config.getConfig('consentManagement');

let isIab = config.getConfig('consentManagement.cmpApi') != 'static';

} else if (config.getConfig('consentManagement.gdpr')) {

src = src + '&gdpr=' + (bidderRequest.gdprConsent.gdprApplies ? '1' : '0') + '&consent[0][format]=' + config.getConfig('consentManagement.cmpApi') + '&consent[0][value]=' + bidderRequest.gdprConsent.consentString;

@patmmccann
Copy link
Collaborator Author

@RemiSirdata @gsollazzo @darkstarac please take a look

@darkstarac
Copy link
Contributor

@patmmccann Hello Patrick. Sorry to bother you, but it's not very clear to us what fix is needed. Have you got some suggestions on this issue ?

@darkstarac
Copy link
Contributor

@patmmccann Hello Patrick ? Any hint on this issue ? As asked before we some clarification about the problem.

@patmmccann
Copy link
Collaborator Author

@darkstarac consent should not come from a getConfig call. You should only need to access the request object

@nouchy
Copy link
Contributor

nouchy commented May 22, 2024

This is a serious bug in several adapters. Consent management needs to come off the request.

const consentManagement = config.getConfig('consentManagement');

let isIab = config.getConfig('consentManagement.cmpApi') != 'static';

} else if (config.getConfig('consentManagement.gdpr')) {

src = src + '&gdpr=' + (bidderRequest.gdprConsent.gdprApplies ? '1' : '0') + '&consent[0][format]=' + config.getConfig('consentManagement.cmpApi') + '&consent[0][value]=' + bidderRequest.gdprConsent.consentString;

This has been fix sor sirdata RTD Module, please see #11524. Thanks !

Wazabit added a commit to AIDEM-Technologies/Prebid.js that referenced this issue May 27, 2024
Wazabit added a commit to AIDEM-Technologies/Prebid.js that referenced this issue May 28, 2024
Wazabit added a commit to AIDEM-Technologies/Prebid.js that referenced this issue May 28, 2024
Wazabit added a commit to AIDEM-Technologies/Prebid.js that referenced this issue May 28, 2024
ChrisHuie pushed a commit that referenced this issue May 28, 2024
…1575)

* AIDEM Bid Adapter

* Added _spec.js

* update

* Fix Navigator in _spec.js

* Removed timeout handler.

* Added publisherId as required bidder params

* moved publisherId into site publisher object

* Added wpar to environment

* Added placementId parameter

* added unit tests for the wpar environment object

* PlacementId is now a required parameter
Added optional rateLimit parameter
Added publisherId, siteId, placementId in win notice payload
Added unit tests

* Revert to optional placementId parameter
Added missing semicolons

* Extended win notice

* Added arbitrary ext field to win notice

* Moved aidemBidAdapter implementation to comply with ortbConverter

* disabled video-specific tests

* Fixed getConfig cleanup of consent management (Issue #10658)

* Fixed getConfig cleanup of consent management (Issue #10658)

* Fixed getConfig cleanup of consent management (Issue #10658)

* Fixed getConfig cleanup of consent management (Issue #10658)

---------

Co-authored-by: Giovanni Sollazzo <[email protected]>
Co-authored-by: darkstar <[email protected]>
Co-authored-by: AndreaC <[email protected]>
patmmccann pushed a commit that referenced this issue Jul 17, 2024
* AIDEM Bid Adapter

* Added _spec.js

* update

* Fix Navigator in _spec.js

* Removed timeout handler.

* Added publisherId as required bidder params

* moved publisherId into site publisher object

* Added wpar to environment

* Added placementId parameter

* added unit tests for the wpar environment object

* PlacementId is now a required parameter
Added optional rateLimit parameter
Added publisherId, siteId, placementId in win notice payload
Added unit tests

* Revert to optional placementId parameter
Added missing semicolons

* Extended win notice

* Added arbitrary ext field to win notice

* Moved aidemBidAdapter implementation to comply with ortbConverter

* disabled video-specific tests

* Fixed getConfig cleanup of consent management (Issue #10658)

* Fixed getConfig cleanup of consent management (Issue #10658)

* Fixed getConfig cleanup of consent management (Issue #10658)

* Fixed getConfig cleanup of consent management (Issue #10658)

* Added gvlid param for Europe GDPR compliance

---------

Co-authored-by: Giovanni Sollazzo <[email protected]>
Co-authored-by: darkstar <[email protected]>
Co-authored-by: AndreaC <[email protected]>
DecayConstant pushed a commit to mediavine/Prebid.js that referenced this issue Jul 18, 2024
…ebid#11575)

* AIDEM Bid Adapter

* Added _spec.js

* update

* Fix Navigator in _spec.js

* Removed timeout handler.

* Added publisherId as required bidder params

* moved publisherId into site publisher object

* Added wpar to environment

* Added placementId parameter

* added unit tests for the wpar environment object

* PlacementId is now a required parameter
Added optional rateLimit parameter
Added publisherId, siteId, placementId in win notice payload
Added unit tests

* Revert to optional placementId parameter
Added missing semicolons

* Extended win notice

* Added arbitrary ext field to win notice

* Moved aidemBidAdapter implementation to comply with ortbConverter

* disabled video-specific tests

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

---------

Co-authored-by: Giovanni Sollazzo <[email protected]>
Co-authored-by: darkstar <[email protected]>
Co-authored-by: AndreaC <[email protected]>
DecayConstant pushed a commit to mediavine/Prebid.js that referenced this issue Jul 18, 2024
…id#11987)

* AIDEM Bid Adapter

* Added _spec.js

* update

* Fix Navigator in _spec.js

* Removed timeout handler.

* Added publisherId as required bidder params

* moved publisherId into site publisher object

* Added wpar to environment

* Added placementId parameter

* added unit tests for the wpar environment object

* PlacementId is now a required parameter
Added optional rateLimit parameter
Added publisherId, siteId, placementId in win notice payload
Added unit tests

* Revert to optional placementId parameter
Added missing semicolons

* Extended win notice

* Added arbitrary ext field to win notice

* Moved aidemBidAdapter implementation to comply with ortbConverter

* disabled video-specific tests

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Added gvlid param for Europe GDPR compliance

---------

Co-authored-by: Giovanni Sollazzo <[email protected]>
Co-authored-by: darkstar <[email protected]>
Co-authored-by: AndreaC <[email protected]>
mefjush pushed a commit to adhese/Prebid.js that referenced this issue Jul 19, 2024
…id#11987)

* AIDEM Bid Adapter

* Added _spec.js

* update

* Fix Navigator in _spec.js

* Removed timeout handler.

* Added publisherId as required bidder params

* moved publisherId into site publisher object

* Added wpar to environment

* Added placementId parameter

* added unit tests for the wpar environment object

* PlacementId is now a required parameter
Added optional rateLimit parameter
Added publisherId, siteId, placementId in win notice payload
Added unit tests

* Revert to optional placementId parameter
Added missing semicolons

* Extended win notice

* Added arbitrary ext field to win notice

* Moved aidemBidAdapter implementation to comply with ortbConverter

* disabled video-specific tests

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Fixed getConfig cleanup of consent management (Issue prebid#10658)

* Added gvlid param for Europe GDPR compliance

---------

Co-authored-by: Giovanni Sollazzo <[email protected]>
Co-authored-by: darkstar <[email protected]>
Co-authored-by: AndreaC <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

3 participants