Skip to content

Commit 8f7614b

Browse files
authored
Add notes on schain and prebid 10 (prebid#6210)
1 parent 7e02fd6 commit 8f7614b

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

dev-docs/modules/schain.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ Two modes are supported:
2828
## How to Use the Module
2929

3030
{: .alert.alert-warning :}
31-
**Prebid 10 :** You don't need to add the schain module explicitly starting from Prebid 10.
31+
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.
32+
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.
3233

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

dev-docs/pb10-notes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ The following modules have been removed from Prebid.js as part of the 10.0 relea
9292
* Tests now target Chrome 109 as the minimum version. `not dead` was added to the babel target.
9393
* **The `pbYield` helper was added and greedy rendering is disabled by default.**
9494

95+
## `Schain` is now first party data
96+
97+
* Publishers should provide schain as first party data in `ortb2.source.schain` or `ortb2.source.ext.schain`.
98+
* 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.
99+
* Adapters should look for schain in `ortb2.source.ext.schain`.
100+
* 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.
101+
95102
## API Changes
96103

97104
* The `ADPOD` mediatype has received a deprecation warning.

0 commit comments

Comments
 (0)