Google Business Performance API memiliki metode API
BARU yang memungkinkan pengambilan beberapa `DailyMetrics` dalam satu permintaan API.
Tinjau
jadwal penghentian dan petunjuk untuk bermigrasi dari metode API reportInsights v4 ke Google Business Profile Performance API.
Prasyarat
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Agar berhasil membuat aplikasi klien pertama, Anda harus menyelesaikan prasyarat berikut:
- Membuat Akun Google.
- Mencoba Profil Bisnis.
- Membuat project di Konsol API Google.
- Membuat akun Organisasi.
- Meminta akses ke API.
Membuat Akun Google
Anda memerlukan
Akun Google agar dapat membuat project di
Konsol Google API. Jika sudah memiliki akun, Anda sudah siap.
Mencoba Profil Bisnis
Dokumentasi API ini berasumsi bahwa Anda sudah menggunakan Profil Bisnis sebelumnya dan bahwa Anda
mengenal konsep pemrograman web dan format data web.
Jika Anda belum pernah menggunakan Profil Bisnis, coba
antarmuka penggunanya sebelum mulai membuat kode.
Membuat project di Konsol API Google
Sebelum dapat mengirim permintaan ke API Profil Bisnis, Anda harus menggunakan
Konsol API Google untuk membuat project, lalu meminta akses ke API Profil Bisnis untuk project
tersebut. Untuk membuat project baru, buka
Konsol API Google.
Klik Buat project, masukkan nama, dan klik Buat.
Membuat akun Organisasi
Untuk membuat akun Organisasi, kunjungi
pusat bantuan GBP.
Meminta akses ke API
Untuk mengaktifkan project dan mengakses API, Anda harus menyelesaikan langkah-langkah berikut:
- Buka Konsol API Google
dan pilih project yang Anda buat untuk digunakan dengan Profil Bisnis.
- Untuk mengetahui ID project Anda, lihat di kolom ID Project.
- Permohonan untuk mendapatkan akses API kini harus diajukan melalui
formulir kontak GBP API kami. Pilih 'Permohonan untuk Akses API Standar' dari drop-down dan
masukkan informasi permintaan tersebut.
- Anda akan menerima email lanjutan setelah permintaan Anda ditinjau.
- Setelah disetujui, lihat Penyiapan dasar guna mengaktifkan API Profil Bisnis
untuk project Anda.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eYou need a Google Account and familiarity with Business Profile before starting.\u003c/p\u003e\n"],["\u003cp\u003eCreate a project in the Google API Console and an Organization account to access the API.\u003c/p\u003e\n"],["\u003cp\u003eRequest access to the Business Profile API via the GBP API contact form and await approval.\u003c/p\u003e\n"],["\u003cp\u003eEnable the Business Profile APIs for your project after receiving approval.\u003c/p\u003e\n"]]],[],null,["# Prerequisites\n\nTo successfully create your first client application, you must complete the following\nprerequisites:\n\n1. [Get a Google Account](#get-account).\n2. [Try out Business Profile](#try-out).\n3. [Create a project in the Google Cloud Console](#create-project).\n4. [Create an Organization account](#create-organization-account).\n5. [Request access to the API](#request-access).\n\nGet a Google Account\n--------------------\n\nYou need a\n[Google Account](https://www.google.com/accounts/NewAccount) in order to create a project in the\nGoogle API Console. If you already have an account, you're all set.\n\nTry out Business Profile\n------------------------\n\nThis API documentation assumes that you've used Business Profile before, and that you're\nfamiliar with web programming concepts and web data formats.\n\nIf you haven't used Business Profile, try out the\n[user interface](https://www.google.com/business/) before you start to code.\n\nCreate a project in the Google API Console\n------------------------------------------\n\nBefore you can send requests to the Business Profile APIs, you need to use the\nGoogle API Console to create a project, and then request access to the Business Profile APIs for that\nproject. To create a new project, go to the\n[Google Cloud Console](https://console.developers.google.com/project).\nClick **Create project** , enter a name, and click **Create**.\n\nCreate an Organization account\n------------------------------\n\nTo create an Organization account, go to the\n[GBP help center](https://support.google.com/business/answer/7663063).\n\nRequest access to the APIs\n--------------------------\n\nIn order to get access to GBP APIs, we require all applicants:\n\n- Manage a Google Business Profile that is verified and active for 60+ days. This GBP can be the applicant's own office or headquarters or it could belong to one of the clients they manage.\n- Have a website representing the business listed on the GBP.\n\nFor a smooth and timely review of your application, we recommend that the Google Business Profile is fully complete and kept up-to-date with the current business information, including the business's official website.\n\nOnce you have met the requirements stated earlier, you can request API access by following these steps:\n\n1. Go to the [Google Cloud Console](https://console.developers.google.com/project) and select the project you plan to use with the Business Profile APIs.\n2. Find your Project Number in the Project info card on your project's Dashboard. You will need to provide this number in your application.\n3. When you are ready, submit your request using our [GBP API contact form](https://support.google.com/business/contact/api_default). Select 'Application for Basic API Access' from the drop-down menu and provide all requested information.\n4. Make sure that you are using an email address that is listed as an owner/manager on your business's GBP.\n5. A follow-up email will be sent to you after your request has been reviewed.\n\n**Note on Checking Approval Status:** You can also check if your project has been approved by viewing the quotas for the Business Profile APIs in the Google Cloud Console.\n\n- If your quota is 0 QPM (Queries Per Minute), your project has not yet been approved.\n- If your quota is set to 300 QPM, your project is approved.\n\nIf your application is approved, see [Basic setup](/my-business/content/basic-setup) to enable the Business Profile APIs for your project. If your application is rejected, make sure you have met the requirements stated earlier before re-applying."]]