@adcp/sdk API Reference - v14.0.0-beta.6
    Preparing search index...

    Type Alias VendorPricingOption

    VendorPricingOption: {
        pricing_option_id: string;
        applies_to_output_format_ids?: [
            LegacyFormatReferenceStructuredObject,
            ...LegacyFormatReferenceStructuredObject[],
        ];
        applies_to_output_capability_ids?: [string, ...string[]];
    } & VendorPricing

    A pricing option offered by a vendor agent (signals, creative, governance). Combines pricing_option_id with the pricing model fields. Pass pricing_option_id in report_usage for billing verification. All vendor discovery responses return pricing_options as an array — vendors may offer multiple options (volume tiers, context-specific rates, different models per product line).

    Type Declaration

    • pricing_option_id: string

      Opaque identifier for this pricing option, unique within the vendor agent. Pass this in report_usage to identify which pricing option was applied.

    • Optionalapplies_to_output_format_ids?: [
          LegacyFormatReferenceStructuredObject,
          ...LegacyFormatReferenceStructuredObject[],
      ]

      DEPRECATED in 3.2. Legacy named-format pricing scope. Use applies_to_output_capability_ids.

      1

    • Optionalapplies_to_output_capability_ids?: [string, ...string[]]

      Creative transformers only: scopes this pricing option to canonical output capabilities advertised in creative.supported_formats[].capability_id. When absent, the option is the default for any output. A build targeting an output that matches no scoped option and has no unscoped default is rejected with UNPRICEABLE_OUTPUT.

      1