接口参考
监控中任务的概况 API
POST
/open-api/v1/ad-monitor-task/board免费·api.ppspy.com数据与监控消耗规则
数据消耗规则:1. 获取一条shopify数据结果消耗 1 数据 或者 获取一条广告库数据结果消耗 2 数据,获取数据结果的更多数据详情不消耗数据。 2. 广告监控 & 销量监控,每次监控 $1 / 月。单个监控有效期为一个月,一个月后自动停止。删除监控不会恢复监控次数,请谨慎删除。监控调用为随时且无限次。
请求头
AUTHORIZATION
Authorization: {API Key}CONTENT-TYPE
application/jsonACCEPT
application/json请求示例
cURL
curl --location --request POST 'https://api.ppspy.com/open-api/v1/ad-monitor-task/board' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: {API Key}' \
--data-raw '{
"group_id": "35622212697da51ca565351d498f6941"
}' 请求参数
按参数标注的位置传入请求。
| 参数 | 类型 | 说明 |
|---|---|---|
| body
body · 可选
| object | | none |
| » group_id
body · 可选
| string | 分组ID | none |
返回示例
返回示例 · JSON
{
"code": 200,
"message": "success",
"data": {
"ad_total_count": 727,
"ad_total_active_count": 31,
"ad_today_count": 0,
"ad_yesterday_count": 0,
"ad_seven_day_count": 12,
"landing_page_total_count": 43,
"landing_page_today_count": 0,
"landing_page_yesterday_count": 0,
"landing_page_seven_day_count": 0,
"product_total_count": 30,
"product_today_count": 0,
"product_yesterday_count": 0,
"product_seven_day_count": 0
},
"credits": {
"remaining_credits": 745,
"consumed_credits": 0,
"total_credits": 745
}
}
文档中的示例数据
返回数据结构
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » code | integer | true | none | 业务状态码 | none |
| » message | string | true | none | 响应的消息 | none |
| » data | object | true | none | 响应的数据 | none |
| »» ad_total_count | integer | true | none | 总广告数 | none |
| »» ad_total_active_count | integer | true | none | 总活跃 | none |
| »» ad_today_count | integer | true | none | 今日新增广告数 | none |
| »» ad_yesterday_count | integer | true | none | 昨日新增广告数 | none |
| »» ad_seven_day_count | integer | true | none | 近7日新增广告数 | none |
| »» landing_page_total_count | integer | true | none | 落地页总数 | none |
| »» landing_page_today_count | integer | true | none | 落地页今日新增 | none |
| »» landing_page_yesterday_count | integer | true | none | 落地页昨日新增 | none |
| »» landing_page_seven_day_count | integer | true | none | 落地页近7日新增 | none |
| »» product_total_count | integer | true | none | 总产品数 | none |
| »» product_today_count | integer | true | none | 产品今日新增 | none |
| »» product_yesterday_count | integer | true | none | 产品昨日新增 | none |
| »» product_seven_day_count | integer | true | none | 产品近7日新增 | none |
| » credits | object | true | none | Credits 信息 | 当前 API 请求对应的 credits 信息 |
| »» remaining_credits | integer | true | none | 剩余 credits | 本次请求后剩余的 credits 数量 |
| »» consumed_credits | integer | true | none | 消耗 credits | 本次请求消耗的 credits 数量 |
| »» total_credits | integer | true | none | 总 credits | 当前 credits 类型的总数量 |
