upload_meta_asset
ActiveTool of Hermoso
Upload creative(s) — a finished Hermoso ad OR arbitrary user files (e.g. a folder of media from the user’s desktop) — into a connected ad account’s ASSET LIBRARY so the user or a later ad-build step can use them in their OWN campaigns. Pass `url` for one file, or `urls` (up to 20) to BULK-upload in a single call. Each accepts a public https URL, a data: URI, or a Hermoso /generated path; for LOCAL files call upload_file first and pass the url(s) it returns. Image → image hash; video → video id. Pass adAccountId from list_meta_pages.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"url": {
"type": "string",
"description": "a single public https URL / data: URI / /generated path"
},
"kind": {
"enum": [
"image",
"video"
],
"type": "string",
"description": "inferred from the URL if omitted"
},
"name": {
"type": "string",
"description": "a label for the asset"
},
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "up to 20 media URLs/paths for a one-call BULK upload"
},
"adAccountId": {
"type": "string",
"description": "ad account id (digits or act_… — from list_meta_pages)"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Hermoso
https://github.com/hermoso-ai/hermoso
1/7 registries