smartyads

package
v0.257.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 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, server config.Server) (adapters.Bidder, error)

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

func GetHeaders

func GetHeaders(request *openrtb2.BidRequest) *http.Header

Types

type SmartyAdsAdapter

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

func (*SmartyAdsAdapter) CheckResponseStatusCodes

func (a *SmartyAdsAdapter) CheckResponseStatusCodes(response *adapters.ResponseData) error

func (*SmartyAdsAdapter) MakeBids

func (a *SmartyAdsAdapter) MakeBids(
	openRTBRequest *openrtb2.BidRequest,
	requestToBidder *adapters.RequestData,
	bidderRawResponse *adapters.ResponseData,
) (
	bidderResponse *adapters.BidderResponse,
	errs []error,
)

func (*SmartyAdsAdapter) MakeRequests

func (a *SmartyAdsAdapter) MakeRequests(
	openRTBRequest *openrtb2.BidRequest,
	reqInfo *adapters.ExtraRequestInfo,
) (
	requestsToBidder []*adapters.RequestData,
	errs []error,
)

Jump to

Keyboard shortcuts

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