Google Play Games サービス(PGS)がアプリで正しく機能していることを確認するには、ゲームの変更を Google Play で公開する前に Google Play Games サービスをテストします。
ゲームが未公開状態の場合は、テスト用にアクセス権を付与するユーザー アカウントを許可リストに登録する必要があります。このように処理しないと、テスターが Google Play Games サービスのエンドポイント(ログイン エンドポイントなど)にアクセスしようとすると、OAuth エラーと 404 エラーが発生します。
テスターがゲームで PGS API を使用できるようにするには、次の 2 つの方法があります。
個人レベルで、個別のメールアドレスを追加します。
グループレベルで、Google Play Console のリリース トラックに対して Play ゲームサービスを有効にする。
ゲーム プロジェクトに個別のテスターを追加する手順は次のとおりです。
Google Play Console でゲームの [テスター] タブを開きます([成長] > [Play ゲームサービス] > [設定と管理] > [テスター])。
[テスターを追加] ボタンをクリックします。
表示されたダイアログで、テスターとして追加する Google アカウントのメールアドレスを入力します(アドレスごとにカンマで区切るか、1 行あたり 1 つのメールアドレスを入力)。
[追加] をクリックして、ユーザーをテスターとして保存します。追加したテスター アカウントの所有者は、数時間以内に Google Play Games サービスにアクセスできるようになります。
[null,null,["最終更新日 2025-07-26 UTC。"],[],[],null,["# Enable accounts for testing\n\nTo check that Google Play Games Services (PGS) are functioning correctly in your application,\ntest your Google Play Games Services before publishing your game changes on Google Play.\n\nIf your game is in an unpublished state, you must allowlist the user accounts\nthat you want to grant access for testing. Otherwise, your testers\nencounter OAuth and 404 errors when attempting to access the Google Play Games Services\nendpoints such as [sign-in](/games/pgs/android/android-signin).\n| **Warning:** Remember to add **yourself** as a tester so that the Play Games SDK works for your user account, too.\n\nThere are two ways to enable testers to use PGS APIs for your game:\n\n- At an individual level, by adding individual email addresses.\n- At a group level, by enabling Play Games Services for a Play Console release track.\n\nTo add individual testers to your game project, complete these steps:\n\n1. Open the **Testers** tab for your game in the Google Play Console (**Grow \\\u003e\n Play Games Services \\\u003e Setup and\n management \\\u003e Testers**).\n2. Click the **Add testers** button.\n3. In the dialog that appears, enter the email addresses of the Google Accounts that you wish to add as testers (separated with commas or one email address per line).\n4. Click **Add** to save the users as testers. The owners of the tester accounts that you added should be able to access your Google Play Games Services within a couple of hours.\n\nTo give testing access to a group, enable a release track to access PGS.\n\nGoogle Play makes it easy to distribute pre-release versions of your app to\ncontrolled groups of trusted users with the release track features. Learn more\nabout [testing with release\ntracks](https://support.google.com/googleplay/android-developer/answer/9845334).\n\nYou can grant access to test your game to all users who have access to test APKs\non a given release track. This works the same as if you had added each user to\nthe tester list individually. To do this, follow these steps:\n\n1. Open the **PGS Testers** section (**Grow \\\u003e Play Games Services \\\u003e\n Setup and management \\\u003e Testers** ) and select the **Release tracks** tab. On this page, you can also see the list of tracks that are already enabled for PGS testing.\n2. Click **Add tracks**.\n3. Select one or more tracks to enable for PGS testing.\n4. Click **Add Tracks**.\n\nThe selected release tracks appear in the list of tracks enabled for PGS\ntesting.\n| **Note:** This feature is only available if you have an Android app linked to your game in Google Play Console."]]