AssetImage
Image-specific asset detail fields.
Declaration
object AssetImageProperties
| Name | Type | Description |
|---|---|---|
adAccountId | string | Ad account identifier. Present for custom assets. Read-only. |
width | int64 | Width of the image in pixels. Read-only. |
height | int64 | Height of the image in pixels. Read-only. |
format | ImageType | Image format. Possible values: |
sizeBytes | int64 | File size in bytes. Read-only. |
orientation | Orientation | Image orientation. Possible values: |
providerAssetUrl | string | Source URL of the image at the provider system. Read-only. |
providerToken | string | Provider-specific authentication or access token. Read-only. |
checkSum | string | File checksum for verifying asset integrity after transfer. Read-only. |
sortPosition | int64 | Display order position within an asset collection. Read-only. |
Discussion
The AssetImage object contains the image-specific metadata for an asset when assetType is IMAGE. All fields are read-only, and the system populates them when it ingests the asset from the provider. To verify the asset meets size requirements for a given ad placement, use width, height, and orientation.
Example
{
"adAccountId": 555666777,
"width": 1284,
"height": 2778,
"format": "PNG",
"sizeBytes": 2456789,
"orientation": "PORTRAIT",
"providerAssetUrl": "https://is5-ssl.mzstatic.com/image/thumb/AwayFinder123/v4/9b/7a/a4/screenshot.png/2048x2732.png",
"providerToken": "AwayFinder123/v4/9b/7a/a4/screenshot.png",
"checkSum": "a3c2e1d4b5f6",
"sortPosition": 1
}