错误代码
读 1 分钟
General rules of interaction with API
- You should try to minimize the number of unnecessary API requests, especially for the campaign/info and campaign/stat methods.
- There is no need to constantly request the information that you can store on your side.
- There is no need to constantly request information on inactive campaigns — there is simply no point in it, the answers will always be the same.
- A reasonable number of API requests for 1 campaign is 1-2-3, up to a maximum of 10-20 per day. The reasonable number of requests for the campaign/stat method is no more than 1 per hour. Thus, a reasonable number of requests for an account (token) is hundreds, up to a maximum of 1000 per day. If you plan to make a significantly larger number of requests — we are 99% sure that you are using an algorithm that can be significantly optimized. If you are absolutely certain that you need more requests, first coordinate this with the Helpdesk.
- If you received a response with error_code=37 and error=Temporary unavailable, try again later, you should repeat the same request no earlier than 5 minutes later.
- In case of systematic violation of these rules, access to the API may be restricted.
通用代码:
1 - 请求参数缺失
7 - 访问被禁止
16 - 未知错误
37 - 暂时不可用,请稍后再试
38 - 没有与请求参数匹配
的实体 41 - 达到每日API请求 限额 了解更多
添加广告系列:
9 - 活动类型输入错误
10 - URL 错误
11 - 访问量(访问次数)少于 1
12 - 未填写内部点击说明
13 - 未输入关键词
14 - 未填写链接
位置 15 - 未填写广告
点击说明 17 - 搜索引擎不受支持
36 - 多行说明为空
42 - 列表的 JSON 字符串不正确(keywords, links)
删除广告系列:
18 - 存在待确认
的执行任务 19 - 账户余额不足
40 - 存在待确认的执行任务,强制支付错误
添加广告系列任务:
20 - 账户余额不足
启动RK:
21 - 交易已启动
停止RK:
22 - 任务已停止
广告系列统计:
23 - 时间段填写不正确
24 - 未填写网站ID和分类
25 - 部分ID的统计数据获取出现错误
广告活动分类:
26 - 分类名称少于2个字符
27 - 已存在
同名分类 28 - 未找到
该分类 29 - 分类中设置唯一IP时出错
广告系列修改:
30 - 未填写点击操作说明
广告系列地理数据:
31 - 未选择国家代码
广告系列类别:
32 - 无法更改类别