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.
55597 55598 55599 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55597 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
55589 55590 55591 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55589 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
55595 55596 55597 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55595 def place_ids @place_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55602 55603 55604 55605 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55602 def update!(**args) @language_option = args[:language_option] if args.key?(:language_option) @place_ids = args[:place_ids] if args.key?(:place_ids) end |