facebookbusiness 22.0.0 → 22.0.1

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 (64) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad_account.rb +14 -1
  3. data/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb +1 -0
  4. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +20 -0
  5. data/lib/facebook_ads/ad_objects/{instagram_carousel.rb → ad_account_amount_spent_history.rb} +7 -12
  6. data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +2 -0
  7. data/lib/facebook_ads/ad_objects/ad_account_live_video_advertiser.rb +2 -0
  8. data/lib/facebook_ads/ad_objects/ad_account_optimization_goals_aemv2_eligibility.rb +2 -0
  9. data/lib/facebook_ads/ad_objects/ad_account_spend_cap_change_history.rb +28 -0
  10. data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +2 -0
  11. data/lib/facebook_ads/ad_objects/ad_account_user_settings.rb +3 -0
  12. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
  13. data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +2 -0
  14. data/lib/facebook_ads/ad_objects/ad_campaign_group_advantage_state.rb +28 -0
  15. data/lib/facebook_ads/ad_objects/ad_campaign_issues_info.rb +1 -0
  16. data/lib/facebook_ads/ad_objects/ad_creative.rb +2 -1
  17. data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb +1 -0
  18. data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +1 -0
  19. data/lib/facebook_ads/ad_objects/ad_creative_object_story_spec.rb +0 -1
  20. data/lib/facebook_ads/ad_objects/ad_creative_regional_regulation_disclaimer.rb +2 -0
  21. data/lib/facebook_ads/ad_objects/ad_rule_history.rb +1 -0
  22. data/lib/facebook_ads/ad_objects/ad_set.rb +4 -0
  23. data/lib/facebook_ads/ad_objects/ad_video.rb +2 -6
  24. data/lib/facebook_ads/ad_objects/adgroup_issues_info.rb +1 -0
  25. data/lib/facebook_ads/ad_objects/ads_insights.rb +15 -0
  26. data/lib/facebook_ads/ad_objects/{ads_pixel_capi_setup_quality.rb → ads_pixel_capi_integration_quality.rb} +1 -1
  27. data/lib/facebook_ads/ad_objects/ads_quick_views.rb +1 -0
  28. data/lib/facebook_ads/ad_objects/ads_user_settings.rb +3 -0
  29. data/lib/facebook_ads/ad_objects/ads_value_adjustment_rule_collection.rb +8 -1
  30. data/lib/facebook_ads/ad_objects/application.rb +4 -0
  31. data/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb +1 -0
  32. data/lib/facebook_ads/ad_objects/business.rb +20 -8
  33. data/lib/facebook_ads/ad_objects/business_agreement.rb +1 -0
  34. data/lib/facebook_ads/ad_objects/business_asset_group.rb +1 -0
  35. data/lib/facebook_ads/ad_objects/business_asset_sharing_agreement.rb +1 -0
  36. data/lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb +1 -0
  37. data/lib/facebook_ads/ad_objects/campaign.rb +1 -0
  38. data/lib/facebook_ads/ad_objects/catalog_collection.rb +27 -0
  39. data/lib/facebook_ads/ad_objects/creative_multicell_test_config.rb +26 -0
  40. data/lib/facebook_ads/ad_objects/ctx_default_optimization_config.rb +26 -0
  41. data/lib/facebook_ads/ad_objects/custom_audience.rb +10 -0
  42. data/lib/facebook_ads/ad_objects/custom_audience_health.rb +25 -0
  43. data/lib/facebook_ads/ad_objects/event.rb +1 -0
  44. data/lib/facebook_ads/ad_objects/home_listing.rb +1 -0
  45. data/lib/facebook_ads/ad_objects/ig_user.rb +10 -0
  46. data/lib/facebook_ads/ad_objects/ig_user_for_ig_only_api.rb +4 -1
  47. data/lib/facebook_ads/ad_objects/insights_value.rb +1 -0
  48. data/lib/facebook_ads/ad_objects/lead_gen_form_preview_details.rb +4 -0
  49. data/lib/facebook_ads/ad_objects/message_delivery_estimate.rb +2 -0
  50. data/lib/facebook_ads/ad_objects/page.rb +21 -8
  51. data/lib/facebook_ads/ad_objects/page_call_to_action.rb +1 -0
  52. data/lib/facebook_ads/ad_objects/product_catalog.rb +1 -0
  53. data/lib/facebook_ads/ad_objects/product_item.rb +2 -0
  54. data/lib/facebook_ads/ad_objects/regional_regulation_identities.rb +4 -0
  55. data/lib/facebook_ads/ad_objects/{instagram_comment.rb → store_location.rb} +9 -9
  56. data/lib/facebook_ads/ad_objects/targeting_subscriber_universe.rb +1 -0
  57. data/lib/facebook_ads/ad_objects/threads_user.rb +26 -0
  58. data/lib/facebook_ads/ad_objects/user.rb +2 -2
  59. data/lib/facebook_ads/ad_objects/vehicle.rb +1 -0
  60. data/lib/facebook_ads/ad_objects/vehicle_offer.rb +1 -0
  61. data/lib/facebook_ads/version.rb +1 -1
  62. metadata +12 -7
  63. data/lib/facebook_ads/ad_objects/instagram_media.rb +0 -38
  64. data/lib/facebook_ads/ad_objects/negative_keyword_list.rb +0 -33
@@ -20,6 +20,7 @@ module FacebookAds
20
20
  field :id, 'string'
21
21
  field :owner_id, 'string'
22
22
  field :permalink, 'string'
23
+ field :recommended_campaign_objectives, { list: 'string' }
23
24
  has_no_get
24
25
  has_no_post
25
26
  has_no_delete
@@ -64,6 +64,7 @@ module FacebookAds
64
64
  "ANALYZE",
65
65
  "CASHIER_ROLE",
66
66
  "CREATE_CONTENT",
67
+ "GLOBAL_STRUCTURE_MANAGEMENT",
67
68
  "MANAGE",
68
69
  "MANAGE_JOBS",
69
70
  "MANAGE_LEADS",
@@ -583,6 +584,7 @@ module FacebookAds
583
584
  "ANALYZE",
584
585
  "CASHIER_ROLE",
585
586
  "CREATE_CONTENT",
587
+ "GLOBAL_STRUCTURE_MANAGEMENT",
586
588
  "MANAGE",
587
589
  "MANAGE_JOBS",
588
590
  "MANAGE_LEADS",
@@ -977,6 +979,15 @@ module FacebookAds
977
979
  end
978
980
  end
979
981
 
982
+ has_edge :ads_dataset do |edge|
983
+ edge.post 'Business' do |api|
984
+ api.has_param :ad_account_id, 'string'
985
+ api.has_param :app_id, 'string'
986
+ api.has_param :is_crm, 'bool'
987
+ api.has_param :name, 'string'
988
+ end
989
+ end
990
+
980
991
  has_edge :ads_reporting_mmm_reports do |edge|
981
992
  edge.get 'AdsReportBuilderMmmReport' do |api|
982
993
  api.has_param :filtering, { list: 'hash' }
@@ -1164,12 +1175,6 @@ module FacebookAds
1164
1175
  end
1165
1176
  end
1166
1177
 
1167
- has_edge :draft_negative_keyword_lists do |edge|
1168
- edge.post do |api|
1169
- api.has_param :negative_keyword_list_file, 'file'
1170
- end
1171
- end
1172
-
1173
1178
  has_edge :event_source_groups do |edge|
1174
1179
  edge.get 'EventSourceGroup'
1175
1180
  edge.post 'EventSourceGroup' do |api|
@@ -1277,8 +1282,10 @@ module FacebookAds
1277
1282
  end
1278
1283
  end
1279
1284
 
1280
- has_edge :negative_keyword_lists do |edge|
1281
- edge.get 'NegativeKeywordList'
1285
+ has_edge :onboard_partners_to_mm_lite do |edge|
1286
+ edge.post do |api|
1287
+ api.has_param :solution_id, 'string'
1288
+ end
1282
1289
  end
1283
1290
 
1284
1291
  has_edge :openbridge_configurations do |edge|
@@ -1364,6 +1371,7 @@ module FacebookAds
1364
1371
  edge.get 'ProductCatalog'
1365
1372
  edge.post 'ProductCatalog' do |api|
1366
1373
  api.has_param :additional_vertical_option, { enum: -> { ProductCatalog::ADDITIONAL_VERTICAL_OPTION }}
1374
+ api.has_param :business_metadata, 'hash'
1367
1375
  api.has_param :catalog_segment_filter, 'object'
1368
1376
  api.has_param :catalog_segment_product_set_id, 'string'
1369
1377
  api.has_param :da_display_settings, 'object'
@@ -1402,6 +1410,10 @@ module FacebookAds
1402
1410
  end
1403
1411
  end
1404
1412
 
1413
+ has_edge :passback_attribution_metadata_configs do |edge|
1414
+ edge.get
1415
+ end
1416
+
1405
1417
  has_edge :pending_client_ad_accounts do |edge|
1406
1418
  edge.get 'BusinessAdAccountRequest'
1407
1419
  end
@@ -16,6 +16,7 @@ module FacebookAds
16
16
  class BusinessAgreement < AdObject
17
17
  REQUEST_STATUS = [
18
18
  "APPROVE",
19
+ "CANCELED",
19
20
  "DECLINE",
20
21
  "EXPIRED",
21
22
  "IN_PROGRESS",
@@ -35,6 +35,7 @@ module FacebookAds
35
35
  "ANALYZE",
36
36
  "CASHIER_ROLE",
37
37
  "CREATE_CONTENT",
38
+ "GLOBAL_STRUCTURE_MANAGEMENT",
38
39
  "MANAGE",
39
40
  "MANAGE_JOBS",
40
41
  "MANAGE_LEADS",
@@ -16,6 +16,7 @@ module FacebookAds
16
16
  class BusinessAssetSharingAgreement < AdObject
17
17
  REQUEST_STATUS = [
18
18
  "APPROVE",
19
+ "CANCELED",
19
20
  "DECLINE",
20
21
  "EXPIRED",
21
22
  "IN_PROGRESS",
@@ -16,6 +16,7 @@ module FacebookAds
16
16
  class BusinessOwnedObjectOnBehalfOfRequest < AdObject
17
17
  STATUS = [
18
18
  "APPROVE",
19
+ "CANCELED",
19
20
  "DECLINE",
20
21
  "EXPIRED",
21
22
  "IN_PROGRESS",
@@ -389,6 +389,7 @@ module FacebookAds
389
389
 
390
390
  field :account_id, 'string'
391
391
  field :adlabels, { list: 'AdLabel' }
392
+ field :advantage_state_info, 'AdCampaignGroupAdvantageState'
392
393
  field :bid_strategy, { enum: -> { BID_STRATEGY }}
393
394
  field :boosted_object_id, 'string'
394
395
  field :brand_lift_studies, { list: 'AdStudy' }
@@ -0,0 +1,27 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+
4
+ # This source code is licensed under the license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ # FB:AUTOGEN
8
+
9
+ module FacebookAds
10
+ # This class is auto-generated.
11
+
12
+ # For any issues or feature requests related to this class, please let us know
13
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
14
+ # pull request for this class.
15
+
16
+ class CatalogCollection < AdObject
17
+
18
+ field :description, 'string'
19
+ field :title, 'string'
20
+ field :url, 'string'
21
+ has_no_id
22
+ has_no_get
23
+ has_no_post
24
+ has_no_delete
25
+
26
+ end
27
+ end
@@ -0,0 +1,26 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+
4
+ # This source code is licensed under the license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ # FB:AUTOGEN
8
+
9
+ module FacebookAds
10
+ # This class is auto-generated.
11
+
12
+ # For any issues or feature requests related to this class, please let us know
13
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
14
+ # pull request for this class.
15
+
16
+ class CreativeMulticellTestConfig < AdObject
17
+
18
+ field :daily_budget, 'int'
19
+ field :lifetime_budget, 'int'
20
+ has_no_id
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -0,0 +1,26 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+
4
+ # This source code is licensed under the license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ # FB:AUTOGEN
8
+
9
+ module FacebookAds
10
+ # This class is auto-generated.
11
+
12
+ # For any issues or feature requests related to this class, please let us know
13
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
14
+ # pull request for this class.
15
+
16
+ class CtxDefaultOptimizationConfig < AdObject
17
+
18
+ field :objective, 'string'
19
+ field :optimization_goal, 'string'
20
+ has_no_id
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -174,6 +174,16 @@ module FacebookAds
174
174
  end
175
175
  end
176
176
 
177
+ has_edge :health do |edge|
178
+ edge.get 'CustomAudienceHealth' do |api|
179
+ api.has_param :calculated_date, 'string'
180
+ api.has_param :processed_date, 'string'
181
+ api.has_param :value_aggregation_duration, 'int'
182
+ api.has_param :value_currency, 'string'
183
+ api.has_param :value_version, 'int'
184
+ end
185
+ end
186
+
177
187
  has_edge :salts do |edge|
178
188
  edge.get 'CustomAudienceSalts' do |api|
179
189
  api.has_param :params, { list: 'string' }
@@ -0,0 +1,25 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+
4
+ # This source code is licensed under the license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ # FB:AUTOGEN
8
+
9
+ module FacebookAds
10
+ # This class is auto-generated.
11
+
12
+ # For any issues or feature requests related to this class, please let us know
13
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
14
+ # pull request for this class.
15
+
16
+ class CustomAudienceHealth < AdObject
17
+
18
+ field :health, { list: 'object' }
19
+ has_no_id
20
+ has_no_get
21
+ has_no_post
22
+ has_no_delete
23
+
24
+ end
25
+ end
@@ -52,6 +52,7 @@ module FacebookAds
52
52
  "community",
53
53
  "friends",
54
54
  "group",
55
+ "messenger_community",
55
56
  "private",
56
57
  "public",
57
58
  "work_company",
@@ -81,6 +81,7 @@ module FacebookAds
81
81
  field :price, 'string'
82
82
  field :property_type, 'string'
83
83
  field :sanitized_images, { list: 'string' }
84
+ field :tags, { list: 'string' }
84
85
  field :unit_price, 'object'
85
86
  field :url, 'string'
86
87
  field :visibility, { enum: -> { VISIBILITY }}
@@ -69,6 +69,7 @@ module FacebookAds
69
69
  api.has_param :ad_code, 'string'
70
70
  api.has_param :creator_username, 'string'
71
71
  api.has_param :only_fetch_allowlisted, 'bool'
72
+ api.has_param :only_fetch_recommended_content, 'bool'
72
73
  api.has_param :permalinks, { list: 'string' }
73
74
  end
74
75
  end
@@ -92,6 +93,10 @@ module FacebookAds
92
93
  end
93
94
  end
94
95
 
96
+ has_edge :connected_threads_user do |edge|
97
+ edge.get 'ThreadsUser'
98
+ end
99
+
95
100
  has_edge :content_publishing_limit do |edge|
96
101
  edge.get 'ContentPublishingLimitResponse' do |api|
97
102
  api.has_param :since, 'datetime'
@@ -117,6 +122,11 @@ module FacebookAds
117
122
  end
118
123
  end
119
124
 
125
+ has_edge :instagram_backed_threads_user do |edge|
126
+ edge.get 'ThreadsUser'
127
+ edge.post 'ThreadsUser'
128
+ end
129
+
120
130
  has_edge :live_media do |edge|
121
131
  edge.get 'IgMedia' do |api|
122
132
  api.has_param :since, 'datetime'
@@ -136,7 +136,7 @@ module FacebookAds
136
136
  edge.delete
137
137
  edge.get
138
138
  edge.post do |api|
139
- api.has_param :subscribed_fields, { list: { enum: %w{comments creator_marketplace_invited_creator_onboarding creator_marketplace_projects delta live_comments mentions message_reactions messages messaging_handover messaging_optins messaging_postbacks messaging_referral messaging_seen standby story_insights story_reactions }} }
139
+ api.has_param :subscribed_fields, { list: { enum: %w{comments creator_marketplace_invited_creator_onboarding creator_marketplace_projects delta live_comments mentions message_reactions messages messaging_handover messaging_optins messaging_postbacks messaging_referral messaging_seen onboarding_welcome_message_series standby story_insights story_reactions }} }
140
140
  end
141
141
  end
142
142
 
@@ -145,6 +145,9 @@ module FacebookAds
145
145
  end
146
146
 
147
147
  has_edge :welcome_message_flows do |edge|
148
+ edge.delete do |api|
149
+ api.has_param :flow_id, 'string'
150
+ end
148
151
  edge.get 'CtxPartnerAppWelcomeMessageFlow' do |api|
149
152
  api.has_param :app_id, 'string'
150
153
  api.has_param :flow_id, 'string'
@@ -21,6 +21,7 @@ module FacebookAds
21
21
  field :engagement_source, 'string'
22
22
  field :message_type, 'string'
23
23
  field :messaging_channel, 'string'
24
+ field :monetization_tool, 'string'
24
25
  field :recurring_notifications_entry_point, 'string'
25
26
  field :recurring_notifications_frequency, 'string'
26
27
  field :recurring_notifications_topic, 'string'
@@ -21,6 +21,8 @@ module FacebookAds
21
21
  field :chat_on_whatsapp_text, 'string'
22
22
  field :contact_information_text, 'string'
23
23
  field :creatives_overview_default_text, 'string'
24
+ field :custom_disclaimer_editor_state, 'string'
25
+ field :custom_disclaimer_title, 'string'
24
26
  field :data_privacy_policy_setting_description, 'string'
25
27
  field :default_appointment_scheduling_inline_context, 'string'
26
28
  field :default_disqualified_end_component, 'object'
@@ -43,6 +45,7 @@ module FacebookAds
43
45
  field :personal_info_text, 'string'
44
46
  field :phone_number_inline_context_text, 'string'
45
47
  field :privacy_policy_link_text, 'string'
48
+ field :privacy_policy_link_text_for_optional_privacy_policy, 'string'
46
49
  field :privacy_policy_title_section_title_text, 'string'
47
50
  field :privacy_setting_description, 'string'
48
51
  field :products_section_headers, { list: 'hash' }
@@ -51,6 +54,7 @@ module FacebookAds
51
54
  field :return_to_facebook_text, 'string'
52
55
  field :review_your_info_text, 'string'
53
56
  field :secure_sharing_text, 'string'
57
+ field :secure_sharing_text_for_optional_privacy_policy, 'string'
54
58
  field :slide_to_submit_text, 'string'
55
59
  field :social_proof_section_headers, { list: 'hash' }
56
60
  field :submit_button_text, 'string'
@@ -15,6 +15,7 @@ module FacebookAds
15
15
 
16
16
  class MessageDeliveryEstimate < AdObject
17
17
  OPTIMIZATION_GOAL = [
18
+ "ADVERTISER_SILOED_VALUE",
18
19
  "AD_RECALL_LIFT",
19
20
  "APP_INSTALLS",
20
21
  "APP_INSTALLS_AND_OFFSITE_CONVERSIONS",
@@ -34,6 +35,7 @@ module FacebookAds
34
35
  "OFFSITE_CONVERSIONS",
35
36
  "PAGE_LIKES",
36
37
  "POST_ENGAGEMENT",
38
+ "PROFILE_AND_PAGE_ENGAGEMENT",
37
39
  "PROFILE_VISIT",
38
40
  "QUALITY_CALL",
39
41
  "QUALITY_LEAD",
@@ -109,6 +109,7 @@ module FacebookAds
109
109
  "ANALYZE",
110
110
  "CASHIER_ROLE",
111
111
  "CREATE_CONTENT",
112
+ "GLOBAL_STRUCTURE_MANAGEMENT",
112
113
  "MANAGE",
113
114
  "MANAGE_JOBS",
114
115
  "MANAGE_LEADS",
@@ -137,6 +138,7 @@ module FacebookAds
137
138
  "ANALYZE",
138
139
  "CASHIER_ROLE",
139
140
  "CREATE_CONTENT",
141
+ "GLOBAL_STRUCTURE_MANAGEMENT",
140
142
  "MANAGE",
141
143
  "MANAGE_JOBS",
142
144
  "MANAGE_LEADS",
@@ -243,6 +245,14 @@ module FacebookAds
243
245
  "MESSENGER",
244
246
  ]
245
247
 
248
+ ACTIONS = [
249
+ "BAN_USER",
250
+ "BLOCK_USER",
251
+ "MOVE_TO_SPAM",
252
+ "UNBAN_USER",
253
+ "UNBLOCK_USER",
254
+ ]
255
+
246
256
  MODEL = [
247
257
  "ARABIC",
248
258
  "CHINESE",
@@ -1133,6 +1143,13 @@ module FacebookAds
1133
1143
  end
1134
1144
  end
1135
1145
 
1146
+ has_edge :moderate_conversations do |edge|
1147
+ edge.post 'Page' do |api|
1148
+ api.has_param :actions, { list: { enum: -> { Page::ACTIONS }} }
1149
+ api.has_param :user_ids, { list: 'hash' }
1150
+ end
1151
+ end
1152
+
1136
1153
  has_edge :nlp_configs do |edge|
1137
1154
  edge.post 'Page' do |api|
1138
1155
  api.has_param :api_version, 'object'
@@ -1176,14 +1193,6 @@ module FacebookAds
1176
1193
  end
1177
1194
  end
1178
1195
 
1179
- has_edge :pass_thread_metadata do |edge|
1180
- edge.post 'Page' do |api|
1181
- api.has_param :metadata, 'string'
1182
- api.has_param :recipient, 'object'
1183
- api.has_param :target_app_id, 'int'
1184
- end
1185
- end
1186
-
1187
1196
  has_edge :personas do |edge|
1188
1197
  edge.get 'Persona'
1189
1198
  edge.post 'Persona' do |api|
@@ -1369,6 +1378,10 @@ module FacebookAds
1369
1378
  edge.get 'CommerceMerchantSettingsSetupStatus'
1370
1379
  end
1371
1380
 
1381
+ has_edge :store_locations do |edge|
1382
+ edge.get 'StoreLocation'
1383
+ end
1384
+
1372
1385
  has_edge :stories do |edge|
1373
1386
  edge.get 'Stories' do |api|
1374
1387
  api.has_param :since, 'datetime'
@@ -56,6 +56,7 @@ module FacebookAds
56
56
  "CHARITY_DONATE",
57
57
  "CHECK_IN",
58
58
  "CONTACT_US",
59
+ "CREATOR_STOREFRONT",
59
60
  "DONATE_NOW",
60
61
  "EMAIL",
61
62
  "FOLLOW_PAGE",
@@ -108,6 +108,7 @@ module FacebookAds
108
108
  field :user_access_expire_time, 'datetime'
109
109
  field :vertical, 'string'
110
110
  field :additional_vertical_option, { enum: -> { ADDITIONAL_VERTICAL_OPTION }}
111
+ field :business_metadata, 'hash'
111
112
  field :catalog_segment_filter, 'object'
112
113
  field :catalog_segment_product_set_id, 'string'
113
114
  field :destination_catalog_settings, 'hash'
@@ -390,6 +390,7 @@ module FacebookAds
390
390
  "ITEM_PRICE_NOT_POSITIVE",
391
391
  "ITEM_STALE_OUT_OF_STOCK",
392
392
  "MARKETPLACE_DISABLED_BY_USER",
393
+ "MARKETPLACE_PARTNER_AUCTION_NO_BID_CLOSE_TIME",
393
394
  "MARKETPLACE_PARTNER_LISTING_LIMIT_EXCEEDED",
394
395
  "MARKETPLACE_PARTNER_NOT_LOCAL_ITEM",
395
396
  "MARKETPLACE_PARTNER_NOT_SHIPPED_ITEM",
@@ -792,6 +793,7 @@ module FacebookAds
792
793
  field :product_feed, 'ProductFeed'
793
794
  field :product_group, 'ProductGroup'
794
795
  field :product_local_info, 'ProductItemLocalInfo'
796
+ field :product_relationship, 'string'
795
797
  field :product_type, 'string'
796
798
  field :quantity_to_sell_on_facebook, 'int'
797
799
  field :retailer_id, 'string'
@@ -17,6 +17,10 @@ module FacebookAds
17
17
 
18
18
  field :australia_finserv_beneficiary, 'string'
19
19
  field :australia_finserv_payer, 'string'
20
+ field :india_finserv_beneficiary, 'string'
21
+ field :india_finserv_payer, 'string'
22
+ field :singapore_universal_beneficiary, 'string'
23
+ field :singapore_universal_payer, 'string'
20
24
  field :taiwan_finserv_beneficiary, 'string'
21
25
  field :taiwan_finserv_payer, 'string'
22
26
  field :taiwan_universal_beneficiary, 'string'
@@ -13,17 +13,17 @@ module FacebookAds
13
13
  # on github and we'll fix in our codegen framework. We'll not be able to accept
14
14
  # pull request for this class.
15
15
 
16
- class InstagramComment < AdObject
16
+ class StoreLocation < AdObject
17
17
 
18
- field :comment_type, 'string'
19
- field :created_at, 'datetime'
18
+ field :full_address, 'string'
19
+ field :hours, 'object'
20
20
  field :id, 'string'
21
- field :ig_comment_id, 'string'
22
- field :instagram_comment_id, 'string'
23
- field :instagram_user, 'InstagramUser'
24
- field :mentioned_instagram_users, { list: 'InstagramUser' }
25
- field :message, 'string'
26
- field :username, 'string'
21
+ field :phone_number, 'string'
22
+ field :pickup_options, { list: 'string' }
23
+ field :price_range, 'string'
24
+ field :store_code, 'string'
25
+ field :zip_code, 'string'
26
+ has_no_post
27
27
  has_no_delete
28
28
 
29
29
  end
@@ -16,6 +16,7 @@ module FacebookAds
16
16
  class TargetingSubscriberUniverse < AdObject
17
17
 
18
18
  field :messenger_subscriber_source, 'IdName'
19
+ field :whatsapp_subscriber_pool, 'IdName'
19
20
  field :whatsapp_subscriber_source, 'IdName'
20
21
  has_no_id
21
22
  has_no_get
@@ -0,0 +1,26 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+
4
+ # This source code is licensed under the license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ # FB:AUTOGEN
8
+
9
+ module FacebookAds
10
+ # This class is auto-generated.
11
+
12
+ # For any issues or feature requests related to this class, please let us know
13
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
14
+ # pull request for this class.
15
+
16
+ class ThreadsUser < AdObject
17
+
18
+ field :threads_user_id, 'string'
19
+ field :threads_user_profile_pic, 'string'
20
+ has_no_id
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -366,9 +366,9 @@ module FacebookAds
366
366
  api.has_param :cover_photo, 'file'
367
367
  api.has_param :currency, 'string'
368
368
  api.has_param :description, 'string'
369
- api.has_param :end_time, 'int'
369
+ api.has_param :end_time, 'datetime'
370
370
  api.has_param :external_event_name, 'string'
371
- api.has_param :external_event_start_time, 'int'
371
+ api.has_param :external_event_start_time, 'datetime'
372
372
  api.has_param :external_event_uri, 'string'
373
373
  api.has_param :external_fundraiser_uri, 'string'
374
374
  api.has_param :external_id, 'string'
@@ -167,6 +167,7 @@ module FacebookAds
167
167
  field :sale_price, 'string'
168
168
  field :sanitized_images, { list: 'string' }
169
169
  field :state_of_vehicle, 'string'
170
+ field :tags, { list: 'string' }
170
171
  field :title, 'string'
171
172
  field :transmission, 'string'
172
173
  field :trim, 'string'
@@ -79,6 +79,7 @@ module FacebookAds
79
79
  field :sanitized_images, { list: 'string' }
80
80
  field :start_date, 'string'
81
81
  field :start_time, 'int'
82
+ field :tags, { list: 'string' }
82
83
  field :term_length, 'int'
83
84
  field :term_qualifier, 'string'
84
85
  field :title, 'string'
@@ -7,6 +7,6 @@
7
7
  # FB:AUTOGEN
8
8
 
9
9
  module FacebookAds
10
- VERSION = '22.0.0'
10
+ VERSION = '22.0.1'
11
11
  API_VERSION = '22.0'
12
12
  end