hermosodocs

upload_snapchat_ads_creative

Upload a render to Snapchat as media + creative destructive

Area: SNAPCHAT ADS · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

PUT A FINISHED HERMOSO RENDER ONTO THE SNAPCHAT AD ACCOUNT so an ad can point at it — create_snapchat_ads_ad needs the creativeId it returns. Pass the public https url of a render; SNAPCHAT HAS NO UPLOAD-FROM-URL, so Hermoso fetches the bytes and posts them as multipart. This does TWO things in one call — it uploads the MEDIA and then builds the CREATIVE that wraps it — because a Snapchat ad points at a CREATIVE and never at a media id, and stopping after the upload leaves an asset nothing can use. A PUBLIC PROFILE IS MANDATORY: Snapchat has required profile_properties on every ad creative since 2024-02-26, so snapProfileId is REQUIRED and a call without one is refused BEFORE any bytes move (which is what stops an orphan media row being left on the ad account for a creative that could never be created). Get one from list_snapchat_ads_profiles, or read it in Snapchat Ads Manager. headline is required too. COPY LIMITS ARE SHORT AND ENFORCED: headline max 34 characters, brandName max 32, and over-long copy is REFUSED rather than truncated, because shipping words nobody wrote is worse than a refusal. To build a SECOND creative on media already uploaded, pass mediaId instead of url — nothing is downloaded or uploaded again. A file over 32MB is refused by name (Snapchat requires a chunked upload flow above that which Hermoso does not implement). Free.

Parameters

ParameterTypeDescription
adAccountIdstringSnapchat ad account id shared with this profile; omit when only one is shared
urlstringpublic https url of the render — a Hermoso render URL already is one; for any other file run it through upload_file first. Omit only when reusing mediaId.
mediaIdstringbuild a creative on media ALREADY uploaded to this ad account instead of uploading again — the way to reuse one video across several creatives
kind"video" | "image"default video
namestringlabel in Snapchat Ads Manager
headlinerequiredstringREQUIRED by Snapchat. MAX 34 CHARACTERS — the text shown beneath the brand name
brandNamestringMAX 32 CHARACTERS
callToActionstringthe swipe-up button label; must fit the creative type
landingPageUrlstringwhere a swipe-up goes
creativeTypestringomit it: LEAD_GENERATION when leadGenerationFormId is given, WEB_VIEW when landingPageUrl is given, otherwise SNAP_AD (a top snap only)
leadGenerationFormIdstringbuild a LEAD_GENERATION creative on this lead form (list_snapchat_ads_lead_forms / create_snapchat_ads_lead_form)
utmobjectUTM parameters appended to landingPageUrl. Snapchat URL macros such as {{campaign.name}}, {{adSet.name}}, {{ad.id}} are kept literal so Snapchat fills them in
utm.sourcestringutm_source value appended to landingPageUrl
utm.mediumstringutm_medium value appended to landingPageUrl
utm.campaignstringutm_campaign value appended to landingPageUrl; Snapchat macros such as {{campaign.name}} stay literal
utm.contentstringutm_content value appended to landingPageUrl
utm.termstringutm_term value appended to landingPageUrl
addUtmbooleanappend utm_source=snapchat, utm_medium=paid_social, utm_campaign={{campaign.name}}, utm_content={{ad.id}} (utm overrides any of them). Nothing is added unless asked
snapProfileIdstringREQUIRED (or profileId): the Snapchat Public Profile the ad posts as. Snapchat has rejected every creative without one since 2024-02-26. From list_snapchat_ads_profiles, or Snapchat Ads Manager.
profileIdstringolder name for snapProfileId (MCP only)
creativebooleanset false to upload the MEDIA ONLY and build the creative yourself — the default true is what an ad actually needs
aiGeneratedbooleanSnapchat's AI-content self-declaration on the media. OMIT IT and Hermoso decides from provenance: a Hermoso render is declared, your own upload_file file or an external URL is not. true or false overrides; on a reused mediaId only an explicit value changes it

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_snapchat_ads_creative.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"upload_snapchat_ads_creative","arguments":{"headline":"<string>"}}}

CLI

hermoso call upload_snapchat_ads_creative --json '{"headline":"<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