Get performance statistics (campaign)
GET/v1/partnership/reports/conversion/campaign/:campaign_code
Return acquisition and conversion performance for one campaign. Use the campaign code from the Campaigns API and optional date, country, tag, and referrer filters to narrow the result.
Required scopes:
- read:
partnership.all:readorpartnership.all.
Runtime restrictions:
- Metrics are evaluated in the partner context associated with the API key and restricted to the
campaign_codein the path. If no matching conversion events exist, the report returns an empty result set.
Rules:
- The campaign is selected only by the required
campaign_codepath parameter. - You can provide at most four
tags. Each tag must contain one to 16 letters, digits, or underscores. campaign_title, when supplied, can contain up to 100 characters.
Rate limits:
- This operation counts toward the shared limit of 600 requests per 60 seconds per partner, across all of the partner's API keys and all Partnership API operations.
Consistency and recovery notes:
- This read operation can be retried. Results may change as report data is updated. Keep the same filters and ordering when reading additional pages, where pagination is supported.
Possible errors:
ThrottledServiceTransportErrorErrorAuthenticationFailedPermissionDeniedValidationErrorNotFound
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 502
- 503
- 504
Successful response.
Bad request or validation error. The response uses either the numeric request-processing error response or the Partnership string-code error response.
Authentication failed. Authentication processing errors use numeric codes; a Partnership operation authentication error uses a string code.
Operation is not permitted for the authenticated API key, partner, or operation scope.
Requested resource was not found or is not visible to the authenticated partner.
Rate limit exceeded.
Response Headers
Seconds to wait before retrying when the API provides a throttle wait time.
The API or a service required by the operation could not complete the request.
The API could not complete the request to the Partnership service.
A required service is temporarily unavailable or the request deadline was exceeded.
A service required by the Partnership operation could not be reached or timed out.