Instagram placements
Feed, Stories, Reels, and Explore on Instagram.
Meta's Marketing API requires creating a Meta App, submitting permissions for App Review, and ongoing compliance. Direct integration risks account bans from the 'external AI agent' detection pattern. Zernio is an approved Meta Marketing Partner - we wrap Facebook and Instagram ads behind one REST API.

Our spring plant drop is here.


Meta Ads
Connect your business
Connect with Facebook
Sign up for free, get your API key and connect Meta Ads ad accounts through our OAuth flow.

POST /v1/ads/create
const { data } = await zernio.adcampaigns.createStandaloneAd({ body: { accountId: 'acc_8f2a', 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, }, });
Create the campaign, its budget, targeting and creative in one API call.

Retargeting
$30/day
Summer Sale
$40/day
Launch Push
$18/day
Spend and results sync back. Pause ads, change budgets and pull reports from the same API.
| Endpoint | What it does |
|---|---|
POST/v1/ads/create | Create a Facebook or Instagram campaign with ad set and creative |
POST/v1/ads/boost | Promote an existing Facebook or Instagram post as an ad |
POST/v1/ads/audiences | Create a Custom Audience (customer list, website, lookalike) |
POST/v1/ads/audiences/{id}/users | Add users to a Custom Audience (SHA-256 hashed automatically) |
GET/v1/ads/{id} | Get ad details, spend, and current status |
PUT/v1/ads/{id} | Update status, budget, schedule, or targeting |
GET/v1/ads/{id}/analytics | Spend, impressions, clicks, CTR, CPC, CPM, ROAS with breakdowns |
GET/v1/ads/campaigns | List campaigns across connected Meta ad accounts |
Zernio transcodes and optimizes media for Meta Ads's requirements automatically.
| Type | Format | Max size | Notes |
|---|---|---|---|
| Feed Image | JPEG, PNG | 30 MB | Recommended 1080x1080 (1:1) or 1200x628 (1.91:1) |
| Reels Video | MP4, MOV | 4 GB | Vertical 9:16, max 90 sec |
| Story Image/Video | JPEG, PNG, MP4 | 30 MB image / 4 GB video | 9:16 vertical |
| Carousel | JPEG, PNG, MP4 | 30 MB / card | 2-10 cards |
| Headline | Text | 40 chars | Primary headline |
Meta Marketing API uses a per-app and per-ad-account rate limit budget. Zernio pools across customers and handles 17/32/80 throttle errors with automatic backoff.
Feed, Stories, Reels, and Explore on Instagram.
Campaign → Ad Set → Ad, managed through one API.
Feed, Stories, Reels, and Marketplace on Facebook.
Real-time spend, CPM, CPC, and ROAS with breakdowns.
Customer list, website, and lookalike audiences.
Target by interests, behaviors, and demographics.
Boost existing organic posts on Facebook and Instagram.
Free tier available. No credit card required.