diff --git a/src/main/java/com/iab/openrtb/request/Audio.java b/src/main/java/com/iab/openrtb/request/Audio.java index 6cf0b67cef6..58901a625b3 100644 --- a/src/main/java/com/iab/openrtb/request/Audio.java +++ b/src/main/java/com/iab/openrtb/request/Audio.java @@ -186,6 +186,12 @@ public class Audio { */ Integer nvol; + /** + * An array of objects (Section 3.2.35) + * indicating the floor prices for audio creatives of various durations that the buyer may bid with. + */ + List durfloors; + /** * Placeholder for exchange-specific extensions to OpenRTB. */ diff --git a/src/main/java/com/iab/openrtb/request/BidRequest.java b/src/main/java/com/iab/openrtb/request/BidRequest.java index 06603748e90..f021cf5e1e9 100644 --- a/src/main/java/com/iab/openrtb/request/BidRequest.java +++ b/src/main/java/com/iab/openrtb/request/BidRequest.java @@ -138,9 +138,16 @@ public class BidRequest { List wlangb; /** - * Blocked advertiser categories using the specified category taxonomy.

- * The taxonomy to be used is defined by the cattax field. If no cattax - * field is supplied IAB Content Category Taxonomy 1.0 is assumed. + * Allowed advertiser categories using the specified category taxonomy. + * The taxonomy to be used is defined by the cattax field. + * If no cattax field is supplied IAB Content Taxonomy 1.0 is assumed. Only one of acat or bcat should be present. + */ + List acat; + + /** + * Blocked advertiser categories using the specified category taxonomy. + * The taxonomy to be used is defined by the cattax field. + * If no cattax field is supplied IAB Content Taxonomy 1.0 is assumed. Only one of acat or bcat should be present. */ List bcat; diff --git a/src/main/java/com/iab/openrtb/request/Deal.java b/src/main/java/com/iab/openrtb/request/Deal.java index 0dc938a638c..7c510b002c7 100644 --- a/src/main/java/com/iab/openrtb/request/Deal.java +++ b/src/main/java/com/iab/openrtb/request/Deal.java @@ -55,6 +55,24 @@ public class Deal { */ List wadomain; + /** + * Indicates that the deal is of type `guaranteed` and the bidder must bid on the deal, + * where 0 = not a guaranteed deal, 1 = guaranteed deal. + */ + Integer guar; + + /** + * Minimum CPM per second. This is a price floor for video or audio impression opportunities, + * relative to the duration of bids an advertiser may submit. + */ + BigDecimal mincpmpersec; + + /** + * Container for floor price by duration information, + * to be used if a given deal is eligible for video or audio demand. + */ + List durfloors; + /** * Placeholder for exchange-specific extensions to OpenRTB. */ diff --git a/src/main/java/com/iab/openrtb/request/DurFloor.java b/src/main/java/com/iab/openrtb/request/DurFloor.java new file mode 100644 index 00000000000..1c375372129 --- /dev/null +++ b/src/main/java/com/iab/openrtb/request/DurFloor.java @@ -0,0 +1,41 @@ +package com.iab.openrtb.request; + +import com.fasterxml.jackson.databind.node.ObjectNode; +import lombok.Builder; +import lombok.Value; + +import java.math.BigDecimal; + +/** + * This object allows sellers to specify price floors for video and audio creatives, whose price varies based on time. + */ +@Value +@Builder +public class DurFloor { + + /** + * An integer indicating the low end of a duration range. + * If this value is missing, the low end is unbounded. Either mindur or maxdur is required, but not both. + */ + Integer mindur; + + /** + * An integer indicating the high end of a duration range. + * If this value is missing, the high end is unbounded. Either mindur or maxdur is required, but not both. + */ + Integer maxdur; + + /** + * Minimum bid for a given impression opportunity, + * if bidding with a creative in this duration range, expressed in CPM. + * For any creatives whose durations are outside of the defined min/max, + * the `bidfloor` at the `Imp` level will serve as the default floor. + */ + BigDecimal bidfloor; + + /** + * Placeholder for vendor specific extensions to this object + */ + ObjectNode ext; + +} diff --git a/src/main/java/com/iab/openrtb/request/Video.java b/src/main/java/com/iab/openrtb/request/Video.java index 0d59df78671..f967886bf89 100644 --- a/src/main/java/com/iab/openrtb/request/Video.java +++ b/src/main/java/com/iab/openrtb/request/Video.java @@ -254,6 +254,12 @@ public class Video { */ List companiontype; + /** + * An array of objects (Section 3.2.35) + * indicating the floor prices for video creatives of various durations that the buyer may bid with. + */ + List durfloors; + /** * Placeholder for exchange-specific extensions to OpenRTB. */