advideos edge from the following paths: | Parameter | Description |
|---|---|
audio_story_wave_animation_handlestring | Everstore handle of wave animation used to burn audio story video |
composer_session_idstring | SELF_EXPLANATORY |
descriptionUTF-8 string | SELF_EXPLANATORY Supports Emoji |
edit_description_specJSON object | This represents the schema that the client should send to WWW for the edit description spec during video upload. |
int64 | end_offset |
int64 | The size of the video file in bytes. Using during chunked upload. |
file_urlstring | SELF_EXPLANATORY |
fisheye_video_croppedboolean | Whether the single fisheye video is cropped or not |
front_z_rotationfloat | The front z rotation in degrees on the single fisheye video |
namestring | The name of the video in the library. |
og_action_type_idnumeric string or integer | SELF_EXPLANATORY |
og_icon_idnumeric string or integer | SELF_EXPLANATORY |
og_object_idOG object ID or URL string | SELF_EXPLANATORY |
og_phrasestring | SELF_EXPLANATORY |
og_suggestion_mechanismstring | SELF_EXPLANATORY |
original_fovint64 | Original field of view of the source camera |
enum {equirectangular, cubemap, half_equirectangular} | Original Projection type of the video being uploaded |
string | SELF_EXPLANATORY |
string | SELF_EXPLANATORY |
referenced_sticker_idnumeric string or integer | SELF_EXPLANATORY |
sourcestring | The video, encoded as form data. See the Video Format doc for more details on video formats. |
source_instagram_media_idnumeric string | The V2 ID of the Instagram video to upload. Cannot be used with |
int64 | The start position in byte of the chunk that is being sent, inclusive. Used during chunked upload. |
time_since_original_postint64 | SELF_EXPLANATORY |
titleUTF-8 string | The name of the video being uploaded. Must be less than 255 characters. Special characters may count as more than 1 character. Supports Emoji |
string | Properties used in computing transcode settings for the video |
unpublished_content_typeenum {SCHEDULED, SCHEDULED_RECURRING, DRAFT, PUBLISH_PENDING, ADS_POST, INLINE_CREATED, PUBLISHED, REVIEWABLE_BRANDED_CONTENT} | SELF_EXPLANATORY |
enum {start, transfer, finish, cancel} | The phase during chunked upload. Using during chunked upload. |
numeric string or integer | The session ID of this chunked upload. Using during chunked upload. |
string | The chunk of the video, between |
id: numeric string, upload_session_id: numeric string, video_id: numeric string, start_offset: numeric string, end_offset: numeric string, success: bool, skip_upload: bool, upload_domain: string, region_hint: string, xpv_asset_id: numeric string, is_xpv_single_prod: bool, transcode_bit_rate_bps: numeric string, transcode_dimension: numeric string, should_expand_to_transcode_dimension: bool, action_id: string, gop_size_seconds: numeric string, target_video_codec: string, target_hdr: string, maximum_frame_rate: numeric string, | Error | Description |
|---|---|
| 200 | Permissions error |
| 100 | Invalid parameter |
| 222 | Video not visible |
| 389 | Unable to fetch video file from URL. |
| 190 | Invalid OAuth 2.0 Access Token |
| 352 | The video file you selected is in a format that we don't support. |
| 6001 | There was a problem uploading your video. Please try again. |
| 382 | The video file you tried to upload is too small. Please try again with a larger file. |
| 351 | There was a problem with your video file. Please try again with another file, |
| 6000 | There was a problem uploading your video file. Please try again with another file. |
/act_{ad_account_id}/advideos.| Parameter | Description |
|---|---|
video_idvideo ID | Ad account library video ID Required |
success: bool, | Error | Description |
|---|---|
| 613 | Calls to this api have exceeded the rate limit. |
| 100 | Invalid parameter |