Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Aby zapewnić, że system Google Analytics nie otrzyma więcej danych, niż może przetworzyć, oraz aby zapewnić równy podział zasobów systemu między użytkowników, interfejsy Google Analytics API stosują pewne limity i kwoty dotyczące korzystania z usługi.
Na ogólne wykorzystanie interfejsu Google Analytics API (z wyjątkiem wywołań interfejsu Data API) na poziomie projektu Google Cloud mają zastosowanie następujące limity i kwoty:
50 tys. żądań na projekt dziennie.
10 zapytań na sekundę (QPS) na adres IP.
W konsoli interfejsu API obowiązuje podobna kwota zwana żądaniami na 100 sekund na użytkownika. Domyślnie jest to 100 żądań na 100 sekund na użytkownika, ale można to zmienić do maksymalnej wartości 1000. Liczba żądań do interfejsu API jest jednak ograniczona do maksymalnie 10 żądań na sekundę na użytkownika.
Jeśli Twoja aplikacja wysyła wszystkie żądania interfejsu API z jednego adresu IP (np. w imieniu użytkowników), użyj parametru userIP lub quotaUser w każdym żądaniu, aby uzyskać pełny limit QPS dla każdego użytkownika. Więcej informacji znajdziesz w podsumowaniu standardowych parametrów zapytań.
Niektóre interfejsy API mają dodatkowe ograniczenia. Szczegółowe informacje o limitach i kwotach dotyczących interfejsu API znajdziesz na tych stronach:
Jeśli limit żądań interfejsu Google Analytics API zostanie przekroczony, interfejs API zwróci kod błędu 403 lub 429 oraz komunikat o tym, że konto przekroczyło limit. Więcej informacji znajdziesz w Warunkach korzystania z usługi.
[null,null,["Ostatnia aktualizacja: 2025-08-31 UTC."],[],[],null,["# Limits and quotas on API requests\n\nTo ensure the Google Analytics system doesn't receive more data than it can\nhandle, and to ensure equitable distribution of the system's resources across\nusers, Google Analytics APIs enfore some limits and quotas on your usage. \n\nThe following limits and quotas apply to your overall Google Analytics API usage\n(excluding Data API calls) at the Google Cloud project level:\n\n- 50,000 requests per *project* per day.\n- 10 queries per second (QPS) per *IP address* .\n - In the [API Console](https://console.cloud.google.com/), there is a similar quota referred to as *Requests per 100 seconds per user*. By default, it is set to 100 requests per 100 seconds per user and can be adjusted to a maximum value of 1,000. But the number of requests to the API is restricted to a maximum of 10 requests per second per user.\n - If your application makes all API requests from a single IP address (for example, on behalf of your users), use the `userIP` or `quotaUser` parameter with each request to get full QPS quota for each user. See The [standard query parameters summary](/analytics/devguides/parameters) for details.\n\n| **Note:** Daily quotas are refreshed at midnight Pacific Standard Time.\n\nSome APIs have additional restrictions. For details on API-specific limits and\nquotas, see the following pages:\n\n- [Admin API](/analytics/devguides/config/admin/v1/quotas)\n- [Data API](/analytics/devguides/reporting/data/v1/quotas)\n- [User Deletion API](/analytics/devguides/config/userdeletion/v3/limits-quotas)\n\nErrors related to limits and quotas\n-----------------------------------\n\nIf the quota of requesting a Google Analytics API is exceeded, the API returns\nan error code `403` or `429` and a message that the account has exceeded the\nquota. See the [terms of service](/terms) for more information.\n\nFor more information on quota management and how to fine-tune your application\nfor quota usage, see [Monitoring APIs and capping\nusage](https://support.google.com/cloud/answer/6158858)."]]