Class: Google::Apis::DfareportingV2_7::LookbackConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_7::LookbackConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_7/classes.rb,
generated/google/apis/dfareporting_v2_7/representations.rb,
generated/google/apis/dfareporting_v2_7/representations.rb
Overview
Lookback configuration settings.
Instance Attribute Summary collapse
-
#click_duration ⇒ Fixnum
Lookback window, in days, from the last time a given user clicked on one of your ads.
-
#post_impression_activities_duration ⇒ Fixnum
Lookback window, in days, from the last time a given user viewed one of your ads.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LookbackConfiguration
constructor
A new instance of LookbackConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LookbackConfiguration
Returns a new instance of LookbackConfiguration
7016 7017 7018 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7016 def initialize(**args) update!(**args) end |
Instance Attribute Details
#click_duration ⇒ Fixnum
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
7006 7007 7008 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7006 def click_duration @click_duration end |
#post_impression_activities_duration ⇒ Fixnum
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
7014 7015 7016 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7014 def post_impression_activities_duration @post_impression_activities_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7021 7022 7023 7024 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7021 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 |