广告活动列表
根据指定广告活动名称、启用状态、日期范围和其他查询相关的活动信息搜索广告活动列表。
相关URL
Newegg.com: https://api.newegg.com/marketplace/sponsoredmgmt/campaign/search?sellerid={sellerid}
注:请确保您的请求URL全都是小写(除Seller ID)并且不能包含任何空格或者换行符。
参数
| 名称 | 是否必填? | 描述 |
| sellerid | 是 | 您在新蛋商城的商家编号 |
相关请求信息
| HTTP方式 | 是否需要认证? | 请求格式 | 回复格式 | 频率限制 |
| POST | 需要 | Json | Json | 1000 请求/小时 |
请求文件主体
| 属性 | 是否必填? | 格式 | 描述 | |
| sellerId | 是 | String | 您在新蛋商城的商家编号 | |
| countryCode | 否 | String | 广告活动所在的国家/地区。只接受国际标准3位国家编码,如USA | |
| searchKeywordType | 否 | Enum | 有效值:
|
|
| keyword | 否 | String | 如果searchKeywordType为CAMPAIGN_NUM,则返回广告活动标识符
如果searchKeywordType为CAMPAIGN_NAME,则返回包括使用模糊字符串匹配的具有指定名称的任何广告活动 |
|
| type | 否 | Integer | 广告活动类型。有效值:
|
|
| sponsorType | 否 | Integer | 付费广告活动类型。有效值:
|
|
| displayType | 否 | Integer | 如sponsorType=3,有效值:
|
|
| activeStatus | 否 | Enum | 返回值仅包含其中一个值的广告活动 有效值:
|
|
| fromDate | 否 | String | 广告活动的开始日期 | |
| toDate | 否 | String | 广告活动的结束日期 | |
| pageInfo | pageIndex | 否 | Integer | 当前页索引,默认为 1 |
| pageSize | 否 | Integer | 一页中的记录数(最大值为每页100 条) | |
| sortField | 否 | String | 排序字段名称,默认为InDate | |
| sortType | 否 | String | 默认Desc,支持Desc、Asc两种方式 | |
示例:Json,Request
POST https://api.newegg.com/marketplace/sponsoredmgmt/campaign/search?sellerid={sellerid}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/json
Accept: application/json
{
"sellerId": "AN9A",
"countryCode": null,
"searchKeywordType": "CAMPAIGN_NUM",
"keyword": "1168452",
"type": null,
"sponsorType": null,
"displayType" :null,
"activeStatus": null,
"pageInfo": null
}
回复文件主体
| 属性 | 格式 | 描述 |
| campaignNumber | Integer | 广告活动标识编号 |
| campaignName | String | 广告活动名称 |
| countryCode | String | 广告活动所在国家/地区的编码 |
| type | Integer | 广告活动投放类型。有效值:
|
| activeStatus | String | 广告活动状态
|
| status | String | 广告活动状态描述:
|
| startDate | String | 广告活动的开始日期 |
| endDate | String | 广告活动的结束日期 |
| budget | Decimal | 花费在此广告活动的总金额 |
| dailyBudget | Decimal | 每日花费在此广告活动的金额 |
| groupCount | Integer | 此广告活动所在的广告组数量 |
| inDate | String | 广告活动创建日期 |
| inUser | Integer | 广告活动创建用户ID |
| displayType | String | 广告活动展示类型 |
| declineReason | String | 广告活动被拒绝原因 |
| costModel | Decimal | 有效值:
|
| LastEditDate | String | 广告活动的最后编辑日期 |
示例:Json,Request
{
"header": [
{
"msg": "search campaigns success",
"bizCode": "025"
}
],
"rows": [
{
"campaignNumber": 1149850,
"campaignName": "Campaign-2022-05-04 10:52:30",
"countryCode": "USA",
"type": 0,
"activeStatus": "Active",
"status": "Delivering",
"startDate": "2022-05-05 00:00:00",
"endDate": null,
"budget": 3000.0,
"dailyBudget": 100.0,
"groupCount": 1,
"inDate": "Wed May 04 03:57:04 PDT 2022",
"inUser": "93716284",
"displayType": "0",
"declineReason": null,
"costModel": 0
}
],
"totalRows": 1
}
更新日期:06/29/2022