Documentation ¶
Index ¶
- Constants
- func NewPubmaticSyncer(temp *template.Template) usersync.Usersyncer
- func PrepareLogMessage(tID, pubId, adUnitId, bidID, details string, args ...interface{}) string
- type PubmaticAdapter
- func (a *PubmaticAdapter) Call(ctx context.Context, req *pbs.PBSRequest, bidder *pbs.PBSBidder) (pbs.PBSBidSlice, error)
- func (a *PubmaticAdapter) MakeBids(internalRequest *openrtb.BidRequest, externalRequest *adapters.RequestData, ...) (*adapters.BidderResponse, []error)
- func (a *PubmaticAdapter) MakeRequests(request *openrtb.BidRequest, reqInfo *adapters.ExtraRequestInfo) ([]*adapters.RequestData, []error)
- func (a *PubmaticAdapter) Name() string
- func (a *PubmaticAdapter) SkipNoCookies() bool
Constants ¶
View Source
const ( INVALID_PARAMS = "Invalid BidParam" MISSING_PUBID = "Missing PubID" MISSING_ADSLOT = "Missing AdSlot" INVALID_WRAPEXT = "Invalid WrapperExt" INVALID_ADSIZE = "Invalid AdSize" INVALID_WIDTH = "Invalid Width" INVALID_HEIGHT = "Invalid Height" INVALID_MEDIATYPE = "Invalid MediaType" INVALID_ADSLOT = "Invalid AdSlot" )
View Source
const MAX_IMPRESSIONS_PUBMATIC = 30
Variables ¶
This section is empty.
Functions ¶
func NewPubmaticSyncer ¶
func NewPubmaticSyncer(temp *template.Template) usersync.Usersyncer
func PrepareLogMessage ¶
Types ¶
type PubmaticAdapter ¶
type PubmaticAdapter struct { URI string // contains filtered or unexported fields }
func NewPubmaticAdapter ¶
func NewPubmaticAdapter(config *adapters.HTTPAdapterConfig, uri string) *PubmaticAdapter
func NewPubmaticBidder ¶
func NewPubmaticBidder(client *http.Client, uri string) *PubmaticAdapter
func (*PubmaticAdapter) Call ¶
func (a *PubmaticAdapter) Call(ctx context.Context, req *pbs.PBSRequest, bidder *pbs.PBSBidder) (pbs.PBSBidSlice, error)
func (*PubmaticAdapter) MakeBids ¶
func (a *PubmaticAdapter) MakeBids(internalRequest *openrtb.BidRequest, externalRequest *adapters.RequestData, response *adapters.ResponseData) (*adapters.BidderResponse, []error)
func (*PubmaticAdapter) MakeRequests ¶
func (a *PubmaticAdapter) MakeRequests(request *openrtb.BidRequest, reqInfo *adapters.ExtraRequestInfo) ([]*adapters.RequestData, []error)
func (*PubmaticAdapter) SkipNoCookies ¶
func (a *PubmaticAdapter) SkipNoCookies() bool
Click to show internal directories.
Click to hide internal directories.