Ads API •References / Assets / Get Video Assets
Get Video Assets
Returns video assets for a specific ad account.
Request
- ad_account_idstring [uuid]Required
- page_sizeinteger
- offsetinteger
Response
Get video assets
- idstring [uuid]
- namestring
- duration_msinteger [int64]
- video_orientationstring [video-orientation]Allowed values:
"LANDSCAPE"
,"PORTRAIT"
Example:"LANDSCAPE"
- statusstring [asset-status]
The current status of an asset throughout lifecycle processes like upload, transcode, and approval.
Allowed values:"READY"
,"PROCESSING"
,"WAITING_UPLOAD"
,"PENDING_APPROVAL"
,"REJECTED"
,"ERROR"
Example:"READY"
- video_format_typestring [video-format-type]Allowed values:
"MP4"
,"QUICKTIME"
,"ERROR"
Example:"MP4"
- urlstring [uri]
Response sample
{ "video-assets": [ { "id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "name": "name", "duration_ms": 0, "video_orientation": "LANDSCAPE", "status": "READY", "video_format_type": "MP4", "url": "http://example.com/aeiou" }, { "id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "name": "name", "duration_ms": 0, "video_orientation": "LANDSCAPE", "status": "READY", "video_format_type": "MP4", "url": "http://example.com/aeiou" } ]}