siluzan-tso-cli 1.1.21 → 1.1.22-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/index.js +140 -58
- package/dist/skill/AGENTS.md +45 -0
- package/dist/skill/SKILL.md +60 -346
- package/dist/skill/_meta.json +2 -2
- package/dist/skill/assets/campaign-create-template.md +4 -4
- package/dist/skill/assets/pmax-create-template.md +4 -3
- package/dist/skill/docs/skill-guide.md +44 -0
- package/dist/skill/references/README.md +73 -0
- package/dist/skill/references/{accounts.md → accounts/accounts.md} +7 -7
- package/dist/skill/references/{currency.md → accounts/currency.md} +7 -7
- package/dist/skill/references/{finance.md → accounts/finance.md} +5 -5
- package/dist/skill/references/accounts/open-account-by-media.md +151 -0
- package/dist/skill/references/{open-account-google-ui.md → accounts/open-account-google-ui.md} +2 -2
- package/dist/skill/references/{account-analytics.md → analytics/account-analytics.md} +2 -2
- package/dist/skill/references/{google-analysis-batch.md → analytics/google-analysis-batch.md} +2 -2
- package/dist/skill/references/{keyword-planner-workflows.md → analytics/keyword-planner-workflows.md} +9 -9
- package/dist/skill/references/{rag.md → analytics/rag.md} +6 -6
- package/dist/skill/references/{reporting.md → analytics/reporting.md} +6 -6
- package/dist/skill/references/core/agent-conventions.md +180 -0
- package/dist/skill/references/core/playbooks.md +141 -0
- package/dist/skill/references/{setup.md → core/setup.md} +5 -5
- package/dist/skill/references/core/skill-authoring.md +192 -0
- package/dist/skill/references/{tips.md → core/tips.md} +5 -5
- package/dist/skill/references/{workflows.md → core/workflows.md} +23 -25
- package/dist/skill/references/{google-ads-campaign-plan.md → google-ads/google-ads-campaign-plan.md} +22 -22
- package/dist/skill/references/{google-ads.md → google-ads/google-ads.md} +11 -15
- package/dist/skill/references/{pmax-api.md → google-ads/pmax-api.md} +0 -2
- package/dist/skill/references/google-ads/rules/README.md +21 -0
- package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-keyword-taxonomy.md +2 -2
- package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-launch-plan-template.md +8 -8
- package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-pmax-guide.md +1 -1
- package/dist/skill/references/{tso-home.md → misc/tso-home.md} +5 -5
- package/dist/skill/references/{hosted-automation-monitoring-json.md → operations/hosted-automation-monitoring-json.md} +8 -8
- package/dist/skill/references/{hosted-automation-optimize-ab-winner.md → operations/hosted-automation-optimize-ab-winner.md} +2 -2
- package/dist/skill/references/{hosted-automation-optimize-index.md → operations/hosted-automation-optimize-index.md} +6 -6
- package/dist/skill/references/{hosted-automation-optimize-scale.md → operations/hosted-automation-optimize-scale.md} +2 -2
- package/dist/skill/references/{hosted-automation-optimize-weak-downbid.md → operations/hosted-automation-optimize-weak-downbid.md} +5 -5
- package/dist/skill/references/operations/hosted-automation-scenarios.md +23 -0
- package/dist/skill/references/{hosted-automation-self-control.md → operations/hosted-automation-self-control.md} +14 -14
- package/{assets/siluzan-ads/references → dist/skill/references/operations}/hosted-automation-user-catalog.md +12 -12
- package/dist/skill/report-templates/README.md +2 -1
- package/dist/skill/report-templates/REPORT-WORKFLOW.md +2 -2
- package/dist/skill/report-templates/google-ads-diagnosis.md +1 -1
- package/dist/skill/report-templates/google-inquiry-analysis.md +6 -6
- package/dist/skill/report-templates/google-period-report.md +1 -1
- package/dist/skill/report-templates/okki-weekly-google-client.md +4 -4
- package/dist/skill/scripts/install.ps1 +3 -3
- package/dist/skill/scripts/install.sh +3 -3
- package/eval/cases/accounts-entityid-vs-mediaccustomerid.scenario.json +2 -2
- package/eval/cases/accounts-mcc-bind-inquiry.scenario.json +3 -3
- package/eval/cases/accounts-single-balance-not-bulk.scenario.json +2 -2
- package/eval/cases/clue-meta-leads-json.scenario.json +2 -2
- package/eval/cases/clue-tiktok-leads-json.scenario.json +2 -2
- package/eval/cases/destructive-account-delink-needs-confirm.scenario.json +1 -1
- package/eval/cases/destructive-forewarning-delete-needs-confirm.scenario.json +1 -1
- package/eval/cases/destructive-invoice-apply-needs-confirm.scenario.json +1 -1
- package/eval/cases/finance-invoice-info-list.scenario.json +2 -2
- package/eval/cases/forewarning-list-google.scenario.json +2 -2
- package/eval/cases/google-ads-no-structural-without-confirm.scenario.json +3 -3
- package/eval/cases/google-analysis-keywords-route.scenario.json +2 -2
- package/eval/cases/hosted-sop-cpa-spike-downbid.scenario.json +5 -5
- package/eval/cases/hosted-sop-daily-budget-circuit-breaker.scenario.json +3 -3
- package/eval/cases/hosted-sop-empty-spend-pause-p1.scenario.json +5 -5
- package/eval/cases/meta-single-balance-not-bulk.scenario.json +2 -2
- package/eval/cases/open-account-bing-noninteractive.scenario.json +3 -3
- package/eval/cases/open-account-google-noninteractive.scenario.json +2 -2
- package/eval/cases/open-account-tiktok-license-file.scenario.json +2 -2
- package/eval/cases/optimize-list-by-account.scenario.json +2 -2
- package/eval/cases/rag-before-keyword-expand.scenario.json +3 -3
- package/eval/cases/rag-list-then-query.scenario.json +2 -2
- package/eval/cases/report-list-google.scenario.json +2 -2
- package/eval/cases/report-push-list-google.scenario.json +3 -3
- package/eval/cases/reporting-vs-account-analytics-routing.scenario.json +4 -4
- package/eval/cases/setup-login-or-env.scenario.json +2 -2
- package/eval/cases/setup-siluzan-data-permission-env.scenario.json +2 -2
- package/eval/cases/skill-optimize-vs-google-ads-distinction.scenario.json +4 -4
- package/eval/cases/tiktok-bc-bind-inquiry.scenario.json +2 -2
- package/eval/cases/tips-json-filtering.scenario.json +4 -4
- package/eval/cases/tips-large-json-pagination.scenario.json +3 -3
- package/eval/cases/uj-ad-bluetooth-keywords-exclude-cheap-free.scenario.json +1 -1
- package/eval/cases/uj-ad-campaign-validate-before-create-stub.scenario.json +2 -2
- package/eval/cases/uj-ad-keywords-camping-tent-outdoor-plan.scenario.json +1 -1
- package/eval/cases/uj-ad-outdoor-campgear-search-plan.scenario.json +3 -3
- package/eval/cases/uj-analytics-30d-pdf-campaign-device-geo.scenario.json +2 -2
- package/eval/cases/uj-analytics-compare-google-tiktok-last-month-roi.scenario.json +1 -1
- package/eval/cases/uj-analytics-google-weekly-trends-campaigns-keywords.scenario.json +2 -2
- package/eval/cases/uj-analytics-report-push-weekly-email.scenario.json +3 -3
- package/eval/cases/uj-finance-invoice-records-this-month.scenario.json +2 -2
- package/eval/cases/uj-life-newbie-siluzan-google-end-to-end.scenario.json +2 -2
- package/eval/cases/uj-ops-google-accounts-list-normal.scenario.json +2 -2
- package/eval/cases/uj-ops-google-yesterday-spend-conversions.scenario.json +2 -2
- package/eval/cases/uj-ops-open-google-b2c-usd-shenzhen.scenario.json +3 -3
- package/eval/cases/uj-ops-pause-worst-adgroup-confirm.scenario.json +2 -2
- package/eval/cases/uj-ops-tiktok-leads-last-week.scenario.json +2 -2
- package/eval/cases/uj-patrol-cpc-spike-adgroups-over-15.scenario.json +3 -3
- package/eval/cases/uj-patrol-forewarning-create-daily-cap-3000.scenario.json +3 -3
- package/eval/cases/uj-patrol-forewarning-trigger-records.scenario.json +2 -2
- package/eval/cases/uj-patrol-google-balances-low.scenario.json +2 -2
- package/eval/cases/uj-roi-full-google-account-diagnosis.scenario.json +1 -1
- package/eval/cases/uj-roi-keywords-high-cpa-low-cvr-triage.scenario.json +1 -1
- package/eval/cases/uj-roi-optimize-records-then-execute-cautiously.scenario.json +2 -2
- package/eval/cases/uj-roi-search-terms-add-negative-keywords.scenario.json +2 -2
- package/package.json +2 -2
- package/dist/skill/references/hosted-automation-scenarios.md +0 -23
- package/dist/skill/references/hosted-automation-user-catalog.md +0 -38
- /package/dist/skill/references/{write-audit-restore.md → accounts/write-audit-restore.md} +0 -0
- /package/dist/skill/references/{geo-continents.json → analytics/geo-continents.json} +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-account-audit.md +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-audience-strategy.md +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-campaign-optimization.md +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-compliance.md +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-conversion-architecture.md +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-creative-optimization.md +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-keyword-optimization.md +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-keyword-strategy.md +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/google-ads-landing-page-discovery-via-webfetch.md +0 -0
- /package/dist/skill/references/{google-ads-rules → google-ads/rules}/sensitive-industries.md +0 -0
- /package/dist/skill/references/{clue.md → operations/clue.md} +0 -0
- /package/dist/skill/references/{forewarning.md → operations/forewarning.md} +0 -0
- /package/dist/skill/references/{optimize.md → operations/optimize.md} +0 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# References 索引
|
|
2
|
+
|
|
3
|
+
> Agent 按 `SKILL.md`「任务 → 文档」表 Read 对应文件;维护者见 `core/skill-authoring.md`。
|
|
4
|
+
|
|
5
|
+
## 基础与纪律
|
|
6
|
+
|
|
7
|
+
| 文件 | 用途 |
|
|
8
|
+
| ---- | ---- |
|
|
9
|
+
| `core/setup.md` | 安装、登录(手机验证码优先)、配置、更新 |
|
|
10
|
+
| `core/agent-conventions.md` | **Agent 必读**:加载纪律、硬规范、数据转换、时间/币种/批量 |
|
|
11
|
+
| `core/tips.md` | `--json-out` 协议、outline→JSON 处理顺序 |
|
|
12
|
+
| `core/playbooks.md` | P1–P7 高频任务标准动作 |
|
|
13
|
+
| `core/workflows.md` | 多命令串联业务流程 |
|
|
14
|
+
| `core/skill-authoring.md` | Skill 文档维护最佳实践(维护者) |
|
|
15
|
+
|
|
16
|
+
## 账户与财务
|
|
17
|
+
|
|
18
|
+
| 文件 | 用途 |
|
|
19
|
+
| ---- | ---- |
|
|
20
|
+
| `accounts/accounts.md` | 列表、余额、消耗、分享、MCC/BC/BM、balance-scan、accounts-digest |
|
|
21
|
+
| `accounts/currency.md` | CNY/USD 字段来源、符号、跨币种禁止求和 |
|
|
22
|
+
| `accounts/open-account-by-media.md` | 各媒体开户命令与参数 |
|
|
23
|
+
| `accounts/open-account-google-ui.md` | Google 开户网页 ↔ CLI 字段对照 |
|
|
24
|
+
| `accounts/finance.md` | 转账、开票、充值 |
|
|
25
|
+
| `accounts/write-audit-restore.md` | 写审计、`--commit`、restore |
|
|
26
|
+
|
|
27
|
+
## Google 广告
|
|
28
|
+
|
|
29
|
+
| 文件 | 用途 |
|
|
30
|
+
| ---- | ---- |
|
|
31
|
+
| `google-ads/google-ads.md` | Google Ads CRUD、batch、拒审字段 |
|
|
32
|
+
| `google-ads/google-ads-campaign-plan.md` | 搜索系列 7 步流水线、validate/create |
|
|
33
|
+
| `google-ads/pmax-api.md` | PMax 网关路径、金额口径 |
|
|
34
|
+
| `analytics/keyword-planner-workflows.md` | keyword / google-analysis 拓词 |
|
|
35
|
+
| `google-ads/rules/README.md` | 优化/合规 SOP 索引 |
|
|
36
|
+
|
|
37
|
+
## 分析与报告
|
|
38
|
+
|
|
39
|
+
| 文件 | 用途 |
|
|
40
|
+
| ---- | ---- |
|
|
41
|
+
| `analytics/account-analytics.md` | 拉数、数据时效性、诊断模板 |
|
|
42
|
+
| `analytics/google-analysis-batch.md` | 多账户批处理 run/resume/status |
|
|
43
|
+
| `analytics/reporting.md` | TSO 优化报告生成与推送 |
|
|
44
|
+
| `analytics/rag.md` | 知识库 list/query |
|
|
45
|
+
| `analytics/geo-continents.json` | 国家→大洲映射(询盘分析) |
|
|
46
|
+
|
|
47
|
+
## 运营工具
|
|
48
|
+
|
|
49
|
+
| 文件 | 用途 |
|
|
50
|
+
| ---- | ---- |
|
|
51
|
+
| `operations/optimize.md` | AI 优化建议记录 |
|
|
52
|
+
| `operations/forewarning.md` | 智能预警 |
|
|
53
|
+
| `operations/clue.md` | TikTok / Meta 线索表单 |
|
|
54
|
+
| `operations/hosted-automation-user-catalog.md` | 高阶自动化能力目录 |
|
|
55
|
+
| `operations/hosted-automation-self-control.md` | 预算/CPA/空耗自控 SOP |
|
|
56
|
+
| `operations/hosted-automation-monitoring-json.md` | 异常监控 JSON 键名 |
|
|
57
|
+
| `operations/hosted-automation-optimize-index.md` | 自动优化 SOP 索引 |
|
|
58
|
+
| `operations/hosted-automation-scenarios.md` | 宿主编排场景索引 |
|
|
59
|
+
|
|
60
|
+
## Assets 模板(`../assets/`)
|
|
61
|
+
|
|
62
|
+
| 文件 | 用途 |
|
|
63
|
+
| ---- | ---- |
|
|
64
|
+
| `campaign-create-template.md` / `.json` | 搜索系列 batch 契约 |
|
|
65
|
+
| `pmax-create-template.md` / `.json` | PMax 新建契约 |
|
|
66
|
+
| `pmax-asset-group-template.json` | PMax 素材组 |
|
|
67
|
+
| `pmax-signals-template.json` | PMax 信号 |
|
|
68
|
+
| `pmax-assets-update-template.json` | PMax 素材更新 |
|
|
69
|
+
| `pmax-patch-campaign-template.json` | PMax 系列 patch |
|
|
70
|
+
|
|
71
|
+
## 报告模板(`../report-templates/`)
|
|
72
|
+
|
|
73
|
+
见 `report-templates/README.md`。
|
|
@@ -41,7 +41,7 @@ siluzan-tso list-accounts --page 2 --page-size 50
|
|
|
41
41
|
| ----------------- | ------------------------------------------------------------------------------------------------------------ |
|
|
42
42
|
| `entityId` | 丝路赞内部 ID,`delink`/`share`、**`account-active-bills`** 等操作使用此 ID(**不是** `mediaCustomerId`) |
|
|
43
43
|
| `mediaCustomerId` | 媒体平台账户数字 ID(Google Customer ID 等) |
|
|
44
|
-
| `currencyCode` | 账户主币种:`CNY`(人民币)或 `USD`(美金)等;**表格有「币种」列**;报告/Excel 须与此一致,见 `currency.md` |
|
|
44
|
+
| `currencyCode` | 账户主币种:`CNY`(人民币)或 `USD`(美金)等;**表格有「币种」列**;报告/Excel 须与此一致,见 `accounts/currency.md` |
|
|
45
45
|
| `name` | 账户名称 |
|
|
46
46
|
| `status` | 账户状态 |
|
|
47
47
|
|
|
@@ -132,7 +132,7 @@ siluzan-tso balance -m Google -a 6326027735 --json
|
|
|
132
132
|
|
|
133
133
|
一条命令替代 AI 对每个账户循环 `list-accounts -k` + `stats`。**多账户汇总表、对比消耗、跨账户巡检** 应优先本命令,禁止外层 for-loop 逐户 `stats`。
|
|
134
134
|
|
|
135
|
-
> **数据时效性**:与 `stats` / `balance-scan` 相同(Google `account-spend-overview` 分流;TikTok/Yandex/BingV2/Kwai 为截至昨天的 `accountsoverview`)。完整表见 `references/account-analytics.md` 顶部。
|
|
135
|
+
> **数据时效性**:与 `stats` / `balance-scan` 相同(Google `account-spend-overview` 分流;TikTok/Yandex/BingV2/Kwai 为截至昨天的 `accountsoverview`)。完整表见 `references/analytics/account-analytics.md` 顶部。
|
|
136
136
|
|
|
137
137
|
```bash
|
|
138
138
|
siluzan-tso accounts-digest -m <媒体类型> [选项]
|
|
@@ -153,7 +153,7 @@ siluzan-tso accounts-digest -m <媒体类型> [选项]
|
|
|
153
153
|
**`--json-out` 落盘(Agent 必读)**:
|
|
154
154
|
|
|
155
155
|
- 目录模式典型文件:`accounts-digest-<媒体小写>.json`(如 `accounts-digest-google.json`)、同 stem 的 `accounts-digest-google.outline.txt`、`cli-manifest-<媒体小写>.json`。
|
|
156
|
-
- 处理顺序见 `references/tips.md`:先 stdout 摘要 → 再 `outlineFile` → 再 `require(writtenFiles[0])` 读真实数据;**禁止**在对话里手填 `data.items` 中的业务数。
|
|
156
|
+
- 处理顺序见 `references/core/tips.md`:先 stdout 摘要 → 再 `outlineFile` → 再 `require(writtenFiles[0])` 读真实数据;**禁止**在对话里手填 `data.items` 中的业务数。
|
|
157
157
|
- 响应结构:`{ ok, data: { items: [...] }, meta: { media, window, scanned, returned, source, totals, currencyNote, generatedAt } }`。
|
|
158
158
|
- `meta.source`:`list` = 全量翻清单后拉数;`subset` = 传了 `-a`,跳过清单翻页(**`advertiserName` 会缺失**,公司名列显示 `-`)。
|
|
159
159
|
|
|
@@ -182,7 +182,7 @@ siluzan-tso accounts-digest -m Google -a id1,id2 --min-spend 10 \
|
|
|
182
182
|
--start 2026-04-01 --end 2026-04-15 --json-out ./snap-p3
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
-
**`data.items[]` 主要字段**:`mediaCustomerId`、`name`、`advertiserName`、`currencyCode`、`balance`、`spend`、`impressions`、`clicks`、`conversions`、`ctr`(%)、`cpc`、`cpa`。跨币种汇总见 `references/currency.md`(**禁止**对 `meta.totals` 跨币种直接当最终结论)。
|
|
185
|
+
**`data.items[]` 主要字段**:`mediaCustomerId`、`name`、`advertiserName`、`currencyCode`、`balance`、`spend`、`impressions`、`clicks`、`conversions`、`ctr`(%)、`cpc`、`cpa`。跨币种汇总见 `references/accounts/currency.md`(**禁止**对 `meta.totals` 跨币种直接当最终结论)。
|
|
186
186
|
|
|
187
187
|
---
|
|
188
188
|
|
|
@@ -194,7 +194,7 @@ siluzan-tso accounts-digest -m Google -a id1,id2 --min-spend 10 \
|
|
|
194
194
|
> - 窗口完全在历史 → `database` 模式:含余额、状态、币种、账户名、当期展点消等完整字段;
|
|
195
195
|
> - 窗口包含今天 → `googleCombined` 模式:只返回实时聚合的展点消(**没有**余额/状态/币种/账户名)。
|
|
196
196
|
> - **TikTok / Yandex / BingV2 / Kwai**:走旧版 `accountsoverview`,每日凌晨同步昨天数据,**不能查今天**。判断这几家的「今天/当天/今日消耗」仍需走 `google-analysis(-batch) --sections overview`(仅 Google)。
|
|
197
|
-
> - 完整时效性表见 `references/account-analytics.md` 顶部。
|
|
197
|
+
> - 完整时效性表见 `references/analytics/account-analytics.md` 顶部。
|
|
198
198
|
|
|
199
199
|
```bash
|
|
200
200
|
siluzan-tso stats -m <媒体类型> [选项]
|
|
@@ -405,8 +405,8 @@ siluzan-tso account share-detail --customer-id 1234567890
|
|
|
405
405
|
|
|
406
406
|
## open-account — 开户申请
|
|
407
407
|
|
|
408
|
-
> **Google 与网页 `/openAnAccount` 的对照**(五步进度、两步表单、币种/时区下拉):见 **`references/open-account-google-ui.md`**。
|
|
409
|
-
> **各媒体路由、资料、提交接口都不相同**(不只 Google 用 `/openAnAccount`):见 **`references/open-account-by-media.md`**。
|
|
408
|
+
> **Google 与网页 `/openAnAccount` 的对照**(五步进度、两步表单、币种/时区下拉):见 **`references/accounts/open-account-google-ui.md`**。
|
|
409
|
+
> **各媒体路由、资料、提交接口都不相同**(不只 Google 用 `/openAnAccount`):见 **`references/accounts/open-account-by-media.md`**。
|
|
410
410
|
|
|
411
411
|
### 广告主组 magKey 说明
|
|
412
412
|
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
|
|
34
34
|
1. **`list-accounts`**(推荐第一步):`items[].ma.currencyCode`;表格有 **「币种」** 列。
|
|
35
35
|
2. **`balance` / `balance-scan` / `accounts-digest`**:`items[].currencyCode` 或行内已格式化的金额(含代码)。
|
|
36
|
-
3. **`stats`**:`items[].currencyCode`(Google 含今天窗口时可能无币种,见 `accounts.md` 时效性说明)。
|
|
36
|
+
3. **`stats`**:`items[].currencyCode`(Google 含今天窗口时可能无币种,见 `accounts/accounts.md` 时效性说明)。
|
|
37
37
|
4. **`google-analysis --sections overview`**:`overview-*.json` 根级或 `account.currencyCode`。
|
|
38
38
|
5. **`ad campaigns` / `ad groups`**:JSON 内 `currencyCode`(与账户主币种一致)。
|
|
39
|
-
6. **发票/充值**:`invoice billable` 的 `currencyCode`;人民币订单与美金订单开票类型不同,见 `finance.md`。
|
|
39
|
+
6. **发票/充值**:`invoice billable` 的 `currencyCode`;人民币订单与美金订单开票类型不同,见 `accounts/finance.md`。
|
|
40
40
|
|
|
41
41
|
**单账户任务**:在 `list-accounts -k <id>` 或 `balance -a <id>` 之后,把解析到的 `currencyCode` 记入报告首行与脚本常量(从 JSON 读取,勿写死 `USD`)。
|
|
42
42
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
- **写 CLI 参数**(`--budget`、`--max-cpc`、`--target-cpa`、`--amount` 等):同样传**主币种元**,与账户 `currencyCode` 一致;CLI 内部按需 ×100 / ×1_000_000 写后端。
|
|
51
51
|
- 旧版网关字段(`budgetAmount` 分、`*Micros` 微元、`maxCPCAmountDisplay` 等)**已不再落盘到 CLI 输出**,下游脚本无需做单位换算。
|
|
52
52
|
|
|
53
|
-
详见 `references/account-analytics.md`「金额单位」。
|
|
53
|
+
详见 `references/analytics/account-analytics.md`「金额单位」。
|
|
54
54
|
|
|
55
55
|
---
|
|
56
56
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
## 相关文档
|
|
68
68
|
|
|
69
|
-
- 账户命令与字段:`references/accounts.md`
|
|
70
|
-
- 报告金额口径:`references/account-analytics.md`
|
|
71
|
-
- 开户选币:`references/open-account-google-ui.md`、`references/workflows.md`
|
|
72
|
-
- 开票币种:`references/finance.md`
|
|
69
|
+
- 账户命令与字段:`references/accounts/accounts.md`
|
|
70
|
+
- 报告金额口径:`references/analytics/account-analytics.md`
|
|
71
|
+
- 开户选币:`references/accounts/open-account-google-ui.md`、`references/core/workflows.md`
|
|
72
|
+
- 开票币种:`references/accounts/finance.md`
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
## invoice-info — 发票抬头管理
|
|
9
9
|
|
|
10
|
-
对应页面:`https://www.siluzan.com/v3/foreign_trade/settings/invoiceInformation`
|
|
10
|
+
对应页面:`https://www-ci.siluzan.com/v3/foreign_trade/settings/invoiceInformation`
|
|
11
11
|
|
|
12
12
|
发票抬头是开票申请时使用的公司/企业信息模板,支持三种类型:
|
|
13
13
|
|
|
@@ -133,10 +133,10 @@ siluzan-tso config show
|
|
|
133
133
|
**示例:**
|
|
134
134
|
|
|
135
135
|
```
|
|
136
|
-
- 现金充值(单笔):https://www.siluzan.com/recharge/pay
|
|
137
|
-
- 现金充值(批量):https://www.siluzan.com/recharge/pay_batch
|
|
138
|
-
- 月结充值: https://www.siluzan.com/recharge/accountBillingQuota
|
|
139
|
-
- 丝路赞钱包: https://www.siluzan.com/recharge/siluzanWallet
|
|
136
|
+
- 现金充值(单笔):https://www-ci.siluzan.com/recharge/pay
|
|
137
|
+
- 现金充值(批量):https://www-ci.siluzan.com/recharge/pay_batch
|
|
138
|
+
- 月结充值: https://www-ci.siluzan.com/recharge/accountBillingQuota
|
|
139
|
+
- 丝路赞钱包: https://www-ci.siluzan.com/recharge/siluzanWallet
|
|
140
140
|
```
|
|
141
141
|
|
|
142
142
|
---
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# 各媒体开户
|
|
2
|
+
|
|
3
|
+
> 对应页面:`/accountOpeningHistory`
|
|
4
|
+
> 网页链接:`{webUrl}/v3/foreign_trade/tso/accountOpeningHistory?tso=%2Fv3umijs%2Ftso%2FaccountOpeningHistory`
|
|
5
|
+
> 多命令串联见 `references/core/workflows.md` § 流程一。
|
|
6
|
+
|
|
7
|
+
## Agent 注意
|
|
8
|
+
|
|
9
|
+
- **`open-account google-wizard` 需要真实 TTY**,Agent 环境无法使用,始终用非交互 `open-account <media> ...`。
|
|
10
|
+
- 各媒体所需资料和参数**完全不同**,不要混用。
|
|
11
|
+
- 提交后轮询:`account-history -m <Media>`;通过后 `list-accounts -m <Media>`。
|
|
12
|
+
- 充值激活**必须在网页**完成(见 `references/accounts/finance.md`)。
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Google
|
|
17
|
+
|
|
18
|
+
**所需信息**:公司名称、推广网址、推广类型(b2b/b2c/app)、账户名称、币种(CNY/USD)、时区、邀请邮箱
|
|
19
|
+
|
|
20
|
+
**网页对照**(字段映射):`references/accounts/open-account-google-ui.md`
|
|
21
|
+
|
|
22
|
+
**常用时区**(完整:`siluzan-tso open-account google-timezones`):
|
|
23
|
+
|
|
24
|
+
| Code | 含义 |
|
|
25
|
+
| ---- | ---- |
|
|
26
|
+
| `Asia/Shanghai` | CNY 默认 |
|
|
27
|
+
| `Asia/Hong_Kong` | USD 默认 |
|
|
28
|
+
| `America/New_York` | 美东 |
|
|
29
|
+
| `America/Los_Angeles` | 美西 |
|
|
30
|
+
| `Europe/London` | 伦敦 |
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
siluzan-tso open-account google \
|
|
34
|
+
--company "Brand A Inc." \
|
|
35
|
+
--promotion-link "https://www.brand-a.com" \
|
|
36
|
+
--promotion-type b2c \
|
|
37
|
+
--account-name "品牌A美国推广账户" \
|
|
38
|
+
--currency USD \
|
|
39
|
+
--timezone "America/New_York" \
|
|
40
|
+
--invite-email "marketing@brand-a.com"
|
|
41
|
+
|
|
42
|
+
siluzan-tso account-history -m Google
|
|
43
|
+
siluzan-tso list-accounts -m Google
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## TikTok
|
|
49
|
+
|
|
50
|
+
**所需信息**:营业执照图片路径、执照编号、公司名、注册地代码、行业 ID(叶子节点)、推广链接、账户名称、币种、时区
|
|
51
|
+
|
|
52
|
+
> CLI 不做执照 OCR,需用户手动提供 `--company` 和 `--license-no`。
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
siluzan-tso open-account tiktok-areas --keyword China
|
|
56
|
+
siluzan-tso open-account tiktok-industries --keyword "电商"
|
|
57
|
+
siluzan-tso open-account tiktok-timezones --keyword Shanghai
|
|
58
|
+
|
|
59
|
+
siluzan-tso open-account tiktok \
|
|
60
|
+
--company "Brand A Inc." \
|
|
61
|
+
--account-name "品牌A TikTok账户" \
|
|
62
|
+
--currency USD \
|
|
63
|
+
--timezone "Asia/Shanghai" \
|
|
64
|
+
--industry-id <叶子节点 ID> \
|
|
65
|
+
--registered-area CN \
|
|
66
|
+
--promotion-link "https://www.brand-a.com" \
|
|
67
|
+
--license-no "91440300XXXXXXXXXX" \
|
|
68
|
+
--license-file "/path/to/license.jpg"
|
|
69
|
+
|
|
70
|
+
siluzan-tso account-history -m TikTok
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Yandex
|
|
76
|
+
|
|
77
|
+
**所需信息**:公司名称、Yandex 登录名、邮箱、税号(TIN)、电话
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
siluzan-tso open-account yandex \
|
|
81
|
+
--company "Brand A Inc." \
|
|
82
|
+
--login "brandainc_yandex" \
|
|
83
|
+
--first-name "San" \
|
|
84
|
+
--last-name "Zhang" \
|
|
85
|
+
--email "contact@brand-a.com" \
|
|
86
|
+
--tin "XXXXXXXXXX" \
|
|
87
|
+
--phone "+86XXXXXXXXXXX"
|
|
88
|
+
|
|
89
|
+
siluzan-tso account-history -m Yandex
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## BingV2
|
|
95
|
+
|
|
96
|
+
**所需信息**:广告主全称/简称、地址(省市区)、推广链接、行业名称、营业执照图片路径
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
siluzan-tso open-account bing-industries --keyword "科技"
|
|
100
|
+
|
|
101
|
+
siluzan-tso open-account bing \
|
|
102
|
+
--advertiser-name "深圳XX科技有限公司" \
|
|
103
|
+
--name-short "XX科技" \
|
|
104
|
+
--province "广东省" \
|
|
105
|
+
--city "深圳市" \
|
|
106
|
+
--address "南山区科技园XX路XX号" \
|
|
107
|
+
--promotion-link "https://www.brand-a.com" \
|
|
108
|
+
--trade-id "IT/消费电子-其他" \
|
|
109
|
+
--license-file "/path/to/license.jpg"
|
|
110
|
+
|
|
111
|
+
siluzan-tso account-history -m BingV2
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Kwai
|
|
117
|
+
|
|
118
|
+
**所需信息**:公司名称、主体信息、行业多级 ID、产品网址、账户类型、营业执照图片路径
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
siluzan-tso open-account kwai \
|
|
122
|
+
--company-name "深圳XX科技有限公司" \
|
|
123
|
+
--licence-id "91440300XXXXXXXXXX" \
|
|
124
|
+
--licence-country CN \
|
|
125
|
+
--licence-location "广东省深圳市南山区XX路XX号" \
|
|
126
|
+
--business-scope "电商零售" \
|
|
127
|
+
--product "品牌A" \
|
|
128
|
+
--ad-type 1 \
|
|
129
|
+
--product-url "https://www.brand-a.com" \
|
|
130
|
+
--licence-id-type ENTERPRISE \
|
|
131
|
+
--account-name "品牌A Kwai账户" \
|
|
132
|
+
--industry-id1 "1234" \
|
|
133
|
+
--industry-id2 "5678" \
|
|
134
|
+
--expire-type 2 \
|
|
135
|
+
--target-country US \
|
|
136
|
+
--license-file "/path/to/license.jpg"
|
|
137
|
+
|
|
138
|
+
siluzan-tso account-history -m Kwai
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## 审核结果
|
|
144
|
+
|
|
145
|
+
| 状态 | 含义 | 下一步 |
|
|
146
|
+
| ---- | ---- | ------ |
|
|
147
|
+
| 审核中 | 等待媒体审核 | 继续 `account-history` 轮询 |
|
|
148
|
+
| 已通过 | 账户可用 | `list-accounts` 确认 + 网页充值 |
|
|
149
|
+
| 已拒绝 | 资料问题 | 查看拒绝原因,修正后重新提交 |
|
|
150
|
+
|
|
151
|
+
完整参数:`siluzan-tso open-account <subcommand> -h`
|
package/dist/skill/references/{open-account-google-ui.md → accounts/open-account-google-ui.md}
RENAMED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
| ② | 填写申请 | 网页里完成第 1、2 步表单并提交 | **`open-account google-wizard`** 或 **`open-account google`** |
|
|
9
9
|
| ③ | 等待审核 | 等待媒体/平台审核 | **`account-history -m Google`** 轮询 |
|
|
10
10
|
| ④ | 审核通过 | 查看通过结果 | 同上 |
|
|
11
|
-
| ⑤ | 充值并激活 | **必须在网页完成充值** | 引导 `config show` → `webUrl` + 充值路径(见 `finance.md`) |
|
|
11
|
+
| ⑤ | 充值并激活 | **必须在网页完成充值** | 引导 `config show` → `webUrl` + 充值路径(见 `accounts/finance.md`) |
|
|
12
12
|
|
|
13
13
|
页面上还有提示:**美元账户最低充值约 100 USD、人民币约 700 CNY**(以实际页面为准)。
|
|
14
14
|
|
|
@@ -115,4 +115,4 @@ siluzan-tso account-history -m Google
|
|
|
115
115
|
| `open-account google` | 非交互一次性提交 |
|
|
116
116
|
| `account-history -m Google` | 开户审核进度 |
|
|
117
117
|
|
|
118
|
-
更完整的参数表见 `accounts.md` → **open-account** 章节。
|
|
118
|
+
更完整的参数表见 `accounts/accounts.md` → **open-account** 章节。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 账户分析数据拉取与周期报告
|
|
2
2
|
|
|
3
|
-
> 所属 skill:`siluzan-tso`。本文档说明如何通过 CLI 拉取 Google / Meta / TikTok / Bing 的账户分析数据并撰写报告。TSO 平台优化报告见 `references/reporting.md`。
|
|
3
|
+
> 所属 skill:`siluzan-tso`。本文档说明如何通过 CLI 拉取 Google / Meta / TikTok / Bing 的账户分析数据并撰写报告。TSO 平台优化报告见 `references/analytics/reporting.md`。
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -86,7 +86,7 @@ CLI 出口的所有 JSON / 表格金额已统一为**元**,关键字段:
|
|
|
86
86
|
| `keyword suggest --json` | `averageCpc`、`lowTopOfPageBid`、`highTopOfPageBid`;根级与每条 `bidAmountCurrency`(有 `-a` 为账户币;无 `-a` 为 USD) |
|
|
87
87
|
| `balance` 等账户余额接口 | 余额字段为`remainingAccountBudget`(元) |
|
|
88
88
|
|
|
89
|
-
旧字段 `budgetAmount`(分)、`maxCPCAmountDisplay`、`*Micros`(微元)**已不再落盘**,下游脚本无需做单位换算。金额保留 2 位小数,带货币代码(如 `¥50.00 CNY`、`$50.00 USD`),`currencyCode` 从响应读取,跨币种账户分表;细则见 `references/currency.md`。
|
|
89
|
+
旧字段 `budgetAmount`(分)、`maxCPCAmountDisplay`、`*Micros`(微元)**已不再落盘**,下游脚本无需做单位换算。金额保留 2 位小数,带货币代码(如 `¥50.00 CNY`、`$50.00 USD`),`currencyCode` 从响应读取,跨币种账户分表;细则见 `references/accounts/currency.md`。
|
|
90
90
|
|
|
91
91
|
### 预算建议
|
|
92
92
|
|
package/dist/skill/references/{google-analysis-batch.md → analytics/google-analysis-batch.md}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> 适用:账户数 ≥ 5 且需拉 ≥ 2 个 google-analysis 维度。**禁止**外层 for-loop 替代。中断后**必须** `resume`,不得重跑 `run`。
|
|
4
4
|
>
|
|
5
|
-
> **数据时效性**:维度的实时 / 每日同步口径见 `references/account-analytics.md` 顶部「数据时效性」表。当天高消耗排行只能用 `--sections overview`,且**禁止**加 `--min-spend`(其预筛选来自非实时 `accountsoverview`)。
|
|
5
|
+
> **数据时效性**:维度的实时 / 每日同步口径见 `references/analytics/account-analytics.md` 顶部「数据时效性」表。当天高消耗排行只能用 `--sections overview`,且**禁止**加 `--min-spend`(其预筛选来自非实时 `accountsoverview`)。
|
|
6
6
|
|
|
7
7
|
单 Node 进程,复用 keep-alive,双层并发(账户级 × 维度级),断点续跑,错误自动分类重试。
|
|
8
8
|
|
|
@@ -69,7 +69,7 @@ siluzan-tso google-analysis-batch status --json-out ./snap-batch --run-id <runId
|
|
|
69
69
|
| `--run-id <id>` | 自定义 runId | 自动 `run-YYYYMMDD-HHmmss-<rand4>` |
|
|
70
70
|
| `-a, --accounts <ids>` | 显式 ID 列表;传入则跳过清单拉取与 `--min-spend` | 省略时自动拉全量 Google 账号 |
|
|
71
71
|
| `--start` / `--end` | 统计区间(YYYY-MM-DD) | 近 7 天截至昨天 |
|
|
72
|
-
| `--sections <list>` | 维度(逗号分隔),合法值见 `references/account-analytics.md` | `campaigns,geographic,keywords` |
|
|
72
|
+
| `--sections <list>` | 维度(逗号分隔),合法值见 `references/analytics/account-analytics.md` | `campaigns,geographic,keywords` |
|
|
73
73
|
| `--account-concurrency <n>` | 账户级并发(1~16) | 4 |
|
|
74
74
|
| `--section-concurrency <n>` | 单账户内维度并发(1~16) | 6 |
|
|
75
75
|
| `--keyword-limit <n>` | keywords / search-terms 条数上限 | google-analysis 默认 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 关键词规划师工作流
|
|
2
2
|
|
|
3
|
-
> **拓词命令**读本文;**建户 JSON + validate + create** 读 `references/google-ads-campaign-plan.md`。关键词数量规则:`google-ads
|
|
3
|
+
> **拓词命令**读本文;**建户 JSON + validate + create** 读 `references/google-ads/google-ads-campaign-plan.md`。关键词数量规则:`google-ads/rules/google-ads-keyword-taxonomy.md`。
|
|
4
4
|
>
|
|
5
5
|
> **数据口径**:`siluzan-tso keyword` 默认走 `keywordidea/google`(共享 MCC,出价 **USD**);传 **`-a <mediaCustomerId>`** 时走 `keywordrecommendation/recommend/{id}/google`,出价币种为 `list-accounts` 的 **`currencyCode`**(如 CNY)。可选 `--url` 叠加 **网址拓词**(`websitereco`)。与 **`google-analysis` 投放表现**不是同一套数据。
|
|
6
6
|
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
| 4 | 账户关键词表现 + 市场侧指标:`google-analysis` keywords → 抽词 → 分批 `keyword` | §3 |
|
|
61
61
|
| 5 | 搜索词 + 拓词:浪费流量 / 否词线索 | §4 |
|
|
62
62
|
| 6 | 高商业意图粗筛:CPC、竞争度、搜索量 | §5 |
|
|
63
|
-
| 7 | 否词或否词根落地:`ad keyword-negative-create` 等 | §4 + `google-ads.md` |
|
|
63
|
+
| 7 | 否词或否词根落地:`ad keyword-negative-create` 等 | §4 + `google-ads/google-ads.md` |
|
|
64
64
|
| 8 | Campaign → AdGroup → JSON:`ad campaign-validate` → `ad campaign-create` | §6 |
|
|
65
65
|
| 9 | 拓词结果导出:`keyword … --json-out`,供脚本消费 | §7 |
|
|
66
66
|
|
|
@@ -119,8 +119,8 @@ siluzan-tso keyword -k "pipe" --geo 2840,2826 --json-out ./snap-kw-merged
|
|
|
119
119
|
|
|
120
120
|
## 通用执行规范
|
|
121
121
|
|
|
122
|
-
- **一律**对可复用中间结果使用 `--json-out <目录>`(或等价快照参数),再读 `cli-manifest*.json` / 各 section 的 `*.outline.txt` 了解字段;详见 **`references/tips.md`**。
|
|
123
|
-
- **写账户**(新建系列/加词/加否词):新建系列走 **`references/google-ads-campaign-plan.md`**(含 `campaign-validate`);其余写操作先与用户确认,写后用成对读命令复核(命令见 `google-ads.md`)。
|
|
122
|
+
- **一律**对可复用中间结果使用 `--json-out <目录>`(或等价快照参数),再读 `cli-manifest*.json` / 各 section 的 `*.outline.txt` 了解字段;详见 **`references/core/tips.md`**。
|
|
123
|
+
- **写账户**(新建系列/加词/加否词):新建系列走 **`references/google-ads/google-ads-campaign-plan.md`**(含 `campaign-validate`);其余写操作先与用户确认,写后用成对读命令复核(命令见 `google-ads/google-ads.md`)。
|
|
124
124
|
|
|
125
125
|
---
|
|
126
126
|
|
|
@@ -128,7 +128,7 @@ siluzan-tso keyword -k "pipe" --geo 2840,2826 --json-out ./snap-kw-merged
|
|
|
128
128
|
|
|
129
129
|
### 0)先知识库、再市场侧拓词(推荐)
|
|
130
130
|
|
|
131
|
-
当用户给出**客户/品牌**或需要**产品型号、英文类目、应用场景**才能写出靠谱种子词时,**先**走 `references/rag.md`,**再**调用 `keyword`(市场侧指标与账户内表现仍须区分,见文首「数据口径」)。
|
|
131
|
+
当用户给出**客户/品牌**或需要**产品型号、英文类目、应用场景**才能写出靠谱种子词时,**先**走 `references/analytics/rag.md`,**再**调用 `keyword`(市场侧指标与账户内表现仍须区分,见文首「数据口径」)。
|
|
132
132
|
|
|
133
133
|
1. 选定客户知识库:
|
|
134
134
|
`siluzan-tso rag list --rag-only --json`
|
|
@@ -174,7 +174,7 @@ siluzan-tso keyword -k "structural adhesive,SG-200,curtain wall bonding" --url "
|
|
|
174
174
|
|
|
175
175
|
1. `siluzan-tso google-analysis -a <id> --sections search-terms --start <S> --end <E> --json-out ./snap-st`
|
|
176
176
|
2. 与 `keyword` 拓词结果对照,由 AI 列否词根或精确否词;落地执行:
|
|
177
|
-
`siluzan-tso ad keyword-negative-create …`(见 `references/google-ads.md`)。
|
|
177
|
+
`siluzan-tso ad keyword-negative-create …`(见 `references/google-ads/google-ads.md`)。
|
|
178
178
|
|
|
179
179
|
### 5)高商业意图粗筛(出价 + 竞争度 + 搜索量)
|
|
180
180
|
|
|
@@ -183,14 +183,14 @@ siluzan-tso keyword -k "structural adhesive,SG-200,curtain wall bonding" --url "
|
|
|
183
183
|
|
|
184
184
|
### 6)词包 → campaign-create JSON
|
|
185
185
|
|
|
186
|
-
拓词落盘结果 + `google-ads-keyword-taxonomy.md` 分层建议 → 填 JSON(`KeywordsForBatchJob`、`campaign-validate`、`campaign-create`)见 **`references/google-ads-campaign-plan.md`** § 标准流水线 **步 3–7**。
|
|
186
|
+
拓词落盘结果 + `google-ads-keyword-taxonomy.md` 分层建议 → 填 JSON(`KeywordsForBatchJob`、`campaign-validate`、`campaign-create`)见 **`references/google-ads/google-ads-campaign-plan.md`** § 标准流水线 **步 3–7**。
|
|
187
187
|
|
|
188
188
|
### 7)拓词结果标准化导出
|
|
189
189
|
|
|
190
190
|
1. ```bash
|
|
191
191
|
siluzan-tso keyword -k "..." [--url ...] [--include ...] [--exclude ...] --json-out ./snap-kw
|
|
192
192
|
```
|
|
193
|
-
2. 消费顺序:**先**读该目录下 `cli-manifest*.json` 与 **`*.outline.txt`(字段结构)**,**再**用脚本 `require()` 或聚合逻辑读真实数据 JSON;禁止跳过 outline 猜字段。总约定见 **`references/tips.md`**。
|
|
193
|
+
2. 消费顺序:**先**读该目录下 `cli-manifest*.json` 与 **`*.outline.txt`(字段结构)**,**再**用脚本 `require()` 或聚合逻辑读真实数据 JSON;禁止跳过 outline 猜字段。总约定见 **`references/core/tips.md`**。
|
|
194
194
|
|
|
195
195
|
---
|
|
196
196
|
|
|
@@ -207,4 +207,4 @@ siluzan-tso keyword geo-list [--country-code <codes>] [--name-contains <text>] [
|
|
|
207
207
|
|
|
208
208
|
**返回字段**(与后端 `Samm.Core.Service.KeywordRecommendation` 对齐):根级与每条 **`bidAmountCurrency`**(无账户=`USD`;有账户=`list-accounts` 的 `currencyCode`);`averageCpc` / `lowTopOfPageBid` / `highTopOfPageBid`(微元 ÷1,000,000,**与 `bidAmountCurrency` 一致**)。另有 `keyword` / `montlySearch` / `competition` / `competitionV2` / `source` 等。
|
|
209
209
|
|
|
210
|
-
与只读账户关键词列表、否词 CRUD 的对照仍归 **`references/google-ads.md`** 中 `ad keywords` / `ad keyword-*` 各节。
|
|
210
|
+
与只读账户关键词列表、否词 CRUD 的对照仍归 **`references/google-ads/google-ads.md`** 中 `ad keywords` / `ad keyword-*` 各节。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# rag:知识库检索(TSO 广告投放辅助)
|
|
2
2
|
|
|
3
|
-
知识库管理页面在 https://www.siluzan.com/knowledge-base/
|
|
3
|
+
知识库管理页面在 https://www-ci.siluzan.com/knowledge-base/
|
|
4
4
|
|
|
5
5
|
为 **广告投放、账户分析、拓词、诊断报告** 等 TSO 业务提供**企业已入库**的产品、行业、客户背景事实依据。
|
|
6
6
|
|
|
@@ -42,14 +42,14 @@ siluzan-tso rag query -q "行业术语 英文类目" --folder-id <id> --top-k 10
|
|
|
42
42
|
|
|
43
43
|
| 用户意图 | 建议检索词(示例) | 后续 TSO 命令 |
|
|
44
44
|
| ------------------------------ | ----------------------------------------- | ----------------------------------------------------------------- |
|
|
45
|
-
| Google 搜索广告方案 / 批量草稿 | 产品卖点、应用行业、目标国家、竞品差异 | `google-ads-campaign-plan.md` + `keyword` / `campaign-create`;草稿发布见 `google-ads.md` § ad batch |
|
|
46
|
-
| 关键字拓词补语境 | 产品型号、英文类目、行业术语、应用场景 | `keyword suggest -k "..."`;编排见 `keyword-planner-workflows.md` |
|
|
45
|
+
| Google 搜索广告方案 / 批量草稿 | 产品卖点、应用行业、目标国家、竞品差异 | `google-ads/google-ads-campaign-plan.md` + `keyword` / `campaign-create`;草稿发布见 `google-ads/google-ads.md` § ad batch |
|
|
46
|
+
| 关键字拓词补语境 | 产品型号、英文类目、行业术语、应用场景 | `keyword suggest -k "..."`;编排见 `analytics/keyword-planner-workflows.md` |
|
|
47
47
|
| 账户诊断 / 周期报告「背景」段 | 公司简介、主营产品、目标市场、认证资质 | `google-analysis` + `report-templates/` 对应模板 |
|
|
48
48
|
| 询盘分析报告 | 产品线、出口市场、客户画像、大洲业务侧重 | `report-templates/google-inquiry-analysis.md` |
|
|
49
|
-
| 开户行业/资质核对 | 营业执照经营范围、行业描述、品牌全称 | `open-account-by-media.md` 对应媒体开户流 |
|
|
49
|
+
| 开户行业/资质核对 | 营业执照经营范围、行业描述、品牌全称 | `accounts/open-account-by-media.md` 对应媒体开户流 |
|
|
50
50
|
| 优化建议解释 | 产品毛利结构、旺季、转化路径(表单/电话) | `optimize` 记录 + 人工解读;数据仍来自 `google-analysis` |
|
|
51
51
|
|
|
52
|
-
检索结果**只作事实参考**:广告标题/描述须符合 `google-ads
|
|
52
|
+
检索结果**只作事实参考**:广告标题/描述须符合 `google-ads/rules/google-ads-compliance.md`;数值指标仍以 CLI 拉数为准。
|
|
53
53
|
|
|
54
54
|
---
|
|
55
55
|
|
|
@@ -99,6 +99,6 @@ rag list --rag-only --json
|
|
|
99
99
|
| 维度 | siluzan-tso `rag` | siluzan-cso `rag` |
|
|
100
100
|
| --------- | ----------------------------------------- | --------------------------------------------- |
|
|
101
101
|
| 主要用途 | 广告投放、分析、拓词、报告背景 | 社媒文案、三库素材、口播写稿 |
|
|
102
|
-
| 默认 tags | 不过滤(按 folder 锁客户) | 常配合三库 tags(见 CSO `references/rag.md`) |
|
|
102
|
+
| 默认 tags | 不过滤(按 folder 锁客户) | 常配合三库 tags(见 CSO `references/analytics/rag.md`) |
|
|
103
103
|
| 后续命令 | `ad` / `keyword` / `google-analysis` | `publish` / 写稿工作流 |
|
|
104
104
|
| API | 相同 `cutapi/v1/material/queryknowledges` | 相同 |
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
> 所属 skill:`siluzan-tso`。
|
|
4
4
|
>
|
|
5
5
|
> 本文档仅覆盖 **TSO steward 优化报告**:列表、生成、删除、邮件推送与网页查看。
|
|
6
|
-
> **账户分析拉数**(`google-analysis`、`report tiktok-*`、`report bing-*`、`report meta-overview`)与**周期/诊断报告纲要**见 `references/account-analytics.md`。
|
|
7
|
-
> **异步批量创建记录**(`ad batch`)见 `references/google-ads.md` § ad batch。
|
|
8
|
-
> **AI 广告优化**(`optimize`)见 `references/optimize.md`。
|
|
9
|
-
> **广告线索**(`clue`)见 `references/clue.md`。
|
|
6
|
+
> **账户分析拉数**(`google-analysis`、`report tiktok-*`、`report bing-*`、`report meta-overview`)与**周期/诊断报告纲要**见 `references/analytics/account-analytics.md`。
|
|
7
|
+
> **异步批量创建记录**(`ad batch`)见 `references/google-ads/google-ads.md` § ad batch。
|
|
8
|
+
> **AI 广告优化**(`optimize`)见 `references/operations/optimize.md`。
|
|
9
|
+
> **广告线索**(`clue`)见 `references/operations/clue.md`。
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -214,8 +214,8 @@ siluzan-tso report list -m Google --json
|
|
|
214
214
|
|
|
215
215
|
# 第二步:查看 webUrl
|
|
216
216
|
siluzan-tso config show
|
|
217
|
-
# webUrl: https://www.siluzan.com
|
|
217
|
+
# webUrl: https://www-ci.siluzan.com
|
|
218
218
|
|
|
219
219
|
# 第三步:拼接链接(Google 日报)
|
|
220
|
-
# https://www.siluzan.com/media-report/publish/rpt_abc123?culture=zh-CN
|
|
220
|
+
# https://www-ci.siluzan.com/media-report/publish/rpt_abc123?culture=zh-CN
|
|
221
221
|
```
|