PPSPYAPI Platform
中文 / EN
接口参考

店铺的投放分析 API

GET/open-api/v1/ad-stores/deep-analysis
·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/deep-analysis?store_id=3da0b54f87306bebc81196bcf8cdba02' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: {API Key}'

请求参数 1 项

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

参数 类型 说明
store_id
query · 必填
string 广告店铺ID |

返回示例

返回示例 · JSON
{
    "code": 200,
    "message": "success",
    "data": {
        "daily": {
            "week_0": {
                "ad_count": 0,
                "percentage": 0
            },
            "week_1": {
                "ad_count": 0,
                "percentage": 0
            },
            "week_2": {
                "ad_count": 0,
                "percentage": 0
            },
            "week_3": {
                "ad_count": 2,
                "percentage": 66.67
            },
            "week_4": {
                "ad_count": 1,
                "percentage": 33.33
            },
            "week_5": {
                "ad_count": 0,
                "percentage": 0
            },
            "week_6": {
                "ad_count": 0,
                "percentage": 0
            }
        },
        "time": {
            "time_1": {
                "ad_count": 3,
                "percentage": 100
            },
            "time_2": {
                "ad_count": 0,
                "percentage": 0
            },
            "time_3": {
                "ad_count": 0,
                "percentage": 0
            },
            "time_4": {
                "ad_count": 0,
                "percentage": 0
            },
            "time_5": {
                "ad_count": 0,
                "percentage": 0
            },
            "time_6": {
                "ad_count": 0,
                "percentage": 0
            },
            "time_7": {
                "ad_count": 0,
                "percentage": 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
»» daily object true none 按天 none
»»» week_1 object true none 周一 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» week_2 object true none 周二 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» week_3 object true none 周三 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» week_4 object true none 周四 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» week_5 object true none 周五 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» week_6 object true none 周六 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» week_0 object true none 周日 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»» time object true none 按时段 none
»»» time_1 object true none 06:00-09:00 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» time_2 object true none 09:00-12:00 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» time_3 object true none 12:00-15:00 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» time_4 object true none 15:00-18:00 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» time_5 object true none 18:00-21:00 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» time_6 object true none 21:00-23:00 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true none 占比 百分比
»»» time_7 object true none 23:00-06:00 none
»»»» ad_count integer true none 广告数 none
»»»» percentage number true 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 类型的总数量
来自现有接口目录与文档 · 支持接口名称和地址搜索