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

gumgum Bid Adapter: support coppa config #9192

Merged
merged 3 commits into from
Nov 3, 2022
Merged

Conversation

john-ivan
Copy link
Contributor

Type of change

  • Feature

Description of change

Added ability to send coppa flag to gumgum ad server if set to true

@@ -294,6 +294,7 @@ function buildRequests(validBidRequests, bidderRequest) {
const gdprConsent = bidderRequest && bidderRequest.gdprConsent;
const uspConsent = bidderRequest && bidderRequest.uspConsent;
const timeout = config.getConfig('bidderTimeout');
const coppa = config.getConfig('coppa') === true ? 1 : 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

fwiw the line above this is the wrong way to get timeout; the timeout from requestBids can be overridden in https://docs.prebid.org/dev-docs/publisher-api-reference/requestBids.html

For example, I think CafeMedia always overrides.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@patmmccann thanks for the review and for catching this issue. I'll make a ticket to review if we're using it or not and make the necessary corrections based on those findings.

@patmmccann patmmccann merged commit 338b9c6 into prebid:master Nov 3, 2022
JacobKlein26 pushed a commit to nextmillenniummedia/Prebid.js that referenced this pull request Feb 9, 2023
* ADJS-1227-add-coppa-flag-to-gumgum-adapter

* added tests for coppa config for gumgumBidAdapter

Co-authored-by: John Bauzon <john.bauzon@gumgum.com>
jorgeluisrocha pushed a commit to jwplayer/Prebid.js that referenced this pull request May 23, 2023
* ADJS-1227-add-coppa-flag-to-gumgum-adapter

* added tests for coppa config for gumgumBidAdapter

Co-authored-by: John Bauzon <john.bauzon@gumgum.com>
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.

3 participants