接口参考
广告店铺详情 API
GET
/open-api/v1/ad-stores/{id}·api.ppspy.com
数据与监控消耗规则
数据消耗规则:1. 获取一条shopify数据结果消耗 1 数据 或者 获取一条广告库数据结果消耗 2 数据,获取数据结果的更多数据详情不消耗数据。 2. 广告监控 & 销量监控,每次监控 $1 / 月。单个监控有效期为一个月,一个月后自动停止。删除监控不会恢复监控次数,请谨慎删除。监控调用为随时且无限次。
请求头
AUTHORIZATION
Authorization: {API Key}CONTENT-TYPE
application/jsonACCEPT
application/json请求示例
cURL
curl --location --request GET 'https://api.ppspy.com/open-api/v1/ad-stores/3da0b54f87306bebc81196bcf8cdba02' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: {API Key}' 请求参数
按参数标注的位置传入请求。
| 参数 | 类型 | 说明 |
|---|---|---|
| id
path · 必填
| string | 广告店铺ID | |
返回示例
返回示例 · JSON
{
"code": 200,
"message": "success",
"data": {
"store": {
"id": "3da0b54f87306bebc81196bcf8cdba02",
"name": "bloery",
"logo_url": null,
"e_commerce_platform": "shopify",
"source_store_link": "https://bloery.com",
"source_store_domain": "e0fefd-f3.myshopify.com",
"ad_product_count": 0,
"month_visits": null,
"ad_country": [],
"ad_platform": [
"FACEBOOK",
"INSTAGRAM",
"AUDIENCE_NETWORK",
"MESSENGER"
],
"ad_status": 1,
"adset_count": 1,
"active_ad_count": 1,
"inactive_ad_count": 0,
"removed_ad_count": 0,
"ad_count": 1,
"ad_audience_reach": 0,
"ad_cost": 0,
"active_days": 1,
"ad_started_at": 1728370800,
"ad_ended_at": 1728370800,
"advertiser_count": 1,
"user_collected": 2
},
"is_monitoring": false,
"is_monitoring_ad": false
},
"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 |
| »» store | object | true | none | 广告店铺 | none |
| »»» id | string | true | none | 广告店铺ID | none |
| »»» name | string | true | none | 店铺名称 | none |
| »»» logo_url | string¦null | true | none | 店铺logo | none |
| »»» e_commerce_platform | string | true | none | 电商系统 | none |
| »»» source_store_link | string | true | none | 店铺链接 | none |
| »»» source_store_domain | string | true | none | 店铺域名 | none |
| »»» ad_product_count | integer¦null | true | none | 广告产品数量 | none |
| »»» month_visits | integer¦null | true | none | 店铺月流量 | none |
| »»» ad_country | [string] | true | none | 广告投放国家 | none |
| »»» ad_platform | [string] | true | none | 广告平台 | none |
| »»» ad_status | integer | true | none | 广告状态 | 可选值:1-活跃中,2-已停止。 |
| »»» adset_count | integer | true | none | 总广告组数 | none |
| »»» active_ad_count | integer | true | none | 活跃广告数 | none |
| »»» inactive_ad_count | integer | true | none | 不活跃的广告数 | none |
| »»» removed_ad_count | integer | true | none | 已下架的广告数 | none |
| »»» ad_count | integer | true | none | 总广告数 | none |
| »»» ad_audience_reach | integer¦null | true | none | 覆盖人数 | none |
| »»» ad_cost | number¦null | true | none | 广告花费 | 单位:美元。 |
| »»» active_days | integer | true | none | 广告天数 | none |
| »»» ad_started_at | integer | true | none | 广告开始时间 | 时间戳:秒。 |
| »»» ad_ended_at | integer | true | none | 广告结束时间 | 时间戳:秒。 |
| »»» advertiser_count | integer | true | none | 广告主数量 | none |
| »»» user_collected | integer | true | none | 用户已收藏 | 可选值:1-未收藏,2-已收藏。 |
| »» is_monitoring | boolean | true | none | 是否正在监控销量 | none |
| »» is_monitoring_ad | boolean | 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 类型的总数量 |
