Class Audience
A resource message representing an Audience.
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class Audience : IMessage<Audience>, IEquatable<Audience>, IDeepCloneable<Audience>, IBufferMessage, IMessage
Constructors
Audience()
Declaration
public Audience()
Audience(Audience)
Declaration
public Audience(Audience other)
Parameters
| Type | Name | Description |
|---|---|---|
| Audience | other |
Properties
AdsPersonalizationEnabled
Output only. It is automatically set by GA to false if this is an NPA Audience and is excluded from ads personalization.
Declaration
public bool AdsPersonalizationEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AudienceName
AudienceName-typed view over the Name resource name property.
Declaration
public AudienceName AudienceName { get; set; }
Property Value
| Type | Description |
|---|---|
| AudienceName |
CreateTime
Output only. Time when the Audience was created.
Declaration
public Timestamp CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Description
Required. The description of the Audience.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Required. The display name of the Audience.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventTrigger
Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience.
Declaration
public AudienceEventTrigger EventTrigger { get; set; }
Property Value
| Type | Description |
|---|---|
| AudienceEventTrigger |
ExclusionDurationMode
Immutable. Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience.
Declaration
public Audience.Types.AudienceExclusionDurationMode ExclusionDurationMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Audience.Types.AudienceExclusionDurationMode |
FilterClauses
Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.
Declaration
public RepeatedField<AudienceFilterClause> FilterClauses { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<AudienceFilterClause> |
MembershipDurationDays
Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more than 540 days.
Declaration
public int MembershipDurationDays { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Name
Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |