> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apostra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Modular inventory source lifecycle

> The modules and lifecycle stages of a modular inventory source, the avails feed it takes, how to read its readiness, and the human work it opens.

A **modular inventory source** is an operator-managed source composed from smaller modules: an inventory feed, an optional booking ledger, optional execution modules, and optional human work queues. The storefront still presents one buyer-facing sales-agent surface. The modules describe how that source gets inventory, prevents overbooking, books upstream supply, traffics campaigns, syncs creatives, and imports reporting.

Use a modular source when inventory and execution do not come from one fully compliant upstream sales agent. For example, a publisher may send a periodic avails spreadsheet, confirm bookings manually, traffic a campaign in an addressable TV system, and upload the final delivery report after the campaign ends.

> [!NOTE]
>
> Seller operators run a modular source. Buyer agents do not operate it directly. Buyers still transact through your storefront's AdCP media-buy workflow.

> [!WARNING]
>
> **Custom modular sources** are included with Premium and Enterprise through the Merchandising profile. Basic does not include custom composition. Standard managed integrations are included with every seller plan and do not require separate access. The stable internal feature key is `modular-sources`; customer-facing surfaces display **Custom modular sources**. Existing buyer fulfillment and source runtime operations continue after a downgrade to Basic. The restriction applies to new custom composition, module attachment, and demo resets that replace the source composition. Without Custom modular sources, agents connected to `/mcp/v3` are not offered the custom modular source tools or their setup screens. See [Modular source Pages](https://docs.apostra.com/v3/seller-modular-source-pages.md#availability).

You add a modular source, check its readiness and commit its avails in three Pages
that open with `open_page`: `modular_source_setup`, `modular_inventory_source` and
`modular_inventory_feed`. The Pages, what each one does, and the V3 reads and
saves that work without a Page are in [Modular source Pages](https://docs.apostra.com/v3/seller-modular-source-pages.md).
This page explains the source itself: its modules, its lifecycle stages, the
avails feed it takes, and the human work it opens.

## When to use a modular source

Set up your storefront first, then decide which source type each inventory
system should become:

| Source type | Use it when |
| - | - |
| External sales agent | The vendor already runs a compliant AdCP sales agent that buyers can use through your storefront. |
| Ad-server-backed source | Apostra has a managed integration for your ad server, such as GAM, FreeWheel, SpringServe, or AdsWizz. Connecting these managed adapters is included and has no source-count limit. See [Connecting an ad server](https://docs.apostra.com/v3/seller-connect-ad-server.md). |
| Linked storefront | Another Apostra storefront should supply products or execution. |
| Modular source | Inventory, booking, creative, trafficking, and reporting live in different systems or human workflows. |

A modular source is the right pilot shape when the seller can provide a feed of
wholesale inventory but cannot yet expose the whole lifecycle through one
upstream API.

> [card] [Open the fictional publisher test pack](https://docs.apostra.com/v2/setup/publisher-onboarding-example-pack.md)
>
> Copy complete CTV and display feeds, storefront materials, operating evidence,
> and a machine-graded buyer-brief corpus. Every property, format, price, and
> date is synthetic.

A manual or back-office source is modular because no single system can answer
the complete AdCP workflow. A spreadsheet may describe what can be sold, an OMS
may record the booking, an ad server may execute it, and a person may move the
creative or final report between them. Modeling those responsibilities as
modules makes every supported and human-owned step explicit without claiming
automation that is not connected.

Replacing one module with an integration is different from replacing the whole
modular source with an external AdCP sales agent. A whole-source replacement
changes the publisher authorization target: before the seller depends on the
replacement inventory, each publisher authorizes the external agent's URL in
its own `adagents.json`. The modular source does not retroactively become an
Apostra authorization case. See [Changing from a modular source to an
external agent](https://docs.apostra.com/v3/identity-documents.md#changing-from-a-modular-source-to-an-external-agent).

## Modules

Each module owns one part of the lifecycle. A source can start with manual
modules and later replace a step with an automated integration.

| Module | Purpose | Typical input |
| - | - | - |
| Inventory feed | Ingest wholesale avails and project buyer-facing products. | CSV, XLSX, or XLS file upload, or JSON. |
| Booking ledger | Hold and book capacity so the storefront does not overbook what it controls. | Reserved and booked impressions keyed by `availId` and media-buy id. |
| Booking execution | Confirm the upstream booking in an OMS, ad server, or human queue. | OMS API details, booking owner, or required human task fields. |
| Creative sync | Map accepted buyer creative to the upstream system before go-live. | Creative specs, approval owner, and upstream creative reference. |
| Trafficking | Push or manually enter campaign details in the execution system. | Campaign name, advertiser, dates, products, budget, creative refs. |
| Reporting import | Bring back final delivery after the campaign ends. | Delivery export with delivered impressions and upstream references. |

Every modular setup must account for these lifecycle responsibilities, even
when the current answer is a named human rather than an integration:

| Responsibility | Decide during setup |
| - | - |
| Catalog and avails | Who supplies current sellable rows, prices, dates, capacity, and stable ids; how often they refresh. |
| Booking and execution | What reserves capacity, what confirms the upstream order, who traffics it, and which event means it is live. |
| Creative | Who validates specifications and approvals, and how buyer creative receives an upstream reference. |
| Reporting | Who exports delivery, which identifiers reconcile it to the booking, and when final data is available. |
| Readiness | Which required modules, credentials, runtime inputs, and test results must be complete before this source can sell. |
| Human in the loop (HITL) | Which steps create a work item, who owns it, what evidence completes it, and how quickly it must be handled. |

Read a stage across four separate axes: **execution mode** (automated, human,
or hybrid), **configuration** (whether its module and credentials are set up),
**runtime input** (whether this transaction has supplied what the stage needs),
and **declared capability** (whether the source supports the operation at all).
Human ownership does not by itself mean setup is missing. A configured manual
stage can be ready for transactions while a particular media buy still creates
seller-owned work. Conversely, an unsupported capability is not a task and
requires no action until the source composition changes.

Open manual booking, creative-sync, and final-reporting work appears both in
the source workspace and in **Pending Operations**. Both surfaces use the same
buyer-customer, media-buy, source, and work-item identifiers; opening a Pending Operations row
focuses that exact work item. A blocked item remains seller-owned but says
**No action now** until its prerequisite clears.

The CitrusAd pilot is a **standard composition**, so sellers connect it as an
ad server rather than assembling modules. It uses a retailer-namespace catalog
module and a campaign-execution module behind one inventory source. It is a
standard managed integration included with every seller plan. The storefront
remains in `CHEF` routing mode; buyers see the storefront, not a CitrusAd
adapter or the private module graph.

The first recipe supports sponsored-product campaigns. Their creative is
rendered from retailer catalog data, so creative sync completes without an
asset upload. CitrusAd also offers static banners and Banner X, but those are
not exposed by this recipe until separate banner campaign and creative APIs are
implemented and verified.

Storefront-level approval policies still apply outside the modular source. For
example, advertiser approval and creative review can happen before a modular
source asks a human to map the approved creative into an upstream ad server.

## Seller setup checklist

Send the [publisher onboarding starter
kit](https://docs.apostra.com/v2/setup/publisher-onboarding-starter-kit.md) before setup. It is the
reusable evidence checklist for identity, properties, inventory, pricing,
avails, booking, creative, trafficking, reporting, and recurring ownership.
It also includes `static-avails-feed:v1` compatibility CSV and JSON templates and
explains which evidence is needed for each readiness milestone.

Ask the seller for what they already have and request only the gaps. Media kits,
co-viewing studies, market-size notes, and screenshots remain useful context,
but they are not avails feeds unless they contain row-level sellable capacity
for a specific inventory scope and time window.

## What setting up a source does and does not ask

* **Creating a source does not ask how you book, traffic, clear creative, or
  report.** Those are derived per lifecycle stage from the modules attached to
  the source, and shown in its readiness. See
  [Check readiness](https://docs.apostra.com/v3/seller-modular-source-lifecycle.md#1-check-readiness). Every modular source starts with an
  avails-feed module and Apostra's booking ledger.
* **Nothing is offered to buyers until avails rows are committed.** A source with
  no committed rows is registered but has no sellable capacity.

## Preview buyer discovery from one source (read-only)

When **Get products** is **Ready** in the **Modular inventory source**
workspace, select **Open read-only discovery preview**. In the **Read-only
source discovery preview** Task, enter a representative buyer brief and select
**Run read-only preview**.
The Task shows only products that source would return through your storefront.

The preview rechecks that the source is active and **Get products** is still
**Ready** when you run it. If either check fails, the Task stops and asks you to
finish the source setup. It never includes products from another inventory
source.

The Task records the preview decision for later review. It does not create a
media buy, change live products or source setup, or turn on transacting. Brief
tests started outside a source workspace remain storefront-wide.

## Run a no-spend campaign test for one source

After the read-only preview returns the products you expect, ask Apostra to plan
a no-spend test campaign for that modular source. The plan stays scoped to the
selected source and reads its current lifecycle, booking ledger and committed
product projection. Planning creates nothing, and the confirmed run uses debug
execution so it cannot spend. What it needs and what it does not do are in
[Plan a no-spend campaign test](https://docs.apostra.com/v3/seller-modular-source-pages.md#plan-a-no-spend-campaign-test).

Use **Agent validation** or **Source diagnostics** for external sales agents and
managed ad-server sources. The source-scoped preview and no-spend campaign
workflow here apply only to modular inventory sources.

## Sandbox advertiser buys are not sent to the provider

A media buy from a sandbox advertiser is not sent to the provider behind a
modular inventory source. This includes your own sandbox advertiser buying from
your own storefront. External sales agents are not covered here.
[Linked storefronts](https://docs.apostra.com/v2/storefront/go-live-test.md#linked-partner-products) are.

When the source is connected to a provider's campaign system, such as Epsilon
Retail Media or FreeWheel automatic execution, Apostra saves the buy in your
account and does not send it. The buy succeeds and shows as a sandbox campaign
waiting to start. No campaign is created at the provider, no inventory is
reserved, no task is added for your team, and nothing is charged. Apostra
decides this on the server from the advertiser's sandbox status, not from
anything the buyer's request says.

* **It counts as a transaction.** The saved buy is the transaction the go-live
  check looks for, so it clears **Successful transaction** without contacting
  the provider.
* **It has no delivery or reporting.** It shows as complete once its end date
  passes. Cancelling it takes effect immediately in Apostra.
* **Editing is not supported.** Cancel the buy and create a new one.
* **It does not test the provider connection.** Apostra creates no campaign at
  the provider, so the buy does not prove your credentials can create one. To
  test that, use the provider's own sandbox or test account.

A buy that waits for your approval is judged when it is queued: Apostra records
its sandbox status then, so approving it later still saves it without sending
it. If the status cannot be confirmed, the buy is not queued and the buyer
retries. Buys already waiting before this change are judged when you approve them.

A source where your team books by hand (manual campaign execution) still
reserves a sandbox buy against your own booking records. Apostra's own no-spend
test source and Demo Storefronts work as before.

## Optional ad-server automation

Attaching ad-server automation to a modular source automates a lifecycle stage
for that same inventory and operating boundary. It does not create another
source. Add a parallel source only when it represents distinct inventory,
authorization, or operational ownership—not merely because trafficking moves
from a human workflow to an integration.

## Avails feed requirements

The first successful upload should be boring: one row per sellable line, with
stable ids and clear capacity semantics.

Required columns:

> [!WARNING]
>
> The current `static-avails-feed:v1` parser is a production compatibility path,
> not the target Inventory Feed schema. Its exact `collectionId`,
> `collectionName`, and `collectionDescription` names are legacy
> grouping/container fields. Their values do not establish AdCP Collection
> identity. Do not model a monthly pool, placement, channel, or portfolio as an
> AdCP Collection to make a row fit.

| Column | Meaning |
| - | - |
| `collectionId` | **Legacy field name.** Stable seller-side id for the static-v1 compatibility grouping/container; not AdCP Collection identity. |
| `collectionName` | **Legacy field name.** Seller-facing label for that compatibility grouping/container. |
| `formatOptions` | Non-empty URL-free AdCP declarations for the inventory represented by the compatibility grouping, using `format_kind` and canonical `params`. Provide a stable `format_option_id` when possible. Omit `publisher_domain` for product-local formats; if their option id is also omitted, Apostra derives a deterministic id from the canonical declaration. |
| `publisherProperties` | Non-empty AdCP Property selectors for the inventory represented by the compatibility grouping. |
| `availId` | Stable seller-side id for this availability row. If missing, Apostra can derive one, but explicit ids are better. |
| `name` | Seller-facing row name. |
| `startTime` | ISO date or date-time for the availability window start. |
| `endTime` | ISO date or date-time for the availability window end. |
| `impressionsCapacity` | Net sellable impressions available to this storefront. |

Optional columns:

| Column | Meaning |
| - | - |
| `cpm`, `rateCpm`, or `priceCpm` | CPM for this row. |
| `currency` | ISO currency code. |
| `channel` or `mediaChannel` | The AdCP media channel this row sells, such as `display`, `olv`, `ctv`, `linear_tv`, `streaming_audio`, or `podcast`. See [Channels on every row](https://docs.apostra.com/v3/seller-modular-source-lifecycle.md#channels-on-every-row). It never determines creative format. |
| `targeting` | JSON object with structured targeting facts. |
| `sourceMetadata`, `source_metadata`, or `metadata` | JSON object with source details. |
| Any other column | Preserved as source metadata when possible. |

> [!WARNING]
>
> The current modular avails-feed contract is impression-based: it requires
> `impressionsCapacity` and can carry an optional CPM. It does not yet represent
> click/engagement pricing, a whole-flight flat rate, or time-based sponsorship
> pricing. Do not convert those commercial models into invented impressions or
> CPMs. Keep the original rate and capacity semantics in the source material and
> ask Apostra to add the missing contract support before committing those rows as
> sellable avails.

If the seller only has gross capacity, include one of `avails`, `impressions`,
`monthlyAvails`, `monthlyVideoAvails`, or `monthlyHomeScreenAvails`, plus
`bookedImpressions`, `upstreamBookedImpressions`, `booked`, or
`reservedImpressions`. Preview will calculate net capacity as:

```text theme={null}
impressionsCapacity = max(0, gross capacity - upstream booked capacity)
```

If upstream booked capacity exceeds gross capacity, preview rejects the row
instead of silently clamping it to zero.

Upload CSV, XLS, or XLSX files in the **Commit avails feed** Page, or send JSON.
Pasted CSV text can parse tab-delimited text, but `.tsv` is not a supported
file-upload format, so convert it to CSV first.
Impression-count fields can use plain numbers or common suffixes such as `150m`,
`25 million`, or `1.5B`. Money fields such as CPM must use an ordinary monetary
number; a magnitude suffix such as `5m` is rejected.

```csv theme={null}
collectionId,collectionName,availId,name,startTime,endTime,impressionsCapacity,channel,formatOptions,publisherProperties,cpm,currency
compat-publisher-ctv-group,Legacy group: Publisher CTV,publisher-ctv-2030-01,CTV January,2030-01-01,2030-02-01,150000000,CTV,"[{""format_option_id"":""ctv-vast-30"",""format_kind"":""video_vast"",""params"":{""duration_ms_exact"":30000}}]","[{""selection_type"":""all"",""publisher_domain"":""publisher.example""}]",24.00,USD
```

Copy the `static-avails-feed:v1` compatibility CSV or JSON template from the
[inventory source input guide](https://docs.apostra.com/v2/setup/publisher-onboarding-starter-kit.md#static-avails-feedv1-compatibility-templates).

## Apostra walkthrough

Apostra should not force a seller into a blank template. A good setup conversation
looks like this:

1. Ask the seller to upload what they have: deck, media kit, rate card,
   publisher list, avails export, booking export, creative specs, reporting
   export, or screenshots.
2. Classify the material. Keep market context as context; do not commit it as
   avails.
3. Ask for missing row-level avails if the seller only supplied market scale.
4. Create the modular source only after the operator confirms the
   source name and lifecycle plan.
5. Preview the feed. Show normalized rows and whether capacity is net or
   gross-minus-booked.
6. Commit only after explicit confirmation.
7. Route unsupported integrations or missing systems into the normal Apostra
   escalation flow so the need is tracked centrally.

For example, a note that says "150 million monthly video avails and 1.5 billion
home-screen avails" is not enough to launch. Apostra should ask for actual rows
with stable inventory-scope and availability ids, dates, net capacity or booked
counts, pricing, and reporting/booking ownership. The legacy static-v1
grouping fields do not turn those pools into AdCP Collections.

### Drafting rows from facts you confirm

Drafting is different from inventing, and the boundary is who states the
sellable facts. When you have uploaded your own media kit or rate card, Apostra
may assemble the feed rows for you rather than asking you to produce a CSV:
placement names, formats, and rate-card prices may be seeded from your own
document, but **net sellable capacity, the availability window, and the row
grain must come from you, stated in the conversation** — Apostra never estimates
them, and reach or scale claims in a document are never converted into
capacity. Every draft is previewed back to you as normalized rows first, and
committing the feed — putting rows on sale — always requires your explicit
confirmation on a server-enforced control, whether the rows were drafted,
pasted, or uploaded. If you can't state capacity or windows yet, Apostra asks
for your actual avails export instead. (Conversational drafting is rolling
out and may not yet be enabled for your account; the confirmation control on
feed commits applies to every account.)

## 1. Check readiness

Read a source's readiness with
`get({ "kind": "inventory_source", "id": "SOURCE_ID", "include": ["modularReadiness"] })`,
or open the `modular_inventory_source` Page. The projection includes
`lifecycleSummary`, one row per stage:

| Status | Meaning |
| - | - |
| `UNSUPPORTED` | Every attached module declared what it covers, and none of them implements this stage. Attach a module of the kind that runs it. |
| `NOT_DECLARED` | A module that could run this stage is attached, but we could not read what it does — so whether it runs the stage is unknown, not absent. The stage's `issues` name that module, and `modes` is empty because nothing declared how the stage operates. This is not a setup gap and there is nothing to configure: a module we cannot read is ours to fix. Tell Apostra if a stage you depend on reads this way. |
| `MISSING_SETUP` | A module supports the stage, but required module config is missing. |
| `RUNTIME_INPUTS_REQUIRED` | Setup is complete, but the stage needs runtime input such as an avails feed, creative, or report upload. |
| `HITL_PENDING` | A human work item is open for this stage. |
| `READY` | The stage has enough setup and runtime inputs for the current source state. |
| `BLOCKED` | A module has an error or source-health issue that needs operator attention. |

`activeAvailCount` tells you whether the source currently has usable avails. Rows
whose `endTime` has passed do not count as active and are not projected as
sellable products. `openWorkItemCountsByKind` tells you what human queue is
blocking a module or stage, for example `MAP_CREATIVE_REF` or
`UPLOAD_FINAL_REPORT`.

The same response includes `catalogMappingReadiness`, a tenant-scoped read
projection for this exact source. It has three stable sections: **Set up
inventory**, **Make it sellable**, and **Prove it**. Each row reports its
requirement, current status, evidence, freshness, source of truth, diagnostics,
external owner when one exists, and one typed next action. `status: null` means
the owning system could not be read, so the row is **Unknown** and never counts
as ready. The top-level `progress` and `nextAction` are the same values Seller
Setup displays; neither surface stores a separate checklist.

Catalog readiness covers the feed and current module contract, Property Roster
authorization and format applicability, components, products, source pricing,
Playbook, AI Business Rules, property-to-decisioning mappings, and source-scoped
brief proof. Booking, creative, trafficking, and reporting stay in the
`lifecycleSummary` pipeline.

## 2. Preview, then commit avails

An inventory-feed module accepts normalized avails. The feed can come from a publisher upload, a pasted CSV/JSON payload, or a file that Apostra has parsed into rows. Apostra previews parsed rows first. Commit the feed only after an operator confirms the normalized rows and confirms `impressionsCapacity` is net sellable capacity.

A preview is row-tolerant: one invalid row does not hide valid rows. The preview
returns normalized accepted rows, invalid source rows, and non-blocking
normalization warnings, with matching counts. Each diagnostic has a stable `code`,
source `rowNumber`, safe `message`, and `field` when the field is known.
`rowNumber` is the one-based data-row ordinal after excluding the header, so CSV
data row 1 is file line 2. For JSON, it is the one-based position in the avails
array. The commit sends only the accepted rows, after you confirm. Rejected rows
and warnings are never committed.

> [!WARNING]
>
> A commit is an upsert patch keyed by `availId`, not a full-feed replacement.
> Rows omitted from a later file remain unchanged, and a rejected update does not
> retire the last committed version of that row. Resolve every rejected row before
> committing a complete refresh. There is currently no omission-as-delete or
> per-row archive operation: archive the source or let a row expire, and contact
> Apostra when a committed row must be retired early.

Current row diagnostic codes are `REQUIRED_FIELD_MISSING`, `INVALID_DATE_TIME`,
`INVALID_NUMBER`, `INVALID_CURRENCY`, `INVALID_CANONICAL_FORMATS`,
`INVALID_PUBLISHER_PROPERTIES`, `GROSS_CAPACITY_NORMALIZED`,
`GROSS_CAPACITY_ASSUMED_NET`, `INVALID_CHANNEL`, and `CHANNEL_MISSING`, plus the
`CATALOG_*` Property Roster resolution codes published by the
`static-avails-feed:v1` profile. The two gross-capacity codes are warnings:
preview either subtracted upstream-booked impressions from gross capacity, or
found no booked input and treated the gross-capacity field as net pending
operator confirmation. Warnings explain normalization only; they never make an
otherwise ineligible row committable.

### Channels on every row

Every row declares the AdCP media channel it sells, in a `channel` column or
through `defaultChannel` on a JSON preview request. Buyers filter discovery,
route proposal requests, and report delivery by channel, so a product built
from a row without one is invisible to all three.

* Use an AdCP channel code: `display`, `olv`, `social`, `search`, `ctv`,
  `linear_tv`, `radio`, `streaming_audio`, `podcast`, `dooh`, `ooh`, `print`,
  `cinema`, `email`, `gaming`, `retail_media`, `influencer`, `affiliate`,
  `product_placement`, or `sponsored_intelligence`. Case, spaces, and hyphens
  are ignored, so `CTV` and `Connected TV` are read as `ctv`. The legacy codes
  `audio`, `video`, and `connected_tv` are accepted and stored as
  `streaming_audio`, `olv`, and `ctv`.
* A row whose channel is not an AdCP channel code, such as `broadcast` or
  `home screen`, is always rejected with `INVALID_CHANNEL`. Choose the AdCP
  channel that describes how the inventory is delivered: broadcast television
  is `linear_tv`, and a connected-TV home screen is `ctv`.
* From October 8, 2026, a row without a channel, and with no default channel
  on the request, is refused with `CHANNEL_MISSING`. Until then it is accepted
  with a `CHANNEL_MISSING` warning. This is the same requirement as
  [channels on created products](https://docs.apostra.com/v3/seller-product-creation.md#make-a-product-ready-for-proposals).

Rows already committed keep working. A committed row whose channel is not an
AdCP code is shown with no channel until you upload it again with one.

Formats and Properties are attached to the static-v1 compatibility grouping
rather than one availability window. Supply `formatOptions` and
`publisherProperties` on each row, or send `defaultFormatOptions` and
`defaultPublisherProperties` alongside a JSON preview request. Spreadsheet
cells use JSON-encoded arrays. Every row with the same legacy `collectionId`
field must repeat the same declarations. This attachment does not establish
AdCP Collection identity. The service rejects missing, conflicting, malformed,
or URL-bearing declarations and never infers a format from `channel`.

Every `publisherProperties` declaration resolves against the current tenant's
Property Roster. Publisher authorization and property identity remain required.
A format with `format_kind` and `params`, but no `publisher_domain`, is
product-local. Provide a stable `format_option_id` when possible. If it is
omitted, Apostra derives a deterministic id from the canonical declaration and
persists that normalized id with the accepted row. Reuse the returned id in
later uploads. A product-local format applies across the eligible publisher
properties selected by the row without creating a publisher catalog record or
claiming publisher authority.

Include `publisher_domain` only for a publisher-scoped format. When its
`format_option_id` is provided, the option id, canonical kind, params, and
property applicability must match the named publisher catalog exactly. For
compatibility, the option id may be omitted only when the canonical kind and
params match exactly one entry in that publisher's current catalog and that
entry applies to every selected property. Apostra then persists the resolved
catalog id with the accepted row.

Required catalog proof is an activation gate rather than an authoring gate.
Every structurally valid row remains in the preview response;
`activationReady` and `activationBlockers` distinguish authored rows from rows
eligible to commit. An unauthorized or unavailable publisher, incomplete
Property Roster reconciliation, missing or ambiguous property identity, or an
invalid publisher-scoped format blocks commit. The row is not buyer-visible,
reservable, or traffickable while blocked. Commit repeats the catalog read so a
preview cannot bypass later roster drift. Accepted rows retain their source row
number and scoped property and format identities in server-owned source
metadata.

For a specifically approved pilot, Apostra may grant an expiring exception for
one exact `availId` so a paused Storefront can commit that row and run its
seller-owned no-spend lifecycle test. Preview labels this as test-commit ready,
not activation ready. The exception does not authorize the publisher or satisfy
catalog readiness; ordinary buyer access and activation remain blocked until
the publisher-origin catalog resolves.

A committed feed row has this shape. The Page builds it from your preview, so you
do not send it yourself:

```json theme={null}
{
  "avails": [
    {
      "availId": "sports-week-2026-07",
      "collectionId": "compat-connected-tv-group",
      "collectionName": "Legacy group: Connected TV",
      "formatOptions": [
        {
          "format_option_id": "ctv-vast-30",
          "format_kind": "video_vast",
          "params": { "duration_ms_exact": 30000 }
        }
      ],
      "publisherProperties": [
        {
          "selection_type": "all",
          "publisher_domain": "publisher.example"
        }
      ],
      "name": "Sports week CTV impressions",
      "startTime": "2026-07-01T00:00:00.000Z",
      "endTime": "2026-07-31T23:59:59.000Z",
      "impressionsCapacity": 1500000,
      "cpm": 22,
      "currency": "USD",
      "targeting": {
        "market": "South Africa",
        "screen": "CTV"
      },
      "sourceMetadata": {
        "publisher": "Example Network",
        "upstreamBookedImpressions": 300000
      }
    }
  ]
}
```

Ingestion upserts by `availId`. If an avail already has held or booked impressions, the feed update will not reduce capacity below those commitments.

## 3. Prepare supported execution handoffs

Execution is module-specific. In the current Cadent demo path, the handoff requires an active booking ledger and an active Cadent execution module. It keeps the reservation `HELD`, renders the Cadent campaign XML, and creates source-side work items for trafficking, creative mapping, and reporting. Do not treat the line as upstream-booked until the trafficking step succeeds; completing the `TRAFFIC_TO_CADENT` work item moves the held reservation to `BOOKED`.

For a source that books through a person rather than an execution API, create
the source with `feedSource.execution.mode: "manual"` (see
[Create a source from an agent](https://docs.apostra.com/v3/seller-modular-source-pages.md#create-a-source-from-an-agent)). Apostra attaches the
provider-neutral manual execution module. Finalizing a held booking then opens
three seller work items: `EXECUTE_UPSTREAM_BOOKING`,
`SYNC_UPSTREAM_CREATIVE`, and `UPLOAD_FINAL_REPORT`. Completing them records
the upstream campaign/order/placement ids, creative references, and final
delivery evidence on the booking. Completing `TRAFFIC_TO_CADENT` or
`EXECUTE_UPSTREAM_BOOKING` moves capacity from `HELD` to `BOOKED`; the final
report moves it to `DELIVERED`.

## 4. Work the human queue

Some stages are intentionally human-in-the-loop. Common examples:

| Work item kind | When it appears |
| - | - |
| `CONFIRM_AVAILS` | An operator must confirm or correct incoming avails before products are shown. |
| `MAP_CREATIVE_REF` | A buyer creative needs a broadcast-system creative ID or trafficking reference. |
| `TRAFFIC_TO_CADENT` | A Cadent campaign payload is ready for a human operator to traffic; completing it books the held reservation. |
| `UPLOAD_FINAL_REPORT` | A held booking was finalised and needs a final-report file upload. |
| `RESOLVE_SOURCE_HEALTH` | A module is blocked or misconfigured. |

These work items belong to the inventory source, not the buyer-facing storefront task. The storefront can still expose buyer task status or webhooks while source operators complete the underlying queue.

`RESOLVE_SOURCE_HEALTH` tracks one continuous outage, not one item per failed
check: it opens when the source first goes unhealthy and closes automatically
once the source recovers. Repeated checks update the source's health diagnostics
while the same item remains open instead of raising duplicates. If Apostra later
determines the outage is on our side rather than yours, the item is withdrawn
rather than left open against you.

## Demo profiles and legacy source recipes

The canonical product demo is [Demo Storefront](https://docs.apostra.com/v3/seller-demo-storefront.md).
Its versioned, code-owned profiles compose existing modular contracts and are
clearly labeled synthetic. They do not call or claim to emulate a vendor API.

## Related tasks

> [card] [Modular source Pages](https://docs.apostra.com/v3/seller-modular-source-pages.md)
>
> Add a source, check its readiness and commit an avails feed

> [card] [Prepare inventory source inputs](https://docs.apostra.com/v2/setup/publisher-onboarding-starter-kit.md)
>
> Evidence checklist, templates, recovery steps, and readiness milestones


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.