diff --git a/modules/openxoutstreamBidAdapter.js b/modules/openxoutstreamBidAdapter.js index 6da234284c6..dde101f25d5 100644 --- a/modules/openxoutstreamBidAdapter.js +++ b/modules/openxoutstreamBidAdapter.js @@ -86,7 +86,9 @@ function buildCommonQueryParamsFromBids(bids, bidderRequest) { auid: '540141567', dddid: utils._map(bids, bid => bid.transactionId).join(','), openrtb: '%7B%22mimes%22%3A%5B%22video%2Fmp4%22%5D%7D', - nocache: new Date().getTime() + nocache: new Date().getTime(), + vht: bids[0].params.height || bids[0].sizes[0][1], + vwd: bids[0].params.width || bids[0].sizes[0][0] }; if (utils.deepAccess(bidderRequest, 'gdprConsent')) { diff --git a/test/spec/modules/openxoutstreamBidAdapter_spec.js b/test/spec/modules/openxoutstreamBidAdapter_spec.js index a1d4f4aa2d4..59d56bee74b 100644 --- a/test/spec/modules/openxoutstreamBidAdapter_spec.js +++ b/test/spec/modules/openxoutstreamBidAdapter_spec.js @@ -99,6 +99,7 @@ describe('OpenXOutstreamAdapter', function () { 'delDomain': 'test-del-domain' }, 'adUnitCode': 'adunit-code', + 'sizes': [300, 250], mediaTypes: { banner: { sizes: [[300, 250], [300, 600]]