pubmatic

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImpExtAdUnitKey = "dfp_ad_unit_code"
	AdServerGAM     = "gam"
	AdServerKey     = "adserver"
	PBAdslotKey     = "pbadslot"
)
View Source
const MAX_IMPRESSIONS_PUBMATIC = 30

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

Types

type ExtAdServer

type ExtAdServer struct {
	Name   string `json:"name"`
	AdSlot string `json:"adslot"`
}

type ExtImpBidderPubmatic

type ExtImpBidderPubmatic struct {
	adapters.ExtImpBidder
	Data json.RawMessage `json:"data,omitempty"`
	AE   int             `json:"ae,omitempty"`
	GpId string          `json:"gpid,omitempty"`
}

type PubmaticAdapter

type PubmaticAdapter struct {
	URI string
	// contains filtered or unexported fields
}

func (*PubmaticAdapter) MakeBids

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

func (*PubmaticAdapter) MakeRequests

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

Jump to

Keyboard shortcuts

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