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.



6087
6088
6089
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6087

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deviceString

The device type. Corresponds to the JSON property device

Returns:

  • (String)


6080
6081
6082
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6080

def device
  @device
end

#search_countFixnum

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

Returns:

  • (Fixnum)


6085
6086
6087
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6085

def search_count
  @search_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6092
6093
6094
6095
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6092

def update!(**args)
  @device = args[:device] if args.key?(:device)
  @search_count = args[:search_count] if args.key?(:search_count)
end