From 2d980d392becf5fdb45ea20dae54418ff9a79b2d Mon Sep 17 00:00:00 2001 From: Simon Trasler Date: Sat, 22 Mar 2025 15:41:23 -0700 Subject: [PATCH] Relax oneof constraint added in DurFloors object, added in error --- openrtb-core/src/main/protobuf/openrtb.proto | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/openrtb-core/src/main/protobuf/openrtb.proto b/openrtb-core/src/main/protobuf/openrtb.proto index 182198d..a37f423 100644 --- a/openrtb-core/src/main/protobuf/openrtb.proto +++ b/openrtb-core/src/main/protobuf/openrtb.proto @@ -1991,17 +1991,15 @@ message BidRequest { // apply, it is up to the buyer and seller to coordinate on which floor is // applicable. message DurFloors { - oneof dur_oneof { - // 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. - int32 mindur = 1; - - // 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. - int32 maxdur = 2; - } + // 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. + int32 mindur = 1; + + // 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. + int32 maxdur = 2; // Minimum bid for a given impression opportunity, if bidding with a // creative in this duration range, expressed in CPM. For any creatives