Class AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment
An AudienceSegment owned by the publisher network that contains a rule.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment : IMessage<AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment>, IEquatable<AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment>, IDeepCloneable<AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment>, IBufferMessage, IMessage
Constructors
RuleBasedFirstPartyAudienceSegment()
Declaration
public RuleBasedFirstPartyAudienceSegment()
RuleBasedFirstPartyAudienceSegment(RuleBasedFirstPartyAudienceSegment)
Declaration
public RuleBasedFirstPartyAudienceSegment(AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment other)
Parameters
| Type | Name | Description |
|---|---|---|
| AudienceSegment.Types.RuleBasedFirstPartyAudienceSegment | other |
Properties
HasMembershipExpirationDays
Gets whether the "membership_expiration_days" field is set
Declaration
public bool HasMembershipExpirationDays { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasPageViews
Gets whether the "page_views" field is set
Declaration
public bool HasPageViews { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasRecencyDays
Gets whether the "recency_days" field is set
Declaration
public bool HasRecencyDays { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MembershipExpirationDays
Required. Number of days after which a user's cookie will be removed from
the AudienceSegment due to inactivity. The field can be between 1 and
540.
Declaration
public long MembershipExpirationDays { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
PageViews
Required. Number of times a user's cookie must match the rule before
it's associated with the AudienceSegment. This is used with
recency_days to determine eligibility of the association. This
attribute is between 1 and 12.
Declaration
public long PageViews { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
RecencyDays
Optional. Number of days within which a user's cookie must match the
rule before it's associated with the AudienceSegment. This is used
with page_views to determine eligibility of the association. This
attribute is required if page_views is greater than 1. When set, it can
be between 1 and 30.
Declaration
public long RecencyDays { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Rule
Required. The rule definition which determines the eligibility criteria
for the AudienceSegment.
Declaration
public AudienceSegment.Types.Rule Rule { get; set; }
Property Value
| Type | Description |
|---|---|
| AudienceSegment.Types.Rule |