Documentation ¶
Index ¶
Constants ¶
View Source
const ( ImpExtAdUnitKey = "dfp_ad_unit_code" AdServerGAM = "gam" )
View Source
const MAX_IMPRESSIONS_PUBMATIC = 30
Variables ¶
This section is empty.
Functions ¶
func Builder ¶
func Builder(bidderName openrtb_ext.BidderName, config config.Adapter) (adapters.Bidder, error)
Builder builds a new instance of the Pubmatic adapter for the given bidder with the given config.
Types ¶
type ExtAdServer ¶ added in v0.164.0
type ExtData ¶ added in v0.164.0
type ExtData struct { AdServer *ExtAdServer `json:"adserver"` PBAdSlot string `json:"pbadslot"` }
type ExtImpBidderPubmatic ¶ added in v0.164.0
type ExtImpBidderPubmatic struct { adapters.ExtImpBidder Data *ExtData `json:"data,omitempty"` }
type PubmaticAdapter ¶
type PubmaticAdapter struct {
URI string
}
func (*PubmaticAdapter) MakeBids ¶
func (a *PubmaticAdapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequest *adapters.RequestData, response *adapters.ResponseData) (*adapters.BidderResponse, []error)
func (*PubmaticAdapter) MakeRequests ¶
func (a *PubmaticAdapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapters.ExtraRequestInfo) ([]*adapters.RequestData, []error)
Click to show internal directories.
Click to hide internal directories.