Documentation
¶
Index ¶
- func NewAmpEndpoint(ex exchange.Exchange, validator openrtb_ext.BidderParamValidator, ...) (httprouter.Handle, error)
- func NewEndpoint(ex exchange.Exchange, validator openrtb_ext.BidderParamValidator, ...) (httprouter.Handle, error)
- func NewVideoEndpoint(ex exchange.Exchange, validator openrtb_ext.BidderParamValidator, ...) (httprouter.Handle, error)
- type AmpResponse
- type PodError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAmpEndpoint ¶
func NewAmpEndpoint( ex exchange.Exchange, validator openrtb_ext.BidderParamValidator, requestsById stored_requests.Fetcher, categories stored_requests.CategoryFetcher, cfg *config.Configuration, met pbsmetrics.MetricsEngine, pbsAnalytics analytics.PBSAnalyticsModule, disabledBidders map[string]string, defReqJSON []byte, bidderMap map[string]openrtb_ext.BidderName, ) (httprouter.Handle, error)
NewAmpEndpoint modifies the OpenRTB endpoint to handle AMP requests. This will basically modify the parsing of the request, and the return value, using the OpenRTB machinery to handle everything in between.
func NewEndpoint ¶
func NewEndpoint(ex exchange.Exchange, validator openrtb_ext.BidderParamValidator, requestsById stored_requests.Fetcher, categories stored_requests.CategoryFetcher, cfg *config.Configuration, met pbsmetrics.MetricsEngine, pbsAnalytics analytics.PBSAnalyticsModule, disabledBidders map[string]string, defReqJSON []byte, bidderMap map[string]openrtb_ext.BidderName) (httprouter.Handle, error)
func NewVideoEndpoint ¶
func NewVideoEndpoint(ex exchange.Exchange, validator openrtb_ext.BidderParamValidator, requestsById stored_requests.Fetcher, videoFetcher stored_requests.Fetcher, categories stored_requests.CategoryFetcher, cfg *config.Configuration, met pbsmetrics.MetricsEngine, pbsAnalytics analytics.PBSAnalyticsModule, disabledBidders map[string]string, defReqJSON []byte, bidderMap map[string]openrtb_ext.BidderName) (httprouter.Handle, error)
Types ¶
type AmpResponse ¶
type AmpResponse struct { Targeting map[string]string `json:"targeting"` Debug *openrtb_ext.ExtResponseDebug `json:"debug,omitempty"` Errors map[openrtb_ext.BidderName][]openrtb_ext.ExtBidderError `json:"errors,omitempty"` }
Click to show internal directories.
Click to hide internal directories.