-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b89797
commit 4c7b77b
Showing
20 changed files
with
746 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/java/org/prebid/server/proto/openrtb/ext/request/DsaPublisherRender.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.prebid.server.proto.openrtb.ext.request; | ||
|
||
public enum DsaPublisherRender { | ||
|
||
NOT_RENDER(0), | ||
COULD_RENDER(1), | ||
WILL_RENDER(2); | ||
|
||
private final int value; | ||
|
||
DsaPublisherRender(final int value) { | ||
this.value = value; | ||
} | ||
|
||
public int getValue() { | ||
return value; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/org/prebid/server/proto/openrtb/ext/request/DsaRequired.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.prebid.server.proto.openrtb.ext.request; | ||
|
||
public enum DsaRequired { | ||
|
||
NOT_REQUIRED(0), | ||
SUPPORTED(1), | ||
REQUIRED(2), | ||
REQUIRED_ONLINE_PLATFORM(3); | ||
|
||
private final int value; | ||
|
||
DsaRequired(final int value) { | ||
this.value = value; | ||
} | ||
|
||
public int getValue() { | ||
return value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/main/java/org/prebid/server/proto/openrtb/ext/response/DsaAdvertiserRender.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.prebid.server.proto.openrtb.ext.response; | ||
|
||
public enum DsaAdvertiserRender { | ||
|
||
NOT_RENDER(0), | ||
WILL_RENDER(1); | ||
|
||
private final int value; | ||
|
||
DsaAdvertiserRender(final int value) { | ||
this.value = value; | ||
} | ||
|
||
public int getValue() { | ||
return value; | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
src/main/java/org/prebid/server/proto/openrtb/ext/response/ExtBidDsa.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package org.prebid.server.proto.openrtb.ext.response; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Value; | ||
import org.prebid.server.proto.openrtb.ext.request.DsaTransparency; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* Defines the contract for bidresponse.seatbid[i].bid[i].ext.dsa | ||
*/ | ||
@Value(staticConstructor = "of") | ||
public class ExtBidDsa { | ||
|
||
/** | ||
* Defines the contract for bidresponse.seatbid[i].bid[i].ext.dsa.behalf | ||
*/ | ||
String behalf; | ||
|
||
/** | ||
* Defines the contract for bidresponse.seatbid[i].bid[i].ext.dsa.paid | ||
*/ | ||
String paid; | ||
|
||
/** | ||
* Defines the contract for bidresponse.seatbid[i].bid[i].ext.dsa.transparency[] | ||
*/ | ||
List<DsaTransparency> transparency; | ||
|
||
/** | ||
* Defines the contract for bidresponse.seatbid[i].bid[i].ext.dsa.adrender | ||
*/ | ||
@JsonProperty("adrender") | ||
Integer adRender; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,5 @@ class BidExt { | |
Prebid prebid | ||
BigDecimal origbidcpm | ||
Currency origbidcur | ||
Dsa dsa | ||
DsaResponse dsa | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.