class Google::Apis::AnalyticsV3::IncludeConditions

JSON template for an Analytics Remarketing Include Conditions.

Attributes

days_to_look_back[RW]

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` @return [Fixnum]

is_smart_list[RW]

Boolean indicating whether this segment is a smart list. support. google.com/analytics/answer/4628577 Corresponds to the JSON property `isSmartList` @return [Boolean]

is_smart_list?[RW]

Boolean indicating whether this segment is a smart list. support. google.com/analytics/answer/4628577 Corresponds to the JSON property `isSmartList` @return [Boolean]

kind[RW]

Resource type for include conditions. Corresponds to the JSON property `kind` @return [String]

membership_duration_days[RW]

Number of days (in the range 1 to 540) a user remains in the audience. Corresponds to the JSON property `membershipDurationDays` @return [Fixnum]

segment[RW]

The segment condition that will cause a user to be added to an audience. Corresponds to the JSON property `segment` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 3395
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analytics_v3/classes.rb, line 3400
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