@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Interface CreativePackageFitOptions

    interface CreativePackageFitOptions {
        playerSizedRefs?: "omit_unstated_size";
        adcpVersion: string;
        wireMode?: CreativeFormatWireMode;
        primaryAssetFacts?: CreativePrimaryAssetFacts;
        vastInlineCreatives?: readonly CreativeVastInlineFacts[];
        legacyFormatConverter?: LegacyFormatConverter;
        canonicalFormatLegacyResolver?: CanonicalFormatLegacyResolver;
        legacyFormatDefinitions?: readonly V1FormatDefinition[];
    }

    Hierarchy

    Index
    playerSizedRefs?: "omit_unstated_size"

    Will be removed in 18.0.0; setting it logs a one-time deprecation warning. Not needed: on the legacy wire the SDK reconciles a creative's per-package refs by constraint satisfaction, so a package that leaves the player size unstated accepts the size another package states, and the shared ref omits size when no package states one.

    Until removal it is still accepted with its beta.5 meaning, for the one case the declarations cannot settle: VAST packages that state different player sizes. Setting it asserts the seller accepts a ref without width/height, and the shared ref then omits the conflicting size. Canonical delivery ignores it.

    Whether a stated VAST size is a hard requirement or a player hint is a fact about the seller's format, so it belongs in the seller's format definition or the AdCP format params, not in host policy. See https://github.com/adcontextprotocol/adcp/issues/8583.

    adcpVersion: string

    Use the same negotiated mode as delivery, including canonical-capable 3.1 peers.

    primaryAssetFacts?: CreativePrimaryAssetFacts
    vastInlineCreatives?: readonly CreativeVastInlineFacts[]
    legacyFormatConverter?: LegacyFormatConverter
    canonicalFormatLegacyResolver?: CanonicalFormatLegacyResolver
    legacyFormatDefinitions?: readonly V1FormatDefinition[]