Asset
The Asset object represents an image file that can be used by one or more creatives.
¶ Properties
| Field | Type | Description |
|---|---|---|
asset_id |
string | Unique asset identifier |
name |
string | Human-readable asset name |
file_url |
string (url) | URL the asset file is served from |
file_specs |
FileSpecs | Specifications of the file, by file type (oneof) |
metadata |
AssetMetadata | Creation and last-update audit information |
status |
string | Processing status of the asset. See values below |
status_reasons |
array[string] | Reason codes explaining the current status. Populated when processing fails. See values below |
¶ Status Values
| Value | Description |
|---|---|
ASSET_STATUS_PROCESSING |
Uber is fetching and processing the file |
ASSET_STATUS_COMPLETED |
Processing succeeded; the asset can be used in a creative |
ASSET_STATUS_FAILED |
Processing failed. See status_reasons |
¶ Status Reason Values
| Value | Description |
|---|---|
ASSET_STATUS_REASON_INVALID_DIMENSIONS |
The file’s dimensions do not meet the requirements |
ASSET_STATUS_REASON_DOWNLOAD_ERROR |
Uber could not download the file from file_url |
ASSET_STATUS_REASON_INTERNAL |
Processing failed for an internal reason |
An asset must reach ASSET_STATUS_COMPLETED before a creative can reference it. Processing is asynchronous, so poll Get Assets after creating one. Assets are not reviewed; review happens on the Creative that uses them.