CustomerType
¶
Source code in docs_src/capo_appmonetization/types/customer_type.py
feature_weights
instance-attribute
¶
feature_weights: NotRequired[FeatureWeightMap]
How much each characteristic in features matters to this type, when it differs from the shared features.weights. Absent: features.weights (equal weights when that is absent too). Used only when a comparable or an outside option in alternatives is scored by features; sent otherwise, it is rejected.
name
instance-attribute
¶
name: CustomerTypeName
Short name of the customer type, for example solo devs.
share
instance-attribute
¶
share: CustomerSegmentShare
Share of users of this type. Shares are relative: they are scaled to sum to 100.
usage_multiplier
instance-attribute
¶
usage_multiplier: SegmentMultiplier
Uses per month as a multiple of each action's typicalMonthlyUsage (2 = twice as many).
usage_spread
instance-attribute
¶
usage_spread: NotRequired[UsageSpread]
How similar customers of this type are in how much they use the app. Absent: the segment's default.
value_per_use_multiplier
instance-attribute
¶
value_per_use_multiplier: SegmentMultiplier
Value of one use as a multiple of an ordinary user's (0.5 = half, 2 = twice).