文档
测试

create_ad_plan_local

POST
http://118.31.53.105:8888/create_ad_plan_local

接口描述

创建本地计划

请求参数

参数名
类型
描述
必填
user_id
string
用户id
必填
plan_typesetting
string
计划模板
必填
plan_name
string
计划名
必填

响应参数

参数名
类型
描述
必填
status
是否成功
必填

说明 / 示例

例子: user_id: 'admin' plan_name: 'testone' plan_typesetting: {"title": "测试1622097933.1027312", "localtion": "pyq", "human_info_parameter": {"gender": 1, "age_list": [12, 15]}, "date_set": {"date_module": 2, "date_list": ["20210527", "20210624"]}, "human_info_package": ["阅读消费偏好21_1", "阅读消费偏好20.4", "阅读消费偏好19.11"], "cpm": {"cpm_set": 2, "module": 2}, "idea": {"content": "年后之恋", "jump_type": 1, "button_type": 3, "jump_type-button_type": 2, "jump_type-page_type": "test_new1622031559.0864377", "jump_type-text_type": 1, "jump_type-link_type": 1, "data_show": 1, "data_show-type": 1}} plan_typesetting详解: {'title': "测试{}".format(time.time()), 'localtion': 'pyq', 'human_info_parameter': { 'gender':1,#1.男2.女 'age_list':[12,15] }, 'date_set': { 'date_module': 2, # 1.选择开始和结束日期2.长期投放 'date_list': ['20210527', '20210624'] }, 'human_info_package': ['阅读消费偏好21_1', '阅读消费偏好20.4', '阅读消费偏好19.11'],#人群包名字 'cpm': { 'cpm_set': 2, # 1.cpm,2.智能优化 'module': 2, # 1.均衡投放2.优先跑量 }, 'idea': { 'content': '年后之恋',#公众号文本 'jump_type': 1, # 1.原生推广页2.公众号详情页 'button_type': 3, # 1.关注公众号2.立即咨询,3.立即申请4.阅读小说 'jump_type-button_type': 2, # 1.原生推广页2.一键关注 'jump_type-page_type': 'test_new1622031559.0864377', # 朋友圈部分: 'jump_type-text_type': 1, # 1.了解公众号2.了解更多 'jump_type-link_type': 1, # 1.公众号详情2.原生推广页 'data_show': 1, # 1.不启用2.启用 'data_show-type': 1, # 1.不启用转化目标量2.启用转化目标量 } } 返回参数: 成功: {'status': {'msg': 'success', "RetCode": 200}} 失败: 1.参数不全 {'status': {'msg': 'url parameter error', "RetCode": 400}