github.com/prebid/prebid-server/v2@v2.18.0/analytics/pubstack/helpers/model.go (about) 1 package helpers 2 3 import ( 4 "time" 5 6 "github.com/prebid/openrtb/v20/openrtb2" 7 "github.com/prebid/prebid-server/v2/analytics" 8 "github.com/prebid/prebid-server/v2/config" 9 "github.com/prebid/prebid-server/v2/hooks/hookexecution" 10 "github.com/prebid/prebid-server/v2/openrtb_ext" 11 ) 12 13 type logAuction struct { 14 Status int 15 Errors []error 16 Request *openrtb2.BidRequest 17 Response *openrtb2.BidResponse 18 Account *config.Account 19 StartTime time.Time 20 HookExecutionOutcome []hookexecution.StageOutcome 21 } 22 23 type logVideo struct { 24 Status int 25 Errors []error 26 Request *openrtb2.BidRequest 27 Response *openrtb2.BidResponse 28 VideoRequest *openrtb_ext.BidRequestVideo 29 VideoResponse *openrtb_ext.BidResponseVideo 30 StartTime time.Time 31 } 32 33 type logSetUID struct { 34 Status int 35 Bidder string 36 UID string 37 Errors []error 38 Success bool 39 } 40 41 type logUserSync struct { 42 Status int 43 Errors []error 44 BidderStatus []*analytics.CookieSyncBidder 45 } 46 47 type logAMP struct { 48 Status int 49 Errors []error 50 Request *openrtb2.BidRequest 51 AuctionResponse *openrtb2.BidResponse 52 AmpTargetingValues map[string]string 53 Origin string 54 StartTime time.Time 55 HookExecutionOutcome []hookexecution.StageOutcome 56 }