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.
ErrorCode
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wszystkie kody błędów zwrócone przez interfejs API.
Wartości w polu enum |
ERROR_CODE_UNSPECIFIED |
Brak kodu błędu. |
SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS |
Nazwa tematu Pub/Sub podana w interfejsie RPC „updatepowiadomienie” jest używana w innych wersjach tego interfejsu API. Podaj nową nazwę tematu, aby ograniczyć ten problem. |
PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC |
Nazwa tematu Pub/Sub podana w ustawieniu powiadomień o aktualizacji nie ma uprawnień do publikowania dla użytkownika. |
INVALID_PUBSUB_TOPIC |
Nazwa tematu Pub/Sub podana w ustawieniu powiadomień o aktualizacji jest nieprawidłowa. |
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 API uses specific error codes to indicate issues, including unspecified errors, topic name conflicts, and permission or validation problems with the pub/sub topic.\u003c/p\u003e\n"],["\u003cp\u003eIf the 'updateNotificationSetting' request uses a pub/sub topic name that's already in use by other API versions, provide a new topic name.\u003c/p\u003e\n"],["\u003cp\u003eEnsure the user has publish permissions for the specified pub/sub topic to avoid errors related to permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe pub/sub topic name provided in the request must be valid to prevent invalid topic errors.\u003c/p\u003e\n"]]],["The document outlines API error codes. `ERROR_CODE_UNSPECIFIED` indicates a missing error code. `SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS` means a provided pub/sub topic name is already in use by other API versions, requiring a new topic name. `PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC` signals that the user lacks publish permissions for the provided pub/sub topic. Finally, `INVALID_PUBSUB_TOPIC` denotes that the supplied pub/sub topic name is not valid.\n"],null,["# ErrorCode\n\nAll errors codes returned by the API.\n\n| Enums ||\n|------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ERROR_CODE_UNSPECIFIED` | Missing error code. |\n| `SHARES_PUBSUB_TOPIC_MESSAGE_ACROSS_VERSIONS` | The pub/sub topic name provided in the 'updateNotificationSetting' rpc is being used by other versions of this API. Please supply a new topic name to mitigate this issue. |\n| `PUBLISH_PERMISSIONS_MISSING_FOR_PUBSUB_TOPIC` | The pub/sub topic name supplied for update notification setting doesn't have publish permissions for the user. |\n| `INVALID_PUBSUB_TOPIC` | The pub/sub topic name supplied for update notification setting is invalid. |"]]