@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,166 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/schemas/core/tasks-get-response.json",
|
|
4
|
+
"title": "Tasks Get Response",
|
|
5
|
+
"description": "Response containing detailed information about a specific task including status and optional conversation history across all AdCP domains",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"task_id": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Unique identifier for this task"
|
|
11
|
+
},
|
|
12
|
+
"task_type": {
|
|
13
|
+
"$ref": "/schemas/enums/task-type.json",
|
|
14
|
+
"description": "Type of AdCP operation"
|
|
15
|
+
},
|
|
16
|
+
"domain": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "AdCP domain this task belongs to",
|
|
19
|
+
"enum": [
|
|
20
|
+
"media-buy",
|
|
21
|
+
"signals"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"status": {
|
|
25
|
+
"$ref": "/schemas/enums/task-status.json",
|
|
26
|
+
"description": "Current task status"
|
|
27
|
+
},
|
|
28
|
+
"created_at": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": "date-time",
|
|
31
|
+
"description": "When the task was initially created (ISO 8601)"
|
|
32
|
+
},
|
|
33
|
+
"updated_at": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": "date-time",
|
|
36
|
+
"description": "When the task was last updated (ISO 8601)"
|
|
37
|
+
},
|
|
38
|
+
"completed_at": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "date-time",
|
|
41
|
+
"description": "When the task completed (ISO 8601, only for completed/failed/canceled tasks)"
|
|
42
|
+
},
|
|
43
|
+
"has_webhook": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "Whether this task has webhook configuration"
|
|
46
|
+
},
|
|
47
|
+
"progress": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"description": "Progress information for long-running tasks",
|
|
50
|
+
"properties": {
|
|
51
|
+
"percentage": {
|
|
52
|
+
"type": "number",
|
|
53
|
+
"minimum": 0,
|
|
54
|
+
"maximum": 100,
|
|
55
|
+
"description": "Completion percentage (0-100)"
|
|
56
|
+
},
|
|
57
|
+
"current_step": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Current step or phase of the operation"
|
|
60
|
+
},
|
|
61
|
+
"total_steps": {
|
|
62
|
+
"type": "integer",
|
|
63
|
+
"minimum": 1,
|
|
64
|
+
"description": "Total number of steps in the operation"
|
|
65
|
+
},
|
|
66
|
+
"step_number": {
|
|
67
|
+
"type": "integer",
|
|
68
|
+
"minimum": 1,
|
|
69
|
+
"description": "Current step number"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"additionalProperties": true
|
|
73
|
+
},
|
|
74
|
+
"error": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"description": "Error details for failed tasks",
|
|
77
|
+
"properties": {
|
|
78
|
+
"code": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Error code for programmatic handling"
|
|
81
|
+
},
|
|
82
|
+
"message": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "Detailed error message"
|
|
85
|
+
},
|
|
86
|
+
"details": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"description": "Additional error context",
|
|
89
|
+
"properties": {
|
|
90
|
+
"domain": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "AdCP domain where error occurred",
|
|
93
|
+
"enum": [
|
|
94
|
+
"media-buy",
|
|
95
|
+
"signals"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"operation": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "Specific operation that failed"
|
|
101
|
+
},
|
|
102
|
+
"specific_context": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"description": "Domain-specific error context",
|
|
105
|
+
"additionalProperties": true
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"additionalProperties": true
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"required": [
|
|
112
|
+
"code",
|
|
113
|
+
"message"
|
|
114
|
+
],
|
|
115
|
+
"additionalProperties": true
|
|
116
|
+
},
|
|
117
|
+
"history": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"description": "Complete conversation history for this task (only included if include_history was true in request)",
|
|
120
|
+
"items": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"properties": {
|
|
123
|
+
"timestamp": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"format": "date-time",
|
|
126
|
+
"description": "When this exchange occurred (ISO 8601)"
|
|
127
|
+
},
|
|
128
|
+
"type": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"enum": [
|
|
131
|
+
"request",
|
|
132
|
+
"response"
|
|
133
|
+
],
|
|
134
|
+
"description": "Whether this was a request from client or response from server"
|
|
135
|
+
},
|
|
136
|
+
"data": {
|
|
137
|
+
"type": "object",
|
|
138
|
+
"description": "The full request or response payload",
|
|
139
|
+
"additionalProperties": true
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"required": [
|
|
143
|
+
"timestamp",
|
|
144
|
+
"type",
|
|
145
|
+
"data"
|
|
146
|
+
],
|
|
147
|
+
"additionalProperties": true
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"context": {
|
|
151
|
+
"$ref": "/schemas/core/context.json"
|
|
152
|
+
},
|
|
153
|
+
"ext": {
|
|
154
|
+
"$ref": "/schemas/core/ext.json"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": [
|
|
158
|
+
"task_id",
|
|
159
|
+
"task_type",
|
|
160
|
+
"domain",
|
|
161
|
+
"status",
|
|
162
|
+
"created_at",
|
|
163
|
+
"updated_at"
|
|
164
|
+
],
|
|
165
|
+
"additionalProperties": true
|
|
166
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/schemas/core/tasks-list-request.json",
|
|
4
|
+
"title": "Tasks List Request",
|
|
5
|
+
"description": "Request parameters for listing and filtering async tasks across all AdCP domains with state reconciliation capabilities",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"filters": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"description": "Filter criteria for querying tasks",
|
|
11
|
+
"properties": {
|
|
12
|
+
"domain": {
|
|
13
|
+
"$ref": "/schemas/enums/adcp-domain.json",
|
|
14
|
+
"description": "Filter by single AdCP domain"
|
|
15
|
+
},
|
|
16
|
+
"domains": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"description": "Filter by multiple AdCP domains",
|
|
19
|
+
"items": {
|
|
20
|
+
"$ref": "/schemas/enums/adcp-domain.json"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"status": {
|
|
24
|
+
"$ref": "/schemas/enums/task-status.json",
|
|
25
|
+
"description": "Filter by single task status"
|
|
26
|
+
},
|
|
27
|
+
"statuses": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"description": "Filter by multiple task statuses",
|
|
30
|
+
"items": {
|
|
31
|
+
"$ref": "/schemas/enums/task-status.json"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"task_type": {
|
|
35
|
+
"$ref": "/schemas/enums/task-type.json",
|
|
36
|
+
"description": "Filter by single task type"
|
|
37
|
+
},
|
|
38
|
+
"task_types": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"description": "Filter by multiple task types",
|
|
41
|
+
"items": {
|
|
42
|
+
"$ref": "/schemas/enums/task-type.json"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"created_after": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"format": "date-time",
|
|
48
|
+
"description": "Filter tasks created after this date (ISO 8601)"
|
|
49
|
+
},
|
|
50
|
+
"created_before": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"format": "date-time",
|
|
53
|
+
"description": "Filter tasks created before this date (ISO 8601)"
|
|
54
|
+
},
|
|
55
|
+
"updated_after": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"format": "date-time",
|
|
58
|
+
"description": "Filter tasks last updated after this date (ISO 8601)"
|
|
59
|
+
},
|
|
60
|
+
"updated_before": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"format": "date-time",
|
|
63
|
+
"description": "Filter tasks last updated before this date (ISO 8601)"
|
|
64
|
+
},
|
|
65
|
+
"task_ids": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"description": "Filter by specific task IDs",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"maxItems": 100
|
|
72
|
+
},
|
|
73
|
+
"context_contains": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "Filter tasks where context contains this text (searches buyer_ref, media_buy_id, signal_id, etc.)"
|
|
76
|
+
},
|
|
77
|
+
"has_webhook": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"description": "Filter tasks that have webhook configuration when true"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"additionalProperties": true
|
|
83
|
+
},
|
|
84
|
+
"sort": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"description": "Sorting parameters",
|
|
87
|
+
"properties": {
|
|
88
|
+
"field": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"enum": [
|
|
91
|
+
"created_at",
|
|
92
|
+
"updated_at",
|
|
93
|
+
"status",
|
|
94
|
+
"task_type",
|
|
95
|
+
"domain"
|
|
96
|
+
],
|
|
97
|
+
"default": "created_at",
|
|
98
|
+
"description": "Field to sort by"
|
|
99
|
+
},
|
|
100
|
+
"direction": {
|
|
101
|
+
"$ref": "/schemas/enums/sort-direction.json",
|
|
102
|
+
"default": "desc",
|
|
103
|
+
"description": "Sort direction"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"additionalProperties": true
|
|
107
|
+
},
|
|
108
|
+
"pagination": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"description": "Pagination parameters",
|
|
111
|
+
"properties": {
|
|
112
|
+
"limit": {
|
|
113
|
+
"type": "integer",
|
|
114
|
+
"minimum": 1,
|
|
115
|
+
"maximum": 100,
|
|
116
|
+
"default": 50,
|
|
117
|
+
"description": "Maximum number of tasks to return"
|
|
118
|
+
},
|
|
119
|
+
"offset": {
|
|
120
|
+
"type": "integer",
|
|
121
|
+
"minimum": 0,
|
|
122
|
+
"default": 0,
|
|
123
|
+
"description": "Number of tasks to skip"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"additionalProperties": true
|
|
127
|
+
},
|
|
128
|
+
"include_history": {
|
|
129
|
+
"type": "boolean",
|
|
130
|
+
"default": false,
|
|
131
|
+
"description": "Include full conversation history for each task (may significantly increase response size)"
|
|
132
|
+
},
|
|
133
|
+
"context": {
|
|
134
|
+
"$ref": "/schemas/core/context.json"
|
|
135
|
+
},
|
|
136
|
+
"ext": {
|
|
137
|
+
"$ref": "/schemas/core/ext.json"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"additionalProperties": true,
|
|
141
|
+
"examples": [
|
|
142
|
+
{
|
|
143
|
+
"description": "List all pending tasks across domains",
|
|
144
|
+
"data": {
|
|
145
|
+
"filters": {
|
|
146
|
+
"statuses": [
|
|
147
|
+
"submitted",
|
|
148
|
+
"working",
|
|
149
|
+
"input-required"
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"description": "Find media-buy tasks requiring attention",
|
|
156
|
+
"data": {
|
|
157
|
+
"filters": {
|
|
158
|
+
"domain": "media-buy",
|
|
159
|
+
"statuses": [
|
|
160
|
+
"input-required",
|
|
161
|
+
"failed"
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"sort": {
|
|
165
|
+
"field": "updated_at",
|
|
166
|
+
"direction": "asc"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"description": "Recent signal operations",
|
|
172
|
+
"data": {
|
|
173
|
+
"filters": {
|
|
174
|
+
"domain": "signals",
|
|
175
|
+
"created_after": "2025-01-01T00:00:00Z"
|
|
176
|
+
},
|
|
177
|
+
"pagination": {
|
|
178
|
+
"limit": 20
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"description": "State reconciliation for specific campaign",
|
|
184
|
+
"data": {
|
|
185
|
+
"filters": {
|
|
186
|
+
"context_contains": "nike_q1_2025"
|
|
187
|
+
},
|
|
188
|
+
"include_history": true
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/schemas/core/tasks-list-response.json",
|
|
4
|
+
"title": "Tasks List Response",
|
|
5
|
+
"description": "Response from task listing query with filtered results and state reconciliation data across all AdCP domains",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"query_summary": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"description": "Summary of the query that was executed",
|
|
11
|
+
"properties": {
|
|
12
|
+
"total_matching": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"description": "Total number of tasks matching filters (across all pages)",
|
|
15
|
+
"minimum": 0
|
|
16
|
+
},
|
|
17
|
+
"returned": {
|
|
18
|
+
"type": "integer",
|
|
19
|
+
"description": "Number of tasks returned in this response",
|
|
20
|
+
"minimum": 0
|
|
21
|
+
},
|
|
22
|
+
"domain_breakdown": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"description": "Count of tasks by domain",
|
|
25
|
+
"properties": {
|
|
26
|
+
"media-buy": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"minimum": 0,
|
|
29
|
+
"description": "Number of media-buy tasks in results"
|
|
30
|
+
},
|
|
31
|
+
"signals": {
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"minimum": 0,
|
|
34
|
+
"description": "Number of signals tasks in results"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": true
|
|
38
|
+
},
|
|
39
|
+
"status_breakdown": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"description": "Count of tasks by status",
|
|
42
|
+
"additionalProperties": {
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"minimum": 0
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"filters_applied": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"description": "List of filters that were applied to the query",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"sort_applied": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"description": "Sort order that was applied",
|
|
57
|
+
"properties": {
|
|
58
|
+
"field": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"direction": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"enum": [
|
|
64
|
+
"asc",
|
|
65
|
+
"desc"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": [
|
|
70
|
+
"field",
|
|
71
|
+
"direction"
|
|
72
|
+
],
|
|
73
|
+
"additionalProperties": true
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": [
|
|
77
|
+
"total_matching",
|
|
78
|
+
"returned"
|
|
79
|
+
],
|
|
80
|
+
"additionalProperties": true
|
|
81
|
+
},
|
|
82
|
+
"tasks": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"description": "Array of tasks matching the query criteria",
|
|
85
|
+
"items": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"task_id": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "Unique identifier for this task"
|
|
91
|
+
},
|
|
92
|
+
"task_type": {
|
|
93
|
+
"$ref": "/schemas/enums/task-type.json",
|
|
94
|
+
"description": "Type of AdCP operation"
|
|
95
|
+
},
|
|
96
|
+
"domain": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"description": "AdCP domain this task belongs to",
|
|
99
|
+
"enum": [
|
|
100
|
+
"media-buy",
|
|
101
|
+
"signals"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"status": {
|
|
105
|
+
"$ref": "/schemas/enums/task-status.json",
|
|
106
|
+
"description": "Current task status"
|
|
107
|
+
},
|
|
108
|
+
"created_at": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"format": "date-time",
|
|
111
|
+
"description": "When the task was initially created (ISO 8601)"
|
|
112
|
+
},
|
|
113
|
+
"updated_at": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"format": "date-time",
|
|
116
|
+
"description": "When the task was last updated (ISO 8601)"
|
|
117
|
+
},
|
|
118
|
+
"completed_at": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"format": "date-time",
|
|
121
|
+
"description": "When the task completed (ISO 8601, only for completed/failed/canceled tasks)"
|
|
122
|
+
},
|
|
123
|
+
"has_webhook": {
|
|
124
|
+
"type": "boolean",
|
|
125
|
+
"description": "Whether this task has webhook configuration"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"required": [
|
|
129
|
+
"task_id",
|
|
130
|
+
"task_type",
|
|
131
|
+
"domain",
|
|
132
|
+
"status",
|
|
133
|
+
"created_at",
|
|
134
|
+
"updated_at"
|
|
135
|
+
],
|
|
136
|
+
"additionalProperties": true
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"pagination": {
|
|
140
|
+
"type": "object",
|
|
141
|
+
"description": "Pagination information",
|
|
142
|
+
"properties": {
|
|
143
|
+
"limit": {
|
|
144
|
+
"type": "integer",
|
|
145
|
+
"description": "Limit that was applied to this query",
|
|
146
|
+
"minimum": 1
|
|
147
|
+
},
|
|
148
|
+
"offset": {
|
|
149
|
+
"type": "integer",
|
|
150
|
+
"description": "Offset that was applied to this query",
|
|
151
|
+
"minimum": 0
|
|
152
|
+
},
|
|
153
|
+
"has_more": {
|
|
154
|
+
"type": "boolean",
|
|
155
|
+
"description": "Whether there are more tasks beyond this page"
|
|
156
|
+
},
|
|
157
|
+
"next_offset": {
|
|
158
|
+
"type": "integer",
|
|
159
|
+
"description": "Offset to use for next page (only present if has_more is true)",
|
|
160
|
+
"minimum": 0
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": [
|
|
164
|
+
"limit",
|
|
165
|
+
"offset",
|
|
166
|
+
"has_more"
|
|
167
|
+
],
|
|
168
|
+
"additionalProperties": true
|
|
169
|
+
},
|
|
170
|
+
"context": {
|
|
171
|
+
"$ref": "/schemas/core/context.json"
|
|
172
|
+
},
|
|
173
|
+
"ext": {
|
|
174
|
+
"$ref": "/schemas/core/ext.json"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"required": [
|
|
178
|
+
"query_summary",
|
|
179
|
+
"tasks",
|
|
180
|
+
"pagination"
|
|
181
|
+
],
|
|
182
|
+
"additionalProperties": true
|
|
183
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/schemas/creative/asset-types/index.json",
|
|
4
|
+
"title": "AdCP Asset Type Registry",
|
|
5
|
+
"description": "Registry of asset types used in AdCP creative manifests. Each asset type defines the structure of actual content payloads (what you send), not requirements or constraints (which belong in format specifications).",
|
|
6
|
+
"version": "1.0.0",
|
|
7
|
+
"lastUpdated": "2025-10-19",
|
|
8
|
+
"asset_types": {
|
|
9
|
+
"image": {
|
|
10
|
+
"description": "Static image asset (JPG, PNG, GIF, WebP, SVG)",
|
|
11
|
+
"schema": "/schemas/core/assets/image-asset.json",
|
|
12
|
+
"typical_use": "Hero images, logos, product photos, backgrounds"
|
|
13
|
+
},
|
|
14
|
+
"video": {
|
|
15
|
+
"description": "Hosted video file asset (MP4, WebM, MOV)",
|
|
16
|
+
"schema": "/schemas/core/assets/video-asset.json",
|
|
17
|
+
"typical_use": "Video ads, product demos, brand stories"
|
|
18
|
+
},
|
|
19
|
+
"audio": {
|
|
20
|
+
"description": "Audio file asset (MP3, AAC, M4A, WAV, OGG)",
|
|
21
|
+
"schema": "/schemas/core/assets/audio-asset.json",
|
|
22
|
+
"typical_use": "Audio ads for streaming, podcasts, radio"
|
|
23
|
+
},
|
|
24
|
+
"vast": {
|
|
25
|
+
"description": "VAST XML tag for third-party video ad serving",
|
|
26
|
+
"schema": "/schemas/core/assets/vast-asset.json",
|
|
27
|
+
"typical_use": "Third-party served video ads with VAST 2.0-4.2"
|
|
28
|
+
},
|
|
29
|
+
"daast": {
|
|
30
|
+
"description": "DAAST XML tag for third-party audio ad serving",
|
|
31
|
+
"schema": "/schemas/core/assets/daast-asset.json",
|
|
32
|
+
"typical_use": "Third-party served audio ads with DAAST 1.0-1.1"
|
|
33
|
+
},
|
|
34
|
+
"text": {
|
|
35
|
+
"description": "Plain text content asset",
|
|
36
|
+
"schema": "/schemas/core/assets/text-asset.json",
|
|
37
|
+
"typical_use": "Headlines, descriptions, CTAs, body copy, disclaimers"
|
|
38
|
+
},
|
|
39
|
+
"markdown": {
|
|
40
|
+
"description": "Markdown-formatted text content (CommonMark/GFM)",
|
|
41
|
+
"schema": "/schemas/core/assets/markdown-asset.json",
|
|
42
|
+
"typical_use": "Product specifications, format documentation, rich descriptions, structured content"
|
|
43
|
+
},
|
|
44
|
+
"url": {
|
|
45
|
+
"description": "URL asset for clickthrough, tracking, landing pages",
|
|
46
|
+
"schema": "/schemas/core/assets/url-asset.json",
|
|
47
|
+
"typical_use": "Clickthrough URLs, tracking pixels, impression trackers"
|
|
48
|
+
},
|
|
49
|
+
"html": {
|
|
50
|
+
"description": "HTML5 creative asset for interactive ads",
|
|
51
|
+
"schema": "/schemas/core/assets/html-asset.json",
|
|
52
|
+
"typical_use": "HTML5 display banners, rich media, interactive ads"
|
|
53
|
+
},
|
|
54
|
+
"css": {
|
|
55
|
+
"description": "CSS stylesheet asset for styling",
|
|
56
|
+
"schema": "/schemas/core/assets/css-asset.json",
|
|
57
|
+
"typical_use": "Stylesheets for HTML5 creatives, custom styling"
|
|
58
|
+
},
|
|
59
|
+
"webhook": {
|
|
60
|
+
"description": "Server-side webhook for dynamic creative rendering",
|
|
61
|
+
"schema": "/schemas/core/assets/webhook-asset.json",
|
|
62
|
+
"typical_use": "DCO (Dynamic Creative Optimization), real-time personalization, server-side rendering"
|
|
63
|
+
},
|
|
64
|
+
"javascript": {
|
|
65
|
+
"description": "JavaScript code for dynamic creative logic",
|
|
66
|
+
"schema": "/schemas/core/assets/javascript-asset.json",
|
|
67
|
+
"typical_use": "Third-party tags, custom interaction logic, analytics"
|
|
68
|
+
},
|
|
69
|
+
"promoted_offerings": {
|
|
70
|
+
"description": "Brand manifest and product selectors for generative creative formats",
|
|
71
|
+
"schema": "/schemas/core/promoted-offerings.json",
|
|
72
|
+
"typical_use": "AI-generated creatives that need brand context and product information"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"architecture": {
|
|
76
|
+
"payload_vs_requirements": {
|
|
77
|
+
"description": "Asset schemas define PAYLOAD structure (what you send), not constraints or requirements",
|
|
78
|
+
"payload_examples": [
|
|
79
|
+
"url, width, height, content, duration_ms, format"
|
|
80
|
+
],
|
|
81
|
+
"requirement_examples": [
|
|
82
|
+
"max_file_size, required: true/false, min_duration, max_duration"
|
|
83
|
+
],
|
|
84
|
+
"where_requirements_go": "Format specifications contain all constraints in the 'requirements' field of each asset_required item"
|
|
85
|
+
},
|
|
86
|
+
"format_aware_validation": {
|
|
87
|
+
"description": "Creative manifests are validated in the context of their format specification",
|
|
88
|
+
"process": [
|
|
89
|
+
"1. Read format_id from manifest",
|
|
90
|
+
"2. Fetch format specification",
|
|
91
|
+
"3. For each asset in manifest, look up asset_id in format's assets_required",
|
|
92
|
+
"4. Validate asset matches the type and requirements defined in the format"
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"usage_notes": {
|
|
97
|
+
"format_specs": "Format specifications define what asset_ids are required (e.g., 'hero_image', 'logo'). Each defines its asset type and constraints (dimensions, file size, etc.).",
|
|
98
|
+
"creative_manifests": "Creative manifests provide actual asset content, keyed by asset_id from the format. Asset type is determined by the format specification, not declared in the payload.",
|
|
99
|
+
"example_flow": "Format says 'hero_image' must be type 'image' with width 1200, height 627. Manifest provides hero_image: {url: '...', width: 1200, height: 627}. The format spec tells us it's an image type."
|
|
100
|
+
}
|
|
101
|
+
}
|