-
Notifications
You must be signed in to change notification settings - Fork 187
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
Kobler: New adapter (#3667) #3684
base: master
Are you sure you want to change the base?
Conversation
src/main/java/org/prebid/server/bidder/kobler/KoblerBidder.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/bidder/kobler/KoblerBidder.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/bidder/kobler/KoblerBidder.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/bidder/kobler/KoblerBidder.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/bidder/kobler/KoblerBidder.java
Outdated
Show resolved
Hide resolved
src/main/java/org/prebid/server/spring/config/bidder/KoblerConfiguration.java
Show resolved
Hide resolved
src/main/java/org/prebid/server/bidder/kobler/KoblerBidder.java
Outdated
Show resolved
Hide resolved
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.
Ping me when you finish addressing the comments, probably this time I commented too early
src/main/java/org/prebid/server/bidder/kobler/KoblerBidder.java
Outdated
Show resolved
Hide resolved
return Result.withErrors(errors); | ||
} | ||
|
||
modifiedRequest = modifiedRequest.toBuilder().imp(modifiedImps).build(); |
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 modify the request once
src/main/java/org/prebid/server/bidder/kobler/KoblerBidder.java
Outdated
Show resolved
Hide resolved
return imp; | ||
} | ||
|
||
public boolean extractTestMode(Imp 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.
why public?
src/main/java/org/prebid/server/bidder/kobler/KoblerBidder.java
Outdated
Show resolved
Hide resolved
try { | ||
final ExtPrebid<?, ExtImpKobler> extPrebid = mapper.mapper().convertValue(imp.getExt(), | ||
KOBLER_EXT_TYPE_REFERENCE); | ||
final ExtImpKobler extImpKobler = extPrebid != null ? extPrebid.getBidder() : 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.
parse the imp.ext
in the same way you did before, please make it in the same style other bidders do
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 changed the code. My question is:
-Can we receive an empty ext in the request? If so, the parseImpExt method will return null. shuould I handle NPE? impExtKobler field is not rerequired.
🔧 Type of changes
✨ What's the context?
#3667