| Entity | Question | How identified |
|---|---|---|
| Brand | Whose products are advertised? | Brand reference: domain + optional brand_id (brand.json) |
| Account | Who gets billed? What rates apply? | Account reference |
| Operator | Who operates on the brand’s behalf? | Domain (e.g., pinnacle-media.com) |
| Agent | What software is placing the buy? | Authenticated session |
brand reference (domain + optional brand_id), resolved via /.well-known/brand.json. Single-brand houses use the domain alone (no brand_id).
Account — A billing relationship between a buyer and seller. Determines rate card, payment terms, credit limit, and who receives invoices. Every billable operation requires an account reference — a seller-assigned account_id (explicit accounts) or a natural key (brand, operator) (implicit accounts). Sandbox accounts follow the same model — explicit sandboxes use account_id, implicit sandboxes use the natural key with sandbox: true.
Operator — The entity driving buys — an agency trading desk, the brand’s internal team, or another entity acting on behalf of the advertiser. Identified by domain and verifiable via authorized operators in brand.json.
Agent — The software placing buys and managing campaigns. Authenticates with the seller and may operate on behalf of multiple operators and brands.
See Accounts Protocol overview for the full commercial model and sync_accounts for the task reference.
What sellers declare
Sellers configure theaccount section of get_adcp_capabilities:
1. Which billing models do you support? (supported_billing)
The buyer must pass one of these values as billing in every sync_accounts entry. The seller either accepts or rejects.
| Billing | Who is invoiced | Use case |
|---|---|---|
operator | Operator (agency or brand buying direct) | Operator buying on their own terms |
agent | Agent | Agent consolidates billing across brands |
advertiser | Advertiser directly | Operator places orders but advertiser pays (common on social platforms and in DACH B2B workflows) |
require_operator_auth)
This single field determines both the authentication model and how accounts are referenced:
When false (default) — implicit accounts: the seller trusts the agent. The agent authenticates once and declares accounts via sync_accounts. On subsequent requests, the buyer passes the natural key (brand + operator) and the seller resolves internally.
When true — explicit accounts: each operator must authenticate with the seller directly. The agent obtains a credential per operator — via OAuth using the seller’s authorization_endpoint, or via API key out-of-band. The buyer discovers accounts via list_accounts and passes a seller-assigned account_id.
For sandbox, the path follows the account model: explicit accounts (require_operator_auth: true) discover pre-existing test accounts via list_accounts; implicit accounts declare sandbox via sync_accounts with sandbox: true and reference by natural key.
Sellers can also declare account_financials: true to expose account-level financial data (spend, credit, invoices) via get_account_financials. This only applies to operator-billed accounts.
Example capabilities:
advertiser billing declare it explicitly:
Seller patterns
Which kind of platform are you buying from? That determines the account setup pattern.| Platform type | require_operator_auth | supported_billing |
|---|---|---|
| Social / walled garden | true | ["operator"] |
| Direct publisher | false | ["operator"] or ["operator", "agent"] |
| DSP / programmatic | false | ["agent"] |
Social platform
The operator already has an account on the platform — an ad account, a business manager, a self-serve dashboard. The agent obtains the operator’s credentials (via OAuth or API key) and opens a per-operator session. The platform bills the operator directly. Capabilities:- Call
get_adcp_capabilities— seerequire_operator_auth: trueandauthorization_endpoint - For each operator:
a. Obtain operator’s credential (OAuth via
authorization_endpoint, or API key out-of-band) b. Open a new session with the operator’s credential c. Callsync_accountsto set up each brand for this operator - Wait for account status
active(polllist_accountsifpending_approval) - Call
get_products/create_media_buywith the operator’s session andaccountreference
nova-brands.com/.well-known/brand.json, finds Pinnacle Media in authorized_operators, and fast-tracks provisioning:
Direct publisher
The publisher trusts the agent but bills the operator directly. The agent sets up accounts viasync_accounts — no per-operator login needed. Accounts may require human approval (credit checks, legal agreements) before becoming active.
Many publishers also accept agent billing (supported_billing: ["operator", "agent"]). The buyer chooses per account — operators with a direct relationship use billing: "operator", everything else uses billing: "agent". If the seller doesn’t support the requested billing for a particular account, it rejects the request and the agent re-submits with a different model.
Capabilities:
- Call
get_adcp_capabilities— seerequire_operator_authabsent (defaults tofalse) - Call
sync_accountsfor each brand/operator pair - Wait for account status
active— may require human to complete credit/legal atsetup.url - Call
get_productswithaccountreference - Call
create_media_buywithaccountreference
(brand: "acme-corp.com", operator: "acme-corp.com", billing: "operator"), but the account is pending review before it becomes active. A human at Acme Corp completes the setup at the URL. To check progress, the agent either:
- Re-calls
sync_accountswith the same natural key — the seller returns the updated status - Receives a webhook notification if
push_notification_configwas provided in the request
pending_approval is the normal path. Every buyer needs a direct relationship with the seller.
Billing rejection — operator billing not available:
The seller supports operator billing in general, but may not support it for every operator. Here, the agent requests operator billing for an operator without a direct relationship:
billing: "agent" or informs the buyer that operator billing is not available with this seller. Billing is never silently remapped.
DSP / programmatic
All billing flows through the agent. The agent has a standing relationship with the platform and consolidates billing across all brands and operators. Accounts are created instantly — no human approval needed. Capabilities:- Call
get_adcp_capabilities— seesupported_billing: ["agent"] - Call
sync_accountsfor each brand/operator pair withbilling: "agent" - Accounts are active immediately — no human approval needed
- Call
get_products/create_media_buywithaccountreference
Authorized operators
Brands declare who can represent them in/.well-known/brand.json via the authorized_operators field. Sellers SHOULD verify operators against this when processing sync_accounts.
| Field | Required | Description |
|---|---|---|
domain | Yes | Operator’s domain |
brands | Yes | Brand IDs this operator can represent. ["*"] means all brands. |
countries | No | ISO 3166-1 alpha-2 country codes. Omit for global authorization. |
Verification flow
- Resolve
{brand.domain}/.well-known/brand.json - Check
authorized_operatorsfor matchingdomainwith the brand inbrands - If found → proceed (account may still need credit/legal approval)
- If not found → reject the account (
action: "failed") or returnpending_approvalfor manual review
brand.json lets the seller fast-track provisioning. If the operator isn’t listed, the seller can still approve through its own review process.
Self-authorization is implicit. When the operator domain matches the brand’s domain, the brand is operating directly — no listing in authorized_operators is needed.
authorized_operators models the interface between the brand and whoever operates on its behalf. It does not model internal agency hierarchies.
Account references
Every account-scoped operation accepts anaccount object instead of a flat account_id string. The seller’s require_operator_auth capability determines which model applies — and the model determines the buyer’s entire integration path.
Explicit accounts (require_operator_auth: true)
Accounts are managed outside of AdCP. The advertiser creates an account on the seller’s platform, grants the operator permission to manage it, and the agent discovers the account via list_accounts. The agent is not involved in authentication or billing — those are handled between the advertiser and seller directly.
Typical sellers: Social platforms, self-serve ad platforms — anywhere the advertiser already has an account.
Workflow:
- Advertiser creates an account on the seller’s platform (out-of-band)
- Advertiser grants the operator permission to manage the account (out-of-band)
- Agent calls
list_accountsto discover available accounts - Human selects the correct account from the list
- Agent passes
{ "account_id": "acc_acme_001" }on every request (get_products,create_media_buy, etc.)
Implicit accounts (require_operator_auth: false)
The agent manages the buying relationship. It calls sync_accounts to tell the seller who’s advertising, who’s operating on the brand’s behalf, and who’s paying. The seller provisions accounts and responds with status — the account IDs are a byproduct of the declaration, not something the buyer needs to know upfront.
Typical sellers: Traditional publishers, retail media networks, DSPs — anywhere the buying relationship is established programmatically.
sync_accounts is the declaration tool. Each entry is a set of flags that tells the seller what the buyer needs:
| Flag | What it tells the seller |
|---|---|
brand (domain + optional brand_id) | Which brand is advertising |
operator | Who operates on the brand’s behalf (agency, trading desk, or the brand itself) |
billing | Who gets the invoice — operator, agent, or advertiser |
billing_entity | Structured business entity details for the party responsible for payment — legal name, VAT ID, tax ID, address, contacts, and bank details. Used for formal B2B invoicing. Bank details are write-only (never echoed in responses). |
payment_terms | Payment terms for this account (net_15, net_30, net_45, net_60, net_90, prepay). The seller must accept these terms or reject the account — terms are never silently remapped. |
sandbox | Whether this is a sandbox (test) account — no real spend. Only used with implicit accounts; explicit sandbox accounts are pre-existing. |
Billing entity and invoice recipient
For markets that require structured invoicing data (e.g., EU B2B transactions requiring VAT IDs), thebilling_entity on an account provides the default business entity details for whoever billing points to. This includes legal name, tax identifiers, postal address, billing contact, and bank details.
On individual media buys, an invoice_recipient can override the account default — useful when a specific campaign should be billed to a different party. When invoice_recipient differs from the account default and the account has governance_agents, the seller MUST include it in the check_governance request so the governance agent can approve or reject the billing redirect.
Workflow:
- Agent calls
sync_accountswith one or more declarations - Seller provisions or links accounts for each, responds with status:
active— ready to usepending_approval— seller reviewing (human may need to visitsetup.url)rejected— seller declined the request
- For subsequent requests, pass the account reference:
- Implicit accounts (
require_operator_auth: false): pass the natural key{ "brand": { "domain": "acme-corp.com" }, "operator": "pinnacle-media.com" } - Explicit accounts (
require_operator_auth: true): pass{ "account_id": "acc_acme_001" }(discover vialist_accounts) - Sandbox (implicit): pass the natural key with
sandbox: true(declared viasync_accounts) - Sandbox (explicit): pass
{ "account_id": "test_acc_001" }(pre-existing test account, discovered vialist_accounts)
- Implicit accounts (
- When anything changes (billing model, new brand, new operator), call
sync_accountsagain
billing is "agent". When billing is "operator" or "advertiser", the agent facilitates but is not the invoiced party. The seller may require human approval before activating accounts.
Natural key semantics
The tuple(brand, operator, sandbox) uniquely identifies an account relationship. The brand is a nested object with domain and optional brand_id. operator is always required — when the brand operates directly, set operator to the brand’s domain. sandbox defaults to false when omitted. For example, {brand: {domain: "acme-corp.com"}, operator: "acme-corp.com"} (brand buying direct) is a different account from {brand: {domain: "acme-corp.com"}, operator: "pinnacle-media.com"} (brand via agency). Adding sandbox: true references the sandbox account for the same pair.
See sync_accounts task reference for the full request/response schema.
Account status
| Status | Meaning | Next step |
|---|---|---|
active | Ready to use | Place buys on this account |
pending_approval | Seller reviewing | Human may need to visit setup.url. Poll list_accounts for updates. |
rejected | Seller declined the request | Review rejection reason, adjust and re-sync, or contact seller |
payment_required | Credit limit reached | Add funds or route spend to other accounts |
suspended | Was active, now paused | Contact seller |
closed | Was active, now terminated | — |
Account scope
The agent requests accounts by natural key —(brand, operator). The seller decides what granularity to assign. The account_scope field in the response tells the agent how the seller resolved the request:
| Scope | Meaning | Example |
|---|---|---|
operator | One account for all brands under this operator | Agent sends (Pinnacle Media, Acme) and (Pinnacle Media, Nova) — seller maps both to the Pinnacle Media account |
brand | One account for this brand regardless of operator | Agent sends (Acme, Pinnacle Media) and (Acme, Summit Agency) — seller maps both to the Acme account |
operator_brand | Dedicated account for this operator+brand pair | Agent sends (Pinnacle Media, Acme) — seller creates a specific Acme-via-Pinnacle account |
agent | The agent’s default account | Agent sends any brand — seller routes to the standing agent account |
(brand: {domain: "acme-corp.com"}, operator: "pinnacle-media.com") might receive an operator-scoped account, a brand-scoped account, or a dedicated operator_brand account depending on the seller.
When multiple natural keys resolve to the same scope, the account_scope explains why.
sync_accounts does not return account_id — the seller manages account identifiers internally. For explicit accounts (require_operator_auth: true), discover account IDs via list_accounts — including sandbox test accounts. For implicit accounts (require_operator_auth: false), use natural keys (brand + operator) on subsequent requests — adding sandbox: true for sandbox accounts.
Error codes
| Code | When returned | Resolution |
|---|---|---|
ACCOUNT_REQUIRED | Multiple accounts; seller can’t determine which | Pass account_id in the account reference |
ACCOUNT_NOT_FOUND | account_id doesn’t exist or agent lacks access | Check account reference, re-run sync_accounts |
ACCOUNT_SETUP_REQUIRED | Natural key resolved but account needs setup | Check details.setup for URL/message |
ACCOUNT_AMBIGUOUS | Natural key resolves to multiple accounts | Pass account_id or more specific natural key |
PAYMENT_REQUIRED | Credit limit reached or funds depleted | Add funds, route to another account |
ACCOUNT_SUSPENDED | Account not in good standing | Contact seller |
BRAND_REQUIRED | Billable operation without brand reference | Include brand in request |
ACCOUNT_REQUIRED, it includes the available accounts:
Design notes
sync_accounts and seller record systems
When an agent declares(brand: {domain: "acme-corp.com"}, operator: "pinnacle-media.com"), the seller looks up or creates records in its own system — CRM, OMS, ad server, or billing platform.
sync_accounts is the buyer-side interface to the seller’s record system. The seller may:
- Map the natural key to an existing account and return
status: "active" - Create a new record and return it immediately (
status: "active") - Create a placeholder pending human review (
status: "pending_approval") - Decline the request entirely (
status: "rejected")
list_accounts returns all records the seller has mapped for this agent — including pending and rejected entries. The agent uses list_accounts to see the full state of its portfolio with this seller, not just active accounts.
Accounts and insertion orders
An account represents a standing relationship — who gets billed, what rates apply, what credit is available. It is not a campaign or an insertion order. Insertion orders and campaign flights are modeled as media buys viacreate_media_buy. The account determines billing terms; the media buy determines what runs and when. A single account can have many media buys over its lifetime.
Operator revocation and caching
If a brand removes an operator fromauthorized_operators, existing active accounts are not automatically deactivated. Revocation is eventual, not immediate — similar to how ads.txt changes propagate on the supply side.
Sellers SHOULD respect standard HTTP caching headers on brand.json and re-validate periodically. A reasonable cache TTL is 24 hours.
Brand identity for SMBs
Domain-based identity via/.well-known/brand.json works for organizations of any size — it’s a static JSON file that can be hosted on any web server.
For organizations that cannot host files on their domain, the authoritative_location field in brand.json allows the house domain to redirect to a hosted location: