Nexscope

Amazon Advertising

Amazon Ads Reporting MCP Tool

Uses the source get_report contract: omit reportId to create, supply reportId to poll, or supply a backend documentToken to download.

MCP tool name
nexscope_amazon_ads_reporting
Legacy MCP endpoint
/api/skill-api/v1/mcp
JSON-RPC method
tools/call

Authentication

Send the user API key as a bearer token on every MCP JSON-RPC request.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx

If authentication is missing or invalid, ask the user to open API Access and copy a valid key before calling this tool.

Call this MCP tool

Use tools/call with the MCP tool name below. The arguments object should match the table on this page.

{
  "jsonrpc": "2.0",
  "id": "amazon-ads-reporting-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_amazon_ads_reporting",
    "arguments": {
      "endDate": "2026-07-31",
      "groupBy": [
        "campaign"
      ],
      "connectionId": 123,
      "adProduct": "SPONSORED_PRODUCTS",
      "reportTypeId": "spCampaigns",
      "startDate": "2026-07-01",
      "columns": [
        "campaignId",
        "impressions"
      ]
    }
  }
}
Legacy endpoint
POST /api/skill-api/v1/mcp
Canonical detail URL
https://www.nexscope.ai/mcp-map/amazon-ads-reporting

Arguments

NameTypeRequiredMeaning
connectionIdintegerrequired
Owned Amazon Ads connection ID.
Example: 123
reportIdstringoptional
Existing report ID; when present the API polls that report.
Example: report-id
reportTypeIdstringoptional
Report type required by a new report unless configuration supplies it.
Example: spCampaigns
adProductstringoptional
Ad product required by a new report unless configuration supplies it.
Example: SPONSORED_PRODUCTS
groupByarrayoptional
Report grouping fields.
Example: [ "campaign" ]
columnsarrayoptional
Requested report columns.
Example: [ "campaignId", "impressions", "clicks" ]
namestringoptional
Optional report name.
Example: Campaign report
startDatestringoptional
Inclusive report start date for a new report.
Example: 2026-07-01
endDatestringoptional
Inclusive report end date for a new report.
Example: 2026-07-31
timeUnitstringoptional
Optional report time unit.
Example: DAILY
formatstringoptional
Optional report format.
Example: GZIP_JSON
filtersarrayoptional
Optional report filters.
Example: []
configurationobjectoptional
Complete Amazon Ads reporting configuration; may replace reportTypeId/adProduct/groupBy/columns.
Example: {}
documentTokenstringoptional
Backend-issued token for downloading a completed report.
Example: opaque-document-token

Response fields

Treat structuredContent as the programmatic API response payload.

NameTypeRequiredDescription
dataanyrequired
Data value used by this API operation.
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
msgstring | nullrequired
Msg value used by this API operation.
tsstringrequired
Epoch milliseconds.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
traceIdstring | nullrequired
Trace id value used by this API operation.

Any of option 1

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.statusstringoptional
Report status.
Example: PENDING
data.reportIdstringoptional
Provider report ID.
Example: report-id
data.documentTokenstringoptional
Safe opaque token used for download.
Example: opaque-document-token
data.contentobjectoptional
Downloaded report content when available.
Example: {}
data.contentTypestringoptional
Downloaded report content type.
Example: application/json
data.typestringoptional
Provider-specific render or payload type.
Example: null
data.titlestringoptional
Provider-specific response title.
Example: null
data.sourceTypestringoptional
Provider-specific source platform type.
Example: null
data.sourceToolstringoptional
Provider-specific source tool name.
Example: null
data.costTokenintegeroptional
Token cost reported by the upstream provider.
Example: null
data.costTimeintegeroptional
Execution time reported by the upstream provider.
Example: null
data.pageintegeroptional
Current page returned by the upstream provider.
Example: null
data.pageSizeintegeroptional
Page size returned by the upstream provider.
Example: null
data.pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
Example: null
data.totalPageintegeroptional
Total page count returned by the upstream provider.
Example: null
data.dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.
Example: null

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Examples

Example arguments

{
  "endDate": "2026-07-31",
  "groupBy": [
    "campaign"
  ],
  "connectionId": 123,
  "adProduct": "SPONSORED_PRODUCTS",
  "reportTypeId": "spCampaigns",
  "startDate": "2026-07-01",
  "columns": [
    "campaignId",
    "impressions"
  ]
}

Example structuredContent

{
  "data": {
    "status": "PENDING",
    "reportId": "report-id",
    "documentToken": "opaque-document-token",
    "content": {},
    "contentType": "application/json"
  },
  "code": 0,
  "msg": null,
  "ts": "0",
  "time": "2026-01-01 00:00:00",
  "cost": "-1",
  "traceId": null
}