facebookbusiness 18.0.3 → 19.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad_account.rb +12 -0
  3. data/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb +2 -0
  4. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +7 -0
  5. data/lib/facebook_ads/ad_objects/ad_account_business_constraints.rb +2 -0
  6. data/lib/facebook_ads/ad_objects/ad_asset_feed_additional_data.rb +29 -0
  7. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +5 -5
  8. data/lib/facebook_ads/ad_objects/{instant_articles_stats.rb → ad_asset_feed_spec_call_to_action.rb} +4 -6
  9. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel.rb +28 -0
  10. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel_child_attachment.rb +34 -0
  11. data/lib/facebook_ads/ad_objects/{destination_catalog_settings.rb → ad_asset_feed_spec_events.rb} +2 -2
  12. data/lib/facebook_ads/ad_objects/ad_asset_onsite_destinations.rb +28 -0
  13. data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -0
  14. data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb +2 -1
  15. data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads_partners.rb +28 -0
  16. data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +2 -0
  17. data/lib/facebook_ads/ad_objects/ad_rule_execution_spec.rb +1 -0
  18. data/lib/facebook_ads/ad_objects/ad_rule_history.rb +2 -0
  19. data/lib/facebook_ads/ad_objects/ad_video.rb +3 -1
  20. data/lib/facebook_ads/ad_objects/ads_action_stats.rb +4 -0
  21. data/lib/facebook_ads/ad_objects/ads_histogram_stats.rb +4 -0
  22. data/lib/facebook_ads/ad_objects/ads_insights.rb +1 -0
  23. data/lib/facebook_ads/ad_objects/ads_pixel.rb +1 -0
  24. data/lib/facebook_ads/ad_objects/application.rb +3 -8
  25. data/lib/facebook_ads/ad_objects/business.rb +2 -2
  26. data/lib/facebook_ads/ad_objects/canvas.rb +4 -0
  27. data/lib/facebook_ads/ad_objects/canvas_preview.rb +25 -0
  28. data/lib/facebook_ads/ad_objects/custom_audience.rb +11 -0
  29. data/lib/facebook_ads/ad_objects/custom_audience_salts.rb +26 -0
  30. data/lib/facebook_ads/ad_objects/group.rb +0 -1
  31. data/lib/facebook_ads/ad_objects/instagram_insights_result.rb +2 -0
  32. data/lib/facebook_ads/ad_objects/leadgen_form.rb +1 -1
  33. data/lib/facebook_ads/ad_objects/messenger_profile.rb +1 -0
  34. data/lib/facebook_ads/ad_objects/page.rb +0 -10
  35. data/lib/facebook_ads/ad_objects/page_post_experiment.rb +0 -1
  36. data/lib/facebook_ads/ad_objects/product_item.rb +6 -0
  37. data/lib/facebook_ads/ad_objects/profile.rb +0 -1
  38. data/lib/facebook_ads/ad_objects/profile_picture_source.rb +0 -4
  39. data/lib/facebook_ads/ad_objects/user.rb +0 -12
  40. data/lib/facebook_ads/ad_objects/{game_item.rb → video_copyright_check_status.rb} +4 -14
  41. data/lib/facebook_ads/ad_objects/video_status.rb +30 -0
  42. data/lib/facebook_ads/ad_objects/video_status_error.rb +26 -0
  43. data/lib/facebook_ads/ad_objects/video_status_processing_phase.rb +26 -0
  44. data/lib/facebook_ads/ad_objects/video_status_publishing_phase.rb +28 -0
  45. data/lib/facebook_ads/ad_objects/video_status_uploading_phase.rb +28 -0
  46. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +6 -3
  47. data/lib/facebook_ads/ad_objects/whats_app_business_health_status.rb +28 -0
  48. data/lib/facebook_ads/ad_objects/whats_app_business_health_status_for_message_send.rb +26 -0
  49. data/lib/facebook_ads/api_request.rb +2 -2
  50. data/lib/facebook_ads/field_types/upload_file.rb +3 -3
  51. data/lib/facebook_ads/version.rb +2 -2
  52. data/lib/facebook_ads/videos/video_io.rb +1 -1
  53. metadata +21 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d38d786e3dd87b85f3669dd1a07b9f584011ed94150b7b482ccbdbc12ce72f26
4
- data.tar.gz: 1a369b784247afaf3650b0724526815a4477ef445781ffdaf52e0a31e7322f7a
3
+ metadata.gz: a3142ea4fb603cf1fd0907f43b79270262f6cea6842c07c8456e4946bc4a8ffb
4
+ data.tar.gz: 1a09f36ba9f73e4decebcceea88c33d768e07ee64081e005ce7bd4684f3428be
5
5
  SHA512:
6
- metadata.gz: 559c3ee005ed8efc3b38ea380bc9fd3747ba8850bbaaa086ca88d0b06305f9224bed757d4eda5376a34ff3cd4af0100381bded573c9861cd06ee9ee454a3b6b2
7
- data.tar.gz: 9b747f559714ed8dea7b65706d316bc8251f12cdb5ed612cc5da4bbfae9890219e8ed974ae63395b74619bab5cb25eb8e4ccc6c648ebc5e33d2999013dbe682c
6
+ metadata.gz: 705598d10524bd493c0f551e200eef2512613cf2b4c0f3a69f79df409244790fa73f8d2e6af86baaae1a19ded436b73147fcfcadc3c47ff45f7f6d7dd9379b66
7
+ data.tar.gz: 1b1712c783f9d0c323d4b49fd64327fa4155d7e8eb8248418610cba2d95a947c585e8808c84fda51790d476e85f1001005d4adaa829d2711cacea25a4ea11005
@@ -72,6 +72,14 @@ module FacebookAds
72
72
  "ZAR",
73
73
  ]
74
74
 
75
+ PERMITTED_TASKS = [
76
+ "AA_ANALYZE",
77
+ "ADVERTISE",
78
+ "ANALYZE",
79
+ "DRAFT",
80
+ "MANAGE",
81
+ ]
82
+
75
83
  TASKS = [
76
84
  "AA_ANALYZE",
77
85
  "ADVERTISE",
@@ -629,6 +637,10 @@ module FacebookAds
629
637
  api.has_param :business, 'string'
630
638
  end
631
639
  edge.get 'Business'
640
+ edge.post 'AdAccount' do |api|
641
+ api.has_param :business, 'string'
642
+ api.has_param :permitted_tasks, { list: { enum: -> { AdAccount::PERMITTED_TASKS }} }
643
+ end
632
644
  end
633
645
 
634
646
  has_edge :applications do |edge|
@@ -20,7 +20,9 @@ module FacebookAds
20
20
  "CHANGED_BUDGET",
21
21
  "EMAIL",
22
22
  "ENABLE_ADVANTAGE_PLUS_CREATIVE",
23
+ "ENABLE_ADVANTAGE_PLUS_PLACEMENTS",
23
24
  "ENABLE_AUTOFLOW",
25
+ "ENABLE_SEMANTIC_BASED_AUDIENCE_EXPANSION",
24
26
  "ENDPOINT_PINGED",
25
27
  "ERROR",
26
28
  "FACEBOOK_NOTIFICATION_SENT",
@@ -20,12 +20,17 @@ module FacebookAds
20
20
  "ACO_TOGGLE",
21
21
  "ADS_REPORTING",
22
22
  "ADVANCED_CAMPAIGN_BUDGET",
23
+ "ADVANTAGE_APP_CAMPAIGN",
23
24
  "ADVANTAGE_CUSTOM_AUDIENCE",
24
25
  "ADVANTAGE_CUSTOM_AUDIENCE_UPSELL",
26
+ "ADVANTAGE_DETAILED_TARGETING",
27
+ "ADVANTAGE_LOOKALIKE_AUDIENCE",
28
+ "ADVANTAGE_PLUS_AUDIENCE",
25
29
  "ADVANTAGE_PLUS_AUDIENCE_FRICTION",
26
30
  "ADVANTAGE_PLUS_AUDIENCE_TOGGLE",
27
31
  "ADVANTAGE_PLUS_CREATIVE",
28
32
  "ADVANTAGE_PLUS_CREATIVE_CATALOG",
33
+ "ADVANTAGE_PLUS_PLACEMENTS_FRICTION",
29
34
  "ADVANTAGE_SHOPPING_CAMPAIGN",
30
35
  "ADVANTAGE_SHOPPING_CAMPAIGN_FRAGMENTATION",
31
36
  "AD_OBJECTIVE",
@@ -76,6 +81,7 @@ module FacebookAds
76
81
  "GUIDANCE_CENTER_CODE_GEN",
77
82
  "HIGH_COST",
78
83
  "HISTORICAL_BENCHMARK",
84
+ "IG_MULTI_ADS",
79
85
  "LEARNING_LIMITED",
80
86
  "LEARNING_PAUSE_FRICTION",
81
87
  "LEARNING_PHASE_BUDGET_EDITS",
@@ -107,6 +113,7 @@ module FacebookAds
107
113
  "SIX_PLUS_MANUAL_PLACEMENTS",
108
114
  "SPEND_LIMIT",
109
115
  "SYD_TEST_MODE",
116
+ "TAILORED_LEAD_AD_CAMPAIGN",
110
117
  "TOP_ADSETS_WITH_ADS_UNDER_CAP",
111
118
  "TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP",
112
119
  "TWO_P_GUIDANCE_CARD_AAA",
@@ -16,7 +16,9 @@ module FacebookAds
16
16
  class AdAccountBusinessConstraints < AdObject
17
17
 
18
18
  field :audience_controls, 'object'
19
+ field :campaigns_with_error, { list: 'string' }
19
20
  field :placement_controls, 'object'
21
+ field :status, 'string'
20
22
  has_no_id
21
23
  has_no_get
22
24
  has_no_post
@@ -0,0 +1,29 @@
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 AdAssetFeedAdditionalData < AdObject
17
+
18
+ field :automated_product_tags, 'bool'
19
+ field :brand_page_id, 'string'
20
+ field :is_click_to_message, 'bool'
21
+ field :multi_share_end_card, 'bool'
22
+ field :page_welcome_message, 'string'
23
+ has_no_id
24
+ has_no_get
25
+ has_no_post
26
+ has_no_delete
27
+
28
+ end
29
+ end
@@ -94,22 +94,22 @@ module FacebookAds
94
94
 
95
95
 
96
96
  field :ad_formats, { list: 'string' }
97
- field :additional_data, 'object'
97
+ field :additional_data, 'AdAssetFeedAdditionalData'
98
98
  field :app_product_page_id, 'string'
99
99
  field :asset_customization_rules, { list: 'AdAssetFeedSpecAssetCustomizationRule' }
100
100
  field :autotranslate, { list: 'string' }
101
101
  field :bodies, { list: 'AdAssetFeedSpecBody' }
102
102
  field :call_to_action_types, { list: { enum: -> { CALL_TO_ACTION_TYPES }} }
103
- field :call_to_actions, { list: 'object' }
103
+ field :call_to_actions, { list: 'AdAssetFeedSpecCallToAction' }
104
104
  field :captions, { list: 'AdAssetFeedSpecCaption' }
105
- field :carousels, { list: 'object' }
105
+ field :carousels, { list: 'AdAssetFeedSpecCarousel' }
106
106
  field :descriptions, { list: 'AdAssetFeedSpecDescription' }
107
- field :events, { list: 'object' }
107
+ field :events, { list: 'AdAssetFeedSpecEvents' }
108
108
  field :groups, { list: 'AdAssetFeedSpecGroupRule' }
109
109
  field :images, { list: 'AdAssetFeedSpecImage' }
110
110
  field :link_urls, { list: 'AdAssetFeedSpecLinkUrl' }
111
111
  field :message_extensions, { list: 'AdAssetMessageExtensions' }
112
- field :onsite_destinations, { list: 'object' }
112
+ field :onsite_destinations, { list: 'AdAssetOnsiteDestinations' }
113
113
  field :optimization_type, 'string'
114
114
  field :reasons_to_shop, 'bool'
115
115
  field :shops_bundle, 'bool'
@@ -13,13 +13,11 @@ 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 InstantArticlesStats < AdObject
16
+ class AdAssetFeedSpecCallToAction < AdObject
17
17
 
18
- field :error, 'string'
19
- field :metadata, { list: 'hash' }
20
- field :metric, 'object'
21
- field :totals, { list: 'hash' }
22
- field :x_axis_breakdown, { list: { list: 'hash' } }
18
+ field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
19
+ field :type, 'string'
20
+ field :value, 'AdCreativeLinkDataCallToActionValue'
23
21
  has_no_id
24
22
  has_no_get
25
23
  has_no_post
@@ -0,0 +1,28 @@
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 AdAssetFeedSpecCarousel < AdObject
17
+
18
+ field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
19
+ field :child_attachments, { list: 'AdAssetFeedSpecCarouselChildAttachment' }
20
+ field :multi_share_end_card, 'bool'
21
+ field :multi_share_optimized, 'bool'
22
+ has_no_id
23
+ has_no_get
24
+ has_no_post
25
+ has_no_delete
26
+
27
+ end
28
+ end
@@ -0,0 +1,34 @@
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 AdAssetFeedSpecCarouselChildAttachment < AdObject
17
+
18
+ field :body_label, 'AdAssetFeedSpecAssetLabel'
19
+ field :call_to_action_type_label, 'AdAssetFeedSpecAssetLabel'
20
+ field :caption_label, 'AdAssetFeedSpecAssetLabel'
21
+ field :description_label, 'AdAssetFeedSpecAssetLabel'
22
+ field :image_label, 'AdAssetFeedSpecAssetLabel'
23
+ field :link_url_label, 'AdAssetFeedSpecAssetLabel'
24
+ field :phone_data_ids_label, 'AdAssetFeedSpecAssetLabel'
25
+ field :static_card, 'bool'
26
+ field :title_label, 'AdAssetFeedSpecAssetLabel'
27
+ field :video_label, 'AdAssetFeedSpecAssetLabel'
28
+ has_no_id
29
+ has_no_get
30
+ has_no_post
31
+ has_no_delete
32
+
33
+ end
34
+ end
@@ -13,10 +13,10 @@ 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 DestinationCatalogSettings < AdObject
16
+ class AdAssetFeedSpecEvents < AdObject
17
17
 
18
- field :generate_items_from_pages, 'bool'
19
18
  field :id, 'string'
19
+ has_no_get
20
20
  has_no_post
21
21
  has_no_delete
22
22
 
@@ -0,0 +1,28 @@
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 AdAssetOnsiteDestinations < AdObject
17
+
18
+ field :auto_optimization, 'string'
19
+ field :details_page_product_id, 'string'
20
+ field :shop_collection_product_set_id, 'string'
21
+ field :storefront_shop_id, 'string'
22
+ has_no_id
23
+ has_no_get
24
+ has_no_post
25
+ has_no_delete
26
+
27
+ end
28
+ end
@@ -125,6 +125,7 @@ module FacebookAds
125
125
  AUTHORIZATION_CATEGORY = [
126
126
  "NONE",
127
127
  "POLITICAL",
128
+ "POLITICAL_WITH_DIGITALLY_CREATED_MEDIA",
128
129
  ]
129
130
 
130
131
  CATEGORIZATION_CRITERIA = [
@@ -19,7 +19,8 @@ module FacebookAds
19
19
  field :creator_ad_permission_type, 'string'
20
20
  field :instagram_boost_post_access_token, 'string'
21
21
  field :is_mca_internal, 'bool'
22
- field :partners, { list: 'object' }
22
+ field :partners, { list: 'AdCreativeBrandedContentAdsPartners' }
23
+ field :promoted_page_id, 'string'
23
24
  field :ui_version, 'int'
24
25
  has_no_id
25
26
  has_no_get
@@ -0,0 +1,28 @@
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 AdCreativeBrandedContentAdsPartners < AdObject
17
+
18
+ field :fb_page_id, 'string'
19
+ field :identity_type, 'string'
20
+ field :ig_asset_id, 'string'
21
+ field :ig_user_id, 'string'
22
+ has_no_id
23
+ has_no_get
24
+ has_no_post
25
+ has_no_delete
26
+
27
+ end
28
+ end
@@ -68,8 +68,10 @@ module FacebookAds
68
68
  field :place_page_set_id, 'string'
69
69
  field :product_catalog_id, 'string'
70
70
  field :product_item_id, 'string'
71
+ field :product_set, 'ProductSet'
71
72
  field :product_set_id, 'string'
72
73
  field :retention_days, 'string'
74
+ field :whatsapp_phone_number, 'string'
73
75
  has_no_id
74
76
  has_no_get
75
77
  has_no_post
@@ -22,6 +22,7 @@ module FacebookAds
22
22
  "CHANGE_BID",
23
23
  "CHANGE_BUDGET",
24
24
  "CHANGE_CAMPAIGN_BUDGET",
25
+ "DCO",
25
26
  "INCREASE_RADIUS",
26
27
  "NOTIFICATION",
27
28
  "PAUSE",
@@ -20,7 +20,9 @@ module FacebookAds
20
20
  "CHANGED_BUDGET",
21
21
  "EMAIL",
22
22
  "ENABLE_ADVANTAGE_PLUS_CREATIVE",
23
+ "ENABLE_ADVANTAGE_PLUS_PLACEMENTS",
23
24
  "ENABLE_AUTOFLOW",
25
+ "ENABLE_SEMANTIC_BASED_AUDIENCE_EXPANSION",
24
26
  "ENDPOINT_PINGED",
25
27
  "ERROR",
26
28
  "FACEBOOK_NOTIFICATION_SENT",
@@ -41,6 +41,7 @@ module FacebookAds
41
41
  "CONTAINED_POST_AUDIO_BROADCAST",
42
42
  "CONTAINED_POST_COPYRIGHT_REFERENCE_BROADCAST",
43
43
  "COPYRIGHT_REFERENCE_BROADCAST",
44
+ "COPYRIGHT_REFERENCE_IG_XPOST_VIDEO",
44
45
  "COPYRIGHT_REFERENCE_VIDEO",
45
46
  "CREATION_ML_PRECREATION",
46
47
  "DCO_AD_ASSET_FEED",
@@ -89,6 +90,7 @@ module FacebookAds
89
90
  "INSTAGRAM_VIDEO_COPY",
90
91
  "INSTANT_APPLICATION_PREVIEW",
91
92
  "INSTANT_ARTICLE",
93
+ "INSTANT_GAMES_PROMO",
92
94
  "INSTANT_GAME_CLIP",
93
95
  "ISSUE_MODULE",
94
96
  "JOBS_CAREERS",
@@ -329,7 +331,7 @@ module FacebookAds
329
331
  field :scheduled_publish_time, 'datetime'
330
332
  field :source, 'string'
331
333
  field :spherical, 'bool'
332
- field :status, 'object'
334
+ field :status, 'VideoStatus'
333
335
  field :title, 'string'
334
336
  field :universal_video_id, 'string'
335
337
  field :updated_time, 'datetime'
@@ -45,7 +45,11 @@ module FacebookAds
45
45
  field :interactive_component_sticker_id, 'string'
46
46
  field :interactive_component_sticker_response, 'string'
47
47
  field :skan_click, 'string'
48
+ field :skan_click_second_postback, 'string'
49
+ field :skan_click_third_postback, 'string'
48
50
  field :skan_view, 'string'
51
+ field :skan_view_second_postback, 'string'
52
+ field :skan_view_third_postback, 'string'
49
53
  field :value, 'string'
50
54
  has_no_id
51
55
  has_no_get
@@ -45,7 +45,11 @@ module FacebookAds
45
45
  field :interactive_component_sticker_id, 'string'
46
46
  field :interactive_component_sticker_response, 'string'
47
47
  field :skan_click, { list: 'int' }
48
+ field :skan_click_second_postback, { list: 'int' }
49
+ field :skan_click_third_postback, { list: 'int' }
48
50
  field :skan_view, { list: 'int' }
51
+ field :skan_view_second_postback, { list: 'int' }
52
+ field :skan_view_third_postback, { list: 'int' }
49
53
  field :value, { list: 'int' }
50
54
  has_no_id
51
55
  has_no_get
@@ -68,6 +68,7 @@ module FacebookAds
68
68
  "image_asset",
69
69
  "impression_device",
70
70
  "is_conversion_id_modeled",
71
+ "landing_destination",
71
72
  "link_url_asset",
72
73
  "marketing_messages_btn_name",
73
74
  "mdsa_landing_destination",
@@ -128,6 +128,7 @@ module FacebookAds
128
128
  api.has_param :namespace_id, 'string'
129
129
  api.has_param :partner_agent, 'string'
130
130
  api.has_param :platforms, { list: 'hash' }
131
+ api.has_param :progress, 'object'
131
132
  api.has_param :test_event_code, 'string'
132
133
  api.has_param :trace, 'int'
133
134
  api.has_param :upload_id, 'string'
@@ -102,6 +102,8 @@ module FacebookAds
102
102
  field :auto_event_mapping_android, { list: 'object' }
103
103
  field :auto_event_mapping_ios, { list: 'object' }
104
104
  field :auto_event_setup_enabled, 'bool'
105
+ field :auto_log_app_events_default, 'bool'
106
+ field :auto_log_app_events_enabled, 'bool'
105
107
  field :business, 'Business'
106
108
  field :canvas_fluid_height, 'bool'
107
109
  field :canvas_fluid_width, 'int'
@@ -159,8 +161,6 @@ module FacebookAds
159
161
  field :restrictions, 'object'
160
162
  field :restrictive_data_filter_params, 'string'
161
163
  field :restrictive_data_filter_rules, 'string'
162
- field :sdk_auto_logging_default_value, 'bool'
163
- field :sdk_auto_logging_override_value, 'bool'
164
164
  field :sdk_update_message, 'string'
165
165
  field :seamless_login, 'int'
166
166
  field :secure_canvas_url, 'string'
@@ -398,12 +398,6 @@ module FacebookAds
398
398
  end
399
399
  end
400
400
 
401
- has_edge :banned do |edge|
402
- edge.get 'User' do |api|
403
- api.has_param :uid, 'int'
404
- end
405
- end
406
-
407
401
  has_edge :button_auto_detection_device_selection do |edge|
408
402
  edge.get do |api|
409
403
  api.has_param :device_id, 'string'
@@ -464,6 +458,7 @@ module FacebookAds
464
458
  api.has_param :click_attr_window, 'int'
465
459
  api.has_param :custom_events, { list: 'object' }
466
460
  api.has_param :decline_reason, 'string'
461
+ api.has_param :engagement_type, 'string'
467
462
  api.has_param :event, 'string'
468
463
  api.has_param :event_reported_time, 'int'
469
464
  api.has_param :fb_ad_id, 'int'
@@ -35,6 +35,7 @@ module FacebookAds
35
35
  "LUXURY",
36
36
  "MARKETING",
37
37
  "NON_PROFIT",
38
+ "NOT_SET",
38
39
  "ORGANIZATIONS_AND_ASSOCIATIONS",
39
40
  "OTHER",
40
41
  "PROFESSIONAL_SERVICES",
@@ -720,7 +721,7 @@ module FacebookAds
720
721
  api.has_param :survey_num_assets, 'int'
721
722
  api.has_param :survey_num_people, 'int'
722
723
  api.has_param :timezone_id, 'int'
723
- api.has_param :vertical, { enum: %w{ADVERTISING AUTOMOTIVE CONSUMER_PACKAGED_GOODS ECOMMERCE EDUCATION ENERGY_AND_UTILITIES ENTERTAINMENT_AND_MEDIA FINANCIAL_SERVICES GAMING GOVERNMENT_AND_POLITICS HEALTH LUXURY MARKETING NON_PROFIT ORGANIZATIONS_AND_ASSOCIATIONS OTHER PROFESSIONAL_SERVICES RESTAURANT RETAIL TECHNOLOGY TELECOM TRAVEL }}
724
+ api.has_param :vertical, { enum: %w{ADVERTISING AUTOMOTIVE CONSUMER_PACKAGED_GOODS ECOMMERCE EDUCATION ENERGY_AND_UTILITIES ENTERTAINMENT_AND_MEDIA FINANCIAL_SERVICES GAMING GOVERNMENT_AND_POLITICS HEALTH LUXURY MARKETING NON_PROFIT NOT_SET ORGANIZATIONS_AND_ASSOCIATIONS OTHER PROFESSIONAL_SERVICES RESTAURANT RETAIL TECHNOLOGY TELECOM TRAVEL }}
724
725
  end
725
726
  end
726
727
 
@@ -885,7 +886,6 @@ module FacebookAds
885
886
 
886
887
  has_edge :picture do |edge|
887
888
  edge.get 'ProfilePictureSource' do |api|
888
- api.has_param :breaking_change, { enum: -> { ProfilePictureSource::BREAKING_CHANGE }}
889
889
  api.has_param :height, 'int'
890
890
  api.has_param :redirect, 'bool'
891
891
  api.has_param :type, { enum: -> { ProfilePictureSource::TYPE }}
@@ -44,6 +44,10 @@ module FacebookAds
44
44
  field :use_retailer_item_ids, 'bool'
45
45
  has_no_delete
46
46
 
47
+ has_edge :preview do |edge|
48
+ edge.get 'CanvasPreview'
49
+ end
50
+
47
51
  has_edge :previews do |edge|
48
52
  edge.get 'TextWithEntities' do |api|
49
53
  api.has_param :user_ids, { list: 'int' }
@@ -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 CanvasPreview < AdObject
17
+
18
+ field :body, 'string'
19
+ has_no_id
20
+ has_no_get
21
+ has_no_post
22
+ has_no_delete
23
+
24
+ end
25
+ end
@@ -158,6 +158,17 @@ module FacebookAds
158
158
  end
159
159
  end
160
160
 
161
+ has_edge :salts do |edge|
162
+ edge.get 'CustomAudienceSalts' do |api|
163
+ api.has_param :params, { list: 'string' }
164
+ end
165
+ edge.post 'CustomAudience' do |api|
166
+ api.has_param :salt, 'string'
167
+ api.has_param :valid_from, 'datetime'
168
+ api.has_param :valid_to, 'datetime'
169
+ end
170
+ end
171
+
161
172
  has_edge :sessions do |edge|
162
173
  edge.get 'CustomAudienceSession' do |api|
163
174
  api.has_param :session_id, 'int'
@@ -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 CustomAudienceSalts < AdObject
17
+
18
+ field :app_id, 'int'
19
+ field :public_key, 'string'
20
+ has_no_id
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -394,7 +394,6 @@ module FacebookAds
394
394
 
395
395
  has_edge :picture do |edge|
396
396
  edge.get 'ProfilePictureSource' do |api|
397
- api.has_param :breaking_change, { enum: -> { ProfilePictureSource::BREAKING_CHANGE }}
398
397
  api.has_param :height, 'int'
399
398
  api.has_param :redirect, 'bool'
400
399
  api.has_param :type, { enum: -> { ProfilePictureSource::TYPE }}
@@ -27,10 +27,12 @@ module FacebookAds
27
27
  "carousel_album_reach",
28
28
  "carousel_album_saved",
29
29
  "carousel_album_video_views",
30
+ "clips_replays_count",
30
31
  "comments",
31
32
  "engagement",
32
33
  "exits",
33
34
  "follows",
35
+ "ig_reels_aggregated_all_plays_count",
34
36
  "ig_reels_avg_watch_time",
35
37
  "ig_reels_video_view_total_time",
36
38
  "impressions",
@@ -79,7 +79,7 @@ module FacebookAds
79
79
  field :questions, { list: 'LeadGenQuestion' }
80
80
  field :status, 'string'
81
81
  field :thank_you_page, 'LeadGenThankYouPage'
82
- field :tracking_parameters, { list: 'hash' }
82
+ field :tracking_parameters, { list: 'KeyValue' }
83
83
  has_no_delete
84
84
 
85
85
  has_edge :leads do |edge|
@@ -16,6 +16,7 @@ module FacebookAds
16
16
  class MessengerProfile < AdObject
17
17
 
18
18
  field :account_linking_url, 'string'
19
+ field :commands, { list: 'object' }
19
20
  field :get_started, 'object'
20
21
  field :greeting, { list: 'object' }
21
22
  field :ice_breakers, { list: 'object' }
@@ -955,15 +955,6 @@ module FacebookAds
955
955
  edge.get 'InstagramUser'
956
956
  end
957
957
 
958
- has_edge :instant_articles_stats do |edge|
959
- edge.get 'InstantArticlesStats' do |api|
960
- api.has_param :metrics_list, { list: 'hash' }
961
- api.has_param :page_list, { list: 'string' }
962
- api.has_param :since, 'datetime'
963
- api.has_param :until, 'datetime'
964
- end
965
- end
966
-
967
958
  has_edge :leadgen_forms do |edge|
968
959
  edge.get 'LeadgenForm'
969
960
  edge.post 'LeadgenForm' do |api|
@@ -1266,7 +1257,6 @@ module FacebookAds
1266
1257
 
1267
1258
  has_edge :picture do |edge|
1268
1259
  edge.get 'ProfilePictureSource' do |api|
1269
- api.has_param :breaking_change, { enum: -> { ProfilePictureSource::BREAKING_CHANGE }}
1270
1260
  api.has_param :height, 'int'
1271
1261
  api.has_param :redirect, 'bool'
1272
1262
  api.has_param :type, { enum: -> { ProfilePictureSource::TYPE }}
@@ -41,7 +41,6 @@ module FacebookAds
41
41
  field :insight_snapshots, { list: 'map<datetime, list<map<int, Object>>>' }
42
42
  field :name, 'string'
43
43
  field :optimization_goal, 'string'
44
- field :post_variant_fields, { list: 'string' }
45
44
  field :publish_status, 'string'
46
45
  field :publish_time, 'datetime'
47
46
  field :scheduled_experiment_timestamp, 'datetime'
@@ -309,6 +309,7 @@ module FacebookAds
309
309
  "AVAILABLE",
310
310
  "BAD_QUALITY_IMAGE",
311
311
  "CANNOT_EDIT_SUBSCRIPTION_PRODUCTS",
312
+ "CHECKOUT_DISABLED_BY_USER",
312
313
  "COMMERCE_ACCOUNT_NOT_LEGALLY_COMPLIANT",
313
314
  "CRAWLED_AVAILABILITY_MISMATCH",
314
315
  "DA_DISABLED_BY_USER",
@@ -336,6 +337,7 @@ module FacebookAds
336
337
  "INVALID_IMAGES",
337
338
  "INVALID_MONETIZER_RETURN_POLICY",
338
339
  "INVALID_PRE_ORDER_PARAMS",
340
+ "INVALID_SHELTER_PAGE_ID",
339
341
  "INVALID_SHIPPING_PROFILE_PARAMS",
340
342
  "INVALID_SUBSCRIPTION_DISABLE_PARAMS",
341
343
  "INVALID_SUBSCRIPTION_ENABLE_PARAMS",
@@ -348,6 +350,7 @@ module FacebookAds
348
350
  "ITEM_OVERRIDE_EMPTY_PRICE",
349
351
  "ITEM_OVERRIDE_NOT_VISIBLE",
350
352
  "ITEM_STALE_OUT_OF_STOCK",
353
+ "MARKETPLACE_DISABLED_BY_USER",
351
354
  "MINI_SHOPS_DISABLED_BY_USER",
352
355
  "MISSING_CHECKOUT",
353
356
  "MISSING_CHECKOUT_CURRENCY",
@@ -402,6 +405,8 @@ module FacebookAds
402
405
  "VIDEO_FETCH_FAILED_LINK_BROKEN",
403
406
  "VIDEO_FETCH_FAILED_TIMED_OUT",
404
407
  "VIDEO_NOT_DOWNLOADABLE",
408
+ "WHATSAPP_DISABLED_BY_USER",
409
+ "WHATSAPP_POLICY_VIOLATION",
405
410
  ]
406
411
 
407
412
  MARKED_FOR_PRODUCT_LAUNCH = [
@@ -740,6 +745,7 @@ module FacebookAds
740
745
  field :short_description, 'string'
741
746
  field :size, 'string'
742
747
  field :start_date, 'string'
748
+ field :tags, { list: 'string' }
743
749
  field :url, 'string'
744
750
  field :video_fetch_status, { enum: -> { VIDEO_FETCH_STATUS }}
745
751
  field :visibility, { enum: -> { VISIBILITY }}
@@ -54,7 +54,6 @@ module FacebookAds
54
54
 
55
55
  has_edge :picture do |edge|
56
56
  edge.get 'ProfilePictureSource' do |api|
57
- api.has_param :breaking_change, { enum: -> { ProfilePictureSource::BREAKING_CHANGE }}
58
57
  api.has_param :height, 'int'
59
58
  api.has_param :redirect, 'bool'
60
59
  api.has_param :type, { enum: -> { ProfilePictureSource::TYPE }}
@@ -20,10 +20,6 @@ module FacebookAds
20
20
  "thumbnail",
21
21
  ]
22
22
 
23
- BREAKING_CHANGE = [
24
- "PROFILE_PICTURE",
25
- ]
26
-
27
23
 
28
24
  field :bottom, 'int'
29
25
  field :cache_key, 'string'
@@ -377,17 +377,6 @@ module FacebookAds
377
377
  end
378
378
  end
379
379
 
380
- has_edge :game_items do |edge|
381
- edge.post 'GameItem' do |api|
382
- api.has_param :action, { enum: -> { GameItem::ACTION }}
383
- api.has_param :app_id, 'string'
384
- api.has_param :drop_table_id, 'string'
385
- api.has_param :ext_id, 'string'
386
- api.has_param :item_id, 'string'
387
- api.has_param :quantity, 'int'
388
- end
389
- end
390
-
391
380
  has_edge :game_times do |edge|
392
381
  edge.post do |api|
393
382
  api.has_param :action, { enum: %w{END HEARTBEAT START }}
@@ -561,7 +550,6 @@ module FacebookAds
561
550
 
562
551
  has_edge :picture do |edge|
563
552
  edge.get 'ProfilePictureSource' do |api|
564
- api.has_param :breaking_change, { enum: -> { ProfilePictureSource::BREAKING_CHANGE }}
565
553
  api.has_param :height, 'int'
566
554
  api.has_param :redirect, 'bool'
567
555
  api.has_param :type, { enum: -> { ProfilePictureSource::TYPE }}
@@ -13,22 +13,12 @@ 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 GameItem < AdObject
17
- ACTION = [
18
- "CONSUME",
19
- "DROP",
20
- "MARK",
21
- ]
16
+ class VideoCopyrightCheckStatus < AdObject
22
17
 
23
-
24
- field :count, 'int'
25
- field :created, 'datetime'
26
- field :ext_id, 'string'
27
- field :id, 'string'
28
- field :item_def, 'string'
29
- field :owner, 'User'
18
+ field :matches_found, 'bool'
30
19
  field :status, 'string'
31
- field :updated, 'datetime'
20
+ has_no_id
21
+ has_no_get
32
22
  has_no_post
33
23
  has_no_delete
34
24
 
@@ -0,0 +1,30 @@
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 VideoStatus < AdObject
17
+
18
+ field :copyright_check_status, 'VideoCopyrightCheckStatus'
19
+ field :processing_phase, 'VideoStatusProcessingPhase'
20
+ field :processing_progress, 'int'
21
+ field :publishing_phase, 'VideoStatusPublishingPhase'
22
+ field :uploading_phase, 'VideoStatusUploadingPhase'
23
+ field :video_status, 'string'
24
+ has_no_id
25
+ has_no_get
26
+ has_no_post
27
+ has_no_delete
28
+
29
+ end
30
+ 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 VideoStatusError < AdObject
17
+
18
+ field :code, 'int'
19
+ field :message, 'string'
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 VideoStatusProcessingPhase < AdObject
17
+
18
+ field :errors, { list: 'VideoStatusError' }
19
+ field :status, 'string'
20
+ has_no_id
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -0,0 +1,28 @@
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 VideoStatusPublishingPhase < AdObject
17
+
18
+ field :errors, { list: 'VideoStatusError' }
19
+ field :publish_status, 'string'
20
+ field :publish_time, 'datetime'
21
+ field :status, 'string'
22
+ has_no_id
23
+ has_no_get
24
+ has_no_post
25
+ has_no_delete
26
+
27
+ end
28
+ end
@@ -0,0 +1,28 @@
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 VideoStatusUploadingPhase < AdObject
17
+
18
+ field :bytes_transferred, 'int'
19
+ field :errors, { list: 'VideoStatusError' }
20
+ field :source_file_size, 'int'
21
+ field :status, 'string'
22
+ has_no_id
23
+ has_no_get
24
+ has_no_post
25
+ has_no_delete
26
+
27
+ end
28
+ end
@@ -45,7 +45,7 @@ module FacebookAds
45
45
  field :country, 'string'
46
46
  field :creation_time, 'int'
47
47
  field :currency, 'string'
48
- field :health_status, 'object'
48
+ field :health_status, 'WhatsAppBusinessHealthStatusForMessageSend'
49
49
  field :id, 'string'
50
50
  field :is_enabled_for_insights, 'bool'
51
51
  field :message_template_namespace, 'string'
@@ -92,13 +92,16 @@ module FacebookAds
92
92
  end
93
93
  end
94
94
 
95
+ has_edge :dcc_config do |edge|
96
+ edge.get
97
+ end
98
+
95
99
  has_edge :flows do |edge|
96
100
  edge.get
97
101
  edge.post do |api|
98
102
  api.has_param :categories, { list: { enum: %w{APPOINTMENT_BOOKING CONTACT_US CUSTOMER_SUPPORT LEAD_GENERATION OTHER SIGN_IN SIGN_UP SURVEY }} }
99
103
  api.has_param :clone_flow_id, 'string'
100
- api.has_param :clone_template, 'string'
101
- api.has_param :data_channel_uri, 'string'
104
+ api.has_param :endpoint_uri, 'string'
102
105
  api.has_param :name, 'string'
103
106
  end
104
107
  end
@@ -0,0 +1,28 @@
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 WhatsAppBusinessHealthStatus < AdObject
17
+
18
+ field :additional_info, { list: 'string' }
19
+ field :can_send_message, 'string'
20
+ field :entity_type, 'string'
21
+ field :errors, { list: 'object' }
22
+ field :id, 'string'
23
+ has_no_get
24
+ has_no_post
25
+ has_no_delete
26
+
27
+ end
28
+ 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 WhatsAppBusinessHealthStatusForMessageSend < AdObject
17
+
18
+ field :can_send_message, 'string'
19
+ field :entities, { list: 'WhatsAppBusinessHealthStatus' }
20
+ has_no_id
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -97,14 +97,14 @@ module FacebookAds
97
97
  # For Batch API
98
98
  def params_without_files
99
99
  params.reject do |_,v|
100
- v.is_a?(UploadIO)
100
+ v.is_a?(Faraday::UploadIO)
101
101
  end
102
102
  end
103
103
 
104
104
  # For Batch API
105
105
  def files
106
106
  params.select do |_,v|
107
- v.is_a?(UploadIO)
107
+ v.is_a?(Faraday::UploadIO)
108
108
  end
109
109
  end
110
110
  end
@@ -77,9 +77,9 @@ module FacebookAds
77
77
  if category == :video
78
78
  FacebookAds::VideoIO.new(value, content_type)
79
79
  else
80
- ::UploadIO.new(value, content_type)
80
+ Faraday::UploadIO.new(value, content_type)
81
81
  end
82
- when UploadIO
82
+ when Faraday::UploadIO
83
83
  value
84
84
  # when etc etc TODO Rails/Sinatra Upload
85
85
  else
@@ -98,7 +98,7 @@ module FacebookAds
98
98
  end
99
99
 
100
100
  def self.acceptable?(value)
101
- [File, Tempfile, UploadIO].each do |type|
101
+ [File, Tempfile, Faraday::UploadIO].each do |type|
102
102
  return true if value.is_a?(type)
103
103
  end
104
104
 
@@ -7,6 +7,6 @@
7
7
  # FB:AUTOGEN
8
8
 
9
9
  module FacebookAds
10
- VERSION = '18.0.3'
11
- API_VERSION = '18.0'
10
+ VERSION = '19.0.0'
11
+ API_VERSION = '19.0'
12
12
  end
@@ -7,7 +7,7 @@
7
7
  require 'faraday/multipart'
8
8
 
9
9
  module FacebookAds
10
- class VideoIO < ::UploadIO
10
+ class VideoIO < Faraday::UploadIO
11
11
  def is_video?
12
12
  true
13
13
  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: 18.0.3
4
+ version: 19.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: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2024-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.0'
47
+ version: 1.0.4
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
54
+ version: 1.0.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -272,18 +272,24 @@ files:
272
272
  - lib/facebook_ads/ad_objects/ad_account_user.rb
273
273
  - lib/facebook_ads/ad_objects/ad_activity.rb
274
274
  - lib/facebook_ads/ad_objects/ad_asset_customization_rule_customization_spec.rb
275
+ - lib/facebook_ads/ad_objects/ad_asset_feed_additional_data.rb
275
276
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb
276
277
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_asset_customization_rule.rb
277
278
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_asset_label.rb
278
279
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_body.rb
280
+ - lib/facebook_ads/ad_objects/ad_asset_feed_spec_call_to_action.rb
279
281
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_caption.rb
282
+ - lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel.rb
283
+ - lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel_child_attachment.rb
280
284
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_description.rb
285
+ - lib/facebook_ads/ad_objects/ad_asset_feed_spec_events.rb
281
286
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_group_rule.rb
282
287
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_image.rb
283
288
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_link_url.rb
284
289
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_title.rb
285
290
  - lib/facebook_ads/ad_objects/ad_asset_feed_spec_video.rb
286
291
  - lib/facebook_ads/ad_objects/ad_asset_message_extensions.rb
292
+ - lib/facebook_ads/ad_objects/ad_asset_onsite_destinations.rb
287
293
  - lib/facebook_ads/ad_objects/ad_asset_target_rule_targeting.rb
288
294
  - lib/facebook_ads/ad_objects/ad_async_request.rb
289
295
  - lib/facebook_ads/ad_objects/ad_async_request_set.rb
@@ -300,6 +306,7 @@ files:
300
306
  - lib/facebook_ads/ad_objects/ad_creative.rb
301
307
  - lib/facebook_ads/ad_objects/ad_creative_ad_disclaimer.rb
302
308
  - lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb
309
+ - lib/facebook_ads/ad_objects/ad_creative_branded_content_ads_partners.rb
303
310
  - lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb
304
311
  - lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb
305
312
  - lib/facebook_ads/ad_objects/ad_creative_facebook_branded_content.rb
@@ -419,6 +426,7 @@ files:
419
426
  - lib/facebook_ads/ad_objects/canvas_body_element.rb
420
427
  - lib/facebook_ads/ad_objects/canvas_collection_thumbnail.rb
421
428
  - lib/facebook_ads/ad_objects/canvas_dynamic_setting.rb
429
+ - lib/facebook_ads/ad_objects/canvas_preview.rb
422
430
  - lib/facebook_ads/ad_objects/catalog_based_targeting.rb
423
431
  - lib/facebook_ads/ad_objects/catalog_item_app_links.rb
424
432
  - lib/facebook_ads/ad_objects/catalog_item_appeal_status.rb
@@ -459,6 +467,7 @@ files:
459
467
  - lib/facebook_ads/ad_objects/custom_audience_ad_account.rb
460
468
  - lib/facebook_ads/ad_objects/custom_audience_data_source.rb
461
469
  - lib/facebook_ads/ad_objects/custom_audience_group.rb
470
+ - lib/facebook_ads/ad_objects/custom_audience_salts.rb
462
471
  - lib/facebook_ads/ad_objects/custom_audience_session.rb
463
472
  - lib/facebook_ads/ad_objects/custom_audience_sharing_status.rb
464
473
  - lib/facebook_ads/ad_objects/custom_audience_status.rb
@@ -474,7 +483,6 @@ files:
474
483
  - lib/facebook_ads/ad_objects/delivery_check_extra_info.rb
475
484
  - lib/facebook_ads/ad_objects/delivery_window.rb
476
485
  - lib/facebook_ads/ad_objects/destination.rb
477
- - lib/facebook_ads/ad_objects/destination_catalog_settings.rb
478
486
  - lib/facebook_ads/ad_objects/dynamic_post_child_attachment.rb
479
487
  - lib/facebook_ads/ad_objects/dynamic_price_config_by_date.rb
480
488
  - lib/facebook_ads/ad_objects/dynamic_video_metadata.rb
@@ -493,7 +501,6 @@ files:
493
501
  - lib/facebook_ads/ad_objects/funding_source_details.rb
494
502
  - lib/facebook_ads/ad_objects/funding_source_details_coupon.rb
495
503
  - lib/facebook_ads/ad_objects/fundraiser_person_to_charity.rb
496
- - lib/facebook_ads/ad_objects/game_item.rb
497
504
  - lib/facebook_ads/ad_objects/group.rb
498
505
  - lib/facebook_ads/ad_objects/has_lead_access.rb
499
506
  - lib/facebook_ads/ad_objects/helpers/custom_audience_helpers.rb
@@ -524,7 +531,6 @@ files:
524
531
  - lib/facebook_ads/ad_objects/instagram_shopping_merchant_review_message.rb
525
532
  - lib/facebook_ads/ad_objects/instagram_user.rb
526
533
  - lib/facebook_ads/ad_objects/instagram_video_metadata.rb
527
- - lib/facebook_ads/ad_objects/instant_articles_stats.rb
528
534
  - lib/facebook_ads/ad_objects/ios_app_link.rb
529
535
  - lib/facebook_ads/ad_objects/job_opening.rb
530
536
  - lib/facebook_ads/ad_objects/key_value.rb
@@ -729,17 +735,25 @@ files:
729
735
  - lib/facebook_ads/ad_objects/vehicle.rb
730
736
  - lib/facebook_ads/ad_objects/vehicle_offer.rb
731
737
  - lib/facebook_ads/ad_objects/video_copyright.rb
738
+ - lib/facebook_ads/ad_objects/video_copyright_check_status.rb
732
739
  - lib/facebook_ads/ad_objects/video_copyright_condition_group.rb
733
740
  - lib/facebook_ads/ad_objects/video_copyright_geo_gate.rb
734
741
  - lib/facebook_ads/ad_objects/video_copyright_rule.rb
735
742
  - lib/facebook_ads/ad_objects/video_copyright_segment.rb
736
743
  - lib/facebook_ads/ad_objects/video_list.rb
737
744
  - lib/facebook_ads/ad_objects/video_poll.rb
745
+ - lib/facebook_ads/ad_objects/video_status.rb
746
+ - lib/facebook_ads/ad_objects/video_status_error.rb
747
+ - lib/facebook_ads/ad_objects/video_status_processing_phase.rb
748
+ - lib/facebook_ads/ad_objects/video_status_publishing_phase.rb
749
+ - lib/facebook_ads/ad_objects/video_status_uploading_phase.rb
738
750
  - lib/facebook_ads/ad_objects/video_thumbnail.rb
739
751
  - lib/facebook_ads/ad_objects/video_upload_limits.rb
740
752
  - lib/facebook_ads/ad_objects/voip_info.rb
741
753
  - lib/facebook_ads/ad_objects/web_app_link.rb
742
754
  - lib/facebook_ads/ad_objects/whats_app_business_account.rb
755
+ - lib/facebook_ads/ad_objects/whats_app_business_health_status.rb
756
+ - lib/facebook_ads/ad_objects/whats_app_business_health_status_for_message_send.rb
743
757
  - lib/facebook_ads/ad_objects/whats_app_business_pre_verified_phone_number.rb
744
758
  - lib/facebook_ads/ad_objects/whats_app_business_profile.rb
745
759
  - lib/facebook_ads/ad_objects/windows_app_link.rb