public static interface AudienceSegment.RuleBasedFirstPartyAudienceSegmentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMembershipExpirationDays()
public abstract long getMembershipExpirationDays() 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.
optional int64 membership_expiration_days = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The membershipExpirationDays. |
getPageViews()
public abstract long getPageViews() 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.
optional int64 page_views = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The pageViews. |
getRecencyDays()
public abstract long getRecencyDays() 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.
optional int64 recency_days = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The recencyDays. |
getRule()
public abstract AudienceSegment.Rule getRule() Required. The rule definition which determines the eligibility criteria
for the AudienceSegment.
.google.ads.admanager.v1.AudienceSegment.Rule rule = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.Rule |
The rule. |
getRuleOrBuilder()
public abstract AudienceSegment.RuleOrBuilder getRuleOrBuilder() Required. The rule definition which determines the eligibility criteria
for the AudienceSegment.
.google.ads.admanager.v1.AudienceSegment.Rule rule = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.RuleOrBuilder |
|
hasMembershipExpirationDays()
public abstract boolean hasMembershipExpirationDays() 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.
optional int64 membership_expiration_days = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the membershipExpirationDays field is set. |
hasPageViews()
public abstract boolean hasPageViews() 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.
optional int64 page_views = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pageViews field is set. |
hasRecencyDays()
public abstract boolean hasRecencyDays() 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.
optional int64 recency_days = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the recencyDays field is set. |
hasRule()
public abstract boolean hasRule() Required. The rule definition which determines the eligibility criteria
for the AudienceSegment.
.google.ads.admanager.v1.AudienceSegment.Rule rule = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rule field is set. |