Google Business Profile एपीआई में
एपीआई का नया तरीका है. इसकी मदद से, एक ही एपीआई अनुरोध में कई `डेली मेट्रिक` फ़ेच की जा सकती हैं.
सेवा बंद होने का शेड्यूल देखें. साथ ही, v4 reportInsights API वाले तरीके से Google Business Profile की परफ़ॉर्मेंस एपीआई में माइग्रेट करने के बारे में निर्देश देखें.
सवाल-जवाब वाला एपीआई
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
बदलाव लॉग
v1: 18-09-2024
locations.questions और locations.questions.answers के लिए, पुराना आईडी अब स्वीकार नहीं किया जाएगा
अगर name
फ़ील्ड में, सवाल या जवाब का पुराना आईडी शामिल है, तो एपीआई एक अपवाद दिखाएगा. यह आईडी, 2024-09-16
से शुरू होना चाहिए. अगर एपीआई को कॉल करते समय, पुराने आईडी का इस्तेमाल किया जा रहा है, तो list
तरीके को कॉल करके, उसे नए आईडी से बदलें.
v1: 12-02-2024
name
फ़ील्ड, locations.questions
और locations.questions.answers
के लिए बदल जाएगा
ध्यान दें कि 2024-02-12
से शुरू होने वाले name
फ़ील्ड में, सवाल या जवाब का पुराना आईडी शामिल होता है. इसे नए आईडी से बदल दिया जाएगा. अगर सवाल या जवाब के लिए पुराने आईडी का इस्तेमाल किया जा रहा है, तो एपीआई आपके अनुरोध के लिए रिस्पॉन्स ऑब्जेक्ट में नया आईडी दिखाएगा.
v1: 13-11-2023
locations.questions.list
उन कारोबारों के लिए जिनके लिए 50 से ज़्यादा सवाल पूछे गए हैं
orderBy
के लिए locations.questions.list
क्वेरी पैरामीटर में एक समस्या है. यह upvoteCount
क्रम का इस्तेमाल करके, कारोबार के बनाए गए सवालों को सही तरीके से क्रम में नहीं लगाता. ऐसा तब होता है, जब 50 से ज़्यादा सवाल हों.
v1: 18-11-2021
API पहुंच
सवाल और जवाब वाले एपीआई को GCP Console से चालू करना होगा. OAuth स्कोप में कोई बदलाव नहीं होता.
एंडपॉइंट यूआरएल
सवालों के एंडपॉइंट को https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions
के बजाय https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions
पर ऐक्सेस किया जा सकता है.
Answers एंडपॉइंट को https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions/{questionId}/answers
के बजाय https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions/{questionId}/answers
पर ऐक्सेस किया जा सकता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["Starting September 16, 2024, the old ID format for questions and answers will be deprecated and replaced with a new ID format, requiring updates to API calls using the `list` method for retrieval."],["As of February 12, 2024, the `name` field for questions and answers transitioned to a new ID structure, with the API returning the updated ID in responses for compatibility."],["There is a known issue with the `locations.questions.list` method where the `orderBy` parameter with `upvoteCount` might not correctly sort business-created questions when exceeding 50 in number."],["The Q&A API requires explicit activation through the GCP Console, with endpoints for questions and answers being relocated to new URLs under the `mybusinessqanda.googleapis.com` domain."]]],[]]