hermosodocs

upload_meta_playable

Upload a playable ad to Meta

Area: Meta ad-set targeting, shared by create_meta_ad and create_m… · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Upload a PLAYABLE ad (an interactive HTML game the advertiser already has) to a Meta ad account. Pass url: ONE HTML file up to 2 MB, or a zip up to 5 MB (under 100 files) with index.html at the top; it must call FbPlayableAd.onCTAClick() and load nothing from outside. Hermoso checks those rules first and refuses a file Meta would reject. Returns playableAssetId: build the ad with create_meta_ad(playableAssetId, adSetId of an App Installs ad set, ONE lead-in video). Meta has no way to delete a playable once uploaded. Free.

Parameters

ParameterTypeDescription
adAccountIdrequiredstringact_… or the bare number, from list_meta_pages
urlrequiredstringpublic https link to the HTML file or zip; upload_file turns a local file into one
namestringdisplay name for the playable in Meta; optional

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/upload_meta_playable.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"upload_meta_playable","arguments":{"adAccountId":"<string>","url":"<string>"}}}

CLI

hermoso call upload_meta_playable --json '{"adAccountId":"<string>","url":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 759 Ad campaign management tools · tools.json