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.



15715
15716
15717
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15715

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)


15713
15714
15715
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15713

def hotel_center_id
  @hotel_center_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15720
15721
15722
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15720

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