Ads and Commerce
Ads and Commerce
Resources

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 technologies. 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.

Get started

Get Started

Begin creating and managing Meta ad campaigns by following step-by-step guidance on setting up campaigns, ad sets, and creatives using the Marketing API
Basic Ad Creation
Get detailed guidance on how to set up campaigns, ad sets, and ad creatives, including code samples that illustrate the implementation process.
Manage Campaigns
Learn key operations you can perform using the Marketing API, including how to modify, pause and delete campaigns.
Ad Optimization Basics
Use Marketing API endpoints that serve as essential tools for developers to manage audiences and analyze ad campaign insights.

Related APIs

Explore additional APIs to enhance ad targeting, manage catalogs, maintain business presence, and integrate commerce tools across Meta technologies
Conversions API
Connect the marketing data on your servers to the Meta systems that optimize ad targeting, decrease cost per action, and measure results.
Catalog API
Create a catalog of items you want to promote and use it to run ads, sell from a shop on Facebook or Instagram, and more.
Business Management API
Create and maintain your business's organic and paid presence on Facebook, Instagram, Messenger, and WhatsApp.
Commerce API
Enables businesses to integrate their infrastructure with the tools available to sell products across Meta technologies, including shops and Marketplace.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon