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.



43088
43089
43090
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43088

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



43086
43087
43088
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43086

def plannable_locations
  @plannable_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43093
43094
43095
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43093

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