Google বিজনেস পারফরম্যান্স API-এর একটি
নতুন API পদ্ধতি রয়েছে যা একটি একক API অনুরোধে একাধিক `DailyMetrics` আনার অনুমতি দেয়। v4 reportInsights API পদ্ধতি থেকে Google Business Profile Performance API-এ স্থানান্তরিত করার জন্য
অবচয়ের সময়সূচী এবং নির্দেশাবলী পর্যালোচনা করুন।
Method: accounts.locations.questions.answers.upsert
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি উত্তর তৈরি করে বা নির্দিষ্ট প্রশ্নের জন্য ব্যবহারকারীর দ্বারা লিখিত বিদ্যমান উত্তর আপডেট করে। একজন ব্যবহারকারী প্রতি প্রশ্নে শুধুমাত্র একটি উত্তর তৈরি করতে পারে।
HTTP অনুরোধ
POST https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*/questions/*}/answers:upsert
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string যে প্রশ্নের উত্তর লিখতে হবে তার নাম। |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"answer": {
object (Answer )
}
} |
ক্ষেত্র |
---|
answer | object ( Answer ) নতুন উত্তর। |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে Answer
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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 সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis document details the process for creating or updating an answer to a question on a Google My Business location using the \u003ccode\u003eanswers:upsert\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the question's name in the URL path and providing the new answer content in the request body.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return the complete \u003ccode\u003eAnswer\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required using specific OAuth scopes related to Google My Business management.\u003c/p\u003e\n"],["\u003cp\u003eThe API utilizes gRPC Transcoding for structuring the request URL.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.locations.questions.answers.upsert\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nCreates an answer or updates the existing answer written by the user for the specified question. A user can only create one answer per question.\n\n### HTTP request\n\n`POST https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*/questions/*}/answers:upsert`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------------|\n| `parent` | `string` The name of the question to write an answer for. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"answer\": { object (/my-business/reference/rest/v4/accounts.locations.questions.answers#Answer) } } ``` |\n\n| Fields ||\n|----------|-------------------------------------------------------------------------------------------------------------------|\n| `answer` | `object (`[Answer](/my-business/reference/rest/v4/accounts.locations.questions.answers#Answer)`)` The new answer. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Answer](/my-business/reference/rest/v4/accounts.locations.questions.answers#Answer).\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/plus.business.manage`\n- `https://www.googleapis.com/auth/business.manage`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]