Este documento se ha actualizado.
La traducción en Español (España) no está disponible todavía.
Actualización del documento en inglés: 26 may
Actualización del documento en Español (España): 22 may

Marketing API

Marketing APIs are a collection of Graph API endpoints that can be used to help you advertise on Facebook. To get started with advertising on Facebook, we recommend you learn about Facebook's Ad Campaign Structure, to understand the objects you are working with and how they relate to each other.

For news on the latest Marketing API version, see Changelog.

New to Facebook ads? Visit Facebook Blueprint.


You may benefit from using the Marketing 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 Marketing API calls.

You can perform your testing in Sandbox Mode. This mode provides a testing environment that helps you create an ad account that is enabled for making Marketing API calls, however it doesn't actually deliver ads. For more information, see Sandbox Mode for Developers.

The API has two levels of access: development 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 Marketing API at the development access level, you can apply for standard access through your app's Marketing API Settings page. Learn more about Marketing API access levels.