API接口目录

广告业务

商品推广API
广告API
效果报表API
线下广告API
账号API
站外广告API
人群包API
异常码自查工具
suning.advertise.getpromotionrepdaybypage.query 查询计划历史数据(分日报表数据)
¥增值

查询计划历史数据(分日报表数据)

公共参数
请求参数
名称 类型 是否必须 示例值 描述
custnumStringY777777操作用户id
pagerNumberStringY1当前页数
pagerSizeStringY2每页条数
throwTypeStringN投放终端投放终端
startDateStringYyyyy-MM-dd开始日期
endDateStringYyyyy-MM-dd结束日期
orderByStringN可为空,默认按更新时间倒序,可自己设置的排序字段如下:orderByFields.add(showNum);排序字段
promotionIdStringY40000008计划ID
dayTypeStringY0ROI及订单统计范围
reportTypeStringN1报表类型
响应参数
名称 类型 示例值 描述
statusString0:成功,1:失败状态
msgString成功状态说明
dataString
dataListString
avgCostString0.45平均点击成本(单位:元)
clickNumString 55点击量
clickRateString 55.00%点击率
clickRateSortString5555
conversionRateString 896.00%下单转化率
conversionRateSortString896896
costString25花费(单位:元)
directAddshoppingcartNumString154直接加购数
directDealAmountString211直接成交金额
directDealNumString222直接成交量
directSubmitAmountString333直接下单金额
directSubmitOrderString232直接下单量
goodsFocusNumString2333商品关注数
indirectAddshoppingcartNumString345间接加购数
indirectDealAmountString222间接成交金额
indirectDealOrderString232间接成交订单数
indirectSubmitAmountString345间接下单金额
indirectSubmitOrderString432间接下单量
promotionDateString 2020-02-28推广日期
promotionIdString 40000000推广计划ID
roiString9.88下单ROI
showNumString111展现量
throwSourceString 全部投放终端
totalDealAmountString500总成交金额
totalSubmitAmountString 247下单金额
userLimitAmountString11日预算(单位:元)
overViewDataString
avgCostString0.72平均点击成本(单位:元)
clickNumString44点击量
clickRateString 34.50%点击率
conversionRateString 1428.99%下单转化率
costString 50花费(单位:元)
directAddshoppingcartNumString308直接加购数
directDealAmountString600直接成交金额
directDealNumString 1000直接成交订单数
directSubmitAmountString1300直接下单金额
directSubmitOrderString504直接下单量
goodsFocusNumString11111商品关注数
indirectAddshoppingcartNumString490间接加购数
indirectDealAmountString400间接成交金额
indirectDealOrderString244间接成交订单数
indirectSubmitAmountString 245间接下单金额
indirectSubmitOrderString312间接下单量
promotionDateString 2020-02-28推广日期
promotionIdString 40000000推广计划ID
roiString9.88下单ROI
showNumString100展现量
throwSourceString 全部投放终端
totalAddShoppingcartNumString111总加购数
totalDealAmountString111总成交金额
totalSubmitAmountString2222总提交金额
pagerNumberString1当前页数
totalCountString2记录总是
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryGetpromotionrepdaybypage>
      <dayType>0</dayType>
      <reportType>1</reportType>
      <throwType>投放终端</throwType>
      <endDate>yyyy-MM-dd</endDate>
      <custnum>777777</custnum>
      <pagerNumber>1</pagerNumber>
      <orderBy>可为空,默认按更新时间倒序,可自己设置的排序字段如下:orderByFields.add(showNum);</orderBy>
      <startDate>yyyy-MM-dd</startDate>
      <promotionId>40000008</promotionId>
      <pagerSize>2</pagerSize>
    </queryGetpromotionrepdaybypage>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryGetpromotionrepdaybypage": {
        "dayType": "0",
        "reportType": "1",
        "throwType": "投放终端",
        "endDate": "yyyy-MM-dd",
        "custnum": "777777",
        "pagerNumber": "1",
        "orderBy": "可为空,默认按更新时间倒序,可自己设置的排序字段如下:orderByFields.add(showNum);",
        "startDate": "yyyy-MM-dd",
        "promotionId": "40000008",
        "pagerSize": "2"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <queryGetpromotionrepdaybypage>
      <msg>成功</msg>
      <data>
        <dataList>
          <userLimitAmount>11</userLimitAmount>
          <roi>9.88</roi>
          <promotionId> 40000000</promotionId>
          <conversionRateSort>896</conversionRateSort>
          <totalSubmitAmount> 247</totalSubmitAmount>
          <goodsFocusNum>2333</goodsFocusNum>
          <clickRate> 55.00%</clickRate>
          <directAddshoppingcartNum>154</directAddshoppingcartNum>
          <clickNum> 55</clickNum>
          <avgCost>0.45</avgCost>
          <indirectDealOrder>232</indirectDealOrder>
          <totalDealAmount>500</totalDealAmount>
          <indirectAddshoppingcartNum>345</indirectAddshoppingcartNum>
          <cost>25</cost>
          <directSubmitAmount>333</directSubmitAmount>
          <promotionDate> 2020-02-28</promotionDate>
          <directSubmitOrder>232</directSubmitOrder>
          <indirectSubmitAmount>345</indirectSubmitAmount>
          <throwSource> 全部</throwSource>
          <conversionRate> 896.00%</conversionRate>
          <indirectSubmitOrder>432</indirectSubmitOrder>
          <showNum>111</showNum>
          <clickRateSort>55</clickRateSort>
          <directDealNum>222</directDealNum>
          <directDealAmount>211</directDealAmount>
          <indirectDealAmount>222</indirectDealAmount>
        </dataList>
        <pagerNumber>1</pagerNumber>
        <totalCount>2</totalCount>
        <overViewData>
          <cost> 50</cost>
          <directSubmitAmount>1300</directSubmitAmount>
          <promotionDate> 2020-02-28</promotionDate>
          <directSubmitOrder>504</directSubmitOrder>
          <indirectSubmitAmount> 245</indirectSubmitAmount>
          <throwSource> 全部</throwSource>
          <conversionRate> 1428.99%</conversionRate>
          <roi>9.88</roi>
          <promotionId> 40000000</promotionId>
          <indirectSubmitOrder>312</indirectSubmitOrder>
          <showNum>100</showNum>
          <totalSubmitAmount>2222</totalSubmitAmount>
          <goodsFocusNum>11111</goodsFocusNum>
          <clickRate> 34.50%</clickRate>
          <directAddshoppingcartNum>308</directAddshoppingcartNum>
          <totalAddShoppingcartNum>111</totalAddShoppingcartNum>
          <directDealNum> 1000</directDealNum>
          <clickNum>44</clickNum>
          <directDealAmount>600</directDealAmount>
          <indirectDealAmount>400</indirectDealAmount>
          <avgCost>0.72</avgCost>
          <indirectDealOrder>244</indirectDealOrder>
          <totalDealAmount>111</totalDealAmount>
          <indirectAddshoppingcartNum>490</indirectAddshoppingcartNum>
        </overViewData>
      </data>
      <status>0:成功,1:失败</status>
    </queryGetpromotionrepdaybypage>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "queryGetpromotionrepdaybypage": {
        "msg": "成功",
        "data": [
          {
            "dataList": [
              {
                "userLimitAmount": "11",
                "roi": "9.88",
                "promotionId": " 40000000",
                "conversionRateSort": "896",
                "totalSubmitAmount": " 247",
                "goodsFocusNum": "2333",
                "clickRate": " 55.00%",
                "directAddshoppingcartNum": "154",
                "clickNum": " 55",
                "avgCost": "0.45",
                "indirectDealOrder": "232",
                "totalDealAmount": "500",
                "indirectAddshoppingcartNum": "345",
                "cost": "25",
                "directSubmitAmount": "333",
                "promotionDate": " 2020-02-28",
                "directSubmitOrder": "232",
                "indirectSubmitAmount": "345",
                "throwSource": " 全部",
                "conversionRate": " 896.00%",
                "indirectSubmitOrder": "432",
                "showNum": "111",
                "clickRateSort": "55",
                "directDealNum": "222",
                "directDealAmount": "211",
                "indirectDealAmount": "222"
              }
            ],
            "pagerNumber": "1",
            "totalCount": "2",
            "overViewData": [
              {
                "cost": " 50",
                "directSubmitAmount": "1300",
                "promotionDate": " 2020-02-28",
                "directSubmitOrder": "504",
                "indirectSubmitAmount": " 245",
                "throwSource": " 全部",
                "conversionRate": " 1428.99%",
                "roi": "9.88",
                "promotionId": " 40000000",
                "indirectSubmitOrder": "312",
                "showNum": "100",
                "totalSubmitAmount": "2222",
                "goodsFocusNum": "11111",
                "clickRate": " 34.50%",
                "directAddshoppingcartNum": "308",
                "totalAddShoppingcartNum": "111",
                "directDealNum": " 1000",
                "clickNum": "44",
                "directDealAmount": "600",
                "indirectDealAmount": "400",
                "avgCost": "0.72",
                "indirectDealOrder": "244",
                "totalDealAmount": "111",
                "indirectAddshoppingcartNum": "490"
              }
            ]
          }
        ],
        "status": "0:成功,1:失败"
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

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