Skip to content
Meta Ads

Meta Ads API for Developers

Launch and manage Meta ad campaigns across Facebook and Instagram via API, or hand them to your AI agent over Tevanio MCP.

  • Facebook & Instagram
  • Boost posts
  • Audiences
  • Lead forms
  • Analytics

Join 200,000+ of the world’s most ambitious developers and builders

  • Case study
  • Case study
Why developers choose Tevanio for Meta Ads

Save 4-6 weeks of development

Meta Marketing API

Tevanio API

Recommended

App Review for ads_management and ads_read

No Meta App Review

Ban risk from connecting unvetted tools

Lower ban risk through an approved partner

Campaign, ad set and ad calls to orchestrate

Facebook and Instagram from one connection

Quarterly Graph API versions to migrate

Customer lists hashed for you

A separate integration per ad network

One API for 9 ad networks

How to use the Meta Ads API with Tevanio

Get your first campaign under 10 minutes

  1. 01

    Connect your account

    Log in with Meta Business or Facebook to connect your Pages, Instagram and ad accounts. No Meta App setup required. Ads are included on every Tevanio account.

  2. 02

    Create or boost a campaign

    Boost a post you’ve already published or add new creative with budget and targeting. Do it via API or ask your AI agent through Tevanio MCP.

  3. 03

    Track and adjust

    Tevanio syncs spend and results, and tells you when Meta approves or rejects an ad. Pause ads, change budgets and pull reports.

Skip the Meta App Review and the ban risk
Features

Everything you need to run Meta Ads

Facebook and Instagram placements

Feeds, Stories, Reels and Explore on both apps, plus Messenger, Threads and Audience Network.

Boost organic posts

Promote any Facebook or Instagram post you scheduled or published, with one API call.

Custom and lookalike audiences

Customer list, website and lookalike audiences. We hash emails and phones before they reach Meta.

Spend and results without opening another dashboard

Every campaign and its status in one table

Real-time analytics

Spend, CTR, CPC, CPM and ROAS per campaign and ad, broken down by age, gender, country and placement.

Detailed targeting

Age, gender and location down to radius and zip, plus interests, behaviors and work fields.

Lead forms and Conversions API

Create Instant Forms, fetch their leads and send server-side events to the Conversions API.

Integrate

Three ways in. Same API behind all of them

Write it yourself with the SDKs, hand it to an agent over MCP, or run it from a shell.

import Tevanio from '@tevanio/node';const tevanio = new Tevanio(); // reads TEVANIO_API_KEY​const { data: ad } = await tevanio.adcampaigns.createStandaloneAd({  body: {    accountId: 'acc_xxx',    adAccountId: 'act_1234567890',    name: 'Spring launch',    goal: 'traffic',    budgetAmount: 25,    budgetType: 'daily',    headline: 'Ship faster with Acme',    body: 'The platform for product teams.',    imageUrl: 'https://cdn.acme.com/launch.jpg',    linkUrl: 'https://acme.com',    callToAction: 'LEARN_MORE',    countries: ['US', 'CA'],    ageMin: 25,    ageMax: 45,  },});
And more
Supported Platforms

Build one integration and run ads on 9 networks with it

  • Meta
  • Google Ads
  • LinkedIn
  • TikTok
  • Pinterest
  • X
  • OpenAI
  • Reddit
  • Microsoft Advertising

Frequently Asked Questions

The Meta Ads API (officially the Meta Marketing API) is Meta’s programmatic interface for creating, managing and reporting on ads across Facebook, Instagram, Messenger and Audience Network. Tevanio wraps it in a REST API with sane defaults.

Meta’s API is free; you pay Meta for ad spend. The real cost is engineering: OAuth, token refresh, rate limits and Meta’s regular version changes. With Tevanio, ads are included on every account.

No. Direct access needs a Meta App and App Review for ads_management and ads_read. Tevanio is an approved Meta partner and handles it.

Meta flags accounts that connect unvetted third-party tools. Connecting through an approved partner with a compliant authorization flow lowers that risk compared with building your own app or using unverified integrations.

Yes. POST to /v1/ads/boost with the Tevanio post ID of a post from your connected Instagram or Facebook account, and a budget.

Yes. Upload customer lists (emails and phone numbers) and Tevanio hashes them with SHA-256 before they reach Meta. Website and lookalike audiences are supported too.

Yes. One set of /v1/ads endpoints covers all 9 networks, and the connected account decides where each ad runs. One API key, one request shape, no SDK per network.

Yes. Tevanio’s MCP server exposes the ads endpoints as tools, so an agent in Claude, Cursor or any MCP client can create campaigns, adjust budgets, pause ads and pull analytics.

Start running Meta Ads today

REST API for Facebook, Instagram, Custom Audiences and analytics.

  • SOC 2
  • GDPR compliant
  • 99.97% uptime
  • Under 50ms response