smartadserver

package
v0.182.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

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

Types

type SmartAdserverAdapter

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

func (*SmartAdserverAdapter) BuildEndpointURL

func (a *SmartAdserverAdapter) BuildEndpointURL(params *openrtb_ext.ExtImpSmartadserver) (string, error)

BuildEndpointURL : Builds endpoint url

func (*SmartAdserverAdapter) MakeBids

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

MakeBids unpacks the server's response into Bids.

func (*SmartAdserverAdapter) MakeRequests

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

MakeRequests makes 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