github.com/prebid/prebid-server/v2@v2.18.0/config/activity.go (about) 1 package config 2 3 type AllowActivities struct { 4 SyncUser Activity `mapstructure:"syncUser" json:"syncUser"` 5 FetchBids Activity `mapstructure:"fetchBids" json:"fetchBids"` 6 EnrichUserFPD Activity `mapstructure:"enrichUfpd" json:"enrichUfpd"` 7 ReportAnalytics Activity `mapstructure:"reportAnalytics" json:"reportAnalytics"` 8 TransmitUserFPD Activity `mapstructure:"transmitUfpd" json:"transmitUfpd"` 9 TransmitPreciseGeo Activity `mapstructure:"transmitPreciseGeo" json:"transmitPreciseGeo"` 10 TransmitUniqueRequestIds Activity `mapstructure:"transmitUniqueRequestIds" json:"transmitUniqueRequestIds"` 11 TransmitTids Activity `mapstructure:"transmitTid" json:"transmitTid"` 12 } 13 14 type Activity struct { 15 Default *bool `mapstructure:"default" json:"default"` 16 Rules []ActivityRule `mapstructure:"rules" json:"rules"` 17 } 18 19 type ActivityRule struct { 20 Condition ActivityCondition `mapstructure:"condition" json:"condition"` 21 Allow bool `mapstructure:"allow" json:"allow"` 22 } 23 24 type ActivityCondition struct { 25 ComponentName []string `mapstructure:"componentName" json:"componentName"` 26 ComponentType []string `mapstructure:"componentType" json:"componentType"` 27 }