Interfejs
Google Business Performance API udostępnia
NOWĄ metodę interfejsu API, która umożliwia pobieranie wielu parametrów „DailyMetrics” w jednym żądaniu API.
Zapoznaj się z
harmonogramem wycofywania i instrukcjami, jak przejść z metody raportu API w wersji 4 na interfejs Google Business Profile Performance API.
Metric
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wskaźnik dotyczący zasobu.
Wartości w polu enum |
METRIC_UNSPECIFIED |
Nie określono danych. |
ALL |
Skrót umożliwiający przesłanie wszystkich dostępnych danych. Poszczególne dane (WSZYSTKIE) są uwzględniane w zależności od zasobu, którego dotyczą statystyki. |
QUERIES_DIRECT |
Liczba wyświetleń zasobu podczas bezpośredniego wyszukiwania lokalizacji. |
QUERIES_INDIRECT |
Liczba wyświetleń zasobu w wynikach wyszukiwania kategorii (np. restauracji). |
QUERIES_CHAIN |
Liczba wyświetleń zasobu w wyniku wyszukiwania sieci, do której należy, lub marki, którą sprzedaje. np. Starbucks czy Adidas. To jest podzbiór QUERIES_Mid. |
VIEWS_MAPS |
Liczba wyświetleń zasobu w Mapach Google. |
VIEWS_SEARCH |
Liczba wyświetleń zasobu w wyszukiwarce Google. |
ACTIONS_WEBSITE |
Liczba kliknięć witryny. |
ACTIONS_PHONE |
Liczba kliknięć numeru telefonu. |
ACTIONS_DRIVING_DIRECTIONS |
Liczba próśb o wskazówki dojazdu. |
PHOTOS_VIEWS_MERCHANT |
Liczba wyświetleń elementów multimedialnych przesłanych przez sprzedawcę. |
PHOTOS_VIEWS_CUSTOMERS |
Liczba wyświetleń elementów multimedialnych przesłanych przez klientów. |
PHOTOS_COUNT_MERCHANT |
Łączna liczba aktywnych elementów multimedialnych, które zostały przesłane przez sprzedawcę. |
PHOTOS_COUNT_CUSTOMERS |
Łączna liczba obecnie opublikowanych elementów multimedialnych, które zostały przesłane przez klientów. |
LOCAL_POST_VIEWS_SEARCH |
Liczba wyświetleń lokalnego posta w wyszukiwarce Google. |
LOCAL_POST_ACTIONS_CALL_TO_ACTION |
Liczba kliknięć przycisku z wezwaniem do działania w Google. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eMetrics provide various data points about a resource, like views, queries, and actions.\u003c/p\u003e\n"],["\u003cp\u003eThese metrics can reflect user engagement across Google Search and Maps.\u003c/p\u003e\n"],["\u003cp\u003eMetrics are categorized by type, including queries, views, actions, and photos.\u003c/p\u003e\n"],["\u003cp\u003eThey offer insights into customer interactions, such as website clicks, phone calls, and direction requests.\u003c/p\u003e\n"],["\u003cp\u003eMerchant and customer uploaded media have separate metrics tracking views and counts.\u003c/p\u003e\n"]]],["The provided content defines metrics related to resource data. Key metrics include `QUERIES_DIRECT`, `QUERIES_INDIRECT`, and `QUERIES_CHAIN`, tracking search visibility. `VIEWS_MAPS` and `VIEWS_SEARCH` measure views on Google Maps and Search, respectively. `ACTIONS_WEBSITE`, `ACTIONS_PHONE`, and `ACTIONS_DRIVING_DIRECTIONS` gauge user engagement. Photo-related metrics, like `PHOTOS_VIEWS_MERCHANT` and `PHOTOS_COUNT_CUSTOMERS`, assess media interactions. Also included are `LOCAL_POST_VIEWS_SEARCH` and `LOCAL_POST_ACTIONS_CALL_TO_ACTION` that assess local posts. The `ALL` metric aggregates available metrics.\n"],null,["# Metric\n\nA metric of data about a resource.\n\n| Enums ||\n|-------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `METRIC_UNSPECIFIED` | No metric specified. |\n| `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. |\n| `QUERIES_DIRECT` | The number of times the resource was shown when searching for the location directly. |\n| `QUERIES_INDIRECT` | The number of times the resource was shown as a result of a categorical search (for example, restaurant). |\n| `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. |\n| `VIEWS_MAPS` | The number of times the resource was viewed on Google Maps. |\n| `VIEWS_SEARCH` | The number of times the resource was viewed on Google Search. |\n| `ACTIONS_WEBSITE` | The number of times the website was clicked. |\n| `ACTIONS_PHONE` | The number of times the phone number was clicked. |\n| `ACTIONS_DRIVING_DIRECTIONS` | The number of times driving directions were requested. |\n| `PHOTOS_VIEWS_MERCHANT` | The number of views on media items uploaded by the merchant. |\n| `PHOTOS_VIEWS_CUSTOMERS` | The number of views on media items uploaded by customers. |\n| `PHOTOS_COUNT_MERCHANT` | The total number of media items that are currently live that have been uploaded by the merchant. |\n| `PHOTOS_COUNT_CUSTOMERS` | The total number of media items that are currently live that have been uploaded by customers. |\n| `LOCAL_POST_VIEWS_SEARCH` | The number of times the local post was viewed on Google Search. |\n| `LOCAL_POST_ACTIONS_CALL_TO_ACTION` | The number of times the call to action button was clicked on Google. |"]]