mgid

package
v2.0.2 Latest Latest
Warning

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

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

README

Please contact prebid@mgid.com if you would like to build and deploy Prebid server and use it with Mgid.

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

Types

type MgidAdapter

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

func (*MgidAdapter) MakeBids

func (a *MgidAdapter) MakeBids(bidReq *openrtb2.BidRequest, unused *adapters.RequestData, response *adapters.ResponseData) (*adapters.BidderResponse, []error)

func (*MgidAdapter) MakeRequests

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

type ReqExt

type ReqExt struct {
	PlacementId string `json:"placementId"`
	AccountId   string `json:"accountId"`
}

type RespBidExt

type RespBidExt struct {
	CreativeType openrtb_ext.BidType `json:"crtype"`
}

Jump to

Keyboard shortcuts

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