OverviewProductsPlatformsAPI ReferenceResources
Reach & Frequency

Get reach-frequency prediction

GEThttps://zernio.com/api/v1/ads/rf-predictions/{predictionId}

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

PlatformsMeta

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

predictionIdstringRequired

Query parameters

accountIdstringRequired
adAccountIdstringRequired

Responses

Success· the request worked

Errors· the request failed

GET/v1/ads/rf-predictions/{predictionId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.reachandfrequency.getRfPrediction({  path: {    predictionId: 'prediction_abc123',  },  query: {    accountId: 'account_abc123',    adAccountId: 'adaccount_abc123',  },});console.log(data);
{  "adAccountId": "string",  "currency": "string",  "prediction": {    "predictionId": "string",    "status": "string",    "budget": 0,    "reach": 0,    "impressions": 0,    "minBudget": 0,    "maxBudget": 0,    "minReach": 0,    "maxReach": 0,    "frequencyCap": 0,    "startTime": 0,    "stopTime": 0,    "expiresAt": "string"  }}
OpenAPI specification
Was this page helpful?