smartadserver

package
v2.25.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 11 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, server config.Server) (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 {
	Server config.Server
	// 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