PPSPYAPI Platform
中文 / EN
接口参考

广告店铺的落地页统计 API

GET/open-api/v1/ad-stores/landing-pages-ad-count
·api.ppspy.com
数据与监控消耗规则

数据消耗规则:1. 获取一条shopify数据结果消耗 1 数据 或者 获取一条广告库数据结果消耗 2 数据,获取数据结果的更多数据详情不消耗数据。 2. 广告监控 & 销量监控,每次监控 $1 / 月。单个监控有效期为一个月,一个月后自动停止。删除监控不会恢复监控次数,请谨慎删除。监控调用为随时且无限次。

请求头

AUTHORIZATIONAuthorization: {API Key}
CONTENT-TYPEapplication/json
ACCEPTapplication/json

请求示例

cURL
curl --location --request GET 'https://api.ppspy.com/open-api/v1/ad-stores/landing-pages-ad-count?store_id=3da0b54f87306bebc81196bcf8cdba02' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: {API Key}'

请求参数 18 项

按参数标注的位置传入请求。

参数 类型 说明
store_id
query · 必填
string 广告店铺ID |
landing_page
query · 可选
string 落地页链接 |
order_by
query · 可选
string 排序字段,可选值:ad_count-总广告数,active_ad_count-活跃广告数,active_days-投放天数,ad_started_at-广告投放开始时间,latest_ad_started_at-最近广告时间。 |
direction
query · 可选
string 排序方式,可选值:desc-降序,asc-升序。 |
page
query · 可选
integer 页码,最小值等于1。 |
per_page
query · 可选
integer 分页大小,取值范围1-100。 |
keyword
query · 可选
string 关键词搜索 |
active_ad_count_start
query · 可选
integer 活跃广告数(开始) |
active_ad_count_end
query · 可选
integer 活跃广告数(结束) |
ad_count_start
query · 可选
integer 广告数(开始) |
ad_count_end
query · 可选
integer 广告数(结束) |
active_days_start
query · 可选
integer 投放天数(开始) |
active_days_end
query · 可选
integer 投放天数(结束) |
ad_started_at_start
query · 可选
integer 广告投放开始时间(开始),时间戳:秒。 |
ad_started_at_end
query · 可选
integer 广告投放开始时间(结束),时间戳:秒。 |
latest_ad_started_at_start
query · 可选
integer 最近广告时间(开始),时间戳:秒。 |
latest_ad_started_at_end
query · 可选
integer 最近广告时间(结束),时间戳:秒。 |
with_ad_started_at_group
query · 可选
string 返回首次广告日期的统计 |

返回示例

返回示例 · JSON
{
    "code": 200,
    "message": "success",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": "a77dfdcdeea07d0fc81196bcf8cdba02",
                "landing_page_md5": "d91e2f723e0be40a5d64048e5bb4ce25",
                "landing_page": "https://bloery.com/products/blue-flared-sleeve-satin-maxi-dress",
                "ad_count": 1,
                "active_ad_count": 1,
                "active_days": 1,
                "ad_started_at": 1728370800,
                "ad_ended_at": 1728370800,
                "latest_ad_started_at": 1728370800
            }
        ],
        "last_page": 1,
        "per_page": 10,
        "total": 1,
        "ad_started_at_group": {
            "total": 1,
            "today": 0,
            "yesterday": 0,
            "last_7_days": 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
»» current_page integer true none 当前页码 none
»» data [object] true none 数据列表 none
»»» id string true none none
»»» landing_page_md5 string true none 落地页的MD5 none
»»» landing_page string true none 落地页 none
»»» ad_count integer true none 广告数 none
»»» active_ad_count integer true none 活跃广告数 none
»»» active_days integer true none 投放天数 none
»»» ad_started_at integer true none 广告投放开始时间 时间戳:秒。
»»» ad_ended_at integer true none 广告投放结束时间 时间戳:秒。
»»» latest_ad_started_at integer true none 最近广告日期 时间戳:秒。
»» last_page integer true none 最后一页的页码 none
»» per_page integer true none 分页大小 none
»» total integer true none 总数据量 none
»» ad_started_at_group object false none 首次广告日期的统计 请求参数中设置了with_ad_started_at_group才会返回。
»»» total integer true none 全部 none
»»» today integer true none 今日 none
»»» yesterday integer true none 昨日 none
»»» last_7_days 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 类型的总数量
来自现有接口目录与文档 · 支持接口名称和地址搜索