Class: Google::Apis::DfareportingV2_1::LookbackConfiguration

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb

Overview

Lookback configuration settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LookbackConfiguration

Returns a new instance of LookbackConfiguration



6312
6313
6314
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6312

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#click_durationFixnum

Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Corresponds to the JSON property clickDuration

Returns:

  • (Fixnum)


6302
6303
6304
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6302

def click_duration
  @click_duration
end

#post_impression_activities_durationFixnum

Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Corresponds to the JSON property postImpressionActivitiesDuration

Returns:

  • (Fixnum)


6310
6311
6312
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6310

def post_impression_activities_duration
  @post_impression_activities_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6317
6318
6319
6320
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6317

def update!(**args)
  @click_duration = args[:click_duration] unless args[:click_duration].nil?
  @post_impression_activities_duration = args[:post_impression_activities_duration] unless args[:post_impression_activities_duration].nil?
end