upload_meta_playable
Upload a playable ad to Meta
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
| Parameter | Type | Description |
|---|---|---|
adAccountIdrequired | string | act_… or the bare number, from list_meta_pages |
urlrequired | string | public https link to the HTML file or zip; upload_file turns a local file into one |
name | string | display 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.
Related tools
create_meta_adBuild a full Meta ad (campaign -> ad set -> ad, paused)list_meta_playablesList Meta playablescreate_meta_adsetCreate a Meta ad set (audience + budget + schedule)