Skip to content

Commit 1e74b85

Browse files
ChrisHuiedgirardi
andauthored
Update TIDs for pr that made them bidder specific (prebid#6229)
* Update firstPartyData.md * Update bidder-adaptor.md * Update bidder-adaptor.md * Update setConfig#enableTIDs --------- Co-authored-by: Demetrio Girardi <dgirardi@prebid.org>
1 parent b28fa99 commit 1e74b85

3 files changed

Lines changed: 5 additions & 20 deletions

File tree

dev-docs/bidder-adaptor.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,8 @@ Some of the data in `ortb2` is also made available through other `bidderRequest`
380380
<a id="tid-warning"></a>
381381

382382
{: .alert.alert-warning :}
383-
Since version 8, `auctionId` and `transactionId` are being migrated to `ortb2.source.tid` and `ortb2Imp.ext.tid` respectively; and are disabled by default, requiring [publisher opt-in](https://docs.prebid.org/dev-docs/pb8-notes.html#transaction-identifiers-are-now-reliable-and-opt-in).
383+
Since version 8, `auctionId` and `transactionId` are being migrated to `ortb2.source.tid` and `ortb2Imp.ext.tid` respectively. As of 10.9.0, these values are now generated to be unique for each bidder. They are also disabled by default, requiring [publisher opt-in](https://docs.prebid.org/dev-docs/pb8-notes.html#transaction-identifiers-are-now-reliable-and-opt-in).
384+
384385
When disabled, `auctionId`/`transactionId` are set to `null`; `ortb2.source.tid`/`ortb2Imp.ext.tid` are not populated. Your adapter should prefer the latter two, and be able to handle the case when they are undefined.
385386

386387
<a name="std-param-location"></a>

dev-docs/publisher-api-reference/setConfig.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,15 @@ For more information about the asynchronous event loop and `setTimeout`, see [Ho
7878
<a id="setConfig-enableTIDs"></a>
7979

8080
### Enable sharing of transaction IDs
81-
8281
Prebid generates unique IDs for both auctions and ad units within auctions; these can be used by DSPs to correlate requests from different sources, which is useful for many applications but also a potential privacy concern. Since version 8 they are disabled by default (see [release notes](/dev-docs/pb8-notes.html)), and can be re-enabled with `enableTIDs`:
8382

8483
```javascript
8584
pbjs.setConfig({ enableTIDs: true });
8685
```
8786

87+
{: .alert.alert-warning :}
88+
Since version 10.9.0 transaction IDs are unique for each bidder and cannot be used to correlate requests from different sources, even when `enableTIDs` is set.
89+
8890
### Max Requests Per Origin
8991

9092
<a name="setConfig-Max-Requests-Per-Origin"></a>

features/firstPartyData.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -272,24 +272,6 @@ pbjs.addAdUnits({
272272
});
273273
```
274274

275-
You may also specify adUnit-specific transaction IDs using `ortb2Imp.ext.tid`, and Prebid will use them instead of generating random new ones. This is useful if you are auctioning the same slots through multiple header bidding libraries. Note: you must take care to not re-use the same transaction IDs across different ad units or auctions. Here's a simplified example passing a tid through the [requestBids](/dev-docs/publisher-api-reference/requestBids.html) function:
276-
277-
```javascript
278-
const tid = crypto.randomUUID();
279-
pbjs.requestBids({
280-
adUnits: [{
281-
code: 'test-div',
282-
// ...
283-
ortb2Imp: {
284-
ext: {
285-
tid: tid
286-
}
287-
}
288-
}]
289-
});
290-
// reuse `tid` when auctioning `test-div` through some other header bidding wrapper
291-
```
292-
293275
{: .alert.alert-info :}
294276
Prebid does not support AdUnit-specific **user** data, nor does it support
295277
bidder-specific AdUnit First Party Data. You could implement either of

0 commit comments

Comments
 (0)