facebookbusiness 0.3.3.3 → 0.3.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad.rb +2 -0
  3. data/lib/facebook_ads/ad_objects/ad_account.rb +12 -33
  4. data/lib/facebook_ads/ad_objects/{reach_estimate.rb → ad_account_reach_estimate.rb} +1 -2
  5. data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +1 -0
  6. data/lib/facebook_ads/ad_objects/ad_activity.rb +1 -0
  7. data/lib/facebook_ads/ad_objects/ad_preview.rb +1 -0
  8. data/lib/facebook_ads/ad_objects/ad_report_run.rb +0 -4
  9. data/lib/facebook_ads/ad_objects/ad_set.rb +17 -12
  10. data/lib/facebook_ads/ad_objects/ad_study_objective.rb +4 -0
  11. data/lib/facebook_ads/ad_objects/ad_video.rb +2 -0
  12. data/lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb +1 -0
  13. data/lib/facebook_ads/ad_objects/ads_insights.rb +100 -0
  14. data/lib/facebook_ads/ad_objects/ads_pixel.rb +1 -2
  15. data/lib/facebook_ads/ad_objects/application.rb +5 -0
  16. data/lib/facebook_ads/ad_objects/business.rb +103 -4
  17. data/lib/facebook_ads/ad_objects/business_creative.rb +46 -0
  18. data/lib/facebook_ads/ad_objects/business_creative_folder.rb +76 -0
  19. data/lib/facebook_ads/ad_objects/business_image.rb +46 -0
  20. data/lib/facebook_ads/ad_objects/{ad_creative_optimization_spec.rb → collaborative_ads_share_settings.rb} +7 -7
  21. data/lib/facebook_ads/ad_objects/event.rb +6 -16
  22. data/lib/facebook_ads/ad_objects/event_source_group.rb +0 -18
  23. data/lib/facebook_ads/ad_objects/extended_credit_invoice_group.rb +3 -0
  24. data/lib/facebook_ads/ad_objects/group.rb +1 -1
  25. data/lib/facebook_ads/ad_objects/lead.rb +2 -0
  26. data/lib/facebook_ads/ad_objects/lead_gen_question.rb +1 -0
  27. data/lib/facebook_ads/ad_objects/leadgen_form.rb +1 -0
  28. data/lib/facebook_ads/ad_objects/live_encoder.rb +14 -0
  29. data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +1 -3
  30. data/lib/facebook_ads/ad_objects/oracle_transaction.rb +1 -0
  31. data/lib/facebook_ads/ad_objects/page.rb +6 -15
  32. data/lib/facebook_ads/ad_objects/partner_study.rb +56 -0
  33. data/lib/facebook_ads/ad_objects/post.rb +5 -1
  34. data/lib/facebook_ads/ad_objects/product_catalog.rb +7 -2
  35. data/lib/facebook_ads/ad_objects/reach_frequency_prediction.rb +0 -1
  36. data/lib/facebook_ads/ad_objects/targeting.rb +1 -0
  37. data/lib/facebook_ads/ad_objects/targeting_geo_location.rb +1 -0
  38. data/lib/facebook_ads/ad_objects/{null_node.rb → targeting_geo_location_location_expansion.rb} +2 -1
  39. data/lib/facebook_ads/ad_objects/user.rb +35 -53
  40. data/lib/facebook_ads/ad_objects/video_poll.rb +7 -1
  41. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +3 -1
  42. data/lib/facebook_ads/version.rb +1 -1
  43. metadata +67 -63
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1235152cf3411a27f1680a83d12d8d8b911240d1540156bfdfc53ea2f1596909
4
- data.tar.gz: 7eae3dde8fb347531132d0e6fe9a5df8f4f92b45e983e7653c07e1d409549aa7
3
+ metadata.gz: f47f1ea66dbf133a355ec03cf486014ac76ecbd867866e26f220d3756fc7bfd7
4
+ data.tar.gz: b9136a0fc33ed013528bcd6c563806c0d3e4c103753de51f212bfdddb71835be
5
5
  SHA512:
6
- metadata.gz: 05100fdd628eccf186497086156fa0c4ad25e9f459e3625191da15c0f98a637a50276c585e6f494e15178f22b789a9ebdc2a7887c73b316993ce7c11bf6a3815
7
- data.tar.gz: 18f40ccf9400ebfa9a29b441291371c5eba34590004f6cfbfa600dcd9844603d3af198061c4fe15010ec9be04f39a0aa5e585597a70091ca8bd17d3d4f2f782a
6
+ metadata.gz: e6f929bcc03a9b08a3108d29353db2dac5f26332527e8fe4cffa0014e6d87db35d13869443b02bafdacf2d6b3902865fea18ad108e40da29a1db28ab430d0975
7
+ data.tar.gz: 951a90cfa8f60544d2f2259812f202f740d7c55589e857125b33b45ade93995fd8a08b73439fd019f9f9a0199b3249e0e8f65672e6ae13a293a1350e6dbc547a
@@ -122,9 +122,11 @@ module FacebookAds
122
122
  field :engagement_audience, 'bool'
123
123
  field :failed_delivery_checks, { list: 'DeliveryCheck' }
124
124
  field :id, 'string'
125
+ field :is_autobid, 'bool'
125
126
  field :issues_info, { list: 'AdgroupIssuesInfo' }
126
127
  field :last_updated_by_app_id, 'string'
127
128
  field :name, 'string'
129
+ field :preview_shareable_link, 'string'
128
130
  field :priority, 'int'
129
131
  field :recommendations, { list: 'AdRecommendation' }
130
132
  field :source_ad, 'Ad'
@@ -86,12 +86,16 @@ module FacebookAds
86
86
  PERMITTED_TASKS = [
87
87
  "ADVERTISE",
88
88
  "ANALYZE",
89
+ "CREATIVE",
90
+ "FB_EMPLOYEE_DSO_ADVERTISE",
89
91
  "MANAGE",
90
92
  ]
91
93
 
92
94
  TASKS = [
93
95
  "ADVERTISE",
94
96
  "ANALYZE",
97
+ "CREATIVE",
98
+ "FB_EMPLOYEE_DSO_ADVERTISE",
95
99
  "MANAGE",
96
100
  ]
97
101
 
@@ -161,6 +165,7 @@ module FacebookAds
161
165
  field :disable_reason, 'int'
162
166
  field :end_advertiser, 'string'
163
167
  field :end_advertiser_name, 'string'
168
+ field :extended_credit_invoice_group, 'ExtendedCreditInvoiceGroup'
164
169
  field :failed_delivery_checks, { list: 'DeliveryCheck' }
165
170
  field :fb_entity, 'int'
166
171
  field :funding_source, 'string'
@@ -225,8 +230,13 @@ module FacebookAds
225
230
  end
226
231
 
227
232
  has_edge :ad_sets do |edge|
233
+ edge.delete do |api|
234
+ api.has_param :before_date, 'datetime'
235
+ api.has_param :delete_offset, 'int'
236
+ api.has_param :delete_strategy, { enum: %w{DELETE_ANY DELETE_ARCHIVED_BEFORE DELETE_OLDEST }}
237
+ api.has_param :object_count, 'int'
238
+ end
228
239
  edge.post 'AdSet' do |api|
229
- api.has_param :ad_keywords, 'object'
230
240
  api.has_param :adlabels, { list: 'object' }
231
241
  api.has_param :adset_schedule, { list: 'object' }
232
242
  api.has_param :attribution_spec, { list: 'hash' }
@@ -505,12 +515,6 @@ module FacebookAds
505
515
  end
506
516
 
507
517
  has_edge :adsets do |edge|
508
- edge.delete do |api|
509
- api.has_param :before_date, 'datetime'
510
- api.has_param :delete_offset, 'int'
511
- api.has_param :delete_strategy, { enum: %w{DELETE_ANY DELETE_ARCHIVED_BEFORE DELETE_OLDEST }}
512
- api.has_param :object_count, 'int'
513
- end
514
518
  edge.get 'AdSet' do |api|
515
519
  api.has_param :ad_draft_id, 'string'
516
520
  api.has_param :date_preset, { enum: -> { AdSet::DATE_PRESET }}
@@ -723,15 +727,6 @@ module FacebookAds
723
727
  end
724
728
  end
725
729
 
726
- has_edge :brand_audiences do |edge|
727
- edge.post do |api|
728
- api.has_param :description, 'string'
729
- api.has_param :name, 'string'
730
- api.has_param :target_size, 'int'
731
- api.has_param :targeting, 'object'
732
- end
733
- end
734
-
735
730
  has_edge :broadtargetingcategories do |edge|
736
731
  edge.get 'BroadTargetingCategories' do |api|
737
732
  api.has_param :custom_categories_only, 'bool'
@@ -996,14 +991,6 @@ module FacebookAds
996
991
  end
997
992
  end
998
993
 
999
- has_edge :partnerrequests do |edge|
1000
- edge.post do |api|
1001
- api.has_param :account_ids, { list: 'int' }
1002
- api.has_param :category_ids, { list: 'string' }
1003
- api.has_param :type, { enum: %w{SHARE_PC }}
1004
- end
1005
- end
1006
-
1007
994
  has_edge :product_audiences do |edge|
1008
995
  edge.post 'CustomAudience' do |api|
1009
996
  api.has_param :allowed_domains, { list: 'string' }
@@ -1044,7 +1031,7 @@ module FacebookAds
1044
1031
  end
1045
1032
 
1046
1033
  has_edge :reachestimate do |edge|
1047
- edge.get 'ReachEstimate' do |api|
1034
+ edge.get 'AdAccountReachEstimate' do |api|
1048
1035
  api.has_param :adgroup_ids, { list: 'string' }
1049
1036
  api.has_param :caller_id, 'string'
1050
1037
  api.has_param :concepts, 'string'
@@ -1193,15 +1180,7 @@ module FacebookAds
1193
1180
  end
1194
1181
 
1195
1182
  has_edge :users do |edge|
1196
- edge.delete do |api|
1197
- api.has_param :uid, 'int'
1198
- api.has_param :uids, { list: 'string' }
1199
- end
1200
1183
  edge.get 'AdAccountUser'
1201
- edge.post 'AdAccount' do |api|
1202
- api.has_param :tasks, { list: { enum: -> { AdAccount::TASKS }} }
1203
- api.has_param :uid, 'int'
1204
- end
1205
1184
  end
1206
1185
 
1207
1186
  has_edge :usersofanyaudience do |edge|
@@ -25,10 +25,9 @@ module FacebookAds
25
25
  # on github and we'll fix in our codegen framework. We'll not be able to accept
26
26
  # pull request for this class.
27
27
 
28
- class ReachEstimate < AdObject
28
+ class AdAccountReachEstimate < AdObject
29
29
 
30
30
  field :estimate_ready, 'bool'
31
- field :unsupported, 'bool'
32
31
  field :users, 'int'
33
32
  has_no_id
34
33
  has_no_get
@@ -99,6 +99,7 @@ module FacebookAds
99
99
  "ethnic_affinity",
100
100
  "exclude_previous_days",
101
101
  "exclude_reached_since",
102
+ "excluded_brand_safety_content_types",
102
103
  "excluded_connections",
103
104
  "excluded_custom_audiences",
104
105
  "excluded_dynamic_audience_ids",
@@ -48,6 +48,7 @@ module FacebookAds
48
48
  "billing_event",
49
49
  "campaign_ended",
50
50
  "campaign_spending_limit_reached",
51
+ "conversion_event_updated",
51
52
  "create_ad",
52
53
  "create_ad_set",
53
54
  "create_audience",
@@ -35,6 +35,7 @@ module FacebookAds
35
35
  "FACEBOOK_STORY_MOBILE",
36
36
  "INSTAGRAM_STANDARD",
37
37
  "INSTAGRAM_STORY",
38
+ "INSTANT_ARTICLE_RECIRCULATION_AD",
38
39
  "INSTANT_ARTICLE_STANDARD",
39
40
  "INSTREAM_VIDEO_DESKTOP",
40
41
  "INSTREAM_VIDEO_MOBILE",
@@ -65,9 +65,5 @@ module FacebookAds
65
65
  edge.get 'AdsInsights'
66
66
  end
67
67
 
68
- has_edge :retry do |edge|
69
- edge.post 'AdReportRun'
70
- end
71
-
72
68
  end
73
69
  end
@@ -161,7 +161,6 @@ module FacebookAds
161
161
 
162
162
 
163
163
  field :account_id, 'string'
164
- field :ad_keywords, 'AdKeywords'
165
164
  field :adlabels, { list: 'AdLabel' }
166
165
  field :adset_schedule, { list: 'DayPart' }
167
166
  field :asset_feed_id, 'string'
@@ -244,17 +243,6 @@ module FacebookAds
244
243
  edge.get 'AdCreative'
245
244
  end
246
245
 
247
- has_edge :adlabels do |edge|
248
- edge.delete do |api|
249
- api.has_param :adlabels, { list: 'object' }
250
- api.has_param :execution_options, { list: { enum: -> { AdSet::EXECUTION_OPTIONS }} }
251
- end
252
- edge.post 'AdSet' do |api|
253
- api.has_param :adlabels, { list: 'object' }
254
- api.has_param :execution_options, { list: { enum: -> { AdSet::EXECUTION_OPTIONS }} }
255
- end
256
- end
257
-
258
246
  has_edge :adrules_governed do |edge|
259
247
  edge.get 'AdRule' do |api|
260
248
  api.has_param :pass_evaluation, 'bool'
@@ -274,6 +262,12 @@ module FacebookAds
274
262
  end
275
263
 
276
264
  has_edge :copies do |edge|
265
+ edge.get 'AdSet' do |api|
266
+ api.has_param :date_preset, { enum: -> { AdSet::DATE_PRESET }}
267
+ api.has_param :effective_status, { list: { enum: -> { AdSet::EFFECTIVE_STATUS }} }
268
+ api.has_param :is_completed, 'bool'
269
+ api.has_param :time_range, 'object'
270
+ end
277
271
  edge.post 'AdSet' do |api|
278
272
  api.has_param :campaign_id, 'string'
279
273
  api.has_param :create_dco_adset, 'bool'
@@ -340,6 +334,17 @@ module FacebookAds
340
334
  end
341
335
  end
342
336
 
337
+ has_edge :labels do |edge|
338
+ edge.delete do |api|
339
+ api.has_param :adlabels, { list: 'object' }
340
+ api.has_param :execution_options, { list: { enum: -> { AdSet::EXECUTION_OPTIONS }} }
341
+ end
342
+ edge.post 'AdSet' do |api|
343
+ api.has_param :adlabels, { list: 'object' }
344
+ api.has_param :execution_options, { list: { enum: -> { AdSet::EXECUTION_OPTIONS }} }
345
+ end
346
+ end
347
+
343
348
  has_edge :targetingsentencelines do |edge|
344
349
  edge.get 'TargetingSentenceLine'
345
350
  end
@@ -71,5 +71,9 @@ module FacebookAds
71
71
  edge.get 'OffsitePixel'
72
72
  end
73
73
 
74
+ has_edge :partnerstudies do |edge|
75
+ edge.get 'PartnerStudy'
76
+ end
77
+
74
78
  end
75
79
  end
@@ -72,6 +72,7 @@ module FacebookAds
72
72
  "GROUP_POST",
73
73
  "HEURISTIC_CLUSTER_VIDEO",
74
74
  "HEURISTIC_PREVIEW",
75
+ "HIGHLIGHT_CLIP_VIDEO",
75
76
  "INSPIRATION_VIDEO",
76
77
  "INSTAGRAM_VIDEO_COPY",
77
78
  "INSTANT_APPLICATION_PREVIEW",
@@ -299,6 +300,7 @@ module FacebookAds
299
300
  field :video_file_chunk, 'string'
300
301
  field :video_start_time_ms, 'int'
301
302
  field :waterfall_id, 'string'
303
+ field :creative_folder_id, 'string'
302
304
 
303
305
  has_edge :auto_trims do |edge|
304
306
  edge.post 'AdVideo' do |api|
@@ -49,6 +49,7 @@ module FacebookAds
49
49
  field :profile, 'hash'
50
50
  field :seller, 'hash'
51
51
  field :shops, 'hash'
52
+ field :traffic_quality, 'hash'
52
53
  field :whatsapp, 'hash'
53
54
  has_no_id
54
55
  has_no_get
@@ -40,6 +40,7 @@ module FacebookAds
40
40
  "action_canvas_component_name",
41
41
  "action_carousel_card_id",
42
42
  "action_carousel_card_name",
43
+ "action_converted_product_id",
43
44
  "action_destination",
44
45
  "action_device",
45
46
  "action_reaction",
@@ -112,6 +113,7 @@ module FacebookAds
112
113
  "action_canvas_component_name",
113
114
  "action_carousel_card_id",
114
115
  "action_carousel_card_name",
116
+ "action_converted_product_id",
115
117
  "action_destination",
116
118
  "action_device",
117
119
  "action_reaction",
@@ -127,42 +129,90 @@ module FacebookAds
127
129
  field :account_name, 'string'
128
130
  field :action_values, { list: 'AdsActionStats' }
129
131
  field :actions, { list: 'AdsActionStats' }
132
+ field :actions_per_impression, 'string'
133
+ field :actions_results, 'AdsActionStats'
130
134
  field :activity_recency, 'string'
135
+ field :ad_bid_type, 'string'
136
+ field :ad_bid_value, 'string'
131
137
  field :ad_click_actions, { list: 'AdsActionStats' }
138
+ field :ad_delivery, 'string'
132
139
  field :ad_format_asset, 'string'
133
140
  field :ad_id, 'string'
134
141
  field :ad_impression_actions, { list: 'AdsActionStats' }
135
142
  field :ad_name, 'string'
143
+ field :adset_bid_type, 'string'
144
+ field :adset_bid_value, 'string'
145
+ field :adset_budget_type, 'string'
146
+ field :adset_budget_value, 'string'
147
+ field :adset_delivery, 'string'
148
+ field :adset_end, 'string'
136
149
  field :adset_id, 'string'
137
150
  field :adset_name, 'string'
151
+ field :adset_start, 'string'
138
152
  field :age, 'string'
139
153
  field :age_targeting, 'string'
154
+ field :amount_in_catalog_currency, { list: 'AdsActionStats' }
155
+ field :app_store_clicks, 'string'
156
+ field :attention_events_per_impression, 'string'
157
+ field :attention_events_unq_per_reach, 'string'
140
158
  field :auction_bid, 'string'
141
159
  field :auction_competitiveness, 'string'
142
160
  field :auction_max_competitor_bid, 'string'
143
161
  field :body_asset, 'object'
144
162
  field :buying_type, 'string'
145
163
  field :call_to_action_asset, 'object'
164
+ field :call_to_action_clicks, 'string'
165
+ field :campaign_delivery, 'string'
166
+ field :campaign_end, 'string'
146
167
  field :campaign_id, 'string'
147
168
  field :campaign_name, 'string'
169
+ field :campaign_start, 'string'
170
+ field :cancel_subscription_actions, { list: 'AdsActionStats' }
148
171
  field :canvas_avg_view_percent, 'string'
149
172
  field :canvas_avg_view_time, 'string'
173
+ field :card_views, 'string'
174
+ field :catalog_segment_actions, { list: 'AdsActionStats' }
175
+ field :catalog_segment_value_in_catalog_currency, { list: 'AdsActionStats' }
176
+ field :catalog_segment_value_mobile_purchase_roas, { list: 'AdsActionStats' }
177
+ field :catalog_segment_value_website_purchase_roas, { list: 'AdsActionStats' }
150
178
  field :clicks, 'string'
179
+ field :conditional_time_spent_ms_over_10s_actions, { list: 'AdsActionStats' }
180
+ field :conditional_time_spent_ms_over_15s_actions, { list: 'AdsActionStats' }
181
+ field :conditional_time_spent_ms_over_2s_actions, { list: 'AdsActionStats' }
182
+ field :conditional_time_spent_ms_over_3s_actions, { list: 'AdsActionStats' }
183
+ field :conditional_time_spent_ms_over_6s_actions, { list: 'AdsActionStats' }
184
+ field :contact_actions, { list: 'AdsActionStats' }
185
+ field :contact_value, { list: 'AdsActionStats' }
151
186
  field :conversion_values, { list: 'AdsActionStats' }
152
187
  field :conversions, { list: 'AdsActionStats' }
153
188
  field :cost_per_10_sec_video_view, { list: 'AdsActionStats' }
154
189
  field :cost_per_15_sec_video_view, { list: 'AdsActionStats' }
155
190
  field :cost_per_2_sec_continuous_video_view, { list: 'AdsActionStats' }
191
+ field :cost_per_action_result, 'AdsActionStats'
156
192
  field :cost_per_action_type, { list: 'AdsActionStats' }
157
193
  field :cost_per_ad_click, { list: 'AdsActionStats' }
194
+ field :cost_per_completed_video_view, { list: 'AdsActionStats' }
195
+ field :cost_per_contact, { list: 'AdsActionStats' }
158
196
  field :cost_per_conversion, { list: 'AdsActionStats' }
197
+ field :cost_per_customize_product, { list: 'AdsActionStats' }
159
198
  field :cost_per_dda_countby_convs, 'string'
199
+ field :cost_per_donate, { list: 'AdsActionStats' }
200
+ field :cost_per_dwell, 'string'
201
+ field :cost_per_dwell_3_sec, 'string'
202
+ field :cost_per_dwell_5_sec, 'string'
203
+ field :cost_per_dwell_7_sec, 'string'
160
204
  field :cost_per_estimated_ad_recallers, 'string'
205
+ field :cost_per_find_location, { list: 'AdsActionStats' }
161
206
  field :cost_per_inline_link_click, 'string'
162
207
  field :cost_per_inline_post_engagement, 'string'
163
208
  field :cost_per_one_thousand_ad_impression, { list: 'AdsActionStats' }
164
209
  field :cost_per_outbound_click, { list: 'AdsActionStats' }
210
+ field :cost_per_schedule, { list: 'AdsActionStats' }
211
+ field :cost_per_start_trial, { list: 'AdsActionStats' }
212
+ field :cost_per_submit_application, { list: 'AdsActionStats' }
213
+ field :cost_per_subscribe, { list: 'AdsActionStats' }
165
214
  field :cost_per_thruplay, { list: 'AdsActionStats' }
215
+ field :cost_per_total_action, 'string'
166
216
  field :cost_per_unique_action_type, { list: 'AdsActionStats' }
167
217
  field :cost_per_unique_click, 'string'
168
218
  field :cost_per_unique_conversion, { list: 'AdsActionStats' }
@@ -175,20 +225,37 @@ module FacebookAds
175
225
  field :created_time, 'string'
176
226
  field :creative_fingerprint, 'string'
177
227
  field :ctr, 'string'
228
+ field :customize_product_actions, { list: 'AdsActionStats' }
229
+ field :customize_product_value, { list: 'AdsActionStats' }
178
230
  field :date_start, 'string'
179
231
  field :date_stop, 'string'
180
232
  field :dda_countby_convs, 'string'
233
+ field :deduping_1st_source_ratio, 'string'
234
+ field :deduping_2nd_source_ratio, 'string'
235
+ field :deduping_3rd_source_ratio, 'string'
236
+ field :deduping_ratio, 'string'
237
+ field :deeplink_clicks, 'string'
181
238
  field :description_asset, 'object'
182
239
  field :device_platform, 'string'
183
240
  field :dma, 'string'
241
+ field :donate_actions, { list: 'AdsActionStats' }
242
+ field :donate_value, { list: 'AdsActionStats' }
243
+ field :dwell_3_sec, 'string'
244
+ field :dwell_5_sec, 'string'
245
+ field :dwell_7_sec, 'string'
246
+ field :dwell_rate, 'string'
184
247
  field :estimated_ad_recall_rate, 'string'
185
248
  field :estimated_ad_recall_rate_lower_bound, 'string'
186
249
  field :estimated_ad_recall_rate_upper_bound, 'string'
187
250
  field :estimated_ad_recallers, 'string'
188
251
  field :estimated_ad_recallers_lower_bound, 'string'
189
252
  field :estimated_ad_recallers_upper_bound, 'string'
253
+ field :find_location_actions, { list: 'AdsActionStats' }
254
+ field :find_location_value, { list: 'AdsActionStats' }
190
255
  field :frequency, 'string'
191
256
  field :frequency_value, 'string'
257
+ field :full_view_impressions, 'string'
258
+ field :full_view_reach, 'string'
192
259
  field :gender, 'string'
193
260
  field :gender_targeting, 'string'
194
261
  field :hourly_stats_aggregated_by_advertiser_time_zone, 'string'
@@ -196,18 +263,29 @@ module FacebookAds
196
263
  field :image_asset, 'object'
197
264
  field :impression_device, 'string'
198
265
  field :impressions, 'string'
266
+ field :impressions_auto_refresh, 'string'
199
267
  field :impressions_dummy, 'string'
268
+ field :impressions_gross, 'string'
200
269
  field :inline_link_click_ctr, 'string'
201
270
  field :inline_link_clicks, 'string'
202
271
  field :inline_post_engagement, 'string'
272
+ field :instant_experience_clicks_to_open, 'string'
273
+ field :instant_experience_clicks_to_start, 'string'
274
+ field :instant_experience_outbound_clicks, 'string'
275
+ field :interactive_component_tap, { list: 'AdsActionStats' }
203
276
  field :labels, 'string'
204
277
  field :link_url_asset, 'object'
205
278
  field :location, 'string'
206
279
  field :media_asset, 'object'
207
280
  field :mobile_app_purchase_roas, { list: 'AdsActionStats' }
281
+ field :newsfeed_avg_position, 'string'
282
+ field :newsfeed_clicks, 'string'
283
+ field :newsfeed_impressions, 'string'
208
284
  field :objective, 'string'
285
+ field :optimization_goal, 'string'
209
286
  field :outbound_clicks, { list: 'AdsActionStats' }
210
287
  field :outbound_clicks_ctr, { list: 'AdsActionStats' }
288
+ field :performance_indicator, 'string'
211
289
  field :place_page_id, 'string'
212
290
  field :place_page_name, 'string'
213
291
  field :placement, 'string'
@@ -215,17 +293,36 @@ module FacebookAds
215
293
  field :product_id, 'string'
216
294
  field :publisher_platform, 'string'
217
295
  field :purchase_roas, { list: 'AdsActionStats' }
296
+ field :quality_score_ectr, 'string'
297
+ field :quality_score_ecvr, 'string'
298
+ field :quality_score_enfbr, 'string'
299
+ field :quality_score_organic, 'string'
218
300
  field :reach, 'string'
301
+ field :recurring_subscription_payment_actions, { list: 'AdsActionStats' }
219
302
  field :region, 'string'
220
303
  field :relevance_score, 'AdgroupRelevanceScore'
221
304
  field :rule_asset, 'object'
305
+ field :schedule_actions, { list: 'AdsActionStats' }
306
+ field :schedule_value, { list: 'AdsActionStats' }
222
307
  field :social_spend, 'string'
223
308
  field :spend, 'string'
309
+ field :start_trial_actions, { list: 'AdsActionStats' }
310
+ field :start_trial_value, { list: 'AdsActionStats' }
311
+ field :submit_application_actions, { list: 'AdsActionStats' }
312
+ field :submit_application_value, { list: 'AdsActionStats' }
313
+ field :subscribe_actions, { list: 'AdsActionStats' }
314
+ field :subscribe_value, { list: 'AdsActionStats' }
315
+ field :thumb_stops, 'string'
224
316
  field :title_asset, 'object'
317
+ field :today_spend, 'string'
318
+ field :total_action_value, 'string'
319
+ field :total_actions, 'string'
320
+ field :total_unique_actions, 'string'
225
321
  field :unique_actions, { list: 'AdsActionStats' }
226
322
  field :unique_clicks, 'string'
227
323
  field :unique_conversions, { list: 'AdsActionStats' }
228
324
  field :unique_ctr, 'string'
325
+ field :unique_impressions, 'string'
229
326
  field :unique_inline_link_click_ctr, 'string'
230
327
  field :unique_inline_link_clicks, 'string'
231
328
  field :unique_link_clicks_ctr, 'string'
@@ -241,6 +338,8 @@ module FacebookAds
241
338
  field :video_asset, 'object'
242
339
  field :video_avg_percent_watched_actions, { list: 'AdsActionStats' }
243
340
  field :video_avg_time_watched_actions, { list: 'AdsActionStats' }
341
+ field :video_complete_watched_actions, { list: 'AdsActionStats' }
342
+ field :video_completed_view_or_15s_passed_actions, { list: 'AdsActionStats' }
244
343
  field :video_continuous_2_sec_watched_actions, { list: 'AdsActionStats' }
245
344
  field :video_p100_watched_actions, { list: 'AdsActionStats' }
246
345
  field :video_p25_watched_actions, { list: 'AdsActionStats' }
@@ -254,6 +353,7 @@ module FacebookAds
254
353
  field :video_play_retention_graph_actions, { list: 'object' }
255
354
  field :video_thruplay_watched_actions, { list: 'AdsActionStats' }
256
355
  field :video_time_watched_actions, { list: 'AdsActionStats' }
356
+ field :website_clicks, 'string'
257
357
  field :website_ctr, { list: 'AdsActionStats' }
258
358
  field :website_purchase_roas, { list: 'AdsActionStats' }
259
359
  field :wish_bid, 'string'