sino-bc-cli 1.7.0 → 1.8.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.
@@ -1,202 +0,0 @@
1
- # Facebook广告策略成效数据
2
-
3
- - **name**:`icenter-mcp-strategy-metrics-facebook-ad-list`
4
- - **displayName**:Facebook广告策略成效数据
5
- - **Tool ID**:`21c4cd671d074b938a75234dae5985ee`
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/facebook/ad/list
15
- ```
16
-
17
- - **baseUrl**:`https://test-agent.beyondclick.com`(网关地址,三环境同一地址,唯一来源 `src/constants/gateway.ts` 的 `GATEWAY_CONFIG`)
18
- - **path**:`/sino-icenter/mcp/strategy/metrics/facebook/ad/list`
19
-
20
- > 一律经网关调用,不要直连 iCenter 服务地址。
21
-
22
- ## 说明
23
-
24
- 查询 Facebook(Meta)渠道广告的策略维度加成效指标数据。在广告策略配置(广告目标、成效目标、创意类型、出价方式、受众定向等)的分组下,返回消耗、曝光、点击、购买、安装等成效指标,用于分析哪种策略配置带来更好的投放效果。
25
-
26
- 数据最多支持**近 21 天**。
27
-
28
- 仅需策略配置、不含成效指标时,请改用 [`icenter-mcp-strategy-dimension-facebook-ad-list`](./icenter-mcp-strategy-dimension-facebook-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` 的可选值。不必包含在已传的 `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_` 前缀,例如 `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
- | objective | 广告目标 |
72
- | optimization_goal | 成效目标 |
73
- | ad_format | 创意类型 |
74
- | bid_strategy | 出价方式 |
75
- | audience_type | 受众类型 |
76
- | targeting_interests | 兴趣词包 |
77
- | targeting_flexible_interests | 弹性兴趣词包 |
78
- | targeting_exclusion_interests | 排除兴趣词包 |
79
- | targeting_age | 年龄 |
80
- | targeting_genders | 性别 |
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 到列名的映射:
107
- - 维度列名为中文(如 `objective=广告目标`)
108
- - 指标列名为英文(如 `spend_usd=Spend`)
109
- - `result.total` 为总条数,`result.page` 和 `result.size` 为当前分页
110
- - `result.conflictField` 是传入但当前渠道不支持的指标,会被忽略且不报错;为空数组表示全部指标都生效
111
- - 外层 `code=0` 表示成功;非 0 时 `result` 为 `null`,失败原因在 `message` 字段里
112
-
113
- ## 请求示例
114
-
115
- ```json
116
- {
117
- "startDate": "2026-08-10",
118
- "endDate": "2026-08-31",
119
- "dimensionValues": {
120
- "account_id": ["act_1036928420879324"]
121
- },
122
- "dimensions": [
123
- "account_id",
124
- "objective",
125
- "optimization_goal",
126
- "ad_format",
127
- "bid_strategy"
128
- ],
129
- "indicators": [
130
- "spend_usd",
131
- "impressions",
132
- "clicks",
133
- "purchase",
134
- "purchase_value"
135
- ],
136
- "order": "spend_usd",
137
- "orderType": "desc",
138
- "page": 1,
139
- "size": 20
140
- }
141
- ```
142
-
143
- ## 成功响应示例
144
-
145
- ```json
146
- {
147
- "code": 0,
148
- "message": "success",
149
- "result": {
150
- "page": 1,
151
- "size": 20,
152
- "total": 1,
153
- "conflictField": [],
154
- "headerMap": {
155
- "account_id": "广告账户",
156
- "objective": "广告目标",
157
- "optimization_goal": "成效目标",
158
- "ad_format": "创意类型",
159
- "bid_strategy": "出价方式",
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": "OFFSITE_CONVERSIONS",
173
- "display_optimization_goal": "网站转化",
174
- "ad_format": "SINGLE_IMAGE",
175
- "display_ad_format": "单图",
176
- "bid_strategy": "LOWEST_COST_WITHOUT_CAP",
177
- "display_bid_strategy": "最低成本",
178
- "spend_usd": 618.42,
179
- "display_spend_usd": "$618.42",
180
- "impressions": 120340,
181
- "display_impressions": "120,340",
182
- "clicks": 3210,
183
- "display_clicks": "3,210",
184
- "purchase": 86,
185
- "display_purchase": "86",
186
- "purchase_value": 4521.3,
187
- "display_purchase_value": "$4,521.30"
188
- }
189
- ]
190
- }
191
- }
192
- ```
193
-
194
- ## 失败响应示例
195
-
196
- ```json
197
- {
198
- "code": 1,
199
- "message": "查询区间超过近21天限制",
200
- "result": null
201
- }
202
- ```
@@ -1,201 +0,0 @@
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
- ```
@@ -1,204 +0,0 @@
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
- ```
@@ -1,71 +0,0 @@
1
- # 查询git最新提交版本
2
-
3
- - **name**:`icenter-mcp-version-query`
4
- - **displayName**:查询git最新提交版本
5
- - **Tool ID**:`4168bfbf86f6471bb35c6bcff0d12d06`
6
- - **请求方法**:`GET`
7
- - **集成类型**:REST
8
- - **超时**:20000 ms
9
- - **状态**:Online / Public / enabled
10
-
11
- ## 接口地址
12
-
13
- ```
14
- https://test-agent.beyondclick.com/sino-icenter/version
15
- ```
16
-
17
- - **baseUrl**:`https://test-agent.beyondclick.com`(网关地址,三环境同一地址,唯一来源 `src/constants/gateway.ts` 的 `GATEWAY_CONFIG`)
18
- - **path**:`/sino-icenter/version`
19
-
20
- > 一律经网关调用,不要直连 iCenter 服务地址。
21
-
22
- ## 说明
23
-
24
- 查询 iCenter 服务 git 最新提交版本。无请求参数、无请求体。
25
-
26
- ## 请求头
27
-
28
- 无必填 Header。`inputSchema` 为空 object。
29
-
30
- ## 请求参数
31
-
32
- 无。
33
-
34
- ## 请求示例
35
-
36
- ```http
37
- GET /sino-icenter/version HTTP/1.1
38
- Host: test-agent.beyondclick.com
39
- ```
40
-
41
- ## 响应说明
42
-
43
- 响应 `Content-Type` 为 `text/plain`,正文为 JSON。上游未声明 `outputSchema`,以下为实测返回。
44
-
45
- | 字段 | 类型 | 说明 |
46
- | --- | --- | --- |
47
- | git.branch | string | 当前分支或对应提交 |
48
- | git.build.time | string | 构建时间 |
49
- | git.build.version | string | 构建版本号 |
50
- | git.commit.id.abbrev | string | 短 commit id |
51
- | git.commit.id.full | string | 完整 commit id |
52
- | git.commit.message.short | string | 提交说明(短) |
53
- | git.commit.time | string | 提交时间 |
54
- | git.commit.user.name | string | 提交人 |
55
- | git.total.commit.count | string | 提交总数 |
56
-
57
- ## 成功响应示例(实测)
58
-
59
- ```json
60
- {
61
- "git.branch": "35766a833e29865f49e4370ad19f34ca32bb02da",
62
- "git.build.time": "2026-09-04T06:48:35+0000",
63
- "git.build.version": "1.2.6",
64
- "git.commit.id.abbrev": "35766a8",
65
- "git.commit.id.full": "35766a833e29865f49e4370ad19f34ca32bb02da",
66
- "git.commit.message.short": "策略生成0.5",
67
- "git.commit.time": "2026-09-04T06:37:40+0000",
68
- "git.commit.user.name": "cheng.wang",
69
- "git.total.commit.count": "5"
70
- }
71
- ```