# snapchat_upload_media

> Upload base64 image/video bytes to a previously created media object. A write tool that previews before it changes anything, one of 41 Snapchat Ads tools…

[Documentation](https://www.getmcpads.com/docs) / [Sources](https://www.getmcpads.com/docs/sources) / [Snapchat Ads](https://www.getmcpads.com/docs/sources/snapchat-ads)

Upload base64 image/video bytes to a previously created media object. Maximum 10 MiB decoded. No external URL fetching. Preview does not send bytes; confirm true uploads after ownership verification.

> **Warning** This tool changes the account. It is absent from the tool list on the Free plan, and it previews by default: without `confirm: true` it describes the change and applies nothing.

|  |  |
| --- | --- |
| Source | [Snapchat Ads](https://www.getmcpads.com/docs/sources/snapchat-ads) |
| Kind | Write |
| Discovery | Reachable through `search_tools` and `run_tool` |
| Account parameter | `adAccountId` |
| Endpoint | https://mcp.getmcpads.com/snapchat-ads/mcp |

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `adAccountId` | string | Required | Selected Snapchat ad account UUID; never an organization ID. |
| `mediaId` | string | Required | Native Snapchat entity UUID. |
| `fileName` | string | Required | Filename including extension. |
| `mimeType` | string | Required | MIME type of the uploaded bytes. One of: `image/png`, `image/jpeg`, `video/mp4`, `video/quicktime`. |
| `base64` | string | Required | Base64 file content, without a data URL prefix. |
| `confirm` | boolean | Optional | Only true applies the previewed change. Default: `false`. |

## Calling it

Through run_tool, since it is not announced

```json
{
  "name": "run_tool",
  "arguments": {
    "name": "snapchat_upload_media",
    "args": {
      "adAccountId": "<string>",
      "mediaId": "<string>",
      "fileName": "<string>",
      "mimeType": "image/png",
      "base64": "<string>"
    }
  }
}
```

- [Snapchat Ads metrics](https://www.getmcpads.com/docs/sources/snapchat-ads/metrics): What you can ask for.
- [Snapchat Ads dimensions](https://www.getmcpads.com/docs/sources/snapchat-ads/dimensions): How you can break it down.

---

This page as HTML: https://www.getmcpads.com/docs/sources/snapchat-ads/tools/snapchat_upload_media
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
