Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList

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

A list of locations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList

Returns a new instance of GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfoLocationList.



35868
35869
35870
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35868

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

Instance Attribute Details

#locationsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLocationInfo>

Required. Locations. Corresponds to the JSON property locations



35866
35867
35868
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35866

def locations
  @locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35873
35874
35875
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35873

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