AI-generated Key Takeaways
-
Creates a new Audience using an HTTP POST request to the specified endpoint.
-
Requires providing the parent property ID in the URL path and an
Audience
object in the request body. -
A successful response will return the newly created
Audience
object. -
Requires the
analytics.edit
OAuth scope for authorization.
Creates an Audience.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/audiences
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Example format: properties/1234 |
Request body
The request body contains an instance of Audience
.
Response body
If successful, the response body contains a newly created instance of Audience
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit