amazon-ads-open-cli
Amazon Ads data retrieval and reporting via amazon-ads-open-cli. Use when the user wants to check Amazon ad performance, pull Sponsored Products/Brands/Display stats, explore campaign structure, inspect DSP orders, manage audiences, or generate async performance reports. Triggers: "Amazon Ads", "Sponsored Products", "Sponsored Brands", "Sponsored Display", "Amazon DSP", "Amazon ad performance", "Amazon campaign stats", "Amazon ad spend", "Amazon PPC", "Amazon keywords", "Amazon targets", "Amazon audiences", "Amazon brand safety", "Amazon ad report".
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bin-huang/amazon-ads-open-cliAmazon Ads CLI Skill
You have access to amazon-ads-open-cli, a read-only CLI for the Amazon Advertising API (v2/v3). Use it to list advertising profiles, inspect Sponsored Products/Brands/Display campaigns and their hierarchy, browse DSP orders and creatives, manage audiences, and request async performance reports across Amazon marketplaces.
Quick start
# Check if the CLI is available
amazon-ads-open-cli --help
# List advertising profiles (marketplaces)
amazon-ads-open-cli profiles
# List Sponsored Products campaigns
amazon-ads-open-cli sp-campaigns
If the CLI is not installed, install it:
npm install -g amazon-ads-open-cli
Authentication
The CLI requires an Amazon OAuth2 access token and client ID from a Login with Amazon app. Credentials are resolved in this order:
--credentials <path>flag (per-command) -- reads the specified JSON file- Auto-detected file:
~/.config/amazon-ads-open-cli/credentials.json - Environment variables:
AMAZON_ADS_ACCESS_TOKEN+AMAZON_ADS_CLIENT_ID
Note: when a credentials file is found (either via --credentials or at the default path), its profile_id can be overridden by the AMAZON_ADS_PROFILE_ID environment variable if the file does not contain one. If the credentials file is not found or does not contain valid access_token + client_id, the CLI falls through to environment variables.
The credentials JSON file format:
{
"access_token": "your_access_token",
"client_id": "your_client_id",
"profile_id": "your_profile_id"
}
Environment variables:
AMAZON_ADS_ACCESS_TOKEN-- OAuth2 access tokenAMAZON_ADS_CLIENT_ID-- Login with Amazon client IDAMAZON_ADS_PROFILE_ID-- marketplace profile ID (required for most commands)
Before running any command, verify credentials are configured by running amazon-ads-open-cli profiles. If it fails with a credentials error, ask the user to set up authentication.
Most commands require a profile ID (marketplace-specific). Use the profiles command first to discover profile IDs, then set AMAZON_ADS_PROFILE_ID.
Entity hierarchy
Profile (marketplace: US, UK, DE, JP, etc.)
+-- Sponsored Products
| +-- Campaign -> Ad Group -> Product Ad / Keyword / Target
+-- Sponsored Brands
| +-- Campaign -> Ad Group -> Keyword / Target
+-- Sponsored Display
| +-- Campaign -> Ad Group -> Product Ad / Target
+-- DSP (programmatic)
+-- Advertiser -> Order -> Line Item -> Creative
+-- Audience (configured at Line Item level)
Output format
All commands output pretty-printed JSON (2-space indent) by default. Use --format compact for single-line JSON (useful for piping).
Global options available on every command:
--format <format>-- output format:json(default) orcompact--credentials <path>-- path to credentials JSON file
All listing commands support offset-based pagination via --start-index and --count parameters.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bin-huang-amazon-ads-open-cli": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
linkedin-ads-cli
LinkedIn Ads data analysis and reporting via linkedin-ads-cli. Use when the user wants to check LinkedIn ad performance, pull campaign analytics with pivot breakdowns, explore ad account structure, inspect creatives, analyze audiences, retrieve lead form submissions, forecast ad delivery, or get budget recommendations. Triggers: "LinkedIn Ads", "LinkedIn ad performance", "LinkedIn campaign stats", "LinkedIn ad spend", "LinkedIn analytics", "LinkedIn audience", "LinkedIn lead forms", "LinkedIn creatives", "LinkedIn ad account", "LinkedIn targeting", "LinkedIn budget forecast".
tiktok-ads-cli
TikTok Ads data analysis and reporting via tiktok-ads-cli. Use when the user wants to check TikTok ad performance, pull campaign/ad group/ad stats, manage audiences, inspect creatives, check pixel tracking, or create async reports. Triggers: "TikTok Ads", "TikTok ad performance", "TikTok campaign stats", "TikTok ad spend", "TikTok report", "TikTok pixel", "TikTok audience", "TikTok creatives", "TikTok ad account", "TikTok ad groups", "TikTok async report".
spotify-ads-cli
Spotify Ads data analysis and reporting via spotify-ads-cli. Use when the user wants to check Spotify ad performance, pull aggregate or insight reports, explore businesses and ad accounts, manage audio creatives, analyze targeting and audiences, track measurement pixels and datasets, or estimate audience/bid ranges. Triggers: "Spotify Ads", "Spotify ad performance", "Spotify campaign stats", "Spotify ad spend", "Spotify insight report", "Spotify aggregate report", "Spotify pixel", "Spotify audience", "Spotify ad account", "Spotify targeting", "Spotify audio ads", "Spotify ad set", "Spotify CSV report", "Spotify bid estimate".
camoufox-cli
Anti-detect browser automation CLI & Skills for AI agents. Use when the user needs to interact with websites with bot detection, CAPTCHAs, or anti-bot blocks, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task that requires bypassing fingerprint checks.
x-analytics-cli
X (Twitter) analytics and data retrieval via x-analytics-cli. Use when the user wants to search tweets, count tweet volumes, look up user profiles, get tweet details, or pull a user's timeline from X (formerly Twitter). Triggers: "X analytics", "Twitter analytics", "tweet search", "tweet lookup", "tweet counts", "X user profile", "Twitter user", "tweet timeline", "X API", "Twitter API", "search tweets", "tweet volume", "trending tweets", "X data", "Twitter data".