sino-bc-cli 1.3.3 → 1.4.0

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 (82) hide show
  1. package/README.md +47 -13
  2. package/dist/SKILL.md +30 -13
  3. package/dist/api-doc/README.md +9 -5
  4. package/dist/api-doc/icenter-mcp-strategy-dimension-facebook-ad-list.md +9 -3
  5. package/dist/api-doc/icenter-mcp-strategy-dimension-google-ad-list.md +170 -0
  6. package/dist/api-doc/icenter-mcp-strategy-dimension-tiktok-ad-list.md +172 -0
  7. package/dist/api-doc/icenter-mcp-strategy-metrics-facebook-ad-list.md +7 -4
  8. package/dist/api-doc/icenter-mcp-strategy-metrics-google-ad-list.md +201 -0
  9. package/dist/api-doc/icenter-mcp-strategy-metrics-tiktok-ad-list.md +204 -0
  10. package/dist/index.js +1 -33
  11. package/package.json +6 -3
  12. package/dist/commands/api-endpoint.command.d.ts +0 -58
  13. package/dist/commands/api-endpoint.command.js +0 -212
  14. package/dist/commands/api-endpoint.command.js.map +0 -1
  15. package/dist/commands/api-list.command.d.ts +0 -39
  16. package/dist/commands/api-list.command.js +0 -179
  17. package/dist/commands/api-list.command.js.map +0 -1
  18. package/dist/commands/bc-api.command.d.ts +0 -20
  19. package/dist/commands/bc-api.command.js +0 -30
  20. package/dist/commands/bc-api.command.js.map +0 -1
  21. package/dist/commands/ic-api.command.d.ts +0 -20
  22. package/dist/commands/ic-api.command.js +0 -30
  23. package/dist/commands/ic-api.command.js.map +0 -1
  24. package/dist/commands/index.d.ts +0 -12
  25. package/dist/commands/index.js +0 -29
  26. package/dist/commands/index.js.map +0 -1
  27. package/dist/commands/init.command.d.ts +0 -30
  28. package/dist/commands/init.command.js +0 -130
  29. package/dist/commands/init.command.js.map +0 -1
  30. package/dist/constants/api-catalog.d.ts +0 -34
  31. package/dist/constants/api-catalog.js +0 -118
  32. package/dist/constants/api-catalog.js.map +0 -1
  33. package/dist/constants/api-doc.d.ts +0 -13
  34. package/dist/constants/api-doc.js +0 -97
  35. package/dist/constants/api-doc.js.map +0 -1
  36. package/dist/constants/biz-line-api-doc.d.ts +0 -19
  37. package/dist/constants/biz-line-api-doc.js +0 -353
  38. package/dist/constants/biz-line-api-doc.js.map +0 -1
  39. package/dist/constants/gateway.d.ts +0 -36
  40. package/dist/constants/gateway.js +0 -119
  41. package/dist/constants/gateway.js.map +0 -1
  42. package/dist/constants/index.d.ts +0 -32
  43. package/dist/constants/index.js +0 -84
  44. package/dist/constants/index.js.map +0 -1
  45. package/dist/core/cli-app.d.ts +0 -51
  46. package/dist/core/cli-app.js +0 -283
  47. package/dist/core/cli-app.js.map +0 -1
  48. package/dist/core/command-registry.d.ts +0 -71
  49. package/dist/core/command-registry.js +0 -195
  50. package/dist/core/command-registry.js.map +0 -1
  51. package/dist/core/index.d.ts +0 -2
  52. package/dist/core/index.js +0 -9
  53. package/dist/core/index.js.map +0 -1
  54. package/dist/index.d.ts +0 -12
  55. package/dist/index.js.map +0 -1
  56. package/dist/types/index.d.ts +0 -122
  57. package/dist/types/index.js +0 -46
  58. package/dist/types/index.js.map +0 -1
  59. package/dist/utils/browser.d.ts +0 -52
  60. package/dist/utils/browser.js +0 -222
  61. package/dist/utils/browser.js.map +0 -1
  62. package/dist/utils/common.d.ts +0 -97
  63. package/dist/utils/common.js +0 -198
  64. package/dist/utils/common.js.map +0 -1
  65. package/dist/utils/crypto.d.ts +0 -53
  66. package/dist/utils/crypto.js +0 -153
  67. package/dist/utils/crypto.js.map +0 -1
  68. package/dist/utils/http.d.ts +0 -58
  69. package/dist/utils/http.js +0 -188
  70. package/dist/utils/http.js.map +0 -1
  71. package/dist/utils/index.d.ts +0 -7
  72. package/dist/utils/index.js +0 -22
  73. package/dist/utils/index.js.map +0 -1
  74. package/dist/utils/logger.d.ts +0 -56
  75. package/dist/utils/logger.js +0 -161
  76. package/dist/utils/logger.js.map +0 -1
  77. package/dist/utils/prompt.d.ts +0 -18
  78. package/dist/utils/prompt.js +0 -77
  79. package/dist/utils/prompt.js.map +0 -1
  80. package/dist/utils/skill-install.d.ts +0 -74
  81. package/dist/utils/skill-install.js +0 -131
  82. package/dist/utils/skill-install.js.map +0 -1
@@ -21,7 +21,7 @@ https://test-agent.beyondclick.com/sino-icenter/mcp/strategy/metrics/facebook/ad
21
21
 
22
22
  ## 说明
23
23
 
24
- 查询 Facebook(Meta)渠道广告的策略维度加成效指标数据。在广告策略配置(广告目标、成效目标、出价方式、受众定向等)的分组下,返回消耗、曝光、点击、购买、安装等成效指标,用于分析哪种策略配置带来更好的投放效果。
24
+ 查询 Facebook(Meta)渠道广告的策略维度加成效指标数据。在广告策略配置(广告目标、成效目标、创意类型、出价方式、受众定向等)的分组下,返回消耗、曝光、点击、购买、安装等成效指标,用于分析哪种策略配置带来更好的投放效果。
25
25
 
26
26
  数据最多支持**近 21 天**。
27
27
 
@@ -70,17 +70,16 @@ https://test-agent.beyondclick.com/sino-icenter/mcp/strategy/metrics/facebook/ad
70
70
  | ad_name | 广告名称 |
71
71
  | objective | 广告目标 |
72
72
  | optimization_goal | 成效目标 |
73
+ | ad_format | 创意类型 |
73
74
  | bid_strategy | 出价方式 |
74
75
  | audience_type | 受众类型 |
75
- | targeting_geo_countries | 定向国家 |
76
- | targeting_geo_country_groups | 定向国家分组 |
77
76
  | targeting_interests | 兴趣词包 |
78
77
  | targeting_flexible_interests | 弹性兴趣词包 |
79
78
  | targeting_exclusion_interests | 排除兴趣词包 |
80
79
  | targeting_age | 年龄 |
81
80
  | targeting_genders | 性别 |
82
81
 
83
- > 与维度接口相比,本接口的 `dimensions` **不含** `bid_amount`(调整出价)。
82
+ > 与维度接口相比,本接口的 `dimensions` **不含** `bid_amount`(调整出价)、`country_code`(国家)。
84
83
 
85
84
  ### indicators 可选值
86
85
 
@@ -124,6 +123,7 @@ https://test-agent.beyondclick.com/sino-icenter/mcp/strategy/metrics/facebook/ad
124
123
  "account_id",
125
124
  "objective",
126
125
  "optimization_goal",
126
+ "ad_format",
127
127
  "bid_strategy"
128
128
  ],
129
129
  "indicators": [
@@ -155,6 +155,7 @@ https://test-agent.beyondclick.com/sino-icenter/mcp/strategy/metrics/facebook/ad
155
155
  "account_id": "广告账户",
156
156
  "objective": "广告目标",
157
157
  "optimization_goal": "成效目标",
158
+ "ad_format": "创意类型",
158
159
  "bid_strategy": "出价方式",
159
160
  "spend_usd": "Spend",
160
161
  "impressions": "Impressions",
@@ -170,6 +171,8 @@ https://test-agent.beyondclick.com/sino-icenter/mcp/strategy/metrics/facebook/ad
170
171
  "display_objective": "转化",
171
172
  "optimization_goal": "OFFSITE_CONVERSIONS",
172
173
  "display_optimization_goal": "网站转化",
174
+ "ad_format": "SINGLE_IMAGE",
175
+ "display_ad_format": "单图",
173
176
  "bid_strategy": "LOWEST_COST_WITHOUT_CAP",
174
177
  "display_bid_strategy": "最低成本",
175
178
  "spend_usd": 618.42,
@@ -0,0 +1,201 @@
1
+ # Google广告策略成效数据
2
+
3
+ - **name**:`icenter-mcp-strategy-metrics-google-ad-list`
4
+ - **displayName**:Google广告策略成效数据
5
+ - **Tool ID**:`9e9d2617c7d64a57b7848dafc8eb5cb3`
6
+ - **请求方法**:`POST`
7
+ - **集成类型**:REST
8
+ - **超时**:20000 ms
9
+ - **状态**:Online / Public / enabled
10
+
11
+ ## 接口地址
12
+
13
+ ```
14
+ https://test-agent.beyondclick.com/sino-icenter/mcp/strategy/metrics/google/ad/list
15
+ ```
16
+
17
+ - **baseUrl**:`https://test-agent.beyondclick.com`(网关地址,三环境同一地址,唯一来源 `src/constants/gateway.ts` 的 `GATEWAY_CONFIG`)
18
+ - **path**:`/sino-icenter/mcp/strategy/metrics/google/ad/list`
19
+
20
+ > 一律经网关调用,不要直连 iCenter 服务地址。
21
+
22
+ ## 说明
23
+
24
+ 查询 Google 渠道广告的策略维度加成效指标数据。在广告策略配置(成效目标、创意类型、出价方式、广告系列类型、关键字等)的分组下,返回消耗、曝光、点击、购买、安装等成效指标,用于分析哪种策略配置带来更好的投放效果。
25
+
26
+ Google 渠道**不支持广告目标和兴趣词包维度**。数据最多支持**近 21 天**。
27
+
28
+ 仅需策略配置、不含成效指标时,请改用 [`icenter-mcp-strategy-dimension-google-ad-list`](./icenter-mcp-strategy-dimension-google-ad-list.md)。
29
+
30
+ ## 请求头
31
+
32
+ | Header | 值 |
33
+ | --- | --- |
34
+ | Content-Type | `application/json` |
35
+
36
+ ## 请求参数
37
+
38
+ 请求体为 JSON object。
39
+
40
+ | 字段 | 类型 | 必填 | 默认值 | 说明 |
41
+ | --- | --- | --- | --- | --- |
42
+ | startDate | string | 是 | — | 开始日期,格式 `yyyy-MM-dd`,例如 `2026-08-01` |
43
+ | endDate | string | 是 | — | 结束日期,格式 `yyyy-MM-dd`,例如 `2026-08-31`。最多支持查询近 21 天 |
44
+ | dimensionValues | object | 是 | — | 过滤条件,**仅支持 `account_id` 一个 key**,传其他 key 会报错 |
45
+ | dimensions | string[] | 是 | — | 分组维度,必传且**不能为空数组**,否则返回结果为空 |
46
+ | indicators | string[] | 是 | — | 成效指标,必传且**不能为空数组** |
47
+ | order | string | 否 | — | 排序字段,填单个 code,取值范围为 `dimensions` 或 `indicators` 的可选值。不必包含在已传的字段中,服务端会自动补入参与排序,但该字段不会作为列返回 |
48
+ | orderType | string | 否 | `asc` | 排序方向:`desc` / `asc` |
49
+ | page | integer | 否 | `1` | 页码,从 1 开始 |
50
+ | size | integer | 否 | `10` | 每页条数,建议显式传且不超过 1000 |
51
+
52
+ ### dimensionValues
53
+
54
+ | 字段 | 类型 | 必填 | 说明 |
55
+ | --- | --- | --- | --- |
56
+ | account_id | string[] | 是 | 广告账户 ID(带格式),必须带前缀,例如 `act_1036928420879324`。最多传 500 个 |
57
+
58
+ ### dimensions 可选值
59
+
60
+ | code | 含义 |
61
+ | --- | --- |
62
+ | calendar_date | 投放日期 |
63
+ | account_id | 广告账户 |
64
+ | account_name | 账户名称 |
65
+ | campaign_id | 广告系列 ID |
66
+ | campaign_name | 广告系列名称 |
67
+ | adgroup_id | 广告组 ID |
68
+ | adgroup_name | 广告组名称 |
69
+ | ad_id | 广告 ID |
70
+ | ad_name | 广告名称 |
71
+ | optimization_goal | 成效目标 |
72
+ | ad_format | 创意类型 |
73
+ | bid_strategy | 出价方式 |
74
+ | audience_type | 受众类型 |
75
+ | targeting_age | 年龄 |
76
+ | targeting_genders | 性别 |
77
+ | cpc_bid_amount | CPC 出价 |
78
+ | cpm_bid_amount | CPM 出价 |
79
+ | cpv_bid_amount | CPV 出价 |
80
+ | advertising_channel_type | 广告系列类型 |
81
+ | keywords | 关键字 |
82
+
83
+ > 与维度接口相比,本接口的 `dimensions` **不含** `country_code`。Google 渠道**不含** `objective`、`targeting_interests`。
84
+
85
+ ### indicators 可选值
86
+
87
+ | code | 含义 |
88
+ | --- | --- |
89
+ | spend_usd | 消耗金额,美元 |
90
+ | impressions | 曝光量 |
91
+ | clicks | 点击量 |
92
+ | video_views | 视频观看次数 |
93
+ | add_to_cart | 添加购物车次数 |
94
+ | checkouts | 发起结账次数 |
95
+ | purchase | 购买次数 |
96
+ | purchase_value | 购买金额,美元 |
97
+ | installs | 应用安装量 |
98
+ | complete_registration | 完成注册量 |
99
+ | leads | 留下潜客信息次数 |
100
+ | engagement | 互动次数 |
101
+
102
+ ## 返回格式
103
+
104
+ - `result.data` 为数据行数组,每行的每个字段有两个 key:
105
+ - **原始值**:key 即请求的 code,如 `spend_usd: 618.42`,做计算或比较时用这个
106
+ - **展示值**:key 加 `display_` 前缀,如 `display_spend_usd: "$618.42"`,直接呈现给用户时用这个,空值为 `"-"`
107
+ - `result.headerMap` 是字段 code 到列名的映射:维度列名为中文,指标列名为英文(如 `spend_usd=Spend`)
108
+ - `result.total` 为总条数,`result.page` 和 `result.size` 为当前分页
109
+ - `result.conflictField` 是传入但当前渠道不支持的指标,会被忽略且不报错;为空数组表示全部指标都生效
110
+ - 外层 `code=0` 表示成功;非 0 时 `result` 为 `null`,失败原因在 `message` 字段里
111
+
112
+ ## 请求示例
113
+
114
+ ```json
115
+ {
116
+ "startDate": "2026-08-10",
117
+ "endDate": "2026-08-31",
118
+ "dimensionValues": {
119
+ "account_id": ["act_1036928420879324"]
120
+ },
121
+ "dimensions": [
122
+ "account_id",
123
+ "optimization_goal",
124
+ "ad_format",
125
+ "bid_strategy",
126
+ "advertising_channel_type"
127
+ ],
128
+ "indicators": [
129
+ "spend_usd",
130
+ "impressions",
131
+ "clicks",
132
+ "purchase",
133
+ "purchase_value"
134
+ ],
135
+ "order": "spend_usd",
136
+ "orderType": "desc",
137
+ "page": 1,
138
+ "size": 20
139
+ }
140
+ ```
141
+
142
+ ## 成功响应示例
143
+
144
+ ```json
145
+ {
146
+ "code": 0,
147
+ "message": "success",
148
+ "result": {
149
+ "page": 1,
150
+ "size": 20,
151
+ "total": 1,
152
+ "conflictField": [],
153
+ "headerMap": {
154
+ "account_id": "广告账户",
155
+ "optimization_goal": "成效目标",
156
+ "ad_format": "创意类型",
157
+ "bid_strategy": "出价方式",
158
+ "advertising_channel_type": "广告系列类型",
159
+ "spend_usd": "Spend",
160
+ "impressions": "Impressions",
161
+ "clicks": "Clicks",
162
+ "purchase": "Purchase",
163
+ "purchase_value": "Purchase Value"
164
+ },
165
+ "data": [
166
+ {
167
+ "account_id": "act_1036928420879324",
168
+ "display_account_id": "act_1036928420879324",
169
+ "optimization_goal": "CONVERSIONS",
170
+ "display_optimization_goal": "转化",
171
+ "ad_format": "RESPONSIVE_SEARCH_AD",
172
+ "display_ad_format": "自适应搜索广告",
173
+ "bid_strategy": "TARGET_CPA",
174
+ "display_bid_strategy": "目标 CPA",
175
+ "advertising_channel_type": "SEARCH",
176
+ "display_advertising_channel_type": "搜索",
177
+ "spend_usd": 618.42,
178
+ "display_spend_usd": "$618.42",
179
+ "impressions": 120340,
180
+ "display_impressions": "120,340",
181
+ "clicks": 3210,
182
+ "display_clicks": "3,210",
183
+ "purchase": 86,
184
+ "display_purchase": "86",
185
+ "purchase_value": 4521.3,
186
+ "display_purchase_value": "$4,521.30"
187
+ }
188
+ ]
189
+ }
190
+ }
191
+ ```
192
+
193
+ ## 失败响应示例
194
+
195
+ ```json
196
+ {
197
+ "code": 1,
198
+ "message": "查询区间超过近21天限制",
199
+ "result": null
200
+ }
201
+ ```
@@ -0,0 +1,204 @@
1
+ # TikTok广告策略成效数据
2
+
3
+ - **name**:`icenter-mcp-strategy-metrics-tiktok-ad-list`
4
+ - **displayName**:TikTok广告策略成效数据
5
+ - **Tool ID**:`7a4fd873723a41b28636d64d46b04bce`
6
+ - **请求方法**:`POST`
7
+ - **集成类型**:REST
8
+ - **超时**:20000 ms
9
+ - **状态**:Online / Public / enabled
10
+
11
+ ## 接口地址
12
+
13
+ ```
14
+ https://test-agent.beyondclick.com/sino-icenter/mcp/strategy/metrics/tiktok/ad/list
15
+ ```
16
+
17
+ - **baseUrl**:`https://test-agent.beyondclick.com`(网关地址,三环境同一地址,唯一来源 `src/constants/gateway.ts` 的 `GATEWAY_CONFIG`)
18
+ - **path**:`/sino-icenter/mcp/strategy/metrics/tiktok/ad/list`
19
+
20
+ > 一律经网关调用,不要直连 iCenter 服务地址。
21
+
22
+ ## 说明
23
+
24
+ 查询 TikTok 渠道广告的策略维度加成效指标数据。在广告策略配置(广告目标、成效目标、创意类型、出价方式、转化出价、深度转化出价、兴趣词包等)的分组下,返回消耗、曝光、点击、购买、安装等成效指标,用于分析哪种策略配置带来更好的投放效果。
25
+
26
+ 数据最多支持**近 21 天**。
27
+
28
+ 仅需策略配置、不含成效指标时,请改用 [`icenter-mcp-strategy-dimension-tiktok-ad-list`](./icenter-mcp-strategy-dimension-tiktok-ad-list.md)。
29
+
30
+ ## 请求头
31
+
32
+ | Header | 值 |
33
+ | --- | --- |
34
+ | Content-Type | `application/json` |
35
+
36
+ ## 请求参数
37
+
38
+ 请求体为 JSON object。
39
+
40
+ | 字段 | 类型 | 必填 | 默认值 | 说明 |
41
+ | --- | --- | --- | --- | --- |
42
+ | startDate | string | 是 | — | 开始日期,格式 `yyyy-MM-dd`,例如 `2026-08-01` |
43
+ | endDate | string | 是 | — | 结束日期,格式 `yyyy-MM-dd`,例如 `2026-08-31`。最多支持查询近 21 天 |
44
+ | dimensionValues | object | 是 | — | 过滤条件,**仅支持 `account_id` 一个 key**,传其他 key 会报错 |
45
+ | dimensions | string[] | 是 | — | 分组维度,必传且**不能为空数组**,否则返回结果为空 |
46
+ | indicators | string[] | 是 | — | 成效指标,必传且**不能为空数组** |
47
+ | order | string | 否 | — | 排序字段,填单个 code,取值范围为 `dimensions` 或 `indicators` 的可选值。不必包含在已传的字段中,服务端会自动补入参与排序,但该字段不会作为列返回 |
48
+ | orderType | string | 否 | `asc` | 排序方向:`desc` / `asc` |
49
+ | page | integer | 否 | `1` | 页码,从 1 开始 |
50
+ | size | integer | 否 | `10` | 每页条数,建议显式传且不超过 1000 |
51
+
52
+ ### dimensionValues
53
+
54
+ | 字段 | 类型 | 必填 | 说明 |
55
+ | --- | --- | --- | --- |
56
+ | account_id | string[] | 是 | 广告账户 ID(带格式),必须带前缀,例如 `act_1036928420879324`。最多传 500 个 |
57
+
58
+ ### dimensions 可选值
59
+
60
+ | code | 含义 |
61
+ | --- | --- |
62
+ | calendar_date | 投放日期 |
63
+ | account_id | 广告账户 |
64
+ | account_name | 账户名称 |
65
+ | campaign_id | 广告系列 ID |
66
+ | campaign_name | 广告系列名称 |
67
+ | adgroup_id | 广告组 ID |
68
+ | adgroup_name | 广告组名称 |
69
+ | ad_id | 广告 ID |
70
+ | ad_name | 广告名称 |
71
+ | optimization_goal | 成效目标 |
72
+ | ad_format | 创意类型 |
73
+ | bid_strategy | 出价方式 |
74
+ | audience_type | 受众类型 |
75
+ | targeting_age | 年龄 |
76
+ | targeting_genders | 性别 |
77
+ | objective | 广告目标 |
78
+ | targeting_interests | 兴趣词包 |
79
+ | conversion_bid | 转化出价 |
80
+ | deep_cpabid | 深度转化出价 |
81
+
82
+ > 与维度接口相比,本接口的 `dimensions` **不含** `bid_amount`(调整出价)、`country_code`(国家)。
83
+
84
+ ### indicators 可选值
85
+
86
+ | code | 含义 |
87
+ | --- | --- |
88
+ | spend_usd | 消耗金额,美元 |
89
+ | impressions | 曝光量 |
90
+ | clicks | 点击量 |
91
+ | video_views | 视频观看次数 |
92
+ | add_to_cart | 添加购物车次数 |
93
+ | checkouts | 发起结账次数 |
94
+ | purchase | 购买次数 |
95
+ | purchase_value | 购买金额,美元 |
96
+ | installs | 应用安装量 |
97
+ | complete_registration | 完成注册量 |
98
+ | leads | 留下潜客信息次数 |
99
+ | engagement | 互动次数 |
100
+
101
+ ## 返回格式
102
+
103
+ - `result.data` 为数据行数组,每行的每个字段有两个 key:
104
+ - **原始值**:key 即请求的 code,如 `spend_usd: 618.42`,做计算或比较时用这个
105
+ - **展示值**:key 加 `display_` 前缀,如 `display_spend_usd: "$618.42"`,直接呈现给用户时用这个,空值为 `"-"`
106
+ - `result.headerMap` 是字段 code 到列名的映射:维度列名为中文,指标列名为英文(如 `spend_usd=Spend`)
107
+ - `result.total` 为总条数,`result.page` 和 `result.size` 为当前分页
108
+ - `result.conflictField` 是传入但当前渠道不支持的指标,会被忽略且不报错;为空数组表示全部指标都生效
109
+ - 外层 `code=0` 表示成功;非 0 时 `result` 为 `null`,失败原因在 `message` 字段里
110
+
111
+ ## 请求示例
112
+
113
+ ```json
114
+ {
115
+ "startDate": "2026-08-10",
116
+ "endDate": "2026-08-31",
117
+ "dimensionValues": {
118
+ "account_id": ["act_1036928420879324"]
119
+ },
120
+ "dimensions": [
121
+ "account_id",
122
+ "objective",
123
+ "optimization_goal",
124
+ "ad_format",
125
+ "bid_strategy",
126
+ "conversion_bid"
127
+ ],
128
+ "indicators": [
129
+ "spend_usd",
130
+ "impressions",
131
+ "clicks",
132
+ "purchase",
133
+ "purchase_value"
134
+ ],
135
+ "order": "spend_usd",
136
+ "orderType": "desc",
137
+ "page": 1,
138
+ "size": 20
139
+ }
140
+ ```
141
+
142
+ ## 成功响应示例
143
+
144
+ ```json
145
+ {
146
+ "code": 0,
147
+ "message": "success",
148
+ "result": {
149
+ "page": 1,
150
+ "size": 20,
151
+ "total": 1,
152
+ "conflictField": [],
153
+ "headerMap": {
154
+ "account_id": "广告账户",
155
+ "objective": "广告目标",
156
+ "optimization_goal": "成效目标",
157
+ "ad_format": "创意类型",
158
+ "bid_strategy": "出价方式",
159
+ "conversion_bid": "转化出价",
160
+ "spend_usd": "Spend",
161
+ "impressions": "Impressions",
162
+ "clicks": "Clicks",
163
+ "purchase": "Purchase",
164
+ "purchase_value": "Purchase Value"
165
+ },
166
+ "data": [
167
+ {
168
+ "account_id": "act_1036928420879324",
169
+ "display_account_id": "act_1036928420879324",
170
+ "objective": "CONVERSIONS",
171
+ "display_objective": "转化",
172
+ "optimization_goal": "CONVERT",
173
+ "display_optimization_goal": "转化",
174
+ "ad_format": "SINGLE_VIDEO",
175
+ "display_ad_format": "单视频",
176
+ "bid_strategy": "BID_TYPE_CUSTOM",
177
+ "display_bid_strategy": "自定义出价",
178
+ "conversion_bid": "12.5",
179
+ "display_conversion_bid": "12.5",
180
+ "spend_usd": 618.42,
181
+ "display_spend_usd": "$618.42",
182
+ "impressions": 120340,
183
+ "display_impressions": "120,340",
184
+ "clicks": 3210,
185
+ "display_clicks": "3,210",
186
+ "purchase": 86,
187
+ "display_purchase": "86",
188
+ "purchase_value": 4521.3,
189
+ "display_purchase_value": "$4,521.30"
190
+ }
191
+ ]
192
+ }
193
+ }
194
+ ```
195
+
196
+ ## 失败响应示例
197
+
198
+ ```json
199
+ {
200
+ "code": 1,
201
+ "message": "查询区间超过近21天限制",
202
+ "result": null
203
+ }
204
+ ```