Skip to main content

Python client for the Facebook Ads API

Project description

Python client for the Facebook Ads API. Works with the new ads schema (ad sets). Under development!


Install via pip:

$ pip install fbads


Usage should be simple as:

api = FBAds(account_id='123456789', access_token='a_valid_token')

campaign_id = api.campaign.add(
    name=u'Testing campaign #001',

print u'Campaign created with ID {0}'.format(campaign_id)


Documentation is available at

Project details

Download files

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

Files for fbads, version 0.3.6
Filename, size File type Python version Upload date Hashes
Filename, size fbads-0.3.6.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page