Amazon Ads API Skill for Openclaw

A specialized automation tool for managing Amazon Advertising Sponsored Products campaigns and performance metrics directly via API.

zero2ai-hub
v1.0.0
Mar 1, 2026
0
2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install skill-amazon-ads-optimizer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install skill-amazon-ads-optimizer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Amazon Ads API Skill?

The Amazon Ads API Skill empowers developers and sellers to interact with the Amazon Advertising API v3 ecosystem seamlessly. It provides a robust interface for listing advertiser profiles, managing Sponsored Products campaigns, and monitoring budget allocation. By integrating this skill into your workflow, you can automate routine advertising tasks and gain programmatic control over your marketing performance within the Openclaw Skills environment.

This skill is designed to work with any advertiser account, providing a bridge between raw API data and actionable insights. It handles the complexities of region-specific endpoints and authentication, allowing users to focus on optimizing their ad spend and campaign strategy.

Amazon Ads API Skill Use Cases

  • Listing all available advertiser profiles across different geographic regions.
  • Auditing active Sponsored Products campaigns and their respective budgets in real-time.
  • Exporting granular campaign performance data to JSON files for custom business intelligence reports.
  • Monitoring advertising spend and summary metrics across multiple marketplaces through a single interface.

How Amazon Ads API Skill Works

  1. The skill initializes by loading credentials from a local JSON configuration file or a designated environment variable.
  2. It authenticates with the Amazon Login with Amazon (LWA) service using the provided client ID and secret to generate access tokens.
  3. Users can query the system to list all advertiser profiles associated with the account to identify the correct marketplace profileId.
  4. The skill executes targeted commands to fetch real-time data from the Amazon Ads API, such as listing campaigns or pulling performance summaries.
  5. The retrieved data is then parsed and presented in the terminal or saved to structured JSON files for further automated processing.

Amazon Ads API Skill Setup

To get started with this skill in your Openclaw Skills workflow, create a credentials file named amazon-ads-api.json with the following structure:

{
  "lwaClientId": "amzn1.application-oa2-client.YOUR_CLIENT_ID",
  "lwaClientSecret": "YOUR_CLIENT_SECRET",
  "refreshToken": "Atzr|YOUR_REFRESH_TOKEN",
  "profileId": "YOUR_ADS_PROFILE_ID",
  "region": "eu"
}

Set the AMAZON_ADS_PATH environment variable to point to this file. To retrieve your profile ID, execute the following command:

node scripts/ads.js --profiles

Amazon Ads API Skill Data Schema & Taxonomy

The skill manages data through a specific configuration schema and outputs structured JSON for campaign analysis.

Field Description
lwaClientId The client identifier for the Ads application.
lwaClientSecret The secret key for the Ads application.
refreshToken The Long-term Login with Amazon token.
profileId The specific advertiser profile identifier required for operations.
region The API region endpoint (na, eu, or fe).

Output files generated via the --out flag contain structured objects representing campaign metadata, status, and budget allocations.

Amazon Ads API Skill Advanced Features

  • Multi-region support covering North America (na), Europe (eu), and Far East (fe) regional endpoints.
  • Direct JSON export functionality using the --out flag for seamless integration with data pipelines.
  • Comprehensive summary generation for quick audits of active campaigns and current budget statuses.
  • Cross-skill compatibility, allowing it to work alongside other Openclaw Skills like the Amazon SP-API skill for full-stack ecommerce management.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*