Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches
- 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
The total searches for the device type during the specified time period.
Instance Attribute Summary collapse
-
#device ⇒ String
The device type.
-
#search_count ⇒ Fixnum
The total searches for the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches
constructor
A new instance of GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches
Returns a new instance of GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches.
6027 6028 6029 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6027 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device ⇒ String
The device type.
Corresponds to the JSON property device
6020 6021 6022 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6020 def device @device end |
#search_count ⇒ Fixnum
The total searches for the device.
Corresponds to the JSON property searchCount
6025 6026 6027 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6025 def search_count @search_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6032 6033 6034 6035 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6032 def update!(**args) @device = args[:device] if args.key?(:device) @search_count = args[:search_count] if args.key?(:search_count) end |