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

Bidder schain support #4551

Merged
merged 5 commits into from
Jan 3, 2020
Merged

Bidder schain support #4551

merged 5 commits into from
Jan 3, 2020

Conversation

jsnellbaker
Copy link
Collaborator

@jsnellbaker jsnellbaker commented Dec 6, 2019

Type of change

  • Feature
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

Description of change

PR for feature described here: #4465

Through using the config.setBidderConfig(), publishers can setup specific schain configs for particular bidders to override the global schain config.

These changes are backwards compatible to publishers. Adapters don't have to worry about updating their implementation in the BidAdapter.js files to read the schain data.

To also note - I made some changes to how the errors/warnings are logged when evaluating the schain config (to mainly group them together and show the bad config in-line in the message; since many configs could be bad simultaneously).

Other information

See #4334 for details on the setBidderConfig implementation if needed.

I will review the prebid.org docs (and possibly the modules/schain.md file in this repo) about any documentation updates needed.

@harpere harpere requested a review from msm0504 December 12, 2019 07:42
@harpere harpere added the needs 2nd review Core module updates require two approvals from the core team label Dec 12, 2019
@tjeastmond tjeastmond self-requested a review December 12, 2019 21:32
Copy link
Contributor

@tjeastmond tjeastmond left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

@snapwich snapwich left a comment

Choose a reason for hiding this comment

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

LGTM

@stale
Copy link

stale bot commented Dec 30, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 30, 2019
@jsnellbaker jsnellbaker removed the stale label Jan 2, 2020
@jsnellbaker
Copy link
Collaborator Author

@msm0504 @robertrmartinez Could either of you please take a look at this PR when you have the chance? Just need one more review to get it merged.

Thanks!

Copy link
Contributor

@msm0504 msm0504 left a comment

Choose a reason for hiding this comment

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

LGTM

@jsnellbaker jsnellbaker merged commit 9859692 into master Jan 3, 2020
redaguermas added a commit to redaguermas/Prebid.js that referenced this pull request Jan 8, 2020
…idVersion1.2.0

* 'master' of https://github.com/prebid/Prebid.js: (22 commits)
  fix lint errors in unit test file (prebid#4702)
  Add Revcontent Adapter (prebid#4654)
  Changed data structure in Platform One Analytic Adapter (prebid#4647)
  increment pre version
  Prebid 3.2.0 Release
  Add static API option to the consentManagementUsp module. (prebid#4685)
  replace all xhr stubs with global xhr stub to prevent all requests (prebid#4687)
  Add CCPA us_privacy support to spotxBidAdapter (prebid#4689)
  ucfunnel adapter support CCPA and remove utils.js in adapter (prebid#4541)
  freewheelSSPBidAdapter  (prebid#4645)
  Add CCPA support to Beachfront adapter (prebid#4673)
  add seedingAlliance Adapter (prebid#4614)
  Changed analytics data structure in YuktaMedia Analytic Adapter (prebid#4659)
  Add eplanning adapter for prebid 3.0 compliant and CCPA and GDPR support (prebid#4643)
  Bidder schain support (prebid#4551)
  Added CCPA support and GDPR compliance to Cedato adapter (prebid#4683)
  pass us privacy consent string to request (prebid#4581)
  Prebid 3 Admixer (prebid#4615)
  Pass uspConsent in bidRequest (prebid#4675)
  Advertly: New Bidder Adapter Submission (prebid#4496)
  ...
tadam75 pushed a commit to smartadserver/Prebid.js that referenced this pull request Jan 9, 2020
* iniital update for bidder schain support

* finished code updates for bidder schain support

* remove commented code

* remove test file comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs 2nd review Core module updates require two approvals from the core team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants