-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
GDPR support for Sovrn Adapter #2475
Conversation
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
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
We are g2g whenever |
@rachelrj |
* fix sovrn dealid * send 'iv' param if present * `page` field in `site` object sends full url * Enhance location detection within util function. * fix func call * fix tagid var type * add test for converting tagid to string * CR * Reorg gettopwindowlocation util & add tests. * lint fixes * search param is string in window location objects * set creativeId to crid if present in response * send gdpr info
Type of change
feature
Description of change
gdpr support