adquery

package
v2.32.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 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

Builder builds a new instance of the Adquery adapter for the given bidder with the given config.

Types

type AdQueryMediaType

type AdQueryMediaType struct {
	Name   openrtb_ext.BidType `json:"name"`
	Width  string              `json:"width"`
	Height string              `json:"height"`
}

type BidderRequest

type BidderRequest struct {
	V                   string `json:"v"`
	PlacementCode       string `json:"placementCode"`
	AuctionId           string `json:"auctionId,omitempty"`
	BidType             string `json:"type"`
	AdUnitCode          string `json:"adUnitCode"`
	BidQid              string `json:"bidQid"`
	BidId               string `json:"bidId"`
	BidIp               string `json:"bidIp"`
	BidIpv6             string `json:"bidIpv6"`
	BidUa               string `json:"bidUa"`
	Bidder              string `json:"bidder"`
	BidPageUrl          string `json:"bidPageUrl"`
	BidderRequestId     string `json:"bidderRequestId"`
	BidRequestsCount    int    `json:"bidRequestsCount"`
	BidderRequestsCount int    `json:"bidderRequestsCount"`
	Sizes               string `json:"sizes"`
}

type ResponseAdQuery

type ResponseAdQuery struct {
	Data *ResponseData `json:"data"`
}

type ResponseData

type ResponseData struct {
	ReqID     string           `json:"requestId"`
	CrID      int64            `json:"creationId"`
	Currency  string           `json:"currency"`
	CPM       string           `json:"cpm"`
	Code      string           `json:"code"`
	AdQLib    string           `json:"adqLib"`
	Tag       string           `json:"tag"`
	ADomains  []string         `json:"adDomains"`
	DealID    string           `json:"dealid"`
	MediaType AdQueryMediaType `json:"mediaType"`
}

Jump to

Keyboard shortcuts

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