# Send Ads Optimizer Skill to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "skill-ads-optimizer",
    "name": "Ads Optimizer Skill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Zero2Ai-hub/skill-ads-optimizer",
    "canonicalUrl": "https://clawhub.ai/Zero2Ai-hub/skill-ads-optimizer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/skill-ads-optimizer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=skill-ads-optimizer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/ads.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "skill-ads-optimizer",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T10:05:20.530Z",
      "expiresAt": "2026-05-06T10:05:20.530Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=skill-ads-optimizer",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=skill-ads-optimizer",
        "contentDisposition": "attachment; filename=\"skill-ads-optimizer-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "skill-ads-optimizer"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/skill-ads-optimizer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/skill-ads-optimizer",
    "downloadUrl": "https://openagent3.xyz/downloads/skill-ads-optimizer",
    "agentUrl": "https://openagent3.xyz/skills/skill-ads-optimizer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/skill-ads-optimizer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/skill-ads-optimizer/agent.md"
  }
}
```
## Documentation

### Amazon Ads API Skill

Manage Amazon Sponsored Products campaigns from your OpenClaw agent — list profiles, view campaigns, check budgets, and pull performance data.

### 1. Create credentials file

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

Save as amazon-ads-api.json. Set AMAZON_ADS_PATH env var to point to it (default: ./amazon-ads-api.json).

Regions & endpoints:

na → advertising-api.amazon.com
eu → advertising-api-eu.amazon.com
fe → advertising-api-fe.amazon.com

### 2. Get your Profile ID

node scripts/ads.js --profiles

Copy the profileId for your brand/marketplace and add it to the credentials file.

### ads.js — Campaigns & Summary

node scripts/ads.js --profiles                # list all advertiser profiles
node scripts/ads.js --campaigns               # list all SP campaigns
node scripts/ads.js --summary                 # active campaigns + budgets summary
node scripts/ads.js --campaigns --out c.json  # save to file

### Credentials Schema

FieldDescriptionlwaClientIdAds app client ID (separate from SP-API)lwaClientSecretAds app client secretrefreshTokenLWA refresh tokenprofileIdAdvertising profile ID (from --profiles)regionna, eu, or fe

### Notes

Ads API uses a separate LWA app from SP-API — different client ID/secret
Profile ID is required for all campaign operations
Tokens are fetched fresh per request (no caching overhead for CLI use)
For production/high-frequency use, add token caching

### Related

skill-amazon-spapi — Orders, inventory & listings
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Zero2Ai-hub
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T10:05:20.530Z
- Expires at: 2026-05-06T10:05:20.530Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/skill-ads-optimizer)
- [Send to Agent page](https://openagent3.xyz/skills/skill-ads-optimizer/agent)
- [JSON manifest](https://openagent3.xyz/skills/skill-ads-optimizer/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/skill-ads-optimizer/agent.md)
- [Download page](https://openagent3.xyz/downloads/skill-ads-optimizer)