improvedigital

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 11 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 Improvedigital adapter for the given bidder with the given config.

Types

type BidExt

type BidExt struct {
	Improvedigital struct {
		LineItemID int    `json:"line_item_id"`
		BuyingType string `json:"buying_type"`
	}
}

BidExt represents Improved Digital bid extension with line item ID and buying type values

type ImpExtBidder

type ImpExtBidder struct {
	Bidder struct {
		PublisherID int `json:"publisherId"`
	}
}

ImpExtBidder represents Improved Digital bid extension with Publisher ID

type ImprovedigitalAdapter

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

func (*ImprovedigitalAdapter) MakeBids

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

MakeBids unpacks the server's response into Bids.

func (*ImprovedigitalAdapter) MakeRequests

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

MakeRequests makes the HTTP requests which should be made to fetch bids.

Jump to

Keyboard shortcuts

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