diff --git a/modules/33acrossBidAdapter.js b/modules/33acrossBidAdapter.js index 96163186b0b..65df8baad2e 100644 --- a/modules/33acrossBidAdapter.js +++ b/modules/33acrossBidAdapter.js @@ -337,8 +337,7 @@ function _buildVideoORTB(bidRequest) { const video = {} - const sizes = videoAdUnit.playerSize || []; - const {w, h} = _getSize(sizes); + const {w, h} = _getSize(videoParams.playerSize[0]); video.w = w; video.h = h; diff --git a/modules/33acrossBidAdapter.md b/modules/33acrossBidAdapter.md index e4ca49de5d8..c01c04251e5 100644 --- a/modules/33acrossBidAdapter.md +++ b/modules/33acrossBidAdapter.md @@ -29,8 +29,8 @@ var adUnits = [ bids: [{ bidder: '33across', params: { - siteId: 'sampleGUID123', - productId: 'siab|inview' + siteId: 'sample33xGUID123456789', + productId: 'siab' } }] } @@ -73,7 +73,7 @@ var adUnits = [ bids: [{ bidder: '33across', params: { - siteId: 'sampleGUID123', + siteId: 'sample33xGUID123456789', productId: 'siab' } }] @@ -123,7 +123,7 @@ var adUnits = [ bids: [{ bidder: '33across', params: { - siteId: 'sampleGUID123', + siteId: 'sample33xGUID123456789', productId: 'siab' } }] @@ -146,7 +146,7 @@ var adUnits = [ bids: [{ bidder: '33across', params: { - siteId: 'sampleGUID123', + siteId: 'sample33xGUID123456789', productId: 'instream' } }] diff --git a/test/spec/modules/33acrossBidAdapter_spec.js b/test/spec/modules/33acrossBidAdapter_spec.js index 17bdc1c538b..edc7b7a2767 100644 --- a/test/spec/modules/33acrossBidAdapter_spec.js +++ b/test/spec/modules/33acrossBidAdapter_spec.js @@ -262,7 +262,7 @@ describe('33acrossBidAdapter:', function () { this.withVideo = (params) => { bidRequests[0].mediaTypes.video = { - playerSize: [300, 250], + playerSize: [[300, 250]], context: 'outstream', ...params };