MA切流反饋修復

從 qingwei personal wiki
於 2019年1月8日 (二) 04:39 由 Qingwei (對話 | 貢獻) 所做的修訂 (分段功能字段)
跳到: 導覽搜尋

首頁經營效果中,增加按發佈產品拆分指標選項

首頁經營效果中,增加按發佈產品拆分指標選項

新版產品>產品分析缺失 頂級展位、P4P (前端)

aone

  • 前端問題;增加兩個參數: TR, P4P
" 如果没有,不传递参数 "
{
"TR": "TR",
"P4P": "P4P"
}

增加產品列表增加數據統計及分段功能

描述

https://aone.alibaba-inc.com/req/18338586

  • 老版: dwp_en_dm_prod_terminal_eff_d
  • 新版: dwp_en_dm_vip_prod_eff_d

分段功能字段

字段 前端key 數據庫key 類型
曝光 minViews: 20 maxViews: 100 imps_cnt_1d_027 BIGINT(20)
點擊 minClicks: 2 maxClicks: 100 clk_cnt_1d_092 BIGINT(20)
點擊率 minClkRate: 22 maxClkRate: 33 clk_rate_1d_068 DECIMAL(20,4)
反饋 minInquiries: 12 maxInquiries: 24 fb_cnt_1d_013 BIGINT(20)

分段功能需要做的事

  1. 修改sql [vip.product.getEffectiveProductsTotal]
  2. 修改業務流,增加4*2個參數 http://oneness2.alibaba-inc.com/businessFlow?moduleId=114&interfaceId=1943&group=alidata

數據統計需要做的事

無需後端工作,現有接口已返回

備份

vip.product.getEffectiveProductsTotal

select
    ${returnFields} 
from
    <if test='statisticsType == "day"'> 
        dwp_en_dm_vip_prod_eff_d
    </if>  
    <if test='statisticsType == "week"'> 
        dwp_en_dm_vip_prod_eff_w
    </if>
    <if test='statisticsType == "month"'> 
        dwp_en_dm_vip_prod_eff_m
    </if>
where
     stat_date = #{statDate} and
     admin_mbr_seq = #{adminMemberSeq} 
     <if test="name != null">
       and  ( prod_name like #{name} or  prod_model like #{name}  )
     </if>
     <if test="AD != null">
       and  is_kw_prod = 'Y' 
     </if>
     <if test="PS != null">
       and  is_show_win = 'Y'  
     </if>
     <if test="TR != null">
       and  is_intlbw = 'Y' 
     </if>
     <if test="P4P != null">
       and  is_p4p_prod = 'Y' 
     </if>
     <if test="isStdProd != null">
        and is_std_prod = 'Y'
     </if>
     <if test="owner != null">
       and  owner_mbr_seq = #{owner} 
     </if>
     <if test="groupLevel1 != null">
        and prod_group_id = #{groupLevel1} 
     </if>
     <if test="groupLevel2 != null">
       and  group_id2 = #{groupLevel2}  
     </if>
     <if test="groupLevel3 != null">
       and  group_id3 = #{groupLevel3}  
     </if>
     <if test="model != null">
       and  prod_model like #{model}  
     </if>
     <if test="beginUpdatedDate != null">
        and mdf_time >= #{beginUpdatedDate}  
     </if>
     <if test="endUpdatedDate!= null">
        and #{endUpdatedDate}  >= mdf_time 
     </if>
     <if test="hasEffect!= null">
        and  is_effer_prod = 'Y' 
     </if>
     <if test="region!= null">
        and  statistic_type = #{region}  
     </if>
     <if test="level3CateId != null">
        and cate_lv3_id  = #{level3CateId}  
     </if>

sql過長,參照

http://oneness2.alibaba-inc.com/businessFlow?moduleId=157&interfaceId=2877&group=alidata

我的詞行業TOP10點擊與曝光口徑調整

描述

aone
https://hz-mydata.alibaba.com/self/keyword.htm?spm=a271v.8028089.0.0.30803e5fXm3PST 自定義列

前端

Top10平均曝光:avgSumClickCnt: 3
Top10平均點擊:avgSumShowCnt: 169

(高優先級)新版數據管家熱門搜索詞邏輯優化

描述

aone
https://data.alibaba.com/industry/keyword/hot?spm=a2793.12386102.0.0.19a83e5fqqUPjy

openSearch應用(表)

https://opensearch-cn-shanghai-in.console.aliyun.com/?spm=5176.7946605.209387.09080706050409.42babc75D46zHL#/apps?page=1&name=sc_mydata_hot_keyword

- openSearch應用 odps表
老版使用 -- 將被廢棄 sc_mydata_hot_keyword dwp_en_dm_kw_hot_eff_m
周表 sc_mydata_hot_keyword_w dwp_en_dm_vip_kw_hot_eff_w
y月表 sc_mydata_hot_keyword_m dwp_en_dm_vip_kw_hot_eff_m
  • 加一個詞: orig_kw (別名:orig_keywords)
- DA会增加新的一列 买家搜索原词
- 后端加灰度控制,灰度里的使用 买家搜索原词(orig_kw) 代替原来的 归一化词(keywords)

灰度id

com.alibaba.intl.mydata.maopt

員工管理增加指標匯總

描述

https://aone.alibaba-inc.com/req/18341488

測試

[
  "vip/home/getAccountsAndTotal",
  {
    "statDate": "2018-12-01",
    "adminMemberSeq": "200042360",
    "statisticsType": "month",
    "region": "os"
  }
]