upload_ad_image
Upload an image from a URL to Meta Ads image library. Returns image hash needed for ad creative creation.
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 |