Google Analytics Admin API (analyticsadmin:v1alpha)

2023-03-08

5 new methods

Additions

    Methods
  • analyticsadmin.properties.dataStreams.updateEnhancedMeasurementSettings

      Scopes: https://www.googleapis.com/auth/analytics.edit

      Path: v1alpha/{+name}

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

      Parameter Order: name

      Flat Path: v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/enhancedMeasurementSettings

      Parameters:

        updateMask

          Description: Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

          Format: google-fieldmask

          Type: string

          Location: query

        name

          Pattern: ^properties/[^/]+/dataStreams/[^/]+/enhancedMeasurementSettings$

          Description: Output only. Resource name of the Enhanced Measurement Settings. Format: properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"

          Location: path

          Type: string

          Required: Yes

      HTTP Method: PATCH

  • analyticsadmin.properties.dataStreams.getEnhancedMeasurementSettings

      Flat Path: v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/enhancedMeasurementSettings

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

      Parameter Order: name

      Parameters:

        name

          Required: Yes

          Location: path

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

          Pattern: ^properties/[^/]+/dataStreams/[^/]+/enhancedMeasurementSettings$

          Type: string

      HTTP Method: GET

      Path: v1alpha/{+name}

      Scopes:

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

      Path: v1alpha/properties:deleteConnectedSiteTag

      Flat Path: v1alpha/properties:deleteConnectedSiteTag

      Scopes: https://www.googleapis.com/auth/analytics.edit

      Description: Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.

      HTTP Method: POST

  • analyticsadmin.properties.createConnectedSiteTag

      Scopes: https://www.googleapis.com/auth/analytics.edit

      Flat Path: v1alpha/properties:createConnectedSiteTag

      Description: Creates a connected site tag for a Universal Analytics property. You can create a maximum of 20 connected site tags per property. Note: This API cannot be used on GA4 properties.

      HTTP Method: POST

      Path: v1alpha/properties:createConnectedSiteTag

  • analyticsadmin.properties.listConnectedSiteTags