Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings

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

Settings for Travel campaign.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings

Returns a new instance of GoogleAdsSearchads360V23ResourcesCampaignTravelCampaignSettings.



16148
16149
16150
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16148

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

Instance Attribute Details

#travel_account_idFixnum

Immutable. The Travel account ID associated with the Travel campaign. Corresponds to the JSON property travelAccountId

Returns:

  • (Fixnum)


16146
16147
16148
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16146

def 
  @travel_account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16153
16154
16155
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16153

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