Bước 2: Bật API
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Giờ đây, khi tài khoản Actions Center của bạn đã được thiết lập, Dự án Google Cloud liên kết với số Dự án Google Cloud mà bạn đã nhập vào Partner Portal sẽ được cấp hạn mức cần thiết (1.500 truy vấn mỗi phút) để thực hiện lệnh gọi đến API Đặt trước trên Maps ngay khi các API này được bật trong Google Cloud API Console. Để bật các API, hãy hoàn thành các bước sau: Trong Bảng điều khiển API, hãy nhấp vào + Bật API và dịch vụ, tìm API đặt phòng trên Google Maps rồi nhấp vào Bật.
Sau đó, hãy lặp lại thao tác này cho phiên bản API Đặt chỗ trên Google Maps (Nhà phát triển):
+ Bật API và dịch vụ, tìm API Đặt chỗ trên Google Maps (Nhà phát triển) rồi nhấp vào Bật. Bạn có thể sử dụng API Đặt phòng của Google Maps (Dành cho nhà phát triển) để truy cập vào môi trường hộp cát.
Nếu bạn gặp vấn đề khi gọi các API, vui lòng xem tài liệu này.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\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)."]]