Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest
- 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
Request message for TravelAssetSuggestionService.SuggestTravelAssets.
Instance Attribute Summary collapse
-
#language_option ⇒ String
Required.
-
#place_ids ⇒ Array<String>
The Google Maps Place IDs of hotels for which assets are requested.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest
constructor
A new instance of GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest
Returns a new instance of GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest.
54743 54744 54745 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54743 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_option ⇒ String
Required. The language specifications in BCP 47 format (for example, en-US, zh-
CN, etc.) for the asset suggestions. Text will be in this language. Usually
matches one of the campaign target languages.
Corresponds to the JSON property languageOption
54735 54736 54737 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54735 def language_option @language_option end |
#place_ids ⇒ Array<String>
The Google Maps Place IDs of hotels for which assets are requested. See https:/
/developers.google.com/places/web-service/place-id for more information.
Corresponds to the JSON property placeIds
54741 54742 54743 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54741 def place_ids @place_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54748 54749 54750 54751 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54748 def update!(**args) @language_option = args[:language_option] if args.key?(:language_option) @place_ids = args[:place_ids] if args.key?(:place_ids) end |