Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBS bid adapter: revised outstream unit test for 7038 #7208

Merged
merged 10 commits into from
Jul 23, 2021
Prev Previous commit
Next Next commit
remove parens
  • Loading branch information
ChrisHuie authored Jul 22, 2021

Verified

This commit was signed with the committer’s verified signature.
oz123 Oz Tiram
commit d9196484c8194ac84f40a6dda5eede7529120e0d
2 changes: 1 addition & 1 deletion modules/prebidServerBidAdapter/index.js
Original file line number Diff line number Diff line change
@@ -607,7 +607,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 {