OverviewProductsPlatformsAPI ReferenceResources
Campaigns and Ads

Dismiss an ads alert

POSThttps://zernio.com/api/v1/ads/alerts/{alertId}/dismiss

Hides an alert from GET /v1/ads/alerts for 30 days for the calling user. If the problem is still there after that, the alert comes back.

PlatformsMetaGoogleTikTokLinkedInPinterestXReddit

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

alertIdstring, max 200Required

The id of an alert from GET /v1/ads/alerts.

Responses

Success· the request worked

Errors· the request failed

Create a shared budget

Creates a daily Google Ads budget that several campaigns can share. Creates a daily shared campaign budget (`explicitly_shared: true`, standard delivery) that several campaigns can draw from. A lifetime budget returns 422, like every Google budget. Google refuses some bidding strategies on a shared budget; that error surfaces when a campaign is moved onto it.

Read the platform's review verdict for an ad

Shows whether the platform approved an ad, where it may not deliver, and every rejection reason, without re-enabling a paused ad. It reads the ad's review verdict from the platform now, including every rejection reason with TikTok's suggestion and the piece of content it refers to. It is read-only, so it works on a paused ad without re-enabling it. Supported on TikTok, Google and Meta. Other platforms return 501. ### Google Reads `ad_group_ad.policy_summary` live. `approvalStatus` and `reviewStatus` are Google's verbatim: - `approvalStatus`: APPROVED, APPROVED_LIMITED, AREA_OF_INTEREST_ONLY, DISAPPROVED, UNKNOWN. - `reviewStatus`: REVIEW_IN_PROGRESS, REVIEWED, UNDER_APPEAL, ELIGIBLE_MAY_SERVE. - `approved`: true for the three approved statuses, false for DISAPPROVED, null otherwise. `policyTopics` carries every policy topic entry with its `type` (PROHIBITED, LIMITED, ...) and Google's `evidences` and `constraints` verbatim. Each PROHIBITED topic is also listed in `rejections` (reason = the topic). The `forbidden*` arrays are TikTok-only and always empty on Google. ### Meta (Facebook and Instagram ads) Reads the Ad's `ad_review_feedback`, `effective_status` and `issues_info` live. - `reviewStatus`: Meta's `effective_status` verbatim (ACTIVE, PAUSED, PENDING_REVIEW, DISAPPROVED, PREAPPROVED, WITH_ISSUES, IN_PROCESS, ...). - `approved`: true for ACTIVE and PREAPPROVED, false for DISAPPROVED, null otherwise. - `reviewFeedback`: Meta's feedback verbatim, as `global` (reason -> explanation) and `placementSpecific` (placement -> reason -> explanation). - `issues`: Meta's `issues_info` verbatim. Each global reason is listed in `rejections`, and so is each placement-specific reason, with that placement in its `forbiddenPlacements`. The review's `forbiddenPlacements` lists every placement with feedback. `forbiddenAges`, `forbiddenLocations` and `forbiddenOperatingSystems` are always empty on Meta. When Meta returns no feedback (usually an ad in review or approved everywhere), the status comes back with empty `rejections` and empty `reviewFeedback` maps. An ACTIVE ad rejected on one placement still carries that placement's feedback. The `effective_status` read is also stored on the ad, so `GET /v1/ads/{adId}` returns it next. A deleted ad answers 404. ### Meta ads that are not synced yet Pass `accountId` with a Meta platform ad id that is not in Zernio's store to read its review live through that connection. The response then has `adId: null`, `synced: false`, and nothing is stored. Synced ads answer `synced: true`. ### TikTok TikTok uses `/ad/review_info/`. Use it alongside the ad's `platformStatus`: - `AD_STATUS_AUDIT`: the ad is in review (maps to `status: pending_review`). - `AD_STATUS_AD_PRE_ONLINE`: it passed and is about to deliver (also maps to `status: pending_review`). - `AD_STATUS_AUDIT_DENY`: maps to `rejected`.

POST/v1/ads/alerts/{alertId}/dismiss
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adcampaigns.dismissAdsAlert({  path: {    alertId: 'alert_abc123',  },});console.log(data);
{  "id": "string",  "dismissed": true,  "dismissedUntil": "2019-08-24T14:15:22Z"}
OpenAPI specification
Was this page helpful?