Discussions
Abnormal response data from POST https://api.criteo.com/2021-10/statistics/report ?
22 days ago by David
Dear API support team,
When sending a request POST /2021-10/statistics/report, I receive the response data with abnormal metric values. Then, I try to send the request again, the response data is normal at this time. This happened on many accounts. Is there any trouble with the API servers?
Request information
Endpoint: POST https://api.criteo.com/2021-10/statistics/report
Body:
{
"advertiserIds": "xxx",
"startDate": "2022-03-24",
"endDate": "2022-03-24",
"timezone": "GMT",
"format": "Xml",
"currency": "JPY",
"dimensions": [
"AdsetId",
"CategoryId",
"Category",
"Day"
],
"metrics": [
"Clicks",
"Displays",
"AdvertiserCost",
"SalesClientAttribution",
"SalesAllClientAttribution",
"SalesPc30d",
"SalesAllPc30d",
"SalesPv24h",
"SalesAllPv24h",
"SalesPc30dPv24h",
"SalesAllPc30dPv24h",
"SalesPc1d",
"SalesAllPc1d",
"SalesPc7d",
"SalesAllPc7d"
]
}
Sample of abnormal response data
"date","advertiser_id","category_id","category_name","adset_id","clicks","displays","advertiser_cost","sales","sales_post_view","order_value","order_value_post_view","sales_client_attribution","sales_all_client_attribution","sales_pc_30d","sales_all_pc_30d","sales_pv_24h","sales_all_pv_24h","sales_pc_30d_pv_24h","sales_all_pc_30d_pv_24h","sales_pc_1d","sales_all_pc_1d","sales_pc_7d","sales_all_pc_7d"
"2022-03-24","xxx","yyy","グッズ/小物","zzz","yyy","グッズ/小物","2022-03-24","0","0","0","0","0","0","0","0","2","3","2","3","0","0","0","0"
...
As you can see in the above sample, the value of metrics in the response data seem to be wrong
click = category_id
displays = category_name
advertiser_cost = date
Please help me to investigate it.
Thank you very much.