POST /v1/reports/fraud_reports?project_id={project_id} {
"ResponseType": "JSON",
"Fields": ["EventDateTime", "SysName", "DeviceId", "Givt"],
"InteractionFilter": {
"DateFrom": "2024-01-01",
"DateTo": "2024-01-31",
"SysName": ["Impression", "Click"]
},
"Offset": 0,
"Limit": 1000
} curl -X POST "https://api.targetads.io/v1/reports/fraud_reports?project_id=12486" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"ResponseType": "JSON",
"Fields": [
"EventDateTime",
"SysName",
"DeviceId",
"Givt",
"GivtReasonDataCentre",
"GivtReasonCrawler"
],
"InteractionFilter": {
"DateFrom": "2024-01-01",
"DateTo": "2024-01-31",
"SysName": ["Impression"]
},
"Limit": 1000
}' curl -X POST "https://api.targetads.io/v1/reports/fraud_reports?project_id=12486" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"ResponseType": "JSON",
"Fields": [
"EventDateTime",
"MediaCampaignId",
"Domain",
"IP",
"UserAgent",
"Givt"
],
"InteractionFilter": {
"DateFrom": "2024-01-01",
"DateTo": "2024-01-07",
"MediaCampaignId": [12345]
}
}' {
"Columns": [
"EventDateTime",
"SysName",
"Givt"
],
"Rows": [
[
"2024-01-15 10:30:45",
"Impression",
"0"
],
[
"2024-01-15 10:31:20",
"Click",
"1"
]
],
"CountRows": 2
} {
"ErrorCode": 400,
"ErrorMassage": "validate error",
"Errors": [
{
"Error": true,
"FailedField": "Fields",
"Value": null
}
]
} Лимиты и ограничения
API имеет технические ограничения, которые следует
учитывать при построении интеграции:
Таймаут: 300 секунд