Skip to content

Total user active

GET v1/ad/platform/count/:provider_owner_id/:provider_id/active

Request

namenecessarytypedefaultdescribe
start_datetruestring-开始日期(start date)
end_datetruestring-结束日期(end date)

Response data struct

namenecessarytypedefaultdescribe
codetrueint-错误码(error code)
messagetruestring-错误信息(error message)
causetruestring-错误原因(error cause)
detailstrueobject-详情(details)
-count_user_active_daytruearray-统计-用户-日活(count-user-day active)
--timetruestring-时间(time)
--numtrueint-数值(num)
-count_user_active_weektruearray-统计-用户-周活(count-user-week active)
--start_datetruestring-开始时间(start time)
--end_datetruestring-结束时间(end time)
--numtrueint-数值(num)
-count_user_active_Monthtruearray-计-用户-月活(count-user-month active)
--timetruestring-时间(time)
--numtrueint-数值(num)
-count_user_active_ratetruearray-统计-用户-活跃率(count-user-active rate)
--timetruestring-时间(time)
--numtruefloat-数值(num)

Example

  • Url params: v1/ad/provider/count/33/20221209093553w5DaBXtp/active

  • Query Params:

keyvalue
start_date2023-01-01
end_date2023-03-20
  • Header:
keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "count_user_active_day": [
            {
                "time": "2023-01-08",
                "num": 2
            },
            {
                "time": "2023-01-09",
                "num": 0
            },
            {
                "time": "2023-01-10",
                "num": 0
            },
            {
                "time": "2023-01-11",
                "num": 0
            },
            {
                "time": "2023-01-12",
                "num": 0
            },
            {
                "time": "2023-01-13",
                "num": 0
            },
            {
                "time": "2023-01-14",
                "num": 0
            },
            {
                "time": "2023-01-15",
                "num": 0
            },
            {
                "time": "2023-01-16",
                "num": 0
            },
            {
                "time": "2023-01-17",
                "num": 0
            },
            {
                "time": "2023-01-18",
                "num": 0
            },
            {
                "time": "2023-01-19",
                "num": 0
            },
            {
                "time": "2023-01-20",
                "num": 0
            },
            {
                "time": "2023-01-21",
                "num": 0
            },
            {
                "time": "2023-01-22",
                "num": 0
            },
            {
                "time": "2023-01-23",
                "num": 0
            },
            {
                "time": "2023-01-24",
                "num": 0
            },
            {
                "time": "2023-01-25",
                "num": 0
            },
            {
                "time": "2023-01-26",
                "num": 0
            },
            {
                "time": "2023-01-27",
                "num": 0
            },
            {
                "time": "2023-01-28",
                "num": 0
            },
            {
                "time": "2023-01-29",
                "num": 0
            },
            {
                "time": "2023-01-30",
                "num": 0
            },
            {
                "time": "2023-01-31",
                "num": 0
            },
            {
                "time": "2023-02-01",
                "num": 0
            },
            {
                "time": "2023-02-02",
                "num": 0
            },
            {
                "time": "2023-02-03",
                "num": 0
            },
            {
                "time": "2023-02-04",
                "num": 0
            },
            {
                "time": "2023-02-05",
                "num": 0
            },
            {
                "time": "2023-02-06",
                "num": 0
            }
        ],
        "count_user_active_week": [
            {
                "start_date": "2023-01-08",
                "end_time": "2023-01-14",
                "num": 2
            },
            {
                "start_date": "2023-01-15",
                "end_time": "2023-01-21",
                "num": 0
            },
            {
                "start_date": "2023-01-22",
                "end_time": "2023-01-28",
                "num": 0
            },
            {
                "start_date": "2023-01-29",
                "end_time": "2023-02-04",
                "num": 0
            },
            {
                "start_date": "2023-02-05",
                "end_time": "2023-02-11",
                "num": 0
            }
        ],
        "count_user_active_month": [
            {
                "time": "2023-01",
                "num": 2
            },
            {
                "time": "2023-02",
                "num": 0
            }
        ],
        "count_user_active_rate": [
            {
                "time": "2023-02-06",
                "num": 0
            }
        ]
    }
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {
        "count_user_active_day": [
            {
                "time": "2023-01-08",
                "num": 2
            },
            {
                "time": "2023-01-09",
                "num": 0
            },
            {
                "time": "2023-01-10",
                "num": 0
            },
            {
                "time": "2023-01-11",
                "num": 0
            },
            {
                "time": "2023-01-12",
                "num": 0
            },
            {
                "time": "2023-01-13",
                "num": 0
            },
            {
                "time": "2023-01-14",
                "num": 0
            },
            {
                "time": "2023-01-15",
                "num": 0
            },
            {
                "time": "2023-01-16",
                "num": 0
            },
            {
                "time": "2023-01-17",
                "num": 0
            },
            {
                "time": "2023-01-18",
                "num": 0
            },
            {
                "time": "2023-01-19",
                "num": 0
            },
            {
                "time": "2023-01-20",
                "num": 0
            },
            {
                "time": "2023-01-21",
                "num": 0
            },
            {
                "time": "2023-01-22",
                "num": 0
            },
            {
                "time": "2023-01-23",
                "num": 0
            },
            {
                "time": "2023-01-24",
                "num": 0
            },
            {
                "time": "2023-01-25",
                "num": 0
            },
            {
                "time": "2023-01-26",
                "num": 0
            },
            {
                "time": "2023-01-27",
                "num": 0
            },
            {
                "time": "2023-01-28",
                "num": 0
            },
            {
                "time": "2023-01-29",
                "num": 0
            },
            {
                "time": "2023-01-30",
                "num": 0
            },
            {
                "time": "2023-01-31",
                "num": 0
            },
            {
                "time": "2023-02-01",
                "num": 0
            },
            {
                "time": "2023-02-02",
                "num": 0
            },
            {
                "time": "2023-02-03",
                "num": 0
            },
            {
                "time": "2023-02-04",
                "num": 0
            },
            {
                "time": "2023-02-05",
                "num": 0
            },
            {
                "time": "2023-02-06",
                "num": 0
            }
        ],
        "count_user_active_week": [
            {
                "start_date": "2023-01-08",
                "end_time": "2023-01-14",
                "num": 2
            },
            {
                "start_date": "2023-01-15",
                "end_time": "2023-01-21",
                "num": 0
            },
            {
                "start_date": "2023-01-22",
                "end_time": "2023-01-28",
                "num": 0
            },
            {
                "start_date": "2023-01-29",
                "end_time": "2023-02-04",
                "num": 0
            },
            {
                "start_date": "2023-02-05",
                "end_time": "2023-02-11",
                "num": 0
            }
        ],
        "count_user_active_month": [
            {
                "time": "2023-01",
                "num": 2
            },
            {
                "time": "2023-02",
                "num": 0
            }
        ],
        "count_user_active_rate": [
            {
                "time": "2023-02-06",
                "num": 0
            }
        ]
    }
}