CreateVideoAsset

Create video asset

Path Params
string
required

Identifier of the platform who requests management api. It is passed as a path parameter.

string
required

The id of the ad account that owns this video asset.

Body Params
file

Provide the video file when using upload by file method. Do not use this parameter if object_key parameter is provided.

File Requirements:

  • Format: MP4
  • Size: 300MB
string

Provide the object key when using upload by session method. Do not use this parameter if file parameter is provided. The object key can be obtained from CreateBulkVideoUploadSession API's response. User need to upload a video file after this API's response. Please make sure file is uploaded and then request with the object_key.

Responses

Language
Credentials
Header
Response
Choose an example:
application/json