Skip to content

Commit

Permalink
Rubicon adapter doc: adding video example (#4091)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretg authored and Mike Chowla committed Aug 21, 2019
1 parent c0c1b3e commit 2096980
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion modules/rubiconBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ globalsupport@rubiconproject.com for more information.
}
]
},{
code: 'test-div',
code: 'test-native-size',
mediaTypes: {
banner: {
sizes: [[300, 50]]
Expand All @@ -53,4 +53,30 @@ globalsupport@rubiconproject.com for more information.
]
}
];
var videoAdUnit = {
code: 'myVideoAdUnit',
mediaTypes: {
video: {
context: 'instream',
playerSize: [640, 480],
mimes: ['video/mp4', 'video/x-ms-wmv']
protocols: [2,5],
maxduration:30,
linearity: 1,
api: [2]
}
},
bids: [{
bidder: 'rubicon',
params: {
accountId: '7780',
siteId: '87184',
zoneId: '413290',
video: {
language: 'en'
}
}
}]
};
```

0 comments on commit 2096980

Please sign in to comment.