consumable

package
v0.205.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 3

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 Consumable adapter for the given bidder with the given config.

Types

type ConsumableAdapter

type ConsumableAdapter struct {
	// contains filtered or unexported fields
}

func (*ConsumableAdapter) MakeBids

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

internal original request in OpenRTB, external = result of us having converted it (what comes out of MakeRequests)

func (*ConsumableAdapter) MakeRequests

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

Jump to

Keyboard shortcuts

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