types

package
v2.19.0-ow Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdPodBid

type AdPodBid struct {
	Bids          []*Bid
	Price         float64
	Cat           []string
	ADomain       []string
	OriginalImpID string
	SeatName      string
}

AdPodBid combination contains ImpBid

type AdPodBids

type AdPodBids []*AdPodBid

AdPodBids combination contains ImpBid

type Bid

type Bid struct {
	*openrtb2.Bid
	openrtb_ext.ExtBid
	Duration          int
	Status            constant.BidStatus
	DealTierSatisfied bool
	Seat              string
}

Bid openrtb bid object with extra parameters

type BidResponseAdPodExt

type BidResponseAdPodExt struct {
	Response openrtb2.BidResponse `json:"bidresponse,omitempty"`
	Config   map[string]*ImpData  `json:"config,omitempty"`
}

BidResponseAdPodExt object for ctv bidresponse adpod object

type BidsBuckets

type BidsBuckets map[int][]*Bid

BidsBuckets bids bucket

type ExtCTVBidResponse

type ExtCTVBidResponse struct {
	openrtb_ext.ExtBidResponse
	AdPod *BidResponseAdPodExt `json:"adpod,omitempty"`
}

ExtCTVBidResponse object for ctv bid resposne object

type ImpAdPodConfig

type ImpAdPodConfig struct {
	ImpID          string `json:"id,omitempty"`
	SequenceNumber int8   `json:"seq,omitempty"`
	MinDuration    int64  `json:"minduration,omitempty"`
	MaxDuration    int64  `json:"maxduration,omitempty"`
}

ImpAdPodConfig configuration for creating ads in adpod

type ImpData

type ImpData struct {
	//AdPodGenerator
	ImpID           string                        `json:"-"`
	Bid             *AdPodBid                     `json:"-"`
	VideoExt        *openrtb_ext.ExtVideoAdPod    `json:"vidext,omitempty"`
	Config          []*ImpAdPodConfig             `json:"imp,omitempty"`
	BlockedVASTTags map[string][]string           `json:"blockedtags,omitempty"`
	Error           *openrtb_ext.ExtBidderMessage `json:"ec,omitempty"`
}

ImpData example

Jump to

Keyboard shortcuts

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