Nexscope

Amazon Advertising

Amazon Ads API Access MCP Tool

Starts Amazon Ads OAuth authorization or returns safe connection and profile metadata. Access and refresh tokens are never accepted or returned.

MCP tool name
nexscope_amazon_ads_api_access
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-api-access-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_amazon_ads_api_access",
    "arguments": {
      "region": "NA",
      "marketplaceId": "ATVPDKIKX0DER",
      "operation": "authorize",
      "accountName": "US Ads account"
    }
  }
}
Legacy endpoint
POST /api/skill-api/v1/mcp
Canonical detail URL
https://www.nexscope.ai/mcp-map/amazon-ads-api-access

Arguments

NameTypeRequiredMeaning
operationstringrequired
Operation: authorize, connections, or profiles.
Example: authorize
regionstringrequired
Required when operation=authorize. Amazon Ads region: NA, EU, or FE.
Example: NA
marketplaceIdstringrequired
Required when operation=authorize. Amazon marketplace identifier.
Example: ATVPDKIKX0DER
accountNamestringoptional
Optional display name for the authorization request.
Example: US Ads account
connectionIdintegeroptional
Required when operation=profiles. Owned Amazon Ads connection ID.
Example: 123

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.authorizationUrlstringoptional
OAuth URL to open in a browser.
Example: https://example.com/authorize
data.statestringoptional
Opaque OAuth state used only by the backend callback.
Example: opaque-state
data.expiresAtintegeroptional
Authorization state expiry timestamp in milliseconds.
Example: 1760000000000
data.connectionsarrayoptional
Safe owned Amazon Ads connection metadata.
Example: []
data.profilesarrayoptional
Safe Amazon Ads profiles for the selected connection.
Example: []
data.profiles[].profileIdstringoptional
Amazon Ads profile ID.
Example: 123456789
data.profiles[].countryCodestringoptional
Profile country code.
Example: US
data.profiles[].currencyCodestringoptional
Profile currency code.
Example: USD
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

{
  "region": "NA",
  "marketplaceId": "ATVPDKIKX0DER",
  "operation": "authorize",
  "accountName": "US Ads account"
}

Example structuredContent

{
  "data": {
    "authorizationUrl": "https://example.com/authorize",
    "state": "opaque-state",
    "expiresAt": "1760000000000",
    "connections": [],
    "profiles": [
      {
        "profileId": "123456789",
        "countryCode": "US",
        "currencyCode": "USD"
      }
    ]
  },
  "code": 0,
  "msg": null,
  "ts": "0",
  "time": "2026-01-01 00:00:00",
  "cost": "-1",
  "traceId": null
}