Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetSetHotelPropertyData

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

For Performance Max for travel goals campaigns with a Hotel Center account link. Read-only.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idFixnum

Output only. The hotel center ID of the partner. Corresponds to the JSON property hotelCenterId

Returns:

  • (Fixnum)


15263
15264
15265
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15263

def hotel_center_id
  @hotel_center_id
end

#partner_nameString

Output only. Name of the hotel partner. Corresponds to the JSON property partnerName

Returns:

  • (String)


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