- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- GbpAccount
- Type
- Try it!
List the GBP accounts for a given merchant.
HTTP request
GET https://merchantapi.googleapis.com/accounts/v1beta/{parent=accounts/*}/gbpAccounts
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the parent resource under which the GBP accounts are listed. Format: |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
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:
JSON representation |
---|
{
"gbpAccounts": [
{
object ( |
Fields | |
---|---|
gbpAccounts[] |
The GBP accounts from the specified merchant in the specified country. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
GbpAccount
Collection of information related to a Google Business Profile (GBP) account.
JSON representation |
---|
{
"name": string,
"gbpAccountId": string,
"type": enum ( |
Fields | |
---|---|
name |
Identifier. The resource name of the GBP account. Format: |
gbpAccountId |
The id of the GBP account. |
type |
The type of the Business Profile. |
gbpAccountName |
The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account. |
listingCount |
Number of listings under this account. |
Type
The type of the GBP account.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Default value. This value is unused. |
USER |
The GBP account is a user account. |
BUSINESS_ACCOUNT |
The GBP account is a business account. |