Sign up for email announcements to stay updated on the latest information about the GMB API.

Method: accounts.locations.followers.getMetadata

Get the followers settings for a location.

NOT_FOUND is returned if either the account or the location doesn't exist. PRECONDITION_FAILED is returned if the location is not verified nor connected to Maps.

HTTP request

GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/followers/metadata}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of the location's followers metadata. accounts/{account_id}/locations/{location_id}/followers/metadata

Request body

The request body must be empty.

Response body

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

Follower metadata for a location.

JSON representation
{
  "name": string,
  "count": string
}
Fields
name

string

The resource name for this. accounts/{account_id}/locations/{location_id}/followers/metadata

count

string

Total number of followers for the location.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/plus.business.manage

For more information, see the OAuth 2.0 Overview.