brightroll

package
v0.180.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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

Types

type Account

type Account struct {
	ID       string   `json:"id"`
	Badv     []string `json:"badv"`
	Bcat     []string `json:"bcat"`
	Battr    []int8   `json:"battr"`
	BidFloor float64  `json:"bidfloor"`
}

type BrightrollAdapter

type BrightrollAdapter struct {
	URI string
	// contains filtered or unexported fields
}

func (*BrightrollAdapter) MakeBids

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

func (*BrightrollAdapter) MakeRequests

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

type ExtraInfo

type ExtraInfo struct {
	Accounts []Account `json:"accounts"`
}

Jump to

Keyboard shortcuts

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