Detecting rate limiting
If you are using the Play Games SDK, you will see errors in your callback handlers or listeners when your game exceeds its rate limit.
In Android, calls that return PendingResult
objects,
such as incrementAchievementImmediate
, will
return a STATUS_NETWORK_ERROR_OPERATION_DEFERRED
status code in the result
object. This status code indicates that the library will automatically attempt
to make the call again later when your game is no longer rate limited.
To request for additional quota for your application, click the Request more link next to your app's quota entry in the Google Cloud Platform. Please be aware, however, that requests for additional games quota probably will not be honored unless your game is experiencing truly exceptional usage and is obeying these best practices.
Managing your daily quota
You can review your application's daily quota for the Play Games SDK by visiting your project in the Google Cloud Platform.
To view or change usage limits for your project, or to request an increase to your quota, do the following:
- If you don't already have a billing account for your project, then create one.
- Visit the Enabled APIs page of the API library in the API Console, and select an API from the list.
- To view and change quota-related settings, select Quotas. To view usage statistics, select Usage.
You can set the maximum number of calls a user can make per second, to help ensure that an abusive player doesn't use up all of your application's quota. To learn more about capping usage, see the Google Cloud Platform documentation.
To ask for more quota to be added for your application, click the Request more... link next to your quota's entry. Please be aware, however, that requests for additional games quota probably will not be honored unless your game is experiencing truly exceptional usage and is obeying the above guidelines.