/pb/openapi/newad/apiLogStandard{
"operation": {
"method": "POST",
"path": "/pb/openapi/newad/apiLogStandard"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 10,
"text": ""
},
"responseExample": "{\n \"code\": 0,\n \"message\": \"操作成功\",\n \"error_details\": [],\n \"request_id\": \"worweoeiruxlkjsrwUEWRk\",\n \"response_time\": \"2023-04-18 10:51:37\",\n \"total\": 1\n \"data\": [\n {\n \"profile_id\": 121923590660074,\n \"sponsored_type\": \"sp\",\n \"operate_type\": \"campaigns\",\n \"campaign_id\": 75412355765106,\n \"campaign_name\": \"campaign-1118\",\n \"ad_group_id\": null,\n \"object_id\": 75412355765106,\n \"ad_group_name\": null,\n \"object_name\": \"campaign-dk-0111\",\n \"function_name\": \"WebPage\",\n \"change_type\": \"更新\",\n \"operate_before\": [\n {\n \"code\": \"BUDGET_AMOUNT\",\n \"value\": \"1.01\"\n },\n {\n \"code\": \"PORTFOLIO_ID\",\n \"value\": \"0\"\n }\n ],\n \"operate_after\": [\n {\n \"code\": \"BUDGET_AMOUNT\",\n \"value\": \"1.02\"\n },\n {\n \"code\": \"PORTFOLIO_ID\",\n \"value\": \"--\"\n }\n ],\n \"user_id\": 3071,\n \"user_name\": \"谢xx\",\n \"operate_time\": \"2023-04-18 09:56:34\"\n }\n ]\n}"
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | sid | 店铺id | integer | — | Required | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 2 | log_source | 日志来源 | string | — | Required | 日志来源: all 包括ERP和亚马逊后台的操作 erp 仅ERP中调整广告的日志 amazon 亚马逊后台的日志 |
| 3 | sponsored_type | 广告类型 | string | — | Required | 广告类型: sp 返回sp操作日志 sb 返回sb操作日志 sd 返回sd操作日志 |
| 4 | operate_type | 对象类型 | string | — | Required | 对象类型: campaigns 广告活动 adGroups 广告组 productAds 广告 keywords 关键词 negativeKeywords 否定关键词 targets 商品投放 negativeTargets 否定商品投放 profiles 预算设置 |
| 5 | start_date | 起始时间 | string | — | Required | 起始时间,格式:Y-m-d【日期间隔不能超过一个月】 |
| 6 | end_date | 结束时间 | string | — | Required | 结束时间,格式:Y-m-d【日期间隔不能超过一个月】 |
| 7 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量,默认0 |
| 8 | length | 分页长度 | integer | — | Optional | 分页长度,默认15 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | 操作成功 | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | WEUHA89F-7996-81F8-8E2F-DE7534EB2AQ2 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-04-18 10:51:37 | Required | 响应时间 |
| 6 | total | 总数 | integer | 8 | Required | 总数 |
| 7 | data | 响应数据 | array<object> | — | Required | 响应数据 |
| 7.1 | profile_id | 亚马逊店铺数字ID | number | 121923590660074 | Required | 亚马逊店铺数字ID |
| 7.2 | sponsored_type | 广告类型 | string | sp | Required | 广告类型:sp、sb、sd |
| 7.3 | operate_type | 对象类型 | string | campaigns | Required | 对象类型 |
| 7.4 | campaign_id | 广告活动id | number | 75412355765106 | Required | 广告活动id |
| 7.5 | campaign_name | 广告活动名称 | number | campaign-dk-0111 | Required | 广告活动名称 |
| 7.6 | ad_group_id | 广告组id | number | 800000000000137100 | Required | 广告组id |
| 7.7 | object_id | 广告对象id | number | 75412355765106 | Required | 广告对象id |
| 7.8 | ad_group_name | 广告组名称 | string | AD_GROUP | Required | 广告组名称 |
| 7.9 | object_name | 广告对象名称 | string | campaign-dk-0111 | Required | 广告对象名称 |
| 7.10 | function_name | 功能来源 | string | WebPage | Required | 功能来源 |
| 7.11 | change_type | 操作类型 | string | update | Required | 操作类型:create 创建,update 更新 |
| 7.12 | operate_before | 操作前 | array<object> | — | Required | 操作前 |
| 7.12.1 | code | 操作类型编码 | string | BUDGET_AMOUNT | Required | 操作类型编码 |
| 7.12.2 | value | 操作对象值 | string | 1.01 | Required | 操作对象值 |
| 7.13 | operate_after | 操作后 | array<object> | — | Required | 操作后 |
| 7.13.1 | code | 操作类型编码 | string | BUDGET_AMOUNT | Required | 操作类型编码 |
| 7.13.2 | value | 操作对象值 | string | 1.02 | Required | 操作对象值 |
| 7.14 | user_id | 用户id | integer | 3071 | Required | 用户id |
| 7.15 | user_name | 用户名 | string | 谢xx | Required | 用户名 |
| 7.16 | operate_time | 操作时间 - 站点时间 | string | 2023-04-18 09:56:34 | Required | 操作时间 - 站点时间 |
The 操作日志(新) API (/pb/openapi/newad/apiLogStandard) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.