Method: properties.dataStreams.getEnhancedMeasurementSettings

  • Returns enhanced measurement settings for a data stream, requiring enhanced measurement to be enabled for settings to take effect.

  • The HTTP request uses a GET method with a URL format based on gRPC Transcoding syntax.

  • The name parameter is required in the path parameters, specifying the settings to look up in a specific format.

  • The request body must be empty, and a successful response body contains an instance of EnhancedMeasurementSettings.

  • Requires either https://www.googleapis.com/auth/analytics.readonly or https://www.googleapis.com/auth/analytics.edit OAuth scopes for authorization.

Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.

HTTP request

GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{dataStream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of EnhancedMeasurementSettings.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/analytics.readonly
  • https://www.googleapis.com/auth/analytics.edit