Method: properties.audiences.create

  • The main purpose is to create an Audience.

  • The HTTP request method is POST and the URL structure follows gRPC Transcoding syntax with a required parent parameter in the path.

  • The request body requires an instance of Audience.

  • A successful response body will contain a newly created Audience instance.

  • Creating an Audience requires the https://www.googleapis.com/auth/analytics.edit OAuth scope.

Creates an Audience.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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