Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse

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 list of plannable locations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse

Returns a new instance of GoogleAdsSearchads360V23ServicesListPlannableLocationsResponse.



43781
43782
43783
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43781

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

Instance Attribute Details

#plannable_locationsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesPlannableLocation>

The list of locations available for planning. See https://developers.google. com/google-ads/api/reference/data/geotargets for sample locations. Corresponds to the JSON property plannableLocations



43779
43780
43781
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43779

def plannable_locations
  @plannable_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43786
43787
43788
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43786

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