-
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
6ef0cab
commit 0f80301
Showing
9 changed files
with
206 additions
and
60 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
7 changes: 4 additions & 3 deletions
7
src/main/java/org/prebid/server/bidder/pubmatic/model/request/PubmaticBidderImpExt.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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
package org.prebid.server.bidder.pubmatic.model.request; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Value; | ||
import org.prebid.server.proto.openrtb.ext.request.pubmatic.ExtImpPubmatic; | ||
|
||
@AllArgsConstructor(staticName = "of") | ||
@Value | ||
@Value(staticConstructor = "of") | ||
public class PubmaticBidderImpExt { | ||
|
||
ExtImpPubmatic bidder; | ||
|
||
PubmaticExtData data; | ||
|
||
Integer ae; | ||
|
||
} |
27 changes: 27 additions & 0 deletions
27
src/main/java/org/prebid/server/bidder/pubmatic/model/response/PubmaticBidResponse.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,27 @@ | ||
package org.prebid.server.bidder.pubmatic.model.response; | ||
|
||
import com.iab.openrtb.response.SeatBid; | ||
import lombok.Builder; | ||
import lombok.Value; | ||
|
||
import java.util.List; | ||
|
||
@Builder(toBuilder = true) | ||
@Value | ||
public class PubmaticBidResponse { | ||
|
||
String id; | ||
|
||
List<SeatBid> seatbid; | ||
|
||
String bidid; | ||
|
||
String cur; | ||
|
||
String customdata; | ||
|
||
Integer nbr; | ||
|
||
PubmaticExtBidResponse ext; | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/org/prebid/server/bidder/pubmatic/model/response/PubmaticExtBidResponse.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.pubmatic.model.response; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.databind.node.ObjectNode; | ||
import lombok.Value; | ||
|
||
import java.util.Map; | ||
|
||
@Value(staticConstructor = "of") | ||
public class PubmaticExtBidResponse { | ||
|
||
@JsonProperty("fledge_auction_configs") | ||
Map<String, ObjectNode> fledgeAuctionConfigs; | ||
|
||
} |
Oops, something went wrong.