Documentation ¶
Index ¶
- func NewAdapterFromFacebook(config *adapters.HTTPAdapterConfig, partnerID string) adapters.Adapter
- type FacebookAdapter
- func (a *FacebookAdapter) Call(ctx context.Context, req *pbs.PBSRequest, bidder *pbs.PBSBidder) (pbs.PBSBidSlice, error)
- func (a *FacebookAdapter) GenerateRequestsForFacebook(req *pbs.PBSRequest, bidder *pbs.PBSBidder) ([]*openrtb.BidRequest, error)
- func (a *FacebookAdapter) MakeOpenRtbBidRequest(req *pbs.PBSRequest, bidder *pbs.PBSBidder, placementId string, ...) (openrtb.BidRequest, error)
- func (a *FacebookAdapter) Name() string
- func (a *FacebookAdapter) SkipNoCookies() bool
- func (a *FacebookAdapter) SplitAdUnits() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapterFromFacebook ¶
func NewAdapterFromFacebook(config *adapters.HTTPAdapterConfig, partnerID string) adapters.Adapter
Types ¶
type FacebookAdapter ¶
type FacebookAdapter struct { URI string // contains filtered or unexported fields }
func NewFacebookAdapter ¶
func NewFacebookAdapter(config *adapters.HTTPAdapterConfig, partnerID string) *FacebookAdapter
func (*FacebookAdapter) Call ¶
func (a *FacebookAdapter) Call(ctx context.Context, req *pbs.PBSRequest, bidder *pbs.PBSBidder) (pbs.PBSBidSlice, error)
func (*FacebookAdapter) GenerateRequestsForFacebook ¶
func (a *FacebookAdapter) GenerateRequestsForFacebook(req *pbs.PBSRequest, bidder *pbs.PBSBidder) ([]*openrtb.BidRequest, error)
func (*FacebookAdapter) MakeOpenRtbBidRequest ¶
func (a *FacebookAdapter) MakeOpenRtbBidRequest(req *pbs.PBSRequest, bidder *pbs.PBSBidder, placementId string, mtype pbs.MediaType, pubId string, unitInd int) (openrtb.BidRequest, error)
func (*FacebookAdapter) SkipNoCookies ¶
func (a *FacebookAdapter) SkipNoCookies() bool
func (*FacebookAdapter) SplitAdUnits ¶
func (a *FacebookAdapter) SplitAdUnits() bool
Facebook likes to parallelize to minimize latency
Click to show internal directories.
Click to hide internal directories.