diff --git a/openrtb_ext/bidders.go b/openrtb_ext/bidders.go index 9e86ad86ec..fd7893a5a5 100644 --- a/openrtb_ext/bidders.go +++ b/openrtb_ext/bidders.go @@ -276,7 +276,8 @@ const ( BidderReservedPrebid BidderName = "prebid" // Reserved for Prebid Server configuration. BidderReservedSKAdN BidderName = "skadn" // Reserved for Apple's SKAdNetwork OpenRTB extension. BidderReservedTID BidderName = "tid" // Reserved for Per-Impression Transactions IDs for Multi-Impression Bid Requests. - BidderReservedAE BidderName = "ae" // Reserved for FLEDGE Auction Environment + BidderReservedAE BidderName = "ae" // Reserved for PAAPI Auction Environment. + BidderReservedIGS BidderName = "igs" // Reserved for PAAPI Interest Group Seller object. ) // IsBidderNameReserved returns true if the specified name is a case insensitive match for a reserved bidder name. @@ -317,10 +318,14 @@ func IsBidderNameReserved(name string) bool { return true } + if strings.EqualFold(name, string(BidderReservedIGS)) { + return true + } + return false } -// IsPotentialBidder returns true if the name is not reserved witbin the imp[].ext context +// IsPotentialBidder returns true if the name is not reserved within the imp[].ext context func IsPotentialBidder(name string) bool { switch BidderName(name) { case BidderReservedContext: @@ -337,6 +342,8 @@ func IsPotentialBidder(name string) bool { return false case BidderReservedAE: return false + case BidderReservedIGS: + return false default: return true }