@adcp/sdk 16.0.0-beta.7 → 16.0.0-beta.9
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/AGENTS.md +3 -3
- package/README.md +20 -0
- package/bin/adcp.js +10 -13
- package/dist/lib/conformance/index.d.mts +2 -0
- package/dist/lib/conformance/index.d.ts +2 -0
- package/dist/lib/conformance/index.js +3 -0
- package/dist/lib/conformance/index.mjs +2 -0
- package/dist/lib/conformance/property-lists.d.mts +14 -0
- package/dist/lib/conformance/property-lists.d.ts +14 -0
- package/dist/lib/conformance/property-lists.js +45 -0
- package/dist/lib/conformance/property-lists.mjs +21 -0
- package/dist/lib/conformance/runConformance.js +20 -1
- package/dist/lib/conformance/runConformance.mjs +20 -1
- package/dist/lib/conformance/types.d.mts +3 -0
- package/dist/lib/conformance/types.d.ts +3 -0
- package/dist/lib/core/AgentClient.d.mts +8 -5
- package/dist/lib/core/AgentClient.d.ts +8 -5
- package/dist/lib/core/AgentClient.js +9 -4
- package/dist/lib/core/AgentClient.mjs +9 -4
- package/dist/lib/core/SingleAgentClient.d.mts +32 -115
- package/dist/lib/core/SingleAgentClient.d.ts +32 -115
- package/dist/lib/core/SingleAgentClient.js +379 -273
- package/dist/lib/core/SingleAgentClient.mjs +387 -275
- package/dist/lib/core/TaskExecutor.d.mts +1 -16
- package/dist/lib/core/TaskExecutor.d.ts +1 -16
- package/dist/lib/core/TaskExecutor.js +34 -51
- package/dist/lib/core/TaskExecutor.mjs +12 -29
- package/dist/lib/core/product-cache.d.mts +3 -1
- package/dist/lib/core/product-cache.d.ts +3 -1
- package/dist/lib/core/product-cache.js +2 -1
- package/dist/lib/core/product-cache.mjs +2 -1
- package/dist/lib/errors/index.d.mts +2 -8
- package/dist/lib/errors/index.d.ts +2 -8
- package/dist/lib/errors/index.js +4 -4
- package/dist/lib/errors/index.mjs +4 -4
- package/dist/lib/identifiers.d.mts +53 -0
- package/dist/lib/identifiers.d.ts +53 -0
- package/dist/lib/identifiers.js +212 -0
- package/dist/lib/identifiers.mjs +163 -0
- package/dist/lib/index.d.mts +7 -5
- package/dist/lib/index.d.ts +7 -5
- package/dist/lib/index.js +2 -14
- package/dist/lib/index.mjs +1 -14
- package/dist/lib/media-buy/compatibility.d.mts +1 -1
- package/dist/lib/media-buy/compatibility.d.ts +1 -1
- package/dist/lib/media-buy/compatibility.js +26 -45
- package/dist/lib/media-buy/compatibility.mjs +26 -45
- package/dist/lib/media-buy/index.d.mts +1 -1
- package/dist/lib/media-buy/index.d.ts +1 -1
- package/dist/lib/media-buy/legacy-purchase-continuation.d.mts +2 -2
- package/dist/lib/media-buy/legacy-purchase-continuation.d.ts +2 -2
- package/dist/lib/media-buy/property-policy.d.mts +15 -1
- package/dist/lib/media-buy/property-policy.d.ts +15 -1
- package/dist/lib/media-buy/property-policy.js +135 -3
- package/dist/lib/media-buy/property-policy.mjs +134 -3
- package/dist/lib/protocols/index.js +14 -22
- package/dist/lib/protocols/index.mjs +5 -13
- package/dist/lib/registry/index.d.mts +12 -0
- package/dist/lib/registry/index.d.ts +12 -0
- package/dist/lib/registry/index.js +159 -5
- package/dist/lib/registry/index.mjs +156 -4
- package/dist/lib/registry/types.d.mts +26 -2
- package/dist/lib/registry/types.d.ts +26 -2
- package/dist/lib/registry/types.generated.d.mts +51 -11
- package/dist/lib/registry/types.generated.d.ts +51 -11
- package/dist/lib/reporting/source/conformance.d.mts +8 -8
- package/dist/lib/reporting/source/conformance.d.ts +8 -8
- package/dist/lib/reporting/source/manifest.d.mts +27 -27
- package/dist/lib/reporting/source/manifest.d.ts +27 -27
- package/dist/lib/server/create-adcp-server.js +6 -0
- package/dist/lib/server/create-adcp-server.mjs +6 -0
- package/dist/lib/server/decisioning/specialisms/lists.d.mts +4 -4
- package/dist/lib/server/decisioning/specialisms/lists.d.ts +4 -4
- package/dist/lib/server/index.d.mts +3 -0
- package/dist/lib/server/index.d.ts +3 -0
- package/dist/lib/server/index.js +8 -1
- package/dist/lib/server/index.mjs +4 -0
- package/dist/lib/server/property-lists.d.mts +36 -0
- package/dist/lib/server/property-lists.d.ts +36 -0
- package/dist/lib/server/property-lists.js +154 -0
- package/dist/lib/server/property-lists.mjs +129 -0
- package/dist/lib/server/targeting-helpers.d.mts +2 -0
- package/dist/lib/server/targeting-helpers.d.ts +2 -0
- package/dist/lib/server/targeting-helpers.js +28 -1
- package/dist/lib/server/targeting-helpers.mjs +18 -1
- package/dist/lib/signing/parser.js +2 -2
- package/dist/lib/signing/parser.mjs +2 -2
- package/dist/lib/signing/server.d.mts +1 -1
- package/dist/lib/signing/server.d.ts +1 -1
- package/dist/lib/signing/server.mjs +5 -1
- package/dist/lib/signing/webhook-verifier.d.mts +11 -0
- package/dist/lib/signing/webhook-verifier.d.ts +11 -0
- package/dist/lib/signing/webhook-verifier.js +11 -3
- package/dist/lib/signing/webhook-verifier.mjs +11 -3
- package/dist/lib/supply-path/verify.js +12 -2
- package/dist/lib/supply-path/verify.mjs +2 -2
- package/dist/lib/testing/compliance/comply.js +0 -8
- package/dist/lib/testing/compliance/comply.mjs +0 -8
- package/dist/lib/testing/compliance/storyboard-tracks.js +11 -0
- package/dist/lib/testing/compliance/storyboard-tracks.mjs +11 -0
- package/dist/lib/testing/index.d.mts +2 -0
- package/dist/lib/testing/index.d.ts +2 -0
- package/dist/lib/testing/index.js +5 -0
- package/dist/lib/testing/index.mjs +3 -0
- package/dist/lib/testing/scenarios/capabilities.d.mts +2 -2
- package/dist/lib/testing/scenarios/capabilities.d.ts +2 -2
- package/dist/lib/testing/scenarios/capabilities.js +8 -41
- package/dist/lib/testing/scenarios/capabilities.mjs +9 -42
- package/dist/lib/testing/storyboard/creative-build-probe.d.mts +34 -0
- package/dist/lib/testing/storyboard/creative-build-probe.d.ts +34 -0
- package/dist/lib/testing/storyboard/creative-build-probe.js +395 -0
- package/dist/lib/testing/storyboard/creative-build-probe.mjs +373 -0
- package/dist/lib/testing/storyboard/index.d.mts +2 -0
- package/dist/lib/testing/storyboard/index.d.ts +2 -0
- package/dist/lib/testing/storyboard/index.js +5 -0
- package/dist/lib/testing/storyboard/index.mjs +3 -0
- package/dist/lib/testing/storyboard/loader.js +12 -0
- package/dist/lib/testing/storyboard/loader.mjs +12 -0
- package/dist/lib/testing/storyboard/property-list-reference.d.mts +15 -0
- package/dist/lib/testing/storyboard/property-list-reference.d.ts +15 -0
- package/dist/lib/testing/storyboard/property-list-reference.js +514 -0
- package/dist/lib/testing/storyboard/property-list-reference.mjs +487 -0
- package/dist/lib/testing/storyboard/runner.js +318 -58
- package/dist/lib/testing/storyboard/runner.mjs +322 -58
- package/dist/lib/testing/storyboard/types.d.mts +38 -16
- package/dist/lib/testing/storyboard/types.d.ts +38 -16
- package/dist/lib/testing/storyboard/types.js +1 -0
- package/dist/lib/testing/storyboard/types.mjs +1 -0
- package/dist/lib/testing/storyboard/validations.d.mts +1 -1
- package/dist/lib/testing/storyboard/validations.d.ts +1 -1
- package/dist/lib/testing/storyboard/validations.js +64 -0
- package/dist/lib/testing/storyboard/validations.mjs +67 -1
- package/dist/lib/testing/types.d.mts +15 -1
- package/dist/lib/testing/types.d.ts +15 -1
- package/dist/lib/types/schemas.generated.d.ts +65 -65
- package/dist/lib/types/wellknown-schemas.generated.d.mts +21 -21
- package/dist/lib/types/wellknown-schemas.generated.d.ts +21 -21
- package/dist/lib/utils/adcp-version-config.js +6 -0
- package/dist/lib/utils/adcp-version-config.mjs +6 -0
- package/dist/lib/utils/capabilities.d.mts +7 -9
- package/dist/lib/utils/capabilities.d.ts +7 -9
- package/dist/lib/utils/capabilities.js +14 -28
- package/dist/lib/utils/capabilities.mjs +14 -27
- package/dist/lib/utils/creative-adapter.d.mts +15 -113
- package/dist/lib/utils/creative-adapter.d.ts +15 -113
- package/dist/lib/utils/creative-adapter.js +7 -106
- package/dist/lib/utils/creative-adapter.mjs +7 -102
- package/dist/lib/utils/format-renders.d.mts +20 -80
- package/dist/lib/utils/format-renders.d.ts +20 -80
- package/dist/lib/utils/format-renders.js +7 -67
- package/dist/lib/utils/format-renders.mjs +7 -66
- package/dist/lib/utils/index.d.mts +1 -2
- package/dist/lib/utils/index.d.ts +1 -2
- package/dist/lib/utils/index.js +0 -7
- package/dist/lib/utils/index.mjs +0 -6
- package/dist/lib/utils/preview-normalizer.d.mts +31 -80
- package/dist/lib/utils/preview-normalizer.d.ts +31 -80
- package/dist/lib/utils/preview-normalizer.js +5 -50
- package/dist/lib/utils/preview-normalizer.mjs +5 -49
- package/dist/lib/utils/pricing-adapter.d.mts +2 -36
- package/dist/lib/utils/pricing-adapter.d.ts +2 -36
- package/dist/lib/utils/pricing-adapter.js +0 -105
- package/dist/lib/utils/pricing-adapter.mjs +0 -100
- package/dist/lib/utils/request-normalizer.d.mts +1 -2
- package/dist/lib/utils/request-normalizer.d.ts +1 -2
- package/dist/lib/v2/projection/creative-delivery.d.mts +2 -0
- package/dist/lib/v2/projection/creative-delivery.d.ts +2 -0
- package/dist/lib/v2/projection/creative-delivery.js +7 -0
- package/dist/lib/v2/projection/creative-delivery.mjs +6 -0
- package/dist/lib/v2/projection/legacy-metadata.d.mts +12 -0
- package/dist/lib/v2/projection/legacy-metadata.d.ts +12 -0
- package/dist/lib/v2/projection/legacy-metadata.js +41 -1
- package/dist/lib/v2/projection/legacy-metadata.mjs +37 -1
- package/dist/lib/v2/projection/legacy-normalization.d.mts +1 -1
- package/dist/lib/v2/projection/legacy-normalization.d.ts +1 -1
- package/dist/lib/v2/projection/v1-to-v2.js +13 -0
- package/dist/lib/v2/projection/v1-to-v2.mjs +14 -0
- package/dist/lib/validation/client-hooks.d.mts +1 -4
- package/dist/lib/validation/client-hooks.d.ts +1 -4
- package/dist/lib/validation/get-products-request.d.mts +1 -1
- package/dist/lib/validation/get-products-request.d.ts +1 -1
- package/dist/lib/validation/schema-loader.js +6 -0
- package/dist/lib/validation/schema-loader.mjs +6 -0
- package/dist/lib/validation/schema-validator.js +1 -26
- package/dist/lib/validation/schema-validator.mjs +1 -26
- package/dist/lib/version.d.mts +5 -5
- package/dist/lib/version.d.ts +5 -5
- package/dist/lib/version.js +3 -5
- package/dist/lib/version.mjs +3 -5
- package/docs/TYPE-SUMMARY.md +2 -2
- package/docs/development/PROTOCOL_DIFFERENCES.md +1 -1
- package/docs/guides/CONFORMANCE.md +25 -0
- package/docs/guides/CREATIVE-BUILD-PROBE.md +156 -0
- package/docs/guides/CREATIVE-DELIVERY.md +45 -6
- package/docs/guides/MEDIA-BUY-3.2-COMPATIBILITY.md +15 -18
- package/docs/guides/PROPERTY-LISTS.md +264 -0
- package/docs/guides/SIGNING-GUIDE.md +25 -0
- package/docs/guides/VALIDATE-YOUR-AGENT.md +5 -0
- package/docs/llms.txt +2 -2
- package/docs/migration-13-to-14.md +20 -16
- package/docs/migration-14.x-rc-worksheet.md +5 -5
- package/docs/migration-4.x-to-5.x.md +12 -7
- package/docs/migration-drop-adcp-2.md +25 -0
- package/package.json +3 -18
- package/skills/call-adcp-agent/SKILL.md +23 -25
- package/dist/lib/adapters/legacy/v2-5/create_media_buy.d.mts +0 -3
- package/dist/lib/adapters/legacy/v2-5/create_media_buy.d.ts +0 -3
- package/dist/lib/adapters/legacy/v2-5/create_media_buy.js +0 -33
- package/dist/lib/adapters/legacy/v2-5/create_media_buy.mjs +0 -9
- package/dist/lib/adapters/legacy/v2-5/get_products.d.mts +0 -8
- package/dist/lib/adapters/legacy/v2-5/get_products.d.ts +0 -8
- package/dist/lib/adapters/legacy/v2-5/get_products.js +0 -33
- package/dist/lib/adapters/legacy/v2-5/get_products.mjs +0 -9
- package/dist/lib/adapters/legacy/v2-5/index.d.mts +0 -34
- package/dist/lib/adapters/legacy/v2-5/index.d.ts +0 -34
- package/dist/lib/adapters/legacy/v2-5/index.js +0 -50
- package/dist/lib/adapters/legacy/v2-5/index.mjs +0 -25
- package/dist/lib/adapters/legacy/v2-5/list_creative_formats.d.mts +0 -8
- package/dist/lib/adapters/legacy/v2-5/list_creative_formats.d.ts +0 -8
- package/dist/lib/adapters/legacy/v2-5/list_creative_formats.js +0 -33
- package/dist/lib/adapters/legacy/v2-5/list_creative_formats.mjs +0 -9
- package/dist/lib/adapters/legacy/v2-5/preview_creative.d.mts +0 -3
- package/dist/lib/adapters/legacy/v2-5/preview_creative.d.ts +0 -3
- package/dist/lib/adapters/legacy/v2-5/preview_creative.js +0 -33
- package/dist/lib/adapters/legacy/v2-5/preview_creative.mjs +0 -9
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.d.mts +0 -11
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.d.ts +0 -11
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.js +0 -32
- package/dist/lib/adapters/legacy/v2-5/sync_creatives.mjs +0 -8
- package/dist/lib/adapters/legacy/v2-5/types.d.mts +0 -39
- package/dist/lib/adapters/legacy/v2-5/types.d.ts +0 -39
- package/dist/lib/adapters/legacy/v2-5/types.js +0 -16
- package/dist/lib/adapters/legacy/v2-5/types.mjs +0 -0
- package/dist/lib/adapters/legacy/v2-5/update_media_buy.d.mts +0 -3
- package/dist/lib/adapters/legacy/v2-5/update_media_buy.d.ts +0 -3
- package/dist/lib/adapters/legacy/v2-5/update_media_buy.js +0 -35
- package/dist/lib/adapters/legacy/v2-5/update_media_buy.mjs +0 -11
- package/dist/lib/schemas-data/v2.5/_provenance.json +0 -8
- package/dist/lib/schemas-data/v2.5/adagents.json +0 -494
- package/dist/lib/schemas-data/v2.5/core/activation-key.json +0 -50
- package/dist/lib/schemas-data/v2.5/core/assets/audio-asset.json +0 -32
- package/dist/lib/schemas-data/v2.5/core/assets/css-asset.json +0 -21
- package/dist/lib/schemas-data/v2.5/core/assets/daast-asset.json +0 -87
- package/dist/lib/schemas-data/v2.5/core/assets/html-asset.json +0 -21
- package/dist/lib/schemas-data/v2.5/core/assets/image-asset.json +0 -38
- package/dist/lib/schemas-data/v2.5/core/assets/javascript-asset.json +0 -21
- package/dist/lib/schemas-data/v2.5/core/assets/markdown-asset.json +0 -31
- package/dist/lib/schemas-data/v2.5/core/assets/text-asset.json +0 -21
- package/dist/lib/schemas-data/v2.5/core/assets/url-asset.json +0 -26
- package/dist/lib/schemas-data/v2.5/core/assets/vast-asset.json +0 -87
- package/dist/lib/schemas-data/v2.5/core/assets/video-asset.json +0 -44
- package/dist/lib/schemas-data/v2.5/core/assets/webhook-asset.json +0 -71
- package/dist/lib/schemas-data/v2.5/core/async-response-data.json +0 -88
- package/dist/lib/schemas-data/v2.5/core/brand-manifest-ref.json +0 -33
- package/dist/lib/schemas-data/v2.5/core/brand-manifest.json +0 -409
- package/dist/lib/schemas-data/v2.5/core/context.json +0 -8
- package/dist/lib/schemas-data/v2.5/core/creative-asset.json +0 -125
- package/dist/lib/schemas-data/v2.5/core/creative-assignment.json +0 -31
- package/dist/lib/schemas-data/v2.5/core/creative-filters.json +0 -111
- package/dist/lib/schemas-data/v2.5/core/creative-manifest.json +0 -72
- package/dist/lib/schemas-data/v2.5/core/creative-policy.json +0 -27
- package/dist/lib/schemas-data/v2.5/core/delivery-metrics.json +0 -171
- package/dist/lib/schemas-data/v2.5/core/deployment.json +0 -93
- package/dist/lib/schemas-data/v2.5/core/destination.json +0 -53
- package/dist/lib/schemas-data/v2.5/core/error.json +0 -40
- package/dist/lib/schemas-data/v2.5/core/ext.json +0 -8
- package/dist/lib/schemas-data/v2.5/core/format-id.json +0 -47
- package/dist/lib/schemas-data/v2.5/core/format.json +0 -324
- package/dist/lib/schemas-data/v2.5/core/frequency-cap.json +0 -18
- package/dist/lib/schemas-data/v2.5/core/mcp-webhook-payload.json +0 -152
- package/dist/lib/schemas-data/v2.5/core/measurement.json +0 -48
- package/dist/lib/schemas-data/v2.5/core/media-buy.json +0 -62
- package/dist/lib/schemas-data/v2.5/core/package.json +0 -72
- package/dist/lib/schemas-data/v2.5/core/performance-feedback.json +0 -90
- package/dist/lib/schemas-data/v2.5/core/placement.json +0 -34
- package/dist/lib/schemas-data/v2.5/core/pricing-option.json +0 -35
- package/dist/lib/schemas-data/v2.5/core/product-filters.json +0 -102
- package/dist/lib/schemas-data/v2.5/core/product.json +0 -153
- package/dist/lib/schemas-data/v2.5/core/promoted-offerings.json +0 -115
- package/dist/lib/schemas-data/v2.5/core/promoted-products.json +0 -67
- package/dist/lib/schemas-data/v2.5/core/property-id.json +0 -14
- package/dist/lib/schemas-data/v2.5/core/property-tag.json +0 -16
- package/dist/lib/schemas-data/v2.5/core/property.json +0 -62
- package/dist/lib/schemas-data/v2.5/core/protocol-envelope.json +0 -146
- package/dist/lib/schemas-data/v2.5/core/publisher-property-selector.json +0 -92
- package/dist/lib/schemas-data/v2.5/core/push-notification-config.json +0 -48
- package/dist/lib/schemas-data/v2.5/core/reporting-capabilities.json +0 -71
- package/dist/lib/schemas-data/v2.5/core/response.json +0 -24
- package/dist/lib/schemas-data/v2.5/core/signal-filters.json +0 -35
- package/dist/lib/schemas-data/v2.5/core/start-timing.json +0 -18
- package/dist/lib/schemas-data/v2.5/core/sub-asset.json +0 -79
- package/dist/lib/schemas-data/v2.5/core/targeting.json +0 -50
- package/dist/lib/schemas-data/v2.5/core/tasks-get-request.json +0 -43
- package/dist/lib/schemas-data/v2.5/core/tasks-get-response.json +0 -166
- package/dist/lib/schemas-data/v2.5/core/tasks-list-request.json +0 -192
- package/dist/lib/schemas-data/v2.5/core/tasks-list-response.json +0 -183
- package/dist/lib/schemas-data/v2.5/creative/asset-types/index.json +0 -101
- package/dist/lib/schemas-data/v2.5/creative/list-creative-formats-request.json +0 -73
- package/dist/lib/schemas-data/v2.5/creative/list-creative-formats-response.json +0 -61
- package/dist/lib/schemas-data/v2.5/creative/preview-creative-request.json +0 -164
- package/dist/lib/schemas-data/v2.5/creative/preview-creative-response.json +0 -245
- package/dist/lib/schemas-data/v2.5/creative/preview-render.json +0 -225
- package/dist/lib/schemas-data/v2.5/enums/adcp-domain.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/asset-content-type.json +0 -22
- package/dist/lib/schemas-data/v2.5/enums/auth-scheme.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/available-metric.json +0 -18
- package/dist/lib/schemas-data/v2.5/enums/channels.json +0 -18
- package/dist/lib/schemas-data/v2.5/enums/co-branding-requirement.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/creative-action.json +0 -14
- package/dist/lib/schemas-data/v2.5/enums/creative-agent-capability.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/creative-sort-field.json +0 -15
- package/dist/lib/schemas-data/v2.5/enums/creative-status.json +0 -19
- package/dist/lib/schemas-data/v2.5/enums/daast-tracking-event.json +0 -20
- package/dist/lib/schemas-data/v2.5/enums/daast-version.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/delivery-type.json +0 -15
- package/dist/lib/schemas-data/v2.5/enums/dimension-unit.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/feed-format.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/feedback-source.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/format-category.json +0 -16
- package/dist/lib/schemas-data/v2.5/enums/format-id-parameter.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/frequency-cap-scope.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/history-entry-type.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/http-method.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/identifier-types.json +0 -34
- package/dist/lib/schemas-data/v2.5/enums/javascript-module-type.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/landing-page-requirement.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/markdown-flavor.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/media-buy-status.json +0 -19
- package/dist/lib/schemas-data/v2.5/enums/metric-type.json +0 -17
- package/dist/lib/schemas-data/v2.5/enums/notification-type.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/pacing.json +0 -17
- package/dist/lib/schemas-data/v2.5/enums/preview-output-format.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/pricing-model.json +0 -25
- package/dist/lib/schemas-data/v2.5/enums/property-type.json +0 -16
- package/dist/lib/schemas-data/v2.5/enums/publisher-identifier-types.json +0 -19
- package/dist/lib/schemas-data/v2.5/enums/reporting-frequency.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/signal-catalog-type.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/sort-direction.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/standard-format-ids.json +0 -103
- package/dist/lib/schemas-data/v2.5/enums/task-status.json +0 -29
- package/dist/lib/schemas-data/v2.5/enums/task-type.json +0 -27
- package/dist/lib/schemas-data/v2.5/enums/update-frequency.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/url-asset-type.json +0 -12
- package/dist/lib/schemas-data/v2.5/enums/validation-mode.json +0 -11
- package/dist/lib/schemas-data/v2.5/enums/vast-tracking-event.json +0 -25
- package/dist/lib/schemas-data/v2.5/enums/vast-version.json +0 -14
- package/dist/lib/schemas-data/v2.5/enums/webhook-response-type.json +0 -13
- package/dist/lib/schemas-data/v2.5/enums/webhook-security-method.json +0 -12
- package/dist/lib/schemas-data/v2.5/index.json +0 -604
- package/dist/lib/schemas-data/v2.5/media-buy/build-creative-request.json +0 -31
- package/dist/lib/schemas-data/v2.5/media-buy/build-creative-response.json +0 -65
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-async-response-input-required.json +0 -31
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-async-response-submitted.json +0 -16
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-async-response-working.json +0 -36
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-request.json +0 -126
- package/dist/lib/schemas-data/v2.5/media-buy/create-media-buy-response.json +0 -97
- package/dist/lib/schemas-data/v2.5/media-buy/get-media-buy-delivery-request.json +0 -54
- package/dist/lib/schemas-data/v2.5/media-buy/get-media-buy-delivery-response.json +0 -285
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-async-response-input-required.json +0 -38
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-async-response-submitted.json +0 -21
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-async-response-working.json +0 -34
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-request.json +0 -28
- package/dist/lib/schemas-data/v2.5/media-buy/get-products-response.json +0 -33
- package/dist/lib/schemas-data/v2.5/media-buy/list-authorized-properties-request.json +0 -26
- package/dist/lib/schemas-data/v2.5/media-buy/list-authorized-properties-response.json +0 -70
- package/dist/lib/schemas-data/v2.5/media-buy/list-creative-formats-request.json +0 -58
- package/dist/lib/schemas-data/v2.5/media-buy/list-creative-formats-response.json +0 -61
- package/dist/lib/schemas-data/v2.5/media-buy/list-creatives-request.json +0 -137
- package/dist/lib/schemas-data/v2.5/media-buy/list-creatives-response.json +0 -437
- package/dist/lib/schemas-data/v2.5/media-buy/package-request.json +0 -80
- package/dist/lib/schemas-data/v2.5/media-buy/provide-performance-feedback-request.json +0 -88
- package/dist/lib/schemas-data/v2.5/media-buy/provide-performance-feedback-response.json +0 -66
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-async-response-input-required.json +0 -25
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-async-response-submitted.json +0 -16
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-async-response-working.json +0 -46
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-request.json +0 -178
- package/dist/lib/schemas-data/v2.5/media-buy/sync-creatives-response.json +0 -149
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-async-response-input-required.json +0 -24
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-async-response-submitted.json +0 -16
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-async-response-working.json +0 -36
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-request.json +0 -129
- package/dist/lib/schemas-data/v2.5/media-buy/update-media-buy-response.json +0 -99
- package/dist/lib/schemas-data/v2.5/pricing-options/cpc-option.json +0 -52
- package/dist/lib/schemas-data/v2.5/pricing-options/cpcv-option.json +0 -52
- package/dist/lib/schemas-data/v2.5/pricing-options/cpm-auction-option.json +0 -81
- package/dist/lib/schemas-data/v2.5/pricing-options/cpm-fixed-option.json +0 -52
- package/dist/lib/schemas-data/v2.5/pricing-options/cpp-option.json +0 -73
- package/dist/lib/schemas-data/v2.5/pricing-options/cpv-option.json +0 -88
- package/dist/lib/schemas-data/v2.5/pricing-options/flat-rate-option.json +0 -93
- package/dist/lib/schemas-data/v2.5/pricing-options/vcpm-auction-option.json +0 -81
- package/dist/lib/schemas-data/v2.5/pricing-options/vcpm-fixed-option.json +0 -52
- package/dist/lib/schemas-data/v2.5/protocols/adcp-extension.json +0 -33
- package/dist/lib/schemas-data/v2.5/signals/activate-signal-request.json +0 -32
- package/dist/lib/schemas-data/v2.5/signals/activate-signal-response.json +0 -68
- package/dist/lib/schemas-data/v2.5/signals/get-signals-request.json +0 -59
- package/dist/lib/schemas-data/v2.5/signals/get-signals-response.json +0 -100
- package/dist/lib/types/v2-5/index.d.mts +0 -1
- package/dist/lib/types/v2-5/index.d.ts +0 -1
- package/dist/lib/types/v2-5/index.js +0 -22
- package/dist/lib/types/v2-5/index.mjs +0 -1
- package/dist/lib/types/v2-5/tools.generated.d.mts +0 -3568
- package/dist/lib/types/v2-5/tools.generated.d.ts +0 -3568
- package/dist/lib/types/v2-5/tools.generated.js +0 -16
- package/dist/lib/types/v2-5/tools.generated.mjs +0 -0
- package/dist/lib/utils/sync-creatives-adapter.d.mts +0 -33
- package/dist/lib/utils/sync-creatives-adapter.d.ts +0 -33
- package/dist/lib/utils/sync-creatives-adapter.js +0 -83
- package/dist/lib/utils/sync-creatives-adapter.mjs +0 -59
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Registry pattern for v3 ↔ v2.5 wire adapters.
|
|
3
|
-
*
|
|
4
|
-
* Each AdCP tool that needs version translation gets its own
|
|
5
|
-
* `AdapterPair<...>`: a request-side `adaptRequest` (v3 → v2.5 wire shape)
|
|
6
|
-
* and an optional response-side `normalizeResponse` (v2.5 wire → v3
|
|
7
|
-
* surface). Pairs live in per-tool modules under this directory and the
|
|
8
|
-
* registry collects them by tool name.
|
|
9
|
-
*
|
|
10
|
-
* **Why a registry**: before, the four request adapters and the four
|
|
11
|
-
* response normalizers lived across three files (`pricing-adapter.ts`,
|
|
12
|
-
* `creative-adapter.ts`, `sync-creatives-adapter.ts`). Adding v2.6 or
|
|
13
|
-
* v3.1 would mean touching all three plus the dispatch switch in
|
|
14
|
-
* `SingleAgentClient`. The registry collapses that to "drop a new file
|
|
15
|
-
* with a typed `AdapterPair`, register it" — a clean (from, to, tool)
|
|
16
|
-
* triple matches the compatibility-matrix mental model.
|
|
17
|
-
*
|
|
18
|
-
* The current cut wraps the existing scattered adapter functions
|
|
19
|
-
* unchanged so we can ship the registry shape without regressions; the
|
|
20
|
-
* underlying logic stays in `utils/*-adapter.ts` files until each pair
|
|
21
|
-
* gets a focused per-tool refactor.
|
|
22
|
-
*/
|
|
23
|
-
export interface AdapterPair<TReq3 = unknown, TReq25 = unknown, TRes25 = unknown, TRes3 = unknown> {
|
|
24
|
-
/** AdCP tool name this pair handles (snake_case, e.g. `get_products`). */
|
|
25
|
-
readonly toolName: string;
|
|
26
|
-
/**
|
|
27
|
-
* v3-shaped request → v2.5 wire shape. Called by
|
|
28
|
-
* `SingleAgentClient.adaptRequestForServerVersion` when the agent is
|
|
29
|
-
* v2-detected. May throw for inputs the v2 wire can't represent
|
|
30
|
-
* (e.g. proposal-mode `create_media_buy` without packages).
|
|
31
|
-
*/
|
|
32
|
-
adaptRequest(req: TReq3): TReq25;
|
|
33
|
-
/**
|
|
34
|
-
* v2.5-shaped response → v3 surface. Optional — if absent, the response
|
|
35
|
-
* is passed through unchanged. Called by
|
|
36
|
-
* `SingleAgentClient.normalizeResponseToV3` after the executor returns.
|
|
37
|
-
*/
|
|
38
|
-
normalizeResponse?(res: TRes25): TRes3;
|
|
39
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
var types_exports = {};
|
|
16
|
-
module.exports = __toCommonJS(types_exports);
|
|
File without changes
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var update_media_buy_exports = {};
|
|
20
|
-
__export(update_media_buy_exports, {
|
|
21
|
-
updateMediaBuyAdapter: () => updateMediaBuyAdapter
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(update_media_buy_exports);
|
|
24
|
-
var import_creative_adapter = require('../../../utils/creative-adapter.js');
|
|
25
|
-
const updateMediaBuyAdapter = {
|
|
26
|
-
toolName: "update_media_buy",
|
|
27
|
-
adaptRequest: import_creative_adapter.adaptUpdateMediaBuyRequestForV2,
|
|
28
|
-
// Update responses share the media-buy normalizer (creative_ids ↔
|
|
29
|
-
// creative_assignments + null-array coercion).
|
|
30
|
-
normalizeResponse: import_creative_adapter.normalizeMediaBuyResponse
|
|
31
|
-
};
|
|
32
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
-
0 && (module.exports = {
|
|
34
|
-
updateMediaBuyAdapter
|
|
35
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { adaptUpdateMediaBuyRequestForV2, normalizeMediaBuyResponse } from "../../../utils/creative-adapter.mjs";
|
|
2
|
-
const updateMediaBuyAdapter = {
|
|
3
|
-
toolName: "update_media_buy",
|
|
4
|
-
adaptRequest: adaptUpdateMediaBuyRequestForV2,
|
|
5
|
-
// Update responses share the media-buy normalizer (creative_ids ↔
|
|
6
|
-
// creative_assignments + null-array coercion).
|
|
7
|
-
normalizeResponse: normalizeMediaBuyResponse
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
updateMediaBuyAdapter
|
|
11
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"source_repo": "adcontextprotocol/adcp",
|
|
3
|
-
"source_branch": "2.5-maintenance",
|
|
4
|
-
"source_sha": "4e553ad955f83b49c7d221ab5c3ff78237ad02e3",
|
|
5
|
-
"source_tarball_sha256": "580656d6466ef9f0d1119985e6726c2efea718dc671e2ad30957fcb2fd54af0f",
|
|
6
|
-
"upstream_adcp_version": "2.5.3",
|
|
7
|
-
"synced_at": "2026-10-17T14:29:51.574Z"
|
|
8
|
-
}
|
|
@@ -1,494 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "/schemas/adagents.json",
|
|
4
|
-
"title": "Authorized Sales Agents",
|
|
5
|
-
"description": "Declaration of authorized sales agents for advertising inventory. Hosted at /.well-known/adagents.json on publisher domains. Can either contain the full structure inline or reference an authoritative URL.",
|
|
6
|
-
"oneOf": [
|
|
7
|
-
{
|
|
8
|
-
"type": "object",
|
|
9
|
-
"description": "URL reference variant - points to the authoritative location of the adagents.json file",
|
|
10
|
-
"properties": {
|
|
11
|
-
"$schema": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"description": "JSON Schema identifier for this adagents.json file"
|
|
14
|
-
},
|
|
15
|
-
"authoritative_location": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"format": "uri",
|
|
18
|
-
"pattern": "^https://",
|
|
19
|
-
"description": "HTTPS URL of the authoritative adagents.json file. When present, this file is a reference and the authoritative location contains the actual agent authorization data."
|
|
20
|
-
},
|
|
21
|
-
"last_updated": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"format": "date-time",
|
|
24
|
-
"description": "ISO 8601 timestamp indicating when this reference was last updated"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"required": [
|
|
28
|
-
"authoritative_location"
|
|
29
|
-
],
|
|
30
|
-
"additionalProperties": true
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "object",
|
|
34
|
-
"description": "Inline structure variant - contains full agent authorization data",
|
|
35
|
-
"properties": {
|
|
36
|
-
"$schema": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"description": "JSON Schema identifier for this adagents.json file"
|
|
39
|
-
},
|
|
40
|
-
"contact": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"description": "Contact information for the entity managing this adagents.json file (may be publisher or third-party operator)",
|
|
43
|
-
"properties": {
|
|
44
|
-
"name": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"description": "Name of the entity managing this file (e.g., 'Meta Advertising Operations', 'Clear Channel Digital')",
|
|
47
|
-
"minLength": 1,
|
|
48
|
-
"maxLength": 255
|
|
49
|
-
},
|
|
50
|
-
"email": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"format": "email",
|
|
53
|
-
"description": "Contact email for questions or issues with this authorization file",
|
|
54
|
-
"minLength": 1,
|
|
55
|
-
"maxLength": 255
|
|
56
|
-
},
|
|
57
|
-
"domain": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "Primary domain of the entity managing this file",
|
|
60
|
-
"pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$"
|
|
61
|
-
},
|
|
62
|
-
"seller_id": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"description": "Seller ID from IAB Tech Lab sellers.json (if applicable)",
|
|
65
|
-
"minLength": 1,
|
|
66
|
-
"maxLength": 255
|
|
67
|
-
},
|
|
68
|
-
"tag_id": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"description": "TAG Certified Against Fraud ID for verification (if applicable)",
|
|
71
|
-
"minLength": 1,
|
|
72
|
-
"maxLength": 100
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"required": [
|
|
76
|
-
"name"
|
|
77
|
-
],
|
|
78
|
-
"additionalProperties": true
|
|
79
|
-
},
|
|
80
|
-
"properties": {
|
|
81
|
-
"type": "array",
|
|
82
|
-
"description": "Array of all properties covered by this adagents.json file. Defines the canonical property list that authorized agents reference.",
|
|
83
|
-
"items": {
|
|
84
|
-
"$ref": "/schemas/core/property.json"
|
|
85
|
-
},
|
|
86
|
-
"minItems": 1
|
|
87
|
-
},
|
|
88
|
-
"tags": {
|
|
89
|
-
"type": "object",
|
|
90
|
-
"description": "Metadata for each tag referenced by properties. Provides human-readable context for property tag values.",
|
|
91
|
-
"additionalProperties": {
|
|
92
|
-
"type": "object",
|
|
93
|
-
"properties": {
|
|
94
|
-
"name": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"description": "Human-readable name for this tag"
|
|
97
|
-
},
|
|
98
|
-
"description": {
|
|
99
|
-
"type": "string",
|
|
100
|
-
"description": "Description of what this tag represents"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"required": [
|
|
104
|
-
"name",
|
|
105
|
-
"description"
|
|
106
|
-
],
|
|
107
|
-
"additionalProperties": true
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"authorized_agents": {
|
|
111
|
-
"type": "array",
|
|
112
|
-
"description": "Array of sales agents authorized to sell inventory for properties in this file",
|
|
113
|
-
"items": {
|
|
114
|
-
"oneOf": [
|
|
115
|
-
{
|
|
116
|
-
"type": "object",
|
|
117
|
-
"properties": {
|
|
118
|
-
"url": {
|
|
119
|
-
"type": "string",
|
|
120
|
-
"format": "uri",
|
|
121
|
-
"description": "The authorized agent's API endpoint URL"
|
|
122
|
-
},
|
|
123
|
-
"authorized_for": {
|
|
124
|
-
"type": "string",
|
|
125
|
-
"description": "Human-readable description of what this agent is authorized to sell",
|
|
126
|
-
"minLength": 1,
|
|
127
|
-
"maxLength": 500
|
|
128
|
-
},
|
|
129
|
-
"authorization_type": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"const": "property_ids",
|
|
132
|
-
"description": "Discriminator indicating authorization by specific property IDs"
|
|
133
|
-
},
|
|
134
|
-
"property_ids": {
|
|
135
|
-
"type": "array",
|
|
136
|
-
"description": "Property IDs this agent is authorized for. Resolved against the top-level properties array in this file",
|
|
137
|
-
"items": {
|
|
138
|
-
"$ref": "/schemas/core/property-id.json"
|
|
139
|
-
},
|
|
140
|
-
"minItems": 1
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"required": [
|
|
144
|
-
"url",
|
|
145
|
-
"authorized_for",
|
|
146
|
-
"authorization_type",
|
|
147
|
-
"property_ids"
|
|
148
|
-
],
|
|
149
|
-
"additionalProperties": true
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"type": "object",
|
|
153
|
-
"properties": {
|
|
154
|
-
"url": {
|
|
155
|
-
"type": "string",
|
|
156
|
-
"format": "uri",
|
|
157
|
-
"description": "The authorized agent's API endpoint URL"
|
|
158
|
-
},
|
|
159
|
-
"authorized_for": {
|
|
160
|
-
"type": "string",
|
|
161
|
-
"description": "Human-readable description of what this agent is authorized to sell",
|
|
162
|
-
"minLength": 1,
|
|
163
|
-
"maxLength": 500
|
|
164
|
-
},
|
|
165
|
-
"authorization_type": {
|
|
166
|
-
"type": "string",
|
|
167
|
-
"const": "property_tags",
|
|
168
|
-
"description": "Discriminator indicating authorization by property tags"
|
|
169
|
-
},
|
|
170
|
-
"property_tags": {
|
|
171
|
-
"type": "array",
|
|
172
|
-
"description": "Tags identifying which properties this agent is authorized for. Resolved against the top-level properties array in this file using tag matching",
|
|
173
|
-
"items": {
|
|
174
|
-
"$ref": "/schemas/core/property-tag.json"
|
|
175
|
-
},
|
|
176
|
-
"minItems": 1
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"required": [
|
|
180
|
-
"url",
|
|
181
|
-
"authorized_for",
|
|
182
|
-
"authorization_type",
|
|
183
|
-
"property_tags"
|
|
184
|
-
],
|
|
185
|
-
"additionalProperties": true
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"type": "object",
|
|
189
|
-
"properties": {
|
|
190
|
-
"url": {
|
|
191
|
-
"type": "string",
|
|
192
|
-
"format": "uri",
|
|
193
|
-
"description": "The authorized agent's API endpoint URL"
|
|
194
|
-
},
|
|
195
|
-
"authorized_for": {
|
|
196
|
-
"type": "string",
|
|
197
|
-
"description": "Human-readable description of what this agent is authorized to sell",
|
|
198
|
-
"minLength": 1,
|
|
199
|
-
"maxLength": 500
|
|
200
|
-
},
|
|
201
|
-
"authorization_type": {
|
|
202
|
-
"type": "string",
|
|
203
|
-
"const": "inline_properties",
|
|
204
|
-
"description": "Discriminator indicating authorization by inline property definitions"
|
|
205
|
-
},
|
|
206
|
-
"properties": {
|
|
207
|
-
"type": "array",
|
|
208
|
-
"description": "Specific properties this agent is authorized for (alternative to property_ids/property_tags)",
|
|
209
|
-
"items": {
|
|
210
|
-
"$ref": "/schemas/core/property.json"
|
|
211
|
-
},
|
|
212
|
-
"minItems": 1
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
"required": [
|
|
216
|
-
"url",
|
|
217
|
-
"authorized_for",
|
|
218
|
-
"authorization_type",
|
|
219
|
-
"properties"
|
|
220
|
-
],
|
|
221
|
-
"additionalProperties": true
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"type": "object",
|
|
225
|
-
"properties": {
|
|
226
|
-
"url": {
|
|
227
|
-
"type": "string",
|
|
228
|
-
"format": "uri",
|
|
229
|
-
"description": "The authorized agent's API endpoint URL"
|
|
230
|
-
},
|
|
231
|
-
"authorized_for": {
|
|
232
|
-
"type": "string",
|
|
233
|
-
"description": "Human-readable description of what this agent is authorized to sell",
|
|
234
|
-
"minLength": 1,
|
|
235
|
-
"maxLength": 500
|
|
236
|
-
},
|
|
237
|
-
"authorization_type": {
|
|
238
|
-
"type": "string",
|
|
239
|
-
"const": "publisher_properties",
|
|
240
|
-
"description": "Discriminator indicating authorization for properties from other publisher domains"
|
|
241
|
-
},
|
|
242
|
-
"publisher_properties": {
|
|
243
|
-
"type": "array",
|
|
244
|
-
"description": "Properties from other publisher domains this agent is authorized for. Each entry specifies a publisher domain and which of their properties this agent can sell",
|
|
245
|
-
"items": {
|
|
246
|
-
"$ref": "/schemas/core/publisher-property-selector.json"
|
|
247
|
-
},
|
|
248
|
-
"minItems": 1
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"required": [
|
|
252
|
-
"url",
|
|
253
|
-
"authorized_for",
|
|
254
|
-
"authorization_type",
|
|
255
|
-
"publisher_properties"
|
|
256
|
-
],
|
|
257
|
-
"additionalProperties": true
|
|
258
|
-
}
|
|
259
|
-
]
|
|
260
|
-
},
|
|
261
|
-
"minItems": 1
|
|
262
|
-
},
|
|
263
|
-
"last_updated": {
|
|
264
|
-
"type": "string",
|
|
265
|
-
"format": "date-time",
|
|
266
|
-
"description": "ISO 8601 timestamp indicating when this file was last updated"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
"required": [
|
|
270
|
-
"authorized_agents"
|
|
271
|
-
],
|
|
272
|
-
"additionalProperties": true
|
|
273
|
-
}
|
|
274
|
-
],
|
|
275
|
-
"examples": [
|
|
276
|
-
{
|
|
277
|
-
"$schema": "/schemas/adagents.json",
|
|
278
|
-
"authoritative_location": "https://cdn.example.com/adagents/v2/adagents.json",
|
|
279
|
-
"last_updated": "2025-01-15T10:00:00Z"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"$schema": "/schemas/adagents.json",
|
|
283
|
-
"properties": [
|
|
284
|
-
{
|
|
285
|
-
"property_type": "website",
|
|
286
|
-
"name": "Example Site",
|
|
287
|
-
"identifiers": [
|
|
288
|
-
{
|
|
289
|
-
"type": "domain",
|
|
290
|
-
"value": "example.com"
|
|
291
|
-
}
|
|
292
|
-
],
|
|
293
|
-
"publisher_domain": "example.com"
|
|
294
|
-
}
|
|
295
|
-
],
|
|
296
|
-
"authorized_agents": [
|
|
297
|
-
{
|
|
298
|
-
"url": "https://agent.example.com",
|
|
299
|
-
"authorized_for": "Official sales agent",
|
|
300
|
-
"authorization_type": "property_tags",
|
|
301
|
-
"property_tags": [
|
|
302
|
-
"all"
|
|
303
|
-
]
|
|
304
|
-
}
|
|
305
|
-
],
|
|
306
|
-
"tags": {
|
|
307
|
-
"all": {
|
|
308
|
-
"name": "All Properties",
|
|
309
|
-
"description": "All properties in this file"
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
"last_updated": "2025-01-10T12:00:00Z"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"$schema": "/schemas/adagents.json",
|
|
316
|
-
"contact": {
|
|
317
|
-
"name": "Meta Advertising Operations",
|
|
318
|
-
"email": "adops@meta.com",
|
|
319
|
-
"domain": "meta.com",
|
|
320
|
-
"seller_id": "pub-meta-12345",
|
|
321
|
-
"tag_id": "12345"
|
|
322
|
-
},
|
|
323
|
-
"properties": [
|
|
324
|
-
{
|
|
325
|
-
"property_type": "mobile_app",
|
|
326
|
-
"name": "Instagram",
|
|
327
|
-
"identifiers": [
|
|
328
|
-
{
|
|
329
|
-
"type": "ios_bundle",
|
|
330
|
-
"value": "com.burbn.instagram"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"type": "android_package",
|
|
334
|
-
"value": "com.instagram.android"
|
|
335
|
-
}
|
|
336
|
-
],
|
|
337
|
-
"tags": [
|
|
338
|
-
"meta_network",
|
|
339
|
-
"social_media"
|
|
340
|
-
],
|
|
341
|
-
"publisher_domain": "instagram.com"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"property_type": "mobile_app",
|
|
345
|
-
"name": "Facebook",
|
|
346
|
-
"identifiers": [
|
|
347
|
-
{
|
|
348
|
-
"type": "ios_bundle",
|
|
349
|
-
"value": "com.facebook.Facebook"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"type": "android_package",
|
|
353
|
-
"value": "com.facebook.katana"
|
|
354
|
-
}
|
|
355
|
-
],
|
|
356
|
-
"tags": [
|
|
357
|
-
"meta_network",
|
|
358
|
-
"social_media"
|
|
359
|
-
],
|
|
360
|
-
"publisher_domain": "facebook.com"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"property_type": "mobile_app",
|
|
364
|
-
"name": "WhatsApp",
|
|
365
|
-
"identifiers": [
|
|
366
|
-
{
|
|
367
|
-
"type": "ios_bundle",
|
|
368
|
-
"value": "net.whatsapp.WhatsApp"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"type": "android_package",
|
|
372
|
-
"value": "com.whatsapp"
|
|
373
|
-
}
|
|
374
|
-
],
|
|
375
|
-
"tags": [
|
|
376
|
-
"meta_network",
|
|
377
|
-
"messaging"
|
|
378
|
-
],
|
|
379
|
-
"publisher_domain": "whatsapp.com"
|
|
380
|
-
}
|
|
381
|
-
],
|
|
382
|
-
"tags": {
|
|
383
|
-
"meta_network": {
|
|
384
|
-
"name": "Meta Network",
|
|
385
|
-
"description": "All Meta-owned properties"
|
|
386
|
-
},
|
|
387
|
-
"social_media": {
|
|
388
|
-
"name": "Social Media Apps",
|
|
389
|
-
"description": "Social networking applications"
|
|
390
|
-
},
|
|
391
|
-
"messaging": {
|
|
392
|
-
"name": "Messaging Apps",
|
|
393
|
-
"description": "Messaging and communication apps"
|
|
394
|
-
}
|
|
395
|
-
},
|
|
396
|
-
"authorized_agents": [
|
|
397
|
-
{
|
|
398
|
-
"url": "https://meta-ads.com",
|
|
399
|
-
"authorized_for": "All Meta properties",
|
|
400
|
-
"authorization_type": "property_tags",
|
|
401
|
-
"property_tags": [
|
|
402
|
-
"meta_network"
|
|
403
|
-
]
|
|
404
|
-
}
|
|
405
|
-
],
|
|
406
|
-
"last_updated": "2025-01-10T15:30:00Z"
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"$schema": "/schemas/adagents.json",
|
|
410
|
-
"contact": {
|
|
411
|
-
"name": "Tumblr Advertising"
|
|
412
|
-
},
|
|
413
|
-
"properties": [
|
|
414
|
-
{
|
|
415
|
-
"property_type": "website",
|
|
416
|
-
"name": "Tumblr Corporate",
|
|
417
|
-
"identifiers": [
|
|
418
|
-
{
|
|
419
|
-
"type": "domain",
|
|
420
|
-
"value": "tumblr.com"
|
|
421
|
-
}
|
|
422
|
-
],
|
|
423
|
-
"tags": [
|
|
424
|
-
"corporate"
|
|
425
|
-
],
|
|
426
|
-
"publisher_domain": "tumblr.com"
|
|
427
|
-
}
|
|
428
|
-
],
|
|
429
|
-
"tags": {
|
|
430
|
-
"corporate": {
|
|
431
|
-
"name": "Corporate Properties",
|
|
432
|
-
"description": "Tumblr-owned corporate properties (not user blogs)"
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
"authorized_agents": [
|
|
436
|
-
{
|
|
437
|
-
"url": "https://tumblr-sales.com",
|
|
438
|
-
"authorized_for": "Tumblr corporate properties only",
|
|
439
|
-
"authorization_type": "property_tags",
|
|
440
|
-
"property_tags": [
|
|
441
|
-
"corporate"
|
|
442
|
-
]
|
|
443
|
-
}
|
|
444
|
-
],
|
|
445
|
-
"last_updated": "2025-01-10T16:00:00Z"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"$schema": "/schemas/adagents.json",
|
|
449
|
-
"contact": {
|
|
450
|
-
"name": "Example Third-Party Sales Agent",
|
|
451
|
-
"email": "sales@agent.example",
|
|
452
|
-
"domain": "agent.example"
|
|
453
|
-
},
|
|
454
|
-
"authorized_agents": [
|
|
455
|
-
{
|
|
456
|
-
"url": "https://agent.example/api",
|
|
457
|
-
"authorized_for": "CNN CTV properties via publisher authorization",
|
|
458
|
-
"authorization_type": "publisher_properties",
|
|
459
|
-
"publisher_properties": [
|
|
460
|
-
{
|
|
461
|
-
"publisher_domain": "cnn.com",
|
|
462
|
-
"selection_type": "by_id",
|
|
463
|
-
"property_ids": [
|
|
464
|
-
"cnn_ctv_app"
|
|
465
|
-
]
|
|
466
|
-
}
|
|
467
|
-
]
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"url": "https://agent.example/api",
|
|
471
|
-
"authorized_for": "All CTV properties from multiple publishers",
|
|
472
|
-
"authorization_type": "publisher_properties",
|
|
473
|
-
"publisher_properties": [
|
|
474
|
-
{
|
|
475
|
-
"publisher_domain": "cnn.com",
|
|
476
|
-
"selection_type": "by_tag",
|
|
477
|
-
"property_tags": [
|
|
478
|
-
"ctv"
|
|
479
|
-
]
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"publisher_domain": "espn.com",
|
|
483
|
-
"selection_type": "by_tag",
|
|
484
|
-
"property_tags": [
|
|
485
|
-
"ctv"
|
|
486
|
-
]
|
|
487
|
-
}
|
|
488
|
-
]
|
|
489
|
-
}
|
|
490
|
-
],
|
|
491
|
-
"last_updated": "2025-01-10T17:00:00Z"
|
|
492
|
-
}
|
|
493
|
-
]
|
|
494
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "/schemas/core/activation-key.json",
|
|
4
|
-
"title": "Activation Key",
|
|
5
|
-
"description": "Universal identifier for using a signal on a destination platform. Can be either a segment ID or a key-value pair depending on the platform's targeting mechanism.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"oneOf": [
|
|
8
|
-
{
|
|
9
|
-
"properties": {
|
|
10
|
-
"type": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"const": "segment_id",
|
|
13
|
-
"description": "Segment ID based targeting"
|
|
14
|
-
},
|
|
15
|
-
"segment_id": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"description": "The platform-specific segment identifier to use in campaign targeting"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"required": [
|
|
21
|
-
"type",
|
|
22
|
-
"segment_id"
|
|
23
|
-
],
|
|
24
|
-
"additionalProperties": true
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"properties": {
|
|
28
|
-
"type": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"const": "key_value",
|
|
31
|
-
"description": "Key-value pair based targeting"
|
|
32
|
-
},
|
|
33
|
-
"key": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "The targeting parameter key"
|
|
36
|
-
},
|
|
37
|
-
"value": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"description": "The targeting parameter value"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"required": [
|
|
43
|
-
"type",
|
|
44
|
-
"key",
|
|
45
|
-
"value"
|
|
46
|
-
],
|
|
47
|
-
"additionalProperties": true
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|