Class: Google::Apis::AnalyticsV3::IncludeConditions
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::IncludeConditions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb
Overview
JSON template for an Analytics Remarketing Include Conditions.
Instance Attribute Summary collapse
-
#days_to_look_back ⇒ Fixnum
The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience.
-
#is_smart_list ⇒ Boolean
(also: #is_smart_list?)
Boolean indicating whether this segment is a smart list.
-
#kind ⇒ String
Resource type for include conditions.
-
#membership_duration_days ⇒ Fixnum
Number of days a user remains in the audience.
-
#segment ⇒ String
The segment condition that will cause a user to be added to an audience.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IncludeConditions
constructor
A new instance of IncludeConditions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IncludeConditions
Returns a new instance of IncludeConditions.
3227 3228 3229 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3227 def initialize(**args) update!(**args) end |
Instance Attribute Details
#days_to_look_back ⇒ Fixnum
The look-back window lets you specify a time frame for evaluating the behavior
that qualifies users for your audience. For example, if your filters include
users from Central Asia, and Transactions Greater than 2, and you set the look-
back window to 14 days, then any user from Central Asia whose cumulative
transactions exceed 2 during the last 14 days is added to the audience.
Corresponds to the JSON property daysToLookBack
3201 3202 3203 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3201 def days_to_look_back @days_to_look_back end |
#is_smart_list ⇒ Boolean Also known as: is_smart_list?
Boolean indicating whether this segment is a smart list. https://support.
google.com/analytics/answer/4628577
Corresponds to the JSON property isSmartList
3207 3208 3209 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3207 def is_smart_list @is_smart_list end |
#kind ⇒ String
Resource type for include conditions.
Corresponds to the JSON property kind
3213 3214 3215 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3213 def kind @kind end |
#membership_duration_days ⇒ Fixnum
Number of days a user remains in the audience. Use any integer from 1-540. In
remarketing audiences for search ads, membership duration is truncated to 180
days.
Corresponds to the JSON property membershipDurationDays
3220 3221 3222 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3220 def membership_duration_days @membership_duration_days end |
#segment ⇒ String
The segment condition that will cause a user to be added to an audience.
Corresponds to the JSON property segment
3225 3226 3227 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3225 def segment @segment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3232 3233 3234 3235 3236 3237 3238 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 3232 def update!(**args) @days_to_look_back = args[:days_to_look_back] if args.key?(:days_to_look_back) @is_smart_list = args[:is_smart_list] if args.key?(:is_smart_list) @kind = args[:kind] if args.key?(:kind) @membership_duration_days = args[:membership_duration_days] if args.key?(:membership_duration_days) @segment = args[:segment] if args.key?(:segment) end |