AI-generated Key Takeaways
-
Use a GET request to list all Reporting Data Annotations for a specific property.
-
The request requires a parent path parameter specifying the property resource name.
-
Optional query parameters like filter, pageSize, and pageToken can be used to refine the results.
-
The response body contains a list of Reporting Data Annotations and a token for pagination.
-
Authorization requires either the
analytics.readonly
oranalytics.edit
OAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
List all Reporting Data Annotations on a property.
HTTP request
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/reportingDataAnnotations
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Resource name of the property. Format: properties/property_id Example: properties/123 |
Query parameters
Parameters | |
---|---|
filter |
Optional. Filter that restricts which reporting data annotations under the parent property are listed. Supported fields are:
Additionally, this API provides the following helper functions:
Supported operations:
Examples:
|
pageSize |
Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |
pageToken |
Optional. A page token, received from a previous |
Request body
The request body must be empty.
Response body
Response message for ListReportingDataAnnotation RPC.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"reportingDataAnnotations": [
{
object ( |
Fields | |
---|---|
reportingDataAnnotations[] |
List of Reporting Data Annotations. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit