Stay organized with collections
Save and categorize content based on your preferences.
This topic describes how to detect and manage Play Games Services API usage in
your game.
Detect rate limiting
If you are using the Play Games Services SDK, your callback handlers or listeners
return errors when your game exceeds its rate limit.
In Android, calls that return
PendingResult
objects,
such as
incrementAchievementImmediate,
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 additional quota for your games, see the
quota increase section.
Manage your daily quota
You can review your application's daily quota for Google Cloud Platform 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.
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 request additional quota for your games, see the
quota increase section.
Request a quota increase
To request a game quota increase, click the Request more link next to
your app's quota entry in the
Google Cloud Platform.
Requests to increase the games quota usually aren't accepted unless your game is
experiencing exceptional usage and is obeying the best practices in the
quality checklist.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["This topic describes how to detect and manage Play Games Services API usage in\nyour game.\n\nDetect rate limiting\n\nIf you are using the Play Games Services SDK, your callback handlers or listeners\nreturn errors when your game exceeds its rate limit.\n\nIn Android, calls that return\n[`PendingResult`](https://developer.android.com/reference/com/google/android/gms/common/api/PendingResult.html)\nobjects,\nsuch as\n[`incrementAchievementImmediate`](https://developer.android.com/reference/com/google/android/gms/games/achievement/Achievements.html#incrementImmediate(com.google.android.gms.common.api.GoogleApiClient,%20java.lang.String,%20int)),\nreturn a `STATUS_NETWORK_ERROR_OPERATION_DEFERRED` status code in the\nresult object. This status code indicates that the library will automatically\nattempt to make the call again later when your game is no longer rate limited.\n\nTo request additional quota for your games, see the\n[quota increase](#quota-increase) section.\n\nManage your daily quota\n\nYou can review your application's daily quota for Google Cloud Platform by\nvisiting your project in the\n[Google Cloud Platform](https://console.developers.google.com/).\n\nTo view or change usage limits for your project, or to request an increase to\nyour quota, do the following:\n\n1. If you don't already have a [billing account](//cloud.google.com/billing/docs/how-to/manage-billing-account) for your project, then create one.\n2. [Visit the Enabled APIs page of the\n API library](https://console.cloud.google.com/apis/enabled) in the API Console, and select an API from the list.\n3. To view and change quota-related settings, select **Quotas** . To view usage statistics, select **Usage**.\n\nYou can set the maximum number of calls a user can make per second, to\nhelp ensure that an abusive player doesn't use up all of your application's\nquota. To learn more about capping usage, see the\nGoogle Cloud Platform\n[documentation](https://developers.google.com/console/help/capping-usage).\n\nTo request additional quota for your games, see the\n[quota increase](#quota-increase) section.\n\nRequest a quota increase\n\nTo request a game quota increase, click the *Request more* link next to\nyour app's quota entry in the\n[Google Cloud Platform](https://console.developers.google.com/).\n\nRequests to increase the games quota usually aren't accepted unless your game is\nexperiencing exceptional usage and is obeying the best practices in the\n[quality checklist](https://developers.google.com/games/services/bestpractices#9_quota_and_rate_limiting)."]]