--- title: "Google連携" slug: "game-gamepot3-google-integration" updated: 2026-09-17T09:23:32Z published: 2026-09-17T09:23:32Z canonical: "guide.ncloud-docs.com/game-gamepot3-google-integration" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Google連携 Classic/VPC環境で利用できます。 Googleログイン機能を使用するためのコンソールご利用ガイドです。 GAMEPOT連携以外のコンソールの使用方法は、次をご参照ください。 - [Play Consoleヘルプ](https://support.google.com/googleplay/android-developer/answer/9859152?sjid=17624558228702131677-AP) - Google Play Console: [https://play.google.com/console/](https://play.google.com/console/) - Google Cloud Platform: [https://console.cloud.google.com/?hl=ko](https://console.cloud.google.com/?hl=ko) - Firebase Console: [https://console.firebase.google.com/](https://console.firebase.google.com/) ## GAMEPOTダッシュボードに Googleログイン認証情報を登録 Googleログイン認証キーを GAMEPOTダッシュボードに登録する方法は次の通りです。 GAMEPOTダッシュボード > **プロジェクトの設定** > **認証** > **Googleメニュー**を順にクリックし、**「Client ID (Android、ios) / Client Secret」** を入力します。 ![gamepot-google-login03.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-google-login03.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) ## Googleログインの設定 Googleログインを使用するには、GAMEPOTダッシュボード > **プロジェクトの設定** > **認証** > **Google**で全3つの項目に入力する必要があります。 ![gamepot-google-login00.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-google-login00.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) 1. Client ID (Android) 2. Client ID (iOS) 3. Client Secret ### Client ID / Client Secret情報の確認方法 #### 1) Firebaseコンソールの設定 1. Firebaseコンソール > プロジェクを選択 > プロジェクトの概要の横の「歯車」アイコンをクリック > **プロジェクトの設定**をクリックします。 ![gamepot-googleLogin01.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin01.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) 2. 下部のマイアプリ部分のビルドで使用する SHA-1を追加します。 ![gamepot-googleLogin02.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin02.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) 3. Google Play Storeでアプリ署名機能を使用中の場合は、アプリ署名鍵の証明書にある SHA-1も追加します。 - Googleアプリ署名の確認: Google Play Console > プロジェクを選択 > 設定 > アプリ署名 > アプリ署名鍵の証明書 > SHA-1証明書の指紋 ![gamepot-googleLogin03.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin03.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) #### 2) Google Cloud Console - OAuth同意画面の設定 1. APIとサービス > OAuth同意画面に移動し、User Typeタイプは外部を選択します。 ![gamepot-googleLogin04.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin04.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) 2. アプリ名、ユーザーサポートメール、開発者の連絡先情報を入力します。 ![gamepot-googleLogin05.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin05.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) - 保存後、 **[続行]** ボタンをクリックして OAuth同意画面の設定を完了します。 3. 設定が完了したら、「公開状態 = プロダクション段階 / ユーザータイプ = 外部」と正しく設定されているか確認します。 ![gamepot-googleLogin06.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin06.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) #### 3) Google Cloud Console - ユーザー認証情報の設定 1. APIとサービス > ユーザー認証情報 > ユーザー認証情報の作成 > OAuthクライアント IDを順に選択します。 ![gamepot-googleLogin07.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin07.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) 2. アプリケーションタイプは、ビルドプラットフォームに合わせて作成します。 注意) (*Googleワンタップログイン機能を使用するには、ウェブアプリケーションの作成は必須です ![gamepot-googleLogin08.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin08.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) 1. アプリケーションタイプに応じて必須情報を入力します。 - Androidは、パッケージ名の入力時、ビルド時に使用した**パッケージ名**とビルドするアプリの **SHA-1**を入力します。 ![gamepot-google-login01.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-google-login01.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) - iOSは**バンドル ID**を入力します。 ![gamepot-googleLogin10.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin10.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) - ウェブアプリケーションは、名前の変更のほか、入力する部分はありません。 ![gamepot-googleLogin11.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin11.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) #### 4) Googleログインのための GAMEPOTダッシュボードの入力値情報 ![gamepot-googleLogin13.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin13.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) 1. 上記で作成した iOSクライアント IDを選択 → クライアント IDをコピー → GAMEPOTダッシュボード > プロジェクトの設定 > 認証 > Googleの **Client ID (iOS)** に入力 2. 上記で作成したウェブアプリケーションクライアント IDを選択 → **クライアント ID、クライアントセキュリティパスワード**をコピー → GAMEPOTダッシュボード > プロジェクトの設定 > 認証 > Googleの **Client ID (Android)** / **Client Secret**に入力 (上部のプロジェクトを必ずご確認ください) ### iOS Native URL Schemesの入力 iosで Googleログイン連携を行うには、以下のように iOS URL Schemesを Info > URL Typesに入力します。 ![gamepot-google-xcode-url.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-google-xcode-url%281%29.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) ### Unity URL Schemesの入力(iOS) Unityを iOSで Googleと連携するには、以下のように Schemesを Supported URL Schemesに入力します。 Player Settings -> Other Settings -> **Supported URL Schemes**に、Googleから発行された iOS URLスキーマを図のように入力します。 - sizeに「1」と入力すると Element 0欄ができので、入力できます。 ![gamepot-googleLogin15.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-googleLogin15.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) #### iOS URL Schemesの確認方法 - Google Cloud Console > ユーザー認証情報 > iOSクライアント ID > iOS URLスキーマ ![gamepot-google-login02png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-google-login02.png?sv=2026-02-06&spr=https&st=2026-10-26T13%3A32%3A38Z&se=2026-10-26T14%3A32%3A38Z&sr=c&sp=r&sig=02SRfRwhU%2BjdOZQ9W3n7SNgU2j5S%2BMvLAVOGjPsUMLQ%3D) #### ログインエラーコードの定義 | Code | Message | Text | | --- | --- | --- | | 7003 | Couldn't get credential from result. (10: [28444] Developer console is not set up correctly.) | Googleログインに必要な開発者コンソールの設定が正しくないために発生する場合で、Client_IDの確認が必要 |