Class: Google::Apis::DisplayvideoV3::LookbackWindow
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::LookbackWindow
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Specifies how many days into the past to look when determining whether to record a conversion.
Instance Attribute Summary collapse
-
#click_days ⇒ Fixnum
Lookback window, in days, from the last time a given user clicked on one of your ads.
-
#impression_days ⇒ Fixnum
Lookback window, in days, from the last time a given user viewed one of your ads.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LookbackWindow
constructor
A new instance of LookbackWindow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LookbackWindow
Returns a new instance of LookbackWindow.
9487 9488 9489 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9487 def initialize(**args) update!(**args) end |
Instance Attribute Details
#click_days ⇒ Fixnum
Lookback window, in days, from the last time a given user clicked on one of
your ads.
Corresponds to the JSON property clickDays
9479 9480 9481 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9479 def click_days @click_days end |
#impression_days ⇒ Fixnum
Lookback window, in days, from the last time a given user viewed one of your
ads.
Corresponds to the JSON property impressionDays
9485 9486 9487 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9485 def impression_days @impression_days end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9492 9493 9494 9495 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9492 def update!(**args) @click_days = args[:click_days] if args.key?(:click_days) @impression_days = args[:impression_days] if args.key?(:impression_days) end |