Closed tzercinhk closed 4 years ago
First I thought I had problems with Statistics API, but solved that. SellersV2StatsAPI problem continues.
I edited the code in the question.
Hello @tzercinhk, could you provide us with the content of your criteo.json file (without your credentials), so that we can reproduce the problem in the same conditions.
Hi,
You can find below. { "advts_id": 10000, "host_add" : "https://api.criteo.com/marketing", "account_email" : "account@email.com", "pass":"password", "me":{ "client_secret" : "client secret", "client_id":" "mapi-client id", "client_mail" : "clientaccount@email.com" } }
Hello @tzercinhk.
After discussing with the Sellers team, it seems the problem comes from their side (some missing data). From what we understand, both the Python SDK and the exposed API is working fine, so we will close this issue.
Could you open an incident using Management Center or by contacting your Criteo contact?
Hi,
Just started to use this api. Tried several of endpoints and they worked perfectly.
But this endpoint(in the subject) returns zero rows, both from web and from python sdk i do not get why. Tried both a lot of times, with a lot of different criteria set. Everytime I get 0 rows.
For example in the below code, when i run script,
self.get_camp_data()
returns campaigns list which is expected. Alsoself.criteo_stats_2()
returns data. Butself.criteo_stats()
returns this("{'columns': ['campaignId', 'sellerId', 'sellerName', 'day', 'impressions', " "'clicks', 'cost', 'saleUnits', 'revenue', 'cr', 'cpo', 'cos', 'roas'], " "'data': [], 'rows': 0, 'links': {}}")
.By the way, I have 2 active campaigns there should be some data. In addition response_code is 200.
Is there any way that my account cannot authorized to use this data/apis etc?