Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple library to access the Criteo API

Project Description


PyCriteo is a simple Python library to access the Criteo API.
It uses Python convenient built in dictionaries to make API requests.

Basic usage:
Get all running campaigns

>>> from pycriteo import Client
>>> c = Client('username', 'password', 'token')
>>> campaigns = c.getCampaigns({'campaignStatus': 'RUNNING'})
>>> dict(campaigns.campaign[0]).keys()

Schedule a report job

>>> job = c.scheduleReportJob(
{'reportType': 'Category',
'reportSelector': {
'CampaignIDs': [i.campaignID for i in campaigns.campaign]},
'startDate': '2014-01-01',
'endDate': '2014-30-01',
'isResultGzipped': False,
'aggregationType': 'Daily'

Save the report job as csv

>>> c.downloadReport(job.jobID, 'my_report.csv')


pip install pycriteo


Apache 2.0

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.9 kB) Copy SHA256 Hash SHA256
Source None Mar 3, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting