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

Goal of TargetCpaOptIn recommendation.

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

| Enums ||
|---|---|
| ## `CLOSEST_CPA` | Recommendation to set Target CPA to a value that is as close as possible to, yet lower than, the actual CPA (computed for past 28 days). |
| ## `SAME_CONVERSIONS` | Recommendation to set Target CPA to maintain the same conversions. |
| ## `SAME_COST` | Recommendation to set Target CPA to maintain the same cost. |
| ## `SAME_CPA` | Recommendation to set Target CPA to maintain the same CPA. |
| ## `UNKNOWN` | Used for return value only. Represents value unknown in this version. |
| ## `UNSPECIFIED` | Not specified. |