Class: Google::Apis::DfareportingV3_3::LookbackConfiguration

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

Overview

Lookback configuration settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LookbackConfiguration

Returns a new instance of LookbackConfiguration.



7148
7149
7150
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7148

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. Acceptable values are 0 to 90, inclusive. Corresponds to the JSON property clickDuration

Returns:

  • (Fixnum)


7138
7139
7140
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7138

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. Acceptable values are 0 to 90, inclusive. Corresponds to the JSON property postImpressionActivitiesDuration

Returns:

  • (Fixnum)


7146
7147
7148
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7146

def post_impression_activities_duration
  @post_impression_activities_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7153
7154
7155
7156
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7153

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