Skip to main content
Most V3 writes finish inside the call. Some do not: a retry after a lost response, a proposal round that is still contacting sellers, or a buy a seller is still moderating. V3 reports each of these through a typed result you read again, not through one shared task queue. This page says which mechanism applies and what to do next.

Write receipts

Send an Idempotency-Key header with every V3 HTTP write. When a write is still in flight or its outcome is uncertain, retrying the same operation, key and body returns 202 Accepted with a Retry-After header. Every 202 carries data.receipt: an opaque ID, the operation, a state, a state version, a change time and a pendingReason. Poll that exact receipt with the same credential and account scope:
Use pendingReason to decide whether to wait, inspect the affected resource or follow the ordinary recovery guidance. A terminal receipt records that the write succeeded or failed. To get the typed result of the write, replay the original keyed write. The V3 HTTP API page has the full retry rules, including how long a completed receipt is kept.

Proposal rounds

request_proposals is normally running while background work contacts the sellers eligible for the buyer. Retry the same call with the same key until its status is complete, partial or failed. A seller has 90 seconds to answer or to acknowledge the brief, and a seller that acknowledges in time has up to 5 minutes from the start of its attempt to finish, so a round can stay running for about 5 minutes. A buyer can have only one running proposal round at a time. The tool reference lists each seller outcome and reason code.

Read the resource

For a media buy, get with kind: "media_buy" returns the current status and, when the buy is waiting, a pendingReason. The media buy lifecycle page defines each status and says who owns the next move. Poll the read at a modest interval, and prefer a webhook (below) when one fits.

Webhooks

A V3 webhook is a signed prompt to make a read, not a copy of the resource. Register an endpoint, then subscribe with save_notification_config and an eventSubscription. The events that announce a media buy change are media_buy.status_changed, media_buy.budget_changed, media_buy.flight_changed, media_buy.creative_changed, media_buy.targeting_changed and media_buy.object_discovered; each names the read to repair from. Verification, retries and the full event catalog are on the webhook endpoints page.

The AdCP task envelope

When your agent calls an Apostra storefront directly over AdCP, for example create_media_buy, a seller that accepts asynchronously answers with a submitted task envelope that carries a task_id. Resolve it with the AdCP tasks_get operation on the same agent, or register a push_notification_config on the original call so the platform delivers the completion to your webhook. submitted and working mean keep waiting; the task ends completed, input-required or failed. A task_id is not a media_buy_id: do not treat the buy as live until the task completes. The media buy lifecycle page has the full envelope and what each terminal state means. V3 tool results do not carry an AdCP task_id; a V3 caller follows receipts, proposal rounds, reads and webhooks as above.