GuidesAPI ReferenceChangelogDiscussions
GuidesAPI ReferenceChangelogLog In


Ask a Question

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.

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.

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



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

Retail Media API: SKU Activity Report

Hello everyone, We're using the Retail Media API according to the [API Guide V1.0]( SKU Activity Report description says that we should get the `ProductGroupID` and `ProductGroupName` fields. In fact, the report doesn't contain that fields. Moreover, SKUs in the report can't be linked with the Product Groups because we have much fewer SKUs from the appropriate endpoint. We can't link them by GTIN because they sometimes are NULLs. Also, the column RetailerSKUID is described as "retailer ID of the SKU" so it's unclear if it's *retailer* ID or *SKU* ID. Thus, we have some questions: * where are the SKU Activity Report's ProductGroupID and ProductGroupName fields; * why after getting all Product Groups we still have in the SKU Activity Report SKUs that aren't present in any Product Group; * it is correct to join SKUs from the SKU Activity Report to SKUs in the Product Groups by report field RetailerSKUID and product group retailerId field? And, finally, is the API Guide mentioned above actual? There is an "RMP API" [page]( that describes similar things but is not as comprehensive as "API Guide V1.0".

Error in connection

Error which is thrown from is connection refused which. It takes 22Sec which is hampering our site speed. Can this be resolved?

Advertising API not connecting

Hi, I am trying to generate campaign-activity-by-day reports through the API but getting error saying it is unable to connect. It was all working fine until 16th March 2021 ['1BpoxOLBKmA4BW9M3IhHXSyALwrpApPSf', 'awIYEbgVjVShsVTZhFzyyNwrJYbBjPoL', 'hgnWLvLgwFUmQe6yHLRTUV2MUS0NMuEv', 'yPvTwufbHyDz1w1AtsFyz4NUGfJGi3Zt'] 1BpoxOLBKmA4BW9M3IhHXSyALwrpApPSf {'Message': 'An error has occurred.'}

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.