facebookbusiness 18.0.1 → 18.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad.rb +0 -6
  3. data/lib/facebook_ads/ad_objects/ad_account.rb +1 -13
  4. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +28 -1
  5. data/lib/facebook_ads/ad_objects/ad_activity.rb +1 -0
  6. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +4 -1
  7. data/lib/facebook_ads/ad_objects/ad_creative.rb +2 -1
  8. data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb +1 -0
  9. data/lib/facebook_ads/ad_objects/ad_creative_link_data.rb +1 -0
  10. data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +1 -1
  11. data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +1 -1
  12. data/lib/facebook_ads/ad_objects/ad_set.rb +9 -0
  13. data/lib/facebook_ads/ad_objects/ads_insights.rb +3 -0
  14. data/lib/facebook_ads/ad_objects/ads_pixel.rb +6 -0
  15. data/lib/facebook_ads/ad_objects/application.rb +2 -0
  16. data/lib/facebook_ads/ad_objects/business.rb +4 -0
  17. data/lib/facebook_ads/ad_objects/campaign.rb +9 -0
  18. data/lib/facebook_ads/ad_objects/ctx_partner_app_welcome_message_flow.rb +29 -0
  19. data/lib/facebook_ads/ad_objects/custom_audience.rb +1 -0
  20. data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +1 -0
  21. data/lib/facebook_ads/ad_objects/group.rb +0 -7
  22. data/lib/facebook_ads/ad_objects/has_lead_access.rb +33 -0
  23. data/lib/facebook_ads/ad_objects/ig_media.rb +5 -0
  24. data/lib/facebook_ads/ad_objects/ig_video_copyright_check_matches_information.rb +26 -0
  25. data/lib/facebook_ads/ad_objects/ig_video_copyright_check_status.rb +26 -0
  26. data/lib/facebook_ads/ad_objects/instagram_comment.rb +1 -0
  27. data/lib/facebook_ads/ad_objects/managed_partner_business.rb +1 -1
  28. data/lib/facebook_ads/ad_objects/{messenger_destination_page_welcome_message.rb → managed_partner_extended_credit.rb} +3 -6
  29. data/lib/facebook_ads/ad_objects/open_bridge_configuration.rb +2 -0
  30. data/lib/facebook_ads/ad_objects/page.rb +28 -5
  31. data/lib/facebook_ads/ad_objects/page_post_experiment.rb +14 -1
  32. data/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb +2 -0
  33. data/lib/facebook_ads/ad_objects/product_feed.rb +1 -0
  34. data/lib/facebook_ads/ad_objects/product_item.rb +5 -0
  35. data/lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb +1 -0
  36. data/lib/facebook_ads/ad_objects/shadow_ig_media_collaborators.rb +26 -0
  37. data/lib/facebook_ads/ad_objects/shop.rb +2 -0
  38. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +6 -10
  39. data/lib/facebook_ads/version.rb +1 -1
  40. metadata +8 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 679d7ce7444c13349808ee9d6e6d683835d23102a84e60db05b75ac83c0595b1
4
- data.tar.gz: 5c5129bf9e8b248b966d220b9a465efa1f942fc52cf192e6150841f846c0daa6
3
+ metadata.gz: d38d786e3dd87b85f3669dd1a07b9f584011ed94150b7b482ccbdbc12ce72f26
4
+ data.tar.gz: 1a369b784247afaf3650b0724526815a4477ef445781ffdaf52e0a31e7322f7a
5
5
  SHA512:
6
- metadata.gz: bb7988a876b2c863a16ef0feca6fb6eb3f46cc631e489425279343ba3822f738bfc3dc4e01dd447d1f4f98b41bbc87064ce7274fd5b08272238dfbfe39eaf9ed
7
- data.tar.gz: 859b24031636c1a4e8b815ec0b065dcd6f89cea910d6be2a584e33b6e5af6694f68b649daf598323ce2c6cc8593bddc2c2b73fce6bb4c97eac6f8459d072870e
6
+ metadata.gz: 559c3ee005ed8efc3b38ea380bc9fd3747ba8850bbaaa086ca88d0b06305f9224bed757d4eda5376a34ff3cd4af0100381bded573c9861cd06ee9ee454a3b6b2
7
+ data.tar.gz: 9b747f559714ed8dea7b65706d316bc8251f12cdb5ed612cc5da4bbfae9890219e8ed974ae63395b74619bab5cb25eb8e4ccc6c648ebc5e33d2999013dbe682c
@@ -80,11 +80,6 @@ module FacebookAds
80
80
  "validate_only",
81
81
  ]
82
82
 
83
- META_REWARD_ADGROUP_STATUS = [
84
- "ACTIVE",
85
- "INACTIVE",
86
- ]
87
-
88
83
  OPERATOR = [
89
84
  "ALL",
90
85
  "ANY",
@@ -123,7 +118,6 @@ module FacebookAds
123
118
  field :id, 'string'
124
119
  field :issues_info, { list: 'AdgroupIssuesInfo' }
125
120
  field :last_updated_by_app_id, 'string'
126
- field :meta_reward_adgroup_status, 'string'
127
121
  field :name, 'string'
128
122
  field :preview_shareable_link, 'string'
129
123
  field :priority, 'int'
@@ -410,7 +410,6 @@ module FacebookAds
410
410
  api.has_param :engagement_audience, 'bool'
411
411
  api.has_param :execution_options, { list: { enum: -> { Ad::EXECUTION_OPTIONS }} }
412
412
  api.has_param :include_demolink_hashes, 'bool'
413
- api.has_param :meta_reward_adgroup_status, { enum: -> { Ad::META_REWARD_ADGROUP_STATUS }}
414
413
  api.has_param :name, 'string'
415
414
  api.has_param :priority, 'int'
416
415
  api.has_param :source_ad_id, 'string'
@@ -420,18 +419,6 @@ module FacebookAds
420
419
  end
421
420
  end
422
421
 
423
- has_edge :ads_conversion_goal do |edge|
424
- edge.post do |api|
425
- api.has_param :conversion_event_value_source, { enum: %w{DATA_SOURCE VALUE_RULE }}
426
- api.has_param :description, 'string'
427
- api.has_param :goal_creation_method, { enum: %w{ADVERTISER_CREATED_UI AUTO_MIGRATION L2_ENHANCE_API_MIGRATION }}
428
- api.has_param :goal_name, 'string'
429
- api.has_param :performance_goal, { enum: %w{AD_OPTIMIZATION_GOAL_AD_RECALL_LIFT AD_OPTIMIZATION_GOAL_APP_DOWNLOADS AD_OPTIMIZATION_GOAL_APP_INSTALLS AD_OPTIMIZATION_GOAL_APP_INSTALLS_AND_OFFSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_BRAND_AWARENESS AD_OPTIMIZATION_GOAL_CLICKS AD_OPTIMIZATION_GOAL_COMPLETED_VIDEO_VIEWS AD_OPTIMIZATION_GOAL_CONVERSATIONS AD_OPTIMIZATION_GOAL_DERIVED_EVENTS AD_OPTIMIZATION_GOAL_DWELLS AD_OPTIMIZATION_GOAL_ENGAGED_REACH AD_OPTIMIZATION_GOAL_ENGAGED_USERS AD_OPTIMIZATION_GOAL_EVENT_RESPONSES AD_OPTIMIZATION_GOAL_EXTERNAL AD_OPTIMIZATION_GOAL_IMPRESSIONS AD_OPTIMIZATION_GOAL_INCREMENTAL_OFFSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_IN_APP_VALUE AD_OPTIMIZATION_GOAL_JOB_APPLICATIONS AD_OPTIMIZATION_GOAL_LANDING_PAGE_VIEWS AD_OPTIMIZATION_GOAL_LEAD_GENERATION AD_OPTIMIZATION_GOAL_MEDIA_DOWNLOADS AD_OPTIMIZATION_GOAL_MESSAGING_APPOINTMENT_CONVERSION AD_OPTIMIZATION_GOAL_MESSAGING_DEEP_CONVERSATION_AND_FOLLOW AD_OPTIMIZATION_GOAL_MESSAGING_DEEP_CONVERSATION_AND_REPLY AD_OPTIMIZATION_GOAL_MESSAGING_PURCHASE_CONVERSION AD_OPTIMIZATION_GOAL_MID_FUNNEL_EVENT AD_OPTIMIZATION_GOAL_MRC_VIDEO_VIEWS AD_OPTIMIZATION_GOAL_MULTI_CONVERSIONS AD_OPTIMIZATION_GOAL_NONE AD_OPTIMIZATION_GOAL_OFFER_CLAIMS AD_OPTIMIZATION_GOAL_OFFLINE_CONVERSIONS AD_OPTIMIZATION_GOAL_OFFSITE_CLICKS AD_OPTIMIZATION_GOAL_OFFSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_ONSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_PAGE_ENGAGEMENT AD_OPTIMIZATION_GOAL_PAGE_FOLLOWS AD_OPTIMIZATION_GOAL_PAGE_LIKES AD_OPTIMIZATION_GOAL_POST_ENGAGEMENT AD_OPTIMIZATION_GOAL_QUALITY_CALL AD_OPTIMIZATION_GOAL_QUALITY_LEAD AD_OPTIMIZATION_GOAL_REACH AD_OPTIMIZATION_GOAL_REMINDERS_SET AD_OPTIMIZATION_GOAL_REPLIES AD_OPTIMIZATION_GOAL_RESEARCH_POLL_RESPONSES AD_OPTIMIZATION_GOAL_RETENTION AD_OPTIMIZATION_GOAL_RETURN_ON_AD_SPEND AD_OPTIMIZATION_GOAL_SOCIAL_IMPRESSIONS AD_OPTIMIZATION_GOAL_STORE_VISITS AD_OPTIMIZATION_GOAL_SUBSCRIBERS AD_OPTIMIZATION_GOAL_TICKET_PURCHASE AD_OPTIMIZATION_GOAL_VALUE AD_OPTIMIZATION_GOAL_VIDEO_LONG_VIEWS AD_OPTIMIZATION_GOAL_VIDEO_VIEWS AD_OPTIMIZATION_GOAL_VIDEO_VIEWS_15S AD_OPTIMIZATION_GOAL_VISIT_INSTAGRAM_PROFILE AD_OPTIMIZATION_GOAL_VISIT_INSTAGRAM_PROFILE_AND_PROFILE_ACTIONS }}
430
- api.has_param :single_channel_conversion_events, { list: 'hash' }
431
- api.has_param :value_adjustment_rule, 'hash'
432
- end
433
- end
434
-
435
422
  has_edge :ads_reporting_mmm_reports do |edge|
436
423
  edge.get do |api|
437
424
  api.has_param :filtering, { list: 'hash' }
@@ -801,6 +788,7 @@ module FacebookAds
801
788
  api.has_param :subtype, { enum: -> { CustomAudience::SUBTYPE }}
802
789
  api.has_param :use_in_campaigns, 'bool'
803
790
  api.has_param :video_group_ids, { list: 'string' }
791
+ api.has_param :whats_app_business_phone_number_id, 'string'
804
792
  end
805
793
  end
806
794
 
@@ -16,9 +16,14 @@ module FacebookAds
16
16
  class AdAccountAdVolume < AdObject
17
17
  RECOMMENDATION_TYPE = [
18
18
  "AB_TEST",
19
+ "ACCOUNT_SPEND_LIMIT",
19
20
  "ACO_TOGGLE",
20
21
  "ADS_REPORTING",
21
22
  "ADVANCED_CAMPAIGN_BUDGET",
23
+ "ADVANTAGE_CUSTOM_AUDIENCE",
24
+ "ADVANTAGE_CUSTOM_AUDIENCE_UPSELL",
25
+ "ADVANTAGE_PLUS_AUDIENCE_FRICTION",
26
+ "ADVANTAGE_PLUS_AUDIENCE_TOGGLE",
22
27
  "ADVANTAGE_PLUS_CREATIVE",
23
28
  "ADVANTAGE_PLUS_CREATIVE_CATALOG",
24
29
  "ADVANTAGE_SHOPPING_CAMPAIGN",
@@ -28,10 +33,16 @@ module FacebookAds
28
33
  "AGGREGATED_BID_LIMITED",
29
34
  "AGGREGATED_BUDGET_LIMITED",
30
35
  "AGGREGATED_COST_LIMITED",
36
+ "APP_AEM_V2_INSTALLATION_PROMOTION",
37
+ "ASC_BUDGET_OPTIMIZATION",
38
+ "ASC_BUDGET_OPTIMIZATION_PFR",
39
+ "ASPECT_RATIO",
40
+ "ATLEAST_6_PLACEMENTS",
31
41
  "AUCTION_OVERLAP",
32
42
  "AUCTION_OVERLAP_CONSOLIDATION",
33
43
  "AUDIENCE_EXPANSION",
34
44
  "AUDIENCE_EXPANSION_RETARGETING",
45
+ "AUDIENCE_LEARNING_LIMITED",
35
46
  "AUTOFLOW_OPT_IN",
36
47
  "AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW",
37
48
  "AUTOMATIC_PLACEMENTS",
@@ -47,34 +58,45 @@ module FacebookAds
47
58
  "COST_GOAL_CPA_LIMITED",
48
59
  "COST_PER_RESULT",
49
60
  "CREATION_PACKAGE_UPGRADE_TO_ASC",
61
+ "CREATION_PACKAGE_UPGRADE_TO_TLA",
50
62
  "CREATIVE_BADGE",
63
+ "CREATIVE_DIVERSITY",
51
64
  "CREATIVE_FATIGUE",
52
65
  "CREATIVE_FATIGUE_HOURLY",
53
66
  "CREATIVE_LIMITED",
54
67
  "CREATIVE_LIMITED_HOURLY",
55
68
  "CREATOR_ADS_PA_CONVERSION",
56
69
  "CTA",
70
+ "DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS",
57
71
  "DEAD_LINK",
58
72
  "DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET",
59
73
  "ECOSYSTEM_BID_REDUCE_L1_CARDINALITY",
60
74
  "FRAGMENTATION",
61
75
  "GES_TEST",
62
76
  "GUIDANCE_CENTER_CODE_GEN",
77
+ "HIGH_COST",
78
+ "HISTORICAL_BENCHMARK",
63
79
  "LEARNING_LIMITED",
80
+ "LEARNING_PAUSE_FRICTION",
81
+ "LEARNING_PHASE_BUDGET_EDITS",
64
82
  "LOW_OUTCOME",
65
83
  "MERLIN_GUIDANCE",
84
+ "MIXED_PA_COMBINE_ADSETS",
66
85
  "MMT_CAROUSEL_TO_VIDEO",
67
86
  "MOBILE_FIRST_VIDEO",
68
87
  "MR_AEMV2SUB_KCONSOLIDATION",
69
88
  "MULTI_TEXT",
70
89
  "MUSIC",
71
- "OPTIMAL_SPEND",
90
+ "NOT_APPLICABLE",
91
+ "OPTIMAL_BAU",
72
92
  "PAYMENT_METHOD",
73
93
  "PERFORMANT_CREATIVE_REELS_OPT_IN",
74
94
  "PFR_L1_INLINE_MMT",
75
95
  "PREDICTIVE_CREATIVE_LIMITED",
76
96
  "PREDICTIVE_CREATIVE_LIMITED_HOURLY",
77
97
  "RAPID_LEARNING_LIMITED",
98
+ "RAPID_LEARNING_PHASE",
99
+ "REELS_DUPLICATION_UPSELL",
78
100
  "REVERT",
79
101
  "SCALE_GOOD_CAMPAIGN",
80
102
  "SEMANTIC_BASED_AUDIENCE_EXPANSION",
@@ -87,10 +109,15 @@ module FacebookAds
87
109
  "SYD_TEST_MODE",
88
110
  "TOP_ADSETS_WITH_ADS_UNDER_CAP",
89
111
  "TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP",
112
+ "TWO_P_GUIDANCE_CARD_AAA",
113
+ "TWO_P_GUIDANCE_CARD_AUTO_PLACEMENT",
114
+ "TWO_P_GUIDANCE_CARD_CBO_OFF",
115
+ "TWO_P_GUIDANCE_CARD_CTM_PREFLIGHT",
90
116
  "UNCROP_IMAGE",
91
117
  "UNECONOMICAL_ADS_THROTTLING",
92
118
  "UNUSED_BUDGET",
93
119
  "VIDEO_LENGTH",
120
+ "ZERO_CONVERSION",
94
121
  "ZERO_IMPRESSION",
95
122
  ]
96
123
 
@@ -85,6 +85,7 @@ module FacebookAds
85
85
  "update_campaign_budget",
86
86
  "update_campaign_budget_optimization_toggling_status",
87
87
  "update_campaign_budget_scheduling_state",
88
+ "update_campaign_conversion_goal",
88
89
  "update_campaign_delivery_type",
89
90
  "update_campaign_group_ad_scheduling",
90
91
  "update_campaign_group_budget_scheduling_state",
@@ -26,6 +26,7 @@ module FacebookAds
26
26
  "CALL",
27
27
  "CALL_ME",
28
28
  "CALL_NOW",
29
+ "CONFIRM",
29
30
  "CONTACT",
30
31
  "CONTACT_US",
31
32
  "DONATE",
@@ -53,7 +54,6 @@ module FacebookAds
53
54
  "LISTEN_NOW",
54
55
  "MESSAGE_PAGE",
55
56
  "MOBILE_DOWNLOAD",
56
- "MOMENTS",
57
57
  "NO_BUTTON",
58
58
  "OPEN_INSTANT_APP",
59
59
  "OPEN_LINK",
@@ -109,7 +109,10 @@ module FacebookAds
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
113
  field :optimization_type, 'string'
114
+ field :reasons_to_shop, 'bool'
115
+ field :shops_bundle, 'bool'
113
116
  field :titles, { list: 'AdAssetFeedSpecTitle' }
114
117
  field :videos, { list: 'AdAssetFeedSpecVideo' }
115
118
  has_no_id
@@ -26,6 +26,7 @@ module FacebookAds
26
26
  "CALL",
27
27
  "CALL_ME",
28
28
  "CALL_NOW",
29
+ "CONFIRM",
29
30
  "CONTACT",
30
31
  "CONTACT_US",
31
32
  "DONATE",
@@ -53,7 +54,6 @@ module FacebookAds
53
54
  "LISTEN_NOW",
54
55
  "MESSAGE_PAGE",
55
56
  "MOBILE_DOWNLOAD",
56
- "MOMENTS",
57
57
  "NO_BUTTON",
58
58
  "OPEN_INSTANT_APP",
59
59
  "OPEN_LINK",
@@ -200,6 +200,7 @@ module FacebookAds
200
200
  field :object_type, { enum: -> { OBJECT_TYPE }}
201
201
  field :object_url, 'string'
202
202
  field :omnichannel_link_spec, 'AdCreativeOmnichannelLinkSpec'
203
+ field :photo_album_source_object_story_id, 'string'
203
204
  field :place_page_set_id, 'string'
204
205
  field :platform_customizations, 'AdCreativePlatformCustomization'
205
206
  field :playable_asset_id, 'string'
@@ -18,6 +18,7 @@ module FacebookAds
18
18
  field :ad_format, 'int'
19
19
  field :creator_ad_permission_type, 'string'
20
20
  field :instagram_boost_post_access_token, 'string'
21
+ field :is_mca_internal, 'bool'
21
22
  field :partners, { list: 'object' }
22
23
  field :ui_version, 'int'
23
24
  has_no_id
@@ -27,6 +27,7 @@ module FacebookAds
27
27
  field :additional_image_index, 'int'
28
28
  field :app_link_spec, 'AdCreativeLinkDataAppLinkSpec'
29
29
  field :attachment_style, 'string'
30
+ field :automated_product_tags, 'bool'
30
31
  field :branded_content_shared_to_sponsor_status, 'string'
31
32
  field :branded_content_sponsor_page_id, 'string'
32
33
  field :call_to_action, 'AdCreativeLinkDataCallToAction'
@@ -26,6 +26,7 @@ module FacebookAds
26
26
  "CALL",
27
27
  "CALL_ME",
28
28
  "CALL_NOW",
29
+ "CONFIRM",
29
30
  "CONTACT",
30
31
  "CONTACT_US",
31
32
  "DONATE",
@@ -53,7 +54,6 @@ module FacebookAds
53
54
  "LISTEN_NOW",
54
55
  "MESSAGE_PAGE",
55
56
  "MOBILE_DOWNLOAD",
56
- "MOMENTS",
57
57
  "NO_BUTTON",
58
58
  "OPEN_INSTANT_APP",
59
59
  "OPEN_LINK",
@@ -19,6 +19,7 @@ module FacebookAds
19
19
  "ADD_PAYMENT_INFO",
20
20
  "ADD_TO_CART",
21
21
  "ADD_TO_WISHLIST",
22
+ "AD_IMPRESSION",
22
23
  "COMPLETE_REGISTRATION",
23
24
  "CONTACT",
24
25
  "CONTENT_VIEW",
@@ -69,7 +70,6 @@ module FacebookAds
69
70
  field :product_item_id, 'string'
70
71
  field :product_set_id, 'string'
71
72
  field :retention_days, 'string'
72
- field :whats_app_business_phone_number_id, 'object'
73
73
  has_no_id
74
74
  has_no_get
75
75
  has_no_post
@@ -294,6 +294,15 @@ module FacebookAds
294
294
  end
295
295
  end
296
296
 
297
+ has_edge :budget_schedules do |edge|
298
+ edge.post 'HighDemandPeriod' do |api|
299
+ api.has_param :budget_value, 'int'
300
+ api.has_param :budget_value_type, { enum: -> { HighDemandPeriod::BUDGET_VALUE_TYPE }}
301
+ api.has_param :time_end, 'int'
302
+ api.has_param :time_start, 'int'
303
+ end
304
+ end
305
+
297
306
  has_edge :copies do |edge|
298
307
  edge.get 'AdSet' do |api|
299
308
  api.has_param :date_preset, { enum: -> { AdSet::DATE_PRESET }}
@@ -70,6 +70,7 @@ module FacebookAds
70
70
  "is_conversion_id_modeled",
71
71
  "link_url_asset",
72
72
  "marketing_messages_btn_name",
73
+ "mdsa_landing_destination",
73
74
  "media_asset_url",
74
75
  "media_creator",
75
76
  "media_destination_url",
@@ -166,6 +167,7 @@ module FacebookAds
166
167
  field :catalog_segment_value_omni_purchase_roas, { list: 'AdsActionStats' }
167
168
  field :catalog_segment_value_website_purchase_roas, { list: 'AdsActionStats' }
168
169
  field :clicks, 'string'
170
+ field :conversion_lead_rate, 'string'
169
171
  field :conversion_rate_ranking, 'string'
170
172
  field :conversion_values, { list: 'AdsActionStats' }
171
173
  field :conversions, { list: 'AdsActionStats' }
@@ -176,6 +178,7 @@ module FacebookAds
176
178
  field :cost_per_action_type, { list: 'AdsActionStats' }
177
179
  field :cost_per_ad_click, { list: 'AdsActionStats' }
178
180
  field :cost_per_conversion, { list: 'AdsActionStats' }
181
+ field :cost_per_conversion_lead, 'string'
179
182
  field :cost_per_dda_countby_convs, 'string'
180
183
  field :cost_per_estimated_ad_recallers, 'string'
181
184
  field :cost_per_inline_link_click, 'string'
@@ -99,6 +99,12 @@ module FacebookAds
99
99
  edge.get 'Business'
100
100
  end
101
101
 
102
+ has_edge :ahp_configs do |edge|
103
+ edge.post do |api|
104
+ api.has_param :applink_autosetup, 'bool'
105
+ end
106
+ end
107
+
102
108
  has_edge :assigned_users do |edge|
103
109
  edge.get 'AssignedUser' do |api|
104
110
  api.has_param :business, 'string'
@@ -159,6 +159,8 @@ module FacebookAds
159
159
  field :restrictions, 'object'
160
160
  field :restrictive_data_filter_params, 'string'
161
161
  field :restrictive_data_filter_rules, 'string'
162
+ field :sdk_auto_logging_default_value, 'bool'
163
+ field :sdk_auto_logging_override_value, 'bool'
162
164
  field :sdk_update_message, 'string'
163
165
  field :seamless_login, 'int'
164
166
  field :secure_canvas_url, 'string'
@@ -715,6 +715,7 @@ module FacebookAds
715
715
  api.has_param :sales_rep_email, 'string'
716
716
  api.has_param :seller_external_website_url, 'string'
717
717
  api.has_param :seller_targeting_countries, { list: 'string' }
718
+ api.has_param :skip_partner_page_creation, 'bool'
718
719
  api.has_param :survey_business_type, { enum: %w{ADVERTISER AGENCY APP_DEVELOPER PUBLISHER }}
719
720
  api.has_param :survey_num_assets, 'int'
720
721
  api.has_param :survey_num_people, 'int'
@@ -744,6 +745,8 @@ module FacebookAds
744
745
  api.has_param :access_key, 'string'
745
746
  api.has_param :active, 'bool'
746
747
  api.has_param :endpoint, 'string'
748
+ api.has_param :fallback_domain, 'string'
749
+ api.has_param :fallback_domain_enabled, 'bool'
747
750
  api.has_param :host_business_id, 'int'
748
751
  api.has_param :host_external_id, 'string'
749
752
  api.has_param :pixel_id, 'int'
@@ -800,6 +803,7 @@ module FacebookAds
800
803
  edge.get 'Page'
801
804
  edge.post 'Business' do |api|
802
805
  api.has_param :code, 'string'
806
+ api.has_param :entry_point, 'string'
803
807
  api.has_param :page_id, 'int'
804
808
  end
805
809
  end
@@ -463,6 +463,15 @@ module FacebookAds
463
463
  end
464
464
  end
465
465
 
466
+ has_edge :budget_schedules do |edge|
467
+ edge.post 'HighDemandPeriod' do |api|
468
+ api.has_param :budget_value, 'int'
469
+ api.has_param :budget_value_type, { enum: -> { HighDemandPeriod::BUDGET_VALUE_TYPE }}
470
+ api.has_param :time_end, 'int'
471
+ api.has_param :time_start, 'int'
472
+ end
473
+ end
474
+
466
475
  has_edge :copies do |edge|
467
476
  edge.get 'Campaign' do |api|
468
477
  api.has_param :date_preset, { enum: -> { Campaign::DATE_PRESET }}
@@ -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 CtxPartnerAppWelcomeMessageFlow < AdObject
17
+
18
+ field :compatible_platforms, { list: 'string' }
19
+ field :eligible_platforms, { list: 'string' }
20
+ field :id, 'string'
21
+ field :is_used_in_ad, 'bool'
22
+ field :last_update_time, 'datetime'
23
+ field :name, 'string'
24
+ field :welcome_message_flow, 'string'
25
+ has_no_post
26
+ has_no_delete
27
+
28
+ end
29
+ end
@@ -134,6 +134,7 @@ module FacebookAds
134
134
  field :product_set_id, 'string'
135
135
  field :use_in_campaigns, 'bool'
136
136
  field :video_group_ids, { list: 'string' }
137
+ field :whats_app_business_phone_number_id, 'string'
137
138
 
138
139
  has_edge :adaccounts do |edge|
139
140
  edge.delete do |api|
@@ -44,6 +44,7 @@ module FacebookAds
44
44
  "INSTANT_ARTICLE_EVENTS",
45
45
  "LOOKALIKE_PLATFORM",
46
46
  "MAIL_CHIMP_EMAIL_HASHES",
47
+ "MESSENGER_ONSITE_SUBSCRIPTION",
47
48
  "MOBILE_ADVERTISER_IDS",
48
49
  "MOBILE_APP_COMBINATION_EVENTS",
49
50
  "MOBILE_APP_CUSTOM_AUDIENCE_USERS",
@@ -137,13 +137,6 @@ module FacebookAds
137
137
  end
138
138
  end
139
139
 
140
- has_edge :attachment_surfaces do |edge|
141
- edge.get
142
- edge.post do |api|
143
- api.has_param :title, 'hash'
144
- end
145
- end
146
-
147
140
  has_edge :docs do |edge|
148
141
  edge.get
149
142
  end
@@ -0,0 +1,33 @@
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 HasLeadAccess < AdObject
17
+
18
+ field :app_has_leads_permission, 'bool'
19
+ field :can_access_lead, 'bool'
20
+ field :enabled_lead_access_manager, 'bool'
21
+ field :failure_reason, 'string'
22
+ field :failure_resolution, 'string'
23
+ field :is_page_admin, 'bool'
24
+ field :page_id, 'string'
25
+ field :user_has_leads_permission, 'bool'
26
+ field :user_id, 'string'
27
+ has_no_id
28
+ has_no_get
29
+ has_no_post
30
+ has_no_delete
31
+
32
+ end
33
+ end
@@ -17,6 +17,7 @@ module FacebookAds
17
17
 
18
18
  field :caption, 'string'
19
19
  field :comments_count, 'int'
20
+ field :copyright_check_information, 'IgVideoCopyrightCheckMatchesInformation'
20
21
  field :id, 'string'
21
22
  field :ig_id, 'string'
22
23
  field :is_comment_enabled, 'bool'
@@ -37,6 +38,10 @@ module FacebookAds
37
38
  edge.get 'IgMedia'
38
39
  end
39
40
 
41
+ has_edge :collaborators do |edge|
42
+ edge.get 'ShadowIgMediaCollaborators'
43
+ end
44
+
40
45
  has_edge :comments do |edge|
41
46
  edge.get 'IgComment'
42
47
  edge.post 'IgComment' do |api|
@@ -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 IgVideoCopyrightCheckMatchesInformation < AdObject
17
+
18
+ field :copyright_matches, { list: 'object' }
19
+ field :status, 'IgVideoCopyrightCheckStatus'
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 IgVideoCopyrightCheckStatus < AdObject
17
+
18
+ field :matches_found, 'bool'
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
@@ -22,6 +22,7 @@ module FacebookAds
22
22
  field :instagram_user, 'InstagramUser'
23
23
  field :mentioned_instagram_users, { list: 'InstagramUser' }
24
24
  field :message, 'string'
25
+ field :username, 'string'
25
26
 
26
27
  has_edge :replies do |edge|
27
28
  edge.get 'InstagramComment'
@@ -17,7 +17,7 @@ module FacebookAds
17
17
 
18
18
  field :ad_account, 'AdAccount'
19
19
  field :catalog_segment, 'ProductCatalog'
20
- field :extended_credit, 'ExtendedCredit'
20
+ field :extended_credit, 'ManagedPartnerExtendedCredit'
21
21
  field :page, 'Page'
22
22
  field :seller_business_info, 'object'
23
23
  field :seller_business_status, 'string'
@@ -13,14 +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 MessengerDestinationPageWelcomeMessage < AdObject
16
+ class ManagedPartnerExtendedCredit < AdObject
17
17
 
18
18
  field :id, 'string'
19
- field :page_welcome_message_body, 'string'
20
- field :page_welcome_message_type, 'string'
21
- field :template_name, 'string'
22
- field :time_created, 'datetime'
23
- field :time_last_used, 'datetime'
19
+ field :max_balance, 'CurrencyAmount'
20
+ field :receiving_credit_allocation_config, 'ExtendedCreditAllocationConfig'
24
21
  has_no_get
25
22
  has_no_post
26
23
  has_no_delete
@@ -18,6 +18,8 @@ module FacebookAds
18
18
  field :access_key, 'string'
19
19
  field :active, 'bool'
20
20
  field :endpoint, 'string'
21
+ field :fallback_domain, 'string'
22
+ field :fallback_domain_enabled, 'bool'
21
23
  field :host_business_id, 'string'
22
24
  field :host_external_id, 'string'
23
25
  field :id, 'string'
@@ -418,6 +418,7 @@ module FacebookAds
418
418
  field :directed_by, 'string'
419
419
  field :display_subtext, 'string'
420
420
  field :displayed_message_response_time, 'string'
421
+ field :does_viewer_have_page_permission_link_ig, 'bool'
421
422
  field :emails, { list: 'string' }
422
423
  field :engagement, 'Engagement'
423
424
  field :fan_count, 'int'
@@ -432,6 +433,7 @@ module FacebookAds
432
433
  field :global_brand_page_name, 'string'
433
434
  field :global_brand_root_id, 'string'
434
435
  field :has_added_app, 'bool'
436
+ field :has_lead_access, 'HasLeadAccess'
435
437
  field :has_transitioned_to_new_page_experience, 'bool'
436
438
  field :has_whatsapp_business_number, 'bool'
437
439
  field :has_whatsapp_enterprise_number_using_cloud_api, 'bool'
@@ -446,6 +448,7 @@ module FacebookAds
446
448
  field :is_chain, 'bool'
447
449
  field :is_community_page, 'bool'
448
450
  field :is_eligible_for_branded_content, 'bool'
451
+ field :is_eligible_for_disable_connect_ig_btn_for_non_page_admin_am_web, 'bool'
449
452
  field :is_messenger_bot_get_started_enabled, 'bool'
450
453
  field :is_messenger_platform_bot, 'bool'
451
454
  field :is_owned, 'bool'
@@ -465,7 +468,6 @@ module FacebookAds
465
468
  field :merchant_review_status, 'string'
466
469
  field :messaging_feature_status, 'MessagingFeatureStatus'
467
470
  field :messenger_ads_default_icebreakers, { list: 'string' }
468
- field :messenger_ads_default_page_welcome_message, 'MessengerDestinationPageWelcomeMessage'
469
471
  field :messenger_ads_default_quick_replies, { list: 'string' }
470
472
  field :messenger_ads_quick_replies_type, 'string'
471
473
  field :mini_shop_storefront, 'Shop'
@@ -533,6 +535,15 @@ module FacebookAds
533
535
 
534
536
  has_edge :ab_tests do |edge|
535
537
  edge.get 'PagePostExperiment'
538
+ edge.post 'PagePostExperiment' do |api|
539
+ api.has_param :control_video_id, 'string'
540
+ api.has_param :description, 'string'
541
+ api.has_param :duration, 'int'
542
+ api.has_param :experiment_video_ids, { list: 'string' }
543
+ api.has_param :name, 'string'
544
+ api.has_param :optimization_goal, { enum: -> { PagePostExperiment::OPTIMIZATION_GOAL }}
545
+ api.has_param :scheduled_experiment_timestamp, 'int'
546
+ end
536
547
  end
537
548
 
538
549
  has_edge :acknowledge_orders do |edge|
@@ -1015,8 +1026,8 @@ module FacebookAds
1015
1026
 
1016
1027
  has_edge :locations do |edge|
1017
1028
  edge.delete do |api|
1018
- api.has_param :location_page_id, 'string'
1019
- api.has_param :store_number, 'int'
1029
+ api.has_param :location_page_ids, { list: 'string' }
1030
+ api.has_param :store_numbers, { list: 'int' }
1020
1031
  end
1021
1032
  edge.get 'Page'
1022
1033
  edge.post 'Page' do |api|
@@ -1101,7 +1112,7 @@ module FacebookAds
1101
1112
 
1102
1113
  has_edge :messenger_profile do |edge|
1103
1114
  edge.delete do |api|
1104
- api.has_param :fields, { list: { enum: %w{ACCOUNT_LINKING_URL GET_STARTED GREETING HOME_URL ICE_BREAKERS PAYMENT_SETTINGS PERSISTENT_MENU PLATFORM SUBJECT_TO_NEW_EU_PRIVACY_RULES TARGET_AUDIENCE WHITELISTED_DOMAINS }} }
1115
+ api.has_param :fields, { list: { enum: %w{ACCOUNT_LINKING_URL COMMANDS DESCRIPTION GET_STARTED GREETING HOME_URL ICE_BREAKERS PAYMENT_SETTINGS PERSISTENT_MENU PLATFORM SUBJECT_TO_NEW_EU_PRIVACY_RULES TARGET_AUDIENCE TITLE WHITELISTED_DOMAINS }} }
1105
1116
  api.has_param :platform, { enum: -> { Page::PLATFORM }}
1106
1117
  end
1107
1118
  edge.get 'MessengerProfile' do |api|
@@ -1109,6 +1120,8 @@ module FacebookAds
1109
1120
  end
1110
1121
  edge.post 'Page' do |api|
1111
1122
  api.has_param :account_linking_url, 'string'
1123
+ api.has_param :commands, { list: 'object' }
1124
+ api.has_param :description, { list: 'object' }
1112
1125
  api.has_param :get_started, 'object'
1113
1126
  api.has_param :greeting, { list: 'object' }
1114
1127
  api.has_param :ice_breakers, { list: 'hash' }
@@ -1116,6 +1129,7 @@ module FacebookAds
1116
1129
  api.has_param :persistent_menu, { list: 'object' }
1117
1130
  api.has_param :platform, { enum: -> { Page::PLATFORM }}
1118
1131
  api.has_param :target_audience, 'object'
1132
+ api.has_param :title, { list: 'object' }
1119
1133
  api.has_param :whitelisted_domains, { list: 'string' }
1120
1134
  end
1121
1135
  end
@@ -1591,10 +1605,19 @@ module FacebookAds
1591
1605
  end
1592
1606
 
1593
1607
  has_edge :welcome_message_flows do |edge|
1594
- edge.get do |api|
1608
+ edge.delete do |api|
1609
+ api.has_param :flow_id, 'string'
1610
+ end
1611
+ edge.get 'CtxPartnerAppWelcomeMessageFlow' do |api|
1595
1612
  api.has_param :app_id, 'string'
1596
1613
  api.has_param :flow_id, 'string'
1597
1614
  end
1615
+ edge.post do |api|
1616
+ api.has_param :eligible_platforms, { list: { enum: %w{INSTAGRAM MESSENGER }} }
1617
+ api.has_param :flow_id, 'string'
1618
+ api.has_param :name, 'string'
1619
+ api.has_param :welcome_message_flow, { list: 'object' }
1620
+ end
1598
1621
  end
1599
1622
 
1600
1623
  end
@@ -14,6 +14,20 @@ module FacebookAds
14
14
  # pull request for this class.
15
15
 
16
16
  class PagePostExperiment < AdObject
17
+ OPTIMIZATION_GOAL = [
18
+ "AUTO_RESOLVE_TO_CONTROL",
19
+ "AVG_TIME_WATCHED",
20
+ "COMMENTS",
21
+ "IMPRESSIONS",
22
+ "IMPRESSIONS_UNIQUE",
23
+ "LINK_CLICKS",
24
+ "OTHER",
25
+ "REACTIONS",
26
+ "REELS_PLAYS",
27
+ "SHARES",
28
+ "VIDEO_VIEWS_60S",
29
+ ]
30
+
17
31
 
18
32
  field :auto_resolve_settings, 'object'
19
33
  field :control_video_id, 'string'
@@ -33,7 +47,6 @@ module FacebookAds
33
47
  field :scheduled_experiment_timestamp, 'datetime'
34
48
  field :updated_time, 'datetime'
35
49
  has_no_post
36
- has_no_delete
37
50
 
38
51
  has_edge :video_insights do |edge|
39
52
  edge.get
@@ -44,6 +44,7 @@ module FacebookAds
44
44
  "ATTRIBUTES_MISSING",
45
45
  "CATEGORY",
46
46
  "CHECKOUT",
47
+ "DA_VISIBILITY_ISSUES",
47
48
  "IMAGE_QUALITY",
48
49
  "LOW_QUALITY_TITLE_AND_DESCRIPTION",
49
50
  "POLICY_VIOLATION",
@@ -67,6 +68,7 @@ module FacebookAds
67
68
  "ATTRIBUTES_MISSING",
68
69
  "CATEGORY",
69
70
  "CHECKOUT",
71
+ "DA_VISIBILITY_ISSUES",
70
72
  "IMAGE_QUALITY",
71
73
  "LOW_QUALITY_TITLE_AND_DESCRIPTION",
72
74
  "POLICY_VIOLATION",
@@ -96,6 +96,7 @@ module FacebookAds
96
96
  "LANGUAGE",
97
97
  "LANGUAGE_AND_COUNTRY",
98
98
  "LOCAL",
99
+ "SMART_PIXEL_LANGUAGE_OR_COUNTRY",
99
100
  ]
100
101
 
101
102
 
@@ -309,6 +309,7 @@ module FacebookAds
309
309
  "AVAILABLE",
310
310
  "BAD_QUALITY_IMAGE",
311
311
  "CANNOT_EDIT_SUBSCRIPTION_PRODUCTS",
312
+ "COMMERCE_ACCOUNT_NOT_LEGALLY_COMPLIANT",
312
313
  "CRAWLED_AVAILABILITY_MISMATCH",
313
314
  "DA_DISABLED_BY_USER",
314
315
  "DA_POLICY_VIOLATION",
@@ -320,6 +321,7 @@ module FacebookAds
320
321
  "EMPTY_DESCRIPTION",
321
322
  "EMPTY_PRODUCT_URL",
322
323
  "EMPTY_SELLER_DESCRIPTION",
324
+ "EXTERNAL_MERCHANT_ID_MISMATCH",
323
325
  "GENERIC_INVALID_FIELD",
324
326
  "HIDDEN_UNTIL_PRODUCT_LAUNCH",
325
327
  "IMAGE_FETCH_FAILED",
@@ -357,9 +359,11 @@ module FacebookAds
357
359
  "MISSING_TAX_CATEGORY",
358
360
  "NEGATIVE_COMMUNITY_FEEDBACK",
359
361
  "NOT_ENOUGH_IMAGES",
362
+ "NOT_ENOUGH_UNIQUE_PRODUCTS",
360
363
  "PART_OF_PRODUCT_LAUNCH",
361
364
  "PRODUCT_EXPIRED",
362
365
  "PRODUCT_ITEM_HIDDEN_FROM_ALL_SHOPS",
366
+ "PRODUCT_ITEM_INVALID_PARTNER_TOKENS",
363
367
  "PRODUCT_ITEM_NOT_INCLUDED_IN_ANY_SHOP",
364
368
  "PRODUCT_ITEM_NOT_VISIBLE",
365
369
  "PRODUCT_NOT_APPROVED",
@@ -384,6 +388,7 @@ module FacebookAds
384
388
  "QUALITY_ITEM_LINK_BROKEN",
385
389
  "QUALITY_ITEM_LINK_REDIRECTING",
386
390
  "RETAILER_ID_NOT_PROVIDED",
391
+ "SHOPIFY_INVALID_RETAILER_ID",
387
392
  "SHOPIFY_ITEM_MISSING_SHIPPING_PROFILE",
388
393
  "SHOPS_POLICY_VIOLATION",
389
394
  "SUBSCRIPTION_INFO_NOT_ENABLED_FOR_FEED",
@@ -15,6 +15,7 @@ module FacebookAds
15
15
 
16
16
  class ShadowIgMediaBuilder < AdObject
17
17
 
18
+ field :copyright_check_status, 'IgVideoCopyrightCheckStatus'
18
19
  field :id, 'string'
19
20
  field :status, 'string'
20
21
  field :status_code, 'string'
@@ -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 ShadowIgMediaCollaborators < AdObject
17
+
18
+ field :id, 'string'
19
+ field :invite_status, 'string'
20
+ field :username, 'string'
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -18,6 +18,8 @@ module FacebookAds
18
18
  field :fb_sales_channel, 'object'
19
19
  field :id, 'string'
20
20
  field :ig_sales_channel, 'object'
21
+ field :is_onsite_enabled, 'bool'
22
+ field :shop_status, 'string'
21
23
  field :workspace, 'object'
22
24
  has_no_post
23
25
  has_no_delete
@@ -19,7 +19,11 @@ module FacebookAds
19
19
  "MANAGE",
20
20
  "MANAGE_EXTENSIONS",
21
21
  "MANAGE_PHONE",
22
+ "MANAGE_PHONE_ASSETS",
23
+ "MANAGE_TEMPLATES",
22
24
  "VIEW_COST",
25
+ "VIEW_PHONE_ASSETS",
26
+ "VIEW_TEMPLATES",
23
27
  ]
24
28
 
25
29
  CATEGORY = [
@@ -41,6 +45,7 @@ module FacebookAds
41
45
  field :country, 'string'
42
46
  field :creation_time, 'int'
43
47
  field :currency, 'string'
48
+ field :health_status, 'object'
44
49
  field :id, 'string'
45
50
  field :is_enabled_for_insights, 'bool'
46
51
  field :message_template_namespace, 'string'
@@ -87,19 +92,10 @@ module FacebookAds
87
92
  end
88
93
  end
89
94
 
90
- has_edge :extensions do |edge|
91
- edge.get
92
- edge.post do |api|
93
- api.has_param :clone_extension_id, 'string'
94
- api.has_param :clone_template, 'string'
95
- api.has_param :data_channel_uri, 'string'
96
- api.has_param :name, 'string'
97
- end
98
- end
99
-
100
95
  has_edge :flows do |edge|
101
96
  edge.get
102
97
  edge.post do |api|
98
+ api.has_param :categories, { list: { enum: %w{APPOINTMENT_BOOKING CONTACT_US CUSTOMER_SUPPORT LEAD_GENERATION OTHER SIGN_IN SIGN_UP SURVEY }} }
103
99
  api.has_param :clone_flow_id, 'string'
104
100
  api.has_param :clone_template, 'string'
105
101
  api.has_param :data_channel_uri, 'string'
@@ -7,6 +7,6 @@
7
7
  # FB:AUTOGEN
8
8
 
9
9
  module FacebookAds
10
- VERSION = '18.0.1'
10
+ VERSION = '18.0.3'
11
11
  API_VERSION = '18.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: 18.0.1
4
+ version: 18.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-26 00:00:00.000000000 Z
11
+ date: 2023-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -452,6 +452,7 @@ files:
452
452
  - lib/facebook_ads/ad_objects/credit_card.rb
453
453
  - lib/facebook_ads/ad_objects/credit_partition_action_options.rb
454
454
  - lib/facebook_ads/ad_objects/crm_address.rb
455
+ - lib/facebook_ads/ad_objects/ctx_partner_app_welcome_message_flow.rb
455
456
  - lib/facebook_ads/ad_objects/currency.rb
456
457
  - lib/facebook_ads/ad_objects/currency_amount.rb
457
458
  - lib/facebook_ads/ad_objects/custom_audience.rb
@@ -494,6 +495,7 @@ files:
494
495
  - lib/facebook_ads/ad_objects/fundraiser_person_to_charity.rb
495
496
  - lib/facebook_ads/ad_objects/game_item.rb
496
497
  - lib/facebook_ads/ad_objects/group.rb
498
+ - lib/facebook_ads/ad_objects/has_lead_access.rb
497
499
  - lib/facebook_ads/ad_objects/helpers/custom_audience_helpers.rb
498
500
  - lib/facebook_ads/ad_objects/high_demand_period.rb
499
501
  - lib/facebook_ads/ad_objects/high_demand_period_time_suggestion_weekly_segment.rb
@@ -509,6 +511,8 @@ files:
509
511
  - lib/facebook_ads/ad_objects/ig_shopping_review_status_onsite_eligibility.rb
510
512
  - lib/facebook_ads/ad_objects/ig_shopping_review_status_reason_with_help_message.rb
511
513
  - lib/facebook_ads/ad_objects/ig_user.rb
514
+ - lib/facebook_ads/ad_objects/ig_video_copyright_check_matches_information.rb
515
+ - lib/facebook_ads/ad_objects/ig_video_copyright_check_status.rb
512
516
  - lib/facebook_ads/ad_objects/igbc_ads_permission.rb
513
517
  - lib/facebook_ads/ad_objects/image_copyright.rb
514
518
  - lib/facebook_ads/ad_objects/insights_result.rb
@@ -556,12 +560,12 @@ files:
556
560
  - lib/facebook_ads/ad_objects/lookalike_spec.rb
557
561
  - lib/facebook_ads/ad_objects/mailing_address.rb
558
562
  - lib/facebook_ads/ad_objects/managed_partner_business.rb
563
+ - lib/facebook_ads/ad_objects/managed_partner_extended_credit.rb
559
564
  - lib/facebook_ads/ad_objects/media_fingerprint.rb
560
565
  - lib/facebook_ads/ad_objects/media_title.rb
561
566
  - lib/facebook_ads/ad_objects/messaging_feature_review.rb
562
567
  - lib/facebook_ads/ad_objects/messaging_feature_status.rb
563
568
  - lib/facebook_ads/ad_objects/messenger_ads_partial_automated_step_list.rb
564
- - lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb
565
569
  - lib/facebook_ads/ad_objects/messenger_profile.rb
566
570
  - lib/facebook_ads/ad_objects/minimum_budget.rb
567
571
  - lib/facebook_ads/ad_objects/music_video_copyright.rb
@@ -678,6 +682,7 @@ files:
678
682
  - lib/facebook_ads/ad_objects/server_side/util.rb
679
683
  - lib/facebook_ads/ad_objects/shadow_ig_hashtag.rb
680
684
  - lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb
685
+ - lib/facebook_ads/ad_objects/shadow_ig_media_collaborators.rb
681
686
  - lib/facebook_ads/ad_objects/shadow_ig_media_product_tags.rb
682
687
  - lib/facebook_ads/ad_objects/shadow_ig_user_catalog_product_search.rb
683
688
  - lib/facebook_ads/ad_objects/shadow_ig_user_catalog_product_variant.rb