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.



16022
16023
16024
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16022

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)


16020
16021
16022
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16020

def 
  @travel_account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16027
16028
16029
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16027

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