facebookbusiness 25.0.4 → 26.0.0

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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad.rb +1 -0
  3. data/lib/facebook_ads/ad_objects/ad_account.rb +5 -0
  4. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +4 -0
  5. data/lib/facebook_ads/ad_objects/ad_account_business_constraints.rb +1 -0
  6. data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +0 -2
  7. data/lib/facebook_ads/ad_objects/ad_account_insights_feature_settings.rb +36 -0
  8. data/lib/facebook_ads/ad_objects/{ad_account_feature_preferences.rb → ad_account_insights_feature_settings_list_features.rb} +4 -6
  9. data/lib/facebook_ads/ad_objects/{ad_account_feature_preferences_post.rb → ad_account_insights_feature_settings_post.rb} +1 -1
  10. data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +0 -2
  11. data/lib/facebook_ads/ad_objects/ad_creative_media_sourcing_spec.rb +1 -0
  12. data/lib/facebook_ads/ad_objects/ad_set.rb +1 -0
  13. data/lib/facebook_ads/ad_objects/ad_video.rb +1 -0
  14. data/lib/facebook_ads/ad_objects/ads_insights.rb +3 -4
  15. data/lib/facebook_ads/ad_objects/application.rb +3 -0
  16. data/lib/facebook_ads/ad_objects/audio_visual_reference_match.rb +2 -2
  17. data/lib/facebook_ads/ad_objects/brand_safety_campaign_config.rb +3 -0
  18. data/lib/facebook_ads/ad_objects/business.rb +1 -0
  19. data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +0 -13
  20. data/lib/facebook_ads/ad_objects/commerce_order.rb +0 -17
  21. data/lib/facebook_ads/ad_objects/copyright_ownership_transfer.rb +2 -2
  22. data/lib/facebook_ads/ad_objects/cpas_collaboration_request.rb +1 -0
  23. data/lib/facebook_ads/ad_objects/group.rb +3 -2
  24. data/lib/facebook_ads/ad_objects/ig_user.rb +4 -1
  25. data/lib/facebook_ads/ad_objects/ig_user_export_for_cam.rb +3 -1
  26. data/lib/facebook_ads/ad_objects/ig_user_for_ig_only_api.rb +0 -2
  27. data/lib/facebook_ads/ad_objects/image_reference_match.rb +2 -2
  28. data/lib/facebook_ads/ad_objects/page.rb +16 -0
  29. data/lib/facebook_ads/ad_objects/product_catalog.rb +6 -6
  30. data/lib/facebook_ads/ad_objects/product_catalog_hotel_rooms_batch.rb +10 -0
  31. data/lib/facebook_ads/ad_objects/user.rb +1 -0
  32. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +1 -1
  33. data/lib/facebook_ads/version.rb +2 -2
  34. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 575e0b46180dbba69e9c7f3b59af6f80ec64b67c371c97cd8fd03adb2b640779
4
- data.tar.gz: 644b903dcf5470e06c16558d363d6cfa70fc590c2a23ef1bcdc9e67d1c0c189b
3
+ metadata.gz: '02592592c6b10e463bb2f21fe2b2a143088fbce2d718535df1021c0451f5a398'
4
+ data.tar.gz: e739ed3b1a92b1a32ba02810cf83c84e927c73f4f5cbfcf2f6570056b62ec9ef
5
5
  SHA512:
6
- metadata.gz: '090a82e3b13c4ac35a7c411ac6f11be1859898681919dd8b8fdb944d997dbaac56cbbe7066998c9a7f35c1f9327567fc12be32479c25530caaa844fe38411dbc'
7
- data.tar.gz: 91e784bb934f2438d014b2443cc58e35fc8efb9bec71afa6e0019803cb23de478b3c987b777f2e9fd9777d4f27cfd693783cae76ad5685a626b922eed4daa43b
6
+ metadata.gz: 4a82a4b120f8b23dc8b829d7d4139c3cc0185175cf9daa19bb668ece7b7d4f6d25f133626d3595a0061166d7a66c54653c868e8fd944fcbbecf307c5a282951b
7
+ data.tar.gz: 9dab08b13effeac1ce6d062635794f75bf0c860d07e976f9182f3fde190f2202bca6141927a5be1c3b7d2e82f32d47eeb5963e214a993d5c8acff21e37f03b6f
@@ -135,6 +135,7 @@ module FacebookAds
135
135
  field :updated_time, 'datetime'
136
136
  field :adset_spec, 'AdSet'
137
137
  field :audience_id, 'string'
138
+ field :dataset_split_specs, { list: 'hash' }
138
139
  field :date_format, 'string'
139
140
  field :draft_adgroup_id, 'string'
140
141
  field :execution_options, { list: { enum: -> { EXECUTION_OPTIONS }} }
@@ -98,6 +98,7 @@ module FacebookAds
98
98
  "FEED_DNM",
99
99
  "FEED_NESTED_DNM",
100
100
  "FEED_RELAXED",
101
+ "FEED_SELECT",
101
102
  "FEED_STANDARD",
102
103
  "FEED_STRICT",
103
104
  "UNINITIALIZED",
@@ -242,6 +243,7 @@ module FacebookAds
242
243
  edge.post 'AdAccountBusinessConstraints' do |api|
243
244
  api.has_param :audience_controls, 'object'
244
245
  api.has_param :placement_controls, 'object'
246
+ api.has_param :placement_controls_per_objective, 'object'
245
247
  end
246
248
  end
247
249
 
@@ -451,6 +453,7 @@ module FacebookAds
451
453
  api.has_param :creative, 'AdCreative'
452
454
  api.has_param :creative_asset_groups_spec, 'object'
453
455
  api.has_param :creative_automation_spec, 'object'
456
+ api.has_param :dataset_split_specs, { list: 'hash' }
454
457
  api.has_param :date_format, 'string'
455
458
  api.has_param :display_sequence, 'int'
456
459
  api.has_param :draft_adgroup_id, 'string'
@@ -650,6 +653,7 @@ module FacebookAds
650
653
  api.has_param :initial_heading, 'int'
651
654
  api.has_param :initial_pitch, 'int'
652
655
  api.has_param :instant_game_entry_point_data, 'string'
656
+ api.has_param :is_ai_generated, 'bool'
653
657
  api.has_param :is_boost_intended, 'bool'
654
658
  api.has_param :is_group_linking_post, 'bool'
655
659
  api.has_param :is_partnership_ad, 'bool'
@@ -1349,6 +1353,7 @@ module FacebookAds
1349
1353
  end
1350
1354
  edge.post 'AdVideo' do |api|
1351
1355
  api.has_param :description, 'string'
1356
+ api.has_param :is_ai_generated, 'bool'
1352
1357
  api.has_param :privacy, 'string'
1353
1358
  api.has_param :title, 'string'
1354
1359
  api.has_param :upload_phase, { enum: -> { AdVideo::UPLOAD_PHASE }}
@@ -24,6 +24,7 @@ module FacebookAds
24
24
  "ACO_TOGGLE",
25
25
  "ADD_FUNDS_TO_RUN_CAMPAIGN",
26
26
  "ADOPT_CATALOG_TO_RUN_PRODUCT_CENTRIC_ADS",
27
+ "ADOPT_CLICK_TO_FLOWS",
27
28
  "ADOPT_CREATIVE_AUDIENCE_PAIRING",
28
29
  "ADOPT_CREATIVE_MEDIA_SOURCING_BUNDLE",
29
30
  "ADOPT_CTX_RECOMMENDED_TEMPLATE_BUNDLE",
@@ -166,6 +167,8 @@ module FacebookAds
166
167
  "CONVERSION_LEADS_OPTIMIZATION_V2",
167
168
  "CONVERSION_LEAD_ADS",
168
169
  "CONVERT_APP_WEB_FALLBACK_TO_A_DESTINATION",
170
+ "CONVERT_CTX_REPLIES_TO_CTX_LEADS",
171
+ "CONVERT_CTX_REPLIES_TO_CTX_PURCHASE",
169
172
  "CONVERT_IG_PROFILE_VISIT_TO_PTWA",
170
173
  "COST_GOAL",
171
174
  "COST_GOAL_BUDGET_LIMITED",
@@ -312,6 +315,7 @@ module FacebookAds
312
315
  "OPTIMAL_BAU",
313
316
  "OPT_INTO_CHAT_ON_WHATSAPP_POST_LEAD",
314
317
  "OPT_INTO_NUDGE_FOLLOW_UP_MESSAGES_CTM",
318
+ "OPT_INTO_REELS_GEN_AI_VIDEO_EXPANSION",
315
319
  "OPT_INTO_SINGLE_MEDIA_TO_COLLECTION_ADS",
316
320
  "OUTCOME_FORECASTER_BID_RECOMMENDATION",
317
321
  "OUTCOME_FORECASTER_BUDGET_RECOMMENDATION",
@@ -25,6 +25,7 @@ module FacebookAds
25
25
  field :campaigns_with_error, { list: 'string' }
26
26
  field :is_age_restriction_enabled, 'bool'
27
27
  field :placement_controls, 'object'
28
+ field :placement_controls_per_objective, 'object'
28
29
  field :status, { enum: -> { STATUS }}
29
30
  has_no_id
30
31
  has_no_get
@@ -51,8 +51,6 @@ module FacebookAds
51
51
  ]
52
52
 
53
53
 
54
- field :daily_outcomes_curve, { list: 'OutcomePredictionPoint' }
55
- field :estimate_dau, 'int'
56
54
  field :estimate_mau_lower_bound, 'int'
57
55
  field :estimate_mau_upper_bound, 'int'
58
56
  field :estimate_ready, 'bool'
@@ -0,0 +1,36 @@
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 AdAccountInsightsFeatureSettings < AdObject
17
+
18
+ field :id, 'string'
19
+ has_no_get
20
+ has_no_post
21
+ has_no_delete
22
+
23
+ has_edge :insights&#x2F;feature-settings&#x2F;list-features do |edge|
24
+ edge.get 'AdAccountInsightsFeatureSettingsListFeatures' do |api|
25
+ api.has_param :after, 'string'
26
+ api.has_param :before, 'string'
27
+ api.has_param :limit, 'int'
28
+ end
29
+ end
30
+
31
+ has_edge :insights&#x2F;feature-settings do |edge|
32
+ edge.post 'AdAccountInsightsFeatureSettingsPost'
33
+ end
34
+
35
+ end
36
+ end
@@ -13,16 +13,14 @@ 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 AdAccountFeaturePreferences < AdObject
16
+ class AdAccountInsightsFeatureSettingsListFeatures < AdObject
17
17
 
18
- field :id, 'string'
18
+ field :data, { list: 'object' }
19
+ field :paging, 'object'
20
+ has_no_id
19
21
  has_no_get
20
22
  has_no_post
21
23
  has_no_delete
22
24
 
23
- has_edge :feature_preferences do |edge|
24
- edge.post 'AdAccountFeaturePreferencesPost'
25
- end
26
-
27
25
  end
28
26
  end
@@ -13,7 +13,7 @@ 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 AdAccountFeaturePreferencesPost < AdObject
16
+ class AdAccountInsightsFeatureSettingsPost < AdObject
17
17
 
18
18
  field :id, 'string'
19
19
  has_no_get
@@ -51,8 +51,6 @@ module FacebookAds
51
51
  ]
52
52
 
53
53
 
54
- field :daily_outcomes_curve, { list: 'OutcomePredictionPoint' }
55
- field :estimate_dau, 'int'
56
54
  field :estimate_mau_lower_bound, 'int'
57
55
  field :estimate_mau_upper_bound, 'int'
58
56
  field :estimate_ready, 'bool'
@@ -17,6 +17,7 @@ module FacebookAds
17
17
 
18
18
  field :bodies, { list: 'object' }
19
19
  field :descriptions, { list: 'object' }
20
+ field :destinations, { list: 'object' }
20
21
  field :images, { list: 'object' }
21
22
  field :push_metadata_ids, { list: 'string' }
22
23
  field :related_media, 'object'
@@ -255,6 +255,7 @@ module FacebookAds
255
255
  field :ad_set_goal, 'AdCampaignGoal'
256
256
  field :adlabels, { list: 'AdLabel' }
257
257
  field :adset_schedule, { list: 'DayPart' }
258
+ field :anchor_event_attribution_window_days, 'int'
258
259
  field :asset_feed_id, 'string'
259
260
  field :attribution_count_type, 'string'
260
261
  field :attribution_spec, { list: 'AttributionSpec' }
@@ -345,6 +345,7 @@ module FacebookAds
345
345
  field :initial_heading, 'int'
346
346
  field :initial_pitch, 'int'
347
347
  field :instant_game_entry_point_data, 'string'
348
+ field :is_ai_generated, 'bool'
348
349
  field :is_boost_intended, 'bool'
349
350
  field :is_group_linking_post, 'bool'
350
351
  field :is_partnership_ad, 'bool'
@@ -332,6 +332,7 @@ module FacebookAds
332
332
  field :inline_link_click_ctr, 'string'
333
333
  field :inline_link_clicks, 'string'
334
334
  field :inline_post_engagement, 'string'
335
+ field :instagram_profile_follow, 'string'
335
336
  field :instagram_profile_visits, 'string'
336
337
  field :instagram_upcoming_event_reminders_set, 'string'
337
338
  field :instant_experience_clicks_to_open, 'string'
@@ -361,10 +362,6 @@ module FacebookAds
361
362
  field :marketing_messages_sent, 'string'
362
363
  field :marketing_messages_spend, 'string'
363
364
  field :marketing_messages_spend_currency, 'string'
364
- field :marketing_messages_website_add_to_cart, 'string'
365
- field :marketing_messages_website_initiate_checkout, 'string'
366
- field :marketing_messages_website_purchase, 'string'
367
- field :marketing_messages_website_purchase_values, 'string'
368
365
  field :messages_delivered, 'string'
369
366
  field :messages_delivered_ctr, 'string'
370
367
  field :mobile_app_purchase_roas, { list: 'AdsActionStats' }
@@ -378,6 +375,8 @@ module FacebookAds
378
375
  field :outbound_clicks, { list: 'AdsActionStats' }
379
376
  field :outbound_clicks_ctr, { list: 'AdsActionStats' }
380
377
  field :place_page_name, 'string'
378
+ field :playable_average_game_length, 'string'
379
+ field :playable_game_start_rate, 'string'
381
380
  field :product_group_retailer_id, 'string'
382
381
  field :product_retailer_id, 'string'
383
382
  field :product_views, 'string'
@@ -258,6 +258,9 @@ module FacebookAds
258
258
  api.has_param :installer_package, 'string'
259
259
  api.has_param :is_circuit_breaker_active, 'bool'
260
260
  api.has_param :is_fb, 'bool'
261
+ api.has_param :is_redownload, 'bool'
262
+ api.has_param :last_new_install_time, 'int'
263
+ api.has_param :last_session_time, 'int'
261
264
  api.has_param :limited_data_use, 'bool'
262
265
  api.has_param :meta_install_referrer, 'string'
263
266
  api.has_param :migration_bundle, 'string'
@@ -32,13 +32,13 @@ module FacebookAds
32
32
  field :match_state, 'string'
33
33
  field :matched_overlap_percentage, 'double'
34
34
  field :matched_owner_match_duration_in_sec, 'double'
35
- field :matched_reference_owner, 'Profile'
35
+ field :matched_reference_owner_v2, 'object'
36
36
  field :modification_history, { list: 'object' }
37
37
  field :num_matches_on_matched_side, 'int'
38
38
  field :num_matches_on_ref_side, 'int'
39
39
  field :ref_owner_match_duration_in_sec, 'double'
40
40
  field :reference_overlap_percentage, 'double'
41
- field :reference_owner, 'Profile'
41
+ field :reference_owner_v2, 'object'
42
42
  field :rejection_form_data_entries_with_translations, { list: 'object' }
43
43
  field :resolution_details, 'string'
44
44
  field :resolution_reason, 'string'
@@ -16,6 +16,9 @@ module FacebookAds
16
16
  class BrandSafetyCampaignConfig < AdObject
17
17
 
18
18
  field :comment_moderation_filter, 'string'
19
+ field :fb_comment_moderation_filter, 'string'
20
+ field :ig_comment_moderation_filter, 'string'
21
+ field :threads_comment_moderation_filter, 'string'
19
22
  has_no_id
20
23
  has_no_get
21
24
  has_no_post
@@ -1528,6 +1528,7 @@ module FacebookAds
1528
1528
  api.has_param :initial_heading, 'int'
1529
1529
  api.has_param :initial_pitch, 'int'
1530
1530
  api.has_param :instant_game_entry_point_data, 'string'
1531
+ api.has_param :is_ai_generated, 'bool'
1531
1532
  api.has_param :is_boost_intended, 'bool'
1532
1533
  api.has_param :is_group_linking_post, 'bool'
1533
1534
  api.has_param :is_partnership_ad, 'bool'
@@ -60,15 +60,6 @@ module FacebookAds
60
60
  edge.get 'ProductCatalog'
61
61
  end
62
62
 
63
- has_edge :returns do |edge|
64
- edge.get do |api|
65
- api.has_param :end_time_created, 'datetime'
66
- api.has_param :merchant_return_id, 'string'
67
- api.has_param :start_time_created, 'datetime'
68
- api.has_param :statuses, { list: { enum: %w{APPROVED DISAPPROVED MERCHANT_MARKED_COMPLETED REFUNDED REQUESTED }} }
69
- end
70
- end
71
-
72
63
  has_edge :setup_status do |edge|
73
64
  edge.get 'CommerceMerchantSettingsSetupStatus'
74
65
  end
@@ -88,9 +79,5 @@ module FacebookAds
88
79
  edge.get 'Shop'
89
80
  end
90
81
 
91
- has_edge :tax_settings do |edge|
92
- edge.get
93
- end
94
-
95
82
  end
96
83
  end
@@ -48,24 +48,7 @@ module FacebookAds
48
48
  has_no_post
49
49
  has_no_delete
50
50
 
51
- has_edge :cancellations do |edge|
52
- edge.get
53
- end
54
-
55
- has_edge :items do |edge|
56
- edge.get
57
- end
58
-
59
- has_edge :payments do |edge|
60
- edge.get
61
- end
62
-
63
- has_edge :refunds do |edge|
64
- edge.get
65
- end
66
-
67
51
  has_edge :shipments do |edge|
68
- edge.get
69
52
  edge.post 'CommerceOrder' do |api|
70
53
  api.has_param :external_redemption_link, 'string'
71
54
  api.has_param :external_shipment_id, 'string'
@@ -19,8 +19,8 @@ module FacebookAds
19
19
  field :has_ownership_been_updated, 'bool'
20
20
  field :id, 'string'
21
21
  field :num_assets, 'int'
22
- field :receiving_rights_holder, 'Profile'
23
- field :sending_rights_holder, 'Profile'
22
+ field :receiving_rights_holder_owner, 'object'
23
+ field :sending_rights_holder_owner, 'object'
24
24
  field :status, 'string'
25
25
  field :transfer_territories, { list: 'string' }
26
26
  field :transfer_time, 'datetime'
@@ -23,6 +23,7 @@ module FacebookAds
23
23
  "EXTERNAL",
24
24
  "INTERNAL",
25
25
  "SELF_SERVE",
26
+ "SELF_SERVE_CONTACT_FORM",
26
27
  ]
27
28
 
28
29
 
@@ -116,7 +116,7 @@ module FacebookAds
116
116
  edge.delete do |api|
117
117
  api.has_param :uid, 'int'
118
118
  end
119
- edge.post 'Group' do |api|
119
+ edge.post 'User' do |api|
120
120
  api.has_param :uid, 'int'
121
121
  end
122
122
  end
@@ -306,7 +306,7 @@ module FacebookAds
306
306
  api.has_param :email, 'string'
307
307
  api.has_param :member, 'int'
308
308
  end
309
- edge.post 'Group' do |api|
309
+ edge.post 'User' do |api|
310
310
  api.has_param :email, 'string'
311
311
  api.has_param :from, 'int'
312
312
  api.has_param :member, 'int'
@@ -421,6 +421,7 @@ module FacebookAds
421
421
  api.has_param :initial_heading, 'int'
422
422
  api.has_param :initial_pitch, 'int'
423
423
  api.has_param :instant_game_entry_point_data, 'string'
424
+ api.has_param :is_ai_generated, 'bool'
424
425
  api.has_param :is_boost_intended, 'bool'
425
426
  api.has_param :is_explicit_share, 'bool'
426
427
  api.has_param :is_group_linking_post, 'bool'
@@ -147,7 +147,7 @@ module FacebookAds
147
147
  api.has_param :major_audience_device_type, { list: 'object' }
148
148
  api.has_param :major_audience_gender, { list: { enum: -> { IgUserExportForCam::MAJOR_AUDIENCE_GENDER }} }
149
149
  api.has_param :major_audience_states, { list: 'string' }
150
- api.has_param :platform, { list: { enum: -> { IgUserExportForCam::PLATFORM }} }
150
+ api.has_param :platform, { enum: -> { IgUserExportForCam::PLATFORM }}
151
151
  api.has_param :query, 'string'
152
152
  api.has_param :recommendation_type, { enum: -> { IgUserExportForCam::RECOMMENDATION_TYPE }}
153
153
  api.has_param :reels_interaction_rate, 'object'
@@ -206,9 +206,12 @@ module FacebookAds
206
206
  api.has_param :image_url, 'string'
207
207
  api.has_param :is_ai_generated, 'bool'
208
208
  api.has_param :is_carousel_item, 'bool'
209
+ api.has_param :is_comment_prompt_used, 'bool'
209
210
  api.has_param :is_paid_partnership, 'bool'
211
+ api.has_param :is_poll_duration_extended, 'bool'
210
212
  api.has_param :location_id, 'string'
211
213
  api.has_param :media_type, 'string'
214
+ api.has_param :poll_attachment, 'string'
212
215
  api.has_param :product_tags, { list: 'hash' }
213
216
  api.has_param :share_to_feed, 'bool'
214
217
  api.has_param :thumb_offset, 'string'
@@ -539,6 +539,8 @@ module FacebookAds
539
539
  ]
540
540
 
541
541
  PLATFORM = [
542
+ "any",
543
+ "both",
542
544
  "facebook",
543
545
  "instagram",
544
546
  ]
@@ -585,7 +587,7 @@ module FacebookAds
585
587
  api.has_param :breakdown, { enum: %w{AGE FOLLOW_TYPE GENDER MEDIA_TYPE TOP_CITIES TOP_COUNTRIES }}
586
588
  api.has_param :metrics, { list: { enum: %w{CREATOR_ENGAGED_ACCOUNTS CREATOR_REACH REELS_HOOK_RATE REELS_INTERACTION_RATE TOTAL_FOLLOWERS }} }
587
589
  api.has_param :period, { enum: %w{DAY OVERALL }}
588
- api.has_param :platform, { list: { enum: %w{FACEBOOK INSTAGRAM }} }
590
+ api.has_param :platform, { list: { enum: %w{ANY BOTH FACEBOOK INSTAGRAM }} }
589
591
  api.has_param :time_range, { enum: %w{LAST_14_DAYS LAST_90_DAYS LIFETIME THIS_MONTH THIS_WEEK }}
590
592
  end
591
593
  end
@@ -75,7 +75,6 @@ module FacebookAds
75
75
  api.has_param :alt_text, 'string'
76
76
  api.has_param :audio_configuration, 'string'
77
77
  api.has_param :audio_name, 'string'
78
- api.has_param :branded_content_sponsor_ids, { list: 'int' }
79
78
  api.has_param :caption, 'string'
80
79
  api.has_param :children, { list: 'string' }
81
80
  api.has_param :collaborators, { list: 'string' }
@@ -83,7 +82,6 @@ module FacebookAds
83
82
  api.has_param :image_url, 'string'
84
83
  api.has_param :is_ai_generated, 'bool'
85
84
  api.has_param :is_carousel_item, 'bool'
86
- api.has_param :is_paid_partnership, 'bool'
87
85
  api.has_param :location_id, 'string'
88
86
  api.has_param :media_type, 'string'
89
87
  api.has_param :product_tags, { list: 'hash' }
@@ -26,10 +26,10 @@ module FacebookAds
26
26
  field :id, 'string'
27
27
  field :match_state, 'string'
28
28
  field :matched_reference_copyright, 'ImageCopyright'
29
- field :matched_reference_owner, 'Profile'
29
+ field :matched_reference_owner_rh_owner, 'object'
30
30
  field :modification_history, { list: 'object' }
31
31
  field :reference_copyright, 'ImageCopyright'
32
- field :reference_owner, 'Profile'
32
+ field :reference_owner_rh_owner, 'object'
33
33
  field :rejection_form_data_entries_with_translations, { list: 'object' }
34
34
  field :resolution_reason, 'string'
35
35
  field :update_time, 'datetime'
@@ -84,16 +84,29 @@ module FacebookAds
84
84
  "C2PA",
85
85
  "C2PA_METADATA_EDITED",
86
86
  "EXPLICIT",
87
+ "EXPLICIT_AI_CUT",
88
+ "EXPLICIT_AI_EDIT",
89
+ "EXPLICIT_AI_EDIT_PRESETS_SHEET",
90
+ "EXPLICIT_AI_EXPANDER",
91
+ "EXPLICIT_AI_REWRITE_WITH_META_AI_INTENT",
92
+ "EXPLICIT_AI_TRANSITION",
93
+ "EXPLICIT_AI_V2V_RESTYLE",
87
94
  "EXPLICIT_ANIMATE",
95
+ "EXPLICIT_CLIPGEN",
96
+ "EXPLICIT_CUTOUT",
88
97
  "EXPLICIT_DROP_IN",
89
98
  "EXPLICIT_FACE_SWAP",
90
99
  "EXPLICIT_IMAGINE",
91
100
  "EXPLICIT_IMAGINE_ME",
101
+ "EXPLICIT_MAGIC_CUT",
92
102
  "EXPLICIT_RESTYLE",
103
+ "EXPLICIT_RESTYLE_EFFECTS_MERGE",
104
+ "EXPLICIT_SUBJECT_EFFECT",
93
105
  "EXPLICIT_WARDROBE",
94
106
  "INVISIBLE_WATERMARK",
95
107
  "IPTC",
96
108
  "IPTC_METADATA_EDITED",
109
+ "NONE",
97
110
  ]
98
111
 
99
112
  PICKUP_OPTIONS = [
@@ -1582,6 +1595,7 @@ module FacebookAds
1582
1595
  edge.post 'AdVideo' do |api|
1583
1596
  api.has_param :description, 'string'
1584
1597
  api.has_param :feed_targeting, 'object'
1598
+ api.has_param :is_ai_generated, 'bool'
1585
1599
  api.has_param :place, 'string'
1586
1600
  api.has_param :scheduled_publish_time, 'datetime'
1587
1601
  api.has_param :targeting, 'object'
@@ -1596,6 +1610,7 @@ module FacebookAds
1596
1610
  edge.post do |api|
1597
1611
  api.has_param :description, 'string'
1598
1612
  api.has_param :feed_targeting, 'object'
1613
+ api.has_param :is_ai_generated, 'bool'
1599
1614
  api.has_param :place, 'string'
1600
1615
  api.has_param :scheduled_publish_time, 'datetime'
1601
1616
  api.has_param :targeting, 'object'
@@ -1651,6 +1666,7 @@ module FacebookAds
1651
1666
  api.has_param :initial_heading, 'int'
1652
1667
  api.has_param :initial_pitch, 'int'
1653
1668
  api.has_param :instant_game_entry_point_data, 'string'
1669
+ api.has_param :is_ai_generated, 'bool'
1654
1670
  api.has_param :is_boost_intended, 'bool'
1655
1671
  api.has_param :is_explicit_share, 'bool'
1656
1672
  api.has_param :is_group_linking_post, 'bool'
@@ -62,10 +62,6 @@ module FacebookAds
62
62
  "MANAGE_AR",
63
63
  ]
64
64
 
65
- STANDARD = [
66
- "google",
67
- ]
68
-
69
65
  ITEM_SUB_TYPE = [
70
66
  "APPLIANCES",
71
67
  "BABY_FEEDING",
@@ -109,6 +105,10 @@ module FacebookAds
109
105
  "VIEW_ITEM",
110
106
  ]
111
107
 
108
+ STANDARD = [
109
+ "google",
110
+ ]
111
+
112
112
 
113
113
  field :ad_account_to_collaborative_ads_share_settings, 'CollaborativeAdsShareSettings'
114
114
  field :agency_collaborative_ads_share_settings, 'CollaborativeAdsShareSettings'
@@ -323,10 +323,10 @@ module FacebookAds
323
323
  edge.get 'ProductCatalogHotelRoomsBatch' do |api|
324
324
  api.has_param :handle, 'string'
325
325
  end
326
- edge.post 'ProductCatalog' do |api|
326
+ edge.post 'ProductCatalogHotelRoomsBatch' do |api|
327
327
  api.has_param :file, 'file'
328
328
  api.has_param :password, 'string'
329
- api.has_param :standard, { enum: -> { ProductCatalog::STANDARD }}
329
+ api.has_param :standard, { enum: -> { ProductCatalogHotelRoomsBatch::STANDARD }}
330
330
  api.has_param :update_only, 'bool'
331
331
  api.has_param :url, 'string'
332
332
  api.has_param :username, 'string'
@@ -14,11 +14,21 @@ module FacebookAds
14
14
  # pull request for this class.
15
15
 
16
16
  class ProductCatalogHotelRoomsBatch < AdObject
17
+ STANDARD = [
18
+ "google",
19
+ ]
20
+
17
21
 
18
22
  field :errors, { list: 'object' }
19
23
  field :errors_total_count, 'int'
20
24
  field :handle, 'string'
21
25
  field :status, 'string'
26
+ field :file, 'file'
27
+ field :password, 'string'
28
+ field :standard, { enum: -> { STANDARD }}
29
+ field :update_only, 'bool'
30
+ field :url, 'string'
31
+ field :username, 'string'
22
32
  has_no_id
23
33
  has_no_get
24
34
  has_no_post
@@ -622,6 +622,7 @@ module FacebookAds
622
622
  api.has_param :initial_heading, 'int'
623
623
  api.has_param :initial_pitch, 'int'
624
624
  api.has_param :instant_game_entry_point_data, 'string'
625
+ api.has_param :is_ai_generated, 'bool'
625
626
  api.has_param :is_boost_intended, 'bool'
626
627
  api.has_param :is_explicit_share, 'bool'
627
628
  api.has_param :is_group_linking_post, 'bool'
@@ -267,7 +267,6 @@ module FacebookAds
267
267
  end
268
268
  edge.post 'WhatsAppBusinessAccount' do |api|
269
269
  api.has_param :allow_category_change, 'bool'
270
- api.has_param :bid_spec, 'hash'
271
270
  api.has_param :category, { enum: -> { WhatsAppBusinessAccount::CATEGORY }}
272
271
  api.has_param :components, { list: 'hash' }
273
272
  api.has_param :creative_sourcing_spec, 'hash'
@@ -286,6 +285,7 @@ module FacebookAds
286
285
  api.has_param :parameter_format, { enum: -> { WhatsAppBusinessAccount::PARAMETER_FORMAT }}
287
286
  api.has_param :product_set_id, 'string'
288
287
  api.has_param :send_type, { enum: -> { WhatsAppBusinessAccount::SEND_TYPE }}
288
+ api.has_param :source_template_id, 'int'
289
289
  api.has_param :sub_category, { enum: -> { WhatsAppBusinessAccount::SUB_CATEGORY }}
290
290
  end
291
291
  end
@@ -7,6 +7,6 @@
7
7
  # FB:AUTOGEN
8
8
 
9
9
  module FacebookAds
10
- VERSION = '25.0.4'
11
- API_VERSION = '25.0'
10
+ VERSION = '26.0.0'
11
+ API_VERSION = '26.0'
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebookbusiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 25.0.4
4
+ version: 26.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-17 00:00:00.000000000 Z
11
+ date: 2026-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capi_param_builder_ruby
@@ -298,8 +298,9 @@ files:
298
298
  - lib/facebook_ads/ad_objects/ad_account_default_objective.rb
299
299
  - lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb
300
300
  - lib/facebook_ads/ad_objects/ad_account_dsa_recommendations.rb
301
- - lib/facebook_ads/ad_objects/ad_account_feature_preferences.rb
302
- - lib/facebook_ads/ad_objects/ad_account_feature_preferences_post.rb
301
+ - lib/facebook_ads/ad_objects/ad_account_insights_feature_settings.rb
302
+ - lib/facebook_ads/ad_objects/ad_account_insights_feature_settings_list_features.rb
303
+ - lib/facebook_ads/ad_objects/ad_account_insights_feature_settings_post.rb
303
304
  - lib/facebook_ads/ad_objects/ad_account_ios_fourteen_campaign_limits.rb
304
305
  - lib/facebook_ads/ad_objects/ad_account_live_video_advertiser.rb
305
306
  - lib/facebook_ads/ad_objects/ad_account_marketing_messages_settings.rb