upload_snapchat_ads_creative
Upload a render to Snapchat as media + creative destructive
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
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | Snapchat ad account id shared with this profile; omit when only one is shared |
url | string | public 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. |
mediaId | string | build 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 |
name | string | label in Snapchat Ads Manager |
headlinerequired | string | REQUIRED by Snapchat. MAX 34 CHARACTERS — the text shown beneath the brand name |
brandName | string | MAX 32 CHARACTERS |
callToAction | string | the swipe-up button label; must fit the creative type |
landingPageUrl | string | where a swipe-up goes |
creativeType | string | omit it: LEAD_GENERATION when leadGenerationFormId is given, WEB_VIEW when landingPageUrl is given, otherwise SNAP_AD (a top snap only) |
leadGenerationFormId | string | build a LEAD_GENERATION creative on this lead form (list_snapchat_ads_lead_forms / create_snapchat_ads_lead_form) |
utm | object | UTM parameters appended to landingPageUrl. Snapchat URL macros such as {{campaign.name}}, {{adSet.name}}, {{ad.id}} are kept literal so Snapchat fills them in |
utm.source | string | utm_source value appended to landingPageUrl |
utm.medium | string | utm_medium value appended to landingPageUrl |
utm.campaign | string | utm_campaign value appended to landingPageUrl; Snapchat macros such as {{campaign.name}} stay literal |
utm.content | string | utm_content value appended to landingPageUrl |
utm.term | string | utm_term value appended to landingPageUrl |
addUtm | boolean | append 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 |
snapProfileId | string | REQUIRED (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. |
profileId | string | older name for snapProfileId (MCP only) |
creative | boolean | set false to upload the MEDIA ONLY and build the creative yourself — the default true is what an ad actually needs |
aiGenerated | boolean | Snapchat'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.
Related tools
create_snapchat_ads_adCreate a Snapchat ad (forced paused)list_snapchat_ads_profilesList Snapchat Public Profiles for an ad accountset_snapchat_ads_ai_declarationAdd or remove the AI-content declaration on Snapchat mediasearch_snapchat_ads_targetingResolve Snapchat targeting idscreate_snapchat_ads_campaignCreate a Snapchat campaign (forced paused)snapchat_ads_reportSnapchat ad performancelist_snapchat_ads_pixelsList Snap Pixels on a Snapchat ad accountlist_snapchat_ads_campaignsRead the Snapchat ad treecreate_snapchat_ads_ad_squadCreate a Snapchat ad squad (targeting, budget, bidding, schedule)list_snapchat_ads_accountsList Snapchat organizations and ad accounts