For developers completely new to advertising on Facebook, get more business background and learn the language of ads on Facebook at Facebook Blueprint.
Make your first Marketing API call using our PHP or Python SDK just within a few minutes.
Read Quickstart GuideFollow our Marketing Developers Page for quick-snippet updates on API enhancements and new features.
You may benefit from using the Ads API if you match one of these profiles:
As an advertising management solutions provider, you sell to advertisers or agencies who manage ads on digital properties, including Facebook. You can review our list of current partners, see Facebook Marketing Partners.
As an advertiser, you manage your own ad spend, have significant advertising scale specifically on the Facebook platform and require a custom solution that leverages your own internal data.
Before you get started, please review Components of a Successful Integration, which is a checklist to determine the value of building an app on the API and to help you understand the investment needed to be successful.
For most advertisers, building an in-house ads management tool doesn’t make sense due to resource requirements. We recommend using existing Facebook and/or partner tools that fit your needs instead
No. Facebook doesn't currently charge for Ads API calls.
Currently, there's no sandbox, and all calls are live.
The API has three levels of access: development, basic and standard. You can get started with the development access level by creating a new app (or use an existing app, if you already have one) and obtaining an access token to start making API calls.
Once you have a successful integration with the Ads API at the development access level, you can apply for basic access through your app's Status and Review page. Learn more about Ads API access levels.
For sample code, please review the API documentation on this site. We also have code samples on Marketing API Accelerator Program.
Learn more about tool vendors for the API at Facebook Marketing Partners.