bidder

package
v0.0.0-...-623499b Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

Handler is an OpenRTB 2.5 test bidder

Types

type TestParams

type TestParams struct {
	// Delay for tmax milliseconds before returning the response
	TMax int `json:"tmax,omitempty"`
}

TestParams schema for parameters for controlling test bidder responses

func ReadTestParams

func ReadTestParams(bidRequest *openrtb2.BidRequest) (params TestParams)

ReadTestParams reads bidder params from site/app.ext (because the adapter may not pass ext entirely)

Jump to

Keyboard shortcuts

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