facebookbusiness 0.8.0.0 → 0.8.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad_account.rb +9 -0
  3. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +23 -0
  4. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
  5. data/lib/facebook_ads/ad_objects/ad_creative_instagram_branded_content.rb +36 -0
  6. data/lib/facebook_ads/ad_objects/ad_creative_interactive_components_spec.rb +1 -0
  7. data/lib/facebook_ads/ad_objects/ad_network_analytics_sync_query_result.rb +1 -0
  8. data/lib/facebook_ads/ad_objects/ad_study.rb +1 -0
  9. data/lib/facebook_ads/ad_objects/ad_video.rb +7 -0
  10. data/lib/facebook_ads/ad_objects/adoptable_pet.rb +1 -0
  11. data/lib/facebook_ads/ad_objects/ads_pixel.rb +3 -0
  12. data/lib/facebook_ads/ad_objects/application.rb +22 -0
  13. data/lib/facebook_ads/ad_objects/atlas_campaign.rb +1 -1
  14. data/lib/facebook_ads/ad_objects/automotive_model.rb +1 -0
  15. data/lib/facebook_ads/ad_objects/business.rb +49 -0
  16. data/lib/facebook_ads/ad_objects/business_asset_group.rb +2 -0
  17. data/lib/facebook_ads/ad_objects/business_role_request.rb +4 -0
  18. data/lib/facebook_ads/ad_objects/business_unit.rb +1 -1
  19. data/lib/facebook_ads/ad_objects/business_user.rb +4 -0
  20. data/lib/facebook_ads/ad_objects/catalog_sub_vertical_list.rb +88 -0
  21. data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +19 -0
  22. data/lib/facebook_ads/ad_objects/commerce_order.rb +6 -0
  23. data/lib/facebook_ads/ad_objects/{work_meeting_link.rb → connections_targeting.rb} +3 -2
  24. data/lib/facebook_ads/ad_objects/cpas_advertiser_partnership_recommendation.rb +43 -0
  25. data/lib/facebook_ads/ad_objects/cpas_collaboration_request.rb +50 -0
  26. data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +1 -0
  27. data/lib/facebook_ads/ad_objects/da_check.rb +7 -0
  28. data/lib/facebook_ads/ad_objects/destination.rb +1 -0
  29. data/lib/facebook_ads/ad_objects/event.rb +1 -0
  30. data/lib/facebook_ads/ad_objects/extended_credit.rb +7 -0
  31. data/lib/facebook_ads/ad_objects/flight.rb +1 -0
  32. data/lib/facebook_ads/ad_objects/group.rb +5 -0
  33. data/lib/facebook_ads/ad_objects/home_listing.rb +1 -0
  34. data/lib/facebook_ads/ad_objects/hotel.rb +1 -0
  35. data/lib/facebook_ads/ad_objects/live_video.rb +12 -12
  36. data/lib/facebook_ads/ad_objects/page.rb +21 -1
  37. data/lib/facebook_ads/ad_objects/page_post.rb +2 -0
  38. data/lib/facebook_ads/ad_objects/photo.rb +6 -0
  39. data/lib/facebook_ads/ad_objects/post.rb +3 -1
  40. data/lib/facebook_ads/ad_objects/product_catalog.rb +38 -0
  41. data/lib/facebook_ads/ad_objects/product_feed.rb +30 -0
  42. data/lib/facebook_ads/ad_objects/product_group.rb +1 -0
  43. data/lib/facebook_ads/ad_objects/product_item.rb +2 -0
  44. data/lib/facebook_ads/ad_objects/product_set.rb +1 -0
  45. data/lib/facebook_ads/ad_objects/product_set_metadata.rb +1 -0
  46. data/lib/facebook_ads/ad_objects/publisher_block_list.rb +6 -0
  47. data/lib/facebook_ads/ad_objects/security_settings.rb +0 -1
  48. data/lib/facebook_ads/ad_objects/server_side/event_request.rb +11 -11
  49. data/lib/facebook_ads/ad_objects/server_side/event_request_async.rb +31 -0
  50. data/lib/facebook_ads/ad_objects/server_side/user_data.rb +20 -1
  51. data/lib/facebook_ads/ad_objects/system_user.rb +4 -0
  52. data/lib/facebook_ads/ad_objects/targeting.rb +3 -3
  53. data/lib/facebook_ads/ad_objects/unified_thread.rb +1 -0
  54. data/lib/facebook_ads/ad_objects/user.rb +6 -11
  55. data/lib/facebook_ads/ad_objects/vehicle.rb +1 -0
  56. data/lib/facebook_ads/ad_objects/vehicle_offer.rb +1 -0
  57. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +22 -0
  58. data/lib/facebook_ads/errors.rb +1 -1
  59. data/lib/facebook_ads/version.rb +1 -1
  60. metadata +26 -7
@@ -64,6 +64,35 @@ module FacebookAds
64
64
  "google",
65
65
  ]
66
66
 
67
+ ITEM_SUB_TYPE = [
68
+ "APPLIANCES",
69
+ "BABY_FEEDING",
70
+ "BABY_TRANSPORT",
71
+ "BEAUTY",
72
+ "BEDDING",
73
+ "CAMERAS",
74
+ "CELL_PHONES_AND_SMART_WATCHES",
75
+ "CLEANING_SUPPLIES",
76
+ "CLOTHING",
77
+ "CLOTHING_ACCESSORIES",
78
+ "COMPUTERS_AND_TABLETS",
79
+ "DIAPERING_AND_POTTY_TRAINING",
80
+ "ELECTRONICS_ACCESSORIES",
81
+ "FURNITURE",
82
+ "HEALTH",
83
+ "HOME_GOODS",
84
+ "JEWELRY",
85
+ "NURSERY",
86
+ "PRINTERS_AND_SCANNERS",
87
+ "PROJECTORS",
88
+ "SHOES_AND_FOOTWEAR",
89
+ "SOFTWARE",
90
+ "TOYS",
91
+ "TVS_AND_MONITORS",
92
+ "VIDEO_GAME_CONSOLES_AND_VIDEO_GAMES",
93
+ "WATCHES",
94
+ ]
95
+
67
96
 
68
97
  field :business, 'Business'
69
98
  field :commerce_merchant_settings, 'CommerceMerchantSettings'
@@ -77,9 +106,12 @@ module FacebookAds
77
106
  field :product_count, 'int'
78
107
  field :store_catalog_settings, 'StoreCatalogSettings'
79
108
  field :vertical, 'string'
109
+ field :catalog_segment_filter, 'object'
110
+ field :catalog_segment_product_set_id, 'string'
80
111
  field :destination_catalog_settings, 'hash'
81
112
  field :flight_catalog_settings, 'hash'
82
113
  field :onsite_commerce_merchant, 'object'
114
+ field :parent_catalog_id, 'string'
83
115
 
84
116
  has_edge :agencies do |edge|
85
117
  edge.delete do |api|
@@ -90,6 +122,7 @@ module FacebookAds
90
122
  api.has_param :business, 'string'
91
123
  api.has_param :permitted_roles, { list: { enum: -> { ProductCatalog::PERMITTED_ROLES }} }
92
124
  api.has_param :permitted_tasks, { list: { enum: -> { ProductCatalog::PERMITTED_TASKS }} }
125
+ api.has_param :utm_settings, 'hash'
93
126
  end
94
127
  end
95
128
 
@@ -235,6 +268,7 @@ module FacebookAds
235
268
  has_edge :items_batch do |edge|
236
269
  edge.post 'ProductCatalog' do |api|
237
270
  api.has_param :allow_upsert, 'bool'
271
+ api.has_param :item_sub_type, { enum: -> { ProductCatalog::ITEM_SUB_TYPE }}
238
272
  api.has_param :item_type, 'string'
239
273
  api.has_param :requests, 'hash'
240
274
  end
@@ -270,6 +304,7 @@ module FacebookAds
270
304
  api.has_param :encoding, { enum: -> { ProductFeed::ENCODING }}
271
305
  api.has_param :feed_type, { enum: -> { ProductFeed::FEED_TYPE }}
272
306
  api.has_param :file_name, 'string'
307
+ api.has_param :item_sub_type, { enum: -> { ProductFeed::ITEM_SUB_TYPE }}
273
308
  api.has_param :name, 'string'
274
309
  api.has_param :override_type, { enum: -> { ProductFeed::OVERRIDE_TYPE }}
275
310
  api.has_param :override_value, 'string'
@@ -300,6 +335,7 @@ module FacebookAds
300
335
  api.has_param :filter, 'object'
301
336
  api.has_param :metadata, 'hash'
302
337
  api.has_param :name, 'string'
338
+ api.has_param :retailer_id, 'string'
303
339
  end
304
340
  end
305
341
 
@@ -326,6 +362,7 @@ module FacebookAds
326
362
  api.has_param :availability, { enum: -> { ProductItem::AVAILABILITY }}
327
363
  api.has_param :brand, 'string'
328
364
  api.has_param :category, 'string'
365
+ api.has_param :category_specific_fields, 'hash'
329
366
  api.has_param :checkout_url, 'string'
330
367
  api.has_param :color, 'string'
331
368
  api.has_param :commerce_tax_category, { enum: -> { ProductItem::COMMERCE_TAX_CATEGORY }}
@@ -339,6 +376,7 @@ module FacebookAds
339
376
  api.has_param :custom_label_4, 'string'
340
377
  api.has_param :description, 'string'
341
378
  api.has_param :expiration_date, 'string'
379
+ api.has_param :fb_product_category, 'string'
342
380
  api.has_param :gender, { enum: -> { ProductItem::GENDER }}
343
381
  api.has_param :gtin, 'string'
344
382
  api.has_param :image_url, 'string'
@@ -68,6 +68,35 @@ module FacebookAds
68
68
  "VEHICLE_OFFER",
69
69
  ]
70
70
 
71
+ ITEM_SUB_TYPE = [
72
+ "APPLIANCES",
73
+ "BABY_FEEDING",
74
+ "BABY_TRANSPORT",
75
+ "BEAUTY",
76
+ "BEDDING",
77
+ "CAMERAS",
78
+ "CELL_PHONES_AND_SMART_WATCHES",
79
+ "CLEANING_SUPPLIES",
80
+ "CLOTHING",
81
+ "CLOTHING_ACCESSORIES",
82
+ "COMPUTERS_AND_TABLETS",
83
+ "DIAPERING_AND_POTTY_TRAINING",
84
+ "ELECTRONICS_ACCESSORIES",
85
+ "FURNITURE",
86
+ "HEALTH",
87
+ "HOME_GOODS",
88
+ "JEWELRY",
89
+ "NURSERY",
90
+ "PRINTERS_AND_SCANNERS",
91
+ "PROJECTORS",
92
+ "SHOES_AND_FOOTWEAR",
93
+ "SOFTWARE",
94
+ "TOYS",
95
+ "TVS_AND_MONITORS",
96
+ "VIDEO_GAME_CONSOLES_AND_VIDEO_GAMES",
97
+ "WATCHES",
98
+ ]
99
+
71
100
  OVERRIDE_TYPE = [
72
101
  "CATALOG_SEGMENT_CUSTOMIZE_DEFAULT",
73
102
  "COUNTRY",
@@ -85,6 +114,7 @@ module FacebookAds
85
114
  field :encoding, 'string'
86
115
  field :file_name, 'string'
87
116
  field :id, 'string'
117
+ field :item_sub_type, 'string'
88
118
  field :latest_upload, 'ProductFeedUpload'
89
119
  field :name, 'string'
90
120
  field :override_type, 'string'
@@ -57,6 +57,7 @@ module FacebookAds
57
57
  api.has_param :custom_label_4, 'string'
58
58
  api.has_param :description, 'string'
59
59
  api.has_param :expiration_date, 'string'
60
+ api.has_param :fb_product_category, 'string'
60
61
  api.has_param :gender, { enum: -> { ProductItem::GENDER }}
61
62
  api.has_param :gtin, 'string'
62
63
  api.has_param :image_url, 'string'
@@ -297,6 +297,7 @@ module FacebookAds
297
297
  field :brand, 'string'
298
298
  field :capability_to_review_status, 'hash'
299
299
  field :category, 'string'
300
+ field :category_specific_fields, 'CatalogSubVerticalList'
300
301
  field :color, 'string'
301
302
  field :commerce_insights, 'ProductItemCommerceInsights'
302
303
  field :condition, { enum: -> { CONDITION }}
@@ -309,6 +310,7 @@ module FacebookAds
309
310
  field :custom_label_4, 'string'
310
311
  field :description, 'string'
311
312
  field :expiration_date, 'string'
313
+ field :fb_product_category, 'string'
312
314
  field :gender, { enum: -> { GENDER }}
313
315
  field :gtin, 'string'
314
316
  field :id, 'string'
@@ -35,6 +35,7 @@ module FacebookAds
35
35
  field :name, 'string'
36
36
  field :product_catalog, 'ProductCatalog'
37
37
  field :product_count, 'int'
38
+ field :retailer_id, 'string'
38
39
  field :metadata, 'hash'
39
40
 
40
41
  has_edge :automotive_models do |edge|
@@ -29,6 +29,7 @@ module FacebookAds
29
29
 
30
30
  field :cover_image_url, 'string'
31
31
  field :description, 'string'
32
+ field :external_url, 'string'
32
33
  field :integrity_review_status, 'string'
33
34
  has_no_id
34
35
  has_no_get
@@ -38,6 +38,12 @@ module FacebookAds
38
38
  field :owner_ad_account_id, 'string'
39
39
  field :web_publishers, { list: 'object' }
40
40
 
41
+ has_edge :append_publisher_urls do |edge|
42
+ edge.post do |api|
43
+ api.has_param :publisher_urls, { list: 'string' }
44
+ end
45
+ end
46
+
41
47
  has_edge :paged_web_publishers do |edge|
42
48
  edge.get do |api|
43
49
  api.has_param :draft_id, 'string'
@@ -27,7 +27,6 @@ module FacebookAds
27
27
 
28
28
  class SecuritySettings < AdObject
29
29
 
30
- field :secure_browsing, 'object'
31
30
  has_no_id
32
31
  has_no_get
33
32
  has_no_post
@@ -137,17 +137,17 @@ module FacebookAds
137
137
  end
138
138
  normalized_events = normalize
139
139
  ads_pixel = FacebookAds::AdsPixel.get(pixel_id)
140
- response = ads_pixel.events.create(
141
- {
142
- data: normalized_events,
143
- test_event_code: test_event_code,
144
- partner_agent: partner_agent,
145
- namespace_id: namespace_id,
146
- upload_id: upload_id,
147
- upload_tag: upload_tag,
148
- upload_source: upload_source,
149
- }
150
- )
140
+ params = {
141
+ data: normalized_events
142
+ }
143
+ params[:test_event_code] = test_event_code unless test_event_code.nil?
144
+ params[:partner_agent] = partner_agent unless partner_agent.nil?
145
+ params[:namespace_id] = namespace_id unless namespace_id.nil?
146
+ params[:upload_id] = upload_id unless upload_id.nil?
147
+ params[:upload_tag] = upload_tag unless upload_tag.nil?
148
+ params[:upload_source] = upload_source unless upload_source.nil?
149
+
150
+ response = ads_pixel.events.create(params)
151
151
  json_response_object = JSON.parse(JSON.generate(response), object_class: OpenStruct)
152
152
  FacebookAds::ServerSide::EventResponse.new(
153
153
  events_received: json_response_object.events_received,
@@ -0,0 +1,31 @@
1
+ # Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
2
+ #
3
+ # You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
4
+ # copy, modify, and distribute this software in source code or binary form for use
5
+ # in connection with the web services and APIs provided by Facebook.
6
+ #
7
+ # As with any software that integrates with the Facebook platform, your use of
8
+ # this software is subject to the Facebook Platform Policy
9
+ # [http://developers.facebook.com/policy/]. This copyright notice shall be
10
+ # included in all copies or substantial portions of the software.
11
+ #
12
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
14
+ # FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
15
+ # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
16
+ # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
17
+ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18
+
19
+ require 'concurrent'
20
+
21
+ module FacebookAds
22
+ module ServerSide
23
+ class EventRequestAsync < EventRequest
24
+ def execute
25
+ Concurrent::Promise.execute do
26
+ super
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
@@ -91,6 +91,9 @@ module FacebookAds
91
91
  # The subscription ID for the user in this transaction. This is similar to the order ID for an individual product.
92
92
  attr_accessor :subscription_id
93
93
 
94
+ # The lead ID for the user in this transaction. This ID is associated with a lead generated by Facebook's Lead Ads.
95
+ attr_accessor :lead_id
96
+
94
97
  # The first 5 letters of the first name.
95
98
  attr_accessor :f5first
96
99
 
@@ -126,6 +129,7 @@ module FacebookAds
126
129
  # @param [String] fbc
127
130
  # @param [String] fbp
128
131
  # @param [String] subscription_id
132
+ # @param [String] lead_id
129
133
  # @param [String] f5first
130
134
  # @param [String] f5last
131
135
  # @param [String] fi
@@ -135,7 +139,7 @@ module FacebookAds
135
139
  def initialize(email: nil, phone: nil, gender: nil, date_of_birth: nil,
136
140
  last_name: nil, first_name: nil, city: nil, state: nil,
137
141
  country_code: nil, zip_code: nil, external_id: nil, client_ip_address: nil,
138
- client_user_agent: nil, fbc: nil, fbp: nil, subscription_id: nil,
142
+ client_user_agent: nil, fbc: nil, fbp: nil, subscription_id: nil, lead_id: nil,
139
143
  f5first: nil, f5last: nil, fi: nil, dobd: nil, dobm: nil, doby: nil)
140
144
  unless email.nil?
141
145
  self.email = email
@@ -185,6 +189,9 @@ module FacebookAds
185
189
  unless subscription_id.nil?
186
190
  self.subscription_id = subscription_id
187
191
  end
192
+ unless lead_id.nil?
193
+ self.lead_id = lead_id
194
+ end
188
195
  unless f5first.nil?
189
196
  self.f5first = f5first
190
197
  end
@@ -273,6 +280,10 @@ module FacebookAds
273
280
  self.fbp = attributes[:'fbp']
274
281
  end
275
282
 
283
+ if attributes.has_key?(:'lead_id')
284
+ self.lead_id = attributes[:'lead_id']
285
+ end
286
+
276
287
  if attributes.has_key?(:'f5first')
277
288
  self.f5first = attributes[:'f5first']
278
289
  end
@@ -318,6 +329,7 @@ module FacebookAds
318
329
  fbc == o.fbc &&
319
330
  fbp == o.fbp &&
320
331
  subscription_id == o.subscription_id &&
332
+ lead_id == o.lead_id &&
321
333
  f5first == o.f5first &&
322
334
  f5last == o.f5last &&
323
335
  fi == o.fi &&
@@ -351,6 +363,7 @@ module FacebookAds
351
363
  fbc,
352
364
  fbp,
353
365
  subscription_id,
366
+ lead_id,
354
367
  f5first,
355
368
  f5last,
356
369
  fi,
@@ -413,6 +426,9 @@ module FacebookAds
413
426
  unless subscription_id.nil?
414
427
  hash['subscription_id'] = subscription_id
415
428
  end
429
+ unless lead_id.nil?
430
+ hash['lead_id'] = lead_id
431
+ end
416
432
  unless f5first.nil?
417
433
  hash['f5first'] = f5first
418
434
  end
@@ -486,6 +502,9 @@ module FacebookAds
486
502
  unless subscription_id.nil?
487
503
  hash['subscription_id'] = subscription_id
488
504
  end
505
+ unless lead_id.nil?
506
+ hash['lead_id'] = lead_id
507
+ end
489
508
  unless f5first.nil?
490
509
  hash['f5first'] = FacebookAds::ServerSide::Util.normalize(f5first, 'f5first')
491
510
  end
@@ -33,6 +33,10 @@ module FacebookAds
33
33
  "EMPLOYEE",
34
34
  "FINANCE_ANALYST",
35
35
  "FINANCE_EDITOR",
36
+ "FINANCE_EDIT_TASK",
37
+ "FINANCE_VIEW_TASK",
38
+ "MODERATE_TASK",
39
+ "OPERATE_TASK",
36
40
  "PARTNER_CENTER_ADMIN",
37
41
  "PARTNER_CENTER_ANALYST",
38
42
  "PARTNER_CENTER_EDUCATION",
@@ -50,7 +50,7 @@ module FacebookAds
50
50
  field :catalog_based_targeting, 'CatalogBasedTargeting'
51
51
  field :cities, { list: 'IdName' }
52
52
  field :college_years, { list: 'int' }
53
- field :connections, { list: 'IdName' }
53
+ field :connections, { list: 'ConnectionsTargeting' }
54
54
  field :contextual_targeting_categories, { list: 'IdName' }
55
55
  field :countries, { list: 'string' }
56
56
  field :country, { list: 'string' }
@@ -72,7 +72,7 @@ module FacebookAds
72
72
  field :ethnic_affinity, { list: 'IdName' }
73
73
  field :exclude_reached_since, { list: 'string' }
74
74
  field :excluded_brand_safety_content_types, { list: 'string' }
75
- field :excluded_connections, { list: 'IdName' }
75
+ field :excluded_connections, { list: 'ConnectionsTargeting' }
76
76
  field :excluded_custom_audiences, { list: 'RawCustomAudience' }
77
77
  field :excluded_dynamic_audience_ids, { list: 'string' }
78
78
  field :excluded_engagement_specs, { list: 'TargetingDynamicRule' }
@@ -87,7 +87,7 @@ module FacebookAds
87
87
  field :family_statuses, { list: 'IdName' }
88
88
  field :fb_deal_id, 'string'
89
89
  field :flexible_spec, { list: 'FlexibleTargeting' }
90
- field :friends_of_connections, { list: 'IdName' }
90
+ field :friends_of_connections, { list: 'ConnectionsTargeting' }
91
91
  field :genders, { list: 'int' }
92
92
  field :generation, { list: 'IdName' }
93
93
  field :geo_locations, 'TargetingGeoLocation'
@@ -32,6 +32,7 @@ module FacebookAds
32
32
  field :id, 'string'
33
33
  field :is_subscribed, 'bool'
34
34
  field :link, 'string'
35
+ field :linked_group, 'Group'
35
36
  field :message_count, 'int'
36
37
  field :name, 'string'
37
38
  field :participants, 'object'
@@ -54,7 +54,6 @@ module FacebookAds
54
54
  field :age_range, 'AgeRange'
55
55
  field :auth_method, 'string'
56
56
  field :birthday, 'string'
57
- field :can_review_measurement_request, 'bool'
58
57
  field :cover, 'UserCoverPhoto'
59
58
  field :currency, 'Currency'
60
59
  field :devices, { list: 'UserDevice' }
@@ -70,9 +69,7 @@ module FacebookAds
70
69
  field :install_type, 'string'
71
70
  field :installed, 'bool'
72
71
  field :interested_in, { list: 'string' }
73
- field :is_famedeeplinkinguser, 'bool'
74
72
  field :is_guest_user, 'bool'
75
- field :is_shared_login, 'bool'
76
73
  field :is_verified, 'bool'
77
74
  field :languages, { list: 'Experience' }
78
75
  field :last_name, 'string'
@@ -92,20 +89,17 @@ module FacebookAds
92
89
  field :quotes, 'string'
93
90
  field :relationship_status, 'string'
94
91
  field :religion, 'string'
95
- field :security_settings, 'SecuritySettings'
96
92
  field :shared_login_upgrade_required_by, 'datetime'
97
93
  field :short_name, 'string'
98
94
  field :significant_other, 'User'
99
95
  field :sports, { list: 'Experience' }
100
96
  field :supports_donate_button_in_live_video, 'bool'
101
- field :test_group, 'int'
102
97
  field :third_party_id, 'string'
103
98
  field :timezone, 'double'
104
99
  field :token_for_business, 'string'
105
100
  field :updated_time, 'datetime'
106
101
  field :verified, 'bool'
107
102
  field :video_upload_limits, 'VideoUploadLimits'
108
- field :viewer_can_send_gift, 'bool'
109
103
  field :website, 'string'
110
104
  field :work, { list: 'object' }
111
105
 
@@ -211,6 +205,7 @@ module FacebookAds
211
205
  end
212
206
  edge.get 'Business'
213
207
  edge.post 'Business' do |api|
208
+ api.has_param :child_business_external_id, 'string'
214
209
  api.has_param :email, 'string'
215
210
  api.has_param :name, 'string'
216
211
  api.has_param :primary_page, 'string'
@@ -468,6 +463,7 @@ module FacebookAds
468
463
  edge.post 'LiveVideo' do |api|
469
464
  api.has_param :content_tags, { list: 'string' }
470
465
  api.has_param :description, 'string'
466
+ api.has_param :enable_backup_ingest, 'bool'
471
467
  api.has_param :encoding_settings, 'string'
472
468
  api.has_param :fisheye_video_cropped, 'bool'
473
469
  api.has_param :front_z_rotation, 'double'
@@ -489,11 +485,6 @@ module FacebookAds
489
485
  end
490
486
  end
491
487
 
492
- has_edge :meeting_link do |edge|
493
- edge.get 'WorkMeetingLink'
494
- edge.post 'WorkMeetingLink'
495
- end
496
-
497
488
  has_edge :music do |edge|
498
489
  edge.get 'Page' do |api|
499
490
  api.has_param :target_id, 'string'
@@ -513,6 +504,10 @@ module FacebookAds
513
504
  end
514
505
  end
515
506
 
507
+ has_edge :owned_product_catalogs do |edge|
508
+ edge.get 'ProductCatalog'
509
+ end
510
+
516
511
  has_edge :permissions do |edge|
517
512
  edge.delete do |api|
518
513
  api.has_param :permission, 'string'