Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelAssetSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelAssetSuggestion
- 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
Message containing the asset suggestions for a hotel.
Instance Attribute Summary collapse
-
#call_to_action ⇒ String
Call to action type.
-
#final_url ⇒ String
Suggested final URL for an AssetGroup.
-
#hotel_name ⇒ String
Hotel name in requested language.
-
#image_assets ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelImageAsset>
Image assets such as landscape/portrait/square, etc.
-
#place_id ⇒ String
Google Places ID of the hotel.
-
#status ⇒ String
The status of the hotel asset suggestion.
-
#text_assets ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelTextAsset>
Text assets such as headline, description, etc.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesHotelAssetSuggestion
constructor
A new instance of GoogleAdsSearchads360V23ServicesHotelAssetSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesHotelAssetSuggestion
Returns a new instance of GoogleAdsSearchads360V23ServicesHotelAssetSuggestion.
41821 41822 41823 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41821 def initialize(**args) update!(**args) end |
Instance Attribute Details
#call_to_action ⇒ String
Call to action type.
Corresponds to the JSON property callToAction
41789 41790 41791 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41789 def call_to_action @call_to_action end |
#final_url ⇒ String
Suggested final URL for an AssetGroup.
Corresponds to the JSON property finalUrl
41794 41795 41796 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41794 def final_url @final_url end |
#hotel_name ⇒ String
Hotel name in requested language.
Corresponds to the JSON property hotelName
41799 41800 41801 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41799 def hotel_name @hotel_name end |
#image_assets ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelImageAsset>
Image assets such as landscape/portrait/square, etc.
Corresponds to the JSON property imageAssets
41804 41805 41806 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41804 def image_assets @image_assets end |
#place_id ⇒ String
Google Places ID of the hotel.
Corresponds to the JSON property placeId
41809 41810 41811 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41809 def place_id @place_id end |
#status ⇒ String
The status of the hotel asset suggestion.
Corresponds to the JSON property status
41814 41815 41816 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41814 def status @status end |
#text_assets ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesHotelTextAsset>
Text assets such as headline, description, etc.
Corresponds to the JSON property textAssets
41819 41820 41821 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41819 def text_assets @text_assets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41826 41827 41828 41829 41830 41831 41832 41833 41834 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41826 def update!(**args) @call_to_action = args[:call_to_action] if args.key?(:call_to_action) @final_url = args[:final_url] if args.key?(:final_url) @hotel_name = args[:hotel_name] if args.key?(:hotel_name) @image_assets = args[:image_assets] if args.key?(:image_assets) @place_id = args[:place_id] if args.key?(:place_id) @status = args[:status] if args.key?(:status) @text_assets = args[:text_assets] if args.key?(:text_assets) end |