Skip to content

GDPR support for Sovrn Adapter#2475

Merged
mkendall07 merged 29 commits intoprebid:masterfrom
sovrn:master
May 1, 2018
Merged

GDPR support for Sovrn Adapter#2475
mkendall07 merged 29 commits intoprebid:masterfrom
sovrn:master

Conversation

@rachelrj
Copy link
Contributor

@rachelrj rachelrj commented May 1, 2018

Type of change

feature

Description of change

gdpr support

Rachel Joyce and others added 29 commits February 7, 2018 17:04
send 'iv' param if present and full url in `site.page`
Enhance location detection within utils
CR for enhanced-location-detection PR
Reorg gettopwindowlocation util & add tests.
set creativeId to crid if present in response
Copy link
Contributor

@mkendall07 mkendall07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, see the comment about NaN value though.

if (bidderRequest && bidderRequest.gdprConsent) {
sovrnBidReq.regs = {
ext: {
gdpr: +bidderRequest.gdprConsent.gdprApplies
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

head's up - if gdprApplies is undefined you'll get NaN here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The JSON.stringify underneath converts NaN to null. I checked the JSON deserialization and the nulls get handled as if they weren't there. So.. I think we're good. Thanks for pointing out though. I appreciate it.

@mkendall07 mkendall07 added the LGTM label May 1, 2018
@rachelrj
Copy link
Contributor Author

rachelrj commented May 1, 2018

We are g2g whenever

@mkendall07 mkendall07 merged commit 9416e75 into prebid:master May 1, 2018
@mkendall07
Copy link
Contributor

@rachelrj
I merged. Can you please also open a PR to mark your adapter as GDPR compliant on the docs repo?
See here as an example:
prebid/prebid.github.io#731

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments