siluzan-tso-cli 1.1.74 → 1.1.75-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.
- package/README.md +2 -1
- package/dist/index.js +1287 -124
- package/dist/skill/SKILL.md +8 -6
- package/dist/skill/_meta.json +2 -2
- package/dist/skill/assets/pmax-create-template.md +16 -2
- package/dist/skill/references/README.md +1 -0
- package/dist/skill/references/accounts/accounts-list.md +1 -1
- package/dist/skill/references/accounts/accounts-permissions.md +2 -2
- package/dist/skill/references/accounts/finance.md +1 -1
- package/dist/skill/references/accounts/open-account-by-media.md +1 -1
- package/dist/skill/references/accounts/open-account-google-ui.md +1 -1
- package/dist/skill/references/analytics/account-analytics.md +33 -0
- package/dist/skill/references/analytics/ga4-report.md +41 -0
- package/dist/skill/references/analytics/rag.md +1 -1
- package/dist/skill/references/analytics/reporting.md +5 -5
- package/dist/skill/references/core/agent-conventions.md +2 -0
- package/dist/skill/references/core/setup.md +5 -5
- package/dist/skill/references/core/workflows.md +3 -3
- package/dist/skill/references/google-ads/demand-gen-api.md +7 -6
- package/dist/skill/references/google-ads/google-ads-campaign-plan.md +1 -1
- package/dist/skill/references/google-ads/google-ads-write.md +18 -10
- package/dist/skill/references/google-ads/pmax-api.md +3 -1
- package/dist/skill/references/google-ads/rules/README.md +1 -1
- package/dist/skill/references/google-ads/rules/google-ads-audience-strategy.md +33 -33
- package/dist/skill/references/google-ads/rules/google-ads-launch-plan-template.md +1 -1
- package/dist/skill/references/google-ads/rules/google-ads-pmax-guide.md +24 -22
- package/dist/skill/references/google-ads/rules/google-ads-pmax-launch-plan-template.md +13 -2
- package/dist/skill/references/misc/tso-home.md +2 -2
- package/dist/skill/references/operations/ad-gap.md +120 -14
- package/dist/skill/scripts/install.ps1 +3 -3
- package/dist/skill/scripts/install.sh +3 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Google 广告受众策略与分析指南
|
|
2
2
|
|
|
3
3
|
> **适用场景:** 受众数据分析(`google-analysis --sections audience`)、受众策略建议、再营销策略规划、RLSA 策略
|
|
4
|
-
> **更新日期:** 2026-
|
|
4
|
+
> **更新日期:** 2026-11-20
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
|
|
23
23
|
通过 `siluzan-tso google-analysis -a <id> --sections audience --type UserDefined` 查看表现。
|
|
24
24
|
|
|
25
|
-
| 类型 | 说明 | 创建方式
|
|
26
|
-
| -------------------------------------- | ----------------------------------------------- |
|
|
27
|
-
| **Custom Segments(自定义细分)** | 按关键词、URL
|
|
28
|
-
| **Customer Match(客户匹配)** | 上传 CRM
|
|
29
|
-
| **Website Visitors(网站访客再营销)** | 通过 Google Tag 追踪的网站访问者 |
|
|
30
|
-
| **App Users(应用用户)** | 应用安装者、活跃用户、应用内事件用户 | Firebase/Google Analytics 连接
|
|
25
|
+
| 类型 | 说明 | 创建方式 |
|
|
26
|
+
| -------------------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
|
27
|
+
| **Custom Segments(自定义细分)** | 按关键词、URL 定义的用户群 | `ad-gap --action google.custom-audience`(`keywords` 或 `urls`)。挂到系列用 `ad coverage apply --kind custom-audience` |
|
|
28
|
+
| **Customer Match(客户匹配)** | 上传 CRM 数据(邮箱/电话)匹配 Google 用户 | `google.customer-match-list` → `customer-match-job` → `customer-match-operations` → `customer-match-run` |
|
|
29
|
+
| **Website Visitors(网站访客再营销)** | 通过 Google Tag 追踪的网站访问者 | `google.remarketing-action` 再 `google.basic-user-list`;按规则用 `google.rule-user-list` |
|
|
30
|
+
| **App Users(应用用户)** | 应用安装者、活跃用户、应用内事件用户 | Firebase/Google Analytics 连接 |
|
|
31
31
|
|
|
32
32
|
### 1.3 相似受众与组合细分
|
|
33
33
|
|
|
34
34
|
- **Similar/Lookalike 受众:** 已于 2023 年弃用,被**优化定位(Optimized Targeting)**和**受众扩展(Audience Expansion)**替代。不再需要手动创建。
|
|
35
|
-
-
|
|
35
|
+
- **组合用户列表:** `ad-gap --action google.logical-user-list`(`userListIds`,`operator` 空着按 `Any`)。把已有组合受众挂到系列用 `ad coverage apply --kind combined-audience`,这条命令不新建受众。
|
|
36
36
|
|
|
37
|
-
>
|
|
37
|
+
> 名单和自定义细分用上面的 `ad-gap` action 创建。搜索广告组的定向、出价和排除用 `ad audience add`。PMax 信号用 `ad pmax-signals-set`。Demand Gen 换受众用 `ad demand-gen audience` / `audience-keywords`。类似受众没有 action。
|
|
38
38
|
|
|
39
39
|
## 2. 受众策略矩阵
|
|
40
40
|
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
|
|
135
135
|
已购买产品 A 的用户 → 向其展示产品 B/C 广告:
|
|
136
136
|
|
|
137
|
-
-
|
|
137
|
+
- 产品页访客用 `ad-gap --action google.rule-user-list`。转化用户用 `google.remarketing-action` 再 `google.basic-user-list`
|
|
138
138
|
- 使用定向模式,独立广告系列
|
|
139
139
|
- 素材中可引用"感谢购买 A,您可能也需要 B"等信息
|
|
140
140
|
|
|
@@ -175,12 +175,12 @@ RLSA 将再营销受众叠加到搜索广告系列上,实现"搜索意图 +
|
|
|
175
175
|
|
|
176
176
|
### 6.1 核心用途
|
|
177
177
|
|
|
178
|
-
| 用途 | 说明 |
|
|
179
|
-
| --------------- | ------------------------------------------- |
|
|
180
|
-
| 排除现有客户 | 在拉新广告系列中排除已签约/已购买客户 |
|
|
181
|
-
| 追加销售 | 向现有低层级客户推广升级方案 |
|
|
182
|
-
| 高 LTV 客户扩展 |
|
|
183
|
-
| 流失召回 | 上传流失客户列表,投放 Win-back 广告 |
|
|
178
|
+
| 用途 | 说明 | 命令 |
|
|
179
|
+
| --------------- | ------------------------------------------- | -------------------------------------------------------------------- |
|
|
180
|
+
| 排除现有客户 | 在拉新广告系列中排除已签约/已购买客户 | 上传名单后,搜索广告组 `ad audience add --kind user-list --negative` |
|
|
181
|
+
| 追加销售 | 向现有低层级客户推广升级方案 | 上传名单后,`ad audience add --kind user-list`,不加 `--negative` |
|
|
182
|
+
| 高 LTV 客户扩展 | 上传高价值客户列表,供 PMax 当信号 | Customer Match 上传后,`ad pmax-signals-set`。没有单独的相似受众命令 |
|
|
183
|
+
| 流失召回 | 上传流失客户列表,投放 Win-back 广告 | 上传名单后定向到搜索广告组 |
|
|
184
184
|
|
|
185
185
|
### 6.2 匹配率预期
|
|
186
186
|
|
|
@@ -196,7 +196,7 @@ RLSA 将再营销受众叠加到搜索广告系列上,实现"搜索意图 +
|
|
|
196
196
|
- **数据更新频率:** 每月至少更新一次列表,保持数据新鲜度
|
|
197
197
|
- **隐私合规:** 数据上传前自动哈希处理(SHA-256),必须获得用户同意
|
|
198
198
|
- **最低列表规模:** 建议 1,000+ 条记录以确保有效匹配
|
|
199
|
-
-
|
|
199
|
+
- **名单命令:** `ad-gap` 的 `google.customer-match-list` → `google.customer-match-job` → `google.customer-match-operations` → `google.customer-match-run`。开发者令牌被拒时停,见 `ad-gap.md`。表现仍用 `google-analysis --sections audience`
|
|
200
200
|
|
|
201
201
|
## 7. 受众数据分析框架
|
|
202
202
|
|
|
@@ -246,12 +246,12 @@ siluzan-tso google-analysis -a <id> --sections keywords
|
|
|
246
246
|
|
|
247
247
|
### 8.1 必须排除的受众
|
|
248
248
|
|
|
249
|
-
| 排除对象 | 适用广告系列 |
|
|
250
|
-
| -------------- | ----------------- |
|
|
251
|
-
| 已转化用户 | 拉新/获客广告系列 |
|
|
252
|
-
| 现有客户 | 拉新广告系列 |
|
|
253
|
-
| 内部员工 | 所有广告系列 |
|
|
254
|
-
| 已知低质量流量 |
|
|
249
|
+
| 排除对象 | 适用广告系列 | 命令 |
|
|
250
|
+
| -------------- | ----------------- | ----------------------------------------------------------------------------- |
|
|
251
|
+
| 已转化用户 | 拉新/获客广告系列 | `google.remarketing-action` + `google.basic-user-list`,再 `ad audience add --kind user-list --negative` |
|
|
252
|
+
| 现有客户 | 拉新广告系列 | Customer Match 上传后,`ad audience add --kind user-list --negative` |
|
|
253
|
+
| 内部员工 | 所有广告系列 | 系列级 IP 用 `ad coverage apply --kind campaign-ip`。邮箱名单再按用户列表否定 |
|
|
254
|
+
| 已知低质量流量 | 搜索广告组 | `ad audience add --negative`,或 `--bid-modifier 0` |
|
|
255
255
|
|
|
256
256
|
### 8.2 条件性排除
|
|
257
257
|
|
|
@@ -295,7 +295,7 @@ Performance Max 广告系列中的受众信号使用方式:
|
|
|
295
295
|
- 受众信号是**引导**而非**限制** — Google AI 可能会超出信号范围投放
|
|
296
296
|
- 建议添加的信号:Customer Match 列表、网站访客列表、In-market 细分、Custom Segments
|
|
297
297
|
- 受众信号的质量直接影响 PMax 的冷启动速度和初期表现
|
|
298
|
-
-
|
|
298
|
+
- 信号效果用 `google-analysis --sections audience`。改信号用 `ad pmax-signals-set`(全量 PUT)
|
|
299
299
|
|
|
300
300
|
## 10. CLI 操作流程
|
|
301
301
|
|
|
@@ -336,13 +336,13 @@ siluzan-tso google-analysis -a <id> --sections keywords
|
|
|
336
336
|
|
|
337
337
|
**阈值决策规则:**
|
|
338
338
|
|
|
339
|
-
| 条件 | 行动 |
|
|
340
|
-
| ----------------------------------- | ------------------------------ |
|
|
341
|
-
| CPA < 账户均值 × 0.7 且转化 ≥ 10 | 建议提高出价或创建独立广告系列 |
|
|
342
|
-
| CPA 介于均值 × 0.7 ~ 0.9 且转化 ≥ 5 | 建议小幅提高出价 +10-20% |
|
|
343
|
-
| CPA 介于均值 × 0.9 ~ 1.2 | 保持观察,下周期再评估 | 无需操作
|
|
344
|
-
| CPA > 均值 × 1.3 且转化 < 3 | 建议降低出价或考虑排除 |
|
|
345
|
-
| 展示 > 2,000 且转化 = 0 | 建议立即排除该受众 |
|
|
339
|
+
| 条件 | 行动 | 命令 |
|
|
340
|
+
| ----------------------------------- | ------------------------------ | ------------------------------------------------------------ |
|
|
341
|
+
| CPA < 账户均值 × 0.7 且转化 ≥ 10 | 建议提高出价或创建独立广告系列 | 搜索广告组 `ad audience add --bid-modifier`;新系列走对应创建命令 |
|
|
342
|
+
| CPA 介于均值 × 0.7 ~ 0.9 且转化 ≥ 5 | 建议小幅提高出价 +10-20% | `--bid-modifier` 用 `1.1` 到 `1.2` |
|
|
343
|
+
| CPA 介于均值 × 0.9 ~ 1.2 | 保持观察,下周期再评估 | 无需操作 |
|
|
344
|
+
| CPA > 均值 × 1.3 且转化 < 3 | 建议降低出价或考虑排除 | `--bid-modifier` 小于 1,或 `--negative` / `--bid-modifier 0` |
|
|
345
|
+
| 展示 > 2,000 且转化 = 0 | 建议立即排除该受众 | `ad audience add --kind <kind> --negative` |
|
|
346
346
|
|
|
347
347
|
### 10.3 受众分析报告模板
|
|
348
348
|
|
|
@@ -363,10 +363,10 @@ siluzan-tso google-analysis -a <id> --sections keywords
|
|
|
363
363
|
| 受众名称 | 类型 | 展示 | 点击 | 转化 | CPA | 建议行动 |
|
|
364
364
|
|
|
365
365
|
### 建议操作
|
|
366
|
-
1. [
|
|
366
|
+
1. [具体建议,写明命令]
|
|
367
367
|
2. ...
|
|
368
368
|
```
|
|
369
369
|
|
|
370
370
|
---
|
|
371
371
|
|
|
372
|
-
>
|
|
372
|
+
> 分析用 `google-analysis --sections audience`。创建名单和自定义细分用 `ad-gap`,搜索广告组的定向和排除用 `ad audience add`。字段见 `ad-gap.md` 与 `google-ads-write.md`。
|
|
@@ -282,7 +282,7 @@ Display URL:`{{domain}}/{{path1}}/{{path2}}`(Path1/Path2 各 ≤ 15 字符
|
|
|
282
282
|
| 离线转化导入 | {{是否需要,频率建议}} |
|
|
283
283
|
| 归因模型 | {{DDA(推荐)/ Last-click}} |
|
|
284
284
|
|
|
285
|
-
>
|
|
285
|
+
> 转化操作可用 `ad-gap --action google.create-conversion-action`。网站代码的安装和调试仍在 Google Ads 或 GTM 完成。
|
|
286
286
|
|
|
287
287
|
---
|
|
288
288
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Performance Max 与 Demand Gen 运营深度指南
|
|
2
2
|
|
|
3
3
|
> **适用场景:** PMax 效果诊断、asset group 优化建议、PMax 与 Search 蚕食分析、Demand Gen 策略
|
|
4
|
-
> **最后更新:** 2026-
|
|
4
|
+
> **最后更新:** 2026-11-20
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
**命令以接口文档为准。** PMax 新建见 `assets/pmax-create-template.md`,上线后的读取、修改、素材、信号和报表见 `references/google-ads/pmax-api.md`。Demand Gen 的创建、修改和版位报表见 `references/google-ads/demand-gen-api.md`(只用 `ad demand-gen`)。本指南只写运营判断。这里没写出命令时,先查这两份文档,查不到再说明当前没有这条命令。
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -81,9 +81,9 @@ siluzan-tso google-analysis -a <CID> --start YYYY-MM-DD --end YYYY-MM-DD \
|
|
|
81
81
|
|
|
82
82
|
| 场景 | 操作 |
|
|
83
83
|
| --------------------------- | ----------------------------------------------------------------------------- |
|
|
84
|
-
| PMax 品牌花费 > 20% | `
|
|
85
|
-
| 高价值非品牌词被 PMax 抢占 | `
|
|
86
|
-
| Search 广泛匹配与 PMax 竞争 |
|
|
84
|
+
| PMax 品牌花费 > 20% | `ad pmax-brands` 设品牌排除。Search 品牌词用 `ad keyword-create`,匹配类型 Exact |
|
|
85
|
+
| 高价值非品牌词被 PMax 抢占 | `ad keyword-create` 把这些词加进 Search,匹配类型 Exact(Exact 优先于 PMax) |
|
|
86
|
+
| Search 广泛匹配与 PMax 竞争 | `ad keyword-edit` 把 Search 关键词收成 Exact 或 Phrase |
|
|
87
87
|
| 整体蚕食严重 | `[CLI]` `ad pmax-negatives` 排除已在 Search 中覆盖的高价值词 |
|
|
88
88
|
|
|
89
89
|
### 2.4 决策阈值
|
|
@@ -111,7 +111,7 @@ Asset Group 是 PMax 中素材与受众信号的组合单元。**推荐分组维
|
|
|
111
111
|
素材组 C: 清仓/低毛利(Custom Label = "clearance")→ tROAS 保守或暂停
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
商品过滤用 `ad coverage apply --kind listing-group`,只给素材组挂上「全部商品」。按 custom label 拆组没有对应字段;Feed 上的 custom label 在 Merchant Center 维护。
|
|
115
115
|
|
|
116
116
|
### 3.4 Lead Gen 场景
|
|
117
117
|
|
|
@@ -172,7 +172,7 @@ Google 为每个素材分配以下标签:
|
|
|
172
172
|
|
|
173
173
|
- **新账户 / 新系列:** 建议关闭。先用人工素材建立表现基线
|
|
174
174
|
- **成熟账户:** 可开启测试,但需监控自动生成的素材质量
|
|
175
|
-
-
|
|
175
|
+
- 开关:`ad pmax-edit` 的 `assetAutomationSettings`,只改本次提交的类型。见 `pmax-api.md`。
|
|
176
176
|
|
|
177
177
|
## 5. 渠道级分析(2025 新功能)
|
|
178
178
|
|
|
@@ -184,10 +184,10 @@ Google 为每个素材分配以下标签:
|
|
|
184
184
|
|
|
185
185
|
| 渠道分布 | 信号 | 建议操作 |
|
|
186
186
|
| -------------------------------------------- | -------------------------------- | ------------------------------------------------------------------- |
|
|
187
|
-
| Display + YouTube 占预算 > 40%,转化率低 | PMax 在低漏斗效率渠道上花费过多 | `
|
|
188
|
-
| Search + Shopping 占预算 > 80% | PMax 几乎只跑搜索/购物 | 评估是否需要 PMax——标准 Search + Shopping 可能更可控
|
|
189
|
-
| 各渠道均衡且 ROAS 达标 | 健康的 PMax 表现 | 维持现状,逐步测试预算增加
|
|
190
|
-
| Discover 花费高但转化为 0 | 信息流素材或着陆页不适配 | `
|
|
187
|
+
| Display + YouTube 占预算 > 40%,转化率低 | PMax 在低漏斗效率渠道上花费过多 | `ad pmax-signals-set` 收紧受众信号,`ad pmax-assets-update` 减少展示类素材。微转化看 `google-analysis --sections conversion-actions` |
|
|
188
|
+
| Search + Shopping 占预算 > 80% | PMax 几乎只跑搜索/购物 | 评估是否需要 PMax——标准 Search + Shopping 可能更可控 |
|
|
189
|
+
| 各渠道均衡且 ROAS 达标 | 健康的 PMax 表现 | 维持现状,逐步测试预算增加 |
|
|
190
|
+
| Discover 花费高但转化为 0 | 信息流素材或着陆页不适配 | `ad pmax-assets-update` 换信息流图片。着陆页移动端体验改网站 |
|
|
191
191
|
| Video 花费正常但 view-through 转化占比 > 60% | 视频带来的是辅助转化而非直接转化 | 不一定需要干预,但不应将此等同于直接转化效果 |
|
|
192
192
|
|
|
193
193
|
### 5.3 渠道 × 表现行动矩阵
|
|
@@ -223,7 +223,7 @@ PMax 现支持每个系列的否定关键词,条数上限以 Google 返回的
|
|
|
223
223
|
1. `[CLI]` 拉取搜索词报告 → 导出
|
|
224
224
|
2. 筛选不相关搜索词(无转化 + 高花费 / 明显不相关)
|
|
225
225
|
3. `[CLI]` `ad pmax-negatives add` 加到这个 PMax 系列。先 list,向用户确认
|
|
226
|
-
4. 筛选高转化搜索词 → `
|
|
226
|
+
4. 筛选高转化搜索词 → `ad keyword-create` 加进 Search 系列,匹配类型 Exact
|
|
227
227
|
|
|
228
228
|
### 6.3 品牌排除
|
|
229
229
|
|
|
@@ -238,8 +238,8 @@ PMax 现支持每个系列的否定关键词,条数上限以 Google 返回的
|
|
|
238
238
|
```
|
|
239
239
|
PMax 搜索词报告
|
|
240
240
|
├── 不相关词 → `ad pmax-negatives` [CLI]
|
|
241
|
-
├── 品牌词 → `ad pmax-brands
|
|
242
|
-
├── 高转化非品牌词 →
|
|
241
|
+
├── 品牌词 → `ad pmax-brands`,Search 侧 `ad keyword-create`(Exact)
|
|
242
|
+
├── 高转化非品牌词 → `ad keyword-create`(Exact)
|
|
243
243
|
└── 长尾探索词(有转化潜力)→ 保留在 PMax 中继续观察
|
|
244
244
|
```
|
|
245
245
|
|
|
@@ -247,7 +247,7 @@ PMax 搜索词报告
|
|
|
247
247
|
|
|
248
248
|
### 7.1 核心概念
|
|
249
249
|
|
|
250
|
-
**受众信号是建议,不是硬定向。** PMax
|
|
250
|
+
**受众信号是建议,不是硬定向。** PMax 会以受众信号为起点进行学习,但算法有权扩展到信号之外的用户。信号越精准,冷启动越快、初期浪费越少。写入用 `ad pmax-signals-set`(全量 PUT,模板 `assets/pmax-signals-template.json`)。下拉用 `ad pmax-audiences`。
|
|
251
251
|
|
|
252
252
|
### 7.2 信号类型及优先级
|
|
253
253
|
|
|
@@ -309,6 +309,8 @@ PMax 和 Search 应各自独立预算,**不要从 Search 挪预算给 PMax**
|
|
|
309
309
|
|
|
310
310
|
## 9. Demand Gen 系列战术
|
|
311
311
|
|
|
312
|
+
创建、改预算、出价、启停、文案、版位和受众都用 `ad demand-gen`,见 `demand-gen-api.md`。创建结果固定暂停。下面只写投放判断。
|
|
313
|
+
|
|
312
314
|
### 9.1 什么是 Demand Gen
|
|
313
315
|
|
|
314
316
|
Demand Gen 是 Discovery 广告系列的升级版,覆盖 YouTube(In-stream + Shorts + In-feed)、Discover、Gmail 版位。
|
|
@@ -370,9 +372,9 @@ AI Max for Search 是 Google 在 Search 系列中集成的 AI 优化功能包:
|
|
|
370
372
|
|
|
371
373
|
### 10.3 防护措施
|
|
372
374
|
|
|
373
|
-
-
|
|
374
|
-
-
|
|
375
|
-
- `
|
|
375
|
+
- **AI Max 开关:** `ad coverage apply -a <id> --kind ai-max --config-file ./ai-max.json`。正文必须有 `enableAiMax`,可选 `bundlingRequired`。这条命令不写品牌名称如何被使用;没有对应字段时不要编。
|
|
376
|
+
- **网址排除(PMax):** `ad pmax-urls`。一条 URL,EQUALS 或 CONTAINS。不是 `pmax-edit` 的网址扩展开关
|
|
377
|
+
- **网址目录:** `ai-max` 不能限定着陆页目录。跟踪模板和最终网址后缀用 `ad coverage apply --kind tracking`。
|
|
376
378
|
- **勿写系列级匹配类型:** AI Max 开启后不要设置 `Campaign.keyword_match_type`(会被 Google 拒)。可继续改**广告组内单条关键词**的匹配类型。网关 Search PATCH 当前也不写该系列级字段;以后若加写,须先判断 `enable_ai_max`。
|
|
377
379
|
|
|
378
380
|
### 10.4 与 PMax 的交互
|
|
@@ -403,7 +405,7 @@ PMax 搜索渠道天然适配 AI Overview(自动化程度高)。AI Overview
|
|
|
403
405
|
### 11.4 策略调整
|
|
404
406
|
|
|
405
407
|
- **关键词覆盖扩展:** 不仅覆盖交易型查询,也覆盖信息型/研究型查询
|
|
406
|
-
-
|
|
408
|
+
- **搜索主题:** `ad pmax-signals-set` 写 `searchThemes`(全量 PUT,模板 `assets/pmax-signals-template.json`),用信息型主题引导搜索渠道
|
|
407
409
|
- **素材适配:** 广告文案需同时适用于直接搜索和 AI 摘要上下文——强调信息价值而非单纯促销
|
|
408
410
|
- **着陆页优化:** AI Overview 用户处于研究阶段,着陆页应提供教育性内容而非仅有转化入口
|
|
409
411
|
|
|
@@ -423,7 +425,7 @@ PMax 搜索渠道天然适配 AI Overview(自动化程度高)。AI Overview
|
|
|
423
425
|
|
|
424
426
|
## 13. CLI 诊断流程
|
|
425
427
|
|
|
426
|
-
>
|
|
428
|
+
> 下面是诊断命令。PMax 的创建和修改见 `pmax-api.md`(`ad pmax-create` / `pmax-edit` / `pmax-assets-update` / `pmax-signals-set`)。Demand Gen 见 `demand-gen-api.md`(`ad demand-gen`)。不要把这两类说成只能在 Google Ads 界面里做。
|
|
427
429
|
|
|
428
430
|
### 13.1 每周 PMax 健康检查
|
|
429
431
|
|
|
@@ -459,7 +461,7 @@ siluzan-tso google-analysis -a <CID> --sections ads # 素材级表现
|
|
|
459
461
|
siluzan-tso google-analysis -a <CID> --sections final-urls # 着陆页表现
|
|
460
462
|
```
|
|
461
463
|
|
|
462
|
-
标记 Low 素材 →
|
|
464
|
+
标记 Low 素材 → `ad pmax-assets-update` 替换;分析 Best 素材共性 → 指导新素材方向;检查着陆页转化率异常。
|
|
463
465
|
|
|
464
466
|
### 13.4 渠道分布分析
|
|
465
467
|
|
|
@@ -474,4 +476,4 @@ siluzan-tso google-analysis -a <CID> --sections devices # 设备维度
|
|
|
474
476
|
|
|
475
477
|
---
|
|
476
478
|
|
|
477
|
-
> **提示:**
|
|
479
|
+
> **提示:** 创建和修改以 `pmax-api.md`、`demand-gen-api.md`、`google-ads-write.md` 为准。本指南没写出命令的动作,先查这三份;查不到就说明当前没有这条命令。
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
- 默认 **Markdown**(如 `./pmax-plan.md`)。
|
|
16
16
|
- 用户要求 Excel / 表格 / 其他格式时,同一脚本改输出格式;文案与金额只从 JSON 投影。
|
|
17
17
|
- 须列出:**全部**短标题 / 长标题 / 描述、callouts、structuredSnippets、sitelinks、leadForm、businessMessage、imagePaths——**禁止**只交概览表或「15 条标题已通过」类勾选摘要。
|
|
18
|
-
|
|
18
|
+
- **图片要给用户看见**:从网址拉取的、不是用户交来的原文件、以及写入 `imagePaths` 前裁切或改过像素的图,都在审查稿里嵌出**最终文件**(Markdown 用 ``,Excel 把图插入单元格),并写明槽位和来源。用户原文件未改像素的,写路径即可。只写路径或「已从官网下载」不算展示。
|
|
19
|
+
4. 用户看着审查稿里的文案和上述图片确认后,再 `ad pmax-create`。缺图停在「待确认」。
|
|
19
20
|
|
|
20
21
|
多份配置(多系列)时:每个 JSON 各投影一份审查稿(或脚本合并为一份,但每组文案仍须全量列出)。
|
|
21
22
|
|
|
@@ -98,7 +99,16 @@
|
|
|
98
99
|
|
|
99
100
|
## 五、WhatsApp / 图片与视频
|
|
100
101
|
|
|
101
|
-
列出 businessMessage
|
|
102
|
+
列出 businessMessage、videoPath / youtubeUrlOrId。图片按槽位(横图 / 方图 / Logo)写出 `imagePaths`。用户没给文件时,先按 `pmax-create-template.md`「素材从哪来」从 `finalUrls` 下载。页面上也没有,再写在「待确认」。
|
|
103
|
+
|
|
104
|
+
需要用户确认的图(落地页下载、不是用户交来的原文件、或 `pmax-image-convert` 等裁切缩放后的最终文件)在对应槽位下嵌出画面,并写来源。用户原文件且未改像素的只写路径。
|
|
105
|
+
|
|
106
|
+
### 横图
|
|
107
|
+
- 来源:{{用户原文件 / 落地页 URL / 由某原文件裁切}}
|
|
108
|
+
- 路径:{{imagePaths.marketing}}
|
|
109
|
+
- 需确认时:``
|
|
110
|
+
|
|
111
|
+
方图、Logo 同样处理。
|
|
102
112
|
|
|
103
113
|
## 六、待确认
|
|
104
114
|
|
|
@@ -114,3 +124,4 @@ JSON 中没有的内容(受众信号建议、效果预估、落地页优化建
|
|
|
114
124
|
- 只输出概览表(账户/预算/「文案已齐」勾选)而不列全文案
|
|
115
125
|
- 手抄与 JSON 不一致的审查稿;改文案只改 JSON 后重跑投影脚本
|
|
116
126
|
- 未获用户确认审查稿就执行 `pmax-create`
|
|
127
|
+
- 需要确认的图只写路径或「已下载」,审查稿里没有画面
|
|
@@ -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
|
|
|
@@ -8,7 +8,7 @@ siluzan-tso ad-gap --action <name> --account <id> --body '<json>' --commit "<为
|
|
|
8
8
|
|
|
9
9
|
`--body` 和 `--body-file` 只能二选一。需要上一层对象时加 `--parent`,需要对象本身时加 `--id`,解广告或准则标签时再加 `--label`。不要用 `--json`。表里没有的 action 不存在,不要编造删除或查询命令。
|
|
10
10
|
|
|
11
|
-
写之前先读当前对象,并把修改前 / 修改后告诉用户。用户确认后再加 `--commit
|
|
11
|
+
写之前先读当前对象,并把修改前 / 修改后告诉用户。用户确认后再加 `--commit`。用户话里的起点和读到的现值不一致时,点明两边的数再停,原来那句不算同意。新建对象由网关保持暂停或关闭,正文里不要要求立刻投放。
|
|
12
12
|
|
|
13
13
|
金额按平台口径填,不要混用:
|
|
14
14
|
|
|
@@ -50,7 +50,7 @@ siluzan-tso ad-gap --action bing.delete-locations --account 123 --body "{\"paren
|
|
|
50
50
|
| `bing.delete-campaigns` | `ids` |
|
|
51
51
|
| `bing.ad-group` | `campaignId` `name`(≤256)`cpcBid` |
|
|
52
52
|
| `bing.delete-ad-groups` | `parentId` 为系列,`ids` 为广告组 |
|
|
53
|
-
| `bing.responsive-ad` |
|
|
53
|
+
| `bing.responsive-ad` | 搜索响应式广告。`adGroupId`。`headlines` 3–15 条字符串、每条 ≤30。`descriptions` 2–4 条字符串、每条 ≤90。`finalUrl` |
|
|
54
54
|
| `bing.delete-ads` | `parentId` 为广告组,`ids` |
|
|
55
55
|
| `bing.keywords` | `adGroupId`。`keywords[]` 1–1000 条:`text`(≤100)`matchType`(`Broad` / `Phrase` / `Exact`)可选 `bid` |
|
|
56
56
|
| `bing.keyword-bids` | `adGroupId`。`bids[]`:`keywordId` `amount`(>0) |
|
|
@@ -174,7 +174,7 @@ siluzan-tso ad-gap --action bing.delete-locations --account 123 --body "{\"paren
|
|
|
174
174
|
| action | 正文 |
|
|
175
175
|
| --- | --- |
|
|
176
176
|
| `bing.product-ad` | `adGroupId`。可选 `promotionalText`(≤45) |
|
|
177
|
-
| `bing.responsive-ad` | 受众广告。`adGroupId` `businessName
|
|
177
|
+
| `bing.responsive-audience-ad` | 受众广告。`adGroupId` `businessName`(1–25)`finalUrl`。`headlines` 1–15、`descriptions` 1–5,每项 `{"text":"..."}`,可带 `pinnedField`。标题 ≤30,描述 ≤90。可选 `longHeadlines`、`imageIds`、`callToAction`、`adSubType`(`Video` / `Display`) |
|
|
178
178
|
| `bing.hotel-ad` | `adGroupId` |
|
|
179
179
|
| `bing.app-install-ad` | `adGroupId` `appPlatform`(`Android` / `iOS` / `Windows`)`appStoreId` `title`(≤30)`text`(≤80)`finalUrl` |
|
|
180
180
|
| `bing.update-responsive-ad` | `adGroupId` `adId`。`headlines`(3–15,可带 `pinnedField`,如 `Headline1`)`descriptions`(2–4)`path1` `path2` `finalUrl` 至少填一个。不改状态 |
|
|
@@ -534,7 +534,7 @@ siluzan-tso ad-gap --action yandex.shopping-ad --account porg-example --body "{\
|
|
|
534
534
|
|
|
535
535
|
先读:`siluzan-tso tiktok-analysis campaign-entities -a <advertiser_id> --json-out <目录>`。
|
|
536
536
|
|
|
537
|
-
|
|
537
|
+
商品目录用 `tiktok.catalog` 这一组,正文要带 `advertiser_id`、`bc_id` 和 `catalog_conf`(里面的 `region_code`、`currency` 官方必填)。复制、Smart+、常规系列、广告组和广告的 `operation_status` 不要写 `ENABLE`,缺省会写成 `DISABLE`。覆盖和频次(`RF_REACH`)官方不允许建成 `DISABLE`,不要用 `tiktok.campaign`。业务码不是 0 就是失败,常见正文是 `TikTok 拒绝该请求: …`。
|
|
538
538
|
|
|
539
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` 重试。其余官方字段原样放进正文。
|
|
540
540
|
|
|
@@ -542,21 +542,21 @@ siluzan-tso ad-gap --action yandex.shopping-ad --account porg-example --body "{\
|
|
|
542
542
|
|
|
543
543
|
`tiktok.ad` 建常规广告。`creatives` 1–20 条。每条必填 `ad_name`(空字符串表示官方自动命名)、`identity_type`(`CUSTOMIZED_USER` / `AUTH_CODE` / `TT_USER` / `BC_AUTH_TT`)、`identity_id`、`ad_format`(`SINGLE_IMAGE` / `SINGLE_VIDEO` / `LIVE_CONTENT` / `CAROUSEL_ADS` / `CATALOG_CAROUSEL`)。`BC_AUTH_TT` 还要 `identity_authorized_bc_id`。`AUTH_CODE` 必须有 `tiktok_item_id`。定制身份的单视频必须有 `video_id`;`TT_USER` 或 `BC_AUTH_TT` 的单视频要有 `video_id` 或 `tiktok_item_id`。
|
|
544
544
|
|
|
545
|
-
`tiktok.smart-creative` 走官方 `/ad/aco/create/`。`media_info_list` 1–30 条。视频要 `video_id` 和 1 个封面目 `web_uri`;纯图片要 1 个 `web_uri`;Spark 帖子用 `tiktok_item_id`,并带 `identity_id` 和 `identity_type`(`AUTH_CODE` 或 `TT_USER`)。非 Spark 素材必须在 `common_material` 里写 `identity_id` 和 `identity_type=CUSTOMIZED_USER`。`title_list` 里的 `title` 按官方计数 12–40。这个接口没有 `operation_status`,只挂到已经 `DISABLE`
|
|
545
|
+
`tiktok.smart-creative` 走官方 `/ad/aco/create/`。`media_info_list` 1–30 条。视频要 `video_id` 和 1 个封面目 `web_uri`;纯图片要 1 个 `web_uri`;Spark 帖子用 `tiktok_item_id`,并带 `identity_id` 和 `identity_type`(`AUTH_CODE` 或 `TT_USER`)。非 Spark 素材必须在 `common_material` 里写 `identity_id` 和 `identity_type=CUSTOMIZED_USER`。`title_list` 里的 `title` 按官方计数 12–40。这个接口没有 `operation_status`,只挂到已经 `DISABLE` 的广告组。`video_id` 从 `tiktok-analysis video-upload` 或 `video-upload-url` 的返回值拿,`image_id` / `web_uri` 从 `image-upload` 拿,`identity_id` 从 `identity-list` 或 `identity-create` 拿。这三条都只收已经在 TikTok 侧或公网 https 上的素材,不收本地文件。
|
|
546
546
|
|
|
547
547
|
建完后要打开,用 `tiktok-analysis campaign-status` / `adgroup-status` / `ad-status`,不要在创建正文里写 `ENABLE`。
|
|
548
548
|
|
|
549
|
-
`tiktok.audience-file` 的 `file_paths` 是 TikTok 侧已经存在的路径,1–50
|
|
549
|
+
`tiktok.audience-file` 的 `file_paths` 是 TikTok 侧已经存在的路径,1–50 个。本地文件先用 `tiktok-analysis audience-file-upload` 上传,把返回路径填进来。可选 `retention_in_days` 为 1–365。`calculate_type` 按官方 DMP 文件受众填写。
|
|
550
550
|
|
|
551
|
-
`tiktok.audience-rule` 的 `rule`
|
|
551
|
+
`tiktok.audience-rule` 的 `rule` 或 `rule_spec` 必须是对象。网关把 `rule` 收成官方字段 `rule_spec`。`audience_type` 不要填 `WEBSITE`。TikTok 接受的取值包括 `APP`、`BUSINESS_ACCOUNT`、`ENGAGEMENT`、`ENGAGEMENT_LIVE_VIDEO`、`ENGAGEMENT_ORGANIC_VIDEO`、`LEAD_GENERATION`、`OFFLINE`、`PIXEL`、`TIKTOK_SHOP`。
|
|
552
552
|
|
|
553
553
|
`tiktok.gmv-max` 除 `advertiser_id` 和 `campaign_name` 外,其余字段按官方 GMV Max 创建接口原样放进正文。缺 `store_id` 等官方必填项会被 TikTok 拒绝,网关不会代填。
|
|
554
554
|
|
|
555
|
-
`tiktok.smart-plus` 的 `objective_type` 只接受 `APP_PROMOTION`、`WEB_CONVERSIONS`、`LEAD_GENERATION`。`request_id`
|
|
555
|
+
`tiktok.smart-plus` 的 `objective_type` 只接受 `APP_PROMOTION`、`WEB_CONVERSIONS`、`LEAD_GENERATION`。`request_id` 是正整数的十进制字符串。`WEB_CONVERSIONS` 要带 `sales_destination`。网页转化的预算模式用 `BUDGET_MODE_DYNAMIC_DAILY_BUDGET`,`BUDGET_MODE_DAY` 会被拒绝。官方还要求的其余字段必须一并放进正文。
|
|
556
556
|
|
|
557
557
|
`tiktok.campaign-copy` 同样要 `request_id`。广告主不在 TikTok 复制白名单时会返回 40001,换字段重试没用。
|
|
558
558
|
|
|
559
|
-
|
|
559
|
+
否定词可以查、可以删。`tiktok.negative-keyword-list` 要 `object_type`(`CAMPAIGN` 或 `ADGROUP`)和单个 `object_id`。`tiktok.delete-negative-keywords` 同样要单个 `object_id` 和 `keyword_ids`;如果只给了一个 `object_ids`,网关会收成 `object_id`。新增时 `name` 长度 1–80,不要包含 ! @ % ^ ( ) = { } ; ~ < > ? \ | 和反引号。`match_type` 可省略;要填就用 `PRECISE_WORD`、`PHRASE_WORD`、`BROAD_WORD`。
|
|
560
560
|
|
|
561
561
|
```bash
|
|
562
562
|
siluzan-tso ad-gap --action tiktok.negative-keywords --account 1640000000000000 --body "{\"advertiser_id\":\"1640000000000000\",\"object_type\":\"ADVERTISER\",\"object_ids\":[\"1640000000000000\"],\"keywords\":[{\"name\":\"gapprobe\",\"match_type\":\"PRECISE_WORD\"}]}" --commit "加一条广告主级否定词" --json-out ./snap-tiktok
|
|
@@ -565,18 +565,120 @@ siluzan-tso ad-gap --action tiktok.negative-keywords --account 1640000000000000
|
|
|
565
565
|
| action | 正文 |
|
|
566
566
|
| --- | --- |
|
|
567
567
|
| `tiktok.audience-file` | `advertiser_id` `custom_audience_name` `file_paths` `calculate_type` |
|
|
568
|
-
| `tiktok.audience-rule` | `advertiser_id` `custom_audience_name` `audience_type` `rule
|
|
568
|
+
| `tiktok.audience-rule` | `advertiser_id` `custom_audience_name` `audience_type` `rule_spec`(也可写 `rule`) |
|
|
569
569
|
| `tiktok.campaign-copy` | `advertiser_id` `campaign_id` `request_id` |
|
|
570
570
|
| `tiktok.gmv-max` | `advertiser_id` `campaign_name`,外加官方创建字段 |
|
|
571
571
|
| `tiktok.smart-plus` | `advertiser_id` `request_id` `campaign_name` `objective_type`,外加官方创建字段 |
|
|
572
572
|
| `tiktok.negative-keywords` | `advertiser_id` `object_type`(`ADVERTISER` / `CAMPAIGN` / `ADGROUP`)`object_ids`(1–50)`keywords[]` |
|
|
573
|
-
| `tiktok.split-test` | `advertiser_id` `start_time` `end_time`(`yyyy-MM-dd HH:mm:ss
|
|
573
|
+
| `tiktok.split-test` | `advertiser_id` `start_time` `end_time`(`yyyy-MM-dd HH:mm:ss`,开始时间不能早于当前)。默认广告组级:恰好 2 个已启用的 `object_ids` 和大于 0 的 `budget`。成功后用返回的 `split_test_group_id`。`split_test_level=CAMPAIGN` 时不要填 `budget`,改填 2 个 `cells` |
|
|
574
574
|
| `tiktok.campaign` | `advertiser_id` `campaign_name` `objective_type` `budget_mode`。非无限预算再加 `budget` |
|
|
575
575
|
| `tiktok.ad-group` | `advertiser_id` `campaign_id` `adgroup_name` `billing_event` `budget_mode` `budget` `optimization_goal` `pacing` `schedule_type` `schedule_start_time` |
|
|
576
576
|
| `tiktok.ad` | `advertiser_id` `adgroup_id` `creatives[]` |
|
|
577
577
|
| `tiktok.smart-creative` | `advertiser_id` `adgroup_id` `media_info_list`。非 Spark 再加 `common_material` |
|
|
578
578
|
|
|
579
|
-
|
|
579
|
+
改名只提交编号和名称。`tiktok.rename-campaign` 用 `campaign_id` 和 `campaign_name`。`tiktok.rename-ad-group` 用 `adgroup_id` 和 `adgroup_name`。`tiktok.rename-ad` 用 `adgroup_id`、`ad_id` 和 `ad_name`,网关收成一条只含这两项的 `creatives`。`tiktok.rename-advertiser` 用 `advertiser_name`,最长 100。不要把预算、状态或其他字段放进这四条,网关会丢掉。
|
|
580
|
+
|
|
581
|
+
`tiktok.read-campaigns`、`tiktok.read-ad-groups`、`tiktok.read-ads` 返回官方原始字段。可带 `filtering`、`fields`、`page`、`page_size`。这和 `tiktok-analysis` 的固定列实体不是同一条路径。
|
|
582
|
+
|
|
583
|
+
`tiktok.video-library` 和 `tiktok.image-library` 是不带素材 ID 的列表。按 ID 查视频仍用 `tiktok-analysis video-info`。`tiktok.suggest-cover` 要 `video_id`。
|
|
584
|
+
|
|
585
|
+
`tiktok.lookalike` 要 `custom_audience_name` 和对象 `lookalike_spec`。`lookalike_spec.placements` 用 `TikTok`、`Pangle`、`TopBuzz & BuzzVideo`。`tiktok.refresh-lookalike` 只提交 `custom_audience_ids`。`tiktok.audience-detail` 的 `custom_audience_ids` 是 1–100 个。`tiktok.audience-overlap` 仍然收 2–5 个 `custom_audience_ids`:第一个是基准受众,其余是对比受众。也可以直接写 `benchmark_custom_audience_id` 和 `comparison_custom_audience_ids`。
|
|
586
|
+
|
|
587
|
+
`tiktok.diagnosis` 可带 `filtering`。`tiktok.creative-fatigue` 要 `adgroup_id`、`ad_material_ids` 和 `filtering`,日期只能落在最近 14 天。`tiktok.search-keywords` 要 `regions`(目前只接受 `US`),并且 `search_queries`、`ad_ids`、`landing_page_urls` 必须且只能填一个。`tiktok.keyword-ideas` 要 `keywords`。`tiktok.search-health` 可带 `filtering` 或 `campaign_ids`。
|
|
588
|
+
|
|
589
|
+
`tiktok.smart-plus-ad-group` 要 `campaign_id` 和 `request_id`,创建时不能写 `ENABLE`。`tiktok.smart-plus-ad` 要 `adgroup_id` 和 `request_id`,同样不能写 `ENABLE`。三条状态命令只接受 `operation_status` 为 `ENABLE` 或 `DISABLE`,编号字段分别是 `campaign_ids`、`adgroup_ids`、`ad_ids`。`tiktok.read-smart-creative` 要 `adgroup_ids`。`tiktok.update-smart-creative` 的正文是官方 `/ad/aco/update/` 字段,必须有 `adgroup_id`。
|
|
590
|
+
|
|
591
|
+
商品目录、GMV Max 读写、自动规则、评论、Spark、试玩、异步报表、复制和分裂测试结果、Saved Audience、像素更新删除、自定义转化、拒审和申诉都走下面这些 action。查询也用 `--body`,网关再转成官方 GET。除必填字段外,官方字段原样放进正文。
|
|
592
|
+
|
|
593
|
+
| action | 正文 |
|
|
594
|
+
| --- | --- |
|
|
595
|
+
| `tiktok.catalog` | `advertiser_id` `bc_id` `name` `catalog_type` `catalog_conf`(`region_code` 和 `currency`) |
|
|
596
|
+
| `tiktok.update-catalog` | `advertiser_id` `bc_id` `catalog_id` |
|
|
597
|
+
| `tiktok.delete-catalog` | `advertiser_id` `bc_id` `catalog_id` |
|
|
598
|
+
| `tiktok.read-catalogs` | `advertiser_id` `bc_id` |
|
|
599
|
+
| `tiktok.catalog-countries` | `advertiser_id` `bc_id` |
|
|
600
|
+
| `tiktok.catalog-products` | `advertiser_id` `bc_id` `catalog_id` `products` |
|
|
601
|
+
| `tiktok.catalog-product-log` | `advertiser_id` `bc_id` `catalog_id` |
|
|
602
|
+
| `tiktok.catalog-set` | `advertiser_id` `bc_id` `catalog_id` `product_set_name` |
|
|
603
|
+
| `tiktok.read-catalog-sets` | `advertiser_id` `bc_id` `catalog_id` |
|
|
604
|
+
| `tiktok.catalog-feed` | `advertiser_id` `bc_id` `catalog_id` `feed_name` |
|
|
605
|
+
| `tiktok.read-catalog-feeds` | `advertiser_id` `bc_id` `catalog_id` |
|
|
606
|
+
| `tiktok.catalog-diagnosis` | `advertiser_id` `bc_id` `catalog_id` |
|
|
607
|
+
| `tiktok.catalog-overview` | `advertiser_id` `bc_id` `catalog_id` |
|
|
608
|
+
| `tiktok.catalog-event-bind` | `advertiser_id` `bc_id` `catalog_id` |
|
|
609
|
+
| `tiktok.store-products` | `advertiser_id` `store_id` |
|
|
610
|
+
| `tiktok.read-gmv-max` | `advertiser_id` `campaign_id` |
|
|
611
|
+
| `tiktok.update-gmv-max` | `advertiser_id` `campaign_id`,外加官方更新字段 |
|
|
612
|
+
| `tiktok.gmv-max-stores` | `advertiser_id` |
|
|
613
|
+
| `tiktok.gmv-max-report` | `advertiser_id` `store_ids`,可选 `campaign_ids` `start_date` `end_date` |
|
|
614
|
+
| `tiktok.rule` | `advertiser_id` `rules`(`notification.notification_type` 用 `ANY_CHANGES`、`NOT_NOTIFICATION`、`TASK_FINISH`) |
|
|
615
|
+
| `tiktok.update-rule` | `advertiser_id` `rules` |
|
|
616
|
+
| `tiktok.rule-status` | `advertiser_id` `rule_ids` `operate_type`(`TURN_ON` / `TURN_OFF` / `DELETE`)。`operation_status` 的 `ENABLE` / `DISABLE` 会收成 `TURN_ON` / `TURN_OFF` |
|
|
617
|
+
| `tiktok.read-rules` | `advertiser_id` |
|
|
618
|
+
| `tiktok.rule-results` | `advertiser_id` |
|
|
619
|
+
| `tiktok.comments` | `advertiser_id` `search_field`(`ADGROUP_ID`)`search_value` `start_time` `end_time`(`YYYY-MM-DD`) |
|
|
620
|
+
| `tiktok.comment-reply` | `advertiser_id` `ad_id` `comment_id` `text` |
|
|
621
|
+
| `tiktok.blocked-words` | `advertiser_id` |
|
|
622
|
+
| `tiktok.create-blocked-words` | `advertiser_id` `blocked_words` |
|
|
623
|
+
| `tiktok.delete-blocked-words` | `advertiser_id` `blocked_words` |
|
|
624
|
+
| `tiktok.spark-auth` | `advertiser_id` `auth_code` |
|
|
625
|
+
| `tiktok.spark-posts` | `advertiser_id` |
|
|
626
|
+
| `tiktok.spark-unbind` | `advertiser_id` `item_id` |
|
|
627
|
+
| `tiktok.playables` | `advertiser_id`,可选 `playable_id` |
|
|
628
|
+
| `tiktok.report-task` | `advertiser_id` `report_type` `dimensions` `metrics` |
|
|
629
|
+
| `tiktok.report-task-check` | `advertiser_id` `task_id` |
|
|
630
|
+
| `tiktok.copy-task` | `advertiser_id` `task_id` |
|
|
631
|
+
| `tiktok.update-split-test` | `advertiser_id` `split_test_group_id`(创建返回这个字段;只给 `split_test_id` 时网关会收成它)以及要改的时间 |
|
|
632
|
+
| `tiktok.end-split-test` | `advertiser_id` `split_test_group_id` |
|
|
633
|
+
| `tiktok.split-test-result` | `advertiser_id` `split_test_group_id` |
|
|
634
|
+
| `tiktok.promote-split-test` | `advertiser_id` `split_test_group_id` |
|
|
635
|
+
| `tiktok.saved-audience` | `advertiser_id` `saved_audience_name` |
|
|
636
|
+
| `tiktok.read-saved-audiences` | `advertiser_id` |
|
|
637
|
+
| `tiktok.delete-saved-audience` | `advertiser_id` `saved_audience_ids` |
|
|
638
|
+
| `tiktok.update-pixel` | `advertiser_id` `pixel_id` |
|
|
639
|
+
| `tiktok.delete-pixel` | 官方 v1.3 没有像素删除。这个动作会直接说明,请改 `tiktok.update-pixel` 或 `tiktok.delete-pixel-event` |
|
|
640
|
+
| `tiktok.update-pixel-event` | `advertiser_id` `pixel_id` `event_id` |
|
|
641
|
+
| `tiktok.delete-pixel-event` | `advertiser_id` `pixel_id` `event_id` |
|
|
642
|
+
| `tiktok.custom-conversion` | `advertiser_id` `name` |
|
|
643
|
+
| `tiktok.read-custom-conversions` | `advertiser_id` |
|
|
644
|
+
| `tiktok.update-custom-conversion` | `advertiser_id` `custom_conversion_id` |
|
|
645
|
+
| `tiktok.delete-custom-conversion` | `advertiser_id` `custom_conversion_id` |
|
|
646
|
+
| `tiktok.ad-review` | `advertiser_id` `ad_ids` |
|
|
647
|
+
| `tiktok.ad-group-review` | `advertiser_id` `adgroup_ids` |
|
|
648
|
+
| `tiktok.ad-appeal` | `advertiser_id` `ad_id` |
|
|
649
|
+
|
|
650
|
+
| action | 正文 |
|
|
651
|
+
| --- | --- |
|
|
652
|
+
| `tiktok.rename-campaign` | `advertiser_id` `campaign_id` `campaign_name` |
|
|
653
|
+
| `tiktok.rename-ad-group` | `advertiser_id` `adgroup_id` `adgroup_name` |
|
|
654
|
+
| `tiktok.rename-ad` | `advertiser_id` `adgroup_id` `ad_id` `ad_name` |
|
|
655
|
+
| `tiktok.rename-advertiser` | `advertiser_id` `advertiser_name` |
|
|
656
|
+
| `tiktok.video-library` | `advertiser_id`。不要带 `video_ids` |
|
|
657
|
+
| `tiktok.image-library` | `advertiser_id`。不要带 `image_ids` |
|
|
658
|
+
| `tiktok.suggest-cover` | `advertiser_id` `video_id` |
|
|
659
|
+
| `tiktok.lookalike` | `advertiser_id` `custom_audience_name` `lookalike_spec` |
|
|
660
|
+
| `tiktok.refresh-lookalike` | `advertiser_id` `custom_audience_ids` |
|
|
661
|
+
| `tiktok.audience-detail` | `advertiser_id` `custom_audience_ids` |
|
|
662
|
+
| `tiktok.audience-overlap` | `advertiser_id` `custom_audience_ids`(2–5 个) |
|
|
663
|
+
| `tiktok.diagnosis` | `advertiser_id`,可选 `filtering` |
|
|
664
|
+
| `tiktok.creative-fatigue` | `advertiser_id` `adgroup_id` `ad_material_ids` `filtering`(`start_date` / `end_date` 只接受最近 14 天) |
|
|
665
|
+
| `tiktok.search-keywords` | `advertiser_id` `regions`(只接受 `US`),以及 `search_queries`、`ad_ids`、`landing_page_urls` 三选一 |
|
|
666
|
+
| `tiktok.keyword-ideas` | `advertiser_id` `keywords` |
|
|
667
|
+
| `tiktok.search-health` | `advertiser_id`,可选 `filtering` 或 `campaign_ids` |
|
|
668
|
+
| `tiktok.negative-keyword-list` | `advertiser_id` `object_type`(`CAMPAIGN` 或 `ADGROUP`)`object_id` |
|
|
669
|
+
| `tiktok.delete-negative-keywords` | `advertiser_id` `object_type` `object_id` `keyword_ids` |
|
|
670
|
+
| `tiktok.read-campaigns` | `advertiser_id`,可选 `filtering` `fields` `page` `page_size` |
|
|
671
|
+
| `tiktok.read-ad-groups` | 同 `tiktok.read-campaigns` |
|
|
672
|
+
| `tiktok.read-ads` | 同 `tiktok.read-campaigns` |
|
|
673
|
+
| `tiktok.smart-plus-ad-group` | `advertiser_id` `campaign_id` `request_id`,外加官方创建字段 |
|
|
674
|
+
| `tiktok.smart-plus-ad` | `advertiser_id` `adgroup_id` `request_id`,外加官方创建字段 |
|
|
675
|
+
| `tiktok.smart-plus-campaign-status` | `advertiser_id` `campaign_ids` `operation_status` |
|
|
676
|
+
| `tiktok.smart-plus-ad-group-status` | `advertiser_id` `adgroup_ids` `operation_status` |
|
|
677
|
+
| `tiktok.smart-plus-ad-status` | `advertiser_id` `ad_ids` `operation_status` |
|
|
678
|
+
| `tiktok.read-smart-creative` | `advertiser_id` `adgroup_ids` |
|
|
679
|
+
| `tiktok.update-smart-creative` | `advertiser_id` `adgroup_id`,外加官方更新字段 |
|
|
680
|
+
|
|
681
|
+
素材、身份、像素、受众列表、CTA 组合、智能文案和受众文件上传不在 `ad-gap`。它们走 `tiktok-analysis`,见 `references/analytics/account-analytics.md` 的「TikTok 素材、身份与像素」。图片和视频只收公网 https 地址,`video_id` / `image_id` 从上传结果拿。`identity_id` 从 `identity-list` 或 `identity-create` 拿。`image-uri` 填 `image_id`,不能空着。CTA 命令会按推荐直接建组合,不是列表。本地受众文件用 `audience-file-upload`。
|
|
580
682
|
|
|
581
683
|
## Meta `--account` 为数字广告账户或 `act_` 前缀
|
|
582
684
|
|
|
@@ -654,7 +756,9 @@ siluzan-tso ad-gap --action meta.read-adset --account act_123 --id 789 --body "{
|
|
|
654
756
|
|
|
655
757
|
## Google `--account` 为 customer id
|
|
656
758
|
|
|
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`
|
|
759
|
+
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。Demand Gen 的类似人群用 `google.lookalike-list`,不要把它说成旧相似受众。GA4 媒体资源关联用 `google.ga4-link`,不要改走 `google.product-link`,也不要为此另造转化操作。
|
|
760
|
+
|
|
761
|
+
搜索受众观察或定向用 `ad campaign-edit --audience-targeting Observation|Targeting`,非搜索系列会拒绝。已有系列改挂共享预算用 `ad shared-budget attach`,只换预算、不改金额,Demand Gen 会拒绝。账户级用户列表排除不要编:客户级否定准则没有这个字段。
|
|
658
762
|
|
|
659
763
|
正文是 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`。
|
|
660
764
|
|
|
@@ -762,7 +866,9 @@ siluzan-tso ad-gap --action google.end-experiment --account 123 --id 100 --commi
|
|
|
762
866
|
| `google.campaign-asset-set` | `assetSetId` `campaignId` |
|
|
763
867
|
| `google.ad-group-asset-set` | `assetSetId` `adGroupId` |
|
|
764
868
|
| `google.product-link-invitation` | `merchantCenterId`。这是邀请,不是直接关联 |
|
|
765
|
-
| `google.product-link` | `type` 为 `MerchantCenter` 或 `DataPartner`,再填对应 id
|
|
869
|
+
| `google.product-link` | `type` 为 `MerchantCenter` 或 `DataPartner`,再填对应 id。经理关联和 GA4 都不走这里 |
|
|
870
|
+
| `google.ga4-link` | `propertyId` 为 GA4 媒体资源数字 id。用服务账号调用 Analytics Admin 的 `properties.googleAdsLinks.create`,把该资源关联到当前 Google Ads 客户。服务账号没有管理权限时返回权限错误并停,不要改口说已经导入。关联成功后 GA4 事件转化由 Google 侧出现,本命令不另造转化操作 |
|
|
871
|
+
| `google.lookalike-list` | `--id` 为种子用户列表(Customer Match 或再营销名单)。正文 `countryCodes`(两位国家代码)和 `expansionLevel`(`NARROW` / `BALANCED` / `BROAD`)。可选 `name`。网关创建 `UserList.lookalike_user_list`。挂到 Demand Gen 仍用 `ad demand-gen audience`。这不是搜索/展示已下线的相似受众 |
|
|
766
872
|
| `google.remove-product-link` | `--id`,无正文 |
|
|
767
873
|
| `google.data-link` | `videoId` 和 `channelId` 只能填一个 |
|
|
768
874
|
| `google.remove-data-link` | `--id`,无正文 |
|
|
@@ -9,11 +9,11 @@ $ErrorActionPreference = 'Stop'
|
|
|
9
9
|
# -- Package info (injected at build time) ------------------------------------
|
|
10
10
|
$PKG_NAME = 'siluzan-tso-cli'
|
|
11
11
|
# PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
|
|
12
|
-
$PKG_VERSION = '1.1.
|
|
12
|
+
$PKG_VERSION = '1.1.75-beta.1'
|
|
13
13
|
$CLI_BIN = 'siluzan-tso'
|
|
14
14
|
$SKILL_LABEL = 'Siluzan TSO'
|
|
15
|
-
$INSTALL_CMD = 'npm install -g siluzan-tso-cli'
|
|
16
|
-
$WEB_BASE = 'https://www.siluzan.com'
|
|
15
|
+
$INSTALL_CMD = 'npm install -g siluzan-tso-cli@beta'
|
|
16
|
+
$WEB_BASE = 'https://www-ci.siluzan.com'
|
|
17
17
|
|
|
18
18
|
# -- Constants ----------------------------------------------------------------
|
|
19
19
|
$NODE_MAJOR_MIN = 18
|
|
@@ -9,11 +9,11 @@ set -euo pipefail
|
|
|
9
9
|
# -- Package info (injected at build time) ------------------------------------
|
|
10
10
|
readonly PKG_NAME="siluzan-tso-cli"
|
|
11
11
|
# PKG_VERSION 锁定到与本脚本同批构建产物一致的版本,避免与 dist/skill 错位
|
|
12
|
-
readonly PKG_VERSION="1.1.
|
|
12
|
+
readonly PKG_VERSION="1.1.75-beta.1"
|
|
13
13
|
readonly CLI_BIN="siluzan-tso"
|
|
14
14
|
readonly SKILL_LABEL="Siluzan TSO"
|
|
15
|
-
readonly INSTALL_CMD="npm install -g siluzan-tso-cli"
|
|
16
|
-
readonly WEB_BASE="https://www.siluzan.com"
|
|
15
|
+
readonly INSTALL_CMD="npm install -g siluzan-tso-cli@beta"
|
|
16
|
+
readonly WEB_BASE="https://www-ci.siluzan.com"
|
|
17
17
|
|
|
18
18
|
# -- Constants ----------------------------------------------------------------
|
|
19
19
|
readonly NODE_MAJOR_MIN=18
|