---
title: "Reserve reach-frequency inventory"
method: POST
path: "/v1/ads/rf-predictions/{predictionId}/reserve"
tags: ["Reach and Frequency"]
---

# Reserve reach-frequency inventory

`POST /v1/ads/rf-predictions/{predictionId}/reserve`

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.

## Path parameters

- `predictionId` string, required

## Request body

- object
  - `accountId` string, required
  - `adAccountId` string, required

## Response `201`

Reserved; `prediction.predictionId` is the new RESERVED id

- object
  - `adAccountId` string
  - `prediction` RfPrediction — A Meta Reach & Frequency prediction. Money values in whole units of the ad account currency.
    - `predictionId` string
    - `status` string — ready | pending | failed:<meta code>
    - `budget` number, nullable — Quoted (or provided) lifetime budget for the window.
    - `reach` integer, nullable — Predicted (or requested) unique reach.
    - `impressions` integer, nullable
    - `minBudget` number, nullable — Meta's allowed lower bound for this spec.
    - `maxBudget` number, nullable
    - `minReach` integer, nullable
    - `maxReach` integer, nullable
    - `frequencyCap` integer, nullable
    - `startTime` integer, nullable — Unix seconds; the reserved window the R&F ad set will run on.
    - `stopTime` integer, nullable
    - `expiresAt` string, nullable — When the reservation's locked price expires (set after reserving).

## Other responses

- `400` — Invalid input, or Meta rejected the reserve
- `401` — Unauthorized
- `404` — The account or requested resource was not found or is not accessible. An account ID may have been disconnected and removed. Read GET /v1/accounts for current account IDs.
- `409` — The account exists but is inactive or needs reconnection. Reconnect it, then read GET /v1/accounts for its current account ID before retrying. Code: ads_connection_required.
- `501` — Only supported on Meta (facebook/instagram)

## Changes

- **2026-09-16** `3e6ddf2a99ea` — 2 info
  - added the optional property `details/budgetScope` to the response with the `404` status
  - added the optional property `details/budgetScope` to the response with the `409` status
- **2026-09-15** `0dba7d004d75` — 4 info
  - added the optional property `details/quotaExhausted` to the response with the `404` status
  - added the optional property `details/quotaExhausted` to the response with the `409` status
  - added the optional property `details/quotaScope` to the response with the `404` status
  - added the optional property `details/quotaScope` to the response with the `409` status
- **2026-09-10** `e70ed06e7150` — 2 info
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/ads/rf-predictions/:predictionId/reserve/post.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/fdaf9a9fb1a7?raw)
