Skip to content

Commit

Permalink
Accept outstream renderers defined in mediatype for PBS (#6896)
Browse files Browse the repository at this point in the history
  • Loading branch information
hnkhandev authored Jun 1, 2021
1 parent e414946 commit 6e203ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/prebidServerBidAdapter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ const OPEN_RTB_PROTOCOL = {
}

if (!utils.isEmpty(videoParams)) {
if (videoParams.context === 'outstream' && !adUnit.renderer) {
if (videoParams.context === 'outstream' && (!videoParams.renderer || !adUnit.renderer)) {
// Don't push oustream w/o renderer to request object.
utils.logError('Outstream bid without renderer cannot be sent to Prebid Server.');
} else {
Expand Down

0 comments on commit 6e203ea

Please sign in to comment.