upload_image
Upload an image to a Meta Ads ad account. Returns a hash ({images: {filename: {hash}}}) for use in ad creatives. Image hashes are scoped to the ad account; upload separately for each account.
Instructions
WRITE: Upload an image to an ad account. Returns {images: {filename: {hash}}}. The hash is what you pass to create_ad_creative as image_hash.
IMPORTANT: Meta image hashes are SCOPED TO THE AD ACCOUNT — a hash uploaded on account A cannot be used on account B. If you need the same image across multiple accounts, call this once per account. (ScaleForge's backend caches hashes per account to avoid re-uploads within the same account.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_account_id | Yes | 'act_123' or '123' | |
| url | No | Remote URL (recommended) | |
| filename | No | Descriptive filename (Meta keys the response by this) |