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
Equivalent REST API path
https://claw-callback.nexscope.ai/api/skill-api/v1/skills/amazon-ads-reporting/run
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": {
      "reportTypeId": "spCampaigns",
      "startDate": "2026-07-01",
      "columns": [
        "campaignId",
        "impressions"
      ],
      "endDate": "2026-07-31",
      "groupBy": [
        "campaign"
      ],
      "connectionId": 123,
      "adProduct": "SPONSORED_PRODUCTS"
    }
  }
}
REST API equivalent
POST https://claw-callback.nexscope.ai/api/skill-api/v1/skills/amazon-ads-reporting/run
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.

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

Examples

Example arguments

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

Example structuredContent

{
  "status": "PENDING",
  "reportId": "report-id",
  "documentToken": "opaque-document-token",
  "content": {},
  "contentType": "application/json"
}