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.



35661
35662
35663
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35661

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

Instance Attribute Details

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

Required. Locations. Corresponds to the JSON property locations



35659
35660
35661
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35659

def locations
  @locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35666
35667
35668
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35666

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