查询广告 /v2/activities/ads/list4Client GET QUERY

参数名 参数类型 参数描述 必选
skip number 略过的数目
limit number 查询的数目
place number 投放位置 1:首页:顶部公告栏 2:首页:右侧浮窗 3:概览页:右侧Banner 4:发现页:顶部Banner 5:轮播Banner

返回结构:

{
  "ret": 0,
  "errCode": 0,
  "errcode": 0,
  "msg": "success",
  "data": {
    "skip": "0",
    "limit": "2",
    "totalItem": 5,
    "dataList": [
      {
        "_id": "628462093971b2002e440f99",
        "place": 1,
        "title": "首页顶部广告05181103",
        "status": 2,
        "cvr": 0,
        "cover": "https://image.freelog.com/preview-image/a2f2593d3aea728fbad26893cac8ef878f372e6b.png",
        "linkActivityId": "628461a23971b2002e440f8d",
        "link": "",
        "persist": true,
        "priority": 4,
        "__v": 0
      },
      {
        "_id": "625fc4a43483dc159ce60738",
        "place": 1,
        "title": "咕咕咕咕",
        "status": 2,
        "cvr": 0,
        "cover": "https://image.freelog.com/preview-image/7e28985de83c0b43daa4188ca8805d2c5a9d1f8e.png",
        "linkActivityId": "625f7afc4399e1002e1c32ed",
        "persist": true,
        "priority": 20,
        "__v": 0
      }
    ]
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

结构参数:

参数名 参数类型 参数描述
_id number _id
place number 投放位置 1:首页:顶部公告栏 2:首页:右侧浮窗 3:概览页:右侧Banner 4:发现页:顶部Banner 5:轮播Banner
title string 标题
status number 状态 1:已排期 2:投放中 3:已结束 4:已停用
cover string 封面
linkActivityId string 运营活动ID,若不为null,则忽略link字段,不会校验所填写的ID是否存在
link string 链接,当linkActivityId为空时生效
startTime Date 开始时间
limitTime Date 结束时间
persist boolean 是否永久,若此参数为true,将忽略掉开始、结束时间
priority number 权重

查询广告 /v2/activities/ads/find4Client GET QUERY

参数名 参数类型 参数描述 必选
_id number _id

返回结构:

{
  "ret": 0,
  "errCode": 0,
  "errcode": 0,
  "msg": "success",
  "data": {
    "_id": "628462093971b2002e440f99",
    "place": 1,
    "title": "首页顶部广告05181103",
    "status": 2,
    "cvr": 0,
    "cover": "https://image.freelog.com/preview-image/a2f2593d3aea728fbad26893cac8ef878f372e6b.png",
    "linkActivityId": "628461a23971b2002e440f8d",
    "link": "",
    "persist": true,
    "priority": 4,
    "__v": 0
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

结构参数:

参数名 参数类型 参数描述
_id number _id
place number 投放位置 1:首页:顶部公告栏 2:首页:右侧浮窗 3:概览页:右侧Banner 4:发现页:顶部Banner 5:轮播Banner
title string 标题
status number 状态 1:已排期 2:投放中 3:已结束 4:已停用
cover string 封面
linkActivityId string 运营活动ID,若不为null,则忽略link字段,不会校验所填写的ID是否存在
link string 链接,当linkActivityId为空时生效
startTime Date 开始时间
limitTime Date 结束时间
persist boolean 是否永久,若此参数为true,将忽略掉开始、结束时间
priority number 权重