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.



35796
35797
35798
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35796

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

Instance Attribute Details

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

Required. Locations. Corresponds to the JSON property locations



35794
35795
35796
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35794

def locations
  @locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35801
35802
35803
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35801

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