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.
54885 54886 54887 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54885 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
54878 54879 54880 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54878 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
54883 54884 54885 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54883 def time_unit @time_unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54890 54891 54892 54893 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54890 def update!(**args) @target_frequency = args[:target_frequency] if args.key?(:target_frequency) @time_unit = args[:time_unit] if args.key?(:time_unit) end |