Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal

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 customer lifecycle goal settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal

Returns a new instance of GoogleAdsSearchads360V23ResourcesCampaignLifecycleGoal.



25553
25554
25555
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25553

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

Instance Attribute Details

#campaignString

Output only. The campaign where the goal is attached. Corresponds to the JSON property campaign

Returns:

  • (String)


25540
25541
25542
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25540

def campaign
  @campaign
end

#customer_acquisition_goal_settingsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings

The customer acquisition goal settings for the campaign. Corresponds to the JSON property customerAcquisitionGoalSettings



25545
25546
25547
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25545

def customer_acquisition_goal_settings
  @customer_acquisition_goal_settings
end

#resource_nameString

Immutable. The resource name of the customer lifecycle goal of a campaign. customers/customer_id/campaignLifecycleGoal/campaign_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


25551
25552
25553
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25551

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25558
25559
25560
25561
25562
# File 'lib/google/apis/searchads360_v23/classes.rb', line 25558

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