Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestTravelAssetsRequest

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

Request message for TravelAssetSuggestionService.SuggestTravelAssets.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_optionString

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

Returns:

  • (String)


55589
55590
55591
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55589

def language_option
  @language_option
end

#place_idsArray<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

Returns:

  • (Array<String>)


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