Skip to content
Ads APIReferences / 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_id
    string [uuid]
    Required

    A unique identifier for an Ad Account.

    Example value: "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a"
  • asset_id
    string [uuid]
    Required

    A unique identifier for the entity.

    Example value: "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a"
  • upload_session_id
    string [uuid]
    Required

    A unique identifier for the entity.

    Example value: "ce4ff15e-f04d-48b9-9ddf-fb3c85fbd57a"
  • upload_section
    integer [int32]
    Required
    Example value: 1Minimum value: 1
  • media
    string [binary]
    Required
    Supported content-type(s): image/png, image/jpeg, audio/ogg, audio/mp3, audio/wav, audio/mpeg, audio/x-wav, video/mp4, video/quicktime
  • asset_type
    string
    Required

    The type of asset.

    Example value: "IMAGE"Allowed values: "AUDIO", "IMAGE", "VIDEO"

Response

A boolean success indicator.

  • success
    boolean
    Example value: true

Response sample

{  "success": true}