Skip to content

Commit

Permalink
OpenX Bid Adapter: remove use of deprecated video.placement (prebid#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
bwschmidt authored and DecayConstant committed Jul 18, 2024
1 parent d469e1e commit bc30b21
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions modules/openxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,6 @@ const converter = ortbConverter({
bidRequest = {...bidRequest, mediaTypes: {[VIDEO]: videoParams}}
}
orig(imp, bidRequest, context);
if (imp.video && videoParams?.context === 'outstream') {
imp.video.placement = imp.video.placement || 4;
}
}
}
}
Expand Down
1 change: 0 additions & 1 deletion test/spec/modules/openxBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,6 @@ describe('OpenxRtbAdapter', function () {
skipafter: 4,
minduration: 10,
maxduration: 30,
placement: 4,
protocols: [8],
w: 300,
h: 250
Expand Down

0 comments on commit bc30b21

Please sign in to comment.