Postback issues
const url = 'https://restapi.affattr.com/v1/report/postback-issues?filter%5Bdate_from%5D=example&filter%5Bdate_to%5D=example';const options = {method: 'GET', headers: {'API-KEY': '<API-KEY>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://restapi.affattr.com/v1/report/postback-issues?filter%5Bdate_from%5D=example&filter%5Bdate_to%5D=example' \ --header 'API-KEY: <API-KEY>'The problems of the SDK postbacks (source sdk) and the API events (source api) by the reason: code, level (rejected or warning) and param, the main parameter of the code. apps sums the issues of each application and the SDK postbacks it received, loss_pct is the rejected SDK postbacks, percent of received (null when nothing is received). share of a row is its count, percent of received, for the SDK rows only (null for the API). The window is by the hour the issue was received at, first_seen and last_seen are in tz. The window is at most 90 days, a wider one answers 400. Applications the user may not see in filter[applications] answer 403.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”First date, YYYY-MM-DD, in tz
Last date, YYYY-MM-DD, in tz, included
IANA timezone, UTC by default
Application ids, every application of the user by default
Sdk, api
Rejected, warning
Issue codes
Responses
Section titled “ Responses ”Postback issues
object
object
object
LossPct is the rejected SDK postbacks, percent of Received; null when nothing is received.
Received is the SDK postbacks of the application: the API events are not counted.
Rejected and Warnings are the issues of both the SDK and the API.
object
Share is Count, percent of the SDK postbacks the application received; null for the API and when nothing is received.
object
Example generated
{ "data": { "apps": [ { "app_id": 1, "loss_pct": 1, "received": 1, "rejected": 1, "warnings": 1 } ], "rows": [ { "app_id": 1, "app_versions": [ "example" ], "code": "example", "count": 1, "first_seen": "example", "last_seen": "example", "level": "example", "param": "example", "sdk_versions": [ "example" ], "share": 1, "source": "example", "versions": [ { "app_version": "example", "count": 1, "sdk_platform": "example", "sdk_version": "example" } ] } ] }}Bad request
Example generated
exampleNo credentials (answered with 403 until default-deny is enabled)
Example generated
exampleInvalid credentials or no access
Example generated
exampleInternal server error
Example generated
example