GoogleApi.Games.V1.Model.StatsResponse (google_api_games v0.21.0) View Source
A third party stats resource.
Attributes
-
avg_session_length_minutes
(type:number()
, default:nil
) - Average session length in minutes of the player. E.g., 1, 30, 60, ... . Not populated if there is not enough information. -
churn_probability
(type:number()
, default:nil
) - The probability of the player not returning to play the game in the next day. E.g., 0, 0.1, 0.5, ..., 1.0. Not populated if there is not enough information. -
days_since_last_played
(type:integer()
, default:nil
) - Number of days since the player last played this game. E.g., 0, 1, 5, 10, ... . Not populated if there is not enough information. -
high_spender_probability
(type:number()
, default:nil
) - The probability of the player going to spend beyond a threshold amount of money. E.g., 0, 0.25, 0.50, 0.75. Not populated if there is not enough information. -
kind
(type:String.t
, default:nil
) - Uniquely identifies the type of this resource. Value is always the fixed stringgames#statsResponse
. -
num_purchases
(type:integer()
, default:nil
) - Number of in-app purchases made by the player in this game. E.g., 0, 1, 5, 10, ... . Not populated if there is not enough information. -
num_sessions
(type:integer()
, default:nil
) - The approximate number of sessions of the player within the last 28 days, where a session begins when the player is connected to Play Games Services and ends when they are disconnected. E.g., 0, 1, 5, 10, ... . Not populated if there is not enough information. -
num_sessions_percentile
(type:number()
, default:nil
) - The approximation of the sessions percentile of the player within the last 30 days, where a session begins when the player is connected to Play Games Services and ends when they are disconnected. E.g., 0, 0.25, 0.5, 0.75. Not populated if there is not enough information. -
spend_percentile
(type:number()
, default:nil
) - The approximate spend percentile of the player in this game. E.g., 0, 0.25, 0.5, 0.75. Not populated if there is not enough information. -
spend_probability
(type:number()
, default:nil
) - The probability of the player going to spend the game in the next seven days. E.g., 0, 0.25, 0.50, 0.75. Not populated if there is not enough information. -
total_spend_next_28_days
(type:number()
, default:nil
) - The predicted amount of money that the player going to spend in the next 28 days. E.g., 1, 30, 60, ... . Not populated if there is not enough information.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Games.V1.Model.StatsResponse{ avg_session_length_minutes: number(), churn_probability: number(), days_since_last_played: integer(), high_spender_probability: number(), kind: String.t(), num_purchases: integer(), num_sessions: integer(), num_sessions_percentile: number(), spend_percentile: number(), spend_probability: number(), total_spend_next_28_days: number() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.