Query Target CPA Recommendations
Retrieve target cost-per-acquisition recommendations for campaigns using a Maximize Conversions bid strategy.
URL
POST https://api.ads.apple.com/v1/recommendations/target-cpas/queryHeader Parameters
| Name | Type | Description |
|---|---|---|
X-Ap-Context Required | string |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | RecommendationQueryTargetCpaResponse | |
| 400 | Bad Request Content-Type: application/json | RecommendationResponseBody | |
| 401 | Unauthorized Content-Type: application/json | RecommendationResponseBody | |
| 403 | Forbidden Content-Type: application/json | RecommendationResponseBody | |
| 404 | Not Found Content-Type: application/json | RecommendationResponseBody | |
| 429 | Too Many Requests Content-Type: application/json | RecommendationResponseBody | |
| 500 | Internal Server Error Content-Type: application/json | RecommendationResponseBody |
Discussion
Each TargetCpaRecommendation result includes:
recommendedTargetCPA: the suggested new target CPAbidStrategy: the campaign’s current bid strategy contextHistorical metrics:
installs,spend,taps,averageCPA,averageCPT,impression,ttrExpected metrics: projected
expectedInstalls,expectedSpend,expectedTaps,expectedCPA
Only campaigns using a Maximize Conversions bid strategy will receive recommendations.
See FilterOperator for the full set of supported comparison operators.
Filterable Fields
Field | Type | Operators | Description |
|---|---|---|---|
| string |
| Required. The ID of the promoted object. For |
| string (enum) |
| Required. The type of promoted object. Accepts exactly one value. |
| string |
| Optional. The recommendation’s unique identifier. |
| string (enum) |
| Optional. |
| string (enum) |
| Optional. |
| string (enum) |
| Optional. The recommendation category, for example |
| integer |
| Optional. Filter by a specific campaign. |
| string |
| Optional. The campaign’s display name. |
| object |
| Optional. The campaign’s current bid strategy. |
| string (date-time) |
| Optional. When the recommendation was created. |
| string (date-time) |
| Optional. When the recommendation was last modified. |
| string (date-time) |
| Optional. When the recommendation expires. |
| money |
| Optional. Historical average cost-per-tap. |
| money |
| Optional. Historical average cost-per-acquisition. |
| integer |
| Optional. Projected tap count if the recommendation is applied. |
| money |
| Optional. Projected cost-per-acquisition if the recommendation is applied. |
| integer |
| Optional. Projected install count if the recommendation is applied. |
| money |
| Optional. Projected spend if the recommendation is applied. |
| integer |
| Optional. Historical impression count. |
| integer |
| Optional. Historical install count. |
| money |
| Optional. Historical spend. |
| money |
| Optional. The suggested new target CPA. |
| integer |
| Optional. Historical tap count. |
| number |
| Optional. Historical tap-through rate. |
Payload Examples
This example queries available target CPA recommendations for an app, sorted by creation time. The response includes the recommended CPA alongside historical performance metrics and projected results if the recommendation is applied.