Required. The name of the parent resource under which the GBP accounts are listed. Format: accounts/{account}.
Query parameters
Parameters
pageSize
integer
Optional. The maximum number of GbpAccount resources to return. The service returns fewer than this value if the number of gbp accounts is less that than the pageSize. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the pageSize will default to the maximum.
pageToken
string
Optional. A page token, received from a previous gbpAccounts.list call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to gbpAccounts.list must match the call that provided the page token.
Request body
The request body must be empty.
Response body
Response message for the gbpAccounts.list method.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-27 UTC."],[],[],null,["- [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.ListGbpAccountsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [GbpAccount](#GbpAccount)\n - [JSON representation](#GbpAccount.SCHEMA_REPRESENTATION)\n- [Type](#Type)\n- [Try it!](#try-it)\n\nList the GBP accounts for a given merchant.\n\nHTTP request\n\n`GET https://merchantapi.googleapis.com/accounts/v1beta/{parent=accounts/*}/gbpAccounts`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------|---------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The name of the parent resource under which the GBP accounts are listed. Format: `accounts/{account}`. |\n\nQuery parameters\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. The maximum number of `GbpAccount` resources to return. The service returns fewer than this value if the number of gbp accounts is less that than the `pageSize`. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum. |\n| `pageToken` | `string` Optional. A page token, received from a previous `gbpAccounts.list` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `gbpAccounts.list` must match the call that provided the page token. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body Response message for the gbpAccounts.list method.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"gbpAccounts\": [ { object (/merchant/api/reference/rest/accounts_v1beta/accounts.gbpAccounts/list#GbpAccount) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `gbpAccounts[]` | `object (`[GbpAccount](/merchant/api/reference/rest/accounts_v1beta/accounts.gbpAccounts/list#GbpAccount)`)` The GBP accounts from the specified merchant in the specified country. |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2).\n\nGbpAccount Collection of information related to a Google Business Profile (GBP) account.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"gbpAccountId\": string, \"type\": enum (/merchant/api/reference/rest/accounts_v1beta/accounts.gbpAccounts/list#Type), \"gbpAccountName\": string, \"listingCount\": string } ``` |\n\n| Fields ||\n|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The resource name of the GBP account. Format: `accounts/{account}/gbpAccount/{gbp_account}` |\n| `gbpAccountId` | `string` The id of the GBP account. |\n| `type` | `enum (`[Type](/merchant/api/reference/rest/accounts_v1beta/accounts.gbpAccounts/list#Type)`)` The type of the Business Profile. |\n| `gbpAccountName` | `string` The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account. |\n| `listingCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of listings under this account. |\n\nType The type of the GBP account.\n\n| Enums ||\n|--------------------|----------------------------------------|\n| `TYPE_UNSPECIFIED` | Default value. This value is unused. |\n| `USER` | The GBP account is a user account. |\n| `BUSINESS_ACCOUNT` | The GBP account is a business account. |"]]