Contents

AssetImage

Image-specific asset detail fields.

Declaration

object AssetImage

Properties

NameTypeDescription
adAccountIdstring

Ad account identifier. Present for custom assets. Read-only.

widthint64

Width of the image in pixels. Read-only.

heightint64

Height of the image in pixels. Read-only.

formatImageType

Image format. Possible values: JPEG, JPG, PNG, HEIC, HEIF, SVG, WEBP. Read-only.

sizeBytesint64

File size in bytes. Read-only.

orientationOrientation

Image orientation. Possible values: PORTRAIT, LANDSCAPE, SQUARE. Read-only.

providerAssetUrlstring

Source URL of the image at the provider system. Read-only.

providerTokenstring

Provider-specific authentication or access token. Read-only.

checkSumstring

File checksum for verifying asset integrity after transfer. Read-only.

sortPositionint64

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
}

See Also