Documentation ¶
Index ¶
- func AddTargetingKey(bid *openrtb2.Bid, key openrtb_ext.TargetingKey, value string) error
- func ConvertAPRCToNBRC(bidStatus int64) *openrtb3.NoBidReason
- func ConvertToV25VideoRequest(request *openrtb2.BidRequest)
- func NewDynamicAdpod(pubId string, imp openrtb2.Imp, adpodExt openrtb_ext.ExtVideoAdPod, ...) *dynamicAdpod
- func NewStructuredAdpod(pubId string, metricsEngine metrics.MetricsEngine, ...) *structuredAdpod
- type Adpod
- type AdpodCtx
- type Exclusion
- type PodType
- type Slot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTargetingKey ¶
func AddTargetingKey(bid *openrtb2.Bid, key openrtb_ext.TargetingKey, value string) error
func ConvertAPRCToNBRC ¶
func ConvertAPRCToNBRC(bidStatus int64) *openrtb3.NoBidReason
ConvertAPRCToNBRC converts the aprc to NonBidStatusCode
func ConvertToV25VideoRequest ¶
func ConvertToV25VideoRequest(request *openrtb2.BidRequest)
func NewDynamicAdpod ¶
func NewDynamicAdpod(pubId string, imp openrtb2.Imp, adpodExt openrtb_ext.ExtVideoAdPod, metricsEngine metrics.MetricsEngine, reqAdpodExt *openrtb_ext.ExtRequestAdPod) *dynamicAdpod
func NewStructuredAdpod ¶
func NewStructuredAdpod(pubId string, metricsEngine metrics.MetricsEngine, reqAdpodExt *openrtb_ext.ExtRequestAdPod) *structuredAdpod
Types ¶
type Adpod ¶
type Adpod interface { GetPodType() PodType AddImpressions(imp openrtb2.Imp) Validate() []error GetImpressions() []openrtb2.Imp CollectBid(bid *openrtb2.Bid, seat string) HoldAuction() GetAdpodSeatBids() []openrtb2.SeatBid GetAdpodExtension(blockedVastTagID map[string]map[string][]string) *types.ImpData }
type AdpodCtx ¶
type AdpodCtx struct { PubId string Type PodType Imps []openrtb2.Imp ReqAdpodExt *openrtb_ext.ExtRequestAdPod Exclusion Exclusion MetricsEngine metrics.MetricsEngine }
type PodType ¶
type PodType int8
func GetPodType ¶
func GetPodType(imp openrtb2.Imp, extAdpod openrtb_ext.ExtVideoAdPod) PodType
Click to show internal directories.
Click to hide internal directories.