Revert "Analytics purchases_value口径改成platform_purchase_value"
This reverts commit 75ea3e2370.
			
			
This commit is contained in:
		
							parent
							
								
									75ea3e2370
								
							
						
					
					
						commit
						71470ca94c
					
				@ -208,7 +208,7 @@ class AdsInsightService
 | 
			
		||||
             COALESCE(SUM(d.purchases), 0) as purchases,
 | 
			
		||||
             COALESCE(SUM(d.platform_purchase), 0) as platform_purchase,
 | 
			
		||||
             COALESCE(SUM(d.pixel_purchase), 0) as pixel_purchase,
 | 
			
		||||
             COALESCE(SUM(d.platform_purchase_value / 1000000), 0) as purchases_value,
 | 
			
		||||
             COALESCE(SUM(d.purchases_value / 1000000), 0) as purchases_value,
 | 
			
		||||
             COALESCE(SUM(d.platform_purchase_value / 1000000), 0) as revenue,
 | 
			
		||||
             COALESCE(SUM(d.total_cost / 1000000), 0) as total_cost,
 | 
			
		||||
             -1 as conversion_rate, -1 as roas, -1 as ctr,-1 as net_profit,-1 as net_profit_margin,-1 as net_profit_on_ad_spend')
 | 
			
		||||
@ -920,7 +920,7 @@ class AdsInsightService
 | 
			
		||||
            COALESCE(SUM(d.purchases), 0) as purchases,
 | 
			
		||||
            COALESCE(SUM(d.platform_purchase), 0) as platform_purchase,
 | 
			
		||||
            COALESCE(SUM(d.pixel_purchase), 0) as pixel_purchase,
 | 
			
		||||
            COALESCE(SUM(d.platform_purchase_value / 1000000), 0) as purchases_value,
 | 
			
		||||
            COALESCE(SUM(d.purchases_value / 1000000), 0) as purchases_value,
 | 
			
		||||
            COALESCE(SUM(d.platform_purchase_value / 1000000), 0) as revenue,
 | 
			
		||||
            COALESCE(SUM(d.total_cost / 1000000), 0) as total_cost,
 | 
			
		||||
            -1 as conversion_rate, -1 as roas, -1 as ctr,-1 as net_profit,-1 as net_profit_margin,-1 as net_profit_on_ad_spend')
 | 
			
		||||
@ -1227,7 +1227,7 @@ class AdsInsightService
 | 
			
		||||
        COALESCE(SUM(d.purchases), 0) as purchases,
 | 
			
		||||
        COALESCE(SUM(d.platform_purchase), 0) as platform_purchase,
 | 
			
		||||
        COALESCE(SUM(d.pixel_purchase), 0) as pixel_purchase,
 | 
			
		||||
        COALESCE(SUM(d.platform_purchase_value) / 1000000, 0) as purchases_value,
 | 
			
		||||
        COALESCE(SUM(d.purchases_value) / 1000000, 0) as purchases_value,
 | 
			
		||||
        COALESCE(SUM(d.platform_purchase_value) / 1000000, 0) as revenue,
 | 
			
		||||
        COALESCE(SUM(d.total_cost) / 1000000, 0) as total_cost,
 | 
			
		||||
        -1 as conversion_rate, -1 as roas, -1 as ctr, -1 as net_profit, -1 as net_profit_margin, -1 as net_profit_on_ad_spend')
 | 
			
		||||
@ -1404,7 +1404,7 @@ class AdsInsightService
 | 
			
		||||
        COALESCE(SUM(d.purchases), 0) as purchases,
 | 
			
		||||
        COALESCE(SUM(d.platform_purchase), 0) as platform_purchase,
 | 
			
		||||
        COALESCE(SUM(d.pixel_purchase), 0) as pixel_purchase,
 | 
			
		||||
        COALESCE(SUM(d.platform_purchase_value) / 1000000, 0) as purchases_value,
 | 
			
		||||
        COALESCE(SUM(d.purchases_value) / 1000000, 0) as purchases_value,
 | 
			
		||||
        COALESCE(SUM(d.platform_purchase_value / 1000000), 0) as revenue,
 | 
			
		||||
        COALESCE(SUM(d.total_cost) / 1000000, 0) as total_cost,
 | 
			
		||||
        -1 as conversion_rate, -1 as roas, -1 as ctr, -1 as net_profit, -1 as net_profit_margin, -1 as net_profit_on_ad_spend')
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user