Skip to content

Commit

Permalink
Fix renderer in rubiconBidAdapter (#8017)
Browse files Browse the repository at this point in the history
  • Loading branch information
smozhaiskyi-rubi committed Feb 8, 2022
1 parent 12f675d commit 90239aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/rubiconBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { getGlobal } from '../src/prebidGlobal.js';

const DEFAULT_INTEGRATION = 'pbjs_lite';
const DEFAULT_PBS_INTEGRATION = 'pbjs';
const DEFAULT_RENDERER_URL = 'https://video-outstream.rubiconproject.com/apex-2.0.0.js';
const DEFAULT_RENDERER_URL = 'https://video-outstream.rubiconproject.com/apex-2.2.1.js';
// renderer code at https://github.com/rubicon-project/apex2

let rubiConf = {};
Expand Down Expand Up @@ -864,7 +864,7 @@ function renderBid(bid) {
height: bid.height,
vastUrl: bid.vastUrl,
placement: {
attachTo: `#${bid.adUnitCode}`,
attachTo: adUnitElement,
align: config.align || 'center',
position: config.position || 'append'
},
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/rubiconBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3262,7 +3262,7 @@ describe('the rubicon adapter', function () {
label: undefined,
placement: {
align: 'left',
attachTo: '#outstream_video1_placement',
attachTo: adUnit,
position: 'append',
},
vastUrl: 'https://test.com/vast.xml',
Expand Down

0 comments on commit 90239aa

Please sign in to comment.