Documentation ¶
Index ¶
Constants ¶
This section is empty.
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 Grid adapter for the given bidder with the given config.
func NewGridSyncer ¶
func NewGridSyncer(temp *template.Template) usersync.Usersyncer
Types ¶
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"` }
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.
Click to show internal directories.
Click to hide internal directories.