Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal

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

Account level customer lifecycle goal settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal

Returns a new instance of GoogleAdsSearchads360V23ResourcesCustomerLifecycleGoal.



28153
28154
28155
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28153

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

Instance Attribute Details

#customer_acquisition_goal_value_settingsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings

Lifecycle goal value settings. Corresponds to the JSON property customerAcquisitionGoalValueSettings



28139
28140
28141
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28139

def customer_acquisition_goal_value_settings
  @customer_acquisition_goal_value_settings
end

#owner_customerString

Output only. The resource name of the customer which owns the lifecycle goal. Corresponds to the JSON property ownerCustomer

Returns:

  • (String)


28144
28145
28146
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28144

def owner_customer
  @owner_customer
end

#resource_nameString

Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names have the form: customers/customer_id/ customerLifecycleGoal Corresponds to the JSON property resourceName

Returns:

  • (String)


28151
28152
28153
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28151

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28158
28159
28160
28161
28162
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28158

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