v1Resources/Locations/getRead Google category metadata

Read Google category metadata

Read Google category attributes or service types. Service types take precedence when both selectors are supplied. Cached service types work without a connected account; an uncached lookup needs a connected Google account and the display name. Missing attribute credentials return notConnected. Search misses are not cached. No credentials are returned.

get/api/v1/locations/category-metadata
locations:read
Query parameters
categoryIdstringoptional
Google category ID for attribute metadata.
serviceTypesstringoptional
Google category ID for service types; categories/ prefix is optional.
namestringoptional
Category display name used to resolve uncached service types.
regionstringoptional
Two-letter country code, default US.
Response
dataobjectoptional
attributesarray of objectoptional
serviceTypesarray of objectoptional
notConnectedbooleanoptional
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
get/api/v1/locations/category-metadata
Your API key
categoryId
serviceTypes
name
region
{}

Guides that use this resource