-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add processing of imp.ext.data to mediagrid (#1293)
- Loading branch information
nickluck8
authored
Jun 4, 2021
1 parent
5a3dccb
commit ec8a220
Showing
7 changed files
with
108 additions
and
1 deletion.
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
19 changes: 19 additions & 0 deletions
19
src/main/java/org/prebid/server/bidder/grid/model/GridExtImp.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.bidder.grid.model; | ||
|
||
import com.fasterxml.jackson.databind.JsonNode; | ||
import lombok.Builder; | ||
import lombok.Value; | ||
import org.prebid.server.proto.openrtb.ext.request.ExtImpPrebid; | ||
|
||
@Builder(toBuilder = true) | ||
@Value | ||
public class GridExtImp { | ||
|
||
ExtImpPrebid prebid; | ||
|
||
JsonNode bidder; | ||
|
||
GridExtImpData data; | ||
|
||
String gpid; | ||
} |
16 changes: 16 additions & 0 deletions
16
src/main/java/org/prebid/server/bidder/grid/model/GridExtImpData.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,16 @@ | ||
package org.prebid.server.bidder.grid.model; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Value; | ||
|
||
@AllArgsConstructor(staticName = "of") | ||
@Value | ||
public class GridExtImpData { | ||
|
||
@JsonProperty("pbadslot") | ||
String pbAdSlot; | ||
|
||
@JsonProperty("adserver") | ||
GridExtImpDataAdServer adServer; | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/org/prebid/server/bidder/grid/model/GridExtImpDataAdServer.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,15 @@ | ||
package org.prebid.server.bidder.grid.model; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Value; | ||
|
||
@AllArgsConstructor(staticName = "of") | ||
@Value | ||
public class GridExtImpDataAdServer { | ||
|
||
String name; | ||
|
||
@JsonProperty("adslot") | ||
String adSlot; | ||
} |
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