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

Metric

A metric of data about a resource.

Enums
METRIC_UNSPECIFIED No metric specified.
ALL Shorthand to request all available metrics. Which metrics are included in ALL varies, and depends on the resource for which insights are being requested.
QUERIES_DIRECT The number of times the resource was shown when searching for the location directly.
QUERIES_INDIRECT The number of times the resource was shown as a result of a categorical search (for example, restaurant).
QUERIES_CHAIN The number of times a resource was shown as a result of a search for the chain it belongs to, or a brand it sells. For example, Starbucks, Adidas. This is a subset of QUERIES_INDIRECT.
VIEWS_MAPS The number of times the resource was viewed on Google Maps.
ACTIONS_WEBSITE The number of times the website was clicked.
ACTIONS_PHONE The number of times the phone number was clicked.
ACTIONS_DRIVING_DIRECTIONS The number of times driving directions were requested.
PHOTOS_VIEWS_MERCHANT The number of views on media items uploaded by the merchant.
PHOTOS_VIEWS_CUSTOMERS The number of views on media items uploaded by customers.
PHOTOS_COUNT_MERCHANT The total number of media items that are currently live that have been uploaded by the merchant.
PHOTOS_COUNT_CUSTOMERS The total number of media items that are currently live that have been uploaded by customers.
LOCAL_POST_VIEWS_SEARCH The number of times the local post was viewed on Google Search.
LOCAL_POST_ACTIONS_CALL_TO_ACTION The number of times the call to action button was clicked on Google.