Skip to Content
APICampaignsInterface: CampaignImageResponse

Interface: CampaignImageResponse

A single campaign media item (image or video) as it comes from the API.

Properties

alt?

optional alt?: CampaignImageAlt[];

Localized alt text.


durationSeconds?

optional durationSeconds?: number | null;

Seconds a still image stays on screen; null/unused for videos.


mediaType?

optional mediaType?: string;

"image" or "video"; legacy image-only rows omit it (treated as "image").


order?

optional order?: number;

Order of this item within the campaign (0 = first).


orientation?

optional orientation?: string;

"horizontal" or "vertical".


type?

optional type?: string;

MIME-ish media type reported by storage.


url?

optional url?: string;

Media URL (a time-limited signed URL — do not persist long-term).

Last updated on