adnuntius

package
v2.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 13 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 Adnuntius adapter for the given bidder with the given config.

Types

type Ad struct {
	Bid struct {
		Amount   float64
		Currency string
	}
	NetBid struct {
		Amount float64
	}
	GrossBid struct {
		Amount float64
	}
	DealID          string `json:"dealId,omitempty"`
	AdId            string
	CreativeWidth   string
	CreativeHeight  string
	CreativeId      string
	LineItemId      string
	Html            string
	DestinationUrls map[string]string
}

type AdUnit

type AdUnit struct {
	AuId       string
	TargetId   string
	Html       string
	ResponseId string
	Ads        []Ad
	Deals      []Ad `json:"deals,omitempty"`
}

type AdnResponse

type AdnResponse struct {
	AdUnits []AdUnit
}

type QueryString

type QueryString map[string]string

type RequestExt

type RequestExt struct {
	Bidder adnAdunit `json:"bidder"`
}

Jump to

Keyboard shortcuts

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