สำคัญ: แพ็กเกจพรีเมียมของ Google Maps Platform จะไม่มีให้บริการสำหรับการลงชื่อสมัครใช้หรือลูกค้าใหม่อีกต่อไป
ลูกค้าใหม่ต้องใช้คีย์ API เพื่อใช้ API และ SDK ของ Google Maps Platform ลูกค้าที่ได้ย้ายข้อมูลจากแพ็กเกจพรีเมียมไปยังรูปแบบการกำหนดราคาแบบจ่ายตามการใช้งานของ Google Maps Platform อาจตรวจสอบสิทธิ์คำขอโดยใช้คีย์ API หรือรหัสไคลเอ็นต์ที่มีอยู่ต่อไปได้
Google Maps Platform จะใช้คีย์ API เป็นมาตรฐานในการตรวจสอบสิทธิ์คำขอ แม้ว่าปัจจุบันยังไม่มีวันที่สิ้นสุดของการใช้รหัสไคลเอ็นต์ แต่ให้สร้างการใช้งานใหม่โดยใช้คีย์ API แทนรหัสไคลเอ็นต์ ดูข้อมูลเพิ่มเติมได้ที่วิธีการตรวจสอบสิทธิ์ที่ใช้ได้
การจัดการรหัสไคลเอ็นต์
ค้นหาโปรเจ็กต์รหัสลูกค้า
หากต้องการเข้าถึงฟีเจอร์ที่แพ็กเกจพรีเมียมของแพลตฟอร์ม Google Maps เคยเสนอไว้ ลูกค้าควรใช้โปรเจ็กต์ที่เชื่อมโยงกับชิ้นงาน Premium ที่มีอยู่ต่อไป ซึ่งการเปลี่ยนแปลงนี้มีผลกับลูกค้าที่ย้ายข้อมูลไปยังรูปแบบการกำหนดราคาแบบจ่ายเมื่อใช้ของ Google Maps Platform ด้วย
ตำแหน่งในคอนโซล Google Cloud สำหรับจัดการรหัสไคลเอ็นต์
ฟังก์ชันการจัดการรหัสไคลเอ็นต์ของแพ็กเกจพรีเมียมจะพร้อมใช้งานในคอนโซลระบบคลาวด์ที่ด้านล่างของหน้าข้อมูลเข้าสู่ระบบ Google Maps Platform ในส่วนรหัสไคลเอ็นต์
[null,null,["อัปเดตล่าสุด 2025-06-16 UTC"],[[["\u003cp\u003eThe Google Maps Platform Premium Plan is no longer available to new customers.\u003c/p\u003e\n"],["\u003cp\u003eNew Google Maps Platform customers must use an API key for authentication.\u003c/p\u003e\n"],["\u003cp\u003eExisting Premium Plan customers who have migrated to pay-as-you-go can continue using their client IDs but are encouraged to transition to API keys for new implementations.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Maps Platform will eventually standardize on API keys for all authentication.\u003c/p\u003e\n"]]],[],null,["# Premium Plan Authentication Overview\n\n**Important:** The Google Maps Platform Premium Plan is no longer available for\nsign up or new customers.\n\nTo use the Google Maps Platform APIs and SDKs, new customers must use an\nAPI key. Customers who have migrated from\nthe Premium Plan to the Google Maps Platform pay-as-you-go pricing\nmodel *may* continue to authenticate requests using existing API keys or\nclient IDs.\n\nGoogle Maps Platform will be standardizing on using API keys to authenticate requests. While\nthere is no current end-date for using client IDs, build any new implementations to use API keys\nrather than client IDs. See [Available authentication methods](/maps/premium/authentication/overview#available-authentication-methods)\nfor further information.\n| **Warning:** Requests containing both a client ID and an API key may result in unexpected API behavior or unintended billing behavior. To prevent this, make sure your requests use only one of these parameters.\n\nClient ID management\n--------------------\n\n### Find your client ID project\n\nTo continue accessing the features originally offered by the\nGoogle Maps Platform Premium Plan, customers should keep using the project\nassociated with their existing Premium asset. This also applies to customers\nthat have migrated to a Google Maps Platform pay-as-you-go pricing model.\n\nWhen you originally purchased your Premium Plan\nlicense, you received the name of your Premium asset in the following format:\n`gme-[company] & proj-[projectnumber] ([type])`. The asset name and\noriginal project owner can be found in your welcome letter.\n| **Important:** You must either be an **Owner** or **Editor** of your old Premium Plan project to be able to access all features and manage your client ID in the Cloud console. See the Google Cloud Identity and Access Management (IAM) article [Understanding roles](https://cloud.google.com/iam/docs/understanding-roles) for more information.\n\nSign in to the Google Cloud console using the following URL: \n\n https://console.cloud.google.com/project/\u003cvar translate=\"no\"\u003eprojectnumber\u003c/var\u003e\n\nJust replace \u003cvar translate=\"no\"\u003eprojectnumber\u003c/var\u003e with your project number.\n\n### Manage your client ID in the Cloud console\n\n| **Caution:** This section is only provided as a reference for maintaining existing legacy applications that use client IDs. For new applications, *always* use API keys!\n\n#### Where to manage your Client ID in the Google Cloud console\n\nThe Premium Plan Client ID management functionality is available\nin the\n[Cloud console](https://console.cloud.google.com/project/_/google/maps-apis/credentials?utm_source=Docs_Credentials) at the bottom of the\nGoogle Maps Platform Credentials page, in the **Client ID** section. \n\nFurther client ID management tasks, including URL authorization and client ID signing secret\nmanagement, can be accessed on the separate\n[Client ID page](https://console.cloud.google.com/project/_/google/maps-apis/clientid), by clicking the\nedit **edit** icon at the far right of the\n**Client ID** section.\n\n#### Pause your client ID\n\nYou are able to pause and unpause your client ID on the Google Maps Platform\n[Credentials](https://console.cloud.google.com/project/_/google/maps-apis/credentials?utm_source=Docs_Credentials) page by clicking the\npause **pause** icon at the far right of the\n**Client ID** section.\n| **Caution:** Pausing a client ID will cause all Google Maps Platform API calls to that client ID to be denied. Once a client ID is paused, you will have up to 30 days to unpause it. If the client ID is not unpaused after that time, it will expire and, after 30 additional days (60 days total), will no longer be visible in the Cloud console.\n\n#### Authorize your client ID URLs\n\nAll authorized URLs are available under the\n**Authorized URLs for Client ID for gme-\\[company\\]** table on the\n[Client ID page](https://console.cloud.google.com/project/_/google/maps-apis/clientid). See\n[Managing authorized URLs](/maps/premium/authentication/client-id/url-authorization#registering-authorized-urls)\nfor more info.\n\n#### Get your client ID signing secret\n\nThe client ID *URL signing secret* , or crytographic key, is available to the\nright of the client ID on the\n[Client ID page](https://console.cloud.google.com/project/_/google/maps-apis/clientid). See\n[Signing your requests](/maps/premium/authentication/client-id/request-signing#signing-requests)\nfor more info.\n\nAvailable authentication methods\n--------------------------------\n\nRefer to the documentation for the specific API or SDK you are interested in. \n\n### Maps\n\n\n| API | Authentication method |\n|------------------------|------------------------------------------------------------------------------------------------------|\n| Maps JavaScript API | [API key with referrer restriction](/maps/documentation/javascript/get-api-key) |\n| Maps JavaScript API | [Client ID with URL authorization](/maps/premium/authentication/client-id/url-authorization) |\n| Maps SDK for Android | [API key with Android app restriction](/maps/documentation/android-sdk/get-api-key) |\n| Maps SDK for iOS | [API key with iOS app restriction](/maps/documentation/ios-sdk/get-api-key) |\n| Maps Static API | [API key with referrer restriction and request signing](/maps/documentation/maps-static/get-api-key) |\n| Maps Static API | [Client ID with request signing](/maps/premium/authentication/client-id/request-signing) |\n| Street View Static API | [API key with referrer restriction and request signing](/maps/documentation/streetview/get-api-key) |\n| Street View Static API | [Client ID with request signing](/maps/premium/authentication/client-id/request-signing) |\n| Elevation API | [API key with IP address restriction](/maps/documentation/elevation/get-api-key) |\n| Elevation API | [Client ID with request signing](/maps/premium/authentication/client-id/request-signing) |\n\n\u003cbr /\u003e\n\n### Routes\n\n\n| API | Authentication method |\n|------------------------------|------------------------------------------------------------------------------------------|\n| Directions API (Legacy) | [API key with IP address restriction](/maps/documentation/directions/get-api-key) |\n| Directions API (Legacy) | [Client ID with request signing](/maps/premium/authentication/client-id/request-signing) |\n| Distance Matrix API (Legacy) | [API key with IP address restriction](/maps/documentation/distance-matrix/get-api-key) |\n| Distance Matrix API (Legacy) | [Client ID with request signing](/maps/premium/authentication/client-id/request-signing) |\n| Roads API | [API key with IP address restriction](/maps/documentation/roads/get-api-key) |\n\n\u003cbr /\u003e\n\n### Places\n\n\n| API | Authentication method |\n|-----------------|-------------------------------------------------------------------------------------------|\n| Geocoding API | [API key with IP address restriction](/maps/documentation/geocoding/get-api-key) |\n| Geocoding API | [Client ID with request signing](/maps/premium/authentication/client-id/request-signing) |\n| Geolocation API | [API key with IP address restriction](/maps/documentation/geolocation/get-api-key) |\n| Places API | [API key with IP address restriction](/maps/documentation/places/web-service/get-api-key) |\n| Time Zone API | [API key with IP address restriction](/maps/documentation/timezone/get-api-key) |\n| Time Zone API | [Client ID with request signing](/maps/premium/authentication/client-id/request-signing) |\n\n\u003cbr /\u003e"]]