Google Business Performance API에는 단일 API 요청으로 여러 'DailyMetrics'를 가져올 수 있는
새로운 API 메서드가 있습니다.
v4 reportInsights API 메서드에서 Google Business Profile Performance API로 이전하려면
지원 중단 일정 및 안내를 검토하세요.
Method: accounts.locations.questions.list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
지정된 위치에 대해 페이지로 나눈 질문 목록과 답변의 일부를 반환합니다.
HTTP 요청
GET https://mybusiness.googleapis.com/v4/{parent=accounts/*/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/plus.business.manage
https://www.googleapis.com/auth/business.manage
자세한 내용은 OAuth 2.0 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eRetrieves a paginated list of questions and some of their answers for a specified location using the \u003ccode\u003eGET\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by answered status, ordering by update time or upvote count, and specifying the number of questions and answers per page.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with either \u003ccode\u003ehttps://www.googleapis.com/auth/plus.business.manage\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of questions, the total number of questions, and a token for retrieving the next page if available.\u003c/p\u003e\n"],["\u003cp\u003eUses gRPC Transcoding syntax in the URL structure.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.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.\n\n### HTTP request\n\n`GET https://mybusiness.googleapis.com/v4/{parent=accounts/*/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` The name of the location to fetch questions for. |\n\n### Query parameters\n\n| Parameters ||\n|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` How many questions to fetch per page. The default and maximum `pageSize` values are 10. |\n| `pageToken` | `string` If specified, the next page of questions is retrieved. |\n| `answersPerQuestion` | `integer` How many answers to fetch per question. The default and maximum `answersPerQuestion` values are 10. |\n| `filter` | `string` A filter constraining the questions to return. The only filter currently supported is \"ignore_answered=true\" |\n| `orderBy` | `string` 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\nIf successful, the response body contains data with the following structure:\nResponse message for QuestionsAndAnswers.ListQuestions\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"questions\": [ { object (/my-business/reference/rest/v4/accounts.locations.questions#Question) } ], \"totalSize\": integer, \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `questions[]` | `object (`[Question](/my-business/reference/rest/v4/accounts.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 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)."]]