Ads API •References / assets / Transfer Chunked Asset
Transfer Chunked Asset
Continues the upload session of a chunked asset by transferring one section of binary media data. Supports uploads of file chunks up to 20MB in size. Asset type can be either image, audio, or video.
Request
- ad_account_idstring [uuid]Required
A unique identifier for an Ad Account.
Example:ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a
- asset_idstring [uuid]Required
A unique identifier for the entity.
Example:ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a
- upload_session_idstring [uuid]Required
A unique identifier for the entity.
Example:"ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a"
- upload_sectioninteger [int32]RequiredMinimum value:
1
Example:1
- mediastring [binary]RequiredSupported content-type(s):
image/png, image/jpeg, audio/ogg, audio/mp3, audio/wav, audio/mpeg, audio/x-wav, video/mp4, video/quicktime
- asset_typestringRequired
The type of asset.
Allowed values:"AUDIO"
,"IMAGE"
,"VIDEO"
Example:"IMAGE"
Response
A boolean success indicator.
- successbooleanExample:
true
Response sample
{ "success": true}