Skip to content

Commit

Permalink
Telaria: Added SupplyChain Object documentation (#1458)
Browse files Browse the repository at this point in the history
* Changed the name of the file from tremor to telaria (Company was renamed) and updated the documentation

* - Added back the documentation for the older (prebid 0.x) adapter

* Removed the parameter section from the doc because they can change. Pubs using our adapter can login to our console to get a list of params.

* adding link

made the reference to tremor a link, don't need the 1.0 note in the description -- moving to the prebid_1_0_supported flag

* Updated to set gdpr_supported: true.

* added a telaria prebid example.

* - Added a section about SupplyChain Object

* updated the documentation and added the different ways of passing the schain object
  • Loading branch information
telariaEng authored and bretg committed Sep 27, 2019
1 parent 0f60664 commit ad9ede6
Showing 1 changed file with 58 additions and 2 deletions.
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

0 comments on commit ad9ede6

Please sign in to comment.