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.
15336 15337 15338 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15336 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
15329 15330 15331 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15329 def hotel_center_id @hotel_center_id end |
#partner_name ⇒ String
Output only. Name of the hotel partner.
Corresponds to the JSON property partnerName
15334 15335 15336 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15334 def partner_name @partner_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15341 15342 15343 15344 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15341 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 |