Method: properties.dataStreams.getEnhancedMeasurementSettings
Gibt die Einstellungen für optimierte Analysen für diesen Datenstream zurück. Hinweis: Für den Stream müssen optimierte Analysen aktiviert sein, damit diese Einstellungen wirksam werden.
HTTP-Anfrage
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Der Name der zu suchenden Einstellungen. Format: properties/{property}/dataStreams/{dataStream}/enhancedMeasurementSettings Beispiel: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von EnhancedMeasurementSettings
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-05-06 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]