-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
``` ext.prebid.schains: [ { bidders: ["shinyClicks"], schain: { SCHAIN OBJECT }}, { bidders: ["*"], schain: { SCHAIN OBJECT }} ] ``` * pass the correct source.ext.schain to each bidder * remove ext.prebid.schains before sending to the adapter For more information prebid/prebid-server#1091
- Loading branch information
Showing
11 changed files
with
276 additions
and
18 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
26 changes: 26 additions & 0 deletions
26
src/main/java/org/prebid/server/proto/openrtb/ext/request/ExtRequestPrebidSchains.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,26 @@ | ||
package org.prebid.server.proto.openrtb.ext.request; | ||
|
||
import com.fasterxml.jackson.databind.node.ObjectNode; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Value; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* Defines the contract for bidrequest.ext.prebid.schains | ||
*/ | ||
@AllArgsConstructor(staticName = "of") | ||
@Value | ||
public class ExtRequestPrebidSchains { | ||
|
||
/** | ||
* Defines the contract for bidrequest.ext.prebid.schains[i].bidders | ||
*/ | ||
List<String> bidders; | ||
|
||
/** | ||
* Defines the contract for bidrequest.ext.prebid.schains[i].schain | ||
*/ | ||
ObjectNode schain; | ||
} | ||
|
19 changes: 19 additions & 0 deletions
19
src/main/java/org/prebid/server/proto/openrtb/ext/request/ExtSource.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; | ||
|
||
import com.fasterxml.jackson.databind.node.ObjectNode; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Value; | ||
|
||
/** | ||
* Defines the contract for bidrequest.source.ext | ||
*/ | ||
@AllArgsConstructor(staticName = "of") | ||
@Value | ||
public class ExtSource { | ||
|
||
/** | ||
* Defines the contract for bidrequest.source.ext.schain | ||
*/ | ||
ObjectNode schain; | ||
} | ||
|
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
Oops, something went wrong.