A link between a campaign and a goal enabling campaign-specific optimization.

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

| Fields ||
|---|---|
| ## `campaign` | `string` Immutable. The resource name of the campaign for this link. |
| ## `campaign_goal_config_settings` Union field. The settings specific to this campaign goal config. `campaign_goal_config_settings` can be only one of the following: ||
| ### `campaign_loyalty_retention_settings` | `https://developers.google.com/google-ads/api/reference/rpc/v26/CampaignGoalSettings.CampaignLoyaltyRetentionGoalSettings` Loyalty retention goal campaign settings. |
| ### `campaign_new_customer_acquisition_settings` | `https://developers.google.com/google-ads/api/reference/rpc/v26/CampaignGoalSettings.CampaignNewCustomerAcquisitionGoalSettings` New customer acquisition goal campaign settings. |
| ### `campaign_retention_settings` | `https://developers.google.com/google-ads/api/reference/rpc/v26/CampaignGoalSettings.CampaignRetentionGoalSettings` Retention goal campaign settings. |
| ## `goal` | `string` Immutable. The resource name of the goal this link is attached to. |
| ## `goal_type` | `https://developers.google.com/google-ads/api/reference/rpc/v26/GoalTypeEnum.GoalType` Output only. The goal type this link is attached to. |
| ## `resource_name` | `string` Immutable. The resource name of the campaign goal config. campaign goal config resource names have the form: `customers/{customer_id}/campaignGoalConfigs/{campaign_id}~{goal_id}` |