Method: properties.dataStreams.getEnhancedMeasurementSettings
Zwraca ustawienia pomiaru zaawansowanego dla tego strumienia danych. Pamiętaj, że aby te ustawienia zostały zastosowane, w przypadku strumienia musi być włączony pomiar zaawansowany.
Żądanie HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa ustawień do przeszukania. Format: properties/{property}/dataStreams/{dataStream}/enhancedMeasurementSettings Przykład: „properties/1000/dataStreams/2000/enhancedMeasurementSettings”
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu EnhancedMeasurementSettings
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
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: 2024-05-06 UTC.
[null,null,["Ostatnia aktualizacja: 2024-05-06 UTC."],[[["Retrieves the enhanced measurement settings for a specified data stream, enabling detailed data collection and analysis."],["Utilizes an HTTP GET request with the resource name identifying the specific data stream's settings within Google Analytics."],["An empty request body is required, while the response provides the comprehensive EnhancedMeasurementSettings object containing configuration details."],["Authentication is necessary using OAuth scopes, granting either read-only or edit access to the analytics data."]]],["The core content describes retrieving enhanced measurement settings for a data stream. A `GET` request is sent to a specified URL, defined by the `name` path parameter, which indicates the property and data stream. The request body must be empty. The successful response contains the `EnhancedMeasurementSettings`. To access this information, one of two OAuth authorization scopes is required: `analytics.readonly` or `analytics.edit`. The settings can be modified if enhanced measurement is enabled.\n"]]