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

Criteo Bid Adapter: update adapter to use mediaTypes.video instead of custom parameters #6778

Merged
merged 1 commit into from
May 19, 2021

Conversation

leonardlabat
Copy link
Contributor

Type of change

  • Feature

Description of change

Updated adapter to use mediaTypes.video instead of custom parameters.
Reading from custom parameters is kep for now to ensure backward compatibility. Documentation will be updated once PBJS 5.0 will be released.

@ChrisHuie ChrisHuie changed the title [criteo] Updated adapter to use mediaTypes.video instead of custom parameters Criteo Bid Adapter: update adapter to use mediaTypes.video instead of custom parameters May 18, 2021
@@ -311,15 +311,14 @@ function buildCdbRequest(context, bidRequests, bidderRequest) {
mimes: bidRequest.mediaTypes.video.mimes,
protocols: bidRequest.mediaTypes.video.protocols,
maxduration: bidRequest.mediaTypes.video.maxduration,
api: bidRequest.mediaTypes.video.api
api: bidRequest.mediaTypes.video.api,
skip: bidRequest.mediaTypes.video.skippable || bidRequest.params.video.skip,
Copy link
Collaborator

Choose a reason for hiding this comment

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

openrtb = skip

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @patmmccann , fixed

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.

OpenRTB parameter is skip, feel free to support skippable as well

#5237

@patmmccann patmmccann self-requested a review May 19, 2021 16:22
@patmmccann patmmccann self-assigned this May 19, 2021
@patmmccann patmmccann merged commit 22ad110 into prebid:prebid-5.0 May 19, 2021
@patmmccann
Copy link
Collaborator

@leonardlabat could you also address #6650 please

@gglas
Copy link

gglas commented Jun 2, 2021

hey @leonardlabat wanted to follow up here - will you be able to add the adomain stub in the next week?

@patmmccann
Copy link
Collaborator

it got merged already #6915

@leonardlabat
Copy link
Contributor Author

Yep exactly
Thanks @patmmccann for the quick answer

@gglas
Copy link

gglas commented Jun 2, 2021

perfect thank you both

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants