facebookbusiness 25.0.0 → 25.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) 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 +2 -0
  4. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +4 -0
  5. data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +1 -0
  6. data/lib/facebook_ads/ad_objects/ad_campaign_group_get.rb +1 -14
  7. data/lib/facebook_ads/ad_objects/ad_campaign_learning_stage_info.rb +3 -0
  8. data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -0
  9. data/lib/facebook_ads/ad_objects/ad_creative_feature_customizations.rb +6 -0
  10. data/lib/facebook_ads/ad_objects/ad_creative_site_links_spec.rb +1 -0
  11. data/lib/facebook_ads/ad_objects/ad_creative_sourcing_spec.rb +1 -0
  12. data/lib/facebook_ads/ad_objects/ad_set.rb +4 -0
  13. data/lib/facebook_ads/ad_objects/ad_study.rb +0 -1
  14. data/lib/facebook_ads/ad_objects/ad_study_cell.rb +1 -0
  15. data/lib/facebook_ads/ad_objects/ads_user_settings.rb +2 -0
  16. data/lib/facebook_ads/ad_objects/ads_value_adjustment_rule_collection.rb +1 -0
  17. data/lib/facebook_ads/ad_objects/articles_and_publications_item.rb +28 -0
  18. data/lib/facebook_ads/ad_objects/{adjacent_content_delivery_report.rb → articles_and_publications_item_delete.rb} +2 -4
  19. data/lib/facebook_ads/ad_objects/business.rb +0 -1
  20. data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +0 -7
  21. data/lib/facebook_ads/ad_objects/commerce_order.rb +0 -60
  22. data/lib/facebook_ads/ad_objects/creative_multicell_test_config.rb +1 -0
  23. data/lib/facebook_ads/ad_objects/custom_attribution_dataset.rb +26 -0
  24. data/lib/facebook_ads/ad_objects/ig_user.rb +3 -0
  25. data/lib/facebook_ads/ad_objects/instagram_user.rb +0 -14
  26. data/lib/facebook_ads/ad_objects/lead_gen_form_preview_details.rb +2 -0
  27. data/lib/facebook_ads/ad_objects/open_bridge_configuration.rb +1 -1
  28. data/lib/facebook_ads/ad_objects/page.rb +0 -7
  29. data/lib/facebook_ads/ad_objects/page_ctx_budget_similar_advertiser_budget_recommendation.rb +4 -0
  30. data/lib/facebook_ads/ad_objects/product_catalog.rb +5 -0
  31. data/lib/facebook_ads/ad_objects/product_catalog_apps_and_software.rb +28 -0
  32. data/lib/facebook_ads/ad_objects/product_catalog_apps_and_software_post.rb +24 -0
  33. data/lib/facebook_ads/ad_objects/product_catalog_articles_and_publications.rb +24 -0
  34. data/lib/facebook_ads/ad_objects/product_catalog_get.rb +25 -0
  35. data/lib/facebook_ads/ad_objects/product_catalog_user_actions.rb +0 -1
  36. data/lib/facebook_ads/ad_objects/product_feed_apps_and_software.rb +2 -0
  37. data/lib/facebook_ads/ad_objects/product_feed_apps_and_software_get.rb +7 -0
  38. data/lib/facebook_ads/ad_objects/product_feed_articles_and_publications.rb +33 -0
  39. data/lib/facebook_ads/ad_objects/product_feed_articles_and_publications_get.rb +27 -0
  40. data/lib/facebook_ads/ad_objects/product_feed_media_titles.rb +2 -0
  41. data/lib/facebook_ads/ad_objects/product_feed_media_titles_get.rb +7 -0
  42. data/lib/facebook_ads/ad_objects/product_feed_rules.rb +32 -0
  43. data/lib/facebook_ads/ad_objects/product_feed_rules_get.rb +26 -0
  44. data/lib/facebook_ads/ad_objects/product_feed_upload_get.rb +1 -1
  45. data/lib/facebook_ads/ad_objects/product_item.rb +5 -0
  46. data/lib/facebook_ads/ad_objects/product_set_apps_and_software.rb +34 -0
  47. data/lib/facebook_ads/ad_objects/product_set_apps_and_software_get.rb +33 -0
  48. data/lib/facebook_ads/ad_objects/product_set_articles_and_publications.rb +33 -0
  49. data/lib/facebook_ads/ad_objects/product_set_articles_and_publications_get.rb +27 -0
  50. data/lib/facebook_ads/ad_objects/product_set_media_titles.rb +34 -0
  51. data/lib/facebook_ads/ad_objects/product_set_media_titles_get.rb +33 -0
  52. data/lib/facebook_ads/ad_objects/server_side/attribution_data.rb +20 -2
  53. data/lib/facebook_ads/ad_objects/user.rb +0 -1
  54. data/lib/facebook_ads/ad_objects/value_rules_spec.rb +24 -0
  55. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +1 -0
  56. data/lib/facebook_ads/version.rb +1 -1
  57. metadata +20 -4
  58. data/lib/facebook_ads/ad_objects/mix_insights_result.rb +0 -45
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c81376ea598e800b28a3c50dd410284a6fcf9a1b9e63d5e449d988cddd76dfc9
4
- data.tar.gz: ee2db8e6e051739ba2ad5e6df6080351d055b0f7708eea4f37be586576735b30
3
+ metadata.gz: 9e6283c39d3cbc9e903b6be12190285c69aad886ded6aa188c464a2e6b5021c8
4
+ data.tar.gz: f6d6d6d481278e188865b834d519f9348d9a62725f15e47231d0518b029b60b0
5
5
  SHA512:
6
- metadata.gz: 251df59d91bcdeb1986bcb7ed1cd0648c63104cae706ffba3e66cefed5d99be5c5508438f671eaeecccdc3b2eb468978004e0533e2278bcbb26180e7690db584
7
- data.tar.gz: 638a39e1ca841c4f32c9710fd40b275dd9e3e60b62625d0184dd902585b1c1b0cacaca633b21243e146b9c4c905fb087d90e16ab63802567cd7e52da27c62c0b
6
+ metadata.gz: 9b3a9323e78e519d80b24089b04e5a1712a273b5444ba5c1472622c468a5377038aacf1346c7a544e5fccdce934e1137d50175a3bfa0089c96ec2d955d53938f
7
+ data.tar.gz: 505f64b7f30be7b91a7a5b711383305ca43ba0f782defe163ecd9ac8de93ae0d02b2f2fee52107cc87698edb69391310ba5cce4b3f9a6e782bd2e46366a68743
@@ -126,6 +126,7 @@ module FacebookAds
126
126
  field :recommendations, { list: 'AdRecommendation' }
127
127
  field :source_ad, 'Ad'
128
128
  field :source_ad_id, 'string'
129
+ field :special_ad_categories, { list: 'string' }
129
130
  field :status, { enum: -> { STATUS }}
130
131
  field :targeting, 'Targeting'
131
132
  field :tracking_and_conversion_with_defaults, 'TrackingAndConversionWithDefaults'
@@ -317,6 +317,7 @@ module FacebookAds
317
317
  api.has_param :dynamic_ad_voice, { enum: -> { AdCreative::DYNAMIC_AD_VOICE }}
318
318
  api.has_param :enable_launch_instant_app, 'bool'
319
319
  api.has_param :execution_options, { list: { enum: -> { AdCreative::EXECUTION_OPTIONS }} }
320
+ api.has_param :existing_post_title, 'string'
320
321
  api.has_param :facebook_branded_content, 'hash'
321
322
  api.has_param :format_transformation_spec, { list: 'hash' }
322
323
  api.has_param :image_crops, 'hash'
@@ -537,6 +538,7 @@ module FacebookAds
537
538
  api.has_param :line_number, 'int'
538
539
  api.has_param :max_budget_spend_percentage, 'int'
539
540
  api.has_param :min_budget_spend_percentage, 'int'
541
+ api.has_param :multi_event_conversion_attribution_window_seconds, 'int'
540
542
  api.has_param :multi_optimization_goal_weight, { enum: -> { AdSet::MULTI_OPTIMIZATION_GOAL_WEIGHT }}
541
543
  api.has_param :name, 'string'
542
544
  api.has_param :optimization_goal, { enum: -> { AdSet::OPTIMIZATION_GOAL }}
@@ -23,6 +23,7 @@ module FacebookAds
23
23
  "ACCOUNT_SPEND_LIMIT_DUPLICATION",
24
24
  "ACO_TOGGLE",
25
25
  "ADD_FUNDS_TO_RUN_CAMPAIGN",
26
+ "ADOPT_CATALOG_TO_RUN_PRODUCT_CENTRIC_ADS",
26
27
  "ADOPT_CREATIVE_MEDIA_SOURCING_BUNDLE",
27
28
  "ADOPT_CTX_RECOMMENDED_TEMPLATE_BUNDLE",
28
29
  "ADOPT_GEN_AI_MVP_CHILD",
@@ -165,6 +166,7 @@ module FacebookAds
165
166
  "CREATION_PACKAGE_UPGRADE_TO_CTX",
166
167
  "CREATION_PACKAGE_UPGRADE_TO_TLA",
167
168
  "CREATION_PACKAGE_UPGRADE_TO_TMC",
169
+ "CREATIVE_AUDIENCE_PAIRING_DU",
168
170
  "CREATIVE_BADGE",
169
171
  "CREATIVE_DIVERSITY",
170
172
  "CREATIVE_FATIGUE",
@@ -239,6 +241,7 @@ module FacebookAds
239
241
  "IAA_ROAS_OPTIMIZATION",
240
242
  "IG_MULTI_ADS",
241
243
  "IG_SURFACES_MANUAL_PLACEMENTS",
244
+ "INCREASE_BUDGET_UNDERPOWERED_EXPERIMENTS",
242
245
  "INCREMENTAL_ATTRIBUTION",
243
246
  "INSTANT_FORMS_LEADS",
244
247
  "IN_APP_AD_IMPRESSION_ROAS_ANDROID",
@@ -364,6 +367,7 @@ module FacebookAds
364
367
  "SIX_PLUS_PLACEMENTS_DUPLICATION",
365
368
  "SMART_DEFAULT_VALUE_RULES",
366
369
  "SMB_DUPLICATION",
370
+ "SMS_OTP_VERIFICATION_UPSELL",
367
371
  "SPEND_LIMIT",
368
372
  "SUPPORT_CTM_ADS_WITH_CUSTOMER_ACTIONS",
369
373
  "SYD_TEST_MODE",
@@ -315,6 +315,7 @@ module FacebookAds
315
315
  "age_range",
316
316
  "alternate_auto_targeting_option",
317
317
  "app_install_state",
318
+ "audience_concepts",
318
319
  "audience_network_positions",
319
320
  "behaviors",
320
321
  "brand_safety_content_filter_levels",
@@ -14,19 +14,6 @@ module FacebookAds
14
14
  # pull request for this class.
15
15
 
16
16
  class AdCampaignGroupGet < AdObject
17
- SPECIAL_AD_CATEGORIES = [
18
- "CREDIT",
19
- "EDUCATION",
20
- "ELECTIONS_POLITICS",
21
- "EMPLOYMENT",
22
- "FINANCIAL_PRODUCTS_SERVICES",
23
- "HOUSING",
24
- "ISSUES_ELECTIONS_POLITICS",
25
- "NONE",
26
- "ONLINE_GAMBLING_AND_GAMING",
27
- "SOCIAL_ISSUES",
28
- ]
29
-
30
17
 
31
18
  field :account_id, 'string'
32
19
  field :advantage_state_info, 'object'
@@ -42,7 +29,7 @@ module FacebookAds
42
29
  field :name, 'string'
43
30
  field :objective, 'string'
44
31
  field :promoted_object, 'object'
45
- field :special_ad_categories, { list: { enum: -> { SPECIAL_AD_CATEGORIES }} }
32
+ field :special_ad_categories, { list: 'string' }
46
33
  field :spend_cap, 'string'
47
34
  field :start_time, 'string'
48
35
  field :status, 'string'
@@ -16,10 +16,13 @@ module FacebookAds
16
16
  class AdCampaignLearningStageInfo < AdObject
17
17
 
18
18
  field :attribution_windows, { list: 'string' }
19
+ field :cas_segment, 'string'
19
20
  field :conversions, 'int'
21
+ field :current_budget_prediction, 'object'
20
22
  field :dynamic_lp_conversions_threshold, 'int'
21
23
  field :dynamic_lp_days_threshold, 'int'
22
24
  field :dynamic_lp_status, 'string'
25
+ field :is_one_to_one_cbo_budget, 'bool'
23
26
  field :last_sig_edit_ts, 'int'
24
27
  field :recommended_budget_prediction, 'object'
25
28
  field :sigedit_removal, 'bool'
@@ -210,6 +210,7 @@ module FacebookAds
210
210
  field :effective_object_story_id, 'string'
211
211
  field :enable_direct_install, 'bool'
212
212
  field :enable_launch_instant_app, 'bool'
213
+ field :existing_post_title, 'string'
213
214
  field :facebook_branded_content, 'AdCreativeFacebookBrandedContent'
214
215
  field :format_transformation_spec, { list: 'AdCreativeFormatTransformationSpec' }
215
216
  field :id, 'string'
@@ -18,7 +18,13 @@ module FacebookAds
18
18
  field :aspect_ratio_config, 'object'
19
19
  field :background_color, 'string'
20
20
  field :catalog_feed_tag_name, 'string'
21
+ field :fb_feed_tag_name, 'string'
22
+ field :fb_reels_tag_name, 'string'
23
+ field :fb_story_tag_name, 'string'
21
24
  field :font_name, 'string'
25
+ field :ig_feed_tag_name, 'string'
26
+ field :ig_reels_tag_name, 'string'
27
+ field :ig_stream_tag_name, 'string'
22
28
  field :image_crop_style, 'string'
23
29
  field :pe_carousel, 'object'
24
30
  field :showcase_card_display, 'string'
@@ -15,6 +15,7 @@ module FacebookAds
15
15
 
16
16
  class AdCreativeSiteLinksSpec < AdObject
17
17
 
18
+ field :is_defaulting_eligible, 'bool'
18
19
  field :is_site_link_sticky, 'bool'
19
20
  field :site_link_classification, 'string'
20
21
  field :site_link_extra_metadata, 'string'
@@ -19,6 +19,7 @@ module FacebookAds
19
19
  field :associated_product_set_id, 'string'
20
20
  field :brand, 'object'
21
21
  field :destination_screenshot_spec, 'object'
22
+ field :duplication_source, 'string'
22
23
  field :dynamic_site_links_spec, 'object'
23
24
  field :enable_social_feedback_preservation, 'bool'
24
25
  field :intent, 'object'
@@ -236,6 +236,7 @@ module FacebookAds
236
236
  field :adset_schedule, { list: 'DayPart' }
237
237
  field :anchor_event_attribution_window_days, 'int'
238
238
  field :asset_feed_id, 'string'
239
+ field :attribution_count_type, 'string'
239
240
  field :attribution_spec, { list: 'AttributionSpec' }
240
241
  field :automatic_manual_state, 'string'
241
242
  field :bid_adjustments, 'AdBidAdjustments'
@@ -279,8 +280,10 @@ module FacebookAds
279
280
  field :lifetime_imps, 'int'
280
281
  field :lifetime_min_spend_target, 'string'
281
282
  field :lifetime_spend_cap, 'string'
283
+ field :low_creative_reach, { list: 'string' }
282
284
  field :max_budget_spend_percentage, 'string'
283
285
  field :min_budget_spend_percentage, 'string'
286
+ field :multi_event_conversion_attribution_window_seconds, 'int'
284
287
  field :multi_optimization_goal_weight, 'string'
285
288
  field :name, 'string'
286
289
  field :optimization_goal, { enum: -> { OPTIMIZATION_GOAL }}
@@ -296,6 +299,7 @@ module FacebookAds
296
299
  field :rf_prediction_id, 'string'
297
300
  field :source_adset, 'AdSet'
298
301
  field :source_adset_id, 'string'
302
+ field :special_ad_categories, { list: 'string' }
299
303
  field :start_time, 'datetime'
300
304
  field :status, { enum: -> { STATUS }}
301
305
  field :targeting, 'Targeting'
@@ -46,7 +46,6 @@ module FacebookAds
46
46
  field :updated_time, 'datetime'
47
47
  field :cells, { list: 'object' }
48
48
  field :confidence_level, 'double'
49
- field :creative_test_config, 'hash'
50
49
  field :objectives, { list: 'object' }
51
50
  field :viewers, { list: 'int' }
52
51
 
@@ -37,6 +37,7 @@ module FacebookAds
37
37
 
38
38
 
39
39
  field :ad_entities_count, 'int'
40
+ field :ad_ids, { list: 'string' }
40
41
  field :control_percentage, 'double'
41
42
  field :id, 'string'
42
43
  field :name, 'string'
@@ -78,6 +78,8 @@ module FacebookAds
78
78
  field :onsite_destination_optimization_opt_in, 'string'
79
79
  field :open_tabs, { list: 'string' }
80
80
  field :pac_relaxation_opt_in_status, 'string'
81
+ field :pcau_cat_optout_survey_impr, 'int'
82
+ field :pcau_cat_optout_survey_resp_ts, 'datetime'
81
83
  field :placement_group_square_opt_in_status, 'string'
82
84
  field :placement_group_vertical_opt_in_status, 'string'
83
85
  field :previously_seen_recommendations, { list: 'string' }
@@ -23,6 +23,7 @@ module FacebookAds
23
23
  STATUS = [
24
24
  "ACTIVE",
25
25
  "DELETED",
26
+ "DRAFT",
26
27
  ]
27
28
 
28
29
 
@@ -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 ArticlesAndPublicationsItem < AdObject
17
+
18
+ field :id, 'string'
19
+ has_no_get
20
+ has_no_post
21
+ has_no_delete
22
+
23
+ has_edge : do |edge|
24
+ edge.delete 'ArticlesAndPublicationsItemDelete'
25
+ end
26
+
27
+ end
28
+ end
@@ -13,11 +13,9 @@ 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 AdjacentContentDeliveryReport < AdObject
16
+ class ArticlesAndPublicationsItemDelete < AdObject
17
17
 
18
- field :ad_id, 'string'
19
- field :content, { list: 'object' }
20
- field :impression_id, 'string'
18
+ field :success, 'bool'
21
19
  has_no_id
22
20
  has_no_get
23
21
  has_no_post
@@ -1038,7 +1038,6 @@ module FacebookAds
1038
1038
  api.has_param :client_business, 'string'
1039
1039
  api.has_param :confidence_level, 'double'
1040
1040
  api.has_param :cooldown_start_time, 'int'
1041
- api.has_param :creative_test_config, 'hash'
1042
1041
  api.has_param :description, 'string'
1043
1042
  api.has_param :end_time, 'int'
1044
1043
  api.has_param :name, 'string'
@@ -37,13 +37,6 @@ module FacebookAds
37
37
  field :terms, 'string'
38
38
  has_no_delete
39
39
 
40
- has_edge :acknowledge_orders do |edge|
41
- edge.post 'CommerceMerchantSettings' do |api|
42
- api.has_param :idempotency_key, 'string'
43
- api.has_param :orders, { list: 'hash' }
44
- end
45
- end
46
-
47
40
  has_edge :commerce_orders do |edge|
48
41
  edge.get 'CommerceOrder' do |api|
49
42
  api.has_param :filters, { list: { enum: -> { CommerceOrder::FILTERS }} }
@@ -30,20 +30,6 @@ module FacebookAds
30
30
  "IN_PROGRESS",
31
31
  ]
32
32
 
33
- REASON_CODE = [
34
- "BUYERS_REMORSE",
35
- "DAMAGED_GOODS",
36
- "FACEBOOK_INITIATED",
37
- "NOT_AS_DESCRIBED",
38
- "QUALITY_ISSUE",
39
- "REFUND_COMPROMISED",
40
- "REFUND_FOR_RETURN",
41
- "REFUND_REASON_OTHER",
42
- "REFUND_SFI_FAKE",
43
- "REFUND_SFI_REAL",
44
- "WRONG_ITEM",
45
- ]
46
-
47
33
 
48
34
  field :buyer_details, 'object'
49
35
  field :channel, 'string'
@@ -63,28 +49,8 @@ module FacebookAds
63
49
  has_no_post
64
50
  has_no_delete
65
51
 
66
- has_edge :acknowledge_order do |edge|
67
- edge.post 'CommerceOrder' do |api|
68
- api.has_param :idempotency_key, 'string'
69
- api.has_param :merchant_order_reference, 'string'
70
- end
71
- end
72
-
73
52
  has_edge :cancellations do |edge|
74
53
  edge.get
75
- edge.post 'CommerceOrder' do |api|
76
- api.has_param :cancel_reason, 'hash'
77
- api.has_param :idempotency_key, 'string'
78
- api.has_param :items, { list: 'hash' }
79
- api.has_param :restock_items, 'bool'
80
- end
81
- end
82
-
83
- has_edge :item_updates do |edge|
84
- edge.post 'CommerceOrder' do |api|
85
- api.has_param :items, { list: 'hash' }
86
- api.has_param :merchant_order_reference, 'string'
87
- end
88
54
  end
89
55
 
90
56
  has_edge :items do |edge|
@@ -105,16 +71,6 @@ module FacebookAds
105
71
 
106
72
  has_edge :refunds do |edge|
107
73
  edge.get
108
- edge.post 'CommerceOrder' do |api|
109
- api.has_param :adjustment_amount, 'hash'
110
- api.has_param :deductions, { list: 'hash' }
111
- api.has_param :idempotency_key, 'string'
112
- api.has_param :items, { list: 'hash' }
113
- api.has_param :reason_code, { enum: -> { CommerceOrder::REASON_CODE }}
114
- api.has_param :reason_text, 'string'
115
- api.has_param :return_id, 'string'
116
- api.has_param :shipping, 'hash'
117
- end
118
74
  end
119
75
 
120
76
  has_edge :returns do |edge|
@@ -122,12 +78,6 @@ module FacebookAds
122
78
  api.has_param :merchant_return_id, 'string'
123
79
  api.has_param :statuses, { list: { enum: %w{APPROVED DISAPPROVED MERCHANT_MARKED_COMPLETED REFUNDED REQUESTED }} }
124
80
  end
125
- edge.post 'CommerceOrder' do |api|
126
- api.has_param :items, { list: 'hash' }
127
- api.has_param :merchant_return_id, 'string'
128
- api.has_param :return_message, 'string'
129
- api.has_param :update, 'hash'
130
- end
131
81
  end
132
82
 
133
83
  has_edge :shipments do |edge|
@@ -146,15 +96,5 @@ module FacebookAds
146
96
  end
147
97
  end
148
98
 
149
- has_edge :update_shipment do |edge|
150
- edge.post 'CommerceOrder' do |api|
151
- api.has_param :external_shipment_id, 'string'
152
- api.has_param :fulfillment_id, 'string'
153
- api.has_param :idempotency_key, 'string'
154
- api.has_param :shipment_id, 'string'
155
- api.has_param :tracking_info, 'hash'
156
- end
157
- end
158
-
159
99
  end
160
100
  end
@@ -19,6 +19,7 @@ module FacebookAds
19
19
  field :configured_cell_count, 'int'
20
20
  field :daily_budget, 'int'
21
21
  field :entry_source, 'string'
22
+ field :lead_gen_forms, 'string'
22
23
  field :lifetime_budget, 'int'
23
24
  field :use_existing_daily_budget, 'bool'
24
25
  has_no_id
@@ -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 CustomAttributionDataset < AdObject
17
+
18
+ field :app, { list: 'object' }
19
+ field :pixel, { list: 'object' }
20
+ has_no_id
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -128,8 +128,10 @@ module FacebookAds
128
128
  edge.get 'IgUserExportForCam' do |api|
129
129
  api.has_param :creator_age_bucket, { list: 'object' }
130
130
  api.has_param :creator_countries, { list: { enum: -> { IgUserExportForCam::CREATOR_COUNTRIES }} }
131
+ api.has_param :creator_follower_growth, 'object'
131
132
  api.has_param :creator_gender, { list: { enum: -> { IgUserExportForCam::CREATOR_GENDER }} }
132
133
  api.has_param :creator_interests, { list: 'object' }
134
+ api.has_param :creator_latest_post_activity, 'object'
133
135
  api.has_param :creator_max_engaged_accounts, 'int'
134
136
  api.has_param :creator_max_followers, 'int'
135
137
  api.has_param :creator_min_engaged_accounts, 'int'
@@ -137,6 +139,7 @@ module FacebookAds
137
139
  api.has_param :has_public_contact_email, 'bool'
138
140
  api.has_param :major_audience_age_bucket, { list: 'object' }
139
141
  api.has_param :major_audience_countries, { list: { enum: -> { IgUserExportForCam::MAJOR_AUDIENCE_COUNTRIES }} }
142
+ api.has_param :major_audience_device_type, { list: 'object' }
140
143
  api.has_param :major_audience_gender, { list: { enum: -> { IgUserExportForCam::MAJOR_AUDIENCE_GENDER }} }
141
144
  api.has_param :query, 'string'
142
145
  api.has_param :reels_interaction_rate, 'object'
@@ -30,20 +30,6 @@ module FacebookAds
30
30
  has_no_post
31
31
  has_no_delete
32
32
 
33
- has_edge :agencies do |edge|
34
- edge.get 'Business'
35
- end
36
-
37
- has_edge :ar_effects do |edge|
38
- edge.get 'ArEffect'
39
- end
40
-
41
- has_edge :authorized_adaccounts do |edge|
42
- edge.get 'AdAccount' do |api|
43
- api.has_param :business, 'string'
44
- end
45
- end
46
-
47
33
  has_edge :upcoming_events do |edge|
48
34
  edge.get 'IgUpcomingEvent'
49
35
  end
@@ -55,6 +55,8 @@ module FacebookAds
55
55
  field :return_to_facebook_text, 'string'
56
56
  field :review_your_info_text, 'string'
57
57
  field :secure_sharing_text, 'string'
58
+ field :secure_sharing_text_for_embedded_booking_calendly, 'string'
59
+ field :secure_sharing_text_for_embedded_booking_ghl, 'string'
58
60
  field :secure_sharing_text_for_optional_privacy_policy, 'string'
59
61
  field :slide_to_submit_text, 'string'
60
62
  field :social_proof_section_headers, { list: 'hash' }
@@ -43,6 +43,7 @@ module FacebookAds
43
43
  field :blocked_event_types, { list: 'string' }
44
44
  field :blocked_websites, { list: 'string' }
45
45
  field :browser_agent, { list: 'string' }
46
+ field :capi_publishing_state, 'string'
46
47
  field :cloud_provider, 'string'
47
48
  field :cloud_region, 'string'
48
49
  field :destination_id, 'string'
@@ -62,7 +63,6 @@ module FacebookAds
62
63
  field :sgw_account_id, 'string'
63
64
  field :sgw_instance_url, 'string'
64
65
  field :sgw_pixel_id, 'string'
65
- field :capi_publishing_state, { enum: -> { CAPI_PUBLISHING_STATE }}
66
66
 
67
67
  end
68
68
  end
@@ -580,13 +580,6 @@ module FacebookAds
580
580
  end
581
581
  end
582
582
 
583
- has_edge :acknowledge_orders do |edge|
584
- edge.post 'Page' do |api|
585
- api.has_param :idempotency_key, 'string'
586
- api.has_param :orders, { list: 'hash' }
587
- end
588
- end
589
-
590
583
  has_edge :ads_eligibility do |edge|
591
584
  edge.get 'AdsEligibility' do |api|
592
585
  api.has_param :ads_account_id, 'string'
@@ -16,7 +16,11 @@ module FacebookAds
16
16
  class PageCtxBudgetSimilarAdvertiserBudgetRecommendation < AdObject
17
17
 
18
18
  field :budget, 'string'
19
+ field :budget_new_model, 'string'
20
+ field :budget_without_threshold, 'string'
19
21
  field :reported_conversion, 'string'
22
+ field :reported_conversions_new_model, 'string'
23
+ field :reported_conversions_without_threshold, 'string'
20
24
  has_no_id
21
25
  has_no_get
22
26
  has_no_post
@@ -21,6 +21,8 @@ module FacebookAds
21
21
 
22
22
  VERTICAL = [
23
23
  "adoptable_pets",
24
+ "apps_and_software",
25
+ "articles_and_publications",
24
26
  "commerce",
25
27
  "destinations",
26
28
  "flights",
@@ -28,8 +30,10 @@ module FacebookAds
28
30
  "home_listings",
29
31
  "hotels",
30
32
  "local_service_businesses",
33
+ "media_titles",
31
34
  "offer_items",
32
35
  "offline_commerce",
36
+ "professional_services",
33
37
  "transactable_items",
34
38
  "vehicles",
35
39
  ]
@@ -100,6 +104,7 @@ module FacebookAds
100
104
  "ADD_TO_CART",
101
105
  "OFFER_SUBMITTED",
102
106
  "PURCHASE",
107
+ "PURCHASE_VIA_OFFER",
103
108
  "TEST",
104
109
  "VIEW_ITEM",
105
110
  ]
@@ -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 ProductCatalogAppsAndSoftware < AdObject
17
+
18
+ field :id, 'string'
19
+ has_no_get
20
+ has_no_post
21
+ has_no_delete
22
+
23
+ has_edge :apps_and_software do |edge|
24
+ edge.post 'ProductCatalogAppsAndSoftwarePost'
25
+ end
26
+
27
+ end
28
+ end
@@ -0,0 +1,24 @@
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 ProductCatalogAppsAndSoftwarePost < AdObject
17
+
18
+ field :id, 'string'
19
+ has_no_get
20
+ has_no_post
21
+ has_no_delete
22
+
23
+ end
24
+ end
@@ -0,0 +1,24 @@
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 ProductCatalogArticlesAndPublications < AdObject
17
+
18
+ has_no_id
19
+ has_no_get
20
+ has_no_post
21
+ has_no_delete
22
+
23
+ end
24
+ end
@@ -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 ProductCatalogGet < AdObject
17
+
18
+ field :id, 'string'
19
+ field :name, 'string'
20
+ has_no_get
21
+ has_no_post
22
+ has_no_delete
23
+
24
+ end
25
+ end