Google Business Profile एपीआई में
एपीआई का नया तरीका है. इसकी मदद से, एक ही एपीआई अनुरोध में कई `डेली मेट्रिक` फ़ेच की जा सकती हैं.
सेवा बंद होने का शेड्यूल देखें. साथ ही, v4 reportInsights API वाले तरीके से Google Business Profile की परफ़ॉर्मेंस एपीआई में माइग्रेट करने के बारे में निर्देश देखें.
Method: accounts.locations.localPosts.create
किसी खास जगह से जुड़ी एक नई लोकल पोस्ट बनाता है और उसे दिखाता है.
एचटीटीपी अनुरोध
POST https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/localPosts
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
parent |
string
उस जगह का नाम जहां आपको यह स्थानीय पोस्ट बनानी है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में LocalPost
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब होने पर, रिस्पॉन्स के मुख्य हिस्से में LocalPost
का नया इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
इनमें से कोई एक OAuth स्कोप ज़रूरी है:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया."],[[["Creates a new local post for a specified location and returns the created post data."],["Utilizes an HTTP POST request to `https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/localPosts`, where `{parent}` specifies the location."],["Requires a request body containing a `LocalPost` object defining the post content."],["The response, upon success, provides the newly created `LocalPost` object."],["Needs authorization with either `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage` scopes."]]],[]]