批量更新2.0版本投放包


开通oCPC2.0的客户使用

POST

请求地址

https://api.e.360.cn/dianjing/ocpc2/batchupdate

Headers 请求参数
字段 类型 必须 描述
Content-Type string yes application/x-www-form-urlencoded
apiKey string yes 注册时分配到的api key,该参数作为HTTP HEAD字段传递。
accessToken string yes 访问token
Body 请求参数
字段 类型 是否必须 描述
ocpcs Json Yes oCPC2.0版本投放包信息
ocpcs, eg:
[
    {
        "id": 5147,
        "price": 12,
        "title": "修改投放包名称",
        "status": 1,
        "conversion": 17,
        "plan_ids": [609450021],
    }
]
ocpcs 字段说明:
字段 类型 是否必须 描述
id Number Yes 投放包id
title String No 投放包名称
bid_mode String No 出价模式:2=增强模式, 3=常规投放
conversion String No 仅支持单个转化目标, 获取转化目标
price String No 目标转化成本
deep_conversion String No 仅支持单个深度转化目标, 获取转化目标
deep_ocpc_exp_amt String No 深度目标转化成本,范围:0.3~9999.99
status Number No 状态:0-暂停,1-启用
pc_url String No 访问网址
m_url String No 移动访问网址
plan_ids Json No 生效范围(绑定的计划), eg: [1,2]
auto_multiple Number No 是否开启自动扩量:1开启,0暂停;默认:1
返回结果
{
    "errno": 0,
    "data": {
        "affectedRecords": 1,
        "failOcpcIds": [
            5014
        ],
        "failures": [
            {
                "code": 90202,
                "id": "5014",
                "message": "您所提交的内容包含敏感词:博彩"
            }
        ],
        "ocpcIds": [
            5147
        ]
    }    
}

results matching ""

    No results matching ""