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.
8699 8700 8701 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#month ⇒ String
The month of the search volume.
Corresponds to the JSON property month
8686 8687 8688 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8686 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
8692 8693 8694 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8692 def monthly_searches @monthly_searches end |
#year ⇒ Fixnum
The year of the search volume (for example, 2020).
Corresponds to the JSON property year
8697 8698 8699 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8697 def year @year end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8704 8705 8706 8707 8708 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8704 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 |