-
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
IX: Set bidVideo when category and duration is available #1274
IX: Set bidVideo when category and duration is available #1274
Conversation
674187b
to
49ae4bb
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.
Pls add unit tests
url: | ||
redirect-url: | ||
url: https://ssum.casalemedia.com/usermatchredir?gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&r= | ||
redirect-url: /setuid?bidder=improvedigital&gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&uid={{uid}} |
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.
You've taken wrong link
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.
Also they have deleted endpoint value, pls set is as https://
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.
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.
bidder=improvedigital
it's wrong link
@@ -46,6 +51,8 @@ | |||
// maximum number of bid requests | |||
private static final int REQUEST_LIMIT = 20; | |||
|
|||
private static final String PREBID = "prebid"; |
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.
You never use this constant
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.
Seems this constant is still never used
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.
Removed
49ae4bb
to
819aa87
Compare
@@ -46,6 +51,8 @@ | |||
// maximum number of bid requests | |||
private static final int REQUEST_LIMIT = 20; | |||
|
|||
private static final String PREBID = "prebid"; |
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.
Seems this constant is still never used
private BidderBid toBidderBid(Bid bid, BidRequest bidRequest, BidResponse bidResponse) { | ||
final BidType bidType = getBidType(bid.getImpid(), bidRequest.getImp()); | ||
|
||
Bid.BidBuilder bidBuilder = bid.toBuilder(); |
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 final
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.
Creating builder is not a cheap operation. Can we update logic to create builder only in case if we really need it?
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.
Still can be final
819aa87
to
1b14554
Compare
private BidderBid toBidderBid(Bid bid, BidRequest bidRequest, BidResponse bidResponse) { | ||
final BidType bidType = getBidType(bid.getImpid(), bidRequest.getImp()); | ||
|
||
Bid.BidBuilder bidBuilder = bid.toBuilder(); |
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.
Still can be final
1b14554
to
89cacc9
Compare
89cacc9
to
d5d292b
Compare
url: | ||
redirect-url: | ||
url: https://ssum.casalemedia.com/usermatchredir?s=189517&gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&cb= | ||
redirect-url: /setuid?bidder=ix&gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&uid= |
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 link contains the GO server macros, not the java ones @RodionOrets
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 guess it should be
/setuid?bidder=ix&gdpr={{gdpr}}&gdpr_consent={{gdpr_consent}}&us_privacy={{us_privacy}}&uid=
prebid/prebid-server#1799
prebid/prebid-server#1794
prebid/prebid-server#1837