The Format object from list_creative_formats response
Array of assets
Discriminator indicating this is an individual asset
Unique identifier for this asset. Creative manifests MUST use this exact value as the key in the assets object.
Optionalasset_role?: stringOptional descriptive label for this asset's purpose (e.g., 'hero_image', 'logo', 'third_party_tracking'). Not used for referencing assets in manifests—use asset_id instead. This field is for human-readable documentation and UI display only.
Whether this asset is required (true) or optional (false). Required assets must be provided for a valid creative. Optional assets enhance the creative but are not mandatory.
Optionalrequirements?: { [k: string]: unknown }Technical requirements for this asset (dimensions, file size, duration, etc.). For template formats, use parameters_from_format_id: true to indicate asset parameters must match the format_id parameters (width/height/unit and/or duration_ms).
Discriminator indicating this is a repeatable asset group
Identifier for this asset group (e.g., 'product', 'slide', 'card')
Whether this asset group is required. If true, at least min_count repetitions must be provided.
Minimum number of repetitions required (if group is required) or allowed (if optional)
Maximum number of repetitions allowed
Assets within each repetition of this group
Get assets from a Format
Returns the assets from the v3
assetsfield. For backward compatibility with v2 servers, this function also handles the deprecatedassets_requiredfield if present.