Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Python client for the Facebook Ads API

Project description

https://api.travis-ci.org/rpedigoni/fbads.png

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

Installation

Install via pip:

$ pip install fbads

Usage

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',
    campaign_status=CampaignStatus.ACTIVE,
)

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

Docs

Documentation is available at http://fbads.readthedocs.org/en/latest/

Project details


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
fbads-0.3.6.tar.gz (9.9 kB) Copy SHA256 hash SHA256 Source None Jul 10, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page