-
Notifications
You must be signed in to change notification settings - Fork 175
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
Add DOOH Support #2580
Add DOOH Support #2580
Conversation
According to the prebid/prebid-server#2532 |
} | ||
|
||
return bidRequest.toBuilder() | ||
// User was already prepared above | ||
.user(bidderPrivacyResult.getUser()) | ||
.device(bidderPrivacyResult.getDevice()) | ||
.imp(prepareImps(bidder, imps, bidRequest, useFirstPartyData, context.getAccount())) | ||
.app(preparedApp) | ||
.site(preparedApp == null ? preparedSite : null) | ||
.app(preparedApp).dooh(preparedDooh).site(preparedSite) |
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.
Each field should be on new line
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.
oh, the class will have more than 2000 lines of codes and checkstyle will fail, should we make the threshold lower?
src/main/java/org/prebid/server/auction/mediatypeprocessor/BidderMediaTypeProcessor.java
Outdated
Show resolved
Hide resolved
return bidRequest.getApp() != null ? MetricName.openrtb2app : MetricName.openrtb2web; | ||
if (bidRequest.getApp() != null) { | ||
return MetricName.openrtb2app; | ||
} else if (bidRequest.getDooh() != 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.
Super small but we expect to have 99.99% requests of site and app types
So please make if(site) before if(dooh)
Also I think it would be great if we will throw some exception by default, and have explicit checks for each mediaType before this default statement
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.
imho an exception here gonna be duplicate the request validator logic
src/main/java/org/prebid/server/proto/openrtb/ext/request/ExtDooh.java
Outdated
Show resolved
Hide resolved
cc1468c
to
b5d57ff
Compare
6f89744
to
b5d57ff
Compare
src/main/java/org/prebid/server/privacy/gdpr/TcfDefinerService.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/deals/targeting/RequestContext.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/validation/RequestValidator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/validation/RequestValidator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/spring/config/bidder/Generic26BidderConfiguration.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/spring/config/bidder/util/BidderDepsAssembler.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/privacy/gdpr/TcfDefinerService.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/spring/config/bidder/util/BidderDepsAssembler.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/spring/config/bidder/util/BidderDepsAssembler.java
Outdated
Show resolved
Hide resolved
src/test/java/org/prebid/server/auction/ExchangeServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/prebid/server/auction/ExchangeServiceTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/prebid/server/auction/mediatypeprocessor/BidderMediaTypeProcessorTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/prebid/server/auction/requestfactory/Ortb2ImplicitParametersResolverTest.java
Outdated
Show resolved
Hide resolved
bbe9025
to
f1b5d11
Compare
2b153c1
to
caec98f
Compare
# Conflicts: # src/main/java/org/prebid/server/auction/ExchangeService.java
No description provided.