API接口目录

广告业务

商品推广API
广告API
效果报表API
线下广告API
账号API
站外广告API
人群包API
异常码自查工具
suning.advertise.getkeywordrepbypagebyday.query 查询关键词分日报表
¥增值

查询关键词分日报表

公共参数
请求参数
名称 类型 是否必须 示例值 描述
custnumStringY不传默认 0操作用户id
promotionIdStringY推广计划ID推广计划ID
promotionUnitIdStringY推广计划单元ID推广计划单元ID
startDateStringY2020-09-21开始时间
endDateStringY2020-09-21结束时间
dayTypeStringN_3day订单统计范围 范围:_3day.3天,_7day.7天,_15day.15天
orderByStringNshowNum排序字段 可为空,默认按更新时间倒序,可自己设置的排序字段如下:orderByFields.add(showNum);
pagerNumberStringY1当前页数
pagerSizeStringY11每页条数
keywordStringY关键词名称关键词名称
promotionNameStringN推广计划名称推广计划名称
goodsNameStringN商品名称商品名称
响应参数
名称 类型 示例值 描述
statusString0状态 0:失败,1:成功
msgString成功状态说明
dataString
pagerNumberString推广计划名称推广计划名称
totalCountString2条目数
dataListString
avgCostString 0.01平均点击成本
clickNumString 100点击量
clickRateString 100.00%点击率
clickRateSortString 100点击率百分比数值
costString1花费
directDealAmountString1直接成交金额
directDealNumString111直接成交量
directSubmitAmountString 1.11直接下单金额
directSubmitOrderString100直接下单量
goodsNameString 巴宝莉修改test1001(Burberry1001)商品名称
indirectDealAmountString1间接成交金额
indirectDealOrderString111间接成交订单数量
indirectSubmitAmountString1间接下单金额
indirectSubmitOrderString111间接下单量
keywordString smartwp_default_keyword关键词
promotionDateString 2020-05-07推广日期
promotionIdString 50000169推广计划ID
promotionNameString 智能词包报表测试推广计划名称
promotionUnitIdString 8880001000002155计划单元ID
roiString0.50下单ROI
showNumString100展现量
throwSourceString 全部投放终端
totalDealAmountString2总成交金额
totalSubmitAmountString1.11总下单金额
overViewDataString
avgCostString 0.01平均点击成本
clickNumString 100点击量
clickRateString 100.00%点击率
costString1花费
directDealAmountString1直接成交金额
directDealNumString111直接成交量
directSubmitAmountString 1.11直接下单金额
directSubmitOrderString 100直接下单量
goodsNameString商品名称商品名称
indirectDealAmountString1间接成交金额
indirectDealOrderString 100间接成交订单数量
indirectSubmitAmountString1间接下单金额
indirectSubmitOrderString111间接下单量
keywordString关键词关键词
promotionDateString2020-02-02推广日期
promotionIdString1245推广计划ID
promotionNameString推广计划名称推广计划名称
promotionUnitIdString1254625计划单元ID
roiString 2.11下单ROI
showNumString 100展现量
throwSourceString 全部投放终端
totalDealAmountString2总成交金额
totalSubmitAmountString 1.11总下单金额
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryGetkeywordrepbypagebyday>
      <dayType>_3day</dayType>
      <promotionUnitId>推广计划单元ID</promotionUnitId>
      <promotionName>推广计划名称</promotionName>
      <endDate>2020-09-21</endDate>
      <custnum>不传默认 0</custnum>
      <orderBy>showNum</orderBy>
      <pagerNumber>1</pagerNumber>
      <keyword>关键词名称</keyword>
      <goodsName>商品名称</goodsName>
      <promotionId>推广计划ID</promotionId>
      <startDate>2020-09-21</startDate>
      <pagerSize>11</pagerSize>
    </queryGetkeywordrepbypagebyday>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryGetkeywordrepbypagebyday": {
        "dayType": "_3day",
        "promotionUnitId": "推广计划单元ID",
        "promotionName": "推广计划名称",
        "endDate": "2020-09-21",
        "custnum": "不传默认 0",
        "orderBy": "showNum",
        "pagerNumber": "1",
        "keyword": "关键词名称",
        "goodsName": "商品名称",
        "promotionId": "推广计划ID",
        "startDate": "2020-09-21",
        "pagerSize": "11"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <queryGetkeywordrepbypagebyday>
      <msg>成功</msg>
      <data>
        <dataList>
          <cost>1</cost>
          <directSubmitAmount> 1.11</directSubmitAmount>
          <promotionDate> 2020-05-07</promotionDate>
          <directSubmitOrder>100</directSubmitOrder>
          <indirectSubmitAmount>1</indirectSubmitAmount>
          <throwSource> 全部</throwSource>
          <roi>0.50</roi>
          <promotionId> 50000169</promotionId>
          <indirectSubmitOrder>111</indirectSubmitOrder>
          <promotionUnitId> 8880001000002155</promotionUnitId>
          <showNum>100</showNum>
          <promotionName> 智能词包报表测试</promotionName>
          <totalSubmitAmount>1.11</totalSubmitAmount>
          <clickRate> 100.00%</clickRate>
          <clickRateSort> 100</clickRateSort>
          <directDealNum>111</directDealNum>
          <clickNum> 100</clickNum>
          <directDealAmount>1</directDealAmount>
          <indirectDealAmount>1</indirectDealAmount>
          <avgCost> 0.01</avgCost>
          <indirectDealOrder>111</indirectDealOrder>
          <keyword> smartwp_default_keyword</keyword>
          <totalDealAmount>2</totalDealAmount>
          <goodsName> 巴宝莉修改test1001(Burberry1001)</goodsName>
        </dataList>
        <pagerNumber>推广计划名称</pagerNumber>
        <totalCount>2</totalCount>
        <overViewData>
          <cost>1</cost>
          <directSubmitAmount> 1.11</directSubmitAmount>
          <promotionDate>2020-02-02</promotionDate>
          <directSubmitOrder> 100</directSubmitOrder>
          <indirectSubmitAmount>1</indirectSubmitAmount>
          <throwSource> 全部</throwSource>
          <roi> 2.11</roi>
          <promotionId>1245</promotionId>
          <indirectSubmitOrder>111</indirectSubmitOrder>
          <promotionUnitId>1254625</promotionUnitId>
          <showNum> 100</showNum>
          <promotionName>推广计划名称</promotionName>
          <totalSubmitAmount> 1.11</totalSubmitAmount>
          <clickRate> 100.00%</clickRate>
          <directDealNum>111</directDealNum>
          <clickNum> 100</clickNum>
          <directDealAmount>1</directDealAmount>
          <indirectDealAmount>1</indirectDealAmount>
          <avgCost> 0.01</avgCost>
          <indirectDealOrder> 100</indirectDealOrder>
          <keyword>关键词</keyword>
          <totalDealAmount>2</totalDealAmount>
          <goodsName>商品名称</goodsName>
        </overViewData>
      </data>
      <status>0</status>
    </queryGetkeywordrepbypagebyday>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "queryGetkeywordrepbypagebyday": {
        "msg": "成功",
        "data": [
          {
            "dataList": [
              {
                "cost": "1",
                "directSubmitAmount": " 1.11",
                "promotionDate": " 2020-05-07",
                "directSubmitOrder": "100",
                "indirectSubmitAmount": "1",
                "throwSource": " 全部",
                "roi": "0.50",
                "promotionId": " 50000169",
                "indirectSubmitOrder": "111",
                "promotionUnitId": " 8880001000002155",
                "showNum": "100",
                "promotionName": " 智能词包报表测试",
                "totalSubmitAmount": "1.11",
                "clickRate": " 100.00%",
                "clickRateSort": " 100",
                "directDealNum": "111",
                "clickNum": " 100",
                "directDealAmount": "1",
                "indirectDealAmount": "1",
                "avgCost": " 0.01",
                "indirectDealOrder": "111",
                "keyword": " smartwp_default_keyword",
                "totalDealAmount": "2",
                "goodsName": " 巴宝莉修改test1001(Burberry1001)"
              }
            ],
            "pagerNumber": "推广计划名称",
            "totalCount": "2",
            "overViewData": [
              {
                "cost": "1",
                "directSubmitAmount": " 1.11",
                "promotionDate": "2020-02-02",
                "directSubmitOrder": " 100",
                "indirectSubmitAmount": "1",
                "throwSource": " 全部",
                "roi": " 2.11",
                "promotionId": "1245",
                "indirectSubmitOrder": "111",
                "promotionUnitId": "1254625",
                "showNum": " 100",
                "promotionName": "推广计划名称",
                "totalSubmitAmount": " 1.11",
                "clickRate": " 100.00%",
                "directDealNum": "111",
                "clickNum": " 100",
                "directDealAmount": "1",
                "indirectDealAmount": "1",
                "avgCost": " 0.01",
                "indirectDealOrder": " 100",
                "keyword": "关键词",
                "totalDealAmount": "2",
                "goodsName": "商品名称"
              }
            ]
          }
        ],
        "status": "0"
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.advertise.querygetkeywordrepbypagebyday.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.handler.data-get:no-result 查询没结果 请检查查询参数
isp.sys.service.unavailable.adss 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ