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.
Author
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Reprezentuje autora pytania lub odpowiedzi
Zapis JSON |
{
"displayName": string,
"profilePhotoUrl": string,
"type": enum (AuthorType )
} |
Pola |
displayName |
string
Wyświetlana nazwa użytkownika
|
profilePhotoUrl |
string
Adres URL zdjęcia profilowego użytkownika.
|
type |
enum (AuthorType )
Typ użytkownika, którego autorem jest autor.
|
AuthorType
Wyliczenie typu użytkownika, którego jest autor.
Wartości w polu enum |
AUTHOR_TYPE_UNSPECIFIED |
Nie należy go używać. |
REGULAR_USER |
Zwykły użytkownik. |
LOCAL_GUIDE |
Lokalny przewodnik |
MERCHANT |
właściciel/menedżer lokalizacji; |
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\u003eThe AuthorType object represents the author of a question or answer and includes their display name, profile photo URL, and user type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etype\u003c/code\u003e field uses the AuthorType enum to specify whether the author is a regular user, a Local Guide, or a merchant, avoiding the \u003ccode\u003eAUTHOR_TYPE_UNSPECIFIED\u003c/code\u003e value.\u003c/p\u003e\n"]]],[],null,["# Author\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [AuthorType](#AuthorType)\n\nRepresents the author of a question or answer\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"displayName\": string, \"profilePhotoUrl\": string, \"type\": enum (/my-business/reference/rest/v4/Author#AuthorType) } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------|\n| `displayName` | `string` The display name of the user |\n| `profilePhotoUrl` | `string` The profile photo URL of the user. |\n| `type` | `enum (`[AuthorType](/my-business/reference/rest/v4/Author#AuthorType)`)` The type of user the author is. |\n\nAuthorType\n----------\n\nEnum for the type of user the author is.\n\n| Enums ||\n|---------------------------|-----------------------------------|\n| `AUTHOR_TYPE_UNSPECIFIED` | This should not be used. |\n| `REGULAR_USER` | A regular user. |\n| `LOCAL_GUIDE` | A Local Guide |\n| `MERCHANT` | The owner/manager of the location |"]]