triplelift_native

package
v2.31.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 8 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 TripleliftNative adapter for the given bidder with the given config.

Types

type ExtImp added in v2.25.0

type ExtImp struct {
	*adapters.ExtImpBidder
	Data *ExtImpData `json:"data,omitempty"`
}

type ExtImpData added in v2.25.0

type ExtImpData struct {
	TagCode string `json:"tag_code"`
}

type TripleliftInnerExt

type TripleliftInnerExt struct {
	Format int `json:"format"`
}

type TripleliftNativeAdapter

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

func (*TripleliftNativeAdapter) MakeBids

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

func (*TripleliftNativeAdapter) MakeRequests

type TripleliftNativeExtInfo

type TripleliftNativeExtInfo struct {
	// Array is used for deserialization.
	PublisherWhitelist []string `json:"publisher_whitelist"`

	// Map is used for optimized memory access and should be constructed after deserialization.
	PublisherWhitelistMap map[string]struct{}
}

type TripleliftRespExt

type TripleliftRespExt struct {
	Triplelift TripleliftInnerExt `json:"triplelift_pb"`
}

Jump to

Keyboard shortcuts

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