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: locations.questions.create
Belirtilen konum için bir soru ekler.
HTTP isteği
POST https://mybusinessqanda.googleapis.com/v1/{parent=locations/*/questions}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Soru yazılacak konumun adı.
|
İstek içeriği
İstek metni, Question
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi, yeni oluşturulan Question
ö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."],[[["Adds a question for the specified location using an HTTP POST request."],["Requires `parent` as a path parameter specifying the location for the question."],["The request body should contain a `Question` object as defined in the provided reference."],["A successful response returns the newly created `Question` object."],["Requires authorization with the `https://www.googleapis.com/auth/business.manage` scope."]]],[]]