upload_ad_image
Upload an image from a public URL to the Meta Ads image library via multipart form. Returns the image hash required for creating ad creatives and multi-asset ads. Supports JPG and PNG up to 30MB.
Instructions
Upload an image from URL into Meta ad images library.
Downloads the image from the provided URL, then uploads it to Meta via multipart form upload. Returns the image hash needed for creative creation (create_ad_creative, create_multi_asset_ad) and ad building.
Supported formats: JPG, PNG. Max size: 30MB.
Args: account_id: Ad account ID (e.g., 'act_123456789'). image_url: Public URL of the image to upload. name: Optional name for the image in the library. Defaults to filename from URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| image_url | Yes | ||
| name | No |