APIs

Programmatic API

Version 1.0https://api.rtbpilot.io/programmatic/v1 OpenAPI document

The machine surface over your RTB business: the full BI report builder, plus DSPs, SSPs, and their RTB connections.

Authentication

Each call carries an iam access token and a DPoP proof (RFC 9449):

Authorization: DPoP <access token>
DPoP: <a proof of the token's key, for this call>
  1. In the platform UI (My Organization, API keys) an administrator makes an API key for one of your programs and grants it the scopes it needs: prog-api:read, and prog-api:write to change DSPs, SSPs and their connections.
  2. The program takes an access token from your iam issuer's token endpoint with grant_type=client_credentials, its API key, the machine API's audience and a DPoP proof of its own key pair. The token is bound to that key and lives at most an hour.
  3. Each call sends the token and a new proof of the same key: the call's method, its URL (https://api.<root>/programmatic/v1/...), the token's hash (ath) and a jti never sent before.
Scope Endpoints
prog-api:read POST /reports, POST /distinct-values and every GET
prog-api:write every POST, PUT, PATCH and DELETE of the DSPs, the SSPs and their connections

A token or a proof that does not hold is 401 invalid_token, with WWW-Authenticate: DPoP; a key without the scope, or an account without the Programmatic API, is 403. Only the documentation is public: GET /openapi.yaml, this reference (GET /docs) and its stylesheet. The old tnt_live_ tokens no longer open this API: re-key with an API key.

API Base Credential
Campaign /campaign/v1 an API key with its scopes
XML /xml/v1 an API key with its scopes
Advertiser /advertiser/v1 an API key with its scopes

Response envelope

Every success response with a body is wrapped in a data envelope: 200 and 201 return {"data": ...}; 204 has no body. A refusal is a problem, not enveloped (Errors).

Errors

Every refusal is a problem (RFC 9457), application/problem+json: {"type", "title", "status", "code", "detail", "request_id", "errors": [{"field", "reason"}]}. Branch on status and code, never on detail; errors names each field at fault of an invalid input. Common codes (not exhaustive):

Code HTTP Meaning
invalid_argument 400 A field is refused, or is no field of the operation: errors names it (a report's dates, dimensions or paging; a setting out of its vocabulary or bounds; a name already in use; a parent DSP or SSP, or an allow-list entry, that is not yours; a DSP or SSP that still has connections, on uuid; the lists' status filter; a missing status)
invalid_request 400 The query or the body is malformed: the body is not one JSON object
idempotency_key_required 400 A write without an Idempotency-Key
unsupported_media_type 415 A body that is not application/json
invalid_token 401 The token or its proof does not hold
permission_denied 403 The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections)
not_found 404 No such DSP, SSP or connection in your tenant
idempotency_key_in_use 409 A request with this Idempotency-Key still runs
idempotency_key_reused 422 This Idempotency-Key was used for another request
rate_limited 429 Over the rate: wait Retry-After seconds
unavailable, auth_unavailable 503 A backing service cannot answer now: retry after Retry-After

Idempotency

Every write (a POST, PUT, PATCH or DELETE of the DSPs, the SSPs and their connections) carries an Idempotency-Key header: a new key for each request, 1 to 128 letters, digits and -._:, and the same one when it is retried. A retry is answered as the first call was, for a day (Idempotent-Replayed: true); the same key with another request is 422. The reports only read, and need none.

Rate limits

Per API key (your program's iam client), per minute: 300 reads, 60 writes, 30 report runs, each class across all of this API's endpoints of it. Every rate-limited answer carries RateLimit-Remaining and RateLimit-Reset. Exceeding a limit returns 429 rate_limited with Retry-After; if the rate-limit store itself is degraded the request is refused with 503 and Retry-After: 5 (fail closed, never silently unthrottled).

Update semantics

Every update endpoint is a field-level patch, even where the verb is PUT: a field you omit is left unchanged — only fields present in the body are written. Consequences:

  • null is treated the same as omitting the field. You cannot 'null out' a value. (A required member, such as a new connection's name, and a report's members, may not be null.)
  • To clear a list, send []; to clear a string, send "".
  • Gated numeric pairs (min_margin_status + min_margin, budgets, caps) are disabled by setting the *_status flag to false, not by clearing the number.
  • Zero values are real writes: "qps": 0 sets 0, "status": false sets false.
  • An empty body {} is a legal no-op.
  • A member that is no field of the endpoint is refused (400), so a misspelt field never passes unseen.

Money

Money units differ by field and are stated on every money field. Summary:

  • DSP/SSP entity budgets (daily_budget, monthly_budget, total_budget on /dsps and /ssps): integer whole US dollars.
  • Connection budgets and bid bounds (daily_budget, monthly_budget, total_budget, min_bid, max_bid, margin_fixed_cpm on connections): integer micro-US-dollars (1,000,000 = $1.00). Bid bounds and margin_fixed_cpm are CPM prices (per 1,000 impressions).
  • margin_percentage: integer basis points (2000 = 20%).
  • min_margin / max_margin on connections: integer percent points (0–100), as in the tenant console's Min/Max Margin % fields.
  • Report spend / revenue: decimal US dollars.

Timestamps and dates

All timestamps are RFC 3339 UTC (created_at, updated_at); nanosecond fractional seconds may appear — parsers must accept fractional seconds. Report dateFrom/dateTo and the date dimension are YYYY-MM-DD strings in UTC; hourOfDay is "0".."23" in UTC.

Internal bookkeeping fields

tenant_uuid, version and xxhash3 appear on many responses. They are internal bookkeeping fields — safe to ignore, and not accepted on writes. Use uuid as the stable identifier everywhere. The old id (an integer row number) is no longer served.

Sensitive data

Connections carry your endpoint URLs and margin configuration — tenant data, visible to your own API keys only. Never share report or connection payloads with partners or advertisers.

Security schemes

dpop HTTP DPoP

Authorization: DPoP <access token> and, for each request, a DPoP proof of the token's key (RFC 9449). The token is one your program takes from your iam issuer with client_credentials and its API key, holding prog-api:read and, to change DSPs, SSPs and their connections, prog-api:write.

Documentation

The API reference, its stylesheet and the raw OpenAPI document. All are public — no token required.

GET /programmatic/v1/docs

API reference (this page)

Public: no credential

This specification as a page: drawn on the server, it runs no script and loads only its stylesheet. Public — no authentication.

Responses

200

The reference page.

text/html · string

GET /programmatic/v1/docs.css

The reference page's stylesheet

Public: no credential

Responses

200

The stylesheet.

text/css · string

GET /programmatic/v1/openapi.yaml

This OpenAPI document

Public: no credential

The raw OpenAPI 3.1 document for this API. Public — no authentication required.

Responses

200

OpenAPI YAML.

application/yaml · string

Reports

The full-tenant BI report builder over your auction stream: flexible grouping (~30 dimensions), filters, tree drilldown, sorting and pagination, plus the distinct-values endpoint that feeds filter pickers. Data grain: minute-fresh up to 7 days back, hourly to 30 days, daily to 13 months — the tier field echoes which store answered.

POST /programmatic/v1/reports

Run a report

Needs dpop

The full report builder over your auction stream. Counts against the heavy rate class (30/min). Errors: 400 invalid_argument (a bad request shape, dates or paging, on its field), plus the shared authentication and rate-limit errors. A filter's lists are not served yet, and refused (400 on filters).

Paging. pageSize is 1 to 10000 rows (default 50) and page starts at 1. Every response carries page, pageSize, total (rows across all pages) and totalPages: request pages 1 to totalPages. A pageSize above 10000 or below 0 is a 400 invalid_argument on pageSize, and a negative page one on page.

Rows. A row is a group of dimension values that received at least 1 bid; total counts those rows. Groups that saw auctions and no bid are not returned. Every metric, auctions included, is measured over the full group.

Auctions on a DSP row. When the request groups by or filters on dsp or dspConnection together with a dimension that is not stored per DSP request (for example publisherId, bundle or browserName), auctions is the number of auctions of the row's supply group: the row's dimension values without the DSP ones, whichever DSP won them. bids / auctions is then the DSP's fill rate on that supply.

Dimensions vs labels. For entity dimensions (campaign, adSet, dsp, dspConnection, ssp, sspConnection, dspCreativeId) dims carries the stable UUID and dimLabels carries the display name. Render dimLabels[k] ?? dims[k]. Filters take the dims value (UUID) for entity dims and the display value for all other dims — exactly what /distinct-values returns in value.

Legacy dimension spellings creativeId, osVersion and browserVersion are accepted and translated to dspCreativeId, osVersionMajor and browserVersionMajor; responses always use the canonical names. sourceId and keyword were removed (they cost hundreds of GiB of storage for detail nobody reports on) — requesting them puts an explanatory sentence in unsupportedDims. Group by domain, bundle or iabPrimary instead.

Recipe 1 — flat grouping (revenue by day and SSP):

{"dateFrom": "2026-07-01", "dateTo": "2026-07-31",
 "groupBy": ["date", "ssp"], "sortBy": "revenue", "sortDir": "desc"}

Recipe 2 — filtered (pure-arbitrage US+CA traffic by DSP):

{"dateFrom": "2026-07-25", "dateTo": "2026-08-01",
 "groupBy": ["dsp"], "scope": "programmatic",
 "filters": [{"dimension": "country", "op": "is", "values": ["US", "CA"]}]}

Recipe 3 — tree drilldown (expand one SSP into its connections; depth selects how many leading groupBy dims are grouped, parentPath pins the ancestors — it must equal groupBy[0:depth-1] in order):

{"dateFrom": "2026-07-25", "dateTo": "2026-08-01",
 "groupBy": ["ssp", "sspConnection", "domain"], "depth": 2,
 "parentPath": [{"dimension": "ssp",
                 "value": "0d9c1f7e-6f0a-4f6e-9c2f-3f9a4b5c6d7e"}]}

Each response row is then one sspConnection child of that SSP; re-issue with depth: 3 and the connection appended to parentPath to expand a further level.

Request body required

application/json · ReportRequest

Example: Revenue by day and SSP
{
  "dateFrom": "2026-07-01",
  "dateTo": "2026-07-31",
  "groupBy": [
    "date",
    "ssp"
  ],
  "sortBy": "revenue",
  "sortDir": "desc"
}

Responses

200

The report.

application/json · object

PropertyTypeDescription
data requiredReportResponse

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

503

A backing service is momentarily unavailable: the reporting backend, the sign-in's checks (auth_unavailable) or the rate limiter (with Retry-After: 5). Retry with backoff.

application/problem+json · Problem

Example: unavailable
{
  "type": "about:blank",
  "title": "Service Unavailable",
  "status": 503,
  "code": "unavailable"
}

POST /programmatic/v1/distinct-values

Distinct values for a dimension

Needs dpop

Feeds filter pickers: the observed/known values of one dimension. Per-dimension semantics of the returned value:

  • Entity dimensions (campaign, adSet, dspCreativeId / creativeId, dsp, dspConnection, ssp, sspConnection): value is the entity UUID (what report filters match on) and label is the display name.
  • Every other dimension (country, domain, bundle, …): value is the display value itself; label is set only when the raw value is opaque (e.g. a bare bundle id).
  • count is the ranking volume (auctions over the last 30 days); 0 means "not measured" — entity and registry-enumerated dims are listed from their canonical source without a volume scan, not unused.
  • kind tells you what value is: "uuid" for entity dims, "value" otherwise.

Errors: 400 invalid_argument (an unknown dimension, or a member that is no field) and invalid_request (a body that is not one JSON object).

Request body required

application/json · DistinctValuesRequest

Example: Country picker
{
  "dim": "country",
  "search": "",
  "limit": 50
}
Example: SSP picker (entity dim — values are UUIDs)
{
  "dim": "ssp"
}

Responses

200

Values for the dimension.

application/json · object

PropertyTypeDescription
data requiredDistinctValuesResponse

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

503

A backing service is momentarily unavailable: the reporting backend, the sign-in's checks (auth_unavailable) or the rate limiter (with Retry-After: 5). Retry with backoff.

application/problem+json · Problem

Example: unavailable
{
  "type": "about:blank",
  "title": "Service Unavailable",
  "status": 503,
  "code": "unavailable"
}

DSPs

Demand partners (buyers). A DSP is the commercial parent record — name, contacts, company details, top-level budgets in whole US dollars. The actual bidding endpoints live on its RTB connections.

GET /programmatic/v1/dsps

List DSPs

Needs dpop

Slim summaries of every DSP in your tenant. Returns the full list; pagination is not applied.

Responses

200

DSP summaries.

application/json · object

PropertyTypeDescription
data requiredarray of DSPSummary

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

POST /programmatic/v1/dsps

Create a DSP

Needs dpop

Creates the commercial parent record, active. Only name is required (2–150 characters, unique within your tenant in any case — a name in use is a 400 invalid_argument on name). company_info may be set here too, or afterwards via update.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · DSPCreate

Example: Minimal create
{
  "name": "DemandCo"
}
Example: With a daily budget of $500
{
  "name": "DemandCo",
  "contact_email": "ops@demandco.example",
  "daily_budget_status": true,
  "daily_budget": 500
}

Responses

201

Created.

application/json · object

PropertyTypeDescription
data requiredDSP

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

GET /programmatic/v1/dsps/{uuid}

Get a DSP

Needs dpop

Full DSP detail including company information.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)

Responses

200

The DSP.

application/json · object

PropertyTypeDescription
data requiredDSP

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

PUT /programmatic/v1/dsps/{uuid}

Update a DSP

Needs dpop

Partial update: omitted fields are unchanged; null is treated as omitted. Clear a list with [], a string with "". An empty body {} is a legal no-op.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · DSPUpdate

Example: Change the contact and set company info
{
  "contact_name": "Jane Ops",
  "company_info": {
    "company_name": "DemandCo Ltd",
    "country_code": "US"
  }
}

Responses

200

The updated DSP.

application/json · object

PropertyTypeDescription
data requiredDSP

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

DELETE /programmatic/v1/dsps/{uuid}

Delete a DSP

Needs dpop

Permanently deletes the DSP, which must have no connections: one with any, RTB or XML, is a 400 invalid_argument on uuid ("has connections: delete them first"). Delete its connections first.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Responses

204

Deleted — no body.

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

PATCH /programmatic/v1/dsps/{uuid}/status

Activate / pause a DSP

Needs dpop

Sets the active flag. status is required — a body without it is a 400 invalid_argument on status ("status is required (true or false)").

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · StatusInput

Example: Pause
{
  "status": false
}

Responses

200

The updated DSP.

application/json · object

PropertyTypeDescription
data requiredDSP

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

DSP Connections

RTB connections under a DSP — the full endpoint configuration: endpoint/API URLs, OpenRTB protocol, bid bounds, margin formula, budgets and caps in micro-dollars, targeting gates, and SSP routing. Tenant-sensitive.

GET /programmatic/v1/dsps/{uuid}/connections

List one DSP's RTB connections

Needs dpop

Slim summaries of the RTB connections under one DSP. Returns the full list; pagination is not applied.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)

Responses

200

Connection summaries.

application/json · object

PropertyTypeDescription
data requiredarray of DSPConnectionSummary

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

GET /programmatic/v1/dsp-connections

List all DSP RTB connections

Needs dpop

Slim summaries across every DSP. Returns the full list; pagination is not applied. An unparseable status value is a 400 invalid_argument on status.

Parameters

NameInTypeDescription
statusquerystring

Filter by active flag. Omit for all connections.

  • One of: true, false, 1, 0

Responses

200

Connection summaries across every DSP.

application/json · object

PropertyTypeDescription
data requiredarray of DSPConnectionSummary

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

POST /programmatic/v1/dsp-connections

Create a DSP RTB connection

Needs dpop

The full endpoint config — endpoint/API URLs, protocol, bid bounds, margin formula, budgets, caps, targeting gates, SSP routing. tenant_dsp_uuid and name (2–150 chars, unique) are required; everything else defaults off/empty. An invalid value is a 400 invalid_argument naming its field; so is a name in use (on name), a tenant_dsp_uuid that is not one of your DSPs (on it), and allowed_ssp_uuids naming SSP connections that are not yours. A new connection is active and routes at once, unless you send "status": false. Tenant-sensitive.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · DSPConnectionCreate

Example: A bidding endpoint with a 20% margin and $1.00 CPM bid floor
{
  "tenant_dsp_uuid": "5f2b8a6e-1c3d-4e5f-9a7b-8c9d0e1f2a3b",
  "name": "DemandCo US display",
  "endpoint_url": "https://bid.demandco.example/rtb",
  "protocol_slug": "rtb_2_5",
  "margin_mode": "percentage",
  "margin_percentage": 2000,
  "min_bid_status": true,
  "min_bid": 1000000,
  "distribution_tags": [
    "display"
  ],
  "traffic_type": [
    "web"
  ],
  "allowed_traffic": [
    "arbitrage"
  ]
}

Responses

201

Created.

application/json · object

PropertyTypeDescription
data requiredDSPConnection

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

GET /programmatic/v1/dsp-connections/{uuid}

Get a DSP RTB connection

Needs dpop

The full connection record.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)

Responses

200

The connection.

application/json · object

PropertyTypeDescription
data requiredDSPConnection

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

PUT /programmatic/v1/dsp-connections/{uuid}

Update a DSP RTB connection

Needs dpop

Partial update: omitted fields are unchanged; null is treated as omitted. Clear a list with [], a string with "". An empty body {} is a legal no-op.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · DSPConnectionUpdate

Example: Cap QPS at 300
{
  "qps_limitation_status": true,
  "qps": 300
}

Responses

200

The updated connection.

application/json · object

PropertyTypeDescription
data requiredDSPConnection

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

DELETE /programmatic/v1/dsp-connections/{uuid}

Delete a DSP RTB connection

Needs dpop

Permanently deletes the connection.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Responses

204

Deleted — no body.

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

PATCH /programmatic/v1/dsp-connections/{uuid}/status

Activate / pause a DSP RTB connection

Needs dpop

Sets the active flag. status is required — a body without it is a 400 invalid_argument on status.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · StatusInput

Example: Activate
{
  "status": true
}

Responses

200

The updated connection.

application/json · object

PropertyTypeDescription
data requiredDSPConnection

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

SSPs

Supply partners (sellers). An SSP is the commercial parent record; its RTB connections define the inbound supply endpoints.

GET /programmatic/v1/ssps

List SSPs

Needs dpop

Slim summaries of every SSP in your tenant. Returns the full list; pagination is not applied.

Responses

200

SSP summaries.

application/json · object

PropertyTypeDescription
data requiredarray of SSPSummary

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

POST /programmatic/v1/ssps

Create an SSP

Needs dpop

Creates the commercial parent record, active. Only name is required (2–150 characters, unique within your tenant in any case — a name in use is a 400 invalid_argument on name). company_information may be set here too, or afterwards via update. Note the SSP entity's budget flags are spelled *_budget_active (the DSP entity uses *_budget_status) — an intentional, documented divergence.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · SSPCreate

Example: Minimal create
{
  "name": "ExampleSupply"
}

Responses

201

Created.

application/json · object

PropertyTypeDescription
data requiredSSP

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

GET /programmatic/v1/ssps/{uuid}

Get an SSP

Needs dpop

Full SSP detail including company information.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)

Responses

200

The SSP.

application/json · object

PropertyTypeDescription
data requiredSSP

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

PUT /programmatic/v1/ssps/{uuid}

Update an SSP

Needs dpop

Partial update: omitted fields are unchanged; null is treated as omitted. Clear a list with [], a string with "". An empty body {} is a legal no-op.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · SSPUpdate

Example: Set company information
{
  "company_information": {
    "company_name": "ExampleSupply GmbH",
    "country_code": "DE"
  }
}

Responses

200

The updated SSP.

application/json · object

PropertyTypeDescription
data requiredSSP

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

DELETE /programmatic/v1/ssps/{uuid}

Delete an SSP

Needs dpop

Permanently deletes the SSP, which must have no connections: one with any, RTB or XML, is a 400 invalid_argument on uuid ("has connections: delete them first"). Delete its connections first.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Responses

204

Deleted — no body.

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

PATCH /programmatic/v1/ssps/{uuid}/status

Activate / pause an SSP

Needs dpop

Sets the active flag. status is required — a body without it is a 400 invalid_argument on status.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · StatusInput

Example: Pause
{
  "status": false
}

Responses

200

The updated SSP.

application/json · object

PropertyTypeDescription
data requiredSSP

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

SSP Connections

RTB connections under an SSP — protocol, bid bounds, margin band, budgets and caps, brand-safety policy (adult_traffic_mode), targeting gates, and DSP routing. Tenant-sensitive.

GET /programmatic/v1/ssps/{uuid}/connections

List one SSP's RTB connections

Needs dpop

Slim summaries of the RTB connections under one SSP. Returns the full list; pagination is not applied.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)

Responses

200

Connection summaries.

application/json · object

PropertyTypeDescription
data requiredarray of SSPConnectionSummary

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

GET /programmatic/v1/ssp-connections

List all SSP RTB connections

Needs dpop

Slim summaries across every SSP. Returns the full list; pagination is not applied. An unparseable status value is a 400 invalid_argument on status.

Parameters

NameInTypeDescription
statusquerystring

Filter by active flag. Omit for all connections.

  • One of: true, false, 1, 0

Responses

200

Connection summaries across every SSP.

application/json · object

PropertyTypeDescription
data requiredarray of SSPConnectionSummary

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

POST /programmatic/v1/ssp-connections

Create an SSP RTB connection

Needs dpop

Inbound supply endpoint config — protocol, bid bounds, margin band, budgets, caps, brand-safety policy, targeting gates, DSP routing. tenant_ssp_uuid and name (2–150 chars, unique) are required. An invalid value is a 400 invalid_argument naming its field; so is a name in use (on name), a tenant_ssp_uuid that is not one of your SSPs (on it), and allowed_dsp_uuids naming DSP connections that are not yours. Without a defaults_profile the connection copies your tenant's.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · SSPConnectionCreate

Example: A web display supply endpoint that blocks adult traffic
{
  "tenant_ssp_uuid": "0d9c1f7e-6f0a-4f6e-9c2f-3f9a4b5c6d7e",
  "name": "ExampleSupply web",
  "protocol_slug": "rtb_2_5",
  "distribution_tags": [
    "display"
  ],
  "traffic_type": [
    "web"
  ],
  "allowed_traffic": [
    "arbitrage"
  ],
  "adult_traffic_mode": "block"
}

Responses

201

Created.

application/json · object

PropertyTypeDescription
data requiredSSPConnection

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

GET /programmatic/v1/ssp-connections/{uuid}

Get an SSP RTB connection

Needs dpop

The full connection record.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)

Responses

200

The connection.

application/json · object

PropertyTypeDescription
data requiredSSPConnection

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

PUT /programmatic/v1/ssp-connections/{uuid}

Update an SSP RTB connection

Needs dpop

Partial update: omitted fields are unchanged; null is treated as omitted. Clear a list with [], a string with "". An empty body {} is a legal no-op.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · SSPConnectionUpdate

Example: Switch the connection to adult-only inventory
{
  "adult_traffic_mode": "only"
}

Responses

200

The updated connection.

application/json · object

PropertyTypeDescription
data requiredSSPConnection

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

DELETE /programmatic/v1/ssp-connections/{uuid}

Delete an SSP RTB connection

Needs dpop

Permanently deletes the connection.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Responses

204

Deleted — no body.

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

PATCH /programmatic/v1/ssp-connections/{uuid}/status

Activate / pause an SSP RTB connection

Needs dpop

Sets the active flag. status is required — a body without it is a 400 invalid_argument on status.

Parameters

NameInTypeDescription
uuid requiredpathstring (uuid)
Idempotency-Key requiredheaderstring

A new key for each request, and the same one when it is retried.

  • Pattern: ^[A-Za-z0-9._:-]{1,128}$

Request body required

application/json · StatusInput

Example: Activate
{
  "status": true
}

Responses

200

The updated connection.

application/json · object

PropertyTypeDescription
data requiredSSPConnection

400

Invalid input: a field the operation refuses (invalid_argument, errors naming it), a malformed query or body (invalid_request), or a write without an Idempotency-Key (idempotency_key_required).

application/problem+json · Problem

Example: badStatus
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "code": "invalid_argument",
  "detail": "The input is invalid.",
  "request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
  "errors": [
    {
      "field": "status",
      "reason": "status must be true, false, 1 or 0"
    }
  ]
}

401

A missing, malformed, expired or revoked token, or a proof that does not hold.

application/problem+json · Problem

Example: invalidToken
{
  "type": "about:blank",
  "title": "Unauthorized",
  "status": 401,
  "code": "invalid_token"
}

403

The key lacks the scope, or your account does not have the Programmatic API (or the DSPs' or SSPs' module, or their RTB connections).

application/problem+json · Problem

Example: forbidden
{
  "type": "about:blank",
  "title": "Forbidden",
  "status": 403,
  "code": "permission_denied"
}

404

The resource doesn't exist within your tenant.

application/problem+json · Problem

Example: notFound
{
  "type": "about:blank",
  "title": "Not Found",
  "status": 404,
  "code": "not_found"
}

409

A request with this Idempotency-Key still runs (idempotency_key_in_use, with Retry-After).

application/problem+json · Problem

Example: keyInUse
{
  "type": "about:blank",
  "title": "Conflict",
  "status": 409,
  "code": "idempotency_key_in_use"
}

422

This Idempotency-Key was used for a different request.

application/problem+json · Problem

Example: reused
{
  "type": "about:blank",
  "title": "Unprocessable Entity",
  "status": 422,
  "code": "idempotency_key_reused"
}

429

Over the per-key rate of the endpoint's class. Back off until Retry-After.

application/problem+json · Problem

Example: limited
{
  "type": "about:blank",
  "title": "Too Many Requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Too many requests."
}

500

Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.

application/problem+json · Problem

Example: internal
{
  "type": "about:blank",
  "title": "Internal Server Error",
  "status": 500,
  "code": "internal"
}

Schemas

Problem

object

A refusal (RFC 9457).

PropertyTypeDescription
type requiredstring

about:blank.

title requiredstring

The status's name.

status requiredinteger
code requiredstring

Stable machine-readable reason (invalid_argument, not_found, ...). Branch on it.

detailstring

Human-readable words. Do not branch on them.

request_idstring

The request's id

errorsarray of object

The fields at fault of an invalid input.

DefaultsProfile

object

An SSP connection's copy of your tenant's Default Setting and Security block: the click and impression windows (minutes; 0 is not set), the mismatches that hold a click and the security level. A new connection without one copies your tenant's.

PropertyTypeDescription
ttlobject
PropertyTypeDescription
click_dlinteger
  • Minimum: 0
  • Maximum: 43200
click_popinteger
  • Minimum: 0
  • Maximum: 43200
click_pushinteger
  • Minimum: 0
  • Maximum: 43200
imp_pushinteger
  • Minimum: 0
  • Maximum: 43200
imp_rtbinteger
  • Minimum: 0
  • Maximum: 43200
click_rtbinteger
  • Minimum: 0
  • Maximum: 43200
ivtarray of string

The mismatches between the bid and the click that hold a click, each once.

  • Max items: 3
securityinteger

0 none, 1 minimum, 2 medium, 3 maximum.

  • Minimum: 0
  • Maximum: 3

StatusInput

object

PropertyTypeDescription
status requiredboolean

true = active, false = paused. Required — omitting it is a 400 invalid_argument on status.

CompanyInformation

object

Commercial/billing details attached to a DSP or SSP.

PropertyTypeDescription
company_namestring
business_namestring
vat_numberstring
country_codestring

ISO 3166-1 alpha-2.

citystring
business_emailstring (email)
phone_numberstring
finance_emailstring (email)
addressstring
zip_codestring

BrowserSelection

object

Browser list for the browsers_selection_status gate. The gate is enforced only while the companion status flag is true.

PropertyTypeDescription
itemsarray of string

OSSelection

object

Operating-system list for the os_selection_status gate. The gate is enforced only while the companion status flag is true.

PropertyTypeDescription
itemsarray of string

DSPSummary

object

Slim DSP list row.

PropertyTypeDescription
uuid requiredstring (uuid)

Stable identifier — use this everywhere.

tenant_uuid requiredstring (uuid)

Internal bookkeeping field — safe to ignore. Not accepted on writes.

xxhash3 requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

name requiredstring
status requiredboolean

true = active, false = paused.

DSP

object

Full DSP (demand partner) record.

PropertyTypeDescription
uuid requiredstring (uuid)

Stable identifier — use this everywhere.

tenant_uuid requiredstring (uuid)

Internal bookkeeping field — safe to ignore. Not accepted on writes.

version requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

xxhash3 requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

name requiredstring
  • Min length: 2
  • Max length: 150
status requiredboolean

true = active, false = paused.

contact_name requiredstring
contact_email requiredstring
  • Max length: 255
daily_budget_status requiredboolean

Enables the daily budget cap.

daily_budget requiredinteger

Integer, whole US dollars.

  • Minimum: 0
monthly_budget_status requiredboolean

Enables the monthly budget cap.

monthly_budget requiredinteger

Integer, whole US dollars.

  • Minimum: 0
total_budget_status requiredboolean

Enables the lifetime budget cap.

total_budget requiredinteger

Integer, whole US dollars.

  • Minimum: 0
company_infoCompanyInformation

Omitted when never set.

created_at requiredstring (date-time)

RFC 3339 UTC.

updated_at requiredstring (date-time)

RFC 3339 UTC.

DSPWritableFields

object

Fields shared by DSP create and update.

PropertyTypeDescription
namestring

Unique within your tenant.

  • Min length: 2
  • Max length: 150
contact_namestring
contact_emailstring
  • Max length: 255
daily_budget_statusboolean

Enables the daily budget cap.

daily_budgetinteger

Integer, whole US dollars.

  • Minimum: 0
monthly_budget_statusboolean

Enables the monthly budget cap.

monthly_budgetinteger

Integer, whole US dollars.

  • Minimum: 0
total_budget_statusboolean

Enables the lifetime budget cap.

total_budgetinteger

Integer, whole US dollars.

  • Minimum: 0

DSPCreate

all of DSPWritableFields | object

Create payload. company_info may be set here too (the old API ignored it here), or afterwards via update.

DSPUpdate

all of DSPWritableFields | object

Partial update: omitted fields are unchanged; null is treated as omitted. Clear a list with [], a string with "".

DSPConnectionSummary

object

Slim DSP RTB connection list row.

PropertyTypeDescription
uuid requiredstring (uuid)

Stable identifier — use this everywhere.

xxhash3 requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

tenant_dsp_uuid requiredstring (uuid)

Parent DSP.

name requiredstring
status requiredboolean

true = active, false = paused.

distribution_tagsarray of string

Omitted when empty.

traffic_typearray of string

Omitted when empty.

allowed_trafficarray of string

Omitted when empty.

DSPConnection

object

Full DSP RTB connection record — the demand-side endpoint configuration. Tenant-sensitive: carries your endpoint URLs and margin setup.

PropertyTypeDescription
uuid requiredstring (uuid)

Stable identifier — use this everywhere.

tenant_uuid requiredstring (uuid)

Internal bookkeeping field — safe to ignore. Not accepted on writes.

version requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

xxhash3 requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

tenant_dsp_uuid requiredstring (uuid)

Parent DSP.

name requiredstring
  • Min length: 2
  • Max length: 150
status requiredboolean

true = active, false = paused.

endpoint_url requiredstring (uri)

The DSP's bid endpoint.

  • Max length: 2048
api_url requiredstring (uri)

Optional management/API URL for this DSP.

  • Max length: 2048
protocol_slug requiredstring

OpenRTB protocol version spoken on the wire.

  • One of: rtb_2_3, rtb_2_5, rtb_2_6, rtb_3_0
is_compressed requiredboolean

gzip request bodies to this endpoint.

publisher_id_override requiredstring

Non-empty → outgoing bid requests carry this value as publisher.id instead of the SSP-supplied one. Fixes "unrecognized pub point" DSP rejections.

  • Max length: 255
source_id_override requiredstring

Non-empty → replaces source.id on outgoing requests.

  • Max length: 255
qps_limitation_status requiredboolean

Enables the QPS cap.

qps requiredinteger

Queries per second cap; enforced only while qps_limitation_status is true.

  • Minimum: 0
sync_win_by_slug requiredstring

Which OpenRTB signal is treated as the billable win.

  • One of: adm, burl, nurl
min_margin_status requiredboolean

Enables the margin floor.

min_margin requiredinteger

Margin floor. Integer percent points (0–100), as in the tenant console's Min Margin % field.

  • Minimum: 0
max_margin_status requiredboolean

Enables the margin ceiling.

max_margin requiredinteger

Margin ceiling. Integer percent points (0–100), as in the tenant console's Max Margin % field.

  • Minimum: 0
margin_mode requiredstring

Margin formula. percentage: margin = DSP price × margin_percentage / 10000. fixed: margin = margin_fixed_cpm. The computed margin is then clamped to [min_margin, max_margin] where those gates are enabled.

  • One of: percentage, fixed
margin_percentage requiredinteger

Integer basis points (2000 = 20%). Used when margin_mode = percentage.

  • Minimum: 0
margin_fixed_cpm requiredinteger

Integer micro-US-dollars per 1,000 impressions (1,000,000 = $1.00 CPM). Used when margin_mode = fixed.

  • Minimum: 0
min_bid_status requiredboolean

Enables the bid floor.

min_bid requiredinteger

Bid floor. Integer micro-US-dollars CPM (1,000,000 = $1.00 CPM).

  • Minimum: 0
max_bid_status requiredboolean

Enables the bid ceiling.

max_bid requiredinteger

Bid ceiling. Integer micro-US-dollars CPM (1,000,000 = $1.00 CPM).

  • Minimum: 0
distribution_tagsarray of string

Ad formats this connection buys. Omitted when empty.

traffic_typearray of string

Traffic environments this connection buys. Omitted when empty.

allowed_trafficarray of string

Which demand classes may flow here: internal = your own campaigns, marketplace = platform marketplace demand, arbitrage = pure arbitrage. Omitted when empty.

daily_budget_status requiredboolean

Enables the daily budget cap.

daily_budget requiredinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
monthly_budget_status requiredboolean

Enables the monthly budget cap.

monthly_budget requiredinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
total_budget_status requiredboolean

Enables the lifetime budget cap.

total_budget requiredinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
daily_impressions_status requiredboolean

Enables the daily impression cap.

daily_impressions requiredinteger

Impression count.

  • Minimum: 0
monthly_impressions_status requiredboolean

Enables the monthly impression cap.

monthly_impressions requiredinteger

Impression count.

  • Minimum: 0
total_impressions_status requiredboolean

Enables the lifetime impression cap.

total_impressions requiredinteger

Impression count.

  • Minimum: 0
pacing_slug requiredstring

Budget pacing: spend as fast as possible or spread evenly.

  • One of: asap, even
datacenter requiredstring

Optional data-center hint for routing.

description requiredstring
allowed_transparency_layerarray of string

Accepted supply-chain transparency classes. Omitted when empty.

allowed_seller_typesarray of string

Accepted seller relationships. Omitted when empty.

allow_adult_traffic requiredboolean

Deprecated — not enforced. Use adult_traffic_mode.

adult_traffic_mode requiredstring

3-way brand-safety policy: allow = adult inventory may flow alongside mainstream, block = never send adult inventory, only = send only adult inventory.

  • One of: allow, block, only
require_privacy_policy requiredboolean

Only buy from inventory declaring a privacy policy.

block_coppa_traffic requiredboolean

Drop COPPA-flagged requests.

block_do_not_track requiredboolean

Drop DNT-flagged requests.

geolocation_blocklist_status requiredboolean

Enables the geo blocklist.

geolocation_blocklistarray of string

ISO 3166-1 alpha-2 country codes. Omitted when empty.

geolocation_whitelist_status requiredboolean

Enables the geo allowlist.

geolocation_whitelistarray of string

ISO 3166-1 alpha-2 country codes. Omitted when empty.

browsers_selection_status requiredboolean

Enables the browser gate.

browsers_objectBrowserSelection

Omitted when never set.

os_selection_status requiredboolean

Enables the OS gate.

os_objectOSSelection

Omitted when never set.

iab_category_status requiredboolean

Enables the IAB category gate.

iab_categoriesarray of string

IAB content category codes (e.g. IAB1). Omitted when empty.

default_connect_to_all_ssp requiredboolean

true = this connection receives traffic from every SSP connection; false = only from allowed_ssp_uuids.

allowed_ssp_uuidsarray of string (uuid)

SSP RTB connection allow-list, honored when default_connect_to_all_ssp is false. Must reference your own SSP connections. Omitted when empty.

ip_block_listsarray of string (uuid)

Targeting list references — UUIDs of reusable lists from your tenant's Lists catalogue (managed in the console under Lists). The bidder blocks any request whose IP appears in a referenced list. Empty = no list-based IP blocking. Omitted when empty.

ip_white_listsarray of string (uuid)

Tenant list UUIDs; only IPs in these lists pass. Omitted when empty.

domain_block_listsarray of string (uuid)

Tenant list UUIDs of blocked domains. Omitted when empty.

domain_white_listsarray of string (uuid)

Tenant list UUIDs of allowed domains. Omitted when empty.

bundle_block_listsarray of string (uuid)

Tenant list UUIDs of blocked app bundles. Omitted when empty.

bundle_white_listsarray of string (uuid)

Tenant list UUIDs of allowed app bundles. Omitted when empty.

sourceid_block_listsarray of string (uuid)

Tenant list UUIDs of blocked source ids. Omitted when empty.

sourceid_white_listsarray of string (uuid)

Tenant list UUIDs of allowed source ids. Omitted when empty.

advertisingid_block_listsarray of string (uuid)

Tenant list UUIDs of blocked advertising ids (IFA). Omitted when empty.

advertisingid_white_listsarray of string (uuid)

Tenant list UUIDs of allowed advertising ids (IFA). Omitted when empty.

created_at requiredstring (date-time)

RFC 3339 UTC.

updated_at requiredstring (date-time)

RFC 3339 UTC.

DSPConnectionWritableFields

object

Fields shared by DSP connection create and update. Same field vocabulary, enums and money units as the response schema (DSPConnection) — see it for per-field detail.

PropertyTypeDescription
namestring

Unique within your tenant.

  • Min length: 2
  • Max length: 150
endpoint_urlstring (uri)
  • Max length: 2048
api_urlstring (uri)
  • Max length: 2048
protocol_slugstring
  • One of: rtb_2_3, rtb_2_5, rtb_2_6, rtb_3_0
is_compressedboolean
publisher_id_overridestring
  • Max length: 255
source_id_overridestring
  • Max length: 255
qps_limitation_statusboolean
qpsinteger
  • Minimum: 0
sync_win_by_slugstring
  • One of: adm, burl, nurl
min_margin_statusboolean
min_margininteger

Integer percent points (0–100).

  • Minimum: 0
max_margin_statusboolean
max_margininteger

Integer percent points (0–100).

  • Minimum: 0
margin_modestring
  • One of: percentage, fixed
margin_percentageinteger

Integer basis points (2000 = 20%).

  • Minimum: 0
margin_fixed_cpminteger

Integer micro-US-dollars CPM (1,000,000 = $1.00 CPM).

  • Minimum: 0
min_bid_statusboolean
min_bidinteger

Integer micro-US-dollars CPM (1,000,000 = $1.00 CPM).

  • Minimum: 0
max_bid_statusboolean
max_bidinteger

Integer micro-US-dollars CPM (1,000,000 = $1.00 CPM).

  • Minimum: 0
distribution_tagsarray of string
traffic_typearray of string
allowed_trafficarray of string
daily_budget_statusboolean
daily_budgetinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
monthly_budget_statusboolean
monthly_budgetinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
total_budget_statusboolean
total_budgetinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
daily_impressions_statusboolean
daily_impressionsinteger
  • Minimum: 0
monthly_impressions_statusboolean
monthly_impressionsinteger
  • Minimum: 0
total_impressions_statusboolean
total_impressionsinteger
  • Minimum: 0
pacing_slugstring
  • One of: asap, even
datacenterstring
descriptionstring
allowed_transparency_layerarray of string
allowed_seller_typesarray of string
allow_adult_trafficboolean

Deprecated — not enforced. Use adult_traffic_mode.

adult_traffic_modestring
  • One of: allow, block, only
require_privacy_policyboolean
block_coppa_trafficboolean
block_do_not_trackboolean
geolocation_blocklist_statusboolean
geolocation_blocklistarray of string

ISO 3166-1 alpha-2 country codes.

geolocation_whitelist_statusboolean
geolocation_whitelistarray of string

ISO 3166-1 alpha-2 country codes.

browsers_selection_statusboolean
browsers_objectBrowserSelection
os_selection_statusboolean
os_objectOSSelection
iab_category_statusboolean
iab_categoriesarray of string
default_connect_to_all_sspboolean
allowed_ssp_uuidsarray of string (uuid)

Must reference your own SSP RTB connections (else 400 invalid_argument).

ip_block_listsarray of string (uuid)

Targeting list references — UUIDs of reusable lists from your tenant's Lists catalogue. On update, an omitted field leaves the stored refs untouched; send [] to clear.

ip_white_listsarray of string (uuid)
domain_block_listsarray of string (uuid)
domain_white_listsarray of string (uuid)
bundle_block_listsarray of string (uuid)
bundle_white_listsarray of string (uuid)
sourceid_block_listsarray of string (uuid)
sourceid_white_listsarray of string (uuid)
advertisingid_block_listsarray of string (uuid)
advertisingid_white_listsarray of string (uuid)

DSPConnectionCreate

all of DSPConnectionWritableFields | object

Create payload. tenant_dsp_uuid and name are required.

DSPConnectionUpdate

all of DSPConnectionWritableFields

Partial update: omitted fields are unchanged; null is treated as omitted. Clear a list with [], a string with "". The parent (tenant_dsp_uuid) cannot be changed.

SSPSummary

object

Slim SSP list row.

PropertyTypeDescription
uuid requiredstring (uuid)

Stable identifier — use this everywhere.

tenant_uuid requiredstring (uuid)

Internal bookkeeping field — safe to ignore. Not accepted on writes.

xxhash3 requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

name requiredstring
status requiredboolean

true = active, false = paused.

SSP

object

Full SSP (supply partner) record. Note: the budget flags are spelled *_budget_active here (the DSP entity uses *_budget_status) and company details live under company_information (DSP: company_info) — intentional, documented divergences.

PropertyTypeDescription
uuid requiredstring (uuid)

Stable identifier — use this everywhere.

tenant_uuid requiredstring (uuid)

Internal bookkeeping field — safe to ignore. Not accepted on writes.

version requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

xxhash3 requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

name requiredstring
  • Min length: 2
  • Max length: 150
status requiredboolean

true = active, false = paused.

contact_name requiredstring
contact_email requiredstring
  • Max length: 255
daily_budget_active requiredboolean

Enables the daily budget cap.

daily_budget requiredinteger

Integer, whole US dollars.

  • Minimum: 0
monthly_budget_active requiredboolean

Enables the monthly budget cap.

monthly_budget requiredinteger

Integer, whole US dollars.

  • Minimum: 0
total_budget_active requiredboolean

Enables the lifetime budget cap.

total_budget requiredinteger

Integer, whole US dollars.

  • Minimum: 0
company_informationCompanyInformation

Omitted when never set.

created_at requiredstring (date-time)

RFC 3339 UTC.

updated_at requiredstring (date-time)

RFC 3339 UTC.

SSPWritableFields

object

Fields shared by SSP create and update.

PropertyTypeDescription
namestring

Unique within your tenant.

  • Min length: 2
  • Max length: 150
contact_namestring
contact_emailstring
  • Max length: 255
daily_budget_activeboolean

Enables the daily budget cap.

daily_budgetinteger

Integer, whole US dollars.

  • Minimum: 0
monthly_budget_activeboolean

Enables the monthly budget cap.

monthly_budgetinteger

Integer, whole US dollars.

  • Minimum: 0
total_budget_activeboolean

Enables the lifetime budget cap.

total_budgetinteger

Integer, whole US dollars.

  • Minimum: 0

SSPCreate

all of SSPWritableFields | object

Create payload. company_information may be set here too (the old API ignored it here), or afterwards via update.

SSPUpdate

all of SSPWritableFields | object

Partial update: omitted fields are unchanged; null is treated as omitted. Clear a list with [], a string with "".

SSPConnectionSummary

object

Slim SSP RTB connection list row.

PropertyTypeDescription
uuid requiredstring (uuid)

Stable identifier — use this everywhere.

tenant_uuid requiredstring (uuid)

Internal bookkeeping field — safe to ignore. Not accepted on writes.

xxhash3 requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

tenant_ssp_uuid requiredstring (uuid)

Parent SSP.

name requiredstring
status requiredboolean

true = active, false = paused.

distribution_tagsarray of string

Omitted when empty.

traffic_typearray of string

Omitted when empty.

allowed_trafficarray of string

Omitted when empty.

adult_traffic_mode requiredstring

3-way brand-safety policy — see the full record.

  • One of: allow, block, only

SSPConnection

object

Full SSP RTB connection record — the supply-side endpoint configuration. Tenant-sensitive: carries your margin setup.

PropertyTypeDescription
uuid requiredstring (uuid)

Stable identifier — use this everywhere.

tenant_uuid requiredstring (uuid)

Internal bookkeeping field — safe to ignore. Not accepted on writes.

version requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

xxhash3 requiredstring

Internal bookkeeping field — safe to ignore. Not accepted on writes.

tenant_ssp_uuid requiredstring (uuid)

Parent SSP.

name requiredstring
  • Min length: 2
  • Max length: 150
status requiredboolean

true = active, false = paused.

protocol_slug requiredstring

OpenRTB protocol version accepted from this SSP.

  • One of: rtb_2_3, rtb_2_5, rtb_2_6, rtb_3_0
is_compressed requiredboolean

This SSP sends gzip request bodies.

qps_limitation_status requiredboolean

Enables the QPS cap.

qps requiredinteger

Queries per second cap; enforced only while qps_limitation_status is true.

  • Minimum: 0
sync_win_by_slug requiredstring

Which OpenRTB signal is treated as the billable win.

  • One of: adm, burl, nurl
min_margin_status requiredboolean

Enables the margin floor.

min_margin requiredinteger

Margin floor. Integer percent points (0–100): the auction only clears while the margin ratio stays at or above this share of the price.

  • Minimum: 0
max_margin_status requiredboolean

Enables the margin ceiling.

max_margin requiredinteger

Margin ceiling. Integer percent points (0–100).

  • Minimum: 0
min_bid_status requiredboolean

Enables the bid floor.

min_bid requiredinteger

Bid floor. Integer micro-US-dollars CPM (1,000,000 = $1.00 CPM).

  • Minimum: 0
max_bid_status requiredboolean

Enables the bid ceiling.

max_bid requiredinteger

Bid ceiling. Integer micro-US-dollars CPM (1,000,000 = $1.00 CPM).

  • Minimum: 0
distribution_tagsarray of string

Ad formats accepted from this supply. Omitted when empty.

traffic_typearray of string

Traffic environments accepted. Omitted when empty.

allowed_trafficarray of string

Which demand classes may serve on this supply: internal = your own campaigns, marketplace = platform marketplace demand, arbitrage = pure arbitrage. Omitted when empty.

daily_budget_status requiredboolean

Enables the daily spend cap.

daily_budget requiredinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
monthly_budget_status requiredboolean

Enables the monthly spend cap.

monthly_budget requiredinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
total_budget_status requiredboolean

Enables the lifetime spend cap.

total_budget requiredinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
daily_impressions_status requiredboolean

Enables the daily impression cap.

daily_impressions requiredinteger

Impression count.

  • Minimum: 0
monthly_impressions_status requiredboolean

Enables the monthly impression cap.

monthly_impressions requiredinteger

Impression count.

  • Minimum: 0
total_impressions_status requiredboolean

Enables the lifetime impression cap.

total_impressions requiredinteger

Impression count.

  • Minimum: 0
pacing_slug requiredstring

Spend pacing against the caps: as fast as possible or spread evenly.

  • One of: asap, even
datacenter requiredstring

Optional data-center hint for routing.

description requiredstring
allowed_transparency_layerarray of string

Accepted supply-chain transparency classes. Omitted when empty.

allowed_seller_typesarray of string

Accepted seller relationships. Omitted when empty.

allow_adult_traffic requiredboolean

Deprecated — not enforced. Use adult_traffic_mode.

adult_traffic_mode requiredstring

3-way brand-safety policy for this supply: allow = adult inventory may flow alongside mainstream, block = drop adult inventory, only = accept only adult inventory.

  • One of: allow, block, only
require_privacy_policy requiredboolean

Only accept inventory declaring a privacy policy.

block_coppa_traffic requiredboolean

Drop COPPA-flagged requests.

block_do_not_track requiredboolean

Drop DNT-flagged requests.

geolocation_blocklist_status requiredboolean

Enables the geo blocklist.

geolocation_blocklistarray of string

ISO 3166-1 alpha-2 country codes. Omitted when empty.

geolocation_whitelist_status requiredboolean

Enables the geo allowlist.

geolocation_whitelistarray of string

ISO 3166-1 alpha-2 country codes. Omitted when empty.

browsers_selection_status requiredboolean

Enables the browser gate.

browsers_objectBrowserSelection

Omitted when never set.

os_selection_status requiredboolean

Enables the OS gate.

os_objectOSSelection

Omitted when never set.

iab_category_status requiredboolean

Enables the IAB category gate.

iab_categoriesarray of string

IAB content category codes (e.g. IAB1). Omitted when empty.

default_connect_to_all_dsp requiredboolean

true = this supply fans out to every DSP connection; false = only to allowed_dsp_uuids.

allowed_dsp_uuidsarray of string (uuid)

DSP RTB connection allow-list, honored when default_connect_to_all_dsp is false. Must reference your own DSP connections. Omitted when empty.

ip_block_listsarray of string (uuid)

Targeting list references — UUIDs of reusable lists from your tenant's Lists catalogue (managed in the console under Lists). Requests whose IP appears in a referenced list are dropped. Empty = no list-based IP blocking. Omitted when empty.

ip_white_listsarray of string (uuid)

Tenant list UUIDs; only IPs in these lists pass. Omitted when empty.

domain_block_listsarray of string (uuid)

Tenant list UUIDs of blocked domains. Omitted when empty.

domain_white_listsarray of string (uuid)

Tenant list UUIDs of allowed domains. Omitted when empty.

bundle_block_listsarray of string (uuid)

Tenant list UUIDs of blocked app bundles. Omitted when empty.

bundle_white_listsarray of string (uuid)

Tenant list UUIDs of allowed app bundles. Omitted when empty.

sourceid_block_listsarray of string (uuid)

Tenant list UUIDs of blocked source ids. Omitted when empty.

sourceid_white_listsarray of string (uuid)

Tenant list UUIDs of allowed source ids. Omitted when empty.

advertisingid_block_listsarray of string (uuid)

Tenant list UUIDs of blocked advertising ids (IFA). Omitted when empty.

advertisingid_white_listsarray of string (uuid)

Tenant list UUIDs of allowed advertising ids (IFA). Omitted when empty.

defaults_profileDefaultsProfile

Your tenant's defaults as the connection copied them. Omitted when it holds none.

created_at requiredstring (date-time)

RFC 3339 UTC.

updated_at requiredstring (date-time)

RFC 3339 UTC.

SSPConnectionWritableFields

object

Fields shared by SSP connection create and update. Same field vocabulary, enums and money units as the response schema (SSPConnection) — see it for per-field detail.

PropertyTypeDescription
namestring

Unique within your tenant.

  • Min length: 2
  • Max length: 150
protocol_slugstring
  • One of: rtb_2_3, rtb_2_5, rtb_2_6, rtb_3_0
is_compressedboolean
qps_limitation_statusboolean
qpsinteger
  • Minimum: 0
sync_win_by_slugstring
  • One of: adm, burl, nurl
min_margin_statusboolean
min_margininteger

Integer percent points (0–100).

  • Minimum: 0
max_margin_statusboolean
max_margininteger

Integer percent points (0–100).

  • Minimum: 0
min_bid_statusboolean
min_bidinteger

Integer micro-US-dollars CPM (1,000,000 = $1.00 CPM).

  • Minimum: 0
max_bid_statusboolean
max_bidinteger

Integer micro-US-dollars CPM (1,000,000 = $1.00 CPM).

  • Minimum: 0
distribution_tagsarray of string
traffic_typearray of string
allowed_trafficarray of string
daily_budget_statusboolean
daily_budgetinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
monthly_budget_statusboolean
monthly_budgetinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
total_budget_statusboolean
total_budgetinteger

Integer micro-US-dollars (1,000,000 = $1.00).

  • Minimum: 0
daily_impressions_statusboolean
daily_impressionsinteger
  • Minimum: 0
monthly_impressions_statusboolean
monthly_impressionsinteger
  • Minimum: 0
total_impressions_statusboolean
total_impressionsinteger
  • Minimum: 0
pacing_slugstring
  • One of: asap, even
datacenterstring
descriptionstring
allowed_transparency_layerarray of string
allowed_seller_typesarray of string
allow_adult_trafficboolean

Deprecated — not enforced. Use adult_traffic_mode.

adult_traffic_modestring

3-way brand-safety policy: allow / block / only.

  • One of: allow, block, only
require_privacy_policyboolean
block_coppa_trafficboolean
block_do_not_trackboolean
geolocation_blocklist_statusboolean
geolocation_blocklistarray of string

ISO 3166-1 alpha-2 country codes.

geolocation_whitelist_statusboolean
geolocation_whitelistarray of string

ISO 3166-1 alpha-2 country codes.

browsers_selection_statusboolean
browsers_objectBrowserSelection
os_selection_statusboolean
os_objectOSSelection
iab_category_statusboolean
iab_categoriesarray of string
default_connect_to_all_dspboolean
allowed_dsp_uuidsarray of string (uuid)

Must reference your own DSP RTB connections (else 400 invalid_argument).

ip_block_listsarray of string (uuid)

Targeting list references — UUIDs of reusable lists from your tenant's Lists catalogue. On update, an omitted field leaves the stored refs untouched; send [] to clear.

ip_white_listsarray of string (uuid)
domain_block_listsarray of string (uuid)
domain_white_listsarray of string (uuid)
bundle_block_listsarray of string (uuid)
bundle_white_listsarray of string (uuid)
sourceid_block_listsarray of string (uuid)
sourceid_white_listsarray of string (uuid)
advertisingid_block_listsarray of string (uuid)
advertisingid_white_listsarray of string (uuid)
defaults_profileDefaultsProfile

Replaces the connection's copy of your tenant's defaults.

SSPConnectionCreate

all of SSPConnectionWritableFields | object

Create payload. tenant_ssp_uuid and name are required.

SSPConnectionUpdate

all of SSPConnectionWritableFields

Partial update: omitted fields are unchanged; null is treated as omitted. Clear a list with [], a string with "". The parent (tenant_ssp_uuid) cannot be changed.

ReportFilter

object

PropertyTypeDescription
dimension requiredReportDimension
op requiredstring
  • One of: is, isNot
values requiredarray of string

For entity dimensions (campaign, adSet, dspCreativeId, dsp, dspConnection, ssp, sspConnection) pass the UUID; for every other dimension pass the display value — exactly what /distinct-values returns in value.

listsarray of string (uuid)

Tenant list UUIDs whose member values would widen this filter. Not served yet: a filter that names lists is refused (400 invalid_argument on filters); name the values instead.

ReportParentValue

object

One ancestor in a tree drilldown: the dimension and the dims value (UUID for entity dims) of the branch being expanded.

PropertyTypeDescription
dimension requiredReportDimension
value requiredstring

ReportDimension

string

Report dimension. Canonical vocabulary below. The legacy spellings creativeId, osVersion, browserVersion are accepted and translated to dspCreativeId, osVersionMajor, browserVersionMajor. sourceId and keyword were removed (storage cost out of proportion to reporting value) — requesting them returns an explanatory note in unsupportedDims. platformCampaign/platformAdSet are only populated on marketplace-served traffic. hourOfDay is unavailable on ranges answered at the day grain (moved to unsupportedDims).

  • One of: date, hourOfDay, campaign, campaignType, adSet, dspCreativeId, platformCampaign, platformAdSet, creativeSize, adFormat, trafficType, ssp, sspConnection, dsp, dspConnection, domain, bundle, publisherId, tagId, sellerId, country, region, city, deviceType, deviceBrand, os, osVersionMajor, browserName, browserVersionMajor, language, connectionType, dataCenter, iabPrimary, reason

ReportRequest

object

PropertyTypeDescription
dateFrom requiredstring (date)

Inclusive, UTC, YYYY-MM-DD.

dateTo requiredstring (date)

Inclusive, UTC, YYYY-MM-DD.

groupByarray of ReportDimension

Dimensions to group rows by.

pivotDimsarray of ReportDimension

Extra dimensions folded into the flat aggregation (ignored in tree mode, i.e. when depth > 0).

filtersarray of ReportFilter
scopestring

campaign = first-party demand only; programmatic = pure-arbitrage only; empty/omitted = everything.

  • One of: campaign, programmatic,
advertiserUUIDsarray of string (uuid)

With scope: advertiser, only these advertisers' campaigns; every advertiser's when empty. Ignored on every other scope.

includeMarketplaceboolean

Only meaningful with scope: programmatic: false (default) keeps the report pure-arbitrage by excluding marketplace serves; true folds the platform-marketplace serves back in.

depthinteger

Tree mode: group by groupBy[0:depth] only, one row per child branch of parentPath. Must be between 1 and len(groupBy). Omit (or 0) for flat aggregation.

  • Minimum: 1
parentPatharray of ReportParentValue

The pinned ancestors in tree mode. Must equal groupBy[0:depth-1] in order — a mismatch returns 400.

sortBystring

A metric id — auctions, bids, impressions, clicks, conversions, spend, revenue, profit, ctr, winRate, fillRate, ecpm, rpi, cvr — or a grouped dimension id to sort by that column. Anything unknown falls back to revenue.

  • Default: revenue
sortDirstring
  • One of: asc, desc
  • Default: desc
pageinteger

The page; omitted (or 0) is the first. A negative one is a 400 invalid_argument on page.

  • Default: 1
  • Minimum: 1
pageSizeinteger

Rows per page, 1 to 10000. Omitted (or 0) = 50. A negative value or a value above 10000 is a 400 invalid_argument on pageSize.

  • Default: 50
  • Minimum: 1
  • Maximum: 10000

ReportRow

object

One aggregated bucket.

PropertyTypeDescription
dims requiredobject of string

Dimension values keyed by dimension id. For entity dimensions (campaign, adSet, dsp, dspConnection, ssp, sspConnection, dspCreativeId) this is the stable UUID and dimLabels carries the display name; render dimLabels[k] ?? dims[k]. Filters and parentPath take the dims value. date is YYYY-MM-DD UTC; hourOfDay is "0".."23" UTC.

dimLabelsobject of string

Human-readable labels for dims whose dims value is opaque (entity UUIDs). Omitted when nothing needed labelling.

auctions requiredinteger
bids requiredinteger
impressions requiredinteger
clicks requiredinteger
conversions requiredinteger
spend requirednumber

Decimal US dollars paid to supply.

revenue requirednumber

Decimal US dollars earned from demand.

ipMatchPctnumber or null

Share (0..1) of device-fired callback events in this bucket whose peer IP did not provably contradict the bid request's claimed device IP — a traffic-legitimacy signal. Absent/null when the bucket produced no device-fired events.

  • Minimum: 0
  • Maximum: 1

ReportResponse

object

One page of rows. total is the number of rows the request matches across all pages and totalPages is total in pages of pageSize: request page 1 to totalPages. There is no totals row — the server does not sum the range for a machine call (a second full pass over the same grouping), so sum rows yourself if you need range totals. A range of whole days is answered from the daily store unless the request groups or filters on hourOfDay.

PropertyTypeDescription
rows requiredarray of ReportRow
page requiredinteger

The page served (1-based).

pageSize requiredinteger

The page size served — the request's, or 50 when it named none.

total requiredinteger

Rows the request matches across all pages.

totalPages requiredinteger

total in pages of pageSize (rounded up); 0 when nothing matches.

appliedGroupBy requiredarray of string

The grouping the server actually used.

unsupportedDims requiredarray of string

Dimensions the server had to drop. May contain human-readable warning sentences (e.g. why a removed dimension no longer exists, or that hourOfDay is unavailable at the day grain) — surface them to the operator rather than parsing them.

unsupportedMetricsarray of string

Metric ids the store serving this request cannot measure; they are projected as 0 in every row. Render them as absent, never as a measured zero.

tier requiredstring

Which grain answered. Whole-day ranges read bi_v2_day; a request that groups or filters on hourOfDay reads the minute grain (range starting ≤1 day back) or the hour grain (≤29 days).

  • One of: bi_v2_minute, bi_v2_hour, bi_v2_day

DistinctValuesRequest

object

PropertyTypeDescription
dim requiredReportDimension
searchstring

Optional case-insensitive substring filter.

limitinteger

Max values returned, ceiling 500. A value of 0, a negative value, or a value above 500 falls back to the default of 100.

  • Maximum: 500

DistinctValueRow

object

One picker entry.

PropertyTypeDescription
value requiredstring

What report filters match on: the entity UUID for entity dimensions, the display value otherwise.

labelstring

Human-readable form, set when value is opaque (entity dimensions, bare bundle ids). Omitted otherwise.

count requiredinteger

Ranking volume (auctions, last 30 days). 0 = not measured (canonical-source listings), not necessarily unused.

kindstring

What value is: uuid for entity dimensions, value for display values.

  • One of: uuid, value

DistinctValuesResponse

object

PropertyTypeDescription
values requiredarray of DistinctValueRow