Python client for the Facebook Ads API
Python Shell
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
fbads
tests
.gitignore
.travis.yml
LICENSE
MANIFEST.in
Makefile
README.rst
requirements-dev.txt
requirements.txt
setup.py

README.rst

fbads

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/