Zernio Ad Campaigns API

The advertising structure: campaigns, ad sets and ads. Create standalone campaigns/ads, boost an organic post, duplicate at any level, pause/resume, and read the full tree and timeline. Campaigns are virtual aggregations of ads grouped by their platform campaign ID. Per-operation platform support is shown by the platform badges. Requires the Ads add-on. **Status model.** Every level keeps its own on/off switch, as in each platform's own UI: Meta `configured_status`, TikTok `operation_status`, Google `status`, LinkedIn `status`, Pinterest `status`, X `entity_status`, ChatGPT (OpenAI) `status`, Reddit `configured_status`. - **Own switch** is what you set. Ads return it as `configuredStatus`, ad sets as `platformAdSetStatus`, campaigns as `platformCampaignStatus`. Meta ad sets return their `effective_status` in `platformAdSetStatus` instead (e.g. `CAMPAIGN_PAUSED`). - **Delivery status** (`status`, and the raw `platformStatus` on ads) is derived: an object delivers only when its own switch AND every switch above it are on. An ad switched on under a paused campaign reads `configuredStatus: ACTIVE` with `status: paused`. - **No cascade.** Pausing or resuming a campaign or ad set writes that object's switch only. Children keep their own switches, so a resume never re-enables an ad or ad set you paused individually. Resume each paused level you want live. - No cascade is native platform behavior (Google: "Resuming a campaign only enables the campaign level"; Meta reports the inherited pause as CAMPAIGN_PAUSED / ADSET_PAUSED on the child). - **Created paused = top-most object paused.** A create with `status: PAUSED` pauses only the highest object that request creates, with everything below switched on. One resume of that object brings the whole new tree live. - Examples: a new campaign is paused with its ad set and ad on; a new ad set in an existing campaign is paused with its ad on; an ad attached to an existing ad set is itself paused. - X has no per-ad switch (a promoted post follows its line item).

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 72

GET /v1/ads List ads #
GET /v1/ads/recommendations List Google Ads recommendations #
POST /v1/ads/recommendations/apply Apply Google Ads recommendations #
POST /v1/ads/recommendations/dismiss Dismiss Google Ads recommendations #
GET /v1/ads/bid-strategies List portfolio bid strategies #
POST /v1/ads/bid-strategies Create portfolio bid strategy #
PATCH /v1/ads/bid-strategies/{strategyId} Update portfolio bid strategy #
GET /v1/ads/shared-budgets List shared budgets #
POST /v1/ads/shared-budgets Create a shared budget #
GET /v1/ads/keywords List Search keywords #
POST /v1/ads/keywords Add Search ad-group keywords #
PATCH /v1/ads/keywords/{keywordId} Update a Search keyword #
DELETE /v1/ads/keywords/{keywordId} Remove a Search keyword #
GET /v1/ads/campaigns List campaigns #
POST /v1/ads/campaigns Create a standalone campaign #
PUT /v1/ads/campaigns/{campaignId}/status Pause or resume a campaign #
GET /v1/ads/campaigns/{campaignId}/ad-schedule Read a campaign's ad schedule (dayparting) #
PUT /v1/ads/campaigns/{campaignId}/ad-schedule Replace a campaign's ad schedule (dayparting) #
GET /v1/ads/campaigns/{campaignId}/bidding Read a campaign's current bidding #
GET /v1/ads/campaigns/{campaignId} Get live campaign details #
PUT /v1/ads/campaigns/{campaignId} Update a campaign #
DELETE /v1/ads/campaigns/{campaignId} Delete a campaign #
GET /v1/ads/campaigns/{campaignId}/negative-keywords List campaign-level negative keywords #
PUT /v1/ads/campaigns/{campaignId}/negative-keywords Replace campaign-level negative keywords #
PATCH /v1/ads/campaigns/{campaignId}/negative-keywords Add or remove campaign-level negative keywords #
POST /v1/ads/campaigns/bulk-status Pause or resume many campaigns #
POST /v1/ads/campaigns/{campaignId}/duplicate Duplicate a campaign #
GET /v1/ads/campaigns/{campaignId}/targeting Read a Google campaign's device, location, excluded location, and language… #
PUT /v1/ads/campaigns/{campaignId}/targeting Edit a Google campaign's device, location, excluded location, or language… #
GET /v1/ads/ad-sets List ad sets #
POST /v1/ads/ad-sets Create a standalone ad group #
POST /v1/ads/ad-sets/{adSetId}/duplicate Duplicate an ad set #
POST /v1/ads/{adId}/duplicate Duplicate an ad #
GET /v1/ads/ad-sets/{adSetId} Get live ad-set details #
PUT /v1/ads/ad-sets/{adSetId} Update an ad set #
DELETE /v1/ads/ad-sets/{adSetId} Delete an ad set #
GET /v1/ads/ad-sets/{adSetId}/targeting Read an ad group's targeting and schedule #
PUT /v1/ads/ad-sets/{adSetId}/status Pause or resume a single ad set #
GET /v1/ads/tree Get campaign tree #
GET /v1/ads/performance Rank ads by performance #
GET /v1/ads/timeline Get daily account metrics #
GET /v1/ads/{adId} Get ad details #
PUT /v1/ads/{adId} Update ad #
DELETE /v1/ads/{adId} Cancel an ad #
PUT /v1/ads/{adId}/status Pause or resume a single ad #
GET /v1/ads/campaigns/{campaignId}/assets List campaign assets #
POST /v1/ads/campaigns/{campaignId}/assets Attach campaign assets #
PUT /v1/ads/campaigns/{campaignId}/assets Update campaign assets #
DELETE /v1/ads/campaigns/{campaignId}/assets Remove campaign assets #
GET /v1/ads/ad-sets/{adSetId}/assets List ad-group assets #
POST /v1/ads/ad-sets/{adSetId}/assets Attach ad-group assets #
PUT /v1/ads/ad-sets/{adSetId}/assets Update ad-group assets #
DELETE /v1/ads/ad-sets/{adSetId}/assets Remove ad-group assets #
GET /v1/ads/{adId}/review Read the platform's review verdict for an ad #
GET /v1/ads/{adId}/tiktok-smart-plus-review Review status of each creative in a TikTok Smart+ ad #
GET /v1/ads/alerts List ads that need attention #
POST /v1/ads/alerts/{alertId}/dismiss Dismiss an ads alert #
GET /v1/ads/tiktok-smart-plus-reviews Review status of every TikTok Smart+ ad of an advertiser #
GET /v1/ads/campaigns/{campaignId}/negative-keyword-lists List campaign negative lists #
PUT /v1/ads/campaigns/{campaignId}/negative-keyword-lists Replace campaign negative lists #
PATCH /v1/ads/campaigns/{campaignId}/negative-keyword-lists Attach or detach campaign negative lists #
POST /v1/ads/boost Boost post as ad #
GET /v1/ads/campaigns/{campaignId}/asset-groups List Performance Max asset groups #
POST /v1/ads/campaigns/{campaignId}/asset-groups Create a Performance Max asset group #
GET /v1/ads/campaigns/{campaignId}/asset-groups/{assetGroupId} Get a Performance Max asset group #
PATCH /v1/ads/campaigns/{campaignId}/asset-groups/{assetGroupId} Update a Performance Max asset group #
DELETE /v1/ads/campaigns/{campaignId}/asset-groups/{assetGroupId} Remove a Performance Max asset group #
POST /v1/ads/campaigns/{campaignId}/asset-groups/{assetGroupId}/assets Link or unlink asset group assets #
PUT /v1/ads/campaigns/{campaignId}/asset-groups/{assetGroupId}/listing-group-filters Replace an asset group's listing-group tree #
POST /v1/ads/create Create standalone ad #
GET /v1/ads/campaigns/{campaignId}/conversion-goals Get campaign conversion goals #
PATCH /v1/ads/campaigns/{campaignId}/conversion-goals Update campaign conversion goals #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zernio-com:zernio-com-ad-campaigns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zernio-com-ad-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zernio Ad Campaigns API
  version: 1.882.0
  description: 'API reference for Zernio. Authenticate with a Bearer API key.

    Base URL: https://zernio.com/api


    Versioning and deprecation: all endpoints are versioned in the URL path

    (current version: /v1). Breaking changes only ship in a new path version;

    existing versions keep working. Deprecated operations are marked

    ''deprecated: true'' in this spec and announced in the changelog

    (https://zernio.com/changelog) before removal.


    Errors: every 4xx/5xx response is application/json with a machine-readable

    ''code'' and a human-readable ''error'' message (see the ErrorResponse schema).


    Request ids: responses carry an X-Request-Id header with the id we log the

    request under. Quote it when reporting a problem. A valid x-request-id you

    send is reused as that id.'
  termsOfService: https://zernio.com/tos
  contact:
    name: Zernio Support
    url: https://zernio.com
    email: support@zernio.com
  x-logo:
    url: https://zernio.com/icon.png?v=3
  x-long-description: 'Zernio is the social media API that replaces 34 integrations. Schedule posts, retrieve analytics,

    manage DMs, comments, and reviews across X, Instagram, WhatsApp, TikTok, LinkedIn,

    Facebook, YouTube, Threads, Pinterest, Bluesky, Telegram, Google Business Profile, Snapchat,

    Discord, Slack, iMessage, LINE, and WeChat, all from a single REST API. Run paid ads on Meta (Facebook + Instagram), Google,

    TikTok, LinkedIn, Pinterest, X, OpenAI, Reddit, Microsoft, Amazon, The Trade Desk, and Snapchat from the same account.


    Connect Shopify, WordPress and Wix as blog accounts to list sites and manage

    articles, drafts, featured images, tags, authors, and native scheduling.


    Key features: Unified posting and messaging across 18 platforms, ads management on 12 ad networks (via /v1/ads), aggregated analytics, unified inbox (DMs, comments, reviews), webhooks, OAuth connect, queue scheduling, and white-label support for agencies managing unlimited accounts.


    Supported posting platforms: X, Instagram, WhatsApp, Facebook, LinkedIn, TikTok, YouTube, Pinterest, Bluesky, Threads, Google Business Profile, Telegram, Snapchat, Discord, Slack. Supported ad platforms: Meta Ads, Google Ads, TikTok Ads, LinkedIn Ads, Pinterest Ads, X Ads, OpenAI Ads, Reddit Ads, Microsoft Ads, Amazon Ads, The Trade Desk, Snapchat Ads. AppLovin is not available yet: AppLovin has not given Zernio access to its Campaign Management API, so its connect answers 403 `platform_not_available_yet`. Organic Snapchat posting is a closed beta with no public release date: its connections are gated behind approval and return 403 `PLATFORM_BETA_RESTRICTED` until then (Snapchat Ads is not affected). Organic Reddit is temporarily unavailable: Reddit has blocked third-party apps from its API, so Reddit posting, messages, analytics and the Reddit endpoints return 503 `PLATFORM_DISABLED` until Reddit restores access. Your Reddit accounts stay connected. Reddit Ads is not affected.

    '
  x-category: Social
  x-website: https://zernio.com
  x-thumbnail: https://rapidapi-prod-apis.s3.amazonaws.com/b24d3df5-563c-4a50-9e1e-1ad3eb1fce69.png
  x-version-lifecycle: ACTIVE
  x-badges:
  - name: social media
    value: social media
  - name: scheduling
    value: scheduling
  - name: instagram
    value: instagram
  - name: tiktok
    value: tiktok
  - name: twitter
    value: twitter
  - name: linkedin
    value: linkedin
  - name: facebook
    value: facebook
  - name: youtube
    value: youtube
  - name: social media api
    value: social media api
  - name: posting
    value: posting
servers:
- url: https://zernio.com/api
  description: Production
- url: http://localhost:3000/api
  description: Local
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (1047 KB total) ---
# Full source: https://artifacts.apis.io/zernio-com/openapi/zernio-com-ad-campaigns-api-openapi.yml