Contents

RecommendationQueryTargetCpaSuggestionResponse

Response envelope returned by the Target CPA suggestions endpoint.

Declaration

object RecommendationQueryTargetCpaSuggestionResponse

Properties

NameTypeDescription
resultTargetCpaSuggestion

The suggested Target CPA. See TargetCpaSuggestion. Read-only.

paginationRecommendationResponsePagination

Pagination metadata. null for this endpoint, since it always returns a single result rather than a list. See ResponsePagination. Read-only.

errorRecommendationResponseError

Error details when the request fails, in which case result is absent. Absent on success. See ResponseError. Read-only.

Discussion

The RecommendationQueryTargetCpaSuggestionResponse object is the top-level response body for POST /suggestions/target-cpas/query.

Example

{
  "result": {
    "promotedObjectId": "123456789",
    "countryOrRegion": [
      "US",
      "GB"
    ],
    "suggestedTargetCPA": {
      "amount": "1.50",
      "currency": "USD"
    },
    "appCategory": "Games"
  },
  "pagination": null
}

See Also