Marketing API

The Marketing API is a collection of Graph API endpoints and other features that can be used to help you advertise across Meta's family of apps. Before advertising on Facebook, Instagram, Messenger, and WhatsApp, we recommend you learn about Meta's Ad Campaign Structure, to understand the objects you're working with and how they relate to each other.


The latest version is:


For information on the latest Marketing API version, see the Changelog. For non-versioned changes, see the Out-of-Cycle Changes.

Common Uses

Some typical use-cases which leverage Marketing API includes the following:

  • Automate Ads Management: Systematically create many ad templates at once to test different creative, bidding, or tagging strategies.
  • Leverage Dynamic Creative: Find the most effective creative for your audience by automatically creating different permutations of your ad.
  • Create Data-Based Audiences: Easily create audience segments by integrating your CRM system with your Meta ads.
  • Optimize in Real Time: Manage and optimize ads in real time using rules-based ads management.
  • Build Custom Dashboards: Build dashboards to compare the performance of Meta ads with ads on other advertising channels.

Get Started

To set up your first ad using Marketing API, first familiarize yourself with our core concepts, then follow the tutorial here.

For developers using Marketing APIs for the first time, we also recommend the following resources:

Commonly-used APIs

Find out more about some of Marketing API's core offerings in these articles.

Conversions API

Creates a connection between an advertiser’s marketing data and the Meta systems that optimize ad targeting, decrease cost per action and measure results.


Information about your products and where you can upload your inventory. Use the Catalog Batch API for large catalogs or frequent updates.

Meta Business Extension

Popup-based solution that allows users to easily set up the Meta Pixel, Catalog, and Facebook Page Shops.

Business Management APIs

Create and maintain a business' organic and paid presence on Facebook, Instagram, Messenger, and WhatsApp

Ad Creative

Provides different ads products to help meet your advertising goals

Insights API

Allows developers to programmatically access and analyze data related to ads running on Meta's family of apps and services