接口参考
监控任务的广告文案(最多使用) API
POST
/open-api/v1/ad-monitor-task/ad-copy-most-used免费·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/ad-copy-most-used' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: {API Key}' \
--data-raw '{
"task_id": "902175d02614903e4944dfdfe85bbb4d",
"order_by": "ad_count",
"direction": "desc",
"page": 1,
"per_page": 10
}' 请求参数
按参数标注的位置传入请求。
| 参数 | 类型 | 说明 |
|---|---|---|
| body
body · 可选
| object | | none |
| » task_id
body · 必填
| string | 监控任务ID | none |
| » order_by
body · 可选
| string | 排序字段 | 可选值:ad_count-广告数,last_discovered_at-最近使用日期。 |
| » direction
body · 可选
| string | 排序方式 | 可选值:desc-降序,asc-升序。 |
| » page
body · 可选
| integer | 页码 | 最小值等于1。 |
| » per_page
body · 可选
| integer | 分页大小 | 取值范围1-100。 |
返回示例
返回示例 · JSON
{
"code": 200,
"message": "success",
"data": {
"current_page": 1,
"data": [
{
"ad_content": "🙌 Embrace a world of choice, comfort, and stunning style for sizes 10-30. Shop now and express yourself like never before.💃",
"ad_count": 4415,
"proportion": 8.62,
"last_discovered_at": 1761289200
},
{
"ad_content": "Are you ready for your next chapter? Our new styles are about to become your favorites 🧡",
"ad_count": 4021,
"proportion": 7.85,
"last_discovered_at": 1761202800
},
{
"ad_content": "✨ Elevate your style to new heights, tailored uniquely to your taste.",
"ad_count": 3583,
"proportion": 7,
"last_discovered_at": 1761289200
},
{
"ad_content": "Get ready to be amazed! Our latest arrivals at BloomChic are flying off the shelves. Don't wait too long – grab them before they're gone!",
"ad_count": 3579,
"proportion": 6.99,
"last_discovered_at": 1761202800
},
{
"ad_content": "🏖️ From size 10 to 30, every body deserves to shine! Our inclusive range of plus-size swimwear offers unbeatable prices without compromising on style or fit. Don't settle for less, dive into affordable luxury today!",
"ad_count": 3576,
"proportion": 6.99,
"last_discovered_at": 1761289200
},
{
"ad_content": "Are you ready for your next chapter? Our new styles are about to become your favorites 💖",
"ad_count": 1713,
"proportion": 3.35,
"last_discovered_at": 1761202800
},
{
"ad_content": "🎃It's officially Halloween at BloomChic! Shop our spooky-cute outfits for all your wicked plans. Don't miss out on the magic! 🕸️🖤",
"ad_count": 1475,
"proportion": 2.88,
"last_discovered_at": 1761116400
},
{
"ad_content": "Your curves deserve only the BEST. \nShop promotional items in sizes 10-30 and find styles in every trend. 🙌",
"ad_count": 1261,
"proportion": 2.46,
"last_discovered_at": 1761202800
},
{
"ad_content": "🏖️ Dive in and redefine your beach days with a fashion-forward splash! Time to shop, strut, and shine! 👙🌈🌞",
"ad_count": 1002,
"proportion": 1.96,
"last_discovered_at": 1761289200
},
{
"ad_content": "✨ Find the perfect outfit for any occasion at BloomChic. Check out these styles for sizes 10-30🏖️",
"ad_count": 606,
"proportion": 1.18,
"last_discovered_at": 1761202800
}
],
"last_page": 280,
"per_page": 10,
"total": 2792
},
"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 |
| »» current_page | integer | true | none | 当前页码 | none |
| »» data | [object] | true | none | 数据列表 | none |
| »»» ad_content | string | true | none | 文案内容 | none |
| »»» ad_count | integer | true | none | 使用该文案的广告数量 | none |
| »»» proportion | number | true | none | 比例 (百分比) | none |
| »»» last_discovered_at | integer¦null | true | none | 最近使用日期 | 时间戳:秒。 |
| »» last_page | integer | true | none | 最后一页的页码 | none |
| »» per_page | integer | true | none | 分页大小 | none |
| »» total | integer | true | none | 总数据量 | 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 类型的总数量 |
