Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesGoal
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesGoal
- 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
Representation of goals.
Instance Attribute Summary collapse
-
#goal_id ⇒ Fixnum
Output only.
-
#goal_type ⇒ String
Output only.
-
#optimization_eligibility ⇒ String
Output only.
-
#owner_customer ⇒ String
Output only.
-
#resource_name ⇒ String
Immutable.
-
#retention_goal_settings ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal
Retention goal settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesGoal
constructor
A new instance of GoogleAdsSearchads360V23ResourcesGoal.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesGoal
Returns a new instance of GoogleAdsSearchads360V23ResourcesGoal.
29560 29561 29562 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29560 def initialize(**args) update!(**args) end |
Instance Attribute Details
#goal_id ⇒ Fixnum
Output only. The ID of this goal.
Corresponds to the JSON property goalId
29532 29533 29534 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29532 def goal_id @goal_id end |
#goal_type ⇒ String
Output only. The type of this goal.
Corresponds to the JSON property goalType
29537 29538 29539 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29537 def goal_type @goal_type end |
#optimization_eligibility ⇒ String
Output only. Indicates if this goal is eligible for campaign optimization.
Corresponds to the JSON property optimizationEligibility
29542 29543 29544 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29542 def optimization_eligibility @optimization_eligibility end |
#owner_customer ⇒ String
Output only. The resource name of the goal owner customer.
Corresponds to the JSON property ownerCustomer
29547 29548 29549 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29547 def owner_customer @owner_customer end |
#resource_name ⇒ String
Immutable. The resource name of the goal. Goal resource names have the form:
customers/customer_id/goals/goal_id`
Corresponds to the JSON propertyresourceName`
29553 29554 29555 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29553 def resource_name @resource_name end |
#retention_goal_settings ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonGoalSettingRetentionGoal
Retention goal settings.
Corresponds to the JSON property retentionGoalSettings
29558 29559 29560 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29558 def retention_goal_settings @retention_goal_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29565 29566 29567 29568 29569 29570 29571 29572 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29565 def update!(**args) @goal_id = args[:goal_id] if args.key?(:goal_id) @goal_type = args[:goal_type] if args.key?(:goal_type) @optimization_eligibility = args[:optimization_eligibility] if args.key?(:optimization_eligibility) @owner_customer = args[:owner_customer] if args.key?(:owner_customer) @resource_name = args[:resource_name] if args.key?(:resource_name) @retention_goal_settings = args[:retention_goal_settings] if args.key?(:retention_goal_settings) end |