Method: properties.reportingDataAnnotations.create

  • This page details how to create a Reporting Data Annotation using an HTTP POST request.

  • The request requires a parent path parameter specifying the property for which the annotation is created.

  • The request body should contain an instance of ReportingDataAnnotation.

  • A successful response body will contain the newly created ReportingDataAnnotation instance.

  • This operation requires the https://www.googleapis.com/auth/analytics.edit authorization scope.

Creates a Reporting Data Annotation.

HTTP request

POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/reportingDataAnnotations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The property for which to create a Reporting Data Annotation. Format: properties/property_id Example: properties/123

Request body

The request body contains an instance of ReportingDataAnnotation.

Response body

If successful, the response body contains a newly created instance of ReportingDataAnnotation.

Authorization scopes

Requires the following OAuth scope:

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