步驟 2:啟用 API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
在設定 Actions Center 帳戶後,只要在 Google Cloud API 控制台中啟用 API,與您在合作夥伴入口網站中輸入的 Google Cloud 專案編號相關聯的 Google Cloud 專案,就會獲得必要配額 (每分鐘 1,500 個查詢),以便呼叫 Maps Booking API。如要啟用 API,請完成下列步驟:在 API 控制台中,按一下「+ Enable APIs and Services」,搜尋「Google Maps Booking API」,然後點選「Enable」。
接著針對 Google Maps Booking API (開發人員) 版本重複這個步驟:點選「+ 啟用 API 和服務」,搜尋「Google Maps Booking API (開發人員)」,然後點選「啟用」。Google Maps Booking API (dev) 可用來存取沙箱環境。
如果您在呼叫 API 時遇到問題,請參閱這份文件。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eYour Google Cloud Project will automatically receive the required quota for using the Maps Booking APIs after setup.\u003c/p\u003e\n"],["\u003cp\u003eYou need to manually enable both the Google Maps Booking API and the Google Maps Booking API (Dev) in the Google Cloud API Console.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Maps Booking API (Dev) provides access to a sandbox environment for testing.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided documentation if you encounter problems calling the APIs.\u003c/p\u003e\n"]]],["To use the Maps Booking APIs, enable them in the Google Cloud API Console. First, search for and enable \"Google Maps Booking API.\" Then, enable \"Google Maps Booking API (Dev)\" to access the sandbox environment. These actions grant your associated Google Cloud Project the required quota of 1,500 queries per minute. Consult the linked documentation if you face issues making API calls, and for further details on enabling or disabling APIs.\n"],null,["# Step 2: Enable the APIs\n\nNow that your Actions Center account has been set up, the Google Cloud\nProject associated with the Google Cloud Project number you entered into the Partner Portal will be granted the necessary quota (1,500 queries per minute) to make calls to the Maps Booking\nAPIs, as soon as the APIs are enabled in the Google Cloud API Console. In order to enable the APIs, complete the following steps:\nIn the\n[API Console](https://console.developers.google.com/), click\n**+ Enable APIs and Services** , search for **Google Maps Booking API** , and click **Enable**.\n\nThen repeat this for the Google Maps Booking API (Dev) version:\n**+ Enable APIs and Services** , search for **Google Maps Booking API (Dev)** , and click **Enable**. The Google Maps Booking API (Dev) can be used to access the sandbox environment.\n\n\nIf you are having issues making calls to the APIs, please take a look at\n[this documentation.](/actions-center/verticals/local-services/e2e/reference/tutorials/authenticate-with-mapsbooking-api#enable-the-MapsBooking-api)\n| **Note:** Learn more about how to [Enable and disable APIs](https://support.google.com/googleapi/answer/6158841)."]]