Documentation ¶
Index ¶
- func Builder(bidderName openrtb_ext.BidderName, config config.Adapter, server config.Server) (adapters.Bidder, error)
- func ContainsAny(raw string, keys []string) bool
- func WrapReqError(errorStr string) *errortypes.BadInput
- func WrapServerError(errorStr string) *errortypes.BadServerResponse
- type AdheseAdapter
- type AdheseBid
- type AdheseExt
- type AdheseOriginData
- type CPM
- type CPMValues
- type Prebid
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Builder ¶
func Builder(bidderName openrtb_ext.BidderName, config config.Adapter, server config.Server) (adapters.Bidder, error)
Builder builds a new instance of the Adhese adapter for the given bidder with the given config.
func ContainsAny ¶
func WrapReqError ¶
func WrapReqError(errorStr string) *errortypes.BadInput
func WrapServerError ¶
func WrapServerError(errorStr string) *errortypes.BadServerResponse
Types ¶
type AdheseAdapter ¶
type AdheseAdapter struct {
// contains filtered or unexported fields
}
func (*AdheseAdapter) MakeBids ¶
func (a *AdheseAdapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequest *adapters.RequestData, response *adapters.ResponseData) (*adapters.BidderResponse, []error)
func (*AdheseAdapter) MakeRequests ¶
func (a *AdheseAdapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapters.ExtraRequestInfo) ([]*adapters.RequestData, []error)
type AdheseOriginData ¶
type AdheseOriginData struct { Priority string `json:"priority"` OrderProperty string `json:"orderProperty"` AdFormat string `json:"adFormat"` AdType string `json:"adType"` AdspaceId string `json:"adspaceId"` LibId string `json:"libId"` SlotID string `json:"slotID,omitempty"` ViewableImpressionCounter string `json:"viewableImpressionCounter"` }
Click to show internal directories.
Click to hide internal directories.