Skip to content

Commit

Permalink
PBS Bid Adapter: outstream video renderer bugfix (#7038)
Browse files Browse the repository at this point in the history
* PBS Bid Adapter: outstream renderer bugfix

* Update modules/prebidServerBidAdapter/index.js

Co-authored-by: Nepomuk Seiler <muuki88@users.noreply.github.com>

* revert to &&

* remove parens

Co-authored-by: Nepomuk Seiler <muuki88@users.noreply.github.com>
  • Loading branch information
ChrisHuie and muuki88 authored Jul 22, 2021
1 parent f2ab198 commit ad14def
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 @@ -614,7 +614,7 @@ const OPEN_RTB_PROTOCOL = {
}

if (!utils.isEmpty(videoParams)) {
if (videoParams.context === 'outstream' && (!videoParams.renderer || !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 ad14def

Please sign in to comment.