Resource: AudienceList
An audience list is a list of users in an audience at the time of the list's creation. One audience may have multiple audience lists created for different days.
JSON representation |
---|
{ "name": string, "audience": string, "audienceDisplayName": string, "dimensions": [ { object ( |
Fields | |
---|---|
name |
Output only. Identifier. The audience list resource name assigned during creation. This resource name identifies this Format: |
audience |
Required. The audience resource name. This resource name identifies the audience being listed and is shared between the Analytics Data & Admin APIs. Format: |
audienceDisplayName |
Output only. The descriptive display name for this audience. For example, "Purchasers". |
dimensions[] |
Required. The dimensions requested and displayed in the report response. |
creationQuotaTokensCharged |
Output only. The total quota tokens charged during creation of the AudienceList. Because this token count is based on activity from the |
state |
Output only. The current state for this AudienceList. |
beginCreatingTime |
Output only. The time when audienceLists.create was called and the AudienceList began the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
rowCount |
Output only. The total number of rows in the AudienceList result. |
errorMessage |
Output only. Error message is populated when an audience list fails during creation. A common reason for such a failure is quota exhaustion. |
AudienceDimension
An audience dimension is a user attribute. Specific user attributed are requested and then later returned in the QueryAudienceListResponse
.
JSON representation |
---|
{ "dimensionName": string } |
Fields | |
---|---|
dimensionName |
Optional. The API name of the dimension. See the API Dimensions for the list of dimension names. |
State
The AudienceList currently exists in this state.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified state will never be used. |
CREATING |
The AudienceList is currently creating and will be available in the future. Creating occurs immediately after the audienceLists.create call. |
ACTIVE |
The AudienceList is fully created and ready for querying. An AudienceList is updated to active asynchronously from a request; this occurs some time (for example 15 minutes) after the initial create call. |
FAILED |
The AudienceList failed to be created. It is possible that re-requesting this audience list will succeed. |
Methods |
|
---|---|
|
Creates an audience list for later retrieval. |
|
Exports an audience list of users to a Google Sheet. |
|
Gets configuration metadata about a specific audience list. |
|
Lists all audience lists for a property. |
|
Retrieves an audience list of users. |