|
@@ -368,6 +368,176 @@
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
+ <insert id="insertPosition" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceAdvertiserReportDaily">
|
|
|
+ replace into bytedance_advertiser_inventory_report_daily (advertiser_id, stat_datetime, cost,
|
|
|
+ `show`, avg_show_cost, click,
|
|
|
+ avg_click_cost, ctr, `convert`,
|
|
|
+ convert_cost, convert_rate, deep_convert,
|
|
|
+ deep_convert_cost, deep_convert_rate, attribution_convert,
|
|
|
+ attribution_convert_cost, attribution_deep_convert,
|
|
|
+ attribution_deep_convert_cost, download_start,
|
|
|
+ download_start_cost, download_start_rate, download_finish,
|
|
|
+ download_finish_cost, download_finish_rate,
|
|
|
+ click_install, install_finish, install_finish_cost,
|
|
|
+ install_finish_rate, active, active_cost,
|
|
|
+ active_rate, register, active_register_cost,
|
|
|
+ active_register_rate, next_day_open, next_day_open_cost,
|
|
|
+ next_day_open_rate, attribution_next_day_open_cnt,
|
|
|
+ attribution_next_day_open_cost, attribution_next_day_open_rate,
|
|
|
+ game_addiction, game_addiction_cost, game_addiction_rate,
|
|
|
+ pay_count, active_pay_cost, active_pay_rate,
|
|
|
+ loan_completion, loan_completion_cost, loan_completion_rate,
|
|
|
+ pre_loan_credit, pre_loan_credit_cost, loan_credit,
|
|
|
+ loan_credit_cost, loan_credit_rate, in_app_uv,
|
|
|
+ in_app_detail_uv, in_app_cart, in_app_pay,
|
|
|
+ in_app_order, attribution_game_pay_7d_count, attribution_game_pay_7d_cost,
|
|
|
+ attribution_active_pay_7d_per_count, game_pay_cost,
|
|
|
+ game_pay_count, phone, form,
|
|
|
+ map_search, button, `view`,
|
|
|
+ download, qq, lottery,
|
|
|
+ vote, message, redirect,
|
|
|
+ shopping, consult, wechat,
|
|
|
+ phone_confirm, phone_connect, consult_effective,
|
|
|
+ coupon, coupon_single_page, redirect_to_shop,
|
|
|
+ poi_collect, poi_address_click, luban_order_cnt,
|
|
|
+ luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt,
|
|
|
+ live_watch_one_minute_count, luban_live_follow_cnt,
|
|
|
+ live_fans_club_join_cnt, luban_live_comment_cnt,
|
|
|
+ luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount,
|
|
|
+ luban_live_slidecart_click_cnt, luban_live_click_product_cnt,
|
|
|
+ luban_live_pay_order_count, luban_live_pay_order_stat_cost,
|
|
|
+ live_component_click_count, live_component_click_cost,
|
|
|
+ live_component_click_rate, wechat_login_count,
|
|
|
+ attribution_wechat_login_30d_count, wechat_login_cost,
|
|
|
+ attribution_wechat_login_30d_cost, wechat_first_pay_count,
|
|
|
+ attribution_wechat_first_pay_30d_count, wechat_first_pay_cost,
|
|
|
+ attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate,
|
|
|
+ attribution_wechat_first_pay_30d_rate, wechat_pay_amount,
|
|
|
+ attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi,
|
|
|
+ phone_effective, total_play, valid_play,
|
|
|
+ valid_play_cost, valid_play_rate, play_25_feed_break,
|
|
|
+ play_50_feed_break, play_75_feed_break, play_100_feed_break,
|
|
|
+ average_play_time_per_play, play_over_rate, wifi_play_rate,
|
|
|
+ wifi_play, play_duration_sum, advanced_creative_phone_click,
|
|
|
+ advanced_creative_counsel_click, advanced_creative_form_click,
|
|
|
+ advanced_creative_coupon_addition, advanced_creative_form_submit,
|
|
|
+ card_show, `share`, `comment`,
|
|
|
+ `like`, follow, home_visited,
|
|
|
+ ies_challenge_click, ies_music_click, location_click,
|
|
|
+ message_action, click_landing_page, click_shopwindow,
|
|
|
+ click_website, click_download, click_call_dy,
|
|
|
+ submit_certification_count, approval_count,
|
|
|
+ first_rental_order_count, first_order_count, commute_first_pay_count,
|
|
|
+ attribution_active_pay_intra_one_day_count,
|
|
|
+ attribution_active_pay_intra_one_day_cost,
|
|
|
+ attribution_active_pay_intra_one_day_rate,
|
|
|
+ attribution_active_pay_intra_one_day_amount,
|
|
|
+ attribution_active_pay_intra_one_day_roi,
|
|
|
+ stat_pay_amount,
|
|
|
+ inventory,
|
|
|
+ inventory_name
|
|
|
+ )
|
|
|
+ values
|
|
|
+ <foreach collection="list" item="item" separator=",">
|
|
|
+ (#{item.advertiserId,jdbcType=BIGINT}, #{item.statDatetime,jdbcType=INTEGER}, #{item.cost,jdbcType=DECIMAL},
|
|
|
+ #{item.show,jdbcType=BIGINT}, #{item.avgShowCost,jdbcType=DECIMAL}, #{item.click,jdbcType=BIGINT},
|
|
|
+ #{item.avgClickCost,jdbcType=DECIMAL}, #{item.ctr,jdbcType=DECIMAL}, #{item.convert,jdbcType=BIGINT},
|
|
|
+ #{item.convertCost,jdbcType=DECIMAL}, #{item.convertRate,jdbcType=DECIMAL},
|
|
|
+ #{item.deepConvert,jdbcType=BIGINT},
|
|
|
+ #{item.deepConvertCost,jdbcType=DECIMAL}, #{item.deepConvertRate,jdbcType=DECIMAL},
|
|
|
+ #{item.attributionConvert,jdbcType=BIGINT},
|
|
|
+ #{item.attributionConvertCost,jdbcType=DECIMAL}, #{item.attributionDeepConvert,jdbcType=BIGINT},
|
|
|
+ #{item.attributionDeepConvertCost,jdbcType=DECIMAL}, #{item.downloadStart,jdbcType=BIGINT},
|
|
|
+ #{item.downloadStartCost,jdbcType=DECIMAL}, #{item.downloadStartRate,jdbcType=DECIMAL},
|
|
|
+ #{item.downloadFinish,jdbcType=BIGINT},
|
|
|
+ #{item.downloadFinishCost,jdbcType=DECIMAL}, #{item.downloadFinishRate,jdbcType=DECIMAL},
|
|
|
+ #{item.clickInstall,jdbcType=BIGINT}, #{item.installFinish,jdbcType=BIGINT},
|
|
|
+ #{item.installFinishCost,jdbcType=DECIMAL},
|
|
|
+ #{item.installFinishRate,jdbcType=DECIMAL}, #{item.active,jdbcType=BIGINT},
|
|
|
+ #{item.activeCost,jdbcType=DECIMAL},
|
|
|
+ #{item.activeRate,jdbcType=DECIMAL}, #{item.register,jdbcType=DECIMAL},
|
|
|
+ #{item.activeRegisterCost,jdbcType=DECIMAL},
|
|
|
+ #{item.activeRegisterRate,jdbcType=REAL}, #{item.nextDayOpen,jdbcType=BIGINT},
|
|
|
+ #{item.nextDayOpenCost,jdbcType=DECIMAL},
|
|
|
+ #{item.nextDayOpenRate,jdbcType=DECIMAL}, #{item.attributionNextDayOpenCnt,jdbcType=BIGINT},
|
|
|
+ #{item.attributionNextDayOpenCost,jdbcType=DECIMAL}, #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
|
|
|
+ #{item.gameAddiction,jdbcType=BIGINT}, #{item.gameAddictionCost,jdbcType=DECIMAL},
|
|
|
+ #{item.gameAddictionRate,jdbcType=DECIMAL},
|
|
|
+ #{item.payCount,jdbcType=BIGINT}, #{item.activePayCost,jdbcType=DECIMAL},
|
|
|
+ #{item.activePayRate,jdbcType=DECIMAL},
|
|
|
+ #{item.loanCompletion,jdbcType=BIGINT}, #{item.loanCompletionCost,jdbcType=DECIMAL},
|
|
|
+ #{item.loanCompletionRate,jdbcType=DECIMAL},
|
|
|
+ #{item.preLoanCredit,jdbcType=BIGINT}, #{item.preLoanCreditCost,jdbcType=DECIMAL},
|
|
|
+ #{item.loanCredit,jdbcType=BIGINT},
|
|
|
+ #{item.loanCreditCost,jdbcType=DECIMAL}, #{item.loanCreditRate,jdbcType=DECIMAL},
|
|
|
+ #{item.inAppUv,jdbcType=BIGINT},
|
|
|
+ #{item.inAppDetailUv,jdbcType=BIGINT}, #{item.inAppCart,jdbcType=BIGINT}, #{item.inAppPay,jdbcType=BIGINT},
|
|
|
+ #{item.inAppOrder,jdbcType=BIGINT}, #{item.attributionGamePay7dCount,jdbcType=BIGINT},
|
|
|
+ #{item.attributionGamePay7dCost,jdbcType=DECIMAL},
|
|
|
+ #{item.attributionActivePay7dPerCount,jdbcType=BIGINT}, #{item.gamePayCost,jdbcType=DECIMAL},
|
|
|
+ #{item.gamePayCount,jdbcType=BIGINT}, #{item.phone,jdbcType=BIGINT}, #{item.form,jdbcType=BIGINT},
|
|
|
+ #{item.mapSearch,jdbcType=BIGINT}, #{item.button,jdbcType=BIGINT}, #{item.view,jdbcType=BIGINT},
|
|
|
+ #{item.download,jdbcType=BIGINT}, #{item.qq,jdbcType=BIGINT}, #{item.lottery,jdbcType=BIGINT},
|
|
|
+ #{item.vote,jdbcType=BIGINT}, #{item.message,jdbcType=BIGINT}, #{item.redirect,jdbcType=BIGINT},
|
|
|
+ #{item.shopping,jdbcType=BIGINT}, #{item.consult,jdbcType=BIGINT}, #{item.wechat,jdbcType=BIGINT},
|
|
|
+ #{item.phoneConfirm,jdbcType=BIGINT}, #{item.phoneConnect,jdbcType=BIGINT},
|
|
|
+ #{item.consultEffective,jdbcType=BIGINT},
|
|
|
+ #{item.coupon,jdbcType=BIGINT}, #{item.couponSinglePage,jdbcType=BIGINT},
|
|
|
+ #{item.redirectToShop,jdbcType=BIGINT},
|
|
|
+ #{item.poiCollect,jdbcType=BIGINT}, #{item.poiAddressClick,jdbcType=BIGINT},
|
|
|
+ #{item.lubanOrderCnt,jdbcType=BIGINT},
|
|
|
+ #{item.lubanOrderStatAmount,jdbcType=DECIMAL}, #{item.lubanOrderRoi,jdbcType=DECIMAL},
|
|
|
+ #{item.lubanLiveEnterCnt,jdbcType=BIGINT},
|
|
|
+ #{item.liveWatchOneMinuteCount,jdbcType=BIGINT}, #{item.lubanLiveFollowCnt,jdbcType=BIGINT},
|
|
|
+ #{item.liveFansClubJoinCnt,jdbcType=BIGINT}, #{item.lubanLiveCommentCnt,jdbcType=BIGINT},
|
|
|
+ #{item.lubanLiveShareCnt,jdbcType=BIGINT}, #{item.lubanLiveGiftCnt,jdbcType=BIGINT},
|
|
|
+ #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
|
|
|
+ #{item.lubanLiveSlidecartClickCnt,jdbcType=BIGINT}, #{item.lubanLiveClickProductCnt,jdbcType=BIGINT},
|
|
|
+ #{item.lubanLivePayOrderCount,jdbcType=BIGINT}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
|
|
|
+ #{item.liveComponentClickCount,jdbcType=BIGINT}, #{item.liveComponentClickCost,jdbcType=DECIMAL},
|
|
|
+ #{item.liveComponentClickRate,jdbcType=DECIMAL}, #{item.wechatLoginCount,jdbcType=BIGINT},
|
|
|
+ #{item.attributionWechatLogin30dCount,jdbcType=BIGINT}, #{item.wechatLoginCost,jdbcType=DECIMAL},
|
|
|
+ #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayCount,jdbcType=BIGINT},
|
|
|
+ #{item.attributionWechatFirstPay30dCount,jdbcType=BIGINT}, #{item.wechatFirstPayCost,jdbcType=DECIMAL},
|
|
|
+ #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL}, #{item.wechatFirstPayRate,jdbcType=DECIMAL},
|
|
|
+ #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL}, #{item.wechatPayAmount,jdbcType=DECIMAL},
|
|
|
+ #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL},
|
|
|
+ #{item.phoneEffective,jdbcType=BIGINT}, #{item.totalPlay,jdbcType=BIGINT},
|
|
|
+ #{item.validPlay,jdbcType=BIGINT},
|
|
|
+ #{item.validPlayCost,jdbcType=DECIMAL}, #{item.validPlayRate,jdbcType=DECIMAL},
|
|
|
+ #{item.play25FeedBreak,jdbcType=BIGINT},
|
|
|
+ #{item.play50FeedBreak,jdbcType=BIGINT}, #{item.play75FeedBreak,jdbcType=BIGINT},
|
|
|
+ #{item.play100FeedBreak,jdbcType=BIGINT},
|
|
|
+ #{item.averagePlayTimePerPlay,jdbcType=DECIMAL}, #{item.playOverRate,jdbcType=DECIMAL},
|
|
|
+ #{item.wifiPlayRate,jdbcType=DECIMAL},
|
|
|
+ #{item.wifiPlay,jdbcType=BIGINT}, #{item.playDurationSum,jdbcType=BIGINT},
|
|
|
+ #{item.advancedCreativePhoneClick,jdbcType=BIGINT},
|
|
|
+ #{item.advancedCreativeCounselClick,jdbcType=BIGINT}, #{item.advancedCreativeFormClick,jdbcType=BIGINT},
|
|
|
+ #{item.advancedCreativeCouponAddition,jdbcType=BIGINT}, #{item.advancedCreativeFormSubmit,jdbcType=BIGINT},
|
|
|
+ #{item.cardShow,jdbcType=BIGINT}, #{item.share,jdbcType=BIGINT}, #{item.comment,jdbcType=BIGINT},
|
|
|
+ #{item.like,jdbcType=BIGINT}, #{item.follow,jdbcType=BIGINT}, #{item.homeVisited,jdbcType=BIGINT},
|
|
|
+ #{item.iesChallengeClick,jdbcType=BIGINT}, #{item.iesMusicClick,jdbcType=BIGINT},
|
|
|
+ #{item.locationClick,jdbcType=BIGINT},
|
|
|
+ #{item.messageAction,jdbcType=BIGINT}, #{item.clickLandingPage,jdbcType=BIGINT},
|
|
|
+ #{item.clickShopwindow,jdbcType=BIGINT},
|
|
|
+ #{item.clickWebsite,jdbcType=BIGINT}, #{item.clickDownload,jdbcType=BIGINT},
|
|
|
+ #{item.clickCallDy,jdbcType=BIGINT},
|
|
|
+ #{item.submitCertificationCount,jdbcType=BIGINT}, #{item.approvalCount,jdbcType=BIGINT},
|
|
|
+ #{item.firstRentalOrderCount,jdbcType=BIGINT}, #{item.firstOrderCount,jdbcType=BIGINT},
|
|
|
+ #{item.commuteFirstPayCount,jdbcType=BIGINT},
|
|
|
+ #{item.attributionActivePayIntraOneDayCount},
|
|
|
+ #{item.attributionActivePayIntraOneDayCost},
|
|
|
+ #{item.attributionActivePayIntraOneDayRate},
|
|
|
+ #{item.attributionActivePayIntraOneDayAmount},
|
|
|
+ #{item.attributionActivePayIntraOneDayRoi},
|
|
|
+ #{item.statPayAmount},
|
|
|
+ #{item.inventory},
|
|
|
+ #{item.inventoryName}
|
|
|
+ )
|
|
|
+ </foreach>
|
|
|
+ </insert>
|
|
|
+
|
|
|
+
|
|
|
<insert id="insertV3Project" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceV3ProjectReportDaily">
|
|
|
replace into media_api.bytedance_cdp_project_report_daily (
|
|
|
advertiser_id,
|