rtbhouse

package
v0.275.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

View Source
const (
	BidderCurrency string = "USD"
)

Variables

This section is empty.

Functions

func Builder

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

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

Types

type RTBHouseAdapter

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

RTBHouseAdapter implements the Bidder interface.

func (*RTBHouseAdapter) MakeBids

func (adapter *RTBHouseAdapter) MakeBids(
	openRTBRequest *openrtb2.BidRequest,
	requestToBidder *adapters.RequestData,
	bidderRawResponse *adapters.ResponseData,
) (
	bidderResponse *adapters.BidderResponse,
	errs []error,
)

MakeBids unpacks the server's response into Bids.

func (*RTBHouseAdapter) MakeRequests

func (adapter *RTBHouseAdapter) MakeRequests(
	openRTBRequest *openrtb2.BidRequest,
	reqInfo *adapters.ExtraRequestInfo,
) (
	requestsToBidder []*adapters.RequestData,
	errs []error,
)

MakeRequests prepares the HTTP requests which should be made to fetch bids.

Jump to

Keyboard shortcuts

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