https://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-audience-report/runRun this API
Send a JSON request to execute this API and receive the direct response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-audience-report/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
connectionId | integer | required | Owned Amazon Ads connection ID; profile and region are resolved by the backend. Example: 123 |
startDate | string | required | Inclusive report start date in YYYY-MM-DD. Example: 2026-08-01 |
endDate | string | required | Inclusive YYYY-MM-DD date, not after today or before startDate. Example: 2026-08-07 |
advertiserAccountId | string | optional | Optional explicit recovery account ID; omitted means unique mapping from the authorized profile. |
timeUnit | string | optional | DAILY or SUMMARY; defaults to DAILY. |
detailLevel | string | optional | ACCOUNT, CAMPAIGN or AD_GROUP; defaults to ACCOUNT. |
Request example
{
"connectionId": 123,
"startDate": "2026-08-01",
"endDate": "2026-08-07"
}Response body
Normalized single Reporting v1 report. Signed URLs are replaced with owned, expiring documentToken values. No automatic recreation occurs.
| Name | Type | Required | Description |
|---|---|---|---|
reportId | string | required | Created or queried report identifier. Example: report-id |
status | string | optional | Provider report state when present. Example: PENDING |
completedReportParts | array | optional | Completed CSV parts; each part contains a backend documentToken instead of a signed URL. Example: [] |
reportParts | array | optional | Provider alias for completed parts, when present. Example: [] |
errcode | integer | optional | Upstream status code returned by the provider. |
errmsg | string | optional | Upstream status message returned by the provider. |
code | string | optional | Provider-specific status code. |
msg | string | optional | Provider-specific status message. |
message | string | optional | Provider-specific message. |
type | string | optional | Provider-specific render or payload type. |
title | string | optional | Provider-specific response title. |
sourceType | string | optional | Provider-specific source platform type. |
sourceTool | string | optional | Provider-specific source tool name. |
costToken | integer | optional | Token cost reported by the upstream provider. |
costTime | integer | optional | Execution time reported by the upstream provider. |
page | integer | optional | Current page returned by the upstream provider. |
pageSize | integer | optional | Page size returned by the upstream provider. |
pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. |
totalPage | integer | optional | Total page count returned by the upstream provider. |
dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. |
Response example
Direct response payload. No extra wrapper is added.
{
"reportId": "report-id",
"status": "PENDING",
"completedReportParts": [],
"reportParts": []
}Responses
| Code | Description |
|---|---|
| 200 | API executed successfully. Body is the direct response payload. |
| 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.