Method: liasettings.requestgmbaccess

  • This guide explains how to request access to a specified Business Profile using the requestgmbaccess method.

  • The request is sent as an HTTP POST to a specific endpoint, including merchant and account IDs in the path.

  • You'll need to provide the Business Profile's email as a query parameter and leave the request body empty.

  • A successful response will confirm the request with a specific JSON structure including a kind field.

  • Authorization requires using the https://www.googleapis.com/auth/content OAuth scope.

Requests access to a specified Business Profile.

HTTP request

POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/liasettings/{accountId}/requestgmbaccess

Path parameters

Parameters
merchantId

string

The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

accountId

string

The ID of the account for which Business Profile access is requested.

Query parameters

Parameters
gmbEmail

string

The email of the Business Profile.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "kind": string
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string "content#liasettingsRequestGmbAccessResponse".

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.