Amazon Advertising
Manage Amazon Sponsored Products, Sponsored Brands, and Sponsored Display advertising.
Cost10 credits / call
POST ·
https://api.nexscope.ai/api/skill-api/v1/skills/amazon-advertising/runMCP · nexscope_amazon_advertisingChoose an integration method
API
What this API does
Run documented Amazon Advertising sb, sd, or sp operations with server-derived paths and preview confirmation. View request parameters, response fields, and MCP usage.
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/amazon-advertising/runMCP method
nexscope_amazon_advertisingStep 1 of 3 · Authenticate
Authentication
All run endpoints require a user API key. Send it as a bearer token in the Authorization header.
Authorization: Bearer nk-xxxxxxxxxxxxxxxxxMissing or invalid API keys return an authentication error. Manage keys from .
Step 2 of 3 · Send a request
POST
https://api.nexscope.ai/api/skill-api/v1/skills/amazon-advertising/runRun an API
The API key owner must own connectionId. Raw provider method, path, content type, and workspace are not accepted.
Example request
Replace YOUR_API_KEY, then run this command in your terminal.
curl -X POST 'https://api.nexscope.ai/api/skill-api/v1/skills/amazon-advertising/run' \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"payload": {
"maxResults": 10,
"campaignIdFilter": {
"include": [
"123456789"
]
}
},
"operationId": "ads_manager.sp.list_campaigns",
"connectionId": 123
}'Step 3 of 3 · Inspect the result
Check the response
Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.
HTTP status codes
| Code | Description |
|---|---|
| 200 | HTTP request completed. Check JSON code; only 0 indicates business success or acceptance. |
| 400 | Request JSON or required API parameters are invalid. |
| 401 | API key is missing, invalid, or cannot be matched to a user. |
| 5xx | API execution or upstream service failed. |
POST
https://api.nexscope.ai/api/skill-api/v1/skills/amazon-advertising/runRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/api/skill-api/v1/skills/amazon-advertising/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Amazon Ads operation guide
Select an operation ID below and send it with an owned connectionId. Read operations return the governed result. Create and update operations require payload and a preview followed by a separate confirmation with the returned single-use confirmationToken. Sponsored Products POST /list filters belong in payload, not queryString.
The table lists the 61 operation IDs accepted by the Nexscope catalog. Use the Nexscope run endpoint shown above; provider paths and credentials are handled by the backend.
Sponsored Products (28 operations)
| operationId | Action | Access |
|---|---|---|
| ads_manager.sp.create_ad_groups | Create Ad Groups | Preview and confirm |
| ads_manager.sp.create_budget_rules | Create Budget Rules | Preview and confirm |
| ads_manager.sp.create_budget_rules_association | Create Budget Rules Association | Preview and confirm |
| ads_manager.sp.create_campaign_negative_keywords | Create Campaign Negative Keywords | Preview and confirm |
| ads_manager.sp.create_campaign_negative_targets | Create Campaign Negative Targets | Preview and confirm |
| ads_manager.sp.create_campaigns | Create Campaigns | Preview and confirm |
| ads_manager.sp.create_keywords | Create Keywords | Preview and confirm |
| ads_manager.sp.create_negative_keywords | Create Negative Keywords | Preview and confirm |
| ads_manager.sp.create_negative_targets | Create Negative Targets | Preview and confirm |
| ads_manager.sp.create_product_ads | Create Product Ads | Preview and confirm |
| ads_manager.sp.create_targets | Create Targets | Preview and confirm |
| ads_manager.sp.list_ad_groups | List Ad Groups | Read |
| ads_manager.sp.list_budget_rules | List Budget Rules | Read |
| ads_manager.sp.list_campaigns | List Campaigns | Read |
| ads_manager.sp.list_keywords | List Keywords | Read |
| ads_manager.sp.list_negative_keywords | List Negative Keywords | Read |
| ads_manager.sp.list_product_ads | List Product Ads | Read |
| ads_manager.sp.list_targets | List Targets | Read |
| ads_manager.sp.update_ad_groups | Update Ad Groups | Preview and confirm |
| ads_manager.sp.update_budget_rules | Update Budget Rules | Preview and confirm |
| ads_manager.sp.update_campaign_negative_keywords | Update Campaign Negative Keywords | Preview and confirm |
| ads_manager.sp.update_campaign_negative_targets | Update Campaign Negative Targets | Preview and confirm |
| ads_manager.sp.update_campaigns | Update Campaigns | Preview and confirm |
| ads_manager.sp.update_keywords | Update Keywords | Preview and confirm |
| ads_manager.sp.update_negative_keywords | Update Negative Keywords | Preview and confirm |
| ads_manager.sp.update_negative_targets | Update Negative Targets | Preview and confirm |
| ads_manager.sp.update_product_ads | Update Product Ads | Preview and confirm |
| ads_manager.sp.update_targets | Update Targets | Preview and confirm |
Sponsored Brands (12 operations)
| operationId | Action | Access |
|---|---|---|
| ads_manager.sb.create_ad_groups | Create Ad Groups | Preview and confirm |
| ads_manager.sb.create_ads | Create Ads | Preview and confirm |
| ads_manager.sb.create_budget_rules | Create Budget Rules | Preview and confirm |
| ads_manager.sb.create_campaigns | Create Campaigns | Preview and confirm |
| ads_manager.sb.list_ad_groups | List Ad Groups | Read |
| ads_manager.sb.list_ads | List Ads | Read |
| ads_manager.sb.list_budget_rules | List Budget Rules | Read |
| ads_manager.sb.list_campaigns | List Campaigns | Read |
| ads_manager.sb.update_ad_groups | Update Ad Groups | Preview and confirm |
| ads_manager.sb.update_ads | Update Ads | Preview and confirm |
| ads_manager.sb.update_budget_rules | Update Budget Rules | Preview and confirm |
| ads_manager.sb.update_campaigns | Update Campaigns | Preview and confirm |
Sponsored Display (21 operations)
| operationId | Action | Access |
|---|---|---|
| ads_manager.sd.create_ad_groups | Create Ad Groups | Preview and confirm |
| ads_manager.sd.create_budget_rules | Create Budget Rules | Preview and confirm |
| ads_manager.sd.create_campaigns | Create Campaigns | Preview and confirm |
| ads_manager.sd.create_creatives | Create Creatives | Preview and confirm |
| ads_manager.sd.create_negative_targets | Create Negative Targets | Preview and confirm |
| ads_manager.sd.create_product_ads | Create Product Ads | Preview and confirm |
| ads_manager.sd.create_targets | Create Targets | Preview and confirm |
| ads_manager.sd.list_ad_groups | List Ad Groups | Read |
| ads_manager.sd.list_budget_rules | List Budget Rules | Read |
| ads_manager.sd.list_campaigns | List Campaigns | Read |
| ads_manager.sd.list_creatives | List Creatives | Read |
| ads_manager.sd.list_negative_targets | List Negative Targets | Read |
| ads_manager.sd.list_product_ads | List Product Ads | Read |
| ads_manager.sd.list_targets | List Targets | Read |
| ads_manager.sd.update_ad_groups | Update Ad Groups | Preview and confirm |
| ads_manager.sd.update_budget_rules | Update Budget Rules | Preview and confirm |
| ads_manager.sd.update_campaigns | Update Campaigns | Preview and confirm |
| ads_manager.sd.update_creatives | Update Creatives | Preview and confirm |
| ads_manager.sd.update_negative_targets | Update Negative Targets | Preview and confirm |
| ads_manager.sd.update_product_ads | Update Product Ads | Preview and confirm |
| ads_manager.sd.update_targets | Update Targets | Preview and confirm |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
operationId | string | required | Exact catalog operation ID, for example ads_manager.sp.list_campaigns. Example: ads_manager.sp.list_campaigns |
connectionId | integer | required | Owned Amazon Ads connection ID. Example: 123 |
payload | object | optional | Documented fields for the selected operation; required by create/update operations. SP POST /list filters such as campaignIdFilter and stateFilter belong in payload as objects with non-empty include arrays of strings. Example: {
"maxResults": 10,
"campaignIdFilter": {
"include": [
"123456789"
]
}
} |
queryString | string | optional | Optional operation-specific query string without a leading ?; do not use it for SP POST /list filters. Example: |
adType | string | optional | Required only by ads_manager.sb.create_ads. Example: video |
action | string | optional | preview (default) or confirm for mutations; ignored for reads. Example: preview |
confirmationToken | string | optional | Single-use token required when action is confirm. Example: opaque-token |
Code example
{
"payload": {
"maxResults": 10,
"campaignIdFilter": {
"include": [
"123456789"
]
}
},
"operationId": "ads_manager.sp.list_campaigns",
"connectionId": 123
}Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"data": {
"data": {},
"confirmationToken": "opaque-token",
"expiresAt": "1760000000000"
},
"code": 0,
"msg": null,
"ts": "0",
"time": "2026-01-01 00:00:00",
"cost": "-1",
"traceId": null
}Response fields
| Name | Type | Required | Description |
|---|---|---|---|
data | any | required | Data value used by this API operation. |
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
msg | string | null | required | Msg value used by this API operation. |
ts | string | required | Epoch milliseconds. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
traceId | string | null | required | Trace id value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.data | object | optional | Safe Amazon Ads provider result. Example: {} |
data.confirmationToken | string | optional | Single-use mutation confirmation token returned by preview. Example: opaque-token |
data.expiresAt | integer | optional | Confirmation expiry timestamp when returned. Example: 1760000000000 |
data.type | string | optional | Provider-specific render or payload type. Example: null |
data.title | string | optional | Provider-specific response title. Example: null |
data.sourceType | string | optional | Provider-specific source platform type. Example: null |
data.sourceTool | string | optional | Provider-specific source tool name. Example: null |
data.costToken | integer | optional | Token cost reported by the upstream provider. Example: null |
data.costTime | integer | optional | Execution time reported by the upstream provider. Example: null |
data.page | integer | optional | Current page returned by the upstream provider. Example: null |
data.pageSize | integer | optional | Page size returned by the upstream provider. Example: null |
data.pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. Example: null |
data.totalPage | integer | optional | Total page count returned by the upstream provider. Example: null |
data.dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
Responses
| Code | Description |
|---|---|
| 200 | HTTP request completed. Check JSON code; only 0 indicates business success or acceptance. |
| 400 | Request JSON or required API parameters are invalid. |
| 401 | API key is missing, invalid, or cannot be matched to a user. |
| 5xx | API execution or upstream service failed. |
Data source, freshness, and limitations
Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.
Step 1 of 2 · Connect your MCP client
MCP
V2 recommendedConnect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.
POST https://api.nexscope.ai/api/skill-api/v2/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/jsonAuthentication
OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.
Step 2 of 2 · Call the tool
Call a tool
{
"jsonrpc": "2.0",
"id": "tool-call-1",
"method": "tools/call",
"params": {
"name": "nexscope_amazon_advertising",
"arguments": {
"payload": {
"maxResults": 10,
"campaignIdFilter": {
"include": [
"123456789"
]
}
},
"operationId": "ads_manager.sp.list_campaigns",
"connectionId": 123
}
}
}Legacy MCP v1
Existing API-key clients can continue using the compatibility endpoint. New integrations should use MCP v2.
GET / POST /api/skill-api/v1/mcpOnline test
Execute the current API with your API key and JSON payload.
10 credits / callAPI usage records
Try it
Send a real request with the same contract shown in the reference.
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/amazon-advertising/runMCP method
nexscope_amazon_advertisingcURL
curl -X POST \
https://api.nexscope.ai/api/skill-api/v1/skills/amazon-advertising/run \
-H "Authorization: Bearer nk-..." \
-H "Content-Type: application/json" \
-d '{ "payload": { "maxResults": 10, "campaignIdFilter": { "include": [ "123456789" ] } }, "operationId": "ads_manager.sp.list_campaigns", "connectionId": 123 }'Response
No response yet. Run the request to see the response here.
Related APIs
Amazon Ads Sponsored Products Audience Report
Retrieve Sponsored Products audience reports.
Amazon Ads Sponsored Products Search Impression Share Report
Retrieve Sponsored Products search impression share reports.
Amazon Ads Sponsored Products Insights Report Status
Check the processing status of an advertising insights report.
Amazon Ads Sponsored Products Insights Report Download
Download a completed advertising insights report.