GuidesAPI ReferenceChangelogDiscussions
GuidesAPI ReferenceChangelogLog In


Ask a Question

403 error, access-control, when searching campaigns

When running this: -- start code -- # get all advertisers url = '' headers = { 'Authorization': 'Bearer ' + access_token, 'Accept': 'text/plain', 'Content-Type': 'application/*+json' } response = requests.get(url, headers=headers, data=payload) print(response) response.json() -- end code -- I get the following output: <Response [200]> {'data': [], 'errors': [], 'warnings': []} OK, so we have the correct access. When running this code to get campaigns: -- start code -- # get all campaigns url = '' payload={ "filters": {} } headers = { 'Authorization': 'Bearer ' + access_token, 'Accept': 'text/plain', 'Content-Type': 'application/*+json' } response = requests.get(url, headers=headers, data=payload) print(response) response.json() -- end code-- I get this out put: <Response [403]> {'data': None, 'warnings': [], 'errors': [{'traceIdentifier': '0HMM3BKOTTRGJ:00000001', 'type': 'access-control', 'code': 'insufficient-permissions', 'instance': '/v21q2/campaigns/search', 'title': 'Access control error', 'detail': None, 'source': None}]} We verified we have all read rights on Audiences, Analytics, Campaigns, Catalogs, and Creatives on the app we created. How can get the correct permissions? Or is there something else we are doing wrong? Our goal is to get campaign statistics per day (costs, clicks, impressions for example) Thanks in advance, Michael

Content Security Policy for scripts created by criteo scripts

Does Criteo script have ability to pass csp nonce so it will be used for scripts that created by Currently we have a problem, that this script is created without csp nonce so it's blocked by CSP.

What are the rows in Analytics?

I want to withdraw metrics at Ads level, but there is not an endpoint for ads, and the lowest levelavailable seems to be Adsets. Therefore, I'm using the endpoint statistics/report in analytics to get information on Ads level, given that there is an AdId and Ad (name). But what are the rows exactly? If I receive a 115 rows response, for example, 28 of them have as AdId and empty string, other 28 of them have -1 as AdId and then number also repeated 28 times, then there are just a few unique values. What is the api actually returning me on rows? It doesn't seem to be Ads, then what is it? Thank you.

"ConnectTimeoutError" when trying to connect to ""

Hi, hope you have a great week. Please, could you help with the question about the Criteo Retail Media API? We used Criteo Retail Media API, but now we are getting "ConnectTimeoutError" when trying to connect to "". We also see that the Swagger UI is currently not available:!/Authentication/OAuth2TokenPost and documentation is also unavailable: Best regards, Ruslan





Missing documintation on how to set line-items

On it says users can set the line items to paused but on the same page there is no documentation on what endpoint to use (both endpoints mentioned are GET not PUT

the retail media reporting API fails.

the retail media reporting API fails. I guess something is wrong with the data variable in the http request. How can I prevent the error? Execution screen Target API documentation

How to add the MPN and GTIN attributes to the Product report for Criteo Retail Media?

Do you have any recommendation on how to add the MPN and GTIN information to the report type Product - Criteo Retail Media Analytics endpoint.

How to get list of time zones for Criteo Retial Media API

The reports in the analytics API require adding the attribute "timeZone". Is it possible to have a list of values that can be passed? or are the time zones values the same as for Criteo Marketing Solutions?