-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
AdKernelAdn adapter #1747
AdKernelAdn adapter #1747
Conversation
e1f1c0c
to
479dacd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One requested change then this should be good for merge
modules/adkernelAdnBidAdapter.js
Outdated
id: bidRequest.bidId, | ||
tagid: bidRequest.placementCode | ||
}; | ||
if (bidRequest.mediaType === 'video') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should also check for the new mediaTypes
property introduced in #1483 (with something like || (bidRequest.mediaTypes && bidRequest.mediaTypes.video)
or however you'd prefer) in case a pub defines a video adunit with mediaTypes: {video: {}}
rather than mediaType: 'video'
@matthewlane Thanks for code review. I've made proposed changes. |
Type of change
Description of change