Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData
- 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
For Performance Max for travel goals campaigns with a Hotel Center account link. Read-only.
Instance Attribute Summary collapse
-
#hotel_center_id ⇒ Fixnum
Output only.
-
#partner_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData
constructor
A new instance of GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData
Returns a new instance of GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData.
15270 15271 15272 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15270 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hotel_center_id ⇒ Fixnum
Output only. The hotel center ID of the partner.
Corresponds to the JSON property hotelCenterId
15263 15264 15265 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15263 def hotel_center_id @hotel_center_id end |
#partner_name ⇒ String
Output only. Name of the hotel partner.
Corresponds to the JSON property partnerName
15268 15269 15270 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15268 def partner_name @partner_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15275 15276 15277 15278 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15275 def update!(**args) @hotel_center_id = args[:hotel_center_id] if args.key?(:hotel_center_id) @partner_name = args[:partner_name] if args.key?(:partner_name) end |