zuckerbot_upload_ad_asset
Upload a new image or video to Meta's ad library from a public URL, obtaining an image_hash or video_id. Use the returned asset reference when creating ads or adding creatives to existing campaigns.
Instructions
Upload a NEW image or video file into the connected Meta ad account's library from a publicly reachable https URL — Meta downloads the file itself, nothing is fetched locally. Returns image_hash (images) or video_id (videos) for use in zuckerbot_create_ad or a zuckerbot_create_campaign_from_spec IMAGE_SET/VIDEO ref. Videos need Meta-side processing: the tool waits briefly and polls; if still processing, call zuckerbot_get_ad_asset_status until ready=true before creating an ad with the video. Library assets are non-delivering and spend nothing. This is the first step for adding a brand-new creative file to an EXISTING (even live) campaign: upload here, then zuckerbot_create_ad into the target ad set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional library name for the uploaded video | |
| asset_url | Yes | Publicly reachable https:// URL of the image or video file (e.g. jpg, png, mp4, mov) | |
| asset_type | No | Auto-detected from the URL extension when omitted; pass explicitly for extension-less URLs | |
| business_id | No | Optional business ID override for the authenticated API key |