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.



15841
15842
15843
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15841

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)


15839
15840
15841
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15839

def hotel_center_id
  @hotel_center_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15846
15847
15848
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15846

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