Documentation ¶
Index ¶
- func Builder(bidderName openrtb_ext.BidderName, config config.Adapter, server config.Server) (adapters.Bidder, error)
- type ExtBidder
- type ExtBidderGrid
- type ExtImp
- type ExtImpData
- type ExtImpDataAdServer
- type GridAdapter
- type GridBid
- type GridBidExt
- type GridResponse
- type GridSeatBid
- type KeywordSegment
- type Keywords
- type KeywordsPublisher
- type KeywordsPublisherItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExtBidder ¶ added in v0.172.0
type ExtBidder struct {
Grid ExtBidderGrid `json:"grid"`
}
type ExtBidderGrid ¶ added in v0.172.0
type ExtBidderGrid struct {
DemandSource string `json:"demandSource"`
}
type ExtImp ¶
type ExtImp struct { Prebid *openrtb_ext.ExtImpPrebid `json:"prebid,omitempty"` Bidder json.RawMessage `json:"bidder"` Data *ExtImpData `json:"data,omitempty"` Gpid string `json:"gpid,omitempty"` Skadn json.RawMessage `json:"skadn,omitempty"` Context json.RawMessage `json:"context,omitempty"` }
type ExtImpData ¶
type ExtImpData struct { PbAdslot string `json:"pbadslot,omitempty"` AdServer *ExtImpDataAdServer `json:"adserver,omitempty"` }
type ExtImpDataAdServer ¶
type GridAdapter ¶
type GridAdapter struct {
// contains filtered or unexported fields
}
func (*GridAdapter) MakeBids ¶
func (a *GridAdapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequest *adapters.RequestData, response *adapters.ResponseData) (*adapters.BidderResponse, []error)
MakeBids unpacks the server's response into Bids.
func (*GridAdapter) MakeRequests ¶
func (a *GridAdapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapters.ExtraRequestInfo) ([]*adapters.RequestData, []error)
MakeRequests makes the HTTP requests which should be made to fetch bids.
type GridBid ¶ added in v0.191.0
type GridBid struct { *openrtb2.Bid AdmNative json.RawMessage `json:"adm_native,omitempty"` ContentType openrtb_ext.BidType `json:"content_type"` }
type GridBidExt ¶ added in v0.172.0
type GridBidExt struct {
Bidder ExtBidder `json:"bidder"`
}
type GridResponse ¶ added in v0.191.0
type GridResponse struct { *openrtb2.BidResponse SeatBid []GridSeatBid `json:"seatbid,omitempty"` }
type GridSeatBid ¶ added in v0.191.0
type KeywordSegment ¶ added in v0.172.0
type Keywords ¶ added in v0.172.0
type Keywords map[string]KeywordsPublisher
type KeywordsPublisher ¶ added in v0.172.0
type KeywordsPublisher map[string][]KeywordsPublisherItem
type KeywordsPublisherItem ¶ added in v0.172.0
type KeywordsPublisherItem struct { Name string `json:"name"` Segments []KeywordSegment `json:"segments"` }
Click to show internal directories.
Click to hide internal directories.