> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v24** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/fields/latest/campaign_goal_config).

[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v24/campaign_goal_config_query_builder.md.txt) [<button style="margin-top:15px">Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)</button>](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v24/resources/campaign_goal_config.proto)

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

| Attributed resources |
|---|
| [campaign](https://developers.google.com/google-ads/api/fields/v24/campaign.md.txt) |
| [customer](https://developers.google.com/google-ads/api/fields/v24/customer.md.txt) |
| [goal](https://developers.google.com/google-ads/api/fields/v24/goal.md.txt) |

Fields from the above resources may be selected along with this
resource in your SELECT and WHERE clauses. These fields **will not segment**
metrics in your `SELECT` clause.

## campaign_goal_config.campaign

Field descriptionImmutable. The resource name of the campaign for this link.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[campaign_goal_config](https://developers.google.com/google-ads/api/fields/v24/campaign_goal_config.md.txt)

## campaign_goal_config.campaign_retention_settings.target_option

Field descriptionRetention goal optimization mode for this campaign.

Defaults to TARGET_ALL. Only customers on the allowlist can set
target_option.
Category`ATTRIBUTE` Data Type `ENUM`
`TARGET_ALL``TARGET_SPECIFIC``UNKNOWN``UNSPECIFIED` Type URL`google.ads.googleads.v24.enums.CustomerLifecycleOptimizationModeEnum.CustomerLifecycleOptimizationMode` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[campaign_goal_config](https://developers.google.com/google-ads/api/fields/v24/campaign_goal_config.md.txt)

## campaign_goal_config.campaign_retention_settings.value_settings_override.additional_high_lifetime_value

Field descriptionHigh lifetime value of the lifecycle goal. For example, for customer
acquisition goals, high lifetime value is the incremental conversion value
for lapsed customers who are of high value. High lifetime value should be
greater than value, if set.
Category`ATTRIBUTE` Data Type`DOUBLE` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[campaign_goal_config](https://developers.google.com/google-ads/api/fields/v24/campaign_goal_config.md.txt)

## campaign_goal_config.campaign_retention_settings.value_settings_override.additional_value

Field descriptionValue of the lifecycle goal. For example, for retention goals, value is the
incremental conversion value for lapsed customers who are not of high
value.
Category`ATTRIBUTE` Data Type`DOUBLE` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[campaign_goal_config](https://developers.google.com/google-ads/api/fields/v24/campaign_goal_config.md.txt)

## campaign_goal_config.goal

Field descriptionImmutable. The resource name of the goal this link is attached to.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[campaign_goal_config](https://developers.google.com/google-ads/api/fields/v24/campaign_goal_config.md.txt)

## campaign_goal_config.goal_type

Field descriptionOutput only. The goal type this link is attached to.
Category`ATTRIBUTE` Data Type `ENUM`
`CUSTOMER_RETENTION``UNKNOWN``UNSPECIFIED` Type URL`google.ads.googleads.v24.enums.GoalTypeEnum.GoalType` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[campaign_goal_config](https://developers.google.com/google-ads/api/fields/v24/campaign_goal_config.md.txt)

## campaign_goal_config.resource_name

Field descriptionImmutable. The resource name of the campaign goal config.
campaign goal config resource names have the form:
`customers/{customer_id}/campaignGoalConfigs/{campaign_id}~{goal_id}`
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[campaign_goal_config](https://developers.google.com/google-ads/api/fields/v24/campaign_goal_config.md.txt)