Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo

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

Campaign-level settings for hotel ads.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo

Returns a new instance of GoogleAdsSearchads360V23ResourcesCampaignHotelSettingInfo.



15781
15782
15783
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15781

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#hotel_center_idFixnum

Output only. The linked Hotel Center account. Corresponds to the JSON property hotelCenterId

Returns:

  • (Fixnum)


15779
15780
15781
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15779

def hotel_center_id
  @hotel_center_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15786
15787
15788
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15786

def update!(**args)
  @hotel_center_id = args[:hotel_center_id] if args.key?(:hotel_center_id)
end