meta_ads_videos_upload_file
Upload a local video file to Meta Ads library and get a video_id for use in ad creatives. Supports MP4, MOV, AVI, WMV, MKV up to 1 GB.
Instructions
Uploads a video from a local file path to the Meta Ads account library. Returns the video_id to reference in creative-construction tools. Mutating. Meta processes the video asynchronously after upload — poll meta_ads_videos_get until status.video_status reports ready (typically a few minutes) before attaching it to a creative. Supported formats: MP4, MOV, AVI, WMV, MKV, up to 1 GB via this tool; larger files need resumable upload (not yet supported). For uploads from public URLs use meta_ads_videos_upload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title stored with the uploaded video. Used for library organization; not shown in ads. | |
| file_path | Yes | Path to the video file on the agent's filesystem. Supported formats: MP4, MOV, AVI, WMV, MKV, up to 1 GB; larger files need resumable upload (not yet supported). | |
| account_id | No | Meta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required. |