github.com/prebid/prebid-server/v2@v2.18.0/openrtb_ext/imp_pubmatic.go (about) 1 package openrtb_ext 2 3 import "encoding/json" 4 5 // ExtImpPubmatic defines the contract for bidrequest.imp[i].ext.prebid.bidder.pubmatic 6 // PublisherId is mandatory parameters, others are optional parameters 7 // AdSlot is identifier for specific ad placement or ad tag 8 // Keywords is bid specific parameter, 9 // WrapExt needs to be sent once per bid request 10 11 type ExtImpPubmatic struct { 12 PublisherId string `json:"publisherId"` 13 AdSlot string `json:"adSlot"` 14 Dctr string `json:"dctr"` 15 PmZoneID string `json:"pmzoneid"` 16 WrapExt json.RawMessage `json:"wrapper,omitempty"` 17 Keywords []*ExtImpPubmaticKeyVal `json:"keywords,omitempty"` 18 Kadfloor string `json:"kadfloor,omitempty"` 19 } 20 21 // ExtImpPubmaticKeyVal defines the contract for bidrequest.imp[i].ext.prebid.bidder.pubmatic.keywords[i] 22 type ExtImpPubmaticKeyVal struct { 23 Key string `json:"key,omitempty"` 24 Values []string `json:"value,omitempty"` 25 }