Google Play Games サービス API には、ユーザーごとの上限に加えて、アプリ全体の 1 日あたりの上限が存在します。通常、事前に割り当てられた上限を変更する必要はありません。ただし、ボリュームの急増が見込まれる場合(予定されているリリース イベントなど)は、[Request more] リンクをクリックして追加の割り当てをリクエストできます。
他の API を有効にする
Google Play Console でクライアント ID を作成すると、プロジェクトに対して Google Play Games サービス API が自動的に有効になります。他の Google API は Google Cloud Platform から有効にできます。
プロジェクトで API を有効にする手順は、次のとおりです。
Google API Console で API ライブラリを開きます。プロンプトが表示されたら、既存のプロジェクトのいずれかを選択するか、新しいプロジェクトを作成します。API ライブラリには、利用可能なすべての API がプロダクト ファミリーと人気度に応じて分類されて表示されます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-30 UTC。"],[],[],null,["There may be instances where you will want to view and edit your\nPlay Games Services project directly in Google Cloud Platform.\n\nTypical scenarios include:\n\n- Enabling additional APIs for your project (such as Google Drive).\n- Editing the branding information for your game in the OAuth 2.0 dialog.\n- Viewing your API quota and requesting more (if necessary).\n- Editing authorized URIs or JavaScript origins in Client IDs that you've created in the past.\n\nView your project\n\nTo view your project in Google Cloud Platform:\n\n1. Select a credential for your game on the **Configuration** page (**Grow \\\u003e Play Games\n Services \\\u003e Setup and\n management \\\u003e Configuration**).\n2. Scroll to the bottom of the **Authentication** section and click **View in\n Google Cloud Platform**.\n\nAdjust API usage quotas\n\nIn Google Cloud Platform, you can view the API usage limits currently set up for\nyour game and the amount of quota that has been used. You can also set per-user\nlimits to prevent an abusive user (or a buggy game client) from depleting your\nquota.\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\nBe aware that \"users\" are determined based on the IP address of the\nclient making the quota request. For instance, if all of your requests came from\na single server, that server might be erroneously tagged as a single spammy user.\nTo prevent this, you can attach a `userIp=x.x.x.x` argument to your API endpoint\nrequests.\n\nTo learn more about setting per-user quotas, see\nGoogle Cloud Platform [documentation](/console/help#cappingusage).\n\nIn addition to a per-user limit, there is an application-wide\nper-day limit for the Google Play Games Services API. Typically, you\nwill not need to change the pre-allocated limit. However, if you anticipate a\nlarge spike in volume (for example, for an upcoming launch event), you can\nrequest for additional quota by clicking the **Request more** link.\n\nActivate other APIs\n\nWhen you create your client ID in Play Console, the\nGoogle Play Games Services API is automatically turned on for your project. You\ncan activate other Google APIs from Google Cloud Platform.\n\nTo enable an API for your project, do the following:\n\n1. [Open the API Library](https://console.developers.google.com/apis/library)\n in Google API Console. If prompted, select a project or create a new one.\n API Library lists all available APIs, grouped by product family and\n popularity.\n\n2. If the API you want to enable isn't visible in the list, use search to\n find it.\n\n3. Select the API you want to enable, then click the **Enable** button.\n\n4. If prompted, enable billing.\n\n5. If prompted, accept the API's terms of service.\n\nModify branding information\n\nTo modify the branding information (title, logo, etc.) for your game that\nappears in the OAuth 2.0 dialog, set the attributes in the consent screen of\nGoogle Cloud Platform.\n\nTo set up your project's consent screen, do the following:\n\n1. Open the \\[Consent Screen page\\](https://console.developers.google.com/apis/credentials/consent) in Play Console. If prompted, select a project or create a new one.\n2. Fill out the form and click **Save**.\n\nModify client ID related attributes **Important:** If you change the launch URL of your web app, you must follow the instructions below to make the corresponding change in Play Console to avoid getting `origin_mismatch` errors. If you change the package name of your Android app, you must create a new linked app entry and remove the existing linked app entry that has the old package name.\n\nTo modify attributes related to your OAuth 2.0 client ID (web\norigins and redirect urls for a web app, etc.):\n\n1. Open Play Console and navigate to your game.\n2. Select a credential for your game on the **Configuration** page (**Grow \\\u003e Play Games\n Services \\\u003e Setup and\n management \\\u003e Configuration**).\n3. Scroll to the bottom of the **Authentication** section and click **View in\n Google Cloud Platform**.\n4. In Google Cloud Platform{, select your project.\n5. In the sidebar on the left, select **APIs \\& auth** . Make sure that the Google Play Games Services API status is **ON** in the displayed list of APIs.\n6. In the sidebar on the left, select **Registered apps**.\n7. Expand the OAuth 2.0 Client ID section and find the attribute to edit."]]