Representation of goals.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v26/resources/goal.proto)

| Fields ||
|---|---|
| ## `goal_id` | `int64` Output only. The ID of this goal. |
| ## `goal_settings` Union field. The settings specific to this goal. `goal_settings` can be only one of the following: ||
| ### `loyalty_retention_goal_settings` | `https://developers.google.com/google-ads/api/reference/rpc/v26/GoalSetting.LoyaltyRetentionGoal` Loyalty retention goal settings. |
| ### `new_customer_acquisition_goal_settings` | `https://developers.google.com/google-ads/api/reference/rpc/v26/GoalSetting.NewCustomerAcquisitionGoal` New customer acquisition goal settings. |
| ### `retention_goal_settings` | `https://developers.google.com/google-ads/api/reference/rpc/v26/GoalSetting.RetentionGoal` Retention goal settings. |
| ## `goal_type` | `https://developers.google.com/google-ads/api/reference/rpc/v26/GoalTypeEnum.GoalType` Output only. The type of this goal. |
| ## `optimization_eligibility` | `https://developers.google.com/google-ads/api/reference/rpc/v26/GoalOptimizationEligibilityEnum.GoalOptimizationEligibility` Output only. Indicates if this goal is eligible for campaign optimization. |
| ## `owner_customer` | `string` Output only. The resource name of the goal owner customer. |
| ## `resource_name` | `string` Immutable. The resource name of the goal. Goal resource names have the form: `customers/{customer_id}/goals/{goal_id}` |