Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmpObject ¶
type AmpObject struct { Status int Errors []error Request *openrtb2.BidRequest AuctionResponse *openrtb2.BidResponse AmpTargetingValues map[string]string Origin string StartTime time.Time }
Loggable object of a transaction at /openrtb2/amp endpoint
type Analytics ¶
type Analytics string
Analytics indicates if the notification event should be handled or not
type AuctionObject ¶
type AuctionObject struct { Status int Errors []error Request *openrtb2.BidRequest Response *openrtb2.BidResponse Account *config.Account StartTime time.Time }
Loggable object of a transaction at /openrtb2/auction endpoint
type CookieSyncBidder ¶ added in v0.173.0
type CookieSyncBidder struct { BidderCode string `json:"bidder"` NoCookie bool `json:"no_cookie,omitempty"` UsersyncInfo *UsersyncInfo `json:"usersync,omitempty"` }
type CookieSyncObject ¶
type CookieSyncObject struct { Status int Errors []error BidderStatus []*CookieSyncBidder }
Loggable object of a transaction at /cookie_sync
type EventRequest ¶
type EventRequest struct { Type EventType `json:"type,omitempty"` Format ResponseFormat `json:"format,omitempty"` Analytics Analytics `json:"analytics,omitempty"` BidID string `json:"bidid,omitempty"` AccountID string `json:"account_id,omitempty"` Bidder string `json:"bidder,omitempty"` Timestamp int64 `json:"timestamp,omitempty"` Integration string `json:"integration,omitempty"` }
type EventType ¶
type EventType string
EventType enumerates the values of events Prebid Server can receive for an ad.
type NotificationEvent ¶
type NotificationEvent struct { Request *EventRequest `json:"request"` Account *config.Account `json:"account"` }
NotificationEvent is a loggable object
type PBSAnalyticsModule ¶
type PBSAnalyticsModule interface { LogAuctionObject(*AuctionObject) LogVideoObject(*VideoObject) LogCookieSyncObject(*CookieSyncObject) LogSetUIDObject(*SetUIDObject) LogAmpObject(*AmpObject) LogNotificationEventObject(*NotificationEvent) }
type ResponseFormat ¶
type ResponseFormat string
ResponseFormat enumerates the values of a Prebid Server event.
const ( // Blank describes an event which returns an HTTP 200 with an empty body. Blank ResponseFormat = "b" // Image describes an event which returns an HTTP 200 with a PNG body. Image ResponseFormat = "i" )
type SetUIDObject ¶
Loggable object of a transaction at /setuid
type UsersyncInfo ¶ added in v0.173.0
type VideoObject ¶
type VideoObject struct { Status int Errors []error Request *openrtb2.BidRequest Response *openrtb2.BidResponse VideoRequest *openrtb_ext.BidRequestVideo VideoResponse *openrtb_ext.BidResponseVideo StartTime time.Time }
Loggable object of a transaction at /openrtb2/video endpoint
Click to show internal directories.
Click to hide internal directories.