Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonMonthlySearchVolume
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonMonthlySearchVolume
- 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
Monthly search volume.
Instance Attribute Summary collapse
-
#month ⇒ String
The month of the search volume.
-
#monthly_searches ⇒ Fixnum
Approximate number of searches for the month.
-
#year ⇒ Fixnum
The year of the search volume (for example, 2020).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonMonthlySearchVolume
constructor
A new instance of GoogleAdsSearchads360V23CommonMonthlySearchVolume.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonMonthlySearchVolume
Returns a new instance of GoogleAdsSearchads360V23CommonMonthlySearchVolume.
8759 8760 8761 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8759 def initialize(**args) update!(**args) end |
Instance Attribute Details
#month ⇒ String
The month of the search volume.
Corresponds to the JSON property month
8746 8747 8748 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8746 def month @month end |
#monthly_searches ⇒ Fixnum
Approximate number of searches for the month. A null value indicates the
search volume is unavailable for that month.
Corresponds to the JSON property monthlySearches
8752 8753 8754 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8752 def monthly_searches @monthly_searches end |
#year ⇒ Fixnum
The year of the search volume (for example, 2020).
Corresponds to the JSON property year
8757 8758 8759 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8757 def year @year end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8764 8765 8766 8767 8768 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8764 def update!(**args) @month = args[:month] if args.key?(:month) @monthly_searches = args[:monthly_searches] if args.key?(:monthly_searches) @year = args[:year] if args.key?(:year) end |