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

kimberliteBidAdapter: video media type support #11981

Merged
merged 11 commits into from
Jul 17, 2024

Conversation

os-solta
Copy link
Contributor

Type of change

Description of change

Added video media type to kimberliteBidAdapter

Other information

@os-solta
Copy link
Contributor Author

os-solta commented Jul 16, 2024

Hi! I'm not sure about the reason of CI build fail. Could someone help me with the reason please?
No clue about https://app.circleci.com/pipelines/github/prebid/Prebid.js/22080/workflows/5d092571-3bbc-4590-87f9-9e47de680bb7/jobs/39224

@patmmccann
Copy link
Collaborator

Just a flaky test, no worries

if (imp[VIDEO]) {
deepSetValue(imp, 'video.linearity', mediaTypes[VIDEO].linearity || 1);
deepSetValue(imp, 'video.protocols', mediaTypes[VIDEO].protocols || [3, 6]);
deepSetValue(imp, 'video.placement', mediaTypes[VIDEO].placement || 1);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the ortb convertor gives you all these for free, no need to copy them. Is that correct @dgirardi ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is to set default values, which the library does not provide.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see @os-solta these defaults aren't good guesses, you're better off requiring the publisher make a choice

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like i'll just skip these defaults here, thanks.

Copy link
Collaborator

@patmmccann patmmccann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Video defaults on placement and startdelay

if (imp[VIDEO]) {
deepSetValue(imp, 'video.linearity', mediaTypes[VIDEO].linearity || 1);
deepSetValue(imp, 'video.protocols', mediaTypes[VIDEO].protocols || [3, 6]);
deepSetValue(imp, 'video.placement', mediaTypes[VIDEO].placement || 1);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see @os-solta these defaults aren't good guesses, you're better off requiring the publisher make a choice

@patmmccann patmmccann merged commit 40b906d into prebid:master Jul 17, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants