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

Add GDPR support to GumGum Adapter #2595

Merged
merged 1 commit into from
May 24, 2018

Conversation

mxcoder
Copy link
Contributor

@mxcoder mxcoder commented May 22, 2018

Type of change

  • Feature

Description of change

Adds support for GDPR consent check

PR for new flag in page: prebid/prebid.github.io#785

const bids = [];
const gdprConsent = Object.assign({ consentString: null, gdprApplies: true }, bidderRequest && bidderRequest.gdprConsent)
Copy link
Collaborator

Choose a reason for hiding this comment

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

In case when gdpr module does not exist in the build, this will always send gdprApplies and gdprConsent to your request payload.

https://github.com/prebid/Prebid.js/blob/master/modules/appnexusBidAdapter.js#L77

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It will only send gdprApplies and, at least for us, thats ok. gdprConsent url param is conditional to gdprApplies. Check lines 127-129

data.gdprApplies = gdprConsent.gdprApplies;
if (gdprConsent.gdprApplies) {
  data.gdprConsent = gdprConsent.consentString;
}

Do you need us to change this?

@jaiminpanchal27 jaiminpanchal27 merged commit 20c7968 into prebid:master May 24, 2018
dluxemburg pushed a commit to Genius/Prebid.js that referenced this pull request Jul 17, 2018
ghost pushed a commit to devunrulymedia/Prebid.js that referenced this pull request Jan 30, 2019
@lbenmore lbenmore deleted the ADSS-323-gdpr branch January 4, 2022 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants