Skip to main content
Your storefront draws inventory from one or more inventory sources. The source type depends on what you already run and which system books and reports the buys. This page helps you pick one. Each type has its own page for the detail.
On a Storefront account, buyers call your storefront and the agent Apostra hosts answers them. An external sales agent source is a separate AdCP agent you connected as upstream supply, and buyers never see your sources. On a Listing account there is no hosted agent: your own sales agent is how buyers reach you. See How you sell.

Decision table

Start from what you operate today.

The five source types

Ad-server connection

Pick this when you own an ad server Apostra connects and want to sell its inventory through your storefront. Apostra reads the ad server’s existing ad units, placements and products, and buyers transact against your storefront. An agent starts the connection with save_inventory_source and only adServer, which opens a form where you enter the ad server’s details and credentials. Credentials never pass through chat.

External sales agent

Pick this when you already run an AdCP sales agent, or want to sell through a certified partner’s agent. You connect an agent by its agentId, never by an address alone. Find agents with search({ "kind": "agent" }): a row with relationship: "own" is an agent your organization owns, and partner is a partner’s shared agent. Sending save_inventory_source with only that agentId opens the connection form. An external sales agent source can offer products in two ways, and an agent that supports both offers both. The connected agent declares which. Agent-supplied means the agent answers buyer briefs and returns complete products. Storefront-built means Apostra reads the agent’s raw products and components and composes the products your buyers see. Source diagnostics explains how Apostra reads each path, including the AdCP version it needs for the Storefront-built path, and how to diagnose a source that is not working.

Linked storefront

Pick this when another storefront listed on Apostra should supply wholesale products to yours. Your storefront forwards buyer briefs to the partner, and the partner approves each account you open with it. Linked storefronts are in a pilot for storefronts Apostra has enabled. Anyone else who links or activates one is refused with FEATURE_NOT_ENABLED. See Link a partner storefront for how to link, activate and keep a margin.

Modular source

Pick this when your inventory and execution do not come from one compliant sales agent. A modular source is composed from modules such as an avails feed, a booking ledger, trafficking, status sync and reporting import, and it presents one buyer-facing surface. For example, a publisher sends a periodic avails file, confirms bookings by hand and uploads delivery reports after the campaign ends. A modular source books a live buy only once it has an execution (trafficking) module. Adding an ad-server module to a modular source is a change to that source, not a reason to add a second source. Add another source only for a distinct inventory, authorization or operating boundary. Custom modular sources are part of the Premium and Enterprise plans.

Storefront adapter

A storefront adapter is a hosted integration with a supported expert provider. Apostra routes the whole storefront through it, and Apostra sets it up. There is no save_inventory_source input that creates one, and it is separate from an external AdCP sales agent, which is upstream supply behind your storefront. Its source carries isAdapterSource: true and appears in the app as an ad-server connection; see Reading an inventory source. Which of booking, creative and reporting an adapter automates depends on the provider.

Still unsure?

  • You operate an ad server Apostra connects and want to sell its inventory: ad-server connection.
  • You have an AdCP sales agent, or sell through a partner’s: external sales agent.
  • You want wholesale supply from another listed storefront: linked storefront, if your storefront is in the pilot.
  • Your supply is stitched together from feeds and manual steps: modular source.
  • Apostra already routes your storefront through an expert provider: storefront adapter.

Add a source

An agent starts each connection with save_inventory_source: adServer for an ad server, agentId for a sales agent, or name with feedSource for a modular source. A person completes the credential step in the form it opens. In the app, Seller Setup shows Add your first inventory source on a new storefront and a Connect menu with Ad server, Sales agent and, when your plan includes it, Modular source. A storefront can hold several sources, with limits that depend on whether it composes products from them; see One storefront agent, or inventory agents.

Modular inventory source lifecycle

Compose a source from avails, booking, and reporting modules

Source diagnostics

Read a source’s health and product paths

Glossary

Ad Server vs Sales Agent, side by side