siluzan-tso-cli 1.1.71 → 1.1.72-beta.1

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.
Files changed (37) hide show
  1. package/README.md +2 -1
  2. package/dist/index.js +200 -36
  3. package/dist/skill/SKILL.md +5 -5
  4. package/dist/skill/_meta.json +2 -2
  5. package/dist/skill/references/accounts/accounts-list.md +1 -1
  6. package/dist/skill/references/accounts/accounts-permissions.md +2 -2
  7. package/dist/skill/references/accounts/finance.md +1 -1
  8. package/dist/skill/references/accounts/open-account-by-media.md +1 -1
  9. package/dist/skill/references/accounts/open-account-google-ui.md +1 -1
  10. package/dist/skill/references/analytics/account-analytics.md +4 -6
  11. package/dist/skill/references/analytics/rag.md +1 -1
  12. package/dist/skill/references/analytics/reporting.md +5 -5
  13. package/dist/skill/references/core/agent-conventions.md +1 -0
  14. package/dist/skill/references/core/playbooks.md +1 -1
  15. package/dist/skill/references/core/setup.md +5 -5
  16. package/dist/skill/references/core/workflows.md +1 -1
  17. package/dist/skill/references/google-ads/google-ads-exclusions.md +1 -1
  18. package/dist/skill/references/google-ads/google-ads-protection.md +3 -5
  19. package/dist/skill/references/google-ads/google-ads-write.md +6 -5
  20. package/dist/skill/references/google-ads/google-ads.md +1 -1
  21. package/dist/skill/references/google-ads/rules/google-ads-pmax-guide.md +9 -6
  22. package/dist/skill/references/misc/tso-home.md +2 -2
  23. package/dist/skill/references/operations/ad-gap.md +190 -5
  24. package/dist/skill/references/report-templates/google-account-diagnosis-report.md +1 -1
  25. package/dist/skill/references/report-templates/google-ads-diagnosis.md +6 -2
  26. package/dist/skill/references/report-templates/google-period-report-excel.md +6 -4
  27. package/dist/skill/references/report-templates/google-period-report.md +8 -8
  28. package/dist/skill/references/report-templates/okki-weekly-google-client.md +4 -4
  29. package/dist/skill/report-templates/google-account-diagnosis-report.md +1 -1
  30. package/dist/skill/report-templates/google-ads-diagnosis.md +6 -2
  31. package/dist/skill/report-templates/google-period-report-excel.md +6 -4
  32. package/dist/skill/report-templates/google-period-report.html +4 -31
  33. package/dist/skill/report-templates/google-period-report.md +8 -8
  34. package/dist/skill/report-templates/okki-weekly-google-client.md +4 -4
  35. package/dist/skill/scripts/install.ps1 +3 -3
  36. package/dist/skill/scripts/install.sh +3 -3
  37. package/package.json +1 -1
@@ -120,7 +120,7 @@ siluzan-tso google-analysis -a <id> --exclude materials,gold-account --json-out
120
120
  | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
121
121
  | `overview` | 总览(实时,可查当天;当天高消耗账号排行首选) |
122
122
  | `keywords` | 关键词;默认 `costGreater=0`(仅有消耗)、`limit=0`(不封顶)、`orderByCost=true`;可用 `--limit` 限制 Top N |
123
- | `search-terms` | 搜索词;默认 `limit=0`(不封顶)、`orderByCost=true`;落盘前过滤 `spend>0`;含 `queryTargetingStatus` / `queryTargetingStatusZh`(已添加/已排除/都没有);可用 `--limit` 限制 Top N |
123
+ | `search-terms` | 搜索广告的搜索词;默认 `limit=0`(不封顶)、`orderByCost=true`;落盘前过滤 `spend>0`;含 `queryTargetingStatus` / `queryTargetingStatusZh`(已添加/已排除/都没有);可用 `--limit` 限制 Top N。同一次还有 `campaigns` 时,CLI 再写 `pmax-search-terms-*.json`:有消耗或展示的效果最大化系列走 `reports/search`,行上有 `spend`,`matchTypeZh` 为「效果最大化」。关键词表和搜索词表都要并进这份 `items[]`。空文件表示没到展示阈值。不要改用 `ad pmax-search-terms`,那条没有花费 |
124
124
  | `campaigns` | 广告系列 |
125
125
  | `campaign-hour` | 系列按小时(行在 `items[]`) |
126
126
  | `ads` | 广告;与 `ad list` 同源 |
@@ -138,7 +138,7 @@ siluzan-tso google-analysis -a <id> --exclude materials,gold-account --json-out
138
138
  | `materials` | 图片+视频拍平进 `items[]`,每行带 `assetType: 'image' \| 'video'` |
139
139
  | `resource-counts` | 结构统计 |
140
140
  | `conversion-actions` | 转化动作 |
141
- | `daily-metrics` | 按日指标(主平台 `GET …/report/media-account/google/account-daily-reports`,`--json-out` 落盘为按日数组)。行上 `conversionsValue` 是账户币种转化价值。**广告诊断报告**中:金额/CPA/转化价值 **保留 2 位小数**,转化/点击/展示为整数;须配趋势**分析**段落(见 `google-ads-diagnosis.md`) |
141
+ | `daily-metrics` | 按日指标(主平台 `GET …/report/media-account/google/account-daily-reports`,`--json-out` 落盘为按日数组)。**广告诊断报告**中:金额/CPA **保留 2 位小数**,转化/点击/展示为整数;须配趋势**分析**段落(见 `google-ads-diagnosis.md`) |
142
142
  | `gold-account` | 黄金账户 |
143
143
  | `ads-index` | 质量指标 |
144
144
  | `final-urls` | 最终到达网址(不传 `--start`/`--end`) |
@@ -162,7 +162,7 @@ siluzan-tso google-analysis -a <id> --exclude materials,gold-account --json-out
162
162
 
163
163
  | 桶 | 维度 | 读法 |
164
164
  | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
165
- | **列表** | `keywords`、`search-terms`、`campaigns`、`campaign-hour`、`ads`、`extensions`、`devices`、`geographic`、`geo-matched`、`campaign-geo`、`campaign-geo-matched`、`geo-targeted`、`campaign-device`、`audience`、`asset-images`、`videos`、`materials`、`daily-metrics`、`conversion-actions` | `d.items[]` |
165
+ | **列表** | `keywords`、`search-terms`、`pmax-search-terms`、`campaigns`、`campaign-hour`、`ads`、`extensions`、`devices`、`geographic`、`geo-matched`、`campaign-geo`、`campaign-geo-matched`、`geo-targeted`、`campaign-device`、`audience`、`asset-images`、`videos`、`materials`、`daily-metrics`、`conversion-actions` | `d.items[]` |
166
166
  | **汇总** | `overview`、`resource-counts`、`dimension-summary`、`gold-account`、`ads-index`、`final-urls`、`campaign-types` | `d.record` |
167
167
 
168
168
  脚本示例(Node)—— 所有维度同一套读法:
@@ -211,9 +211,7 @@ const data = d.record ?? d.items; // record 非空=汇总维度;否则=列表
211
211
 
212
212
  `conversionsValue` 是账户币种的 Google「转化价值」,和 `conversions`(次数)不是一回事。带 `startDate` / `endDate` 时,`keywords`、`search-terms`、`campaigns`、`ads`、`geographic`,以及 `ad keywords` / `ad search-terms` / `ad campaigns` / `ad groups` / `ad list` 的行上会有这个字段。报告要写转化价值或 ROAS 时用它:`ROAS = conversionsValue / spend`(`spend` 为 0 时该格写「—」)。禁止用消耗、点击、转化次数自己算。禁止把系列合计摊到关键词、搜索字词或国家上。账户级三格仍只汇总 `campaigns` 的 `items[]`。
213
213
 
214
- `geographic` 和 `devices` 的 `conversionsValue` 是该行合计(查询含 `metrics.conversions_value`)。国家或设备 ROAS 用该行自己的 `conversionsValue / spend`。若这些行 `conversions` > 0 但 `conversionsValue` 全是 0,而同期 `campaigns` 有转化价值,整列写「未返回」,不要写成 ROAS 0。
215
-
216
- `daily-metrics` 的字段也在,但结束日不是报表当天(UTC+8)时走日快照。快照是下载任务写进去的:当天还没被重新下载过时,`conversionsValue` 会是 0,而转化次数和花费仍有数。这时每日价值写「未返回」,不要写成 ROAS 0。结束日就是报表当天时走现查,返回的非 0 价值可以直接用。受众行使用本行 `conversionsValue`。受众、国家、设备这些行若转化次数大于 0 但价值全是 0、同期系列却有价值,整列写「未返回」。`geo-matched` / `campaign-geo` 没有这项查询,同样写「未返回」。
214
+ `geographic`、`geo-matched`、`campaign-geo`、`geo-targeted`、`devices`、`campaign-device`、`daily-metrics`、`keywords`、`search-terms`、`pmax-search-terms`、`ads`、`audience` 行上的 `conversionsValue` 就是该行的转化价值。有这个数字就按返回值写,0 也写 0;ROAS = 该值 / `spend`(`spend` 为 0 时 ROAS 写「—」)。不要因为值为 0、或同期系列有转化价值,把已经返回的数字改成「未返回」。只有行上没有该字段时才写「未返回」。`campaign-hour`、视频和图片素材的查询没有这项,这些维度才写「未返回」。结束日不是报表当天时,按日读的是日快照,快照里的 0 同样按 0 写。
217
215
 
218
216
  ### CampaignSectionData 关键字段
219
217
 
@@ -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
 
@@ -190,9 +190,9 @@ siluzan-tso report push receive-emails -m Google [--json-out ./snap]
190
190
 
191
191
  | 媒体 | 报告类型 | URL 模板 |
192
192
  | ------ | ---------------- | ----------------------------------------------------------- |
193
- | Google | 日报(Daily) | `https://www.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
194
- | Google | 小时报(Hourly) | `https://www.siluzan.com/media-report/hour/{entityId}?culture=zh-CN` |
195
- | TikTok | 日报 | `https://www.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
193
+ | Google | 日报(Daily) | `https://www-ci.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
194
+ | Google | 小时报(Hourly) | `https://www-ci.siluzan.com/media-report/hour/{entityId}?culture=zh-CN` |
195
+ | TikTok | 日报 | `https://www-ci.siluzan.com/media-report/publish/{entityId}?culture=zh-CN` |
196
196
 
197
197
  `entityId` 来自 `siluzan-tso report list --json-out ./snap` 中每条记录的 `entityId` 字段。
198
198
 
@@ -205,8 +205,8 @@ siluzan-tso report list -m Google --json-out ./snap
205
205
 
206
206
  # 第二步:查看 webUrl
207
207
  siluzan-tso config show
208
- # webUrl: https://www.siluzan.com
208
+ # webUrl: https://www-ci.siluzan.com
209
209
 
210
210
  # 第三步:拼接链接(Google 日报)
211
- # https://www.siluzan.com/media-report/publish/rpt_abc123?culture=zh-CN
211
+ # https://www-ci.siluzan.com/media-report/publish/rpt_abc123?culture=zh-CN
212
212
  ```
@@ -137,6 +137,7 @@
137
137
  - **不猜测账户 ID**:`entityId`(UUID,仅 delink/share/reauth/账单)≠ `mediaCustomerId`(`stats`/`balance`/`accounts-digest`/`ad` 的 `-a`)。两者均来自 `list-accounts` 的 `ma.*`。用户已给出媒体账户号时(Google 数字 CID、**Yandex `porg-…`**、Meta `act_…` 等)→ `-a` **原样使用**,再用 `-k` 核验;**禁止**改成 `entityId` / tokenId / 会话里其它 UUID。**禁止**把 `entityId` 传给 `stats -a` / `balance -a` / `accounts-digest -a`。
138
138
  - **媒体类型区分大小写**:`Google`、`TikTok`、`Yandex`、`MetaAd`、`BingV2`。
139
139
  - **CLI 输出忠实**:数值与 ID 须与本次落盘 JSON / stdout 一致,不编造示例 ID;`data` 为空时只说「当前返回无记录」并附 JSON 路径。
140
+ - **「未返回」只表示字段没回来**:行上有 `conversionsValue`(以及其它度量字段)就原样展示,**0 也是返回值,写 0**。禁止因为值为 0、转化次数大于 0、或同期系列有成交额,把已经返回的数字改成「未返回」。只有该字段不在行上,或值是 `null`,才写「未返回」。
140
141
  - **禁止编造平台网页地址**(充值/钱包/开户进度/授权/报告查看等):
141
142
  1. **禁止**凭记忆、训练数据或「看起来像」写出任何完整 `https://…siluzan.com…` / `mysiluzan.com` 链接(含改域名、改路径、补 query)。
142
143
  2. 引导用户打开丝路赞网页时:**必须**当轮执行 `siluzan-tso config show`,用输出中的 **`webUrl`** 作基地址;相对路径**只**能来自当次已 Read 的 reference(如 `finance.md`、`reporting.md`、`setup.md`)中的路径表;拼出后完整链接贴给用户。
@@ -81,7 +81,7 @@
81
81
  - **步骤**:
82
82
  1. **账户核验**:`list-accounts -m Google -k <mediaCustomerId> --json-out <dir>`;无记录则停止并告知用户。
83
83
  2. 确认时间范围;区间 > 3 个月时分段(季度/月)。
84
- 3. **拉数**:用户已指定 Sheet/维度 → 只拉对应 `--sections`(见 `google-period-report-excel.md` 映射表);未指定 → 按 `google-period-report.md` 默认 9 个拉数维(含 `audience`、`negative-keywords`),并可并行追问可选追加。终稿要「转化价值 / 单转化价值 / ROAS」的上期时,再按 excel 规格拉等长上期 `--sections campaigns` 后汇总,禁止把这三格留成「—」。关键词、搜索字词、国家/地区、设备用各自行的 `conversionsValue`(ROAS = 该值 / `spend`),不要用系列汇总值摊下去。这些行(含受众)转化次数大于 0 但价值全是 0、同期系列却有价值,整列写「未返回」。每日趋势在结束日不是报表当天、且价值整天为 0 时同样写「未返回」;结束日是当天的现查非 0 价值照填。
84
+ 3. **拉数**:用户已指定 Sheet/维度 → 只拉对应 `--sections`(见 `google-period-report-excel.md` 映射表);未指定 → 按 `google-period-report.md` 默认 9 个拉数维(含 `audience`、`negative-keywords`),并可并行追问可选追加。关键词或搜索词出现在终稿里时,同一次必须带 `campaigns` 和 `search-terms`,并把落下的 `pmax-search-terms-*.json` 并进搜索词表(效果最大化,行上有消耗)。禁止用 `ad pmax-search-terms` 填消耗。终稿要「转化价值 / 单转化价值 / ROAS」的上期时,再按 excel 规格拉等长上期 `--sections campaigns` 后汇总,禁止把这三格留成「—」。关键词、搜索字词、国家/地区、设备用各自行的 `conversionsValue`(ROAS = 该值 / `spend`),不要用系列汇总值摊下去。这些行(含受众、按日)有这个数字就按返回值写,0 也写 0;没有该字段才写「未返回」。
85
85
  4. **门禁**:对每个 section Read `<section>-<accountId>_*.outline.txt` 后再写脚本。
86
86
  5. 脚本读盘写 `google-period-report.json`(`meta` + `narrative`,`meta.lang` 跟本轮语言);用户要 **Excel** → Agent 脚本写 xlsx(**禁止**宿主第三方 xlsx Skill;**无** CLI excel 子命令;表头跟 `meta.lang`)。
87
87
  6. 默认 HTML:`google-analysis render --data ./google-period-report.json --snapshot-dir ./snap-google --out ./google-period-report.html --lang <zh|en>`。须含账户概览、投放趋势、Top 关键词/系列/地区/受众分布、当前否词名单、优化建议。
@@ -10,7 +10,7 @@
10
10
  ## 安装 CLI
11
11
 
12
12
  ```bash
13
- npm install -g siluzan-tso-cli
13
+ npm install -g siluzan-tso-cli@beta
14
14
  ```
15
15
 
16
16
  ---
@@ -64,7 +64,7 @@ siluzan-tso config set --api-key <Key> # 或 config 直接写入
64
64
  siluzan-tso config set --token <Token> # 备用:设置 JWT Token
65
65
  ```
66
66
 
67
- API Key 获取入口:`https://www.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
67
+ API Key 获取入口:`https://www-ci.siluzan.com/v3/foreign_trade/settings/apiKeyManagement`
68
68
 
69
69
  ```bash
70
70
  # 第 1 步:让用户报出手机号后,立刻发码(命令立即返回,不会等待输入)
@@ -127,9 +127,9 @@ siluzan-tso config show
127
127
 
128
128
  ```
129
129
  构建环境 : production
130
- apiBaseUrl : https://tso-api.siluzan.com
131
- googleApiUrl : https://googleapi.mysiluzan.com
132
- webUrl : https://www.siluzan.com
130
+ apiBaseUrl : https://tso-api-ci.siluzan.com
131
+ googleApiUrl : https://googleapi-ci.mysiluzan.com
132
+ webUrl : https://www-ci.siluzan.com
133
133
  apiKey : abcd****1234
134
134
  ```
135
135
 
@@ -97,7 +97,7 @@
97
97
  6. **有 campaignId 时必做** `ad batch diff`(含投放国家);`ok===false` / exit 2 时按 `missing[].remediateCommand` **自动** `ad geo add` / `ad extension *` 补建,勿反问用户(见 `google-ads-campaign-plan.md` § batch diff 后自动补建)。
98
98
  7. 复核:`ad campaigns` / `ad extension list` 确认系列与扩展齐全。
99
99
  8. **向用户发送 Markdown 创建详情**(硬性):`ad batch diff … --lang <zh|en>` 后把 **`reportMarkdown` 全文**发给用户(`--md-out` / `reportMarkdownFile`);多系列各一份;**禁止**只说「创建完成」。代改过方案时另附修改表(`google-ads-plan-source-fidelity.md`)。见 `agent-conventions.md` §四。
100
- - **精细管理与日常运营**:`ad adgroup-create` / `ad keyword-create` / `ad keyword-negative-create` / `ad ad-create`(拓词辅助见 **W5**);调整用 `ad adgroup-status` / `ad campaign-status` / `ad ad-delete` / `ad keyword-negative-delete`。内容适宜性用 `ad exclusions`,排除版位前先 `ad placements`;关键词拒审看 `ad keywords` 的 `disapprovalReasons`;账户级搜索否词用 `ad negative-list`(不是内容关键字);CPA 口径看 `ad conversion-goals`;谁改了预算看 `ad changes`(最多 30 天)。PMax 抢词先看 `ad pmax-search-terms`,再决定 `ad pmax-brands` 或 `ad pmax-negatives`。详见 `google-ads-exclusions.md` 与 `google-ads-protection.md`。完整参数见 `references/google-ads/google-ads-write.md`;列表复核见 `google-ads-read.md`。写后按 `agent-conventions.md` §四向用户汇报成败(改了什么、是否生效)。
100
+ - **精细管理与日常运营**:`ad adgroup-create` / `ad keyword-create` / `ad keyword-negative-create` / `ad ad-create`(拓词辅助见 **W5**);调整用 `ad adgroup-status` / `ad campaign-status` / `ad ad-delete` / `ad keyword-negative-delete`。内容适宜性用 `ad exclusions`,排除版位前先 `ad placements`;关键词拒审看 `ad keywords` 的 `disapprovalReasons`;账户级搜索否词用 `ad negative-list`(不是内容关键字);CPA 口径看 `ad conversion-goals`;谁改了预算看 `ad changes`(最多 30 天)。PMax 抢词先看同一次 `google-analysis` 落下的 `pmax-search-terms`(命令里要同时有 `campaigns` 和 `search-terms`,行上才有消耗),再决定 `ad pmax-brands` 或 `ad pmax-negatives`。不要用 `ad pmax-search-terms` 看消耗。详见 `google-ads-exclusions.md` 与 `google-ads-protection.md`。完整参数见 `references/google-ads/google-ads-write.md`;列表复核见 `google-ads-read.md`。写后按 `agent-conventions.md` §四向用户汇报成败(改了什么、是否生效)。
101
101
  - **产物**:系列(`ad campaigns` 可见)+ batch(`ad batch get` / `batch diff` 补齐扩展与地域)+ **面向用户的系列创建详情报告**;关键词匹配格式 `running shoes`=广泛 / `"..."`=词组 / `[...]`=精确;结构性写操作须用户确认;写后用成对读命令复核并汇报成败。
102
102
 
103
103
  ---
@@ -52,7 +52,7 @@ siluzan-tso ad negative-list remove -a <accountId> --id <id> --commit "删一条
52
52
 
53
53
  ## 转化口径与操作记录
54
54
 
55
- CPA 异常时先看这个系列出价算哪些转化,不要先改出价。只读。
55
+ CPA 异常时先看这个系列出价算哪些转化,不要先改出价。这里只读。要改是否参与出价,或把几个转化收成一个目标,按 `ad-gap.md` Google 段首。
56
56
 
57
57
  ```bash
58
58
  siluzan-tso ad conversion-goals -a <accountId> [--campaign-id <id>]
@@ -6,13 +6,11 @@
6
6
 
7
7
  ## PMax 搜索词
8
8
 
9
- 必须指定一个 PMax 系列。这不是 `ad search-terms`。
9
+ 要词和消耗时,不要用 `ad pmax-search-terms`。那条接口不返回花费,当前查询还会被 Google 拒绝。
10
10
 
11
- ```bash
12
- siluzan-tso ad pmax-search-terms -a <accountId> --campaign-id <id> --start YYYY-MM-DD --end YYYY-MM-DD
13
- ```
11
+ 同一条 `google-analysis` 里带上 `campaigns` 和 `search-terms`。有消耗或展示的效果最大化系列会再写成 `pmax-search-terms-<账户>_<起止>.json`,来源是 `reports/search`。行上已有 `searchTermText`、`spend`、`campaignName`,`matchTypeZh` 为「效果最大化」。`insights` 是类别汇总,不要写进词表。文件是空的,表示这些词没到展示阈值,不要改去调 `ad pmax-search-terms`,也不要编造搜索词。
14
12
 
15
- 历史大约从 2023-03 起。空列表表示这段没有搜索查询。这张表没有花费,按展示看热度。
13
+ 关键词表、搜索词表、诊断 §08 都要并进这些行,按 `spend` 从高到低。PMax 没有关键词行,不要把它漏在 `keywords` 或 `fullSearchTerms` 外面。stderr 点名没拉到的系列时,写明缺了哪几个,已经写入的系列仍要进表。
16
14
 
17
15
  ## 品牌列表
18
16
 
@@ -582,7 +582,7 @@ siluzan-tso ad schedule-replace -a <accountId> --campaign-id <id> --file ./sched
582
582
 
583
583
  ## ad coverage — 其余广告管理
584
584
 
585
- 搜索、PMax、Demand Gen 的主流程不变。展示、购物、应用、DSA,以及转化、点击上传、价值规则、季节性、数据排除、出价模拟、实验、标签、自定义器和建议,已经有 `ad-gap` action,继续用 `ad-gap`。下面是还没有 action 的缺口。金额填元。创建结果是暂停,广告也是暂停。
585
+ 搜索、PMax、Demand Gen 的主流程不变。展示、购物、应用、DSA,以及转化口径、转化价值、广告插入项、再营销名单、自定义受众和系列分组,按 `ad-gap.md` Google 段首选用 action。关键词计划、可分享预览、生成文案、通用受众、素材集、产品关联、其余仍可用广告版式、账单和字段查询也在 `ad-gap.md` 的 Google 表,不要说没有命令。金额填元。创建结果是暂停,广告也是暂停。系列正文可以带 `containsEuPoliticalAdvertising`,不传就是不含。
586
586
 
587
587
  ```bash
588
588
  siluzan-tso ad coverage kinds -a <accountId>
@@ -597,7 +597,7 @@ siluzan-tso ad coverage bid-simulation -a <accountId> --campaign-id <id>
597
597
  | `display` / `shopping` / `video` / `app` / `hotel` / `travel` / `pmax-travel` / `local` / `local-services` / `dsa` | 按官方必填字段建系列,结果暂停。展示、购物、应用、DSA 已有 `ad-gap` 时优先用 `ad-gap`。酒店要 Hotel Center ID。旅游要 Travel account ID。`pmax-travel` 在当前 API 里的子类型是 `TravelActivities` |
598
598
  | `ai-max` / `tracking` / `portfolio-bidding` / `attach-bidding` | AI Max、跟踪模板、最终到达网址后缀、组合出价策略 |
599
599
  | `price` / `promotion` / `mobile-app` / `location` / `ad-image` / `lead-form` | 价格、促销、应用、地址、搜索图片、把已有线索表单挂到系列 |
600
- | `radius` / `campaign-ip` / `life-event` / `custom-audience` / `combined-audience` / `brand-list` / `content-label` | 半径定位、系列级 IP 排除、人生事件、自定义受众、组合受众、品牌排除、系列级品牌安全 |
600
+ | `radius` / `campaign-ip` / `life-event` / `custom-audience` / `combined-audience` / `brand-list` / `content-label` | 半径定位、系列级 IP 排除、人生事件、挂已有自定义受众、组合受众、品牌排除、系列级品牌安全。新建受众用 `google.custom-audience` |
601
601
  | `label` / `experiment` / `seasonality` / `customizer` | 已有 `ad-gap` action,用 `ad-gap`。草稿用实验,不要再找旧的 Campaign Draft |
602
602
  | `conversion-action` / `conversion-value-rule` / `click-conversion` | 已有 `ad-gap` 的 `google.create-conversion-action` / `google.value-rule` / `google.upload-clicks`。邮箱按官方规则先规范化再 SHA-256 |
603
603
  | `frequency-cap` / `carousel` / `product-ad` / `listing-group` | Demand Gen 频次上限、轮播、商品广告,以及 PMax 商品过滤 |
@@ -609,8 +609,9 @@ siluzan-tso ad coverage bid-simulation -a <accountId> --campaign-id <id>
609
609
 
610
610
  下面这些没有对应命令,也不要改走 `ad coverage`。
611
611
 
612
- - Smart 广告。官方不再建议新建,改用 Performance Max
613
- - 仅电话广告。官方已停止新建,用自适应搜索广告加电话素材
612
+ - Smart 广告、仅电话广告、扩展文字、旧文字、旧展示、旧应用安装、智能购物、类似受众、系列草稿、广告参数。官方已停止或没有可写操作,这次不接
614
613
  - Demand Gen 共享预算、素材组、品牌手册、素材自动化、搜索主题。Demand Gen 用系列专用预算,素材组只属于 PMax
614
+ - 身份验证、经理关联、用户权限和多方授权。它们留在媒体账户命令,不走 `ad-gap`
615
+ - 账户预算网络设置和本地服务资格。当前 SDK 没有这两个服务,不另造请求
615
616
  - 用 `ad audience` 上传 Customer Match 名单。名单走 `ad-gap` 的 `google.customer-match-list` / `google.customer-match-job` / `google.customer-match-operations` / `google.customer-match-run`
616
- - 代关自动应用建议。`ad recommendation-subscriptions` 仍只读;采纳或忽略单条建议用 `ad-gap` 的 `google.apply-recommendation` / `google.dismiss-recommendation`
617
+ - 建议订阅的开启或暂停用 `ad-gap` 的 `google.recommendation-subscription`。采纳或忽略单条建议仍用 `google.apply-recommendation` / `google.dismiss-recommendation`
@@ -29,7 +29,7 @@ Meta / Facebook 线索广告走 **`meta-ad`(W13)**,**禁止**用本命令
29
29
  | 搜索系列 7 步方案与门禁 | [`google-ads-campaign-plan.md`](google-ads-campaign-plan.md) |
30
30
  | PMax 网关路径 | [`pmax-api.md`](pmax-api.md) |
31
31
  | Demand Gen 创建 / 修改 / 看数 | [`demand-gen-api.md`](demand-gen-api.md) |
32
- | 内容排除 / 版位花费 / 账户否词 / 转化口径 / 操作记录 | [`google-ads-exclusions.md`](google-ads-exclusions.md) |
32
+ | 内容排除 / 版位花费 / 账户否词 / 转化口径 / 操作记录 | [`google-ads-exclusions.md`](google-ads-exclusions.md)。改口径见 [`ad-gap.md`](../operations/ad-gap.md) Google 段首 |
33
33
  | PMax 保护 / 素材表现 / IP | [`google-ads-protection.md`](google-ads-protection.md) |
34
34
  | 优化/合规 SOP | [`rules/README.md`](rules/README.md)(只读索引 → 再读一个 rules 文件) |
35
35
 
@@ -66,10 +66,10 @@ siluzan-tso google-analysis -a <CID> --sections campaigns --from 2026-03-01 --to
66
66
  **第二步:搜索词重叠分析** `[CLI 可执行]`
67
67
 
68
68
  ```bash
69
- # 拉取 PMax 搜索词
70
- siluzan-tso google-analysis -a <CID> --sections search-terms
71
- # 拉取 Search 系列关键词
72
- siluzan-tso google-analysis -a <CID> --sections keywords
69
+ # 同一条命令才写得出带消耗的效果最大化搜索词
70
+ siluzan-tso google-analysis -a <CID> --start YYYY-MM-DD --end YYYY-MM-DD \
71
+ --sections campaigns,search-terms,keywords --json-out ./snap-pmax
72
+ # 搜索广告词在 search-terms-*.json;效果最大化词在 pmax-search-terms-*.json(有 spend)
73
73
  ```
74
74
 
75
75
  对比两者,找出重叠搜索词,尤其关注品牌词和高转化非品牌词。
@@ -206,9 +206,12 @@ Google 为每个素材分配以下标签:
206
206
  2025 年更新后,PMax 搜索词报告已可查看。 `[CLI 可执行]`
207
207
 
208
208
  ```bash
209
- siluzan-tso ad pmax-search-terms -a <CID> --campaign-id <campaignId> --start YYYY-MM-DD --end YYYY-MM-DD
209
+ siluzan-tso google-analysis -a <CID> --start YYYY-MM-DD --end YYYY-MM-DD \
210
+ --sections campaigns,search-terms --json-out ./snap-pmax
210
211
  ```
211
212
 
213
+ 读 `pmax-search-terms-*.json` 的 `items[]`(`searchTermText`、`spend`、`campaignName`)。`ad pmax-search-terms` 没有花费,不要用它填消耗。
214
+
212
215
  **检查频率:** 每周一次(高花费账户可 2 次/周)。
213
216
 
214
217
  ### 6.2 否定关键词策略
@@ -412,7 +415,7 @@ PMax 搜索渠道天然适配 AI Overview(自动化程度高)。AI Overview
412
415
  | ----------------------------- | ------------------------------------------------------------ | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
413
416
  | **学习期卡住(>2 周无进展)** | 预算不足;转化量太少;素材不完整 | 检查日预算是否 ≥ tCPA × 3;检查素材完整度 | 增加预算至 $50+/天;补全所有素材类型(尤其视频);临时切换为 Max Conversions 不设目标 |
414
417
  | **高花费低转化** | 渠道分布不佳;受众信号太宽;转化跟踪有误 | `campaigns` 查渠道分布;`audience` 查受众表现;`conversion-actions` 检查转化设置 | 收紧受众信号;检查是否有微转化干扰;验证转化跟踪代码 |
415
- | **与 Search 蚕食** | PMax 竞价品牌词或高价值非品牌词 | `ad pmax-search-terms`(详见第 2 章、第 6 章) | `[CLI]` `ad pmax-brands` / `ad pmax-negatives` + Search Exact Match |
418
+ | **与 Search 蚕食** | PMax 竞价品牌词或高价值非品牌词 | 同一次 `google-analysis --sections campaigns,search-terms` 的 `pmax-search-terms`(详见第 2 章、第 6 章) | `[CLI]` `ad pmax-brands` / `ad pmax-negatives` + Search Exact Match |
416
419
  | **素材组不展示** | 素材不足;素材与受众/着陆页关联度低;预算分散 | `ads` 查看素材状态 | 补全素材至每种格式最低数量;合并低量素材组;增加系列预算 |
417
420
  | **CPA 突然飙升** | 竞争加剧;转化延迟;素材疲劳;季节因素 | 对比近 7 天 vs 前 7 天各指标 | 等待 3-5 天观察是否恢复;更新素材;检查竞争对手动态 |
418
421
  | **ROAS 远低于目标** | tROAS 设置过高导致展示不足;产品 Feed 问题;着陆页转化率下降 | `campaigns` 查展示量趋势;`final-urls` 查着陆页数据 | 降低 tROAS 目标 10-15%;优化产品 Feed 数据质量;检查着陆页 |
@@ -6,7 +6,7 @@
6
6
  siluzan-tso config show # 取 webUrl
7
7
  ```
8
8
 
9
- 首页地址:`https://www.siluzan.com/v3/foreign_trade/tso/home`
9
+ 首页地址:`https://www-ci.siluzan.com/v3/foreign_trade/tso/home`
10
10
 
11
11
  ---
12
12
 
@@ -25,7 +25,7 @@ siluzan-tso config show # 取 webUrl
25
25
 
26
26
  ## 推荐话术
27
27
 
28
- 1. **「和首页一样的总览」** → 打开 `https://www.siluzan.com/v3/foreign_trade/tso/home`。
28
+ 1. **「和首页一样的总览」** → 打开 `https://www-ci.siluzan.com/v3/foreign_trade/tso/home`。
29
29
  2. **「某个 Google 账户昨天花了多少」** → `list-accounts -m Google` + `stats -m Google -a <id>`。
30
30
  3. **「有待充值账户」** → 说明聚合数据在首页;CLI 可 `list-accounts` + `balance` 逐户排查,或引导充值页。
31
31
 
@@ -284,10 +284,10 @@ siluzan-tso ad-gap --action bing.delete-locations --account 123 --body "{\"paren
284
284
  | `bing.read-data-exclusions` | `ids` |
285
285
  | `bing.read-conversion-value-rules` | `ids` |
286
286
  | `bing.read-videos` | `ids` |
287
- | `bing.read-media` | 不给 `ids` 时按账户读前 100 条;给了 `ids` 就按媒体 id 读 |
287
+ | `bing.read-media` | 给 `ids` 就按媒体 id 读。不给 `ids` 时必须给 `mediaEnabledEntity`(`ImageAdExtension` 或 `ResponsiveAd`)。当前 SDK 不能省略这个字段,省略会被微软以非法实体类型拒绝 |
288
288
  | `bing.read-labels` | `ids` |
289
289
  | `bing.read-new-customer-goals` | 无 |
290
- | `bing.read-brand-kits` | 无 |
290
+ | `bing.read-brand-kits` | 无。账户没开通 Brand Kit 时官方拒绝 |
291
291
  | `bing.read-account-properties` | 无 |
292
292
  | `bing.read-bmc-stores` | 无。商家中心店铺 |
293
293
  | `bing.read-bsc-countries` | 无。购物可选国家 |
@@ -300,6 +300,109 @@ siluzan-tso ad-gap --action bing.shopping-campaign --account 123 --body "{\"name
300
300
  siluzan-tso ad-gap --action bing.read-ad-groups --account 123 --body "{\"campaignId\":456}" --commit "读取广告组" --json-out ./snap-bing
301
301
  ```
302
302
 
303
+ ### Bing 仍可用、原先没有命令的投放
304
+
305
+ 金额仍是账户币种。受众组和系列转化目标没有暂停状态。条件更新不会新建对象。当前 SDK 没有的方法列在本节末尾,不要换字段重试。
306
+
307
+ | action | 正文 |
308
+ | --- | --- |
309
+ | `bing.audience-group` | `name`(≤128)`audienceIds` `audienceType`(`RemarketingList` / `Custom` / `InMarket` / `Product` / `SimilarRemarketingList` / `CombinedList` / `CustomerList`)。可选 `description` |
310
+ | `bing.update-audience-group` | `id`。`name` 和 `description` 至少一个 |
311
+ | `bing.delete-audience-groups` | `ids` |
312
+ | `bing.link-audience-group` | `id` 为受众组,`assetGroupId` 为素材组 |
313
+ | `bing.unlink-audience-group` | 与 `bing.link-audience-group` 相同 |
314
+ | `bing.campaign-conversion-goal` | `campaignId` `goalId` |
315
+ | `bing.delete-campaign-conversion-goals` | `campaignId` `goalId` |
316
+ | `bing.update-audience` | `id` `audienceType`(同上)。`name` 和 `description` 至少一个 |
317
+ | `bing.update-label` | `id`。`name`(≤80)和 `description` 至少一个。可选 `colorCode`(`#RRGGBB`) |
318
+ | `bing.update-shared-entity` | `id` `name`(≤255)`sharedEntityType`(`NegativeKeywordList` / `PlacementExclusionList`) |
319
+ | `bing.update-import-job` | `id`。`name` `notificationEmail` `frequency` 至少一个 |
320
+ | `bing.update-campaign-criterion` | `campaignId` `id` `criterionType`(例如 `Targets` / `Location` / `Age` / `Device` / `Audience`)。`status`(`Active` / `Paused` / `Deleted`)和 `bid` 至少一个。`bid` 是官方 `BidMultiplier` |
321
+ | `bing.update-ad-group-criterion` | `adGroupId`,其余与系列条件相同 |
322
+ | `bing.delete-ad-group-criterions` | `adGroupId` `ids` `criterionType` |
323
+
324
+ 按 id 或账户读。返回仍是 `id`、`name`、`status`、`type`、`detail`。
325
+
326
+ | action | 正文 |
327
+ | --- | --- |
328
+ | `bing.read-campaigns` | `ids` `campaignType`(`Search` / `Shopping` / `DynamicSearchAds` / `Audience` / `Hotel` / `PerformanceMax` / `App`) |
329
+ | `bing.read-ad-groups-by-ids` | `campaignId` `ids` |
330
+ | `bing.read-ads-by-ids` | `adGroupId` `ids` `adType`(`Text` / `Image` / `Product` / `AppInstall` / `ExpandedText` / `DynamicSearch` / `ResponsiveAd` / `ResponsiveSearch` / `Hotel`) |
331
+ | `bing.read-keywords-by-ids` | `adGroupId` `ids` |
332
+ | `bing.read-keywords-by-status` | `adGroupId` `editorialStatus`(`Active` / `Disapproved` / `Inactive` / `ActiveLimited`) |
333
+ | `bing.read-asset-groups-by-ids` | `ids` |
334
+ | `bing.read-asset-group-listing-groups` | `assetGroupId` `ids` |
335
+ | `bing.read-asset-group-editorial-reasons` | `campaignId` `ids` 为素材组 |
336
+ | `bing.read-extension-ids` | `adExtensionType`(例如 `SitelinkAdExtension`)。可选 `associationType`(`Campaign` / `AdGroup` / `Account`) |
337
+ | `bing.read-extension-associations` | `ids` 为实体,`entityType` 不用于这个请求。`adExtensionType` `associationType` |
338
+ | `bing.read-extension-editorial-reasons` | `extensionId` `entityId` `associationType` |
339
+ | `bing.read-shared-list-items` | `listId` `sharedEntityType` |
340
+ | `bing.read-shared-library` | `sharedEntityType`。客户库,不是账户库 |
341
+ | `bing.read-shared-associations` | `ids` 为实体,`entityType` `sharedEntityType` |
342
+ | `bing.read-shared-associations-by-list` | `ids` 为共享列表,`entityType` `sharedEntityType` |
343
+ | `bing.read-label-associations` | `ids` `entityType` |
344
+ | `bing.read-label-associations-by-label` | `ids` 为标签 |
345
+ | `bing.read-import-results` | `ids` `importType` |
346
+ | `bing.read-import-entity-ids` | `ids` 为来源 id,`importType` `importEntityType`(`Campaign` / `AdGroup` / `Ad` / `Keyword`)。可选 `parentId` |
347
+ | `bing.read-conversion-goals-by-tag` | `ids` 为 UET 标签,`goalType` |
348
+ | `bing.read-conversion-value-rules-by-account` | 无 |
349
+ | `bing.read-data-exclusions-by-account` | 无 |
350
+ | `bing.read-seasonality-by-account` | 无 |
351
+ | `bing.read-offline-conversion-reports` | `start` `end`(`yyyy-MM-dd`) |
352
+ | `bing.read-campaigns-by-budget` | `ids` 为共享预算 |
353
+ | `bing.read-campaigns-by-bid-strategy` | `ids` 为出价策略 |
354
+ | `bing.read-media-associations` | `ids` `mediaEnabledEntity`(`ImageAdExtension` / `ResponsiveAd`) |
355
+ | `bing.read-audience-groups` | `ids` |
356
+ | `bing.read-audience-group-assets` | `ids` 为素材组 |
357
+ | `bing.read-audience-group-assets-by-audience` | `ids` 为受众组 |
358
+
359
+ 当前 SDK 没有这些方法,不要编请求:`UpdateMedia`、注释退出、素材组关键词、按目标的离线转化报表、按 id 的品牌套件、HTML5、LinkedIn 分段、受众拆分、系列出价景观。用户、客户关联和邀请不走 `ad-gap`。`GetUetTagAuthKey` 不暴露。导入上传地址、诊断、健康检查、Clipchamp、字体、公司搜索、画像文件、地理位置文件、账户迁移状态不接。`Create*Recommendation` / `Refine*` 不另开;应用推荐仍是已有的 `bing.apply-recommendations`,而该动作会说明当前 SDK 没有写入方法。客户名单条目继续用 `bing.customer-list-items`。
360
+
361
+ ### Bing 洞察
362
+
363
+ 路径是 `reporting/media-account/BingV2/{account}/insights/`,不是 coverage。POST 读取和现有 `bing.read-*` 一样要 `--commit`。`GetRecommendations` 自 2025-09-30 起废弃,旧路由还在,不要用它。推荐读取用 `bing.retrieve-recommendations`。
364
+
365
+ 已有路由:
366
+
367
+ | action | 正文 |
368
+ | --- | --- |
369
+ | `bing.keyword-ideas` | `language` `locationIds` `network`。`queries`、`url`、`categoryId` 至少一个。可选 `device` |
370
+ | `bing.keyword-idea-categories` | 无。这是 GET。微软已废弃这个端点,会返回 3601,不要重试 |
371
+ | `bing.traffic-estimates` | `campaigns[]`:`dailyBudget`、`languages`、`locationIds`、`adGroups` |
372
+ | `bing.auction` | 拍卖洞察正文沿用网关查询。要实体 id |
373
+ | `bing.budget-opportunities` | `campaignId` |
374
+ | `bing.keyword-opportunities` | `campaignId` `adGroupId` `opportunityType` |
375
+ | `bing.bid-landscape` | `keywordIds` |
376
+ | `bing.performance` | `entityType` `startDate` `endDate` |
377
+ | `bing.suggest-keywords` | `keywords` `language`(`English` / `French` / `German`)`publisherCountries` |
378
+ | `bing.suggest-keywords-for-url` | `url` `language` |
379
+ | `bing.historical-search-count` | `keywords`,以及网关要求的时间范围 |
380
+ | `bing.estimated-bids` | `keywords`,以及目标位置 |
381
+ | `bing.domain-categories` | `domainName` `language` |
382
+
383
+ 这次新接的洞察。推荐类型只接受 `CampaignBudgetRecommendation`、`KeywordRecommendation`、`ResponsiveSearchAdRecommendation`、`RemoveConflictingNegativeKeywordRecommendation`、`UseBroadMatchKeywordRecommendation`、`ResponsiveSearchAdAssetRecommendation`。
384
+
385
+ | action | 正文 |
386
+ | --- | --- |
387
+ | `bing.retrieve-recommendations` | `recommendationTypes` 1–6 个。可选 `maxCount` |
388
+ | `bing.dismiss-recommendations` | `recommendationId` `recommendationType`。要 `--commit` |
389
+ | `bing.tag-recommendations` | `recommendationType` `recommendationId` `recommendationHash` `label`(`Applied` / `Dismissed`)。要 `--commit` |
390
+ | `bing.auto-apply-status` | `recommendationTypes`。只接受 `ResponsiveSearchAdsOpportunity`、`MultiMediaAdsOpportunity`、`RemoveConflictingNegativeKeywordOpportunity`、`FixConversionGoalSettingsOpportunity`、`CreateConversionGoalOpportunity` |
391
+ | `bing.set-auto-apply` | `recommendationType`(同上五种)`enabled`(true / false)。要 `--commit`。网关写成官方的 `Type = true` |
392
+ | `bing.audience-estimation` | `locationIds`。可选 `dailyBudget` |
393
+ | `bing.ad-group-bid-landscape` | `ids` 为广告组,`landscapeType`(`Uniform` / `DefaultBidOnly`) |
394
+ | `bing.bid-opportunities` | `campaignId` `adGroupId` `opportunityType`(`FirstPage` / `MainLine` / `MainLine1`) |
395
+ | `bing.estimated-bids-by-ids` | `ids` `targetAdPosition`(`MainLine1` / `MainLine` / `FirstPage`) |
396
+ | `bing.estimated-positions` | `keywords` `maxBid`(>0)`language` `locationIds`。可选 `matchType`(`Exact` / `Phrase` / `Broad`,默认 `Broad`)`campaignId` `adGroupId` |
397
+ | `bing.estimated-positions-by-ids` | `ids` `maxBid` |
398
+ | `bing.keyword-performance` | `keywords` `language` `publisherCountry`(2 位) |
399
+ | `bing.keyword-categories` | `keywords` `language` `publisherCountry`。可选 `maxCategories`(1–5,默认 1) |
400
+ | `bing.keyword-demographics` | `keywords` `language` `publisherCountry` |
401
+ | `bing.keyword-locations` | `keywords` `language` `publisherCountry`。可选 `maxLocations`(1–10,默认 10) |
402
+ | `bing.text-asset-suggestions` | `texts` 为最终网址,1–5 条 |
403
+
404
+ 受众拆分和系列出价景观当前 SDK 没有,不要编。
405
+
303
406
  ## Yandex `--account` 为 Direct 登录名
304
407
 
305
408
  登录名形如 `porg-…`,不是数字广告账户。先读:`siluzan-tso yandex-analysis campaign-entities -a <login> --json-out <目录>`。
@@ -368,7 +471,11 @@ siluzan-tso ad-gap --action yandex.delete-campaign --account porg-example --id 1
368
471
 
369
472
  金额仍是账户币种小数,网关乘 1,000,000。统一效果系列和统一效果广告组走 Direct v501。商品广告和目录页广告也走 v501。新建系列仍可能停在草稿,草稿不能暂停,响应里有 `Id` 就算建成。
370
473
 
371
- 搜索横幅、展示交易、首页横幅、固定 CPM 官方只给统计,`yandex.mc-banner-campaign`、`yandex.cpm-deals-campaign`、`yandex.cpm-frontpage-campaign`、`yandex.cpm-price-campaign` 会拒绝。广告组没有启停,`yandex.ad-group-suspend` 会拒绝。
474
+ 搜索横幅、展示交易、首页横幅、固定 CPM 官方只给统计,`yandex.mc-banner-campaign`、`yandex.cpm-deals-campaign`、`yandex.cpm-frontpage-campaign`、`yandex.cpm-price-campaign` 会拒绝。广告组没有启停,`yandex.ad-group-suspend` 会拒绝。名片 `yandex.read-vcards` 官方已停止,会拒绝。广告组、广告、关键词、附加信息、受众、出价修正、策略和关键词出价读取必须带筛选 id,不带时 Direct 拒绝,不要当成接口故障。
475
+
476
+ 这次补上仍可用、原先没有命令的方法:`yandex.unarchive-strategy`、`yandex.ad-callouts`、智能横幅条件的启停和删除,以及 `yandex.read-keyword-bids`。组合广告就是已有的 `yandex.responsive-ad`。统一效果里的旧文本广告官方只允许修改,新建用组合广告。
477
+
478
+ 不接这些:Clients 和 AgencyClients 的账户、代表设置(开户和充值仍走账户管理;`AgencyClients.add` 官方已停止);Bids 与 KeywordBids 是同一类出价,读取走 KeywordBids.get,不再另接 Bids;Live 4 的共享账户、预算预测和关键词推荐。智能横幅广告的 `SmartAdBuilderAd`,以及 SmartAdTargets 的改价和修改,当前文档没有展开字段,不代造。TurboPages 和 Leads 已经接入,官方标成不再扩展,这里不加新动作。
372
479
 
373
480
  动态文本广告和移动应用广告仍出现在 ads.add 的类型说明里,当前专页没有给出字段,这里不代造。旧动态广告组继续用 `yandex.dynamic-target`。统一效果的商品筛选用 `yandex.shopping-ad` 的 `operand` / `operator` / `arguments`,不要用动态文本条件。
374
481
 
@@ -413,6 +520,10 @@ siluzan-tso ad-gap --action yandex.delete-campaign --account porg-example --id 1
413
520
  | `yandex.read-campaigns` / `yandex.read-ad-groups` / `yandex.read-ads` / `yandex.read-keywords` / `yandex.read-sitelinks` / `yandex.read-creatives` / `yandex.read-extensions` / `yandex.read-feeds` / `yandex.read-retargeting-lists` / `yandex.read-audience-targets` / `yandex.read-bid-modifiers` / `yandex.read-strategies` / `yandex.read-vcards` / `yandex.read-turbo-pages` / `yandex.read-negative-keyword-sets` | `ids`,或 `--id` |
414
521
  | `yandex.read-ad-images` | `imageHash`,或多条哈希放 `keywords` |
415
522
  | `yandex.read-businesses` | 无编号。返回企业资料编号、名称和是否发布 |
523
+ | `yandex.unarchive-strategy` | `--id` |
524
+ | `yandex.ad-callouts` | `--id` 为广告。`ids` 1–50 个澄清扩展编号。`operator` 为 `ADD`、`REMOVE` 或 `SET`,一次只用一种。`type` 省略是文本广告;组合广告写 `responsive` |
525
+ | `yandex.suspend-smart-ad-target` / `yandex.resume-smart-ad-target` / `yandex.delete-smart-ad-target` | `--id` |
526
+ | `yandex.read-keyword-bids` | `campaignId`、`adGroupId`、`ids` 必须且只能填一个。返回搜索 `Bid`、`AuctionBids` 和网络 `Bid`、`Coverage`。搜索或网络关闭时,对应拍卖数据会空着或被官方拒绝 |
416
527
 
417
528
  ```bash
418
529
  siluzan-tso ad-gap --action yandex.unified-campaign --account porg-example --body "{\"name\":\"Unified\",\"startDate\":\"2026-11-16\"}" --commit "新建统一效果系列" --json-out ./snap-yandex
@@ -425,7 +536,7 @@ siluzan-tso ad-gap --action yandex.shopping-ad --account porg-example --body "{\
425
536
 
426
537
  没有商品目录创建 action。复制、Smart+、常规系列、广告组和广告的 `operation_status` 不要写 `ENABLE`,缺省会写成 `DISABLE`。覆盖和频次(`RF_REACH`)官方不允许建成 `DISABLE`,不要用 `tiktok.campaign`。业务码不是 0 就是失败,常见正文是 `TikTok 拒绝该请求: …`。
427
538
 
428
- `tiktok.campaign` 建常规系列。`campaign_name` 按官方计数最长 512(中文、日文计 2,英文计 1),不能带 emoji。`objective_type` 用官方推广目标。`APP_PROMOTION` 必须带 `app_promotion_type`:`APP_INSTALL`、`APP_RETARGETING`、`APP_PREREGISTRATION`。`PRODUCT_SALES` 必须带 `campaign_product_source`:`CATALOG` 或 `STORE`,这里用的是已有商品库,不是创建商品库。`virtual_objective_type` 只接受 `SALES`,这时必须带 `sales_destination`:`TIKTOK_SHOP`、`WEBSITE`、`APP`、`WEB_AND_APP`。`budget_mode` 必填:`BUDGET_MODE_INFINITE`、`BUDGET_MODE_TOTAL`、`BUDGET_MODE_DAY`、`BUDGET_MODE_DYNAMIC_DAILY_BUDGET`。后三种必须带大于 0 的 `budget`。其余官方字段原样放进正文。
539
+ `tiktok.campaign` 建常规系列。`campaign_name` 按官方计数最长 512(中文、日文计 2,英文计 1),不能带 emoji。`objective_type` 用官方推广目标。`APP_PROMOTION` 必须带 `app_promotion_type`:`APP_INSTALL`、`APP_RETARGETING`、`APP_PREREGISTRATION`。`PRODUCT_SALES` 必须带 `campaign_product_source`:`CATALOG` 或 `STORE`,这里用的是已有商品库,不是创建商品库。`virtual_objective_type` 只接受 `SALES`,这时必须带 `sales_destination`:`TIKTOK_SHOP`、`WEBSITE`、`APP`、`WEB_AND_APP`。`budget_mode` 必填:`BUDGET_MODE_INFINITE`、`BUDGET_MODE_TOTAL`、`BUDGET_MODE_DAY`、`BUDGET_MODE_DYNAMIC_DAILY_BUDGET`。后三种必须带大于 0 的 `budget`。官方还会按币种卡最低预算,低于下限会拒绝,不要改成 `ENABLE` 重试。其余官方字段原样放进正文。
429
540
 
430
541
  `tiktok.ad-group` 建常规广告组。必填 `campaign_id`、`adgroup_name`(计数同系列名)、`billing_event`(`CPC` / `CPM` / `CPV` / `OCPM`)、`budget_mode`、大于等于 0 的 `budget`、`optimization_goal`、`pacing`(`PACING_MODE_SMOOTH` / `PACING_MODE_FAST`)、`schedule_type`(`SCHEDULE_FROM_NOW` / `SCHEDULE_START_END`)和 `schedule_start_time`(`yyyy-MM-dd HH:mm:ss`)。`SCHEDULE_START_END` 还要 `schedule_end_time`。`placement_type` 填了 `PLACEMENT_TYPE_NORMAL` 就要 1–20 个 `placements`;`PLACEMENT_TYPE_AUTOMATIC` 不要靠网关代填版位。`creative_material_mode` 只接受 `CUSTOM` 或 `SMART_CREATIVE`。优化目标、推广类型、地域等官方条件字段必须一并放进正文,网关不代填。
431
542
 
@@ -536,10 +647,15 @@ siluzan-tso ad-gap --action meta.read-adset --account act_123 --id 789 --body "{
536
647
  | `meta.ad-rule` / `meta.ad-study` / `meta.ad-label` / `meta.saved-audience` / `meta.block-list` | 创建。修改和删除用同名的 `update-*`、`delete-*` |
537
648
  | `meta.reach-frequency` / `meta.preview` / `meta.insights-export` | 预约购买预测、广告预览、异步报表 |
538
649
  | `meta.video-start` / `meta.video-transfer` / `meta.video-finish` | 分片上传 |
539
- | `meta.read-*` | 同名对象的读取。账户级列表不需要 `--id`。单条要 `--id`。`meta.read-form`、`meta.read-canvas`、`meta.read-form-leads` 还要 `--parent` 主页。`meta.read-product-sets`、`meta.read-products`、`meta.read-product-feeds` 的 `--parent` 是目录。查询字段放正文,例如 `fields` |
650
+ | `meta.read-*` | 同名对象的读取。账户级列表不需要 `--id`。单条要 `--id`,而且必须是这个账户里的真实对象。`meta.read-form`、`meta.read-canvas`、`meta.read-form-leads` 还要 `--parent` 主页。`meta.read-product-sets`、`meta.read-products`、`meta.read-product-feeds` 的 `--parent` 是目录。`meta.read-assigned-users` 要 `business`。`meta.read-reach-estimate` 要 `targeting_spec`。`meta.read-targeting-search` 要 `q`。`meta.read-offline-datasets` 对应的 Graph 字段已经不存在,调用会被拒绝,不要改成别的边。查询字段放正文,例如 `fields` |
651
+
652
+
653
+ 上表通配行展开后的全名:`meta.delete-ad` `meta.delete-ad-rule` `meta.delete-ad-study` `meta.delete-adset` `meta.delete-audience` `meta.delete-block-list` `meta.delete-campaign` `meta.delete-catalog` `meta.delete-creative` `meta.delete-custom-conversion` `meta.delete-label` `meta.delete-product` `meta.delete-product-feed` `meta.delete-product-set` `meta.delete-saved-audience` `meta.delete-video` `meta.read-activities` `meta.read-ad` `meta.read-ad-labels` `meta.read-ad-leads` `meta.read-ad-rule` `meta.read-ad-rule-history` `meta.read-ad-rules` `meta.read-ad-studies` `meta.read-ad-study` `meta.read-ads` `meta.read-ads-volume` `meta.read-adset` `meta.read-adsets` `meta.read-agencies` `meta.read-applications` `meta.read-assigned-users` `meta.read-async-job` `meta.read-audience` `meta.read-audiences` `meta.read-block-lists` `meta.read-broad-targeting` `meta.read-campaign` `meta.read-campaigns` `meta.read-catalog` `meta.read-client-catalogs` `meta.read-connected-instagram-accounts` `meta.read-creative` `meta.read-creatives` `meta.read-custom-conversion` `meta.read-custom-conversions` `meta.read-delivery-estimate` `meta.read-images` `meta.read-insights` `meta.read-instagram-accounts` `meta.read-label` `meta.read-minimum-budgets` `meta.read-object-insights` `meta.read-offline-datasets` `meta.read-pixel` `meta.read-pixel-shared-accounts` `meta.read-pixel-stats` `meta.read-pixels` `meta.read-previews` `meta.read-promote-pages` `meta.read-reach-estimate` `meta.read-reach-frequency` `meta.read-saved-audience` `meta.read-saved-audiences` `meta.read-targeting-browse` `meta.read-targeting-search` `meta.read-targeting-validation` `meta.read-users` `meta.read-video` `meta.read-video-thumbnails` `meta.read-videos` `meta.update-ad` `meta.update-ad-rule` `meta.update-ad-study` `meta.update-adset` `meta.update-audience` `meta.update-block-list` `meta.update-campaign` `meta.update-catalog` `meta.update-creative` `meta.update-custom-conversion` `meta.update-label` `meta.update-pixel` `meta.update-product` `meta.update-product-feed` `meta.update-product-set` `meta.update-reach-frequency` `meta.update-saved-audience`。字段仍按上表,不另造枚举。
540
654
 
541
655
  ## Google `--account` 为 customer id
542
656
 
657
+ CPA 算错转化用 `google.customer-conversion-goal`、`google.campaign-conversion-goal`、`google.conversion-goal-campaign-config`、`google.custom-conversion-goal`。设备或地区更值钱先 `google.value-rule` 再 `google.value-rule-set`。广告插入项用系列、广告组、关键词自定义器;属性名不要带连字符,动态搜索组不能挂关键词。网站代码再营销用 `google.remarketing-action` 再 `google.basic-user-list`。按搜索词找新客用 `google.custom-audience`,不要当成 Customer Match。系列归组用 `google.campaign-group`,组里还有系列时不能删。电话上传要真实来电。没有现成建议订阅就停。自动素材移除要带 `assetId`。`containsEuPoliticalAdvertising` 不传就是不含。关键词计划、可分享预览、生成文案、通用受众、素材集、产品关联、其余仍可用的广告版式、账单和字段查询也在下面这张表。官方拒绝时原样停,不要改口说已经做成。类似受众、系列草稿、仅电话、Smart、旧广告和经理授权这次没有 action。
658
+
543
659
  正文是 camelCase。先读系列:`siluzan-tso ad campaigns -a <account> --json-out <目录>`。购物、动态搜索、应用、展示要用的预算先读:`siluzan-tso ad shared-budget list -a <account> --json-out <目录>`。`budget` 填这份列表里的数字 ID,或 `customers/{id}/campaignBudgets/{id}`。不要填 `1`。
544
660
 
545
661
  这四类系列都建成暂停,而且没有删除 action。没有真实预算 ID、商家 ID 或图片素材 ID 时不要创建。视频、酒店、旅游、本地走 `ad coverage`。Call-only 和 Smart 没有 action。
@@ -600,3 +716,72 @@ siluzan-tso ad-gap --action google.end-experiment --account 123 --id 100 --commi
600
716
  | `google.app-campaign` | `name` `budget` `appId` `appStore`(`GoogleAppStore` 或 `AppleAppStore`)`headlines` 1–5 条、每条 ≤30 `descriptions` 1–5 条、每条 ≤90 |
601
717
  | `google.display-campaign` | `name` `budget` `finalUrl` `businessName`(≤25)`longHeadline`(≤90)。`headlines` 和 `descriptions` 各 1–5 条,标题 ≤30、描述 ≤90。`marketingImageAssetIds` 和 `squareMarketingImageAssetIds` 必须是这个客户已有的图片素材,本 action 不上传。不要用 `ad campaign-create` 伪装 |
602
718
  | `google.apply-recommendation` / `google.dismiss-recommendation` | `resourceName` 必须是 `customers/{当前客户}/recommendations/…`。编一个资源名会被拒绝 |
719
+ | `google.value-rule-set` | `ruleIds` `dimensions`(`GEO_LOCATION` `DEVICE` `AUDIENCE` `NO_CONDITION` `ITINERARY`)。`attachmentType` 默认 `CUSTOMER`;`CAMPAIGN` 时必填 `campaignId`,账户级不要传 `campaignId` |
720
+ | `google.remove-value-rule-set` | `--id`,无正文 |
721
+ | `google.custom-conversion-goal` | `name` `conversionActionIds`。至少一个转化操作 |
722
+ | `google.remove-custom-conversion-goal` | `--id`,无正文 |
723
+ | `google.campaign-conversion-goal` | `campaignId` `category` `origin` `biddable`。`category` 和 `origin` 用官方枚举名,例如 `PURCHASE` 和 `WEBSITE` |
724
+ | `google.customer-conversion-goal` | `category` `origin` `biddable`。不要传 `campaignId` |
725
+ | `google.conversion-goal-campaign-config` | `campaignId` `goalConfigLevel`(`CUSTOMER` 或 `CAMPAIGN`)。用自定义目标时再加 `customConversionGoalId` |
726
+ | `google.conversion-custom-variable` | `name` `tag` |
727
+ | `google.pause-conversion-custom-variable` | `--id`,无正文。官方没有删除,这条把状态写成暂停 |
728
+ | `google.upload-calls` | `conversions` 不能为空。每条要有 `callerId` `callStartDateTime` `conversionAction` `conversionDateTime`。可选 `conversionValue` `currencyCode` `validateOnly` |
729
+ | `google.campaign-customizer` | `--parent` 为系列。`attributeId` `value`。`type` 空着按 `Text` |
730
+ | `google.ad-group-customizer` | `--parent` 为广告组。字段同系列自定义器 |
731
+ | `google.criterion-customizer` | `--parent` 广告组,`--id` 准则。字段同系列自定义器 |
732
+ | `google.campaign-group` | `name` |
733
+ | `google.rename-campaign-group` | `--id`,正文 `name` |
734
+ | `google.remove-campaign-group` | `--id`,无正文 |
735
+ | `google.attach-campaign-group` | `--id` 为系列组,`--parent` 为系列,无正文。一个系列同时只属于一个组;共享预算的系列会被官方拒绝 |
736
+ | `google.remarketing-action` | `name` |
737
+ | `google.recommendation-subscription` | `type` 用 RecommendationType 枚举名,`status` 为 `ENABLED` 或 `PAUSED` |
738
+ | `google.remove-auto-assets` | `campaignId` `assetId`。两个都要有,官方要求素材字段 |
739
+ | `google.goal` | `goalType`(`CustomerRetention` `NewCustomerAcquisition` `LoyaltyRetention`)。`additionalValue` 和 `valueMultiplier` 只能填一个,金额用账户币种 |
740
+ | `google.campaign-goal-config` | `campaignId` `goalId` `goalType`。这是新目标模型,和 `google.conversion-goal-campaign-config` 不是同一个服务 |
741
+ | `google.remove-campaign-goal-config` | `--id` 为系列,无正文 |
742
+ | `google.keyword-plan` | `name`。可选 `forecastInterval`,空着按 `NextMonth`。这是保存计划,不是关键词想法 |
743
+ | `google.remove-keyword-plan` | `--id`,无正文 |
744
+ | `google.keyword-plan-campaign` | `planId` `name` `cpcBid` `languageIds` `geoTargetIds`。可选 `network`,空着按 `GoogleSearch`。金额用元 |
745
+ | `google.keyword-plan-ad-group` | `planCampaignId` `name` `cpcBid` |
746
+ | `google.keyword-plan-keywords` | `planAdGroupId` `keywords`。每条要 `text` `cpcBid`,可选 `matchType` `negative`。一次最多 10000 条 |
747
+ | `google.keyword-plan-campaign-keywords` | `planCampaignId` `keywords`。字段同广告组关键词,否定词可以不填出价 |
748
+ | `google.generate-text` | `finalUrl`。可选 `fieldType`(空着按 `Headline`)`prompt` `channelType`。可能只对白名单客户开放,官方拒绝就停 |
749
+ | `google.shareable-preview` | 只填 `assetGroupId`,或同时填 `adGroupId` 和 `adId`。搜索自适应和自适应展示会被官方拒绝,不要改走别的预览 |
750
+ | `google.audience` | `name` `ageRange`(例如 `AgeRange1824`)。官方这个资源没有删除 |
751
+ | `google.rename-audience` | `--id`,正文 `name` |
752
+ | `google.remove-custom-audience` | `--id`,无正文 |
753
+ | `google.custom-interest` | `name` `keywords`。可选 `type`,空着按 `CustomIntent` |
754
+ | `google.logical-user-list` | `name` `userListIds`。可选 `operator`,空着按 `Any` |
755
+ | `google.rule-user-list` | `name` `ruleName` `ruleValue`。`ruleName` 用官方规则项名。可选 `ruleOperator`,空着按 `Contains` |
756
+ | `google.user-list-customer-type` | `userListId` `category`。名单本身仍走 Customer Match |
757
+ | `google.upload-user-data` | `userListId` `hashedEmails`。只接受 64 位 SHA-256,不收明文。这条不是 `google.customer-match-job`,也不会出现在名单成员界面 |
758
+ | `google.asset-set` | `name` `type`(例如 `PageFeed` `DynamicCustom`) |
759
+ | `google.remove-asset-set` | `--id`,无正文 |
760
+ | `google.asset-set-asset` | `assetSetId` `assetId` |
761
+ | `google.customer-asset-set` | `assetSetId` |
762
+ | `google.campaign-asset-set` | `assetSetId` `campaignId` |
763
+ | `google.ad-group-asset-set` | `assetSetId` `adGroupId` |
764
+ | `google.product-link-invitation` | `merchantCenterId`。这是邀请,不是直接关联 |
765
+ | `google.product-link` | `type` 为 `MerchantCenter` 或 `DataPartner`,再填对应 id。经理关联不走这里 |
766
+ | `google.remove-product-link` | `--id`,无正文 |
767
+ | `google.data-link` | `videoId` 和 `channelId` 只能填一个 |
768
+ | `google.remove-data-link` | `--id`,无正文 |
769
+ | `google.regenerate-app-analytics-link` | `resourceName` 必须属于当前客户。当前 SDK 的账户关联操作没有创建 |
770
+ | `google.call-bid-modifier` | `campaignId` `bidModifier`。只做通话,设备和地域仍走准则 |
771
+ | `google.customer-settings` | `autoTaggingEnabled` `trackingUrlTemplate` `finalUrlSuffix` 至少填一个 |
772
+ | `google.format-ad` | `--parent` 为广告组。`type` 用 `APP_ENGAGEMENT` `APP_PRE_REGISTRATION` `IMAGE` `HTML5_UPLOAD` `DYNAMIC_HTML5` `HOTEL` `TRAVEL` `LOCAL` `SHOPPING_COMPARISON_LISTING` `VIDEO_BUMPER` `VIDEO_NON_SKIPPABLE` `VIDEO_IN_STREAM` `VIDEO_IN_FEED` `VIDEO_AUDIO`。新建广告是暂停。仅电话、Smart 和旧广告类型会在本地拒绝 |
773
+ | `google.format-asset` | `type` 用 `DYNAMIC_CUSTOM` `DYNAMIC_EDUCATION` `DYNAMIC_FLIGHTS` `DYNAMIC_HOTELS_AND_RENTALS` `DYNAMIC_JOBS` `DYNAMIC_LOCAL` `DYNAMIC_REAL_ESTATE` `DYNAMIC_TRAVEL` `PAGE_FEED` `HOTEL_CALLOUT` `HOTEL_PROPERTY` `APP_DEEP_LINK` `YOUTUBE_VIDEO_LIST` `BOOK_ON_GOOGLE` `MEDIA_BUNDLE`。自定义要 `id` `title`,页面 Feed 要 `pageUrl`,媒体包要 `dataBase64` |
774
+ | `google.billing-setup` | `paymentsAccount` 必须属于当前客户。这会改付款账户,先向用户确认再 `--commit` |
775
+ | `google.account-budget-proposal` | `proposalType` 为 `Create` 或 `Update`。`proposedSpendingLimit` 用元。创建还要 `billingSetup` `proposedName`,修改还要 `accountBudget` |
776
+ | `google.invoices` | `billingSetup` `issueYear` `issueMonth`。金额按账户币种主单位返回。这是 Google Ads 发票,不是丝路赞开票 |
777
+ | `google.payments-accounts` | 无正文 |
778
+ | `google.ads-fields` | `query`。最多返回 20 个字段名 |
779
+ | `google.travel-asset-suggestions` | `placeIds`。可选 `language`,空着按 `zh`。官方拒绝就停 |
780
+ | `google.insight-dates` | 无正文。只列出受众洞察可用日期。要主题或频道的创作者洞察这次不编空请求 |
781
+ | `google.benchmark-dates` | 无正文。只列出基准可用日期。官方拒绝就停 |
782
+ | `google.reach-locations` | 无正文。白名单接口,官方拒绝就停 |
783
+ | `google.incentives` | 无正文。只查询,不代替已兑换券列表 |
784
+ | `google.apply-incentive` | `incentiveId` `countryCode`。先向用户确认再 `--commit` |
785
+ | `google.skadnetwork` | `appId` `measurementWindowHours`。没带细粒度映射时官方会拒绝,原样停 |
786
+ | `google.basic-user-list` | `name` `remarketingActionIds`。可选 `description` `membershipLifeSpan`(0–540,或 `10000`) |
787
+ | `google.custom-audience` | `name`。`keywords` 或 `urls` 至少一个。`type` 空着按 `AUTO` |
@@ -17,7 +17,7 @@ siluzan-tso google-ads-diagnosis render \
17
17
 
18
18
  ### 撰写要点(摘要)
19
19
 
20
- 1. **每日趋势**(§7 / `daily-metrics`):金额、CPA、转化价值 **保留 2 位小数**;展示/点击/转化用整数;图表 tooltip 同规则。转化价值读 `conversionsValue`。
20
+ 1. **每日趋势**(§7 / `daily-metrics`):金额、CPA **保留 2 位小数**;展示/点击/转化用整数;图表 tooltip 同规则。
21
21
  2. **每一章**除表格外须有 **分析**(≥2 条)+ **建议**(≥1 条);禁止只罗列数据。
22
22
 
23
23
  ---
@@ -104,7 +104,7 @@ siluzan-tso google-ads-diagnosis render \
104
104
  | 金额类(消耗、CPA、CPC、预算等) | **保留 2 位小数**,带货币 | `¥1,234.56 CNY` |
105
105
  | 展示、点击、转化次数 | **整数**,不写长小数 | `1,280` 而非 `1280.000000` |
106
106
  | 比率(CTR、CVR、环比%) | JSON 为 0~1 小数时,展示 `(v×100).toFixed(2)+'%'` | `0.0523` → `5.23%` |
107
- | **每日趋势 / 转化成本曲线** | 数据源:`daily-metrics` 或 `conversionCost.items`(`date`、`cost`、`cpa`、`conversions`、`conversionsValue`) | 见下 |
107
+ | **每日趋势 / 转化成本曲线** | 数据源:`daily-metrics` 或 `conversionCost.items`(`date`、`cost`、`cpa`、`conversions` 等) | 见下 |
108
108
 
109
109
  **每日趋势表与图(§3.5 转化成本 / 按日趋势)**:
110
110
 
@@ -314,7 +314,7 @@ siluzan-tso google-ads-diagnosis render \
314
314
 
315
315
  #### 转化成本 / 按日趋势(若页面已渲染)
316
316
 
317
- - **数据**:`conversionCost.items` 或 `daily-metrics` 落盘数组(含 `date`、`cost`、`cpa`、`conversions`、`conversionsValue`、`clicks`)。`conversionsValue` 是账户币种转化价值,单独一列,不要用转化次数代替。
317
+ - **数据**:`conversionCost.items` 或 `daily-metrics` 落盘数组(含 `date`、`cost`、`cpa`、`conversions`、`clicks` 等)。
318
318
  - **表格**:日期 | 消耗(2 位小数)| 转化(整数)| CPA(2 位小数)— 见上文「每日趋势」格式。
319
319
  - **图表**:折线/双轴图;tooltip 金额 **2 位小数**。
320
320
  - **分析(必填)**:至少 2 条,例如「周内 CPA 波动区间」「转化高峰日 vs 消耗高峰日是否一致」。
@@ -436,6 +436,10 @@ siluzan-tso google-ads-diagnosis render \
436
436
  **区块 ID**:`section-keyword-insights`
437
437
  **数据**:`fullKeywords`、`fullSearchTerms`、`broadKeywordsCount`、`metrics`(用于占比等)
438
438
 
439
+ `fullKeywords`、`fullSearchTerms`、设备、地域、按日行上的 `conversionsValue` 有数字就原样写进表,0 写 0。只有该字段不在行上或值为 `null` 时才写「未返回」。
440
+
441
+ `fullKeywords` / `fullSearchTerms` 只有搜索广告。collect 拉全量 `google-analysis` 时,同目录还会有 `pmax-search-terms-*.json`(有消耗或展示的效果最大化系列,`reports/search`,行上有 `spend`)。§08 的搜索词表必须并进这份 `items[]`,匹配类型写「效果最大化」,按消耗从高到低。不要因为诊断 JSON 里没有这些行就省略,也不要改调 `ad pmax-search-terms`(没有花费)。文件为空就写「本期效果最大化搜索词未到展示阈值」。
442
+
439
443
  ### 8.1 关键词洞察
440
444
 
441
445
  **表 1(综合)** 列:关键词、点击成本、匹配类型、展示、点击、点击率、转化、转化率、每次转化费用、**花费占比**、**转化占比**