# amazon_ads_upload_asset_bytes

> Upload supplied image/video bytes to the native S3 URL bound to the opaque uploadToken from prepare_asset_upload.

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

Upload supplied image/video bytes to the native S3 URL bound to the opaque uploadToken from prepare_asset_upload. No bearer credentials are sent to S3. Preview/confirmation binds the byte digest. Register the asset afterwards; this does not create an ad.

> **Note** Connect Amazon and explicitly select the profiles your assistant may access. Tested with an Amazon test account. Product, brand and format eligibility are enforced by Amazon; DSP and AMC are separate products.

> **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 | [Amazon Ads](https://www.getmcpads.com/docs/sources/amazon-ads) |
| Kind | Write |
| Discovery | Reachable through `search_tools` and `run_tool` |
| Account parameter | `accountId` |
| Endpoint | https://mcp.getmcpads.com/amazon-ads/mcp |

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `accountId` | string | Required | Exact selected account ID from list_accounts, including region, for example EU:123456. Regions cannot be interchanged. |
| `uploadToken` | string | Required | Opaque workspace/profile-bound upload token returned by prepare_asset_upload. |
| `bytesBase64` | string | Required | Exact image/video bytes encoded as base64, up to 16 MiB. |
| `confirm` | boolean | Optional | Preview first; confirm only the exact change authorized by the user. Default: `false`. |
| `previewToken` | string | Optional | Exact preview token, valid ten minutes in this workspace and profile. |

## Calling it

Through run_tool, since it is not announced

```json
{
  "name": "run_tool",
  "arguments": {
    "name": "amazon_ads_upload_asset_bytes",
    "args": {
      "accountId": "<string>",
      "uploadToken": "<string>",
      "bytesBase64": "<string>"
    }
  }
}
```

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

---

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