We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug
When the skip property is set to 0 and params.video is undefined then the Criteo adapter crashes.
skip
0
params.video
Prebid.js/modules/criteoBidAdapter.js
Line 324 in 6aa63d6
is responsible for this as 0 is falsy, thus triggering the second statement, which doesn't guard against undefined params.
undefined
Same goes for startdelay
startdelay
Line 328 in 6aa63d6
{ adUnit: { mediaTypes: { video: { context: 'outstream', playerSize: [ [300, 250] ], mimes: ['video/mp4', 'video/MPV', 'video/H264', 'video/webm', 'video/ogg'], minduration: 1, maxduration: 30, playbackmethod: [2, 3, 4, 5, 6], placement: api: [1, 2, 3, 4, 5, 6], protocols: [1, 2, 3, 4, 5, 6, 7, 8], skip: 0 } } } }
Criteo adapter doesn't crash if one bid is misconfigured. Also 0 is a valid configuration option.
💥 🎆 💥
The text was updated successfully, but these errors were encountered:
Hello @muuki88
Thanks for filling the issue, we'll prepare a fix very soon.
Sorry, something went wrong.
Hello @muuki88 ,
It should now be fixed so maybe we could close this issue?
Thanks for the quick bug fix 😘
No branches or pull requests
Type of issue
Bug
Description
When the
skip
property is set to0
andparams.video
is undefined then the Criteo adapter crashes.Prebid.js/modules/criteoBidAdapter.js
Line 324 in 6aa63d6
is responsible for this as
0
is falsy, thus triggering the second statement, which doesn't guard againstundefined
params.Same goes for
startdelay
Prebid.js/modules/criteoBidAdapter.js
Line 328 in 6aa63d6
Steps to reproduce
Expected results
Criteo adapter doesn't crash if one bid is misconfigured.
Also
0
is a valid configuration option.Actual results
💥 🎆 💥
Platform details
The text was updated successfully, but these errors were encountered: