Google Business Performance API, tek bir API isteğinde birden fazla "GünlükMetrik" getirmeye olanak tanıyan
YENİ bir API yöntemine sahiptir.
Kullanımdan kaldırma planını ve v4 reportInsights API yönteminden Google Business Profile Performance API'ye geçiş talimatlarını inceleyin.
Method: accounts.create
Belirtilen üst öğe altında belirtilen ad ve türle bir hesap oluşturur.
- Kişisel hesaplar ve Kuruluşlar oluşturulamaz.
- Birincil sahip olarak Kişisel bir hesapla Kullanıcı Grupları oluşturulamaz.
- Kişisel hesap bir Kuruluştaysa Konum Grupları bu Kişisel hesabın birincil sahibiyle oluşturulamaz.
- Yer Grupları, Konum Gruplarının sahibi olamaz.
HTTP isteği
POST https://mybusinessaccountmanagement.googleapis.com/v1/accounts
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
İstek içeriği
İstek metni, Account
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi, yeni oluşturulan Account
örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/business.manage
Daha fazla bilgi için OAuth 2.0'a Genel Bakış başlıklı makaleye bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2023-12-01 UTC.
[null,null,["Son güncelleme tarihi: 2023-12-01 UTC."],[[["Creates a new account with a specified name and type under a parent account, excluding Personal and Organization account types."],["User Groups cannot have Personal accounts as primary owners, and Location Groups have ownership restrictions based on the primary owner's account type."],["The request utilizes an HTTP POST method to the specified URL with the account details provided in the request body as an 'Account' instance."],["Successful requests will return the newly created account details in the response body, also formatted as an 'Account' instance."],["Authorization requires the `https://www.googleapis.com/auth/business.manage` OAuth scope."]]],["This document details how to create accounts via a `POST` request to `https://mybusinessaccountmanagement.googleapis.com/v1/accounts`. The request body must include an `Account` instance, and a successful response returns a newly created `Account` instance. Limitations exist: personal accounts and organizations cannot be created; user/location group creation is restricted based on the primary owner's account type. The operation requires the `https://www.googleapis.com/auth/business.manage` OAuth scope for authorization. The URL uses gRPC Transcoding syntax.\n"]]