Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordPlanDeviceSearches

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#deviceString

The device type. Corresponds to the JSON property device

Returns:

  • (String)


6020
6021
6022
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6020

def device
  @device
end

#search_countFixnum

The total searches for the device. Corresponds to the JSON property searchCount

Returns:

  • (Fixnum)


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