@adcp/sdk API Reference - v14.3.0
    Preparing search index...

    Interface PreviewCreativeVariantResponse

    Variant preview response - shows what a specific creative variant looked like when served during delivery

    interface PreviewCreativeVariantResponse {
        response_type: "variant";
        variant_id: string;
        creative_id?: string;
        previews: { preview_id: string; renders: PreviewRender[] }[];
        manifest?: LegacyCreativeManifest;
        expires_at?: string;
        context?: ContextObject;
        ext?: ExtensionObject;
    }
    Index
    response_type: "variant"

    Discriminator indicating this is a variant preview response

    variant_id: string

    Agent-assigned AdCP served-execution identifier. Agent-unique for an agent advertising creative.supports_revisions; otherwise scoped by this response's creative_id.

    creative_id?: string

    Creative identifier this variant belongs to

    previews: { preview_id: string; renders: PreviewRender[] }[]

    Array of rendered pieces for this variant. Most formats render as a single piece.

    Type Declaration

    • preview_id: string

      Unique identifier for this preview

    • renders: PreviewRender[]

      Rendered pieces for this variant

    expires_at?: string

    ISO 8601 timestamp when preview links expire. Optional — omit for non-expiring preview URLs. See the top-level PreviewCreativeResponse branch for the full convention.

    date-time

    context?: ContextObject