-
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
mgidAdapter #3562
mgidAdapter #3562
Conversation
mgid adapter added |
This pull request introduces 1 alert when merging 19eea57 into 9b08b15 - view on LGTM.com new alerts:
Comment posted by LGTM.com |
huh |
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 code looks good, the only issue is the comment I posted.
const returnedBids = []; | ||
const muidn = utils.deepAccess(serverResponse.body, 'ext.muidn') | ||
if (muidn != null && typeof (muidn) == 'string' && muidn.length > 0) { | ||
setLocalStorageSafely('mgMuidn', muidn) |
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.
Just making sure, but is this adapter only going to be used in non-GDPR environments? Otherwise, to save user data locally, the consentManagement module needs to be checked for consentString and the vendors list for consent to save data locally. If this isn't going to be used in a GDPR environment, this should be ok.
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.
added support of gdpr. we'll not return ext.muidn if tracking is not allowed
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.
@idettman added test params to docs
Hello, looks like we've added all required data for further review. |
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
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.
Code looks good now, but can you revert the changes to the package.lock file?
Note: You can avoid automatically changing the package.lock file by using npm ci
instead of npm install
ok, done |
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
Type of change
Description of change
300x600 banner test
300x250 banner test
Be sure to test the integration with your adserver using the Hello World sample page.
prebid@mgid.com
For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:
add mgid docs prebid.github.io#1161
Other information