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.
8691 8692 8693 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#month ⇒ String
The month of the search volume.
Corresponds to the JSON property month
8678 8679 8680 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8678 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
8684 8685 8686 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8684 def monthly_searches @monthly_searches end |
#year ⇒ Fixnum
The year of the search volume (for example, 2020).
Corresponds to the JSON property year
8689 8690 8691 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8689 def year @year end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8696 8697 8698 8699 8700 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8696 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 |