> ## 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.

# Public profile and Playbook

> The public profile buyers see, what listing it requires, and the Playbook your agent sells from: pricing facts, house discounts and limits. Where each fact lives, how to read and save it, and how a partial save behaves.

There is no separate document for your selling agent. **Selling is what your
agent *does*** for you, not a thing you save. Four places steer it, split by what
kind of fact each one holds:

| Where | Kind | Owns |
| - | - | - |
| Public profile (earlier called the Listing page, the media kit or the Discovery Card) | What buyers see | Resolved name and logo, short description, buyer-visible channels and accepted countries, support and legal links, and optional Advertising Policies |
| Playbook (`playbook`) | How you sell | Value-anchor pricing facts (floor, target and ceiling per condition), brand and operator house discounts off those prices, limits on what your agent may offer, and selling guidance |
| [AI Business Rules](https://docs.apostra.com/v3/ai-business-rules.md) (`business_rules`) | What you accept | Brief Acceptance, Creative Policy, the approval settings, and approval routing |
| [Library](https://docs.apostra.com/v3/seller-library-overview.md) | Your material | Marketing material your agent cites in answers, reusable units, responses, your rate card and Library requests |

**Selling Terms** is retired: structured prices and floors moved to the
Playbook, and approval settings moved to AI Business Rules. **Business Profile**
is compatibility storage, not a page and not your public profile. The deprecated
`get_media_kit` and `save_media_kit` still read and write that legacy Business
Profile, so new clients use `get` with `kind: "seller"` and `save_seller`
instead. Your saved configuration and version history did not move or reset.

Open any of these pages from chat or any MCP Apps host with `open_page`:
`page: "listing"` for the public profile, `page: "playbook"` and
`page: "business_rules"`. `discovery_card` is a deprecated spelling of
`listing`.

## One fact, one owner

Each fact lives in one place, and the others refer to it without restating it:

* A price or floor is a pricing fact (below), and your rate card in the Library
  is where you edit it.
* A brand or operator discount is a house-discount rule.
* What you accept is in AI Business Rules, in your own words.
* Channels, countries and links buyers see are on the public profile.

Selling guidance you give your agent is saved as [Lessons](https://docs.apostra.com/v3/lessons.md). A
lesson that restates a price or a discount does not change it: prices and floors
in your pricing settings always take priority over lessons, and lessons about
pricing or when to decline cannot be approved yet.

> [!TIP]
>
> Starting from a publisher's media kit, rate card, property roster, policy or
> operations exports? Use the [publisher onboarding starter
> kit](https://docs.apostra.com/v2/setup/publisher-onboarding-starter-kit.md) to request the complete
> evidence pack, then put each confirmed fact in the page that owns it.

## Reading the pages

`playbook` and `business_rules` are one per account, so `get` finds them by
`kind` alone. The public profile is not a noun of its own. Read it as part of
your seller:

```json theme={null}
{ "kind": "seller", "include": ["listing"] }
```

```json theme={null}
{ "kind": "playbook", "include": ["versions"] }
```

`include: ["versions"]` adds the version history of the Playbook's earlier
guidance text: an array of `{ version, isActive, notes, createdAt }`, newest
first. It carries no `content`, so a long history stays readable. To read one
past version in full, name it with `{ "kind": "playbook", "version": 2 }`.
For `business_rules`, see
[Read your rules and their history](https://docs.apostra.com/v3/ai-business-rules.md#read-your-rules-and-their-history).

`include: ["discounts"]` adds the Playbook's brand and operator
[house discount](https://docs.apostra.com/v3/seller-profile-and-playbook.md#discounts-are-per-rule-not-a-whole-list) rules. If a read
fails, the key is omitted **and** an `unavailableIncludes` entry names it. "No
discounts are configured" and "the discount read failed" mean opposite things for
what your buyers pay, so the response never lets you confuse them.

## Public profile: what buyers see

Your public profile is what buyer agents and people read about you, on Apostra and
at every Distribution destination. Name, logo, colors and website are resolved
from your verified brand domain and its `brand.json`; link or correct that
identity instead of forking it on the profile. See
[Which domain is which](https://docs.apostra.com/v3/domains.md) and
[Identity documents](https://docs.apostra.com/v3/identity-documents.md).

Save the rest with `save_seller` and its `listing` field:

```json theme={null}
{
  "listing": {
    "description": "Regional lifestyle and news network reaching auto intenders across France.",
    "channels": ["display", "ctv"],
    "countries": ["FR"]
  }
}
```

`listing` also takes `acceptsAllCountries`, a one-line `subtitle`, and the four
links `website`, `supportUrl`, `privacyUrl` and `termsUrl` (each a complete
`https` link; `null` clears one, and a cleared website falls back to the one in
your `brand.json`). The links are shared input for every destination: they appear
on your ChatGPT app listing and the OpenAI plugin package as well as your public
page. `mediaKit` is a deprecated alias for `listing`.

A storefront connected through an external sales agent reads its channels and
countries from that agent's `get_adcp_capabilities`, so they are read-only here.
A missing declaration stays unknown and does not match filtered searches.

The page has four steps, in order: **Identity**, **What you do**, **Listed on
Apostra** and **Public distribution**. [Distribution](https://docs.apostra.com/v3/seller-distribution.md#set-it-up)
walks through them, and [Which domain is which](https://docs.apostra.com/v3/domains.md) covers the address
and verification. Saving a `distribution` change, listing on Apostra or the
public web, and the ChatGPT and Claude destinations are in
[Distribution writes with `save_seller`](https://docs.apostra.com/v3/tool-reference#distribution-writes-with-save_seller).

### Advertising Policies

You choose whether the public profile shows your Brief Acceptance, your Creative
Policy, both or neither. The choice is part of AI Business Rules because that is
where the source text is edited. See
[What buyers can see of your rules](https://docs.apostra.com/v3/ai-business-rules.md#what-buyers-can-see-of-your-rules).

## What listing requires

Listing a storefront is refused until **Identity**, **What you do** and, for each
managed Google Ad Manager source, order approval are complete. The refusal
applies the same way from the Public profile page, the API, an MCP tool and
Apostra's assistant. It applies when a storefront that is not listed yet is
published to Apostra or the public web, and it is decided before a request
reaches an approver. The error names what is missing in plain words:

> Finish your listing before listing it on Apostra or the public web. Still
> needed: Identity (step 1): save your brand website domain; What you do
> (step 2): add a short description, at least one channel, and the countries
> you sell in or worldwide; Ad-server order approval: give the GAM user a role
> that can approve orders (Administrator or a custom role with order approval),
> or add it as an order approver.

The error code is `VALIDATION_ERROR`. Its details carry
`reason: "listing_prerequisites_incomplete"` and `missingSteps`, a list of
`identity`, `what_you_do` and `gam_order_approval_permission`. Each step counts as
complete when:

* **Identity:** the storefront has a saved brand domain. The brand lookup can find
  a brand identity or find nothing; either way the step completes and your public
  profile details are what buyers see. The page keeps the step open only while its
  own lookup is still running or has failed. The server never waits for that
  lookup, so a saved domain is enough for an API call.
* **What you do:** a description, at least one channel, and either at least one
  accepted country or worldwide.
* **Ad-server order approval:** every managed GAM source's user can approve
  orders. If it cannot, give the user the **Administrator** role or a custom role
  with order approval, or add it as an order approver. See
  [Order approval](https://docs.apostra.com/v3/seller-gam-access.md#order-approval).

Unlisting is never refused. A storefront that is already listed stays listed even
if it does not meet these requirements, and republishing or updating it is not
blocked. Moving an already-listed storefront between Apostra and the public web is
not blocked either. Apostra's own first-party listing is exempt.

For an active, unexpired [Demo Storefront](https://docs.apostra.com/v3/seller-demo-storefront.md), only
**Identity** and **What you do** count towards readiness. **Listed on Apostra**
and **Public distribution** stay available but are labelled optional. Choosing
either can change where the synthetic listing appears, but the Demo does not
publish itself or add a paid Distribution package just to show as ready. Expired
and inactive Demos use the ordinary four-step model.

If a durable sync to the storefront fails after the account write succeeds, the
page says so rather than showing a false "saved". Apostra is alerted, and you are
told to retry or contact support.

## Your rate card: how you price

Your **Rate card** document in the
[Library](https://docs.apostra.com/v3/seller-library-overview.md#add-a-rate-card) holds the current seller
prices and packaging terms your agent can use. The Playbook shows those facts
read-only and links to the document to edit them. Keep examples and materials in
the Library, and keep acceptance policy in
[AI Business Rules](https://docs.apostra.com/v3/ai-business-rules.md).

For a product from an external sales agent that states a pricing model and
currency but no cost, a matching Live rate-card row can establish the wholesale
cost with a positive `floor_price`. The row must have default or hard-floor
strength and match the product's model and currency. A target or ceiling alone
cannot establish that cost. If no eligible floor applies, the product can still
appear in the catalog but cannot be composed into a priced proposal until the
source provides a cost or a matching rate-card floor is Live.

A source's real floor is never lowered by a target, ceiling or buyer discount. An
explicit source fixed price of zero declares donated or house inventory. It
remains valid, though a seller's positive hard floor can raise the sale price. A
missing price or a zero rate-card floor does not create a free price.

## Playbook: how you sell

`save_playbook` has independent halves you can send together or apart: `pricing`
(your value-anchor facts), `discounts` (your brand and operator rate-card rules),
`limits` (what your agent may offer a buyer) and `active` (selling guidance, now
deprecated). The halves run in a fixed order and there is no transaction across
them, so see [When part of a save fails](https://docs.apostra.com/v3/seller-profile-and-playbook.md#when-part-of-a-save-fails).

### Selling guidance is Lessons

Free-text posture and packaging guidance is now written as
[Lessons](https://docs.apostra.com/v3/lessons.md). On V3, sending `active` to `save_playbook` leaves the
active Playbook text unchanged and turns your text, with its optional `notes`,
into proposed Lessons for you to review. The answer says how many were proposed.
Once Playbook prose writes retire, `active` is refused with `GONE` and a pointer
to saving Lessons. New guidance goes through `save_lesson`.

### Pricing facts

`pricing` uses the same names and nesting `get({ "kind": "playbook" })` returns.
To edit, read the Playbook, drop the fields the server sets (a fact's
`documentReference`), change what you need and save the rest back; a server-set
field sent back is refused. Each fact's `pricing` object is AdCP's pricing option
in snake\_case (`pricing_model`, `currency` and `floor_price`), plus
`target_price` and `ceiling_price`, which AdCP has no field for.
`pricing.facts` **replaces the whole list**: a fact you do not repeat is removed.
Pricing writes remain supported for API integrations and save a new version of
the Library Rate card document; sellers edit prices in that document.

```json theme={null}
{
  "pricing": {
    "currency": "USD",
    "facts": [
      {
        "id": "ctv-flagship",
        "label": "CTV flagship pre-roll",
        "appliesWhen": "Buyer requests CTV pre-roll on flagship shows",
        "pricing": {
          "pricing_model": "cpm",
          "target_price": 42,
          "floor_price": 32
        },
        "strength": "hard_floor",
        "provenance": "2026 rate card, page 4"
      }
    ]
  }
}
```

`strength` is `hard_floor` (must not be undercut), `default` (preferred) or
`guidance` (advisory).

### Discounts are per rule, not a whole list

`discounts` is the exception to the whole-list rule, and the difference is
deliberate. A house discount is keyed by `(houseDomain, scope)` and changes what
a real buyer pays on their next buy, so **a rule you don't mention is left
exactly as it was**. Removing one means naming it:

```json theme={null}
{
  "discounts": {
    "rules": [
      {
        "houseDomain": "nike.com",
        "scope": "brand",
        "discountPercent": 12,
        "notes": "2026 Nike-house rate"
      },
      { "houseDomain": "wpp.com", "scope": "operator", "discountPercent": 8 }
    ],
    "remove": [{ "houseDomain": "coke.com", "scope": "brand" }]
  }
}
```

* A rule for a `(houseDomain, scope)` pair that doesn't exist yet is created; one
  that does is updated. Sending a rule that already matches is a no-op and says so.
* Omitting `notes` keeps the note you already wrote. Send `null` to clear it.
* `remove` needs both halves of the key, because `nike.com` can carry a brand
  discount and an operator discount at once and they are different rules.
* Naming the same pair in `rules` and `remove` is rejected rather than resolved
  for you.
* `discounts` needs at least one entry in `rules` or `remove`. It is never a
  whole-list replace, so an empty object would delete nothing and set nothing.

To make sure you change the rule you read, and not a newer one, add
`expectedUpdatedAt` to a rule or a removal. Each rule you read carries an
`updatedAt`; send it back:

```json theme={null}
{
  "discounts": {
    "rules": [
      {
        "houseDomain": "nike.com",
        "scope": "brand",
        "discountPercent": 15,
        "expectedUpdatedAt": "2026-10-26T12:00:00.000Z"
      },
      {
        "houseDomain": "adidas.com",
        "scope": "brand",
        "discountPercent": 10,
        "expectedUpdatedAt": null
      }
    ],
    "remove": [
      {
        "houseDomain": "coke.com",
        "scope": "brand",
        "expectedUpdatedAt": "2026-10-20T09:30:00.000Z"
      }
    ]
  }
}
```

* A timestamp means the rule must still have that `updatedAt`. If someone changed
  it since you read it, or removed it, that entry is refused with `CONFLICT` and
  nothing is written for it. Read the rule again, then retry.
* `null` means the rule must not exist yet. If the pair already exists, that entry
  is refused with `CONFLICT` instead of overwriting it.
* Leave `expectedUpdatedAt` out and the rule is set whatever it holds now.
* The response lists each refused entry in `discountConflicts`, with the reason
  (`already_exists`, `changed` or `gone`) and the rule as it is now, or
  `currentUnavailable: true` if it could not be read again. The other entries in
  the call are applied normally.

Each rule is applied independently. If one fails the response reports exactly
which one, keeps the rest, and tells you to retry only the failure. The rows are
individually keyed, so a retry repeats nothing that already succeeded.

Deciding whether to create or update a rule means knowing whether it already
exists. If your current rules can only be read in part, that question has no safe
answer, so the affected declaration is **refused rather than guessed**: you get
"this pair could not be confirmed either way" instead of a create that might
collide with a live rule, or a "nothing to remove" that would tell you a discount
is gone while it keeps applying. Rules the partial read did show are still
updated and removed normally.

A discount you want for one exact brand and operator pair can also be written
with [buyer instructions](https://docs.apostra.com/v3/seller-buyer-instructions.md), which hold the pair's
notes, country scope and discount.

### Which discount a buyer actually gets

The rules you author and the discount a buy receives are different things.
`search` resolves one for you:

```json theme={null}
{ "kind": "house_discount", "filter": { "buyerDomain": "converse.com" } }
```

`results` is your authored rules, unchanged. `resolution` is derived: the
corporate `chain` the domain resolved up (`converse.com → nike.com`), the
hierarchy `coverage`, and the nearest rule that keys on each axis. It always
carries `caveats`, because a real buy resolves **its brand and its operator
separately** and takes the larger of the two, so one domain's chain cannot decide
it. When the hierarchy can't be resolved, you get `unavailable` and your authored
rows rather than a confident "no discount applies".

### Limits on what your agent may offer

`limits` holds rules for when an offer needs your approval first, or is never
made. Only a person sets them. See
[Seller limits and the buyer rate card](https://docs.apostra.com/v3/seller-limits-and-rate-card.md). A
separate `changeLimits` field bounds what an automated brain may change in your
catalog; see [Catalog change limits](https://docs.apostra.com/v3/seller-catalog-change-limits.md).

### When part of a save fails

The halves of one `save_playbook` call run in a fixed order, and no transaction
spans them. If one fails, the response says where the call stopped:

* Parts that already succeeded stay applied and are not rolled back.
* Parts that never ran are listed in `unattempted`, and the message names them. A
  `pricing` failure, for example, means your `discounts` were not read, created,
  changed or removed at all.
* Retry only what the response tells you to. Sending `active` again would propose
  the same Lessons twice rather than fixing anything.

## Searching history and discount rules

`playbook` and `business_rules` are one per account, so `search` does not search
*them*. What is list-shaped is their version history and the Playbook's discount
rules:

```json theme={null}
{ "kind": "playbook_version", "query": "CTV" }
```

`total` is the number of versions that match your `query`, not the number you have
written; with no `query` it counts every version. `business_rules_version` works
the same way over AI Business Rules history, and `house_discount` lists the
Playbook's brand and operator rules. Omit `kind` and `search` lists every
list-shaped object it knows about, so a broad question about your setup never
silently leaves your discounts out.

## `business_rules` — what you accept

Brief Acceptance, Creative Policy, the approval settings and approval routing
are on their own page: [AI Business Rules](https://docs.apostra.com/v3/ai-business-rules.md). It covers how
to save and read each policy with `save_business_rules`, how versions, drafts and
turning a policy off work, and who reviews.

> [card] [Prepare inventory source inputs](https://docs.apostra.com/v2/setup/publisher-onboarding-starter-kit.md)
>
> Collect the evidence that powers the public profile, Playbook, AI Business Rules and
> source operations.

> [card] [V3 agent surface](https://docs.apostra.com/v3/overview.md)
>
> The one-endpoint, noun-shaped surface these tools live on.

> [card] [How the Storefront Agent sells](https://docs.apostra.com/v2/concepts/merchandising.md)
>
> The pages you use today, and how they map to the platform.

> [card] [AI Business Rules](https://docs.apostra.com/v3/ai-business-rules.md)
>
> How Brief Acceptance and Creative Policy are read, and the three verdicts.

> [card] [Glossary](https://docs.apostra.com/v2/concepts/glossary.md)
>
> Component, Product and the rest of the vocabulary these nouns build on.


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