Discard

Criteo Marketing Solutions API

Questions

Ask A Question
6
ANSWERED

Statistics v1 API failures

We are noticing a lot of failures in reporting on the Statistics v1 API It seems that the endpoint https://api.criteo.com/marketing/v1/statistics is returning a 500 error. From the changelog we see that the deprecation of statistics v1 won’t happen before April 2021. https://developers.criteo.com/marketing-solutions/changelog/upgrading-to-statistics-v2 Is this issue currently being addressed? Please let us know soon. Sample cURL request - curl -X POST --data '{"reportType":"TransactionID","advertiserIds”:”xxx”,”endDate":"2021-01-13","format":"Json","metrics":["Clicks","Displays","AdvertiserCost","SalesPc","SameSalesPc","SalesPcNd","SalesPv","SalesPvNd","SalesPcPv","SalesAllPc","RevenueGeneratedPc","RevenueGeneratedPv","RevenueGeneratedPcPv","RevenueGeneratedPcNd","RevenueGeneratedPvNd","ExposedUsers","OverallCompetitionWin","Audience","Reach","AverageCart","ClickThroughRate","ConversionRate","ConversionRatePv","ECos","ECosPv","ECosPcPv","CostPerOrder","CostPerOrderPv","CostPerOrderPcPv","ECpc","ECpm","ReturnOnAdvertisingSpending","AdvertiserValue","CostOfAdvertiserValue"],"startDate":"2021-01-12","dimensions":["CampaignId","Category","Day"]}' -H 'Authorization: Bearer xxx’ -H 'Content-Type: application/json' -H 'Accept: application/octet-stream' -A 'Jersey/2.31' 'https://api.criteo.com/marketing/v1/statistics' Response- HTTP/2 500 cache-control: private content-length: 36 content-type: text/html server: Kestrel x-aspnet-version: 4.0.30319 date: Wed, 13 Jan 2021 16:46:54 GMT {"Message":"An error has occurred."}

Posted by Fivetran Developers 9 months ago