Skip to content

Commit

Permalink
Adding optional width and height to display parameters (#1998)
Browse files Browse the repository at this point in the history
* adding optional size

* no tabs
  • Loading branch information
nissSK authored and matthewlane committed Jan 3, 2018
1 parent 2b1b1fe commit 402877a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/sekindoUMBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export const spec = {
queryString = utils.tryAppendQueryString(queryString, 'hbcb', '1');/// legasy
queryString = utils.tryAppendQueryString(queryString, 'dcpmflr', bidfloor);
queryString = utils.tryAppendQueryString(queryString, 'protocol', protocol);
queryString = utils.tryAppendQueryString(queryString, 'x', bidRequest.params.width);
queryString = utils.tryAppendQueryString(queryString, 'y', bidRequest.params.height);
if (bidRequest.mediaType === 'video' || (typeof bidRequest.mediaTypes == 'object' && typeof bidRequest.mediaTypes.video == 'object')) {
queryString = utils.tryAppendQueryString(queryString, 'x', bidRequest.params.playerWidth);
queryString = utils.tryAppendQueryString(queryString, 'y', bidRequest.params.playerHeight);
Expand Down
2 changes: 2 additions & 0 deletions modules/sekindoUMBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Banner, Outstream and Native formats are supported.
bidder: 'sekindoUM',
params: {
spaceId: 14071
width:300, //optional
weight:250, //optional
}
}]
},
Expand Down

0 comments on commit 402877a

Please sign in to comment.