Skip to content

Commit

Permalink
Triplelift Bid Adapter: stop override on placement (#10408)
Browse files Browse the repository at this point in the history
* Update tripleliftBidAdapter.js

* Update tripleliftBidAdapter.js
  • Loading branch information
patmmccann authored Aug 29, 2023
1 parent 0138111 commit 5ef3a17
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/tripleliftBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,12 @@ function _getORTBVideo(bidRequest) {
} catch (err) {
logWarn('Video size not defined', err);
}
if (video.context === 'instream') video.placement = 1;
// honor existing publisher settings
if (video.context === 'instream') {
if (!video.placement) {
video.placement = 1;
}
}
if (video.context === 'outstream') {
if (!video.placement) {
video.placement = 3
Expand Down

0 comments on commit 5ef3a17

Please sign in to comment.