adnuntius

package
v4.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 14 Imported by: 1

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
	AdvertiserDomains []string
	Advertiser        adnAdvertiser `json:"advertiser,omitempty"`
}

type AdUnit

type AdUnit struct {
	AuId           string
	TargetId       string
	Html           string
	MatchedAdCount int
	ResponseId     string
	NativeJson     json.RawMessage `json:"nativeJson,omitempty"`
	Ads            []Ad
	Deals          []Ad `json:"deals,omitempty"`
}

type AdnResponse

type AdnResponse struct {
	AdUnits []AdUnit
}

type NativeRequest

type NativeRequest struct {
	Ortb json.RawMessage `json:"ortb,omitempty"`
}

type QueryString

type QueryString map[string]string

type RequestExt

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

Jump to

Keyboard shortcuts

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