Liệt kê các đối tượng trên một tài sản. Những đối tượng được tạo trước năm 2020 có thể không được hỗ trợ. Đối tượng mặc định sẽ không hiển thị định nghĩa bộ lọc.
Yêu cầu HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/audiences
Số lượng tài nguyên tối đa cần trả về. Nếu bạn không chỉ định, hàm sẽ trả về tối đa 50 tài nguyên. Giá trị tối đa là 200 (các giá trị cao hơn sẽ bị ép buộc lên giá trị tối đa).
pageToken
string
Mã thông báo trang, nhận được từ lệnh gọi audiences.list trước đó. Cung cấp mã này để truy xuất trang tiếp theo.
Khi phân trang, tất cả các tham số khác được cung cấp cho audiences.list phải khớp với lệnh gọi đã cung cấp mã thông báo trang.
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Thông báo phản hồi cho audiences.list RPC.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-04-02 UTC."],[[["Lists all audiences on a Google Analytics 4 property, though audiences created before 2020 may have limited support."],["Allows for pagination to retrieve large lists of audiences using `pageSize` and `pageToken` parameters."],["Response includes an array of `Audience` objects and a token for retrieving subsequent pages, if available."],["Requires authorization with either `analytics.readonly` or `analytics.edit` scope."],["Default audiences may not display their filter definitions."]]],["This API lists Audiences associated with a property using a `GET` request to a specified URL with a required `parent` path parameter. Optional `pageSize` and `pageToken` query parameters handle pagination. The request body must be empty. The response body contains a list of `audiences` and a `nextPageToken` for pagination. It requires specific authorization scopes (`analytics.readonly` or `analytics.edit`). Audiences created before 2020 might not be fully supported.\n"]]