Skip to main content

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.

Source Distribution

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

Uploaded Source

File details

Details for the file fbads-0.3.6.tar.gz.

File metadata

  • Download URL: fbads-0.3.6.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fbads-0.3.6.tar.gz
Algorithm Hash digest
SHA256 7bea62c3a756d3debcd98447a74710948e396a921fa8eedb1c1dc7f32c6d5f23
MD5 b6b5b8f42bec2c5806f5811def40200e
BLAKE2b-256 78fd32487855010a0a72c7aa7fbfd871c1249474bf0ce4dc0ab6c73263d5b9e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page