-
Notifications
You must be signed in to change notification settings - Fork 766
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
New adapter: MinuteMedia #3399
New adapter: MinuteMedia #3399
Conversation
Code coverage summaryNote:
minutemediaRefer here for heat map coverage report
|
adapters/minutemedia/minutemediatest/supplemental/missing-org.json
Outdated
Show resolved
Hide resolved
adapters/minutemedia/minutemediatest/supplemental/missing-mtype.json
Outdated
Show resolved
Hide resolved
adapters/minutemedia/minutemediatest/exemplary/banner-and-video-app.json
Show resolved
Hide resolved
Code coverage summaryNote:
minutemediaRefer here for heat map coverage report
|
6b9e29b
to
64c4013
Compare
Code coverage summaryNote:
minutemediaRefer here for heat map coverage report
|
|
||
func extractOrg(openRTBRequest *openrtb2.BidRequest) (string, error) { | ||
var err error | ||
for _, imp := range openRTBRequest.Imp { |
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.
Please confirm that if there are multiple impressions than are you extracting org from the first imp ext that has an org. Or do you intent to validate that org should be same for all the imps in a request?
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.
I added minLength of 1 to the JSON schema as suggested by @SyntaxNode, so now all imps will have to have the org, right?
Either way, we expect that the publishers will send their ID in the org
parameter and that it will be the same for all imps, no need to validate that IMO, we'll just use the first one.
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.
so now all imps will have to have the org, right?
Correct.
we expect that the publishers will send their ID in the org parameter and that it will be the same for all imps
There is no guarantee publishers will make it the same for all impressions. At the very least, please make this expectation clear in your separate bidder docs PR.
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.
@SyntaxNode I think we're good, this expectation is defined and clear in the docs: https://github.com/prebid/prebid.github.io/blob/master/dev-docs/bidders/minutemedia.md
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.
Requesting few minor changes and verifications. Rest looks good to me!
Code coverage summaryNote:
minutemediaRefer here for heat map coverage report
|
No description provided.