Commit 86365c78ee69e4d4a7cc3d5e721c66d8b1ac33dc

Authored by Leon ago
1 parent 31238fdbb2
Exists in master

Remove redundant measurements

Showing 1 changed file with 7 additions and 47 deletions Side-by-side Diff

... ... @@ -47,17 +47,8 @@
47 47 "post_impressions_paid",
48 48 "post_impressions_organic_unique",
49 49 "post_impressions_organic",
50   - "post_impressions_viral_unique",
51   - "post_impressions_viral",
52 50 "post_impressions_by_story_type_unique,other",
53 51 "post_impressions_by_story_type,other",
54   - "post_impressions_fan_unique",
55   - "post_impressions_fan",
56   - "post_impressions_fan_paid_unique",
57   - "post_impressions_fan_paid",
58   - "post_impressions_by_paid_non_paid_unique,unpaid",
59   - "post_impressions_by_paid_non_paid_unique,total",
60   - "post_impressions_by_paid_non_paid_unique,paid",
61 52 "post_consumptions_by_type_unique,other clicks",
62 53 "post_consumptions_by_type_unique,photo view",
63 54 "post_consumptions_by_type_unique,video play",
64 55  
... ... @@ -66,38 +57,11 @@
66 57 "post_consumptions_by_type,photo view",
67 58 "post_consumptions_by_type,video play",
68 59 "post_consumptions_by_type,link clicks",
69   - "post_negative_feedback_unique",
70   - "post_negative_feedback_by_type_unique,hide_click",
71   - "post_negative_feedback_by_type_unique,hide_all_clicks",
72   - "post_negative_feedback_by_type,hide_click",
73   - "post_negative_feedback_by_type,hide_all_clicks",
74   - "post_engaged_fan",
75   - "post_fan_reach",
76   - "post_storytellers",
77   - "post_storytellers_by_action_type,comment",
78   - "post_storytellers_by_action_type,like",
79 60 "post_engaged_users",
80   - "post_stories",
81   - "post_stories_by_action_type,comment",
82   - "post_stories_by_action_type,like",
83   - "post_interests_impressions_unique",
84   - "post_interests_impressions",
85   - "post_interests_consumptions_unique",
86   - "post_interests_consumptions",
87   - "post_interests_consumptions_by_type_unique,link clicks",
88   - "post_interests_consumptions_by_type_unique,other clicks",
89   - "post_interests_consumptions_by_type_unique,photo view",
90   - "post_interests_consumptions_by_type_unique,video play",
91   - "post_interests_consumptions_by_type,link clicks",
92   - "post_interests_consumptions_by_type,other clicks",
93   - "post_interests_consumptions_by_type,photo view",
94   - "post_interests_consumptions_by_type,video play",
95   - "post_interests_action_by_type_unique,comment",
96   - "post_interests_action_by_type_unique,share",
97   - "post_interests_action_by_type_unique,like",
98   - "post_interests_action_by_type,comment",
99   - "post_interests_action_by_type,share",
100   - "post_interests_action_by_type,like",
  61 + "post_video_views",
  62 + "post_video_views_unique",
  63 + "post_video_views_paid",
  64 + "post_video_views_autoplayed"
101 65 "post_video_views_10s",
102 66 "post_video_views_10s_unique",
103 67 "post_video_views_10s_paid",
... ... @@ -108,11 +72,7 @@
108 72 "post_video_views_sound_on",
109 73 "post_video_view_time",
110 74 "post_video_complete_views_organic",
111   - "post_video_complete_views_paid",
112   - "post_video_views",
113   - "post_video_views_unique",
114   - "post_video_views_paid",
115   - "post_video_views_autoplayed"]
  75 + "post_video_complete_views_paid"]
116 76  
117 77 sqlprefix = "insert into facebook_insights ("
118 78 sqlvalues = " values ("
... ... @@ -123,8 +83,8 @@
123 83 sqlprefix = sqlprefix[:len(sqlprefix)-2] + ")"
124 84 sqlvalues = sqlvalues[:len(sqlvalues)-2] + ");"
125 85  
126   - #datadb = DataDB()
127   - #datadb.fb_insert(sqlprefix + sqlvalues)
  86 + # datadb = DataDB()
  87 + # datadb.fb_insert(sqlprefix + sqlvalues)
128 88 print sqlprefix + sqlvalues
129 89  
130 90