Zernio
APIFor you
Zernio
APIFor you
API Reference

Reach & Frequency

Create reach-frequency predictionPOSTGet reach-frequency predictionGETCancel reach-frequency bookingDELETEReserve reach-frequency inventoryPOST
Dashboard
OverviewPlatformsAPI ReferenceResources
Reach & Frequency

Cancel reach-frequency booking

Cancels a Meta reach and frequency reservation, releasing its locked price and inventory.

Unreserved predictions expire on their own.


PlatformsMeta
DELETE
/v1/ads/rf-predictions/{predictionId}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

predictionId*string

Query Parameters

accountId*string
adAccountId*string

Response Body

application/json

application/json

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.reachandfrequency.cancelRfReservation({  path: {    predictionId: 'prediction_abc123',  },  query: {    accountId: 'account_abc123',    adAccountId: 'adaccount_abc123',  },});console.log(data);
Empty
Was this page helpful?

Get reach-frequency prediction

Shows a Meta reach and frequency prediction, with its estimate and status.

Reserve reach-frequency inventory

Locks the quoted price and inventory of a Meta reach and frequency prediction so you can launch a campaign on it. Locks the quoted price + inventory until the returned `expiresAt` and mints a NEW prediction id. Pass that RESERVED id (not the original) as `rfPredictionId` on POST /v1/ads/create. Release an unused reservation via DELETE.