Google বিজনেস পারফরম্যান্স API-এর একটি
নতুন API পদ্ধতি রয়েছে যা একটি একক API অনুরোধে একাধিক `DailyMetrics` আনার অনুমতি দেয়। v4 reportInsights API পদ্ধতি থেকে Google Business Profile Performance API-এ স্থানান্তরিত করার জন্য
অবচয়ের সময়সূচী এবং নির্দেশাবলী পর্যালোচনা করুন।
Method: locations.questions.list
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি নির্দিষ্ট অবস্থানের জন্য প্রশ্নের পৃষ্ঠাযুক্ত তালিকা এবং এর কিছু উত্তর প্রদান করে। এই অপারেশন শুধুমাত্র বৈধ যদি নির্দিষ্ট অবস্থান যাচাই করা হয়.
HTTP অনুরোধ
GET https://mybusinessqanda.googleapis.com/v1/{parent=locations/*/questions}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string প্রয়োজন। প্রশ্ন আনার জন্য অবস্থানের নাম। |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
pageSize | integer ঐচ্ছিক। প্রতি পৃষ্ঠায় কত প্রশ্ন আনতে হবে। ডিফল্ট এবং সর্বাধিক pageSize মান 10। |
pageToken | string ঐচ্ছিক। নির্দিষ্ট করা হলে, প্রশ্নের পরবর্তী পৃষ্ঠা পুনরুদ্ধার করা হয়। |
answersPerQuestion | integer ঐচ্ছিক। প্রতি প্রশ্নে কত উত্তর আনতে হবে। ডিফল্ট এবং সর্বোচ্চ answersPerQuestion মান হল 10। |
filter | string ঐচ্ছিক। একটি ফিল্টার প্রশ্নগুলিকে ফেরাতে বাধা দেয়৷ বর্তমানে সমর্থিত একমাত্র ফিল্টার হল "ignore_answered=true" |
orderBy | string ঐচ্ছিক। প্রশ্ন ফেরত দেওয়ার নির্দেশ। বৈধ বিকল্পগুলির মধ্যে রয়েছে 'updateTime desc' এবং 'upvoteCount desc', যা অনুরোধ করা ক্ষেত্র অনুসারে ক্রমানুসারে সাজানো প্রশ্নগুলি ফিরিয়ে দেবে। ডিফল্ট সাজানোর ক্রম হল 'updateTime desc'। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
QuestionsAndAnswers.ListQuestions-এর জন্য প্রতিক্রিয়া বার্তা
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"questions": [
{
object (Question )
}
],
"totalSize": integer,
"nextPageToken": string
} |
ক্ষেত্র |
---|
questions[] | object ( Question ) অনুরোধ করা প্রশ্ন, |
totalSize | integer সমস্ত পৃষ্ঠা জুড়ে এই অবস্থানের জন্য পোস্ট করা প্রশ্নের মোট সংখ্যা। |
nextPageToken | string যদি প্রশ্নের সংখ্যা অনুরোধ করা সর্বোচ্চ পৃষ্ঠার আকারকে অতিক্রম করে, তাহলে এই ক্ষেত্রটি পরবর্তী কলে প্রশ্নগুলির পরবর্তী পৃষ্ঠা আনার জন্য একটি টোকেন দিয়ে পপুলেট করা হয়। যদি আর কোন প্রশ্ন না থাকে, তাহলে এই ক্ষেত্রটি উত্তরে উপস্থিত থাকে না। |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
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-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","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-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eRetrieves a paginated list of questions and answers for a verified Google Business location.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by unanswered questions and sorting by update time or upvote count.\u003c/p\u003e\n"],["\u003cp\u003eResponse includes the questions, total question count, and a token for retrieving subsequent pages.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: locations.questions.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListQuestionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns the paginated list of questions and some of its answers for a specified location. This operation is only valid if the specified location is verified.\n\n### HTTP request\n\n`GET https://mybusinessqanda.googleapis.com/v1/{parent=locations/*/questions}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|---------------------------------------------------------------------|\n| `parent` | `string` Required. The name of the location to fetch questions for. |\n\n### Query parameters\n\n| Parameters ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. How many questions to fetch per page. The default and maximum `pageSize` values are 10. |\n| `pageToken` | `string` Optional. If specified, the next page of questions is retrieved. |\n| `answersPerQuestion` | `integer` Optional. How many answers to fetch per question. The default and maximum `answersPerQuestion` values are 10. |\n| `filter` | `string` Optional. A filter constraining the questions to return. The only filter currently supported is \"ignore_answered=true\" |\n| `orderBy` | `string` Optional. The order to return the questions. Valid options include 'updateTime desc' and 'upvoteCount desc', which will return the questions sorted descendingly by the requested field. The default sort order is 'updateTime desc'. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for QuestionsAndAnswers.ListQuestions\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"questions\": [ { object (/my-business/reference/qanda/rest/v1/locations.questions#Question) } ], \"totalSize\": integer, \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `questions[]` | `object (`[Question](/my-business/reference/qanda/rest/v1/locations.questions#Question)`)` The requested questions, |\n| `totalSize` | `integer` The total number of questions posted for this location across all pages. |\n| `nextPageToken` | `string` If the number of questions exceeds the requested max page size, this field is populated with a token to fetch the next page of questions on a subsequent call. If there are no more questions, this field is not present in the response. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\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)."]]