Upload Meta Video
upload_meta_videoGets a video into the user's Meta ad account and returns its video_id, WITHOUT leaving the chat. Three ways, pick by what the user has: (1) THE FILE IS ON THEIR COMPUTER and they have no link: call this with no arguments. You get a one time drop link to give them; they open it, drag the file in, and that is all they do. Then call this again with ticket= to read the result and carry on building the ad. The upload completes here; it does not require Ads Manager and does not need base64. (2) THEY HAVE A LINK (their own site, Drive, Dropbox, WeTransfer): pass video_url and the file is fetched server side and pushed to Meta, so share links that Meta itself cannot read still work. (3) A video already in the account: reuse its video_id, no upload needed. The video_id is reusable across ads. mp4, mov, m4v or webm, up to 300 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket | No | ||
| video_url | No | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||