unruly

package
v0.0.0-...-ea31b78 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHeadersToRequest

func AddHeadersToRequest() http.Header

func CheckResponse

func CheckResponse(response *adapters.ResponseData) error

func GetClient

func GetClient(config *adapters.HTTPAdapterConfig) *http.Client

func NewUnrulySyncer

func NewUnrulySyncer(temp *template.Template) usersync.Usersyncer

Types

type ImpExtUnruly

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

type UnrulyAdapter

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

func NewUnrulyAdapter

func NewUnrulyAdapter(config *adapters.HTTPAdapterConfig, endpoint string) *UnrulyAdapter

func NewUnrulyBidder

func NewUnrulyBidder(client *http.Client, endpoint string) *UnrulyAdapter

func (*UnrulyAdapter) BuildRequest

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

func (*UnrulyAdapter) MakeBids

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

func (*UnrulyAdapter) MakeRequests

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

func (*UnrulyAdapter) Name

func (a *UnrulyAdapter) Name() string

func (*UnrulyAdapter) ReplaceImp

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

func (*UnrulyAdapter) SkipNoCookies

func (a *UnrulyAdapter) SkipNoCookies() bool

Jump to

Keyboard shortcuts

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