unruly

package
v0.177.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHeadersToRequest

func AddHeadersToRequest() http.Header

func Builder

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

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

func CheckResponse

func CheckResponse(response *adapters.ResponseData) error

Types

type ImpExtUnruly

type ImpExtUnruly struct {
	Unruly openrtb_ext.ExtImpUnruly `json:"unruly"`
}

type UnrulyAdapter

type UnrulyAdapter struct {
	URI string
}

func (*UnrulyAdapter) BuildRequest

func (a *UnrulyAdapter) BuildRequest(request *openrtb2.BidRequest) (*adapters.RequestData, []error)

func (*UnrulyAdapter) MakeBids

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

func (*UnrulyAdapter) MakeRequests

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

func (*UnrulyAdapter) ReplaceImp

func (a *UnrulyAdapter) ReplaceImp(imp openrtb2.Imp, request *openrtb2.BidRequest) *openrtb2.BidRequest

Jump to

Keyboard shortcuts

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