rubicon

package
v0.175.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 17 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builder

func Builder(bidderName openrtb_ext.BidderName, config config.Adapter) (adapters.Bidder, error)

Builder builds a new instance of the Rubicon adapter for the given bidder with the given config.

Types

type ExtImpContext

type ExtImpContext struct {
	Data ExtImpContextData `json:"data,omitempty"`
}

type ExtImpContextData

type ExtImpContextData struct {
	AdSlot string `json:"adslot,omitempty"`
}

type ExtImpWithContext

type ExtImpWithContext struct {
	Context ExtImpContext `json:"context,omitempty"` // First Party Data context
}

type RubiconAdapter

type RubiconAdapter struct {
	URI          string
	XAPIUsername string
	XAPIPassword string
	// contains filtered or unexported fields
}

func NewRubiconLegacyAdapter

func NewRubiconLegacyAdapter(httpConfig *adapters.HTTPAdapterConfig, uri string, xuser string, xpass string, tracker string) *RubiconAdapter

func (*RubiconAdapter) Call

func (a *RubiconAdapter) Call(ctx context.Context, req *pbs.PBSRequest, bidder *pbs.PBSBidder) (pbs.PBSBidSlice, error)

func (*RubiconAdapter) MakeBids

func (a *RubiconAdapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequest *adapters.RequestData, response *adapters.ResponseData) (*adapters.BidderResponse, []error)

func (*RubiconAdapter) MakeRequests

func (a *RubiconAdapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapters.ExtraRequestInfo) ([]*adapters.RequestData, []error)

func (*RubiconAdapter) Name

func (a *RubiconAdapter) Name() string

used for cookies and such

func (*RubiconAdapter) SkipNoCookies

func (a *RubiconAdapter) SkipNoCookies() bool

Jump to

Keyboard shortcuts

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