Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesTargetFrequencySettings
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesTargetFrequencySettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
Target Frequency settings for a supported product.
Instance Attribute Summary collapse
-
#target_frequency ⇒ Fixnum
Required.
-
#time_unit ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesTargetFrequencySettings
constructor
A new instance of GoogleAdsSearchads360V23ServicesTargetFrequencySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesTargetFrequencySettings
Returns a new instance of GoogleAdsSearchads360V23ServicesTargetFrequencySettings.
55739 55740 55741 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55739 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_frequency ⇒ Fixnum
Required. The target frequency goal per selected time unit.
Corresponds to the JSON property targetFrequency
55732 55733 55734 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55732 def target_frequency @target_frequency end |
#time_unit ⇒ String
Required. The time unit used to describe the time frame for target_frequency.
Corresponds to the JSON property timeUnit
55737 55738 55739 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55737 def time_unit @time_unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55744 55745 55746 55747 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55744 def update!(**args) @target_frequency = args[:target_frequency] if args.key?(:target_frequency) @time_unit = args[:time_unit] if args.key?(:time_unit) end |