Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesBenchmarksLocation
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesBenchmarksLocation
- 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 location that supports benchmarks data.
Instance Attribute Summary collapse
-
#location_info ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLocationInfo
A location criterion.
-
#location_name ⇒ String
The unique location name in English.
-
#location_type ⇒ String
The location's type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesBenchmarksLocation
constructor
A new instance of GoogleAdsSearchads360V23ServicesBenchmarksLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesBenchmarksLocation
Returns a new instance of GoogleAdsSearchads360V23ServicesBenchmarksLocation.
37629 37630 37631 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location_info ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLocationInfo
A location criterion.
Corresponds to the JSON property locationInfo
37616 37617 37618 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37616 def location_info @location_info end |
#location_name ⇒ String
The unique location name in English.
Corresponds to the JSON property locationName
37621 37622 37623 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37621 def location_name @location_name end |
#location_type ⇒ String
The location's type. Location types correspond to target_type returned by
searching location type in GoogleAdsService.Search/SearchStream.
Corresponds to the JSON property locationType
37627 37628 37629 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37627 def location_type @location_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37634 37635 37636 37637 37638 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37634 def update!(**args) @location_info = args[:location_info] if args.key?(:location_info) @location_name = args[:location_name] if args.key?(:location_name) @location_type = args[:location_type] if args.key?(:location_type) end |