跳转至

JS布码列表查询

通过该接口可以查询js布码

请求地址

https://openapi.aiclk.com/openapi/v1/conv/jscode/list

所属权限

ads_read

请求方式

GET

请求参数

Url中添加如下参数:

字段名 类型 是否必须 描述
account_id int 广告主ID(广告投放平台的userID)
keyword string 模糊查询的关键词
goal string 转化目标
允许值:微信复制-active_copywx,表单提交-js_form
check_status string 激活状态
允许值:已激活-ACTIVE,未激活-INACTIVE
adgroup_id int 匹配广告单元ID,返回适合该单元的JS布码列表
page int 页数,默认:1
page_size int 每页大小,默认:10

请求示例

curl -X GET \
  'https://openapi.aiclk.com/openapi/v1/conv/jscode/list?account_id=1000002&keyword=&goal=&check_status=ACTIVE&page=1&pageSize=30&show_enable=1&adgroup_id=20195330' \
  -H 'OGW_ACCESS_TOKEN: your_access_token'

返回字段释义

仅返回已激活且启用状态的JS

字段名 类型 描述
code int 返回码
message string 返回信息
data []object 返回结果
- id string ID
- check_status string 激活状态
已激活-ACTIVE,未激活-INACTIVE
- create_time string 创建时间
- goal string 转化目标
- name string 转化名称
- landing_page_url string 落地页地址
- status string 状态: -1: 已删除, 0: 正在使用

返回示例

{
    "code": 200,
    "message": "success",
    "data": [
        {
            "check_status": "ACTIVE",
            "create_time": "2019-07-12T17:24:46+08:00",
            "goal": "微信加粉",
            "id": 10,
            "name": "转化名称",
            "page_url": "http://test-template.chitu102.com/testStatic/site/site/development/v1_0_0/fd03c8bdbd3d6bc2dd5309a3eab9cef3.html",
            "qtt_env": 10,
            "status": 0,
            "user_modified_time": "2019-09-04T16:33:54+08:00"
        },
        ...
    ]
}