audienceNetwork

package
v0.0.0-...-f16c7e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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) Name

func (a *FacebookAdapter) Name() string

used for cookies and such

func (*FacebookAdapter) SkipNoCookies

func (a *FacebookAdapter) SkipNoCookies() bool

func (*FacebookAdapter) SplitAdUnits

func (a *FacebookAdapter) SplitAdUnits() bool

Facebook likes to parallelize to minimize latency

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL