https://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-manager/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-ads-manager/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 |
|---|---|---|
| sp.create_ad_groups | Create Ad Groups | Preview and confirm |
| sp.create_budget_rules | Create Budget Rules | Preview and confirm |
| sp.create_budget_rules_association | Create Budget Rules Association | Preview and confirm |
| sp.create_campaign_negative_keywords | Create Campaign Negative Keywords | Preview and confirm |
| sp.create_campaign_negative_targets | Create Campaign Negative Targets | Preview and confirm |
| sp.create_campaigns | Create Campaigns | Preview and confirm |
| sp.create_keywords | Create Keywords | Preview and confirm |
| sp.create_negative_keywords | Create Negative Keywords | Preview and confirm |
| sp.create_negative_targets | Create Negative Targets | Preview and confirm |
| sp.create_product_ads | Create Product Ads | Preview and confirm |
| sp.create_targets | Create Targets | Preview and confirm |
| sp.list_ad_groups | List Ad Groups | Read |
| sp.list_budget_rules | List Budget Rules | Read |
| sp.list_campaigns | List Campaigns | Read |
| sp.list_keywords | List Keywords | Read |
| sp.list_negative_keywords | List Negative Keywords | Read |
| sp.list_product_ads | List Product Ads | Read |
| sp.list_targets | List Targets | Read |
| sp.update_ad_groups | Update Ad Groups | Preview and confirm |
| sp.update_budget_rules | Update Budget Rules | Preview and confirm |
| sp.update_campaign_negative_keywords | Update Campaign Negative Keywords | Preview and confirm |
| sp.update_campaign_negative_targets | Update Campaign Negative Targets | Preview and confirm |
| sp.update_campaigns | Update Campaigns | Preview and confirm |
| sp.update_keywords | Update Keywords | Preview and confirm |
| sp.update_negative_keywords | Update Negative Keywords | Preview and confirm |
| sp.update_negative_targets | Update Negative Targets | Preview and confirm |
| sp.update_product_ads | Update Product Ads | Preview and confirm |
| sp.update_targets | Update Targets | Preview and confirm |
Sponsored Brands (12 operations)
| operationId | Action | Access |
|---|---|---|
| sb.create_ad_groups | Create Ad Groups | Preview and confirm |
| sb.create_ads | Create Ads | Preview and confirm |
| sb.create_budget_rules | Create Budget Rules | Preview and confirm |
| sb.create_campaigns | Create Campaigns | Preview and confirm |
| sb.list_ad_groups | List Ad Groups | Read |
| sb.list_ads | List Ads | Read |
| sb.list_budget_rules | List Budget Rules | Read |
| sb.list_campaigns | List Campaigns | Read |
| sb.update_ad_groups | Update Ad Groups | Preview and confirm |
| sb.update_ads | Update Ads | Preview and confirm |
| sb.update_budget_rules | Update Budget Rules | Preview and confirm |
| sb.update_campaigns | Update Campaigns | Preview and confirm |
Sponsored Display (21 operations)
| operationId | Action | Access |
|---|---|---|
| sd.create_ad_groups | Create Ad Groups | Preview and confirm |
| sd.create_budget_rules | Create Budget Rules | Preview and confirm |
| sd.create_campaigns | Create Campaigns | Preview and confirm |
| sd.create_creatives | Create Creatives | Preview and confirm |
| sd.create_negative_targets | Create Negative Targets | Preview and confirm |
| sd.create_product_ads | Create Product Ads | Preview and confirm |
| sd.create_targets | Create Targets | Preview and confirm |
| sd.list_ad_groups | List Ad Groups | Read |
| sd.list_budget_rules | List Budget Rules | Read |
| sd.list_campaigns | List Campaigns | Read |
| sd.list_creatives | List Creatives | Read |
| sd.list_negative_targets | List Negative Targets | Read |
| sd.list_product_ads | List Product Ads | Read |
| sd.list_targets | List Targets | Read |
| sd.update_ad_groups | Update Ad Groups | Preview and confirm |
| sd.update_budget_rules | Update Budget Rules | Preview and confirm |
| sd.update_campaigns | Update Campaigns | Preview and confirm |
| sd.update_creatives | Update Creatives | Preview and confirm |
| sd.update_negative_targets | Update Negative Targets | Preview and confirm |
| sd.update_product_ads | Update Product Ads | Preview and confirm |
| sd.update_targets | Update Targets | Preview and confirm |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
operationId | string | required | Exact catalog operation ID, for example sp.list_campaigns. Example: 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: {
"campaignIdFilter": {
"include": [
"123456789"
]
},
"maxResults": 10
} |
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 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
{
"connectionId": 123,
"operationId": "sp.list_campaigns",
"payload": {
"campaignIdFilter": {
"include": [
"123456789"
]
},
"maxResults": 10
}
}Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {
"confirmationToken": "opaque-token",
"data": {},
"expiresAt": "1760000000000"
},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}Response fields
| 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.confirmationToken | any | optional | Confirmation token value used by this API operation. |
data.costTime | any | optional | Cost time value used by this API operation. |
data.costToken | any | optional | Cost token value used by this API operation. |
data.data | any | optional | Data value used by this API operation. |
data.dataSnapshotMonth | any | optional | Data snapshot month value used by this API operation. |
data.expiresAt | any | optional | Expires at value used by this API operation. |
data.page | any | optional | Page value used by this API operation. |
data.pageItemCount | any | optional | Page item count value used by this API operation. |
data.pageSize | any | optional | Page size value used by this API operation. |
data.sourceTool | any | optional | Source tool value used by this API operation. |
data.sourceType | any | optional | Source type value used by this API operation. |
data.title | any | optional | Title value used by this API operation. |
data.totalPage | any | optional | Total page value used by this API operation. |
data.type | any | optional | Type value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.confirmationToken | string | optional | Single-use mutation confirmation token returned by preview. Example: opaque-token |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.confirmationToken | null | optional | Confirmation token value used by this API operation. |
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 | Cost time value used by this API operation. |
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 | Cost token value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.data | object | optional | Safe Amazon Ads provider result. Example: {} |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.data | null | optional | Data value used by this API operation. |
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 value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.expiresAt | integer | optional | Confirmation expiry timestamp when returned. Example: 1760000000000 |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.expiresAt | null | optional | Expires at value used by this API operation. |
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 | Page value used by this API operation. |
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 | Page item count value used by this API operation. |
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 value used by this API operation. |
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 | Source tool value used by this API operation. |
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 | Source type value used by this API operation. |
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 | Title value used by this API operation. |
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 value used by this API operation. |
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 | Type value used by this API operation. |
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.