Skip to content

Commit

Permalink
Core: Add video.poddedupe field (#3424)
Browse files Browse the repository at this point in the history
  • Loading branch information
CTMBNara authored Sep 16, 2024
1 parent a69e3be commit 8ecf1a4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/iab/openrtb/request/Video.java
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,12 @@ public class Video {
*/
List<Integer> companiontype;

/**
* Indicates pod deduplication settings that will be applied to bid responses. Refer to <a href="https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--pod-deduplication-settings-">
* List: Pod Deduplication</a> in AdCOM 1.0.
*/
List<Integer> poddedupe;

/**
* An array of objects (Section 3.2.35)
* indicating the floor prices for video creatives of various durations that the buyer may bid with.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ class Video {
List<Banner> companionad
List<Integer> api
List<Integer> companiontype
@JsonProperty("poddedupe")
List<Integer> podDeduplication

static Video getDefaultVideo() {
new Video(mimes: ["video/mp4"], weight: 300, height: 200)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ class OrtbConverterSpec extends BaseSpec {
mincpmpersec = PBSUtils.randomDecimal
slotinpod = PBSUtils.randomNumber
plcmt = PBSUtils.getRandomEnum(VideoPlcmtSubtype)
podDeduplication = [PBSUtils.randomNumber]
}
}

Expand All @@ -584,6 +585,7 @@ class OrtbConverterSpec extends BaseSpec {
mincpmpersec = PBSUtils.randomDecimal
slotinpod = PBSUtils.randomNumber
plcmt = PBSUtils.getRandomEnum(VideoPlcmtSubtype)
podDeduplication = [PBSUtils.randomNumber, PBSUtils.randomNumber]
}
}

Expand Down

0 comments on commit 8ecf1a4

Please sign in to comment.