Skip to content

Commit

Permalink
update doc example for inBanner and inStream examples (prebid#4142)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybootin authored and ecdrsvc committed Sep 6, 2023
1 parent 16f2c60 commit 7fd1d89
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions dev-docs/bidders/seedtag.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pbjs: true
gdpr_supported: true
usp_supported: true
schain_supported: true
safeframes_ok: true
gvl_id: 157
media_types: banner, video
biddercode: seedtag
Expand Down Expand Up @@ -81,3 +82,63 @@ const adUnits = [
}
]
```

## InBanner example
```js
const adUnits = [
{
code: '/21804003197/prebid_test_300x250',
mediaTypes: {
banner: {
sizes: [[300, 250]]
}
},
bids: [
{
bidder: 'seedtag',
params: {
publisherId: '0000-0000-01', // required
adUnitId: '0000', // required
placement: 'inBanner', // required
}
}
]
}
]
```

## inStream example
```js
var adUnits = [{
code: 'video',
mediaTypes: {
video: {
context: 'instream', // required
playerSize: [640, 360], // required
// Video object as specified in OpenRTB 2.5
mimes: ['video/mp4'], // recommended
minduration: 5, // optional
maxduration: 60, // optional
boxingallowed: 1, // optional
skip: 1, // optional
startdelay: 1, // optional
linearity: 1, // optional
battr: [1, 2], // optional
maxbitrate: 10, // optional
playbackmethod: [1], // optional
delivery: [1], // optional
placement: 1, // optional
}
},
bids: [
{
bidder: 'seedtag',
params: {
publisherId: '0000-0000-01', // required
adUnitId: '0000', // required
placement: 'inStream', // required
}
}
]
}];
```

0 comments on commit 7fd1d89

Please sign in to comment.