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

    Interface ImageAsset

    Override logo asset.

    interface ImageAsset {
        asset_type: "image";
        url: string;
        width: number;
        height: number;
        file_size_bytes?: number;
        pixel_ratio?: number;
        format?: string;
        alt_text?: string;
        provenance?: Provenance;
    }
    Index

    Properties

    asset_type: "image"

    Discriminator identifying this as an image asset. See /schemas/creative/asset-types for the registry.

    url: string

    URL to the image asset

    width: number

    Width in pixels

    height: number

    Height in pixels

    file_size_bytes?: number

    Image file size in bytes. Required by agents that advertise a max_file_size_kb constraint.

    pixel_ratio?: number

    Intrinsic pixels per logical render pixel (for example 2 for a 600×500 image intended to render at 300×250). Optional because a validator can infer the ratio when the target format declares logical dimensions. When supplied, it MUST agree with both width / logical_width and height / logical_height; it is never a substitute for the intrinsic width and height fields.

    format?: string

    Image file format (jpg, png, gif, webp, etc.)

    alt_text?: string

    Alternative text for accessibility

    provenance?: Provenance