One API for social media ads and Google Ads

A campaign-management API for paid social ads and Google Ads, with MCP tools for AI agents.

Boost posts or build campaigns across Meta, Google, Pinterest, and TikTok, target audiences, plan keywords, and read normalized analytics.

Free plan No credit card Live in under 5 minutes

Ads

Every campaign,
one object model

Boost a post or build a campaign from scratch across Meta, Google, Pinterest, and TikTok, over one API.

One object model, every network

Campaigns, ad sets, and ads share one normalized shape across Meta, Google, Pinterest, and TikTok. Learn the model once and reuse it across networks, with each network's native fields and limits mapped underneath.

Boost a post or build from scratch

boost_post turns a published post into an ad, creating the campaign, ad set, and ad in a single call. On Meta that's a Facebook or Instagram post, on Pinterest a Pin, and on TikTok a Spark Ad. Or compose your own creative, carousels, and copy variants and launch a campaign end to end.

Targeting and keywords, built in

Search interests, behaviors, geographies, and custom audiences. On Google, plan keywords with the Keyword Planner, add negative keywords, and read the search terms that actually triggered your ads.

Analytics that come back normalized

Spend, CTR, CPC, ROAS, conversions, and video metrics share the same names across networks, with breakdowns by age, placement, and country, and the raw platform numbers one field away.

Supported networks

Four ad networks, one API

Campaigns, ad sets, and ads in one normalized shape, with each network's native capabilities mapped underneath.

Meta Facebook and Instagram Post boosting, standalone creative, carousels, and native previews.
Google Ads Search, Performance Max, and Display Keyword planning, negative keywords, and search-term reports. No post boosting.
Pinterest Promoted Pins Interest and keyword targeting, with campaign-level budgets.
TikTok Spark Ads and video Boost posts as Spark Ads, or run video and image-carousel ads, with custom identities.

Formats, targeting, previews, and breakdowns vary by network. LinkedIn Ads is coming soon.

The API

Create and manage campaigns with the REST API

One REST endpoint per action, with campaigns, ad sets, and ads in a single normalized shape across every network.

api.postproxy.dev
POST /api/ads/boost_post
$ curl -X POST "https://api.postproxy.dev/api/ads/boost_post" \
     -H "Authorization: Bearer $API_KEY" \
     -H "Content-Type: application/json" \
     -d '{
       "ad_account_id": "Yq7HnB",
       "post_id": "rDt5DM9aD",
       "goal": "engagement",
       "status": "paused",
       "budget": { "amount": 10, "type": "daily" },
       "targeting": {
         "locations": { "countries": ["US", "CA"] },
         "age_min": 21, "age_max": 45
       }
     }'
200 OK application/json
{
  "id": "Kx82LmQp",
  "kind": "ad",
  "platform": "meta_ads",
  "ad_type": "boost",
  "campaign_id": "c7RtY2Wn",
  "ad_set_id": "s4HdN9Zv",
  "status": "paused",
  "goal": { "type": "engagement", "title": "Get More Engagement" },
  "budget": { "amount": 10.0, "type": "daily", "level": "ad_set", "currency": "USD" },
  "targeting": { "age_min": 21, "age_max": 45, "locations": { "countries": ["US", "CA"] } },
  "review": { "status": "pending", "reasons": [] },
  "preview_link": "https://fb.me/HutjLU9Ggi3P",
  "created_at": "2026-11-16T14:11:41Z"
}

See the full Ads API reference: every endpoint, code samples in eight languages, and the ad object schema

View documentation
Example

Manage ads with MCP

Connect the MCP server and an agent launches, tunes, and reports on campaigns in plain language, with the same tools behind the REST API.

What you can ask
  • boost my best-performing reel on meta and cap it at $25 a day
  • launch a google search campaign for these keywords at $40 a day
  • how did last week's campaigns do across meta and google?
  • pause any campaign over $50 cost per conversion
Claude Code
boost my best-performing reel on meta and cap it at $25 a day
  • ads_accounts_list Meta ad account found
  • ads_insights top reel, last 7 days
  • ads_post_boost $25/day, pending review

Boosted your top reel on Meta at $25/day, now in review.

Capabilities

Everything paid campaigns need

From the first boost to bulk status changes and cross-network reporting, in one place.

Boost posts

Turn a published post into an ad, including a TikTok Spark Ad, with its campaign and ad set created in a single call.

Audience targeting

Search interests, behaviors, geographies, lookalikes, and custom audiences, then attach them to an ad set.

Keyword planner

Google keyword ideas and historical volumes, negative keywords, and the search terms that triggered your ads.

Creative and previews

Single image, video, and carousel creative, with copy variants and native previews where the network supports them.

Lifecycle and bulk control

Pause, resume, and archive, or change the status of up to 50 campaigns at once.

Cross-object insights

One report across campaigns, ad sets, or ads, with ROAS, conversions, and breakdowns by age, placement, and country.

More of the product

One key, the whole workflow

Ads API questions

Networks, access, how boosting works, how analytics is normalized, and how it runs over MCP.

01 What is a social media ads API?

A social media ads API lets you create and manage paid ad campaigns on social networks like Meta, Pinterest, and TikTok through code, instead of each platform's own ads manager. Postproxy exposes one REST API, plus MCP tools for AI agents, that normalizes campaigns, ad sets, and ads, and it extends the same model to Google Ads across Search, Performance Max, and Display. You boost posts, build campaigns, target audiences, manage keywords, and pull analytics with one integration.

02 Which ad networks does the API support?

Meta (Facebook and Instagram), Google (Search, Performance Max, and Display), Pinterest, and TikTok (Spark Ads, video, and image carousels). LinkedIn Ads is coming soon. One normalized API covers the live networks, and each one's native fields are mapped underneath, so you call campaigns, ad sets, and ads the same way across them.

03 Is the ads API available over MCP as well?

Yes. Postproxy provides ads_* MCP tools for campaign creation, post boosting, targeting, keywords, status changes, and insights, so an AI agent can launch, tune, pause, and report on campaigns. Supported networks and parameters vary by tool.

04 Can I boost an existing post, or only build new ads?

Both. boost_post turns a published Facebook, Instagram, Pinterest, or TikTok post into an ad, creating the campaign, ad set, and ad in one call. On TikTok the boost runs as a Spark Ad, using the original post. You can also build a campaign from your own creative, including carousels and, on Meta, up to five copy variants it optimizes between.

05 How is ad analytics normalized?

Spend, impressions, reach, clicks, CTR, CPC, CPM, conversions, ROAS, and video metrics use normalized field names where the network supports them, and the raw platform numbers are one field away. Available breakdowns (age, gender, country, placement, device) vary by network. One insights call covers up to 50 objects of a single type within one ad account.

06 Does it handle Google Ads keywords?

Yes. Create keywords with match types and bids, add negative keywords, and read the search-terms report. The Keyword Planner generates keyword ideas with search volumes, competition, and bid ranges, plus month-by-month historical metrics. Campaign targeting and dayparting are supported too.

07 How does this compare to integrating with Meta or Google directly?

You call one API instead of learning each network's ad SDK, auth, objects, and quirks. Postproxy normalizes campaigns, ad sets, and ads, maps native fields, syncs metrics in the background, and surfaces review status, previews, and account health. The same API key also publishes organic posts and reads comments, DMs, and reviews.

08 Can I manage ads created outside Postproxy?

Yes. Ads, ad sets, and campaigns created directly in a network's ads manager are imported and kept in sync, marked with their source, so you can read their analytics and change their status through the same API, alongside the ones you create with Postproxy.

One API for every ad campaign

Boost posts or build campaigns across Meta, Google, Pinterest, and TikTok, over REST or MCP.