-
Notifications
You must be signed in to change notification settings - Fork 181
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
Implement Outbrain bidder #1229
Conversation
|
||
final Site site = bidRequest.getSite(); | ||
final App app = bidRequest.getApp(); | ||
if (bidRequest.getSite() != null) { |
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.
Use site instead.
|
||
private static BidRequest updateBidRequest(BidRequest bidRequest, List<Imp> imps, ExtImpOutbrain extImpOutbrain) { | ||
final BidRequest.BidRequestBuilder bidRequestBuilder = bidRequest.toBuilder(); | ||
final ExtImpOutbrainPublisher extImpPublisher = extImpOutbrain.getPublisher(); |
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.
Can be inlined.
final App app = bidRequest.getApp(); | ||
if (bidRequest.getSite() != null) { | ||
bidRequestBuilder.site(updateSite(site, publisher)); | ||
} else if (bidRequest.getApp() != null) { |
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.
Use app instead.
# Conflicts: # src/test/resources/org/prebid/server/it/test-application.properties
Ported from prebid/prebid-server#1797 and prebid/prebid-server#1774