upload_image
Upload ad images from a public URL or local file path, returning an image hash for use in Meta Ads creatives.
Instructions
Upload an ad image from a public URL or a local file path. Returns image hash for use in ad creatives.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL of the image to upload | |
| name | No | Name for the uploaded image (defaults to the file name when file_path is used) | |
| file_path | No | Local filesystem path of the image to upload (sent as raw bytes; no public hosting needed) |