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

Telaria: Added SupplyChain Object documentation #1458

Merged
merged 12 commits into from
Sep 27, 2019
Merged
60 changes: 58 additions & 2 deletions dev-docs/bidders/telaria.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,61 @@ var adUnit = {
"params": {
"supplyCode": "ssp-demo-rm6rh",
"adCode": "ssp-!demo!-lufip",
"videoId": "MyCoolVideo"
// Other params go here
"videoId": "MyCoolVideo"
}
}]
}
```
### Supply Chain Object:
```javascript
// There are two ways of passing the SupplyChain Object to our adapter:
// 1) set it in the config
pbjs.setConfig({
"schain": {
"ver":"1.0",
"complete": 1,
"nodes": [
{
"asi":"indirectseller.com",
"sid":"00001",
"hp":1
}
]
}
});

// 2) pass it in the params object of the adunit:
var adUnit = {
"code": "video1",
"mediaTypes": {
"video": {
"playerSize": [640, 480],
"context": "instream"
}
},
"bids": [{
"bidder": "telaria",
"params": {
"supplyCode": "ssp-demo-rm6rh",
"adCode": "ssp-!demo!-lufip",
"videoId": "MyCoolVideo",
// Other params go here,
"schain" : {
"ver":"1.0",
"complete":1,
"nodes":[
{
"asi":"exchange1.com",
"sid":"1234",
"hp":1
},
{
"asi":"exchange2.com",
"sid":"abcd",
"hp":1
}
]
}
}
}]
}
Expand All @@ -51,3 +104,6 @@ var adUnit = {
+ `1` : Streaming
+ `2` : Progressive
+ `3` : Download

### Supply Chain Object
The adapter has been enhanced to accept the supply chain object (schain) if provided. Please refer to [SupplyChain for Non RTB Requests](https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/supplychainobject.md#supplychain-for-non-openrtb-requests) for more information