AI-generated Key Takeaways
-
This method lists all audience lists for a specified property to help find and reuse existing lists.
-
The URL uses gRPC Transcoding syntax with a required
parentpath parameter specifying the property. -
Optional query parameters like
pageSizeandpageTokencan be used for pagination. -
The response body contains a list of
audienceListsobjects and anextPageTokenfor pagination. -
This method requires either the
https://www.googleapis.com/auth/analytics.readonlyorhttps://www.googleapis.com/auth/analyticsOAuth scope for authorization.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists all audience lists for a property. This method can be used for you to find and reuse existing audience lists rather than creating unnecessary new audience lists. The same audience can have multiple audience lists that represent the list of users that were in an audience on different days.
See Creating an Audience List for an introduction to Audience Lists with examples.
This method is available at beta stability at audienceExports.list. To give your feedback on this API, complete the Google Analytics Audience Export API Feedback form.
HTTP request
GET https://analyticsdata.googleapis.com/v1alpha/{parent=properties/*}/audienceLists
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. All audience lists for this property will be listed in the response. Format: |
Query parameters
| Parameters | |
|---|---|
page |
Optional. The maximum number of audience lists to return. The service may return fewer than this value. If unspecified, at most 200 audience lists will be returned. The maximum value is 1000 (higher values will be coerced to the maximum). |
page |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
A list of all audience lists for a property.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"audienceLists": [
{
object ( |
| Fields | |
|---|---|
audience |
Each audience list for a property. |
next |
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/analytics.readonlyhttps://www.googleapis.com/auth/analytics