Token导航 LogoToken导航

Agent Skill · 研究检索

linkedin-ads-cli(linkedin ADS CLI 搜索)

linkedin-ads-cli 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

linkedin-ads-cli 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 29,977。

总安装 2,957周安装 122GitHub Stars 公开资料未说明下载 966核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:linkedin-ads-cli(linkedin ADS CLI 搜索)
来源仓库:https://github.com/bin-huang/linkedin-ads-cli
安装命令:
openclaw skills install linkedin-ads-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install linkedin-ads-cli

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

通过命令行分析 LinkedIn 广告数据。生成营销活动透视表报告。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。适用于效果检查和优化决策。需导入账户凭据方可运行。安装时按仓库提供的命令执行,建议先在测试环境验证依赖、命令权限和文件改动范围。

linkedin-ads-cli 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install linkedin-ads-cli;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

linkedin-ads-cli 怎么安装?

在终端执行 openclaw skills install linkedin-ads-cli。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

linkedin-ads-cli 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

linkedin-ads-cli 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

linkedin-ads-cli 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

linkedin-ads-cli 用的人多吗?

公开数据是累计安装 2,957 次,近一周安装 122 次,下载 966 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

linkedin-ads-cli 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
linkedin-ads-cli

linkedin ADS CLI 搜索 · 本页

2,957—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
linkedin-ads-cli
description
>
Triggers
LinkedIn Ads", "LinkedIn ad performance", "LinkedIn campaign stats", "LinkedIn ad spend",

LinkedIn Ads CLI Skill

You have access to linkedin-ads-cli, a read-only CLI for the LinkedIn Marketing API (REST API, version 202603). Use it to query ad accounts, pull performance analytics with pivot breakdowns, inspect creatives, explore audiences and targeting facets, retrieve lead form submissions, and get budget and delivery forecasts.

Quick start

# Check if the CLI is available
linkedin-ads-cli --help

# Get authenticated user info
linkedin-ads-cli me

# List organizations you administer
linkedin-ads-cli organization-acls

# List ad accounts
linkedin-ads-cli accounts

If the CLI is not installed, install it:

npm install -g linkedin-ads-cli

Authentication

The CLI requires a LinkedIn OAuth2 Bearer token. Credentials are resolved in this order:

  1. --credentials <path> flag (per-command)
  2. Environment variable: LINKEDIN_ADS_ACCESS_TOKEN
  3. Auto-detected file: ~/.config/linkedin-ads-cli/credentials.json

Required OAuth scopes depend on the commands used:

  • r_ads -- read ad accounts and campaigns
  • r_ads_reporting -- read ad analytics
  • r_organization_social -- read organization data

Before running any command, verify credentials are configured by running linkedin-ads-cli me. If it fails with a credentials error, ask the user to set up authentication.

Entity hierarchy

Organization (Company Page)
 +-- Ad Account (urn:li:sponsoredAccount:XXXXX)
      +-- Campaign Group
      |    +-- Campaign
      |         +-- Creative
      +-- Matched Audience (DMP Segment)
      +-- Conversion Rule
      +-- Insight Tag
      +-- Lead Gen Form

LinkedIn uses URN format for IDs (e.g., urn:li:sponsoredAccount:123456). The CLI accepts both full URNs and plain numeric IDs for all commands that take entity IDs.

When chaining commands, extract the numeric ID from URNs (the part after the last colon). For example, organization-acls returns organization URNs like urn:li:organization:12345678 -- use 12345678 with the organization command.

Most list commands require the parent entity ID. Start with me to get your profile, then organization-acls to find organizations you manage, then accounts to find ad accounts.

Monetary values

The analytics API returns monetary fields as-is from LinkedIn. The costInLocalCurrency field is in the account's local currency and costInUsd is in USD. Both are returned as decimal string values from the API in the major currency unit (e.g. "244.85000").

Output format

All commands output pretty-printed JSON by default. Use --format compact for single-line JSON (useful for piping).

Two pagination styles exist depending on the command:

  • Token-based: uses --page-size and --page-token (look for pageToken in the response for the next page)
  • Offset-based: uses --count and --start (increment --start by --count for the next page)

Commands reference

User & organization discovery

# Authenticated user profile
linkedin-ads-cli me

# Get an organization (company page) by numeric ID
linkedin-ads-cli organization 12345678

# List organizations the authenticated user administers
linkedin-ads-cli organization-acls
linkedin-ads-cli organization-acls --role ADMINISTRATOR
linkedin-ads-cli organization-acls --count 50 --start 0

organization-acls options:

  • --count <n> -- results per page (default 100)
  • --start <n> -- start index (default 0)
  • --role <role> -- filter by role: ADMINISTRATOR, DIRECT_SPONSORED_CONTENT_POSTER, etc.

Ad accounts

# List ad accounts
linkedin-ads-cli accounts
linkedin-ads-cli accounts --search "My Company"
linkedin-ads-cli accounts --page-size 50

# Get a specific ad account (numeric ID or full URN)
linkedin-ads-cli account 123456789
linkedin-ads-cli account urn:li:sponsoredAccount:123456789

# List users with access to an ad account
linkedin-ads-cli account-users 123456789
linkedin-ads-cli account-users 123456789 --count 50 --start 0

accounts options (token-based pagination):

  • --page-size <n> -- results per page (default 100)
  • --page-token <token> -- page token for pagination
  • --search <query> -- search by account name or ID

account-users options (offset-based pagination):

  • --count <n> -- results per page (default 100)
  • --start <n> -- start index (default 0)

Campaign groups & campaigns

# List campaign groups for an ad account
linkedin-ads-cli campaign-groups 123456789
linkedin-ads-cli campaign-groups 123456789 --page-size 50

# Get a specific campaign group
linkedin-ads-cli campaign-group 987654321

# List campaigns for an ad account
linkedin-ads-cli campaigns 123456789
linkedin-ads-cli campaigns 123456789 --status ACTIVE
linkedin-ads-cli campaigns 123456789 --campaign-group 987654321

# Get a specific campaign
linkedin-ads-cli campaign 111222333

campaign-groups options (token-based pagination):

  • --page-size <n> -- results per page (default 100)
  • --page-token <token> -- page token for pagination

campaigns options (token-based pagination):

  • --page-size <n> -- results per page (default 100)
  • --page-token <token> -- page token for pagination
  • --status <status> -- filter by status: ACTIVE, PAUSED, ARCHIVED, COMPLETED, CANCELED, DRAFT
  • --campaign-group <id> -- filter by campaign group ID

Creatives

# List creatives for an ad account
linkedin-ads-cli creatives 123456789
linkedin-ads-cli creatives 123456789 --campaign 111222333

# Get a specific creative
linkedin-ads-cli creative 444555666

creatives options (token-based pagination):

  • --page-size <n> -- results per page (default 100)
  • --page-token <token> -- page token for pagination
  • --campaign <campaign-id> -- filter by campaign ID

Analytics

The analytics command is the primary tool for performance analysis. It requires an account ID, a date range, and supports pivot breakdowns.

# Basic analytics for a date range
linkedin-ads-cli analytics 123456789 --start-date 2026-01-01 --end-date 2026-01-31

# Daily granularity with campaign pivot
linkedin-ads-cli analytics 123456789 --start-date 2026-01-01 --end-date 2026-01-31 --granularity DAILY --pivot CAMPAIGN

# Monthly granularity with campaign group pivot
linkedin-ads-cli analytics 123456789 --start-date 2026-01-01 --end-date 2026-06-30 --granularity MONTHLY --pivot CAMPAIGN_GROUP

# Account-level aggregate
linkedin-ads-cli analytics 123456789 --start-date 2026-01-01 --end-date 2026-01-31 --granularity ALL --pivot ACCOUNT

# Filter by specific campaigns
linkedin-ads-cli analytics 123456789 --start-date 2026-01-01 --end-date 2026-01-31 --campaign-ids 111222333,444555666

# Filter by campaign groups
linkedin-ads-cli analytics 123456789 --start-date 2026-01-01 --end-date 2026-01-31 --campaign-group-ids 987654321

# Custom metric fields
linkedin-ads-cli analytics 123456789 --start-date 2026-01-01 --end-date 2026-01-31 --fields impressions,clicks,costInUsd

analytics options:

  • --start-date <date> -- start date in YYYY-MM-DD format (required)
  • --end-date <date> -- end date in YYYY-MM-DD format (required)
  • --granularity <gran> -- time granularity: DAILY, MONTHLY, ALL (default DAILY)
  • --pivot <pivot> -- pivot dimension: CAMPAIGN, CAMPAIGN_GROUP, CREATIVE, ACCOUNT (default CAMPAIGN)
  • --campaign-ids <ids> -- filter by campaign IDs (comma-separated, numeric or URN)
  • --campaign-group-ids <ids> -- filter by campaign group IDs (comma-separated, numeric or URN)
  • --fields <fields> -- metric fields (comma-separated)

Default metric fields (when --fields is not specified): impressions, clicks, costInLocalCurrency, costInUsd, externalWebsiteConversions, likes, comments, shares, follows, videoViews

The CLI passes --fields and --pivot values directly to the LinkedIn API without validation. Additional fields and pivot values beyond the documented defaults may be available. Refer to the LinkedIn Ad Analytics API docs for the full list.

Audiences & targeting

# List matched audiences (DMP segments) for an ad account
linkedin-ads-cli audiences 123456789
linkedin-ads-cli audiences 123456789 --count 50 --start 0

# Get estimated audience size for targeting criteria
linkedin-ads-cli audience-counts 123456789

# List available targeting facets (industries, job titles, locations, etc.)
linkedin-ads-cli targeting-facets

audiences options (offset-based pagination):

  • --count <n> -- results per page (default 100)
  • --start <n> -- start index (default 0)

audience-counts takes only the account ID argument (no additional options).

targeting-facets takes no arguments.

Conversions & tracking

# List conversion rules for an ad account
linkedin-ads-cli conversion-rules 123456789
linkedin-ads-cli conversion-rules 123456789 --count 50

# List LinkedIn Insight Tags for an ad account
linkedin-ads-cli insight-tags 123456789
linkedin-ads-cli insight-tags 123456789 --count 50

conversion-rules options (offset-based pagination):

  • --count <n> -- results per page (default 100)
  • --start <n> -- start index (default 0)

insight-tags options (offset-based pagination):

  • --count <n> -- results per page (default 100)
  • --start <n> -- start index (default 0)

Lead gen

# List Lead Gen forms for an ad account
linkedin-ads-cli lead-gen-forms 123456789
linkedin-ads-cli lead-gen-forms 123456789 --count 50

# List form responses (submissions) for an ad account
linkedin-ads-cli lead-form-responses 123456789
linkedin-ads-cli lead-form-responses 123456789 --form 777888999
linkedin-ads-cli lead-form-responses 123456789 --start-time 1709251200000 --end-time 1711929600000

lead-gen-forms options (offset-based pagination):

  • --count <n> -- results per page (default 100)
  • --start <n> -- start index (default 0)

lead-form-responses options (offset-based pagination):

  • --count <n> -- results per page (default 100)
  • --start <n> -- start index (default 0)
  • --form <form-id> -- filter by form ID (numeric or URN)
  • --start-time <time> -- filter responses after this time (epoch milliseconds)
  • --end-time <time> -- filter responses before this time (epoch milliseconds)

Forecasting

# Get budget recommendations for a campaign
linkedin-ads-cli budget-recommendations 111222333

# Get ad delivery forecasts for an account
linkedin-ads-cli ad-forecasts 123456789

budget-recommendations takes a campaign ID (numeric or URN). No additional options.

ad-forecasts takes an account ID (numeric or URN). No additional options.

Workflow guidance

When the user asks for a quick overview

  1. Run linkedin-ads-cli accounts to find accessible ad accounts
  2. Use analytics with a recent date range and --granularity ALL --pivot ACCOUNT for a performance snapshot
  3. Present the data with key metrics (impressions, clicks, cost, conversions)

When the user asks for deep analysis

  1. Start with account-level analytics using --granularity ALL --pivot ACCOUNT
  2. Add --pivot CAMPAIGN_GROUP to identify top/bottom campaign groups
  3. Drill down with --pivot CAMPAIGN for individual campaign performance
  4. Use --granularity DAILY with --pivot CAMPAIGN for daily trends to spot anomalies
  5. Filter specific campaigns with --campaign-ids for detailed analysis
  6. Cross-reference with creatives to review ad content

When the user asks about creative performance

  1. Run analytics with --pivot CREATIVE to get creative-level metrics
  2. Use creatives to list creatives for the account
  3. Use creative to inspect the actual creative content

When the user asks about audience and targeting

  1. Use audiences to see matched audiences (DMP segments) and their details
  2. Use audience-counts to get estimated audience size for targeting criteria
  3. Use targeting-facets to explore available targeting dimensions (industries, job titles, locations)

When the user asks about conversion tracking

  1. Run conversion-rules to list conversion rules for the account
  2. Run insight-tags to check active Insight Tags
  3. Use analytics with externalWebsiteConversions in --fields to see conversion metrics

When the user asks about lead gen

  1. Use lead-gen-forms with the account ID to list forms
  2. Use lead-form-responses with the account ID to retrieve submissions
  3. Filter by specific form with --form or by time range with --start-time / --end-time

When the user asks about budget planning

  1. Use budget-recommendations with a campaign ID to get LinkedIn's budget suggestions
  2. Use ad-forecasts with an account ID to get delivery forecasts
  3. Combine with analytics historical data to compare forecasts against actual performance

Error handling

  • Authentication errors -- ask the user to verify their access token and OAuth scopes
  • "No credentials found" -- the user needs to set LINKEDIN_ADS_ACCESS_TOKEN, use --credentials, or place credentials at ~/.config/linkedin-ads-cli/credentials.json
  • Empty analytics -- check the date range, ensure the account had active campaigns in the period, and verify the pivot dimension is appropriate
  • Permission errors -- different commands require different scopes (r_ads, r_ads_reporting, r_organization_social); check the required scopes list above
  • URN format issues -- the CLI accepts both plain numeric IDs and full URN format (e.g., 123456789 or urn:li:sponsoredAccount:123456789)

API documentation references

平台分布

OpenClaw

71.4%
按下载量换算690

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills