Discussions
API Reporting
Is there a way we change the default settings for attribution model view when it comes to API reporting? Looking to set the default to 30-day click + 1 day view, rather than the current 30-day click.
Posted by Ben 7 days ago
Completion time of report data calibration one day ago
https://api.criteo.com/preview/statistics/report
By any chance, when will the data from the previous day's report be calibrated?
In order to check the report data the day before the calibration was completed correctly, what time should I search after the next day?
May 11, 2022 at 02:00
startDate = 2022-05-10
endDate = 2022-05-10
with the search result and
May 11, 2022 at 16:40
startDate = 2022-05-10
endDate = 2022-05-10
The search results are different.
Posted by Junyeong Kim 8 days ago
pmc.criteo.com/api/stats? advanced dimensions
Hi, is there any way to pull latest publisher data with "advanced dimensions"? Only affinity and zone return data for impressions and revenue for the latest date available and we would always lag 2 days for the latest data to come in with other dimensions.
Posted by Marion 8 days ago
Error 403
After getting the access token and using that token to get audiences list, I get Error 403. I have developer level access.
Posted by Sree 9 days ago
What do I enter for /{advertiser-id}/ and "Authorization: Bearer XXXXX " to download log level reports?
I am following the instructions described here to download log level reports via curl:
https://developers.criteo.com/marketing-solutions/docs/log-level-report
However, the code chunk seems to need an entry for advertiser-id and Bearer number. Does anyone know how to obtain these or what to put in there if I just want a broad download of all the log level data?
Thank you!
This is the code chunk I'm using:
curl -X POST "https://api.criteo.com/2022-04/log-level/advertisers/{advertiser-id}/report" -H "accept: text/plain"-H "Content-Type: application/json-patch+json"-H "Authorization: Bearer XXXXX " -d "{ \"startDate\": \"2021-02-03\", \"endDate\": \"2021-02-04\"}"
Posted by Lex Kolbe 10 days ago
sslwidget.criteo.com is using document.write()
sslwidget.criteo.com is using r.contentDocument.write() and is flagged for performance. Are there plans to update that
Posted by Yulia Fedotov 21 days ago
Abnormal response data from POST https://api.criteo.com/2021-10/statistics/report ?
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.
Posted by David 22 days ago
Empty response from 2021-04/statistics/report
Hi,
I got a response like this from 2021-04/statistics/report.
{
"Total": {
"ECpc": "0",
[...]
"Audience": "0"
},
"Rows": [
{}
]
}
I wanted to check if this is what was expected when there were no events to report. In particular I was worried about "Rows": [{}]. If there were no rows then I would have expected "Rows": [] without {} in the array. Is this an error or is this just the expected behavior when there are no rows?
Posted by Oscar Cunningham 23 days ago
Empty portfolio and api issues
I hope someone here can help me.
we have a criteo developer account.
Create app, app credentials worked.
Service is marketing solutions.
Authorization is only Audiences set to Manage.
The app has been activated.
Authorization via: POST https://api.criteo.com/oauth2/token has worked.
For testing I had the endpoint: GET
https://api.criteo.com/2020-10/advertisers/me
tested and worked.
Response: {"data":[],"errors":[],"warnings":[]}'
HTTP Code: 200
The problem is with the endpoints:
GET https://api.criteo.com/2021-10/audiences
Returns an empty response and the HTTP code 403
The same with the endpoints:
POST https://api.criteo.com/2022-01/audiences
Request:
{
"data": {
"type": { "audience",
"attributes": {
"advertiserId": "1",
}, { "name": "test",
"description": "test"
}
}
}
Response: empty
HTTP Code: 403
When I click in the app on: Generate new URL
the link is created.
When I open the link in the browser a message appears "Empty portfolio
You cannot grant access to the application "XXXX" as your portfolio is empty".
When I click on the "Consent dashboard" button, "No consent requests yet" appears.
There you can click on Products on e.g..: Marketing solutions, but there all permissions are missing and you can't adjust/set anything.
Now the question, how can I create or edit the portfolio so that I can use the api?
Thanks,
Ronny Kroße
Posted by Ronny Kroße 24 days ago
Confirmation mail does not work
Hi,
we have a problem that I cannot enable the application because the confirmation email does not work.
When we click on the confirm email/validation email we get redirected to an error page. What can we do?
Best
Posted by Ziva 29 days ago