Amazon Advertising
Amazon Ads SP Insights Report Download
Amazon Ads SP Insights Report Download using an owned Amazon Ads connection.
MCP tool name
nexscope_amazon_ads_sp_insights_report_downloadMCP endpoint
https://api.nexscope.ai/mcpJSON-RPC method
tools/callAuthentication
Use OAuth 2.1 Authorization Code with PKCE and the mcp:tools scope. API keys remain supported as a compatibility option.
Authorization: Bearer nk-xxxxxxxxxxxxxxxxxIf authentication fails, ask the user to open API Access and copy a valid key.
Call this MCP tool
Initialize an MCP 2025-11-25 Streamable HTTP session at https://api.nexscope.ai/mcp, then use tools/call.
{
"jsonrpc": "2.0",
"id": "amazon-ads-sp-insights-report-download-1",
"method": "tools/call",
"params": {
"name": "nexscope_amazon_ads_sp_insights_report_download",
"arguments": {
"connectionId": 123,
"documentToken": "opaque-document-token"
}
}
}MCP 2025-11-25 · Streamable HTTPProgress is delivered on the original POST SSE response. GET SSE carries notifications; reconnecting must query existing asynchronous work rather than submit again.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
connectionId | integer | required | Owned Amazon Ads connection ID; profile and region are resolved by the backend. Example: 123 |
documentToken | string | required | Backend-issued token from a completed report part, consumed by the existing download workflow. Example: opaque-document-token |
Response fields
Treat structuredContent as the programmatic API response payload.
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
data | any | required | Data value used by this API operation. |
msg | string | null | required | Msg value used by this API operation. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
traceId | string | null | required | Trace id value used by this API operation. |
ts | string | required | Epoch milliseconds. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.content | any | optional | UTF-8 CSV report content |
data.contentType | any | optional | Downloaded media type |
data.costTime | any | optional | Execution time reported by the upstream provider. |
data.costToken | any | optional | Token cost reported by the upstream provider. |
data.dataSnapshotMonth | any | optional | Data snapshot month returned by the upstream provider. |
data.page | any | optional | Current page returned by the upstream provider. |
data.pageItemCount | any | optional | Item count on the current page returned by the upstream provider. |
data.pageSize | any | optional | Page size returned by the upstream provider. |
data.sourceTool | any | optional | Provider-specific source tool name. |
data.sourceType | any | optional | Provider-specific source platform type. |
data.title | any | optional | Provider-specific response title. |
data.totalPage | any | optional | Total page count returned by the upstream provider. |
data.type | any | optional | Provider-specific render or payload type. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.content | string | optional | UTF-8 CSV report content Example: date.value,metric.impressions
2026-08-01,10
|
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.content | null | optional | UTF-8 CSV report content |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.contentType | string | optional | Downloaded media type Example: text/csv |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.contentType | null | optional | Downloaded media type |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.costTime | integer | optional | Execution time reported by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.costTime | null | optional | Execution time reported by the upstream provider. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.costToken | integer | optional | Token cost reported by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.costToken | null | optional | Token cost reported by the upstream provider. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.dataSnapshotMonth | null | optional | Data snapshot month returned by the upstream provider. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.page | integer | optional | Current page returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.page | null | optional | Current page returned by the upstream provider. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.pageItemCount | null | optional | Item count on the current page returned by the upstream provider. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.pageSize | integer | optional | Page size returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.pageSize | null | optional | Page size returned by the upstream provider. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.sourceTool | string | optional | Provider-specific source tool name. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.sourceTool | null | optional | Provider-specific source tool name. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.sourceType | string | optional | Provider-specific source platform type. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.sourceType | null | optional | Provider-specific source platform type. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.title | string | optional | Provider-specific response title. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.title | null | optional | Provider-specific response title. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.totalPage | integer | optional | Total page count returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.totalPage | null | optional | Total page count returned by the upstream provider. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.type | string | optional | Provider-specific render or payload type. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.type | null | optional | Provider-specific render or payload type. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
Examples
Example arguments
{
"connectionId": 123,
"documentToken": "opaque-document-token"
}Example structuredContent
{
"code": 0,
"cost": "-1",
"data": {
"content": "date.value,metric.impressions\n2026-08-01,10\n",
"contentType": "text/csv"
},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}