nexscope-ai/nexscope-ecommerce-skills / ecommerce-amazon-advertising-api
ecommerce.amazon-advertising-api
VerifiedAuthorize Amazon Ads accounts, manage SP, SB, and SD entities, and retrieve advertising reports.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 36.6 KB |
| manifest.json | config | 674 B |
| references/ads-report-types.json | config | 288.8 KB |
| references/api.json | config | 154.6 KB |
| references/api.md | markdown | 130.0 KB |
| references/testing.md | markdown | 2.6 KB |
| scripts/amazon_ads_report_workflow.py | script | 11.8 KB |
| scripts/amazon_api.py | script | 21.2 KB |
| scripts/amazon_connection.py | script | 2.4 KB |
references/testing.md
View on GitHub# Verification guide
## Directly executable prompts
SP v3 filter check: `ads_manager.sp.list_campaigns` accepts `"campaignIdFilter":{"include":["123456789"]}` or `"stateFilter":{"include":["ENABLED"]}` in the request body. A bare array or `queryString` must fail locally before an upstream call.
1. Basic: "Run `python scripts/amazon_connection.py '{"action":"connections","workspaceId":"user:42"}'` and show the unwrapped result without exposing credentials."
2. Filtered: "Run `python scripts/amazon_api.py '{"operation":"ads_manager.sb.list_ad_groups","workspaceId":"user:42","connectionId":7,"fetchAll":true,"maxPages":5}'` and summarize the bounded page, status, or alternate operation result."
3. Advanced: "Run `python scripts/amazon_connection.py '{"action":"authorize","workspaceId":"user:42","region":"NA","marketplaceId":"ATVPDKIKX0DER","accountName":"Example account"}'`; if it returns a write preview, show the exact preview and wait for explicit approval before a separate confirm invocation."
## Required user information
Collect an owned `connectionId`, the intended Amazon account, marketplace, and region, plus the operation-specific path, query, and body fields in `api.json`. `workspaceId` is optional: omit it when the API key is already bound to the workspace. Never request provider access or refresh tokens.
## Expected route and result
- Ads reads use `POST /api/skill/amazon/ads/read`; Ads mutations use `POST /api/skill/amazon/ads/write-preview` followed after exact approval by `write-confirm`. The aggregate package also uses the Amazon Ads connection routes.
- Documents are represented by opaque tokens. Download envelopes may contain JSON, CSV, text, or binary `contentBase64`; an optional caller path may save at most 20 MiB. Existing files are not overwritten unless `overwrite:true` is supplied, and symlink or non-regular targets are rejected.
## Operational notes
Amazon may charge advertising spend or apply account mutations. Confirm writes explicitly. Respect region and marketplace selection, rate limits, next-token pagination, bounded `maxPages`, polling timeout, and resume IDs. Treat order, customer, advertising, and document content as private. Do not log secrets or opaque document tokens.
## Error cases
Test missing and invalid fields, invalid JSON, 401, 403, 429, 5xx, polling timeout, empty results, malformed or non-JSON gateway responses, a mismatched confirmation token, expired document tokens, and unsupported document encodings. No live provider request is part of static validation.
## Evidence
- [x] Static
- [ ] Mock
- [ ] Sandbox
- [ ] Live
- [ ] ZIP
- [x] English
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |