Skip to content

Add notes on schain and prebid 10 #6210

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

Merged
merged 1 commit into from
Aug 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dev-docs/modules/schain.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ Two modes are supported:
## How to Use the Module

{: .alert.alert-warning :}
**Prebid 10 :** You don't need to add the schain module explicitly starting from Prebid 10.
Since Prebid 10, schain is treated as first party data: this module just copies `schain.config` into `ortb2.source.ext.schain`. You may provide it (or `ortb2.source.schain`) directly, removing the need for this module.
Note that bidder-specific first party data is merged with global first party data, while up until Prebid 9 bidder-specific schains override the global schain. The simplest way to upgrade to 10 is to avoid using both.

First, build the schain module into your Prebid.js package:

Expand Down
7 changes: 7 additions & 0 deletions dev-docs/pb10-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ The following modules have been removed from Prebid.js as part of the 10.0 relea
* Tests now target Chrome 109 as the minimum version. `not dead` was added to the babel target.
* **The `pbYield` helper was added and greedy rendering is disabled by default.**

## `Schain` is now first party data

* Publishers should provide schain as first party data in `ortb2.source.schain` or `ortb2.source.ext.schain`.
* The schain module is no longer necessary and has been updated to simply copy `schain` configuration into first party data; it will be removed in the future.
* Adapters should look for schain in `ortb2.source.ext.schain`.
* Like all first party data, **bidder-specific schains are now merged with the global schain**, where previously they would replace it. Publishers setting both global and bidder-specific schains will need to make changes; the simplest way to address this is to use only bidder-specific schains.

## API Changes

* The `ADPOD` mediatype has received a deprecation warning.
Expand Down