@adcp/sdk 5.25.1 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -7
- package/dist/lib/compliance-fixtures/index.d.ts +1 -1
- package/dist/lib/compliance-fixtures/index.js +1 -1
- package/dist/lib/core/AgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.js +27 -0
- package/dist/lib/core/SingleAgentClient.js.map +1 -1
- package/dist/lib/core/TaskExecutor.d.ts +21 -0
- package/dist/lib/core/TaskExecutor.d.ts.map +1 -1
- package/dist/lib/core/TaskExecutor.js +25 -2
- package/dist/lib/core/TaskExecutor.js.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +7 -8
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/schemas/index.d.ts +1 -1
- package/dist/lib/schemas/index.js +1 -1
- package/dist/lib/schemas-data/v2.5/_provenance.json +8 -0
- package/dist/lib/schemas-data/v2.5/adagents.json +494 -0
- package/dist/lib/schemas-data/v2.5/core/activation-key.json +50 -0
- package/dist/lib/schemas-data/v2.5/core/assets/audio-asset.json +32 -0
- package/dist/lib/schemas-data/v2.5/core/assets/css-asset.json +21 -0
- package/dist/lib/schemas-data/v2.5/core/assets/daast-asset.json +87 -0
- package/dist/lib/schemas-data/v2.5/core/assets/html-asset.json +21 -0
- package/dist/lib/schemas-data/v2.5/core/assets/image-asset.json +38 -0
- package/dist/lib/schemas-data/v2.5/core/assets/javascript-asset.json +21 -0
- package/dist/lib/schemas-data/v2.5/core/assets/markdown-asset.json +31 -0
- package/dist/lib/schemas-data/v2.5/core/assets/text-asset.json +21 -0
- package/dist/lib/schemas-data/v2.5/core/assets/url-asset.json +26 -0
- package/dist/lib/schemas-data/v2.5/core/assets/vast-asset.json +87 -0
- package/dist/lib/schemas-data/v2.5/core/assets/video-asset.json +44 -0
- package/dist/lib/schemas-data/v2.5/core/assets/webhook-asset.json +71 -0
- package/dist/lib/schemas-data/v2.5/core/async-response-data.json +88 -0
- package/dist/lib/schemas-data/v2.5/core/brand-manifest-ref.json +33 -0
- package/dist/lib/schemas-data/v2.5/core/brand-manifest.json +409 -0
- package/dist/lib/schemas-data/v2.5/core/context.json +8 -0
- package/dist/lib/schemas-data/v2.5/core/creative-asset.json +125 -0
- package/dist/lib/schemas-data/v2.5/core/creative-assignment.json +31 -0
- package/dist/lib/schemas-data/v2.5/core/creative-filters.json +111 -0
- package/dist/lib/schemas-data/v2.5/core/creative-manifest.json +72 -0
- package/dist/lib/schemas-data/v2.5/core/creative-policy.json +27 -0
- package/dist/lib/schemas-data/v2.5/core/delivery-metrics.json +171 -0
- package/dist/lib/schemas-data/v2.5/core/deployment.json +93 -0
- package/dist/lib/schemas-data/v2.5/core/destination.json +53 -0
- package/dist/lib/schemas-data/v2.5/core/error.json +40 -0
- package/dist/lib/schemas-data/v2.5/core/ext.json +8 -0
- package/dist/lib/schemas-data/v2.5/core/format-id.json +47 -0
- package/dist/lib/schemas-data/v2.5/core/format.json +324 -0
- package/dist/lib/schemas-data/v2.5/core/frequency-cap.json +18 -0
- package/dist/lib/schemas-data/v2.5/core/mcp-webhook-payload.json +152 -0
- package/dist/lib/schemas-data/v2.5/core/measurement.json +48 -0
- package/dist/lib/schemas-data/v2.5/core/media-buy.json +62 -0
- package/dist/lib/schemas-data/v2.5/core/package.json +72 -0
- package/dist/lib/schemas-data/v2.5/core/performance-feedback.json +90 -0
- package/dist/lib/schemas-data/v2.5/core/placement.json +34 -0
- package/dist/lib/schemas-data/v2.5/core/pricing-option.json +35 -0
- package/dist/lib/schemas-data/v2.5/core/product-filters.json +102 -0
- package/dist/lib/schemas-data/v2.5/core/product.json +153 -0
- package/dist/lib/schemas-data/v2.5/core/promoted-offerings.json +115 -0
- package/dist/lib/schemas-data/v2.5/core/promoted-products.json +67 -0
- package/dist/lib/schemas-data/v2.5/core/property-id.json +14 -0
- package/dist/lib/schemas-data/v2.5/core/property-tag.json +16 -0
- package/dist/lib/schemas-data/v2.5/core/property.json +62 -0
- package/dist/lib/schemas-data/v2.5/core/protocol-envelope.json +146 -0
- package/dist/lib/schemas-data/v2.5/core/publisher-property-selector.json +92 -0
- package/dist/lib/schemas-data/v2.5/core/push-notification-config.json +48 -0
- package/dist/lib/schemas-data/v2.5/core/reporting-capabilities.json +71 -0
- package/dist/lib/schemas-data/v2.5/core/response.json +24 -0
- package/dist/lib/schemas-data/v2.5/core/signal-filters.json +35 -0
- package/dist/lib/schemas-data/v2.5/core/start-timing.json +18 -0
- package/dist/lib/schemas-data/v2.5/core/sub-asset.json +79 -0
- package/dist/lib/schemas-data/v2.5/core/targeting.json +50 -0
- package/dist/lib/schemas-data/v2.5/core/tasks-get-request.json +43 -0
- package/dist/lib/schemas-data/v2.5/core/tasks-get-response.json +166 -0
- package/dist/lib/schemas-data/v2.5/core/tasks-list-request.json +192 -0
- package/dist/lib/schemas-data/v2.5/core/tasks-list-response.json +183 -0
- package/dist/lib/schemas-data/v2.5/creative/asset-types/index.json +101 -0
- package/dist/lib/schemas-data/v2.5/creative/list-creative-formats-request.json +73 -0
- package/dist/lib/schemas-data/v2.5/creative/list-creative-formats-response.json +61 -0
- package/dist/lib/schemas-data/v2.5/creative/preview-creative-request.json +164 -0
- package/dist/lib/schemas-data/v2.5/creative/preview-creative-response.json +245 -0
- package/dist/lib/schemas-data/v2.5/creative/preview-render.json +225 -0
- package/dist/lib/schemas-data/v2.5/enums/adcp-domain.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/asset-content-type.json +22 -0
- package/dist/lib/schemas-data/v2.5/enums/auth-scheme.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/available-metric.json +18 -0
- package/dist/lib/schemas-data/v2.5/enums/channels.json +18 -0
- package/dist/lib/schemas-data/v2.5/enums/co-branding-requirement.json +12 -0
- package/dist/lib/schemas-data/v2.5/enums/creative-action.json +14 -0
- package/dist/lib/schemas-data/v2.5/enums/creative-agent-capability.json +13 -0
- package/dist/lib/schemas-data/v2.5/enums/creative-sort-field.json +15 -0
- package/dist/lib/schemas-data/v2.5/enums/creative-status.json +19 -0
- package/dist/lib/schemas-data/v2.5/enums/daast-tracking-event.json +20 -0
- package/dist/lib/schemas-data/v2.5/enums/daast-version.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/delivery-type.json +15 -0
- package/dist/lib/schemas-data/v2.5/enums/dimension-unit.json +13 -0
- package/dist/lib/schemas-data/v2.5/enums/feed-format.json +12 -0
- package/dist/lib/schemas-data/v2.5/enums/feedback-source.json +13 -0
- package/dist/lib/schemas-data/v2.5/enums/format-category.json +16 -0
- package/dist/lib/schemas-data/v2.5/enums/format-id-parameter.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/frequency-cap-scope.json +13 -0
- package/dist/lib/schemas-data/v2.5/enums/history-entry-type.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/http-method.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/identifier-types.json +34 -0
- package/dist/lib/schemas-data/v2.5/enums/javascript-module-type.json +12 -0
- package/dist/lib/schemas-data/v2.5/enums/landing-page-requirement.json +12 -0
- package/dist/lib/schemas-data/v2.5/enums/markdown-flavor.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/media-buy-status.json +19 -0
- package/dist/lib/schemas-data/v2.5/enums/metric-type.json +17 -0
- package/dist/lib/schemas-data/v2.5/enums/notification-type.json +13 -0
- package/dist/lib/schemas-data/v2.5/enums/pacing.json +17 -0
- package/dist/lib/schemas-data/v2.5/enums/preview-output-format.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/pricing-model.json +25 -0
- package/dist/lib/schemas-data/v2.5/enums/property-type.json +16 -0
- package/dist/lib/schemas-data/v2.5/enums/publisher-identifier-types.json +19 -0
- package/dist/lib/schemas-data/v2.5/enums/reporting-frequency.json +12 -0
- package/dist/lib/schemas-data/v2.5/enums/signal-catalog-type.json +12 -0
- package/dist/lib/schemas-data/v2.5/enums/sort-direction.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/standard-format-ids.json +103 -0
- package/dist/lib/schemas-data/v2.5/enums/task-status.json +29 -0
- package/dist/lib/schemas-data/v2.5/enums/task-type.json +27 -0
- package/dist/lib/schemas-data/v2.5/enums/update-frequency.json +13 -0
- package/dist/lib/schemas-data/v2.5/enums/url-asset-type.json +12 -0
- package/dist/lib/schemas-data/v2.5/enums/validation-mode.json +11 -0
- package/dist/lib/schemas-data/v2.5/enums/vast-tracking-event.json +25 -0
- package/dist/lib/schemas-data/v2.5/enums/vast-version.json +14 -0
- package/dist/lib/schemas-data/v2.5/enums/webhook-response-type.json +13 -0
- package/dist/lib/schemas-data/v2.5/enums/webhook-security-method.json +12 -0
- package/dist/lib/schemas-data/v2.5/index.json +604 -0
- package/dist/lib/schemas-data/v2.5/media-buy/build-creative-request.json +31 -0
- package/dist/lib/schemas-data/v2.5/media-buy/build-creative-response.json +65 -0
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-async-response-input-required.json +31 -0
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-async-response-submitted.json +16 -0
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-async-response-working.json +36 -0
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-request.json +126 -0
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-response.json +97 -0
- package/dist/lib/schemas-data/v2.5/media-buy/get-media-buy-delivery-request.json +54 -0
- package/dist/lib/schemas-data/v2.5/media-buy/get-media-buy-delivery-response.json +285 -0
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-async-response-input-required.json +38 -0
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-async-response-submitted.json +21 -0
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-async-response-working.json +34 -0
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-request.json +28 -0
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-response.json +33 -0
- package/dist/lib/schemas-data/v2.5/media-buy/list-authorized-properties-request.json +26 -0
- package/dist/lib/schemas-data/v2.5/media-buy/list-authorized-properties-response.json +70 -0
- package/dist/lib/schemas-data/v2.5/media-buy/list-creative-formats-request.json +58 -0
- package/dist/lib/schemas-data/v2.5/media-buy/list-creative-formats-response.json +61 -0
- package/dist/lib/schemas-data/v2.5/media-buy/list-creatives-request.json +137 -0
- package/dist/lib/schemas-data/v2.5/media-buy/list-creatives-response.json +437 -0
- package/dist/lib/schemas-data/v2.5/media-buy/package-request.json +80 -0
- package/dist/lib/schemas-data/v2.5/media-buy/provide-performance-feedback-request.json +88 -0
- package/dist/lib/schemas-data/v2.5/media-buy/provide-performance-feedback-response.json +66 -0
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-async-response-input-required.json +25 -0
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-async-response-submitted.json +16 -0
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-async-response-working.json +46 -0
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-request.json +178 -0
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-response.json +149 -0
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-async-response-input-required.json +24 -0
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-async-response-submitted.json +16 -0
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-async-response-working.json +36 -0
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-request.json +129 -0
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-response.json +99 -0
- package/dist/lib/schemas-data/v2.5/pricing-options/cpc-option.json +52 -0
- package/dist/lib/schemas-data/v2.5/pricing-options/cpcv-option.json +52 -0
- package/dist/lib/schemas-data/v2.5/pricing-options/cpm-auction-option.json +81 -0
- package/dist/lib/schemas-data/v2.5/pricing-options/cpm-fixed-option.json +52 -0
- package/dist/lib/schemas-data/v2.5/pricing-options/cpp-option.json +73 -0
- package/dist/lib/schemas-data/v2.5/pricing-options/cpv-option.json +88 -0
- package/dist/lib/schemas-data/v2.5/pricing-options/flat-rate-option.json +93 -0
- package/dist/lib/schemas-data/v2.5/pricing-options/vcpm-auction-option.json +81 -0
- package/dist/lib/schemas-data/v2.5/pricing-options/vcpm-fixed-option.json +52 -0
- package/dist/lib/schemas-data/v2.5/protocols/adcp-extension.json +33 -0
- package/dist/lib/schemas-data/v2.5/signals/activate-signal-request.json +32 -0
- package/dist/lib/schemas-data/v2.5/signals/activate-signal-response.json +68 -0
- package/dist/lib/schemas-data/v2.5/signals/get-signals-request.json +59 -0
- package/dist/lib/schemas-data/v2.5/signals/get-signals-response.json +100 -0
- package/dist/lib/server/create-adcp-server.d.ts +129 -11
- package/dist/lib/server/create-adcp-server.d.ts.map +1 -1
- package/dist/lib/server/create-adcp-server.js +127 -2
- package/dist/lib/server/create-adcp-server.js.map +1 -1
- package/dist/lib/server/ctx-metadata/backends/memory.d.ts +27 -0
- package/dist/lib/server/ctx-metadata/backends/memory.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/backends/memory.js +72 -0
- package/dist/lib/server/ctx-metadata/backends/memory.js.map +1 -0
- package/dist/lib/server/ctx-metadata/backends/pg.d.ts +62 -0
- package/dist/lib/server/ctx-metadata/backends/pg.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/backends/pg.js +145 -0
- package/dist/lib/server/ctx-metadata/backends/pg.js.map +1 -0
- package/dist/lib/server/ctx-metadata/index.d.ts +15 -0
- package/dist/lib/server/ctx-metadata/index.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/index.js +28 -0
- package/dist/lib/server/ctx-metadata/index.js.map +1 -0
- package/dist/lib/server/ctx-metadata/store.d.ts +177 -0
- package/dist/lib/server/ctx-metadata/store.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/store.js +327 -0
- package/dist/lib/server/ctx-metadata/store.js.map +1 -0
- package/dist/lib/server/ctx-metadata/wire-shape.d.ts +55 -0
- package/dist/lib/server/ctx-metadata/wire-shape.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/wire-shape.js +121 -0
- package/dist/lib/server/ctx-metadata/wire-shape.js.map +1 -0
- package/dist/lib/server/decisioning/account.d.ts +309 -0
- package/dist/lib/server/decisioning/account.d.ts.map +1 -0
- package/dist/lib/server/decisioning/account.js +102 -0
- package/dist/lib/server/decisioning/account.js.map +1 -0
- package/dist/lib/server/decisioning/admin-router.d.ts +75 -0
- package/dist/lib/server/decisioning/admin-router.d.ts.map +1 -0
- package/dist/lib/server/decisioning/admin-router.js +120 -0
- package/dist/lib/server/decisioning/admin-router.js.map +1 -0
- package/dist/lib/server/decisioning/assembly-helpers.d.ts +204 -0
- package/dist/lib/server/decisioning/assembly-helpers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/assembly-helpers.js +173 -0
- package/dist/lib/server/decisioning/assembly-helpers.js.map +1 -0
- package/dist/lib/server/decisioning/async-outcome.d.ts +154 -0
- package/dist/lib/server/decisioning/async-outcome.d.ts.map +1 -0
- package/dist/lib/server/decisioning/async-outcome.js +239 -0
- package/dist/lib/server/decisioning/async-outcome.js.map +1 -0
- package/dist/lib/server/decisioning/capabilities.d.ts +251 -0
- package/dist/lib/server/decisioning/capabilities.d.ts.map +1 -0
- package/dist/lib/server/decisioning/capabilities.js +16 -0
- package/dist/lib/server/decisioning/capabilities.js.map +1 -0
- package/dist/lib/server/decisioning/context.d.ts +212 -0
- package/dist/lib/server/decisioning/context.d.ts.map +1 -0
- package/dist/lib/server/decisioning/context.js +26 -0
- package/dist/lib/server/decisioning/context.js.map +1 -0
- package/dist/lib/server/decisioning/errors-typed.d.ts +104 -0
- package/dist/lib/server/decisioning/errors-typed.d.ts.map +1 -0
- package/dist/lib/server/decisioning/errors-typed.js +304 -0
- package/dist/lib/server/decisioning/errors-typed.js.map +1 -0
- package/dist/lib/server/decisioning/helpers.d.ts +131 -0
- package/dist/lib/server/decisioning/helpers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/helpers.js +134 -0
- package/dist/lib/server/decisioning/helpers.js.map +1 -0
- package/dist/lib/server/decisioning/index.d.ts +46 -0
- package/dist/lib/server/decisioning/index.d.ts.map +1 -0
- package/dist/lib/server/decisioning/index.js +120 -0
- package/dist/lib/server/decisioning/index.js.map +1 -0
- package/dist/lib/server/decisioning/list-helpers.d.ts +53 -0
- package/dist/lib/server/decisioning/list-helpers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/list-helpers.js +96 -0
- package/dist/lib/server/decisioning/list-helpers.js.map +1 -0
- package/dist/lib/server/decisioning/manifest-helpers.d.ts +56 -0
- package/dist/lib/server/decisioning/manifest-helpers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/manifest-helpers.js +78 -0
- package/dist/lib/server/decisioning/manifest-helpers.js.map +1 -0
- package/dist/lib/server/decisioning/pagination.d.ts +21 -0
- package/dist/lib/server/decisioning/pagination.d.ts.map +1 -0
- package/dist/lib/server/decisioning/pagination.js +12 -0
- package/dist/lib/server/decisioning/pagination.js.map +1 -0
- package/dist/lib/server/decisioning/platform.d.ts +188 -0
- package/dist/lib/server/decisioning/platform.d.ts.map +1 -0
- package/dist/lib/server/decisioning/platform.js +19 -0
- package/dist/lib/server/decisioning/platform.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/from-platform.d.ts +510 -0
- package/dist/lib/server/decisioning/runtime/from-platform.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/from-platform.js +2196 -0
- package/dist/lib/server/decisioning/runtime/from-platform.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.d.ts +114 -0
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.js +247 -0
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/protocol-for-tool.d.ts +32 -0
- package/dist/lib/server/decisioning/runtime/protocol-for-tool.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/protocol-for-tool.js +127 -0
- package/dist/lib/server/decisioning/runtime/protocol-for-tool.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/task-registry.d.ts +105 -0
- package/dist/lib/server/decisioning/runtime/task-registry.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/task-registry.js +96 -0
- package/dist/lib/server/decisioning/runtime/task-registry.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/to-context.d.ts +54 -0
- package/dist/lib/server/decisioning/runtime/to-context.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/to-context.js +166 -0
- package/dist/lib/server/decisioning/runtime/to-context.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/validate-platform.d.ts +20 -0
- package/dist/lib/server/decisioning/runtime/validate-platform.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/validate-platform.js +93 -0
- package/dist/lib/server/decisioning/runtime/validate-platform.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/audiences.d.ts +72 -0
- package/dist/lib/server/decisioning/specialisms/audiences.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/audiences.js +15 -0
- package/dist/lib/server/decisioning/specialisms/audiences.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/brand-rights.d.ts +92 -0
- package/dist/lib/server/decisioning/specialisms/brand-rights.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/brand-rights.js +28 -0
- package/dist/lib/server/decisioning/specialisms/brand-rights.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/campaign-governance.d.ts +67 -0
- package/dist/lib/server/decisioning/specialisms/campaign-governance.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/campaign-governance.js +31 -0
- package/dist/lib/server/decisioning/specialisms/campaign-governance.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/content-standards.d.ts +78 -0
- package/dist/lib/server/decisioning/specialisms/content-standards.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/content-standards.js +35 -0
- package/dist/lib/server/decisioning/specialisms/content-standards.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts +81 -0
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.js +28 -0
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/creative.d.ts +144 -0
- package/dist/lib/server/decisioning/specialisms/creative.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/creative.js +19 -0
- package/dist/lib/server/decisioning/specialisms/creative.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/lists.d.ts +61 -0
- package/dist/lib/server/decisioning/specialisms/lists.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/lists.js +30 -0
- package/dist/lib/server/decisioning/specialisms/lists.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/sales.d.ts +163 -0
- package/dist/lib/server/decisioning/specialisms/sales.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/sales.js +64 -0
- package/dist/lib/server/decisioning/specialisms/sales.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/signals.d.ts +64 -0
- package/dist/lib/server/decisioning/specialisms/signals.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/signals.js +28 -0
- package/dist/lib/server/decisioning/specialisms/signals.js.map +1 -0
- package/dist/lib/server/decisioning/start-time.d.ts +76 -0
- package/dist/lib/server/decisioning/start-time.d.ts.map +1 -0
- package/dist/lib/server/decisioning/start-time.js +81 -0
- package/dist/lib/server/decisioning/start-time.js.map +1 -0
- package/dist/lib/server/decisioning/status-changes.d.ts +165 -0
- package/dist/lib/server/decisioning/status-changes.d.ts.map +1 -0
- package/dist/lib/server/decisioning/status-changes.js +131 -0
- package/dist/lib/server/decisioning/status-changes.js.map +1 -0
- package/dist/lib/server/decisioning/status-mappers.d.ts +46 -0
- package/dist/lib/server/decisioning/status-mappers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/status-mappers.js +46 -0
- package/dist/lib/server/decisioning/status-mappers.js.map +1 -0
- package/dist/lib/server/decisioning/tenant-registry.d.ts +289 -0
- package/dist/lib/server/decisioning/tenant-registry.d.ts.map +1 -0
- package/dist/lib/server/decisioning/tenant-registry.js +503 -0
- package/dist/lib/server/decisioning/tenant-registry.js.map +1 -0
- package/dist/lib/server/express-adapter.d.ts +1 -1
- package/dist/lib/server/express-adapter.js +1 -1
- package/dist/lib/server/governance.d.ts +1 -1
- package/dist/lib/server/governance.js +1 -1
- package/dist/lib/server/idempotency/store.d.ts +1 -1
- package/dist/lib/server/idempotency/store.js +1 -1
- package/dist/lib/server/index.d.ts +9 -2
- package/dist/lib/server/index.d.ts.map +1 -1
- package/dist/lib/server/index.js +79 -4
- package/dist/lib/server/index.js.map +1 -1
- package/dist/lib/server/legacy/v5/index.d.ts +38 -0
- package/dist/lib/server/legacy/v5/index.d.ts.map +1 -0
- package/dist/lib/server/legacy/v5/index.js +60 -0
- package/dist/lib/server/legacy/v5/index.js.map +1 -0
- package/dist/lib/server/normalize-errors.d.ts +88 -0
- package/dist/lib/server/normalize-errors.d.ts.map +1 -0
- package/dist/lib/server/normalize-errors.js +146 -0
- package/dist/lib/server/normalize-errors.js.map +1 -0
- package/dist/lib/server/pick-safe-details.d.ts +90 -0
- package/dist/lib/server/pick-safe-details.d.ts.map +1 -0
- package/dist/lib/server/pick-safe-details.js +148 -0
- package/dist/lib/server/pick-safe-details.js.map +1 -0
- package/dist/lib/server/postgres-state-store.d.ts +1 -1
- package/dist/lib/server/postgres-state-store.js +1 -1
- package/dist/lib/server/responses.d.ts +38 -0
- package/dist/lib/server/responses.d.ts.map +1 -1
- package/dist/lib/server/responses.js +38 -0
- package/dist/lib/server/responses.js.map +1 -1
- package/dist/lib/server/state-store.d.ts +1 -1
- package/dist/lib/server/state-store.js +1 -1
- package/dist/lib/server/test-controller.d.ts +10 -3
- package/dist/lib/server/test-controller.d.ts.map +1 -1
- package/dist/lib/server/test-controller.js +10 -3
- package/dist/lib/server/test-controller.js.map +1 -1
- package/dist/lib/testing/comply-controller.d.ts +47 -1
- package/dist/lib/testing/comply-controller.d.ts.map +1 -1
- package/dist/lib/testing/comply-controller.js +11 -4
- package/dist/lib/testing/comply-controller.js.map +1 -1
- package/dist/lib/testing/index.d.ts +1 -1
- package/dist/lib/testing/index.d.ts.map +1 -1
- package/dist/lib/testing/index.js.map +1 -1
- package/dist/lib/testing/personas/index.d.ts +143 -0
- package/dist/lib/testing/personas/index.d.ts.map +1 -0
- package/dist/lib/testing/personas/index.js +190 -0
- package/dist/lib/testing/personas/index.js.map +1 -0
- package/dist/lib/testing/storyboard/index.d.ts +1 -1
- package/dist/lib/testing/storyboard/index.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/index.js +3 -2
- package/dist/lib/testing/storyboard/index.js.map +1 -1
- package/dist/lib/testing/storyboard/runner.d.ts +13 -0
- package/dist/lib/testing/storyboard/runner.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/runner.js +260 -7
- package/dist/lib/testing/storyboard/runner.js.map +1 -1
- package/dist/lib/types/asset-instances.d.ts +1 -0
- package/dist/lib/types/asset-instances.d.ts.map +1 -1
- package/dist/lib/types/core.generated.d.ts +203 -98
- package/dist/lib/types/core.generated.d.ts.map +1 -1
- package/dist/lib/types/core.generated.js +1 -1
- package/dist/lib/types/index.d.ts +1 -0
- package/dist/lib/types/index.d.ts.map +1 -1
- package/dist/lib/types/index.js.map +1 -1
- package/dist/lib/types/schemas.generated.d.ts +599 -159
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +175 -94
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/tools.generated.d.ts +315 -46
- package/dist/lib/types/tools.generated.d.ts.map +1 -1
- package/dist/lib/utils/capabilities.d.ts +1 -1
- package/dist/lib/utils/capabilities.d.ts.map +1 -1
- package/dist/lib/utils/capabilities.js +6 -0
- package/dist/lib/utils/capabilities.js.map +1 -1
- package/dist/lib/utils/creative-adapter.d.ts +32 -2
- package/dist/lib/utils/creative-adapter.d.ts.map +1 -1
- package/dist/lib/utils/creative-adapter.js +42 -6
- package/dist/lib/utils/creative-adapter.js.map +1 -1
- package/dist/lib/validation/schema-loader.d.ts.map +1 -1
- package/dist/lib/validation/schema-loader.js +20 -2
- package/dist/lib/validation/schema-loader.js.map +1 -1
- package/dist/lib/validation/schema-validator.d.ts +13 -0
- package/dist/lib/validation/schema-validator.d.ts.map +1 -1
- package/dist/lib/validation/schema-validator.js +240 -3
- package/dist/lib/validation/schema-validator.js.map +1 -1
- package/dist/lib/version.d.ts +3 -3
- package/dist/lib/version.d.ts.map +1 -1
- package/dist/lib/version.js +3 -3
- package/dist/lib/version.js.map +1 -1
- package/docs/guides/BUILD-AN-AGENT.md +30 -5
- package/docs/llms.txt +28 -17
- package/examples/README.md +3 -1
- package/examples/decisioning-platform-broadcast-tv.ts +300 -0
- package/examples/decisioning-platform-identity-graph.ts +214 -0
- package/examples/decisioning-platform-mock-seller.ts +332 -0
- package/examples/decisioning-platform-multi-tenant.ts +128 -0
- package/examples/decisioning-platform-programmatic.ts +254 -0
- package/examples/signals-agent.ts +1 -1
- package/package.json +18 -5
- package/skills/build-brand-rights-agent/SKILL.md +10 -3
- package/skills/build-creative-agent/SKILL.md +94 -64
- package/skills/build-decisioning-creative-template/SKILL.md +554 -0
- package/skills/build-decisioning-platform/SKILL.md +304 -0
- package/skills/build-decisioning-platform/advanced/BRAND-RIGHTS.md +25 -0
- package/skills/build-decisioning-platform/advanced/COMPLIANCE.md +23 -0
- package/skills/build-decisioning-platform/advanced/GOVERNANCE.md +24 -0
- package/skills/build-decisioning-platform/advanced/HITL.md +34 -0
- package/skills/build-decisioning-platform/advanced/IDEMPOTENCY.md +52 -0
- package/skills/build-decisioning-platform/advanced/MULTI-TENANT.md +47 -0
- package/skills/build-decisioning-platform/advanced/OAUTH.md +22 -0
- package/skills/build-decisioning-platform/advanced/REFERENCE.md +991 -0
- package/skills/build-decisioning-platform/advanced/SANDBOX.md +24 -0
- package/skills/build-decisioning-platform/advanced/STATE-MACHINE.md +52 -0
- package/skills/build-decisioning-signal-marketplace/SKILL.md +269 -0
- package/skills/build-generative-seller-agent/SKILL.md +89 -53
- package/skills/build-governance-agent/SKILL.md +76 -45
- package/skills/build-retail-media-agent/SKILL.md +87 -62
- package/skills/build-seller-agent/SKILL.md +384 -255
- package/skills/build-seller-agent/deployment.md +5 -3
- package/skills/build-seller-agent/specialisms/audience-sync.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-broadcast-tv.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-guaranteed.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-non-guaranteed.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-proposal-mode.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-social.md +0 -2
- package/skills/build-seller-agent/specialisms/signed-requests.md +0 -2
- package/skills/build-si-agent/SKILL.md +40 -32
- package/skills/build-signals-agent/SKILL.md +139 -92
- package/skills/call-adcp-agent.previous/SKILL.md +5 -0
|
@@ -0,0 +1,604 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/schemas/index.json",
|
|
4
|
+
"title": "AdCP Schema Registry v1",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "Registry of all AdCP JSON schemas for validation and discovery",
|
|
7
|
+
"adcp_version": "2.5.3",
|
|
8
|
+
"standard_formats_version": "2.0.0",
|
|
9
|
+
"versioning": {
|
|
10
|
+
"note": "AdCP uses path-based versioning. The schema URL path (/schemas/) indicates the version. Individual request/response schemas do NOT include adcp_version fields. Compatibility follows semantic versioning rules."
|
|
11
|
+
},
|
|
12
|
+
"changelog": {
|
|
13
|
+
"2.0.0": {
|
|
14
|
+
"date": "2025-10-14",
|
|
15
|
+
"breaking_changes": [
|
|
16
|
+
"Added renders array to Format schema with role and dimensions fields (replaces top-level dimensions)",
|
|
17
|
+
"Formats now specify rendered outputs via renders array - enables companion ads, adaptive formats, and multi-placement",
|
|
18
|
+
"Each render includes role (primary, companion, mobile_variant, etc.) and structured dimensions object",
|
|
19
|
+
"Removed string dimensions field from standard display formats",
|
|
20
|
+
"Renamed preview response 'outputs' to 'renders' to avoid confusion with generative format output_format_ids",
|
|
21
|
+
"Removed format_id from preview renders (all renders are from the same format)",
|
|
22
|
+
"Removed hints object from preview renders (use format lookup for render specifications instead)",
|
|
23
|
+
"Changed preview render field names: output_id→render_id, output_role→role, added dimensions field"
|
|
24
|
+
],
|
|
25
|
+
"rationale": "Renders array with structured dimensions eliminates parsing ambiguity and uniformly supports single and multi-render formats. Multi-render preview support enables companion ads and adaptive formats. Terminology changes prevent confusion between preview rendering and generative format outputs. Simplified schema removes redundant fields."
|
|
26
|
+
},
|
|
27
|
+
"1.8.0": {
|
|
28
|
+
"date": "2025-10-13",
|
|
29
|
+
"changes": [
|
|
30
|
+
"Previous version with string-based dimensions"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"lastUpdated": "2025-11-22",
|
|
35
|
+
"baseUrl": "/schemas/v1",
|
|
36
|
+
"schemas": {
|
|
37
|
+
"core": {
|
|
38
|
+
"description": "Core data models used throughout AdCP",
|
|
39
|
+
"schemas": {
|
|
40
|
+
"product": {
|
|
41
|
+
"$ref": "/schemas/core/product.json",
|
|
42
|
+
"description": "Represents available advertising inventory"
|
|
43
|
+
},
|
|
44
|
+
"media-buy": {
|
|
45
|
+
"$ref": "/schemas/core/media-buy.json",
|
|
46
|
+
"description": "Represents a purchased advertising campaign"
|
|
47
|
+
},
|
|
48
|
+
"package": {
|
|
49
|
+
"$ref": "/schemas/core/package.json",
|
|
50
|
+
"description": "A specific product within a media buy (line item)"
|
|
51
|
+
},
|
|
52
|
+
"creative-asset": {
|
|
53
|
+
"$ref": "/schemas/core/creative-asset.json",
|
|
54
|
+
"description": "Creative asset for upload to library - supports static assets, generative formats, and third-party ad serving (VAST, DAAST, HTML, JavaScript)"
|
|
55
|
+
},
|
|
56
|
+
"targeting": {
|
|
57
|
+
"$ref": "/schemas/core/targeting.json",
|
|
58
|
+
"description": "Audience targeting criteria"
|
|
59
|
+
},
|
|
60
|
+
"frequency-cap": {
|
|
61
|
+
"$ref": "/schemas/core/frequency-cap.json",
|
|
62
|
+
"description": "Frequency capping settings"
|
|
63
|
+
},
|
|
64
|
+
"format": {
|
|
65
|
+
"$ref": "/schemas/core/format.json",
|
|
66
|
+
"description": "Represents a creative format with its requirements"
|
|
67
|
+
},
|
|
68
|
+
"measurement": {
|
|
69
|
+
"$ref": "/schemas/core/measurement.json",
|
|
70
|
+
"description": "Measurement capabilities included with a product"
|
|
71
|
+
},
|
|
72
|
+
"delivery-metrics": {
|
|
73
|
+
"$ref": "/schemas/core/delivery-metrics.json",
|
|
74
|
+
"description": "Standard delivery metrics for reporting"
|
|
75
|
+
},
|
|
76
|
+
"creative-policy": {
|
|
77
|
+
"$ref": "/schemas/core/creative-policy.json",
|
|
78
|
+
"description": "Creative requirements and restrictions for a product"
|
|
79
|
+
},
|
|
80
|
+
"response": {
|
|
81
|
+
"$ref": "/schemas/core/response.json",
|
|
82
|
+
"description": "Standard response structure (MCP)"
|
|
83
|
+
},
|
|
84
|
+
"error": {
|
|
85
|
+
"$ref": "/schemas/core/error.json",
|
|
86
|
+
"description": "Standard error structure"
|
|
87
|
+
},
|
|
88
|
+
"sub-asset": {
|
|
89
|
+
"$ref": "/schemas/core/sub-asset.json",
|
|
90
|
+
"description": "Sub-asset for multi-asset creative formats"
|
|
91
|
+
},
|
|
92
|
+
"creative-assignment": {
|
|
93
|
+
"$ref": "/schemas/core/creative-assignment.json",
|
|
94
|
+
"description": "Assignment of a creative asset to a package"
|
|
95
|
+
},
|
|
96
|
+
"creative-manifest": {
|
|
97
|
+
"$ref": "/schemas/core/creative-manifest.json",
|
|
98
|
+
"description": "Complete specification of a creative with all assets needed for rendering"
|
|
99
|
+
},
|
|
100
|
+
"performance-feedback": {
|
|
101
|
+
"$ref": "/schemas/core/performance-feedback.json",
|
|
102
|
+
"description": "Performance feedback data for a media buy or package"
|
|
103
|
+
},
|
|
104
|
+
"property": {
|
|
105
|
+
"$ref": "/schemas/core/property.json",
|
|
106
|
+
"description": "An advertising property that can be validated via adagents.json"
|
|
107
|
+
},
|
|
108
|
+
"brand-manifest": {
|
|
109
|
+
"$ref": "/schemas/core/brand-manifest.json",
|
|
110
|
+
"description": "Standardized brand information manifest for creative generation and media buying"
|
|
111
|
+
},
|
|
112
|
+
"brand-manifest-ref": {
|
|
113
|
+
"$ref": "/schemas/core/brand-manifest-ref.json",
|
|
114
|
+
"description": "Brand manifest reference (inline object or URL)"
|
|
115
|
+
},
|
|
116
|
+
"promoted-products": {
|
|
117
|
+
"$ref": "/schemas/core/promoted-products.json",
|
|
118
|
+
"description": "Product or offering selection for campaigns with multiple selection methods"
|
|
119
|
+
},
|
|
120
|
+
"start-timing": {
|
|
121
|
+
"$ref": "/schemas/core/start-timing.json",
|
|
122
|
+
"description": "Campaign start timing: 'asap' or ISO 8601 date-time"
|
|
123
|
+
},
|
|
124
|
+
"pricing-option": {
|
|
125
|
+
"$ref": "/schemas/core/pricing-option.json",
|
|
126
|
+
"description": "A pricing model option offered by a publisher for a product"
|
|
127
|
+
},
|
|
128
|
+
"protocol-envelope": {
|
|
129
|
+
"$ref": "/schemas/core/protocol-envelope.json",
|
|
130
|
+
"description": "Standard envelope structure added by protocol layer (MCP, A2A, REST) that wraps task response payloads with protocol-level fields like status, context_id, task_id, and message"
|
|
131
|
+
},
|
|
132
|
+
"placement": {
|
|
133
|
+
"$ref": "/schemas/core/placement.json",
|
|
134
|
+
"description": "Represents a specific ad placement within a product's inventory"
|
|
135
|
+
},
|
|
136
|
+
"mcp-webhook-payload": {
|
|
137
|
+
"$ref": "/schemas/core/mcp-webhook-payload.json",
|
|
138
|
+
"description": "MCP-specific webhook payload structure for HTTP-based push notifications. Protocol-level fields at top-level (task_id, status, etc.) and AdCP data layer nested under 'result'. NOT used in A2A (uses native statusUpdate)."
|
|
139
|
+
},
|
|
140
|
+
"destination": {
|
|
141
|
+
"$ref": "/schemas/core/destination.json",
|
|
142
|
+
"description": "A destination platform where signals can be activated (DSP, sales agent, etc.)"
|
|
143
|
+
},
|
|
144
|
+
"deployment": {
|
|
145
|
+
"$ref": "/schemas/core/deployment.json",
|
|
146
|
+
"description": "A signal deployment to a specific destination platform with activation status and key"
|
|
147
|
+
},
|
|
148
|
+
"publisher-property-selector": {
|
|
149
|
+
"$ref": "/schemas/core/publisher-property-selector.json",
|
|
150
|
+
"description": "Selects properties from a publisher's adagents.json - supports three patterns: all properties, specific IDs, or by tags"
|
|
151
|
+
},
|
|
152
|
+
"product-filters": {
|
|
153
|
+
"$ref": "/schemas/core/product-filters.json",
|
|
154
|
+
"description": "Structured filters for product discovery"
|
|
155
|
+
},
|
|
156
|
+
"creative-filters": {
|
|
157
|
+
"$ref": "/schemas/core/creative-filters.json",
|
|
158
|
+
"description": "Filter criteria for querying creative assets from the centralized library"
|
|
159
|
+
},
|
|
160
|
+
"signal-filters": {
|
|
161
|
+
"$ref": "/schemas/core/signal-filters.json",
|
|
162
|
+
"description": "Filters to refine signal discovery results"
|
|
163
|
+
},
|
|
164
|
+
"property-id": {
|
|
165
|
+
"$ref": "/schemas/core/property-id.json",
|
|
166
|
+
"description": "Identifier for a publisher property - lowercase alphanumeric with underscores only"
|
|
167
|
+
},
|
|
168
|
+
"property-tag": {
|
|
169
|
+
"$ref": "/schemas/core/property-tag.json",
|
|
170
|
+
"description": "Tag for categorizing publisher properties - lowercase alphanumeric with underscores only"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"enums": {
|
|
175
|
+
"description": "Enumerated types and constants",
|
|
176
|
+
"schemas": {
|
|
177
|
+
"pricing-model": {
|
|
178
|
+
"$ref": "/schemas/enums/pricing-model.json",
|
|
179
|
+
"description": "Supported pricing models for advertising products"
|
|
180
|
+
},
|
|
181
|
+
"delivery-type": {
|
|
182
|
+
"$ref": "/schemas/enums/delivery-type.json",
|
|
183
|
+
"description": "Type of inventory delivery"
|
|
184
|
+
},
|
|
185
|
+
"media-buy-status": {
|
|
186
|
+
"$ref": "/schemas/enums/media-buy-status.json",
|
|
187
|
+
"description": "Status of a media buy"
|
|
188
|
+
},
|
|
189
|
+
"creative-status": {
|
|
190
|
+
"$ref": "/schemas/enums/creative-status.json",
|
|
191
|
+
"description": "Status of a creative asset"
|
|
192
|
+
},
|
|
193
|
+
"pacing": {
|
|
194
|
+
"$ref": "/schemas/enums/pacing.json",
|
|
195
|
+
"description": "Budget pacing strategy"
|
|
196
|
+
},
|
|
197
|
+
"frequency-cap-scope": {
|
|
198
|
+
"$ref": "/schemas/enums/frequency-cap-scope.json",
|
|
199
|
+
"description": "Scope for frequency cap application"
|
|
200
|
+
},
|
|
201
|
+
"standard-format-ids": {
|
|
202
|
+
"$ref": "/schemas/enums/standard-format-ids.json",
|
|
203
|
+
"description": "Enumeration of all standard creative format identifiers"
|
|
204
|
+
},
|
|
205
|
+
"identifier-types": {
|
|
206
|
+
"$ref": "/schemas/enums/identifier-types.json",
|
|
207
|
+
"description": "Valid identifier types for property identification across different media types"
|
|
208
|
+
},
|
|
209
|
+
"publisher-identifier-types": {
|
|
210
|
+
"$ref": "/schemas/enums/publisher-identifier-types.json",
|
|
211
|
+
"description": "Valid identifier types for publisher/legal entity identification (TAG ID, DUNS, LEI, seller_id, GLN)"
|
|
212
|
+
},
|
|
213
|
+
"channels": {
|
|
214
|
+
"$ref": "/schemas/enums/channels.json",
|
|
215
|
+
"description": "Advertising channels (display, video, dooh, ctv, audio, etc.)"
|
|
216
|
+
},
|
|
217
|
+
"task-status": {
|
|
218
|
+
"$ref": "/schemas/enums/task-status.json",
|
|
219
|
+
"description": "Standardized task status values based on A2A TaskState enum"
|
|
220
|
+
},
|
|
221
|
+
"task-type": {
|
|
222
|
+
"$ref": "/schemas/enums/task-type.json",
|
|
223
|
+
"description": "Valid AdCP task types across all domains (create_media_buy, update_media_buy, sync_creatives, activate_signal, get_signals)"
|
|
224
|
+
},
|
|
225
|
+
"asset-content-type": {
|
|
226
|
+
"$ref": "/schemas/enums/asset-content-type.json",
|
|
227
|
+
"description": "Types of content that can be used as creative assets (image, video, html, etc.)"
|
|
228
|
+
},
|
|
229
|
+
"format-category": {
|
|
230
|
+
"$ref": "/schemas/enums/format-category.json",
|
|
231
|
+
"description": "High-level categories for creative formats (audio, video, display, native, dooh, rich_media, universal)"
|
|
232
|
+
},
|
|
233
|
+
"vast-version": {
|
|
234
|
+
"$ref": "/schemas/enums/vast-version.json",
|
|
235
|
+
"description": "Supported VAST specification versions (2.0, 3.0, 4.0, 4.1, 4.2)"
|
|
236
|
+
},
|
|
237
|
+
"vast-tracking-event": {
|
|
238
|
+
"$ref": "/schemas/enums/vast-tracking-event.json",
|
|
239
|
+
"description": "Standard VAST tracking events for video playback and interaction"
|
|
240
|
+
},
|
|
241
|
+
"property-type": {
|
|
242
|
+
"$ref": "/schemas/enums/property-type.json",
|
|
243
|
+
"description": "Types of advertising properties (website, mobile_app, ctv_app, dooh, podcast, radio, streaming_audio)"
|
|
244
|
+
},
|
|
245
|
+
"dimension-unit": {
|
|
246
|
+
"$ref": "/schemas/enums/dimension-unit.json",
|
|
247
|
+
"description": "Units of measurement for creative format dimensions (px, dp, inches, cm)"
|
|
248
|
+
},
|
|
249
|
+
"co-branding-requirement": {
|
|
250
|
+
"$ref": "/schemas/enums/co-branding-requirement.json",
|
|
251
|
+
"description": "Co-branding policy for creatives (required, optional, none)"
|
|
252
|
+
},
|
|
253
|
+
"landing-page-requirement": {
|
|
254
|
+
"$ref": "/schemas/enums/landing-page-requirement.json",
|
|
255
|
+
"description": "Landing page policy for creative destinations (any, retailer_site_only, must_include_retailer)"
|
|
256
|
+
},
|
|
257
|
+
"daast-version": {
|
|
258
|
+
"$ref": "/schemas/enums/daast-version.json",
|
|
259
|
+
"description": "Supported DAAST specification versions (1.0, 1.1)"
|
|
260
|
+
},
|
|
261
|
+
"daast-tracking-event": {
|
|
262
|
+
"$ref": "/schemas/enums/daast-tracking-event.json",
|
|
263
|
+
"description": "Standard DAAST tracking events for audio playback and interaction"
|
|
264
|
+
},
|
|
265
|
+
"signal-catalog-type": {
|
|
266
|
+
"$ref": "/schemas/enums/signal-catalog-type.json",
|
|
267
|
+
"description": "Types of signal catalogs (marketplace, custom, owned)"
|
|
268
|
+
},
|
|
269
|
+
"metric-type": {
|
|
270
|
+
"$ref": "/schemas/enums/metric-type.json",
|
|
271
|
+
"description": "Performance metric types for feedback and optimization"
|
|
272
|
+
},
|
|
273
|
+
"feedback-source": {
|
|
274
|
+
"$ref": "/schemas/enums/feedback-source.json",
|
|
275
|
+
"description": "Source of performance feedback data"
|
|
276
|
+
},
|
|
277
|
+
"creative-agent-capability": {
|
|
278
|
+
"$ref": "/schemas/enums/creative-agent-capability.json",
|
|
279
|
+
"description": "Capabilities supported by creative agents (validation, assembly, generation, preview)"
|
|
280
|
+
},
|
|
281
|
+
"adcp-domain": {
|
|
282
|
+
"$ref": "/schemas/enums/adcp-domain.json",
|
|
283
|
+
"description": "AdCP protocol domains (media-buy, signals)"
|
|
284
|
+
},
|
|
285
|
+
"http-method": {
|
|
286
|
+
"$ref": "/schemas/enums/http-method.json",
|
|
287
|
+
"description": "HTTP methods for webhook requests (GET, POST)"
|
|
288
|
+
},
|
|
289
|
+
"webhook-response-type": {
|
|
290
|
+
"$ref": "/schemas/enums/webhook-response-type.json",
|
|
291
|
+
"description": "Expected response content types from webhooks"
|
|
292
|
+
},
|
|
293
|
+
"webhook-security-method": {
|
|
294
|
+
"$ref": "/schemas/enums/webhook-security-method.json",
|
|
295
|
+
"description": "Security methods for webhook authentication"
|
|
296
|
+
},
|
|
297
|
+
"javascript-module-type": {
|
|
298
|
+
"$ref": "/schemas/enums/javascript-module-type.json",
|
|
299
|
+
"description": "JavaScript module format types (esm, commonjs, script)"
|
|
300
|
+
},
|
|
301
|
+
"markdown-flavor": {
|
|
302
|
+
"$ref": "/schemas/enums/markdown-flavor.json",
|
|
303
|
+
"description": "Markdown specification flavors (commonmark, gfm)"
|
|
304
|
+
},
|
|
305
|
+
"url-asset-type": {
|
|
306
|
+
"$ref": "/schemas/enums/url-asset-type.json",
|
|
307
|
+
"description": "Types of URL assets (clickthrough, tracker_pixel, tracker_script)"
|
|
308
|
+
},
|
|
309
|
+
"validation-mode": {
|
|
310
|
+
"$ref": "/schemas/enums/validation-mode.json",
|
|
311
|
+
"description": "Creative validation strictness levels (strict, lenient)"
|
|
312
|
+
},
|
|
313
|
+
"creative-action": {
|
|
314
|
+
"$ref": "/schemas/enums/creative-action.json",
|
|
315
|
+
"description": "Actions taken on creatives during sync (created, updated, unchanged, failed, deleted)"
|
|
316
|
+
},
|
|
317
|
+
"notification-type": {
|
|
318
|
+
"$ref": "/schemas/enums/notification-type.json",
|
|
319
|
+
"description": "Types of delivery notifications (scheduled, final, delayed, adjusted)"
|
|
320
|
+
},
|
|
321
|
+
"reporting-frequency": {
|
|
322
|
+
"$ref": "/schemas/enums/reporting-frequency.json",
|
|
323
|
+
"description": "Frequencies for delivery reports (hourly, daily, monthly)"
|
|
324
|
+
},
|
|
325
|
+
"available-metric": {
|
|
326
|
+
"$ref": "/schemas/enums/available-metric.json",
|
|
327
|
+
"description": "Standard delivery and performance metrics for reporting"
|
|
328
|
+
},
|
|
329
|
+
"preview-output-format": {
|
|
330
|
+
"$ref": "/schemas/enums/preview-output-format.json",
|
|
331
|
+
"description": "Output formats for creative previews (url, html)"
|
|
332
|
+
},
|
|
333
|
+
"sort-direction": {
|
|
334
|
+
"$ref": "/schemas/enums/sort-direction.json",
|
|
335
|
+
"description": "Sort direction for list queries (asc, desc)"
|
|
336
|
+
},
|
|
337
|
+
"history-entry-type": {
|
|
338
|
+
"$ref": "/schemas/enums/history-entry-type.json",
|
|
339
|
+
"description": "Type of task history entry (request, response)"
|
|
340
|
+
},
|
|
341
|
+
"feed-format": {
|
|
342
|
+
"$ref": "/schemas/enums/feed-format.json",
|
|
343
|
+
"description": "Product catalog feed formats"
|
|
344
|
+
},
|
|
345
|
+
"update-frequency": {
|
|
346
|
+
"$ref": "/schemas/enums/update-frequency.json",
|
|
347
|
+
"description": "Frequency of product catalog updates"
|
|
348
|
+
},
|
|
349
|
+
"auth-scheme": {
|
|
350
|
+
"$ref": "/schemas/enums/auth-scheme.json",
|
|
351
|
+
"description": "Authentication schemes for push notifications"
|
|
352
|
+
},
|
|
353
|
+
"creative-sort-field": {
|
|
354
|
+
"$ref": "/schemas/enums/creative-sort-field.json",
|
|
355
|
+
"description": "Fields available for sorting creative listings"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"pricing-options": {
|
|
360
|
+
"description": "Individual pricing model schemas with model-specific validation. CPM and vCPM support both fixed and auction pricing; all other models are fixed-rate only.",
|
|
361
|
+
"schemas": {
|
|
362
|
+
"cpm-fixed-option": {
|
|
363
|
+
"$ref": "/schemas/pricing-options/cpm-fixed-option.json",
|
|
364
|
+
"description": "Cost Per Mille (CPM) fixed-rate pricing for direct/guaranteed deals"
|
|
365
|
+
},
|
|
366
|
+
"cpm-auction-option": {
|
|
367
|
+
"$ref": "/schemas/pricing-options/cpm-auction-option.json",
|
|
368
|
+
"description": "Cost Per Mille (CPM) auction-based pricing for programmatic/non-guaranteed inventory"
|
|
369
|
+
},
|
|
370
|
+
"vcpm-fixed-option": {
|
|
371
|
+
"$ref": "/schemas/pricing-options/vcpm-fixed-option.json",
|
|
372
|
+
"description": "Viewable Cost Per Mille (vCPM) fixed-rate pricing for viewability-guaranteed deals"
|
|
373
|
+
},
|
|
374
|
+
"vcpm-auction-option": {
|
|
375
|
+
"$ref": "/schemas/pricing-options/vcpm-auction-option.json",
|
|
376
|
+
"description": "Viewable Cost Per Mille (vCPM) auction-based pricing for programmatic inventory with viewability guarantee"
|
|
377
|
+
},
|
|
378
|
+
"cpc-option": {
|
|
379
|
+
"$ref": "/schemas/pricing-options/cpc-option.json",
|
|
380
|
+
"description": "Cost Per Click (CPC) fixed-rate pricing for performance campaigns"
|
|
381
|
+
},
|
|
382
|
+
"cpcv-option": {
|
|
383
|
+
"$ref": "/schemas/pricing-options/cpcv-option.json",
|
|
384
|
+
"description": "Cost Per Completed View (CPCV) fixed-rate pricing for video/audio"
|
|
385
|
+
},
|
|
386
|
+
"cpv-option": {
|
|
387
|
+
"$ref": "/schemas/pricing-options/cpv-option.json",
|
|
388
|
+
"description": "Cost Per View (CPV) fixed-rate pricing with threshold"
|
|
389
|
+
},
|
|
390
|
+
"cpp-option": {
|
|
391
|
+
"$ref": "/schemas/pricing-options/cpp-option.json",
|
|
392
|
+
"description": "Cost Per Point (CPP) fixed-rate pricing for TV/audio with demographic measurement"
|
|
393
|
+
},
|
|
394
|
+
"flat-rate-option": {
|
|
395
|
+
"$ref": "/schemas/pricing-options/flat-rate-option.json",
|
|
396
|
+
"description": "Flat rate pricing for DOOH and sponsorships"
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"media-buy": {
|
|
401
|
+
"description": "Media buy task request/response schemas",
|
|
402
|
+
"supporting-schemas": {
|
|
403
|
+
"package-request": {
|
|
404
|
+
"$ref": "/schemas/media-buy/package-request.json",
|
|
405
|
+
"description": "Package configuration for media buy creation - used within create_media_buy request"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"tasks": {
|
|
409
|
+
"get-products": {
|
|
410
|
+
"request": {
|
|
411
|
+
"$ref": "/schemas/media-buy/get-products-request.json",
|
|
412
|
+
"description": "Request parameters for discovering available advertising products"
|
|
413
|
+
},
|
|
414
|
+
"response": {
|
|
415
|
+
"$ref": "/schemas/media-buy/get-products-response.json",
|
|
416
|
+
"description": "Response payload for get_products task"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"list-creative-formats": {
|
|
420
|
+
"request": {
|
|
421
|
+
"$ref": "/schemas/media-buy/list-creative-formats-request.json",
|
|
422
|
+
"description": "Request parameters for discovering format IDs and creative agents supported by this sales agent"
|
|
423
|
+
},
|
|
424
|
+
"response": {
|
|
425
|
+
"$ref": "/schemas/media-buy/list-creative-formats-response.json",
|
|
426
|
+
"description": "Response payload with format_ids and creative_agents list. Sales agent returns which formats it supports and which creative agents provide those formats. Buyers query creative agents for full format specifications."
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
"create-media-buy": {
|
|
430
|
+
"request": {
|
|
431
|
+
"$ref": "/schemas/media-buy/create-media-buy-request.json",
|
|
432
|
+
"description": "Request parameters for creating a media buy"
|
|
433
|
+
},
|
|
434
|
+
"response": {
|
|
435
|
+
"$ref": "/schemas/media-buy/create-media-buy-response.json",
|
|
436
|
+
"description": "Response payload for create_media_buy task"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"sync-creatives": {
|
|
440
|
+
"request": {
|
|
441
|
+
"$ref": "/schemas/media-buy/sync-creatives-request.json",
|
|
442
|
+
"description": "Request parameters for syncing creative assets with upsert semantics"
|
|
443
|
+
},
|
|
444
|
+
"response": {
|
|
445
|
+
"$ref": "/schemas/media-buy/sync-creatives-response.json",
|
|
446
|
+
"description": "Response payload for sync_creatives task"
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"list-creatives": {
|
|
450
|
+
"request": {
|
|
451
|
+
"$ref": "/schemas/media-buy/list-creatives-request.json",
|
|
452
|
+
"description": "Request parameters for querying creative library with filtering and pagination"
|
|
453
|
+
},
|
|
454
|
+
"response": {
|
|
455
|
+
"$ref": "/schemas/media-buy/list-creatives-response.json",
|
|
456
|
+
"description": "Response payload for list_creatives task"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"update-media-buy": {
|
|
460
|
+
"request": {
|
|
461
|
+
"$ref": "/schemas/media-buy/update-media-buy-request.json",
|
|
462
|
+
"description": "Request parameters for updating campaign and package settings"
|
|
463
|
+
},
|
|
464
|
+
"response": {
|
|
465
|
+
"$ref": "/schemas/media-buy/update-media-buy-response.json",
|
|
466
|
+
"description": "Response payload for update_media_buy task"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"get-media-buy-delivery": {
|
|
470
|
+
"request": {
|
|
471
|
+
"$ref": "/schemas/media-buy/get-media-buy-delivery-request.json",
|
|
472
|
+
"description": "Request parameters for retrieving comprehensive delivery metrics"
|
|
473
|
+
},
|
|
474
|
+
"response": {
|
|
475
|
+
"$ref": "/schemas/media-buy/get-media-buy-delivery-response.json",
|
|
476
|
+
"description": "Response payload for get_media_buy_delivery task"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"list-authorized-properties": {
|
|
480
|
+
"request": {
|
|
481
|
+
"$ref": "/schemas/media-buy/list-authorized-properties-request.json",
|
|
482
|
+
"description": "Request parameters for discovering all properties this agent is authorized to represent"
|
|
483
|
+
},
|
|
484
|
+
"response": {
|
|
485
|
+
"$ref": "/schemas/media-buy/list-authorized-properties-response.json",
|
|
486
|
+
"description": "Response payload for list_authorized_properties task"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"provide-performance-feedback": {
|
|
490
|
+
"request": {
|
|
491
|
+
"$ref": "/schemas/media-buy/provide-performance-feedback-request.json",
|
|
492
|
+
"description": "Request parameters for sharing performance outcomes with publishers"
|
|
493
|
+
},
|
|
494
|
+
"response": {
|
|
495
|
+
"$ref": "/schemas/media-buy/provide-performance-feedback-response.json",
|
|
496
|
+
"description": "Response payload for provide_performance_feedback task"
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"creative": {
|
|
502
|
+
"description": "Creative protocol task request/response schemas and asset type definitions",
|
|
503
|
+
"tasks": {
|
|
504
|
+
"build-creative": {
|
|
505
|
+
"request": {
|
|
506
|
+
"$ref": "/schemas/media-buy/build-creative-request.json",
|
|
507
|
+
"description": "Request parameters for AI-powered creative generation"
|
|
508
|
+
},
|
|
509
|
+
"response": {
|
|
510
|
+
"$ref": "/schemas/media-buy/build-creative-response.json",
|
|
511
|
+
"description": "Response payload for build_creative task"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"preview-creative": {
|
|
515
|
+
"request": {
|
|
516
|
+
"$ref": "/schemas/creative/preview-creative-request.json",
|
|
517
|
+
"description": "Request parameters for generating creative previews"
|
|
518
|
+
},
|
|
519
|
+
"response": {
|
|
520
|
+
"$ref": "/schemas/creative/preview-creative-response.json",
|
|
521
|
+
"description": "Response payload for preview_creative task"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"list-creative-formats": {
|
|
525
|
+
"request": {
|
|
526
|
+
"$ref": "/schemas/creative/list-creative-formats-request.json",
|
|
527
|
+
"description": "Request parameters for discovering creative formats from this creative agent"
|
|
528
|
+
},
|
|
529
|
+
"response": {
|
|
530
|
+
"$ref": "/schemas/creative/list-creative-formats-response.json",
|
|
531
|
+
"description": "Response payload with full format definitions - this is the authoritative source for format specifications"
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"asset_types": {
|
|
536
|
+
"$ref": "/schemas/creative/asset-types/index.json",
|
|
537
|
+
"description": "Asset type definitions for creative manifests"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"signals": {
|
|
541
|
+
"description": "Signals protocol task request/response schemas",
|
|
542
|
+
"tasks": {
|
|
543
|
+
"get-signals": {
|
|
544
|
+
"request": {
|
|
545
|
+
"$ref": "/schemas/signals/get-signals-request.json",
|
|
546
|
+
"description": "Request parameters for discovering signals based on description"
|
|
547
|
+
},
|
|
548
|
+
"response": {
|
|
549
|
+
"$ref": "/schemas/signals/get-signals-response.json",
|
|
550
|
+
"description": "Response payload for get_signals task"
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
"activate-signal": {
|
|
554
|
+
"request": {
|
|
555
|
+
"$ref": "/schemas/signals/activate-signal-request.json",
|
|
556
|
+
"description": "Request parameters for activating a signal on a specific platform/account"
|
|
557
|
+
},
|
|
558
|
+
"response": {
|
|
559
|
+
"$ref": "/schemas/signals/activate-signal-response.json",
|
|
560
|
+
"description": "Response payload for activate_signal task"
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"adagents": {
|
|
566
|
+
"description": "Authorized sales agents file format specification",
|
|
567
|
+
"$ref": "/schemas/adagents.json",
|
|
568
|
+
"file_location": "/.well-known/adagents.json",
|
|
569
|
+
"purpose": "Declares which sales agents are authorized to sell a publisher's advertising inventory"
|
|
570
|
+
},
|
|
571
|
+
"protocols": {
|
|
572
|
+
"description": "Protocol-level schemas for agent card extensions",
|
|
573
|
+
"schemas": {
|
|
574
|
+
"adcp-extension": {
|
|
575
|
+
"$ref": "/schemas/protocols/adcp-extension.json",
|
|
576
|
+
"description": "AdCP extension for agent cards (MCP and A2A). Declares AdCP version and supported protocol domains."
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"usage": {
|
|
582
|
+
"validation": "Use these schemas to validate AdCP requests and responses",
|
|
583
|
+
"codeGeneration": "Generate client SDKs using these schemas",
|
|
584
|
+
"documentation": "Reference schemas for API documentation",
|
|
585
|
+
"testing": "Validate test fixtures and examples"
|
|
586
|
+
},
|
|
587
|
+
"examples": [
|
|
588
|
+
{
|
|
589
|
+
"language": "javascript",
|
|
590
|
+
"description": "JavaScript validation example",
|
|
591
|
+
"code": "const Ajv = require('ajv'); const ajv = new Ajv(); const schema = require('./schemas/core/product.json'); const validate = ajv.compile(schema);"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"language": "python",
|
|
595
|
+
"description": "Python validation example",
|
|
596
|
+
"code": "import jsonschema; schema = {...}; jsonschema.validate(data, schema)"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"language": "java",
|
|
600
|
+
"description": "Java validation example",
|
|
601
|
+
"code": "// Use everit-org/json-schema or similar library"
|
|
602
|
+
}
|
|
603
|
+
]
|
|
604
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/schemas/media-buy/build-creative-request.json",
|
|
4
|
+
"title": "Build Creative Request",
|
|
5
|
+
"description": "Request to transform or generate a creative manifest. Takes a source manifest (which may be minimal for pure generation) and produces a target manifest in the specified format. The source manifest should include all assets required by the target format (e.g., promoted_offerings for generative formats).",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"message": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Natural language instructions for the transformation or generation. For pure generation, this is the creative brief. For transformation, this provides guidance on how to adapt the creative."
|
|
11
|
+
},
|
|
12
|
+
"creative_manifest": {
|
|
13
|
+
"$ref": "/schemas/core/creative-manifest.json",
|
|
14
|
+
"description": "Creative manifest to transform or generate from. For pure generation, this should include the target format_id and any required input assets (e.g., promoted_offerings for generative formats). For transformation (e.g., resizing, reformatting), this is the complete creative to adapt."
|
|
15
|
+
},
|
|
16
|
+
"target_format_id": {
|
|
17
|
+
"$ref": "/schemas/core/format-id.json",
|
|
18
|
+
"description": "Format ID to generate. The format definition specifies required input assets and output structure."
|
|
19
|
+
},
|
|
20
|
+
"context": {
|
|
21
|
+
"$ref": "/schemas/core/context.json"
|
|
22
|
+
},
|
|
23
|
+
"ext": {
|
|
24
|
+
"$ref": "/schemas/core/ext.json"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": [
|
|
28
|
+
"target_format_id"
|
|
29
|
+
],
|
|
30
|
+
"additionalProperties": true
|
|
31
|
+
}
|