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.

Source Distribution

fbads-0.3.6.tar.gz (9.9 kB view hashes)

Uploaded source

Supported by

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