{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/skill-ads-optimizer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=skill-ads-optimizer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/ads.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/skill-ads-optimizer",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Amazon Ads API Skill",
        "body": "Manage Amazon Sponsored Products campaigns from your OpenClaw agent — list profiles, view campaigns, check budgets, and pull performance data."
      },
      {
        "title": "1. Create credentials file",
        "body": "{\n  \"lwaClientId\": \"amzn1.application-oa2-client.YOUR_CLIENT_ID\",\n  \"lwaClientSecret\": \"YOUR_CLIENT_SECRET\",\n  \"refreshToken\": \"Atzr|YOUR_REFRESH_TOKEN\",\n  \"profileId\": \"YOUR_ADS_PROFILE_ID\",\n  \"region\": \"eu\"\n}\n\nSave as amazon-ads-api.json. Set AMAZON_ADS_PATH env var to point to it (default: ./amazon-ads-api.json).\n\nRegions & endpoints:\n\nna → advertising-api.amazon.com\neu → advertising-api-eu.amazon.com\nfe → advertising-api-fe.amazon.com"
      },
      {
        "title": "2. Get your Profile ID",
        "body": "node scripts/ads.js --profiles\n\nCopy the profileId for your brand/marketplace and add it to the credentials file."
      },
      {
        "title": "ads.js — Campaigns & Summary",
        "body": "node scripts/ads.js --profiles                # list all advertiser profiles\nnode scripts/ads.js --campaigns               # list all SP campaigns\nnode scripts/ads.js --summary                 # active campaigns + budgets summary\nnode scripts/ads.js --campaigns --out c.json  # save to file"
      },
      {
        "title": "Credentials Schema",
        "body": "FieldDescriptionlwaClientIdAds app client ID (separate from SP-API)lwaClientSecretAds app client secretrefreshTokenLWA refresh tokenprofileIdAdvertising profile ID (from --profiles)regionna, eu, or fe"
      },
      {
        "title": "Notes",
        "body": "Ads API uses a separate LWA app from SP-API — different client ID/secret\nProfile ID is required for all campaign operations\nTokens are fetched fresh per request (no caching overhead for CLI use)\nFor production/high-frequency use, add token caching"
      },
      {
        "title": "Related",
        "body": "skill-amazon-spapi — Orders, inventory & listings"
      }
    ],
    "body": "Amazon Ads API Skill\n\nManage Amazon Sponsored Products campaigns from your OpenClaw agent — list profiles, view campaigns, check budgets, and pull performance data.\n\nSetup\n1. Create credentials file\n{\n  \"lwaClientId\": \"amzn1.application-oa2-client.YOUR_CLIENT_ID\",\n  \"lwaClientSecret\": \"YOUR_CLIENT_SECRET\",\n  \"refreshToken\": \"Atzr|YOUR_REFRESH_TOKEN\",\n  \"profileId\": \"YOUR_ADS_PROFILE_ID\",\n  \"region\": \"eu\"\n}\n\n\nSave as amazon-ads-api.json. Set AMAZON_ADS_PATH env var to point to it (default: ./amazon-ads-api.json).\n\nRegions & endpoints:\n\nna → advertising-api.amazon.com\neu → advertising-api-eu.amazon.com\nfe → advertising-api-fe.amazon.com\n2. Get your Profile ID\nnode scripts/ads.js --profiles\n\n\nCopy the profileId for your brand/marketplace and add it to the credentials file.\n\nScripts\nads.js — Campaigns & Summary\nnode scripts/ads.js --profiles                # list all advertiser profiles\nnode scripts/ads.js --campaigns               # list all SP campaigns\nnode scripts/ads.js --summary                 # active campaigns + budgets summary\nnode scripts/ads.js --campaigns --out c.json  # save to file\n\nCredentials Schema\nField\tDescription\nlwaClientId\tAds app client ID (separate from SP-API)\nlwaClientSecret\tAds app client secret\nrefreshToken\tLWA refresh token\nprofileId\tAdvertising profile ID (from --profiles)\nregion\tna, eu, or fe\nNotes\nAds API uses a separate LWA app from SP-API — different client ID/secret\nProfile ID is required for all campaign operations\nTokens are fetched fresh per request (no caching overhead for CLI use)\nFor production/high-frequency use, add token caching\nRelated\nskill-amazon-spapi — Orders, inventory & listings"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Zero2Ai-hub/skill-ads-optimizer",
    "publisherUrl": "https://clawhub.ai/Zero2Ai-hub/skill-ads-optimizer",
    "owner": "Zero2Ai-hub",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}