sharethrough

package
v0.172.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 20 Imported by: 3

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

func NewSharethroughSyncer

func NewSharethroughSyncer(temp *template.Template) usersync.Usersyncer

Types

type ButlerRequestBody

type ButlerRequestBody struct {
	BlockedAdvDomains []string `json:"badv,omitempty"`
	MaxTimeout        int64    `json:"tmax"`
	Deadline          string   `json:"deadline"`
	BidFloor          float64  `json:"bidfloor,omitempty"`
}

type Clock

type Clock struct{}

type ClockInterface

type ClockInterface interface {
	// contains filtered or unexported methods
}

type SharethroughAdapter

type SharethroughAdapter struct {
	AdServer StrOpenRTBInterface
}

func (SharethroughAdapter) MakeBids

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

func (SharethroughAdapter) MakeRequests

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

type StrAdServerUriInterface

type StrAdServerUriInterface interface {
	// contains filtered or unexported methods
}

type StrAdSeverParams

type StrAdSeverParams struct {
	Pkey               string
	BidID              string
	GPID               string
	ConsentRequired    bool
	ConsentString      string
	USPrivacySignal    string
	InstantPlayCapable bool
	Iframe             bool
	Height             uint64
	Width              uint64
	TheTradeDeskUserId string
	SharethroughUserId string
}

type StrBodyHelper

type StrBodyHelper struct {
	Clock ClockInterface
}

type StrOpenRTBInterface

type StrOpenRTBInterface interface {
	// contains filtered or unexported methods
}

type StrOpenRTBTranslator

type StrOpenRTBTranslator struct {
	UriHelper        StrAdServerUriInterface
	Util             UtilityInterface
	UserAgentParsers UserAgentParsers
}

type StrUriHelper

type StrUriHelper struct {
	BaseURI string
	Clock   ClockInterface
}

type UserAgentParsers

type UserAgentParsers struct {
	ChromeVersion    *regexp.Regexp
	ChromeiOSVersion *regexp.Regexp
	SafariVersion    *regexp.Regexp
}

type Util

type Util struct {
	Clock ClockInterface
}

type UtilityInterface

type UtilityInterface interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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