facebookbusiness 19.0.1 → 19.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad.rb +1 -1
  3. data/lib/facebook_ads/ad_objects/ad_account.rb +14 -2
  4. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +11 -0
  5. data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +1 -0
  6. data/lib/facebook_ads/ad_objects/ad_activity.rb +1 -0
  7. data/lib/facebook_ads/ad_objects/ad_asset_feed_additional_data.rb +1 -0
  8. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +8 -0
  9. data/lib/facebook_ads/ad_objects/ad_creative.rb +7 -0
  10. data/lib/facebook_ads/ad_objects/ad_creative_features_spec.rb +4 -0
  11. data/lib/facebook_ads/ad_objects/ad_creative_link_data.rb +1 -0
  12. data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +7 -0
  13. data/lib/facebook_ads/ad_objects/ad_creative_sourcing_spec.rb +1 -0
  14. data/lib/facebook_ads/ad_objects/ad_preview.rb +3 -0
  15. data/lib/facebook_ads/ad_objects/ad_set.rb +2 -1
  16. data/lib/facebook_ads/ad_objects/ad_video.rb +1 -1
  17. data/lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb +1 -0
  18. data/lib/facebook_ads/ad_objects/ads_insights.rb +10 -1
  19. data/lib/facebook_ads/ad_objects/ads_pixel.rb +0 -4
  20. data/lib/facebook_ads/ad_objects/album.rb +0 -1
  21. data/lib/facebook_ads/ad_objects/application.rb +1 -7
  22. data/lib/facebook_ads/ad_objects/avatar.rb +1 -0
  23. data/lib/facebook_ads/ad_objects/business.rb +0 -1
  24. data/lib/facebook_ads/ad_objects/campaign.rb +1 -1
  25. data/lib/facebook_ads/ad_objects/catalog_sub_vertical_list.rb +0 -1
  26. data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +0 -12
  27. data/lib/facebook_ads/ad_objects/commerce_order.rb +12 -2
  28. data/lib/facebook_ads/ad_objects/custom_audience.rb +2 -0
  29. data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +1 -0
  30. data/lib/facebook_ads/ad_objects/destination.rb +1 -0
  31. data/lib/facebook_ads/ad_objects/flight.rb +1 -0
  32. data/lib/facebook_ads/ad_objects/funding_source_details.rb +1 -0
  33. data/lib/facebook_ads/ad_objects/funding_source_details_coupon.rb +1 -0
  34. data/lib/facebook_ads/ad_objects/group.rb +2 -3
  35. data/lib/facebook_ads/ad_objects/hotel.rb +1 -0
  36. data/lib/facebook_ads/ad_objects/{page_commerce_eligibility.rb → ig_upcoming_event.rb} +5 -6
  37. data/lib/facebook_ads/ad_objects/ig_user.rb +1 -0
  38. data/lib/facebook_ads/ad_objects/insights_result.rb +2 -2
  39. data/lib/facebook_ads/ad_objects/{targeting_geo_location_location_expansion.rb → insights_value.rb} +11 -2
  40. data/lib/facebook_ads/ad_objects/instagram_user.rb +6 -1
  41. data/lib/facebook_ads/ad_objects/local_service_business.rb +1 -0
  42. data/lib/facebook_ads/ad_objects/page.rb +23 -6
  43. data/lib/facebook_ads/ad_objects/product_catalog.rb +10 -2
  44. data/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb +12 -3
  45. data/lib/facebook_ads/ad_objects/product_item.rb +1 -0
  46. data/lib/facebook_ads/ad_objects/targeting_geo_location.rb +0 -1
  47. data/lib/facebook_ads/ad_objects/user.rb +2 -3
  48. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +5 -2
  49. data/lib/facebook_ads/ad_objects/whats_app_business_partner_client_verification_submission.rb +15 -2
  50. data/lib/facebook_ads/version.rb +1 -1
  51. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae2b94512b194b67baf6a533a9eca42dd8980741aa60d7d2ed742e0b609e5e26
4
- data.tar.gz: c0af925a51c8d5c19cb311648859d095f5d316b019875788a56f85a0d62e4246
3
+ metadata.gz: 486381fb8eee188c15334c7c780601dc0db1b6ee97f874744042daa84872ddda
4
+ data.tar.gz: b1ec8da0174c26f76adcd66f52d3c3a9286db4e8b8b4e3626bfb817f677cb6a9
5
5
  SHA512:
6
- metadata.gz: dbd426ecabf5236e89b805bc928909f1457b1b78255fcbe54dd5e2b82213c38c5f40e8e4e1d3c8d7f477bf56fee0b8c39a057b8793a4c13dbea5189da78f05fd
7
- data.tar.gz: 251bfa797537c91d9451f28bb9103f9336283e148af1eccb63c0bcc480600a065211147d2aa4ef819efd24a57a5214ff1794e08a356415a6084dbcfe1eb5b25e
6
+ metadata.gz: effca5a73c1ced5b59d8b085fc13bac37f6ecfff84f627bc746385ab2eedf12010df8b3b9e1b2fc0f7facb95265526cf9a48360cfefcc8aa749d548ddb8f4bce
7
+ data.tar.gz: '058bf162289091bdb95bd433784b002f1463d5132f4d55b48f3c954a84bf044c7a10db27e3a278c0dc94934eba40e46cb8bf53a6a05b4b51bb1a97223b02b417'
@@ -64,7 +64,7 @@ module FacebookAds
64
64
  "last_week_mon_sun",
65
65
  "last_week_sun_sat",
66
66
  "last_year",
67
- "lifetime",
67
+ "maximum",
68
68
  "this_month",
69
69
  "this_quarter",
70
70
  "this_week_mon_today",
@@ -103,6 +103,7 @@ module FacebookAds
103
103
  "AUTOMOTIVE_MODEL",
104
104
  "DESTINATION",
105
105
  "FLIGHT",
106
+ "GENERIC",
106
107
  "HOME_LISTING",
107
108
  "HOTEL",
108
109
  "JOB",
@@ -122,6 +123,7 @@ module FacebookAds
122
123
  "CLAIM",
123
124
  "CUSTOM",
124
125
  "ENGAGEMENT",
126
+ "EXCLUSION",
125
127
  "FOX",
126
128
  "LOOKALIKE",
127
129
  "MANAGED",
@@ -151,6 +153,7 @@ module FacebookAds
151
153
  field :amount_spent, 'string'
152
154
  field :attribution_spec, { list: 'AttributionSpec' }
153
155
  field :balance, 'string'
156
+ field :brand_safety_content_filter_levels, { list: 'string' }
154
157
  field :business, 'Business'
155
158
  field :business_city, 'string'
156
159
  field :business_country_code, 'string'
@@ -582,7 +585,6 @@ module FacebookAds
582
585
  api.has_param :fun_fact_toastee_id, 'int'
583
586
  api.has_param :guide, { list: { list: 'int' } }
584
587
  api.has_param :guide_enabled, 'bool'
585
- api.has_param :has_nickname, 'bool'
586
588
  api.has_param :holiday_card, 'string'
587
589
  api.has_param :initial_heading, 'int'
588
590
  api.has_param :initial_pitch, 'int'
@@ -686,6 +688,10 @@ module FacebookAds
686
688
  end
687
689
  end
688
690
 
691
+ has_edge :audience_funnel do |edge|
692
+ edge.get
693
+ end
694
+
689
695
  has_edge :block_list_drafts do |edge|
690
696
  edge.post 'AdAccount' do |api|
691
697
  api.has_param :publisher_urls_file, 'file'
@@ -763,6 +769,10 @@ module FacebookAds
763
769
  edge.get
764
770
  end
765
771
 
772
+ has_edge :cpa_guidance do |edge|
773
+ edge.get
774
+ end
775
+
766
776
  has_edge :customaudiences do |edge|
767
777
  edge.get 'CustomAudience' do |api|
768
778
  api.has_param :business_id, 'string'
@@ -1114,6 +1124,8 @@ module FacebookAds
1114
1124
  api.has_param :allow_only_fat_head_interests, 'bool'
1115
1125
  api.has_param :app_store, { enum: -> { AdAccountTargetingUnified::APP_STORE }}
1116
1126
  api.has_param :countries, { list: 'string' }
1127
+ api.has_param :is_account_level_brand_safety_exclusion, 'bool'
1128
+ api.has_param :is_account_level_employer_exclusion, 'bool'
1117
1129
  api.has_param :is_exclusion, 'bool'
1118
1130
  api.has_param :limit_type, { enum: -> { AdAccountTargetingUnified::LIMIT_TYPE }}
1119
1131
  api.has_param :objective, { enum: -> { AdAccountTargetingUnified::OBJECTIVE }}
@@ -1180,7 +1192,7 @@ module FacebookAds
1180
1192
  end
1181
1193
  end
1182
1194
 
1183
- has_edge :value_adjustment_rule_persona_groups do |edge|
1195
+ has_edge :value_adjustment_rule_collections do |edge|
1184
1196
  edge.get
1185
1197
  end
1186
1198
 
@@ -41,6 +41,8 @@ module FacebookAds
41
41
  "APP_AEM_V2_INSTALLATION_PROMOTION",
42
42
  "ASC_BUDGET_OPTIMIZATION",
43
43
  "ASC_BUDGET_OPTIMIZATION_PFR",
44
+ "ASC_CREATION_PACKAGE",
45
+ "ASC_FRAGMENTATION_V2",
44
46
  "ASPECT_RATIO",
45
47
  "ATLEAST_6_PLACEMENTS",
46
48
  "AUCTION_OVERLAP",
@@ -58,14 +60,17 @@ module FacebookAds
58
60
  "CAPI_PERFORMANCE_MATCH_KEY",
59
61
  "CAPI_PERFORMANCE_MATCH_KEY_V2",
60
62
  "CASH_REWARDS_OPT_IN",
63
+ "CONNECTED_SOURCES",
61
64
  "CONNECT_FACEBOOK_PAGE_TO_INSTAGRAM",
62
65
  "CONNECT_FACEBOOK_PAGE_TO_WHATSAPP",
66
+ "CONVERSION_LEAD_ADS",
63
67
  "COST_GOAL",
64
68
  "COST_GOAL_BUDGET_LIMITED",
65
69
  "COST_GOAL_CPA_LIMITED",
66
70
  "COST_PER_RESULT",
67
71
  "CREATION_PACKAGE_UPGRADE_TO_ASC",
68
72
  "CREATION_PACKAGE_UPGRADE_TO_TLA",
73
+ "CREATION_PACKAGE_UPGRADE_TO_TMC",
69
74
  "CREATIVE_BADGE",
70
75
  "CREATIVE_DIVERSITY",
71
76
  "CREATIVE_FATIGUE",
@@ -75,7 +80,10 @@ module FacebookAds
75
80
  "CREATOR_ADS_PA_CONVERSION",
76
81
  "CTA",
77
82
  "CTX_BUDGET_OPTIMIZATION",
83
+ "CTX_CREATION_PACKAGE",
84
+ "CTX_GUIDANCE",
78
85
  "DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS",
86
+ "DA_DUPLICATION_PRODUCT_TAGS",
79
87
  "DEAD_LINK",
80
88
  "DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET",
81
89
  "ECOSYSTEM_BID_REDUCE_L1_CARDINALITY",
@@ -87,6 +95,7 @@ module FacebookAds
87
95
  "HIGH_COST",
88
96
  "HISTORICAL_BENCHMARK",
89
97
  "IG_MULTI_ADS",
98
+ "LEAD_ADS_GUIDANCE",
90
99
  "LEARNING_LIMITED",
91
100
  "LEARNING_PAUSE_FRICTION",
92
101
  "LEARNING_PHASE_BUDGET_EDITS",
@@ -105,6 +114,7 @@ module FacebookAds
105
114
  "PFR_L1_INLINE_MMT",
106
115
  "PREDICTIVE_CREATIVE_LIMITED",
107
116
  "PREDICTIVE_CREATIVE_LIMITED_HOURLY",
117
+ "PREPARING_STATUS",
108
118
  "RAPID_LEARNING_LIMITED",
109
119
  "RAPID_LEARNING_PHASE",
110
120
  "REELS_DUPLICATION_UPSELL",
@@ -120,6 +130,7 @@ module FacebookAds
120
130
  "SPEND_LIMIT",
121
131
  "SYD_TEST_MODE",
122
132
  "TAILORED_LEAD_AD_CAMPAIGN",
133
+ "TAILORED_MESSAGES_CAMPAIGN",
123
134
  "TOP_ADSETS_WITH_ADS_UNDER_CAP",
124
135
  "TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP",
125
136
  "TWO_P_GUIDANCE_CARD_AAA",
@@ -396,6 +396,7 @@ module FacebookAds
396
396
  "location_categories",
397
397
  "location_cluster_ids",
398
398
  "location_expansion",
399
+ "marketing_message_channels",
399
400
  "marketing_message_targeting",
400
401
  "marketplace_product_categories",
401
402
  "messenger_positions",
@@ -96,6 +96,7 @@ module FacebookAds
96
96
  "update_campaign_name",
97
97
  "update_campaign_run_status",
98
98
  "update_campaign_schedule",
99
+ "update_campaign_value_adjustment_rule",
99
100
  "update_delivery_type_cross_level_shift",
100
101
  ]
101
102
 
@@ -20,6 +20,7 @@ module FacebookAds
20
20
  field :is_click_to_message, 'bool'
21
21
  field :multi_share_end_card, 'bool'
22
22
  field :page_welcome_message, 'string'
23
+ field :partner_app_welcome_message_flow_id, 'string'
23
24
  has_no_id
24
25
  has_no_get
25
26
  has_no_post
@@ -17,15 +17,20 @@ module FacebookAds
17
17
  CALL_TO_ACTION_TYPES = [
18
18
  "ADD_TO_CART",
19
19
  "APPLY_NOW",
20
+ "ASK_ABOUT_SERVICES",
21
+ "ASK_FOR_MORE_INFO",
20
22
  "AUDIO_CALL",
23
+ "BOOK_A_CONSULTATION",
21
24
  "BOOK_NOW",
22
25
  "BOOK_TRAVEL",
23
26
  "BUY",
24
27
  "BUY_NOW",
25
28
  "BUY_TICKETS",
29
+ "BUY_VIA_MESSAGE",
26
30
  "CALL",
27
31
  "CALL_ME",
28
32
  "CALL_NOW",
33
+ "CHAT_WITH_US",
29
34
  "CONFIRM",
30
35
  "CONTACT",
31
36
  "CONTACT_US",
@@ -38,6 +43,7 @@ module FacebookAds
38
43
  "FOLLOW_NEWS_STORYLINE",
39
44
  "FOLLOW_PAGE",
40
45
  "FOLLOW_USER",
46
+ "GET_A_QUOTE",
41
47
  "GET_DIRECTIONS",
42
48
  "GET_OFFER",
43
49
  "GET_OFFER_VIEW",
@@ -53,6 +59,7 @@ module FacebookAds
53
59
  "LIKE_PAGE",
54
60
  "LISTEN_MUSIC",
55
61
  "LISTEN_NOW",
62
+ "MAKE_AN_APPOINTMENT",
56
63
  "MESSAGE_PAGE",
57
64
  "MOBILE_DOWNLOAD",
58
65
  "NO_BUTTON",
@@ -112,6 +119,7 @@ module FacebookAds
112
119
  field :message_extensions, { list: 'AdAssetMessageExtensions' }
113
120
  field :onsite_destinations, { list: 'AdAssetOnsiteDestinations' }
114
121
  field :optimization_type, 'string'
122
+ field :promotional_metadata, 'object'
115
123
  field :reasons_to_shop, 'bool'
116
124
  field :shops_bundle, 'bool'
117
125
  field :titles, { list: 'AdAssetFeedSpecTitle' }
@@ -17,15 +17,20 @@ module FacebookAds
17
17
  CALL_TO_ACTION_TYPE = [
18
18
  "ADD_TO_CART",
19
19
  "APPLY_NOW",
20
+ "ASK_ABOUT_SERVICES",
21
+ "ASK_FOR_MORE_INFO",
20
22
  "AUDIO_CALL",
23
+ "BOOK_A_CONSULTATION",
21
24
  "BOOK_NOW",
22
25
  "BOOK_TRAVEL",
23
26
  "BUY",
24
27
  "BUY_NOW",
25
28
  "BUY_TICKETS",
29
+ "BUY_VIA_MESSAGE",
26
30
  "CALL",
27
31
  "CALL_ME",
28
32
  "CALL_NOW",
33
+ "CHAT_WITH_US",
29
34
  "CONFIRM",
30
35
  "CONTACT",
31
36
  "CONTACT_US",
@@ -38,6 +43,7 @@ module FacebookAds
38
43
  "FOLLOW_NEWS_STORYLINE",
39
44
  "FOLLOW_PAGE",
40
45
  "FOLLOW_USER",
46
+ "GET_A_QUOTE",
41
47
  "GET_DIRECTIONS",
42
48
  "GET_OFFER",
43
49
  "GET_OFFER_VIEW",
@@ -53,6 +59,7 @@ module FacebookAds
53
59
  "LIKE_PAGE",
54
60
  "LISTEN_MUSIC",
55
61
  "LISTEN_NOW",
62
+ "MAKE_AN_APPOINTMENT",
56
63
  "MESSAGE_PAGE",
57
64
  "MOBILE_DOWNLOAD",
58
65
  "NO_BUTTON",
@@ -16,8 +16,11 @@ module FacebookAds
16
16
  class AdCreativeFeaturesSpec < AdObject
17
17
 
18
18
  field :advantage_plus_creative, 'AdCreativeFeatureDetails'
19
+ field :app_highlights, 'AdCreativeFeatureDetails'
19
20
  field :audio, 'AdCreativeFeatureDetails'
20
21
  field :carousel_to_video, 'AdCreativeFeatureDetails'
22
+ field :catalog_feed_tag, 'AdCreativeFeatureDetails'
23
+ field :customize_product_recommendation, 'AdCreativeFeatureDetails'
21
24
  field :cv_transformation, 'AdCreativeFeatureDetails'
22
25
  field :description_automation, 'AdCreativeFeatureDetails'
23
26
  field :dha_optimization, 'AdCreativeFeatureDetails'
@@ -36,6 +39,7 @@ module FacebookAds
36
39
  field :product_metadata_automation, 'AdCreativeFeatureDetails'
37
40
  field :product_tags, 'AdCreativeFeatureDetails'
38
41
  field :profile_card, 'AdCreativeFeatureDetails'
42
+ field :site_extensions, 'AdCreativeFeatureDetails'
39
43
  field :standard_enhancements, 'AdCreativeFeatureDetails'
40
44
  field :standard_enhancements_catalog, 'AdCreativeFeatureDetails'
41
45
  field :text_generation, 'AdCreativeFeatureDetails'
@@ -19,6 +19,7 @@ module FacebookAds
19
19
  "carousel_images_multi_items",
20
20
  "carousel_images_single_item",
21
21
  "carousel_slideshows",
22
+ "collection_video",
22
23
  "single_image",
23
24
  ]
24
25
 
@@ -17,15 +17,20 @@ module FacebookAds
17
17
  TYPE = [
18
18
  "ADD_TO_CART",
19
19
  "APPLY_NOW",
20
+ "ASK_ABOUT_SERVICES",
21
+ "ASK_FOR_MORE_INFO",
20
22
  "AUDIO_CALL",
23
+ "BOOK_A_CONSULTATION",
21
24
  "BOOK_NOW",
22
25
  "BOOK_TRAVEL",
23
26
  "BUY",
24
27
  "BUY_NOW",
25
28
  "BUY_TICKETS",
29
+ "BUY_VIA_MESSAGE",
26
30
  "CALL",
27
31
  "CALL_ME",
28
32
  "CALL_NOW",
33
+ "CHAT_WITH_US",
29
34
  "CONFIRM",
30
35
  "CONTACT",
31
36
  "CONTACT_US",
@@ -38,6 +43,7 @@ module FacebookAds
38
43
  "FOLLOW_NEWS_STORYLINE",
39
44
  "FOLLOW_PAGE",
40
45
  "FOLLOW_USER",
46
+ "GET_A_QUOTE",
41
47
  "GET_DIRECTIONS",
42
48
  "GET_OFFER",
43
49
  "GET_OFFER_VIEW",
@@ -53,6 +59,7 @@ module FacebookAds
53
59
  "LIKE_PAGE",
54
60
  "LISTEN_MUSIC",
55
61
  "LISTEN_NOW",
62
+ "MAKE_AN_APPOINTMENT",
56
63
  "MESSAGE_PAGE",
57
64
  "MOBILE_DOWNLOAD",
58
65
  "NO_BUTTON",
@@ -18,6 +18,7 @@ module FacebookAds
18
18
  field :associated_product_set_id, 'string'
19
19
  field :promotion_metadata_spec, { list: 'AdCreativePromotionMetadataSpec' }
20
20
  field :site_links_spec, { list: 'AdCreativeSiteLinksSpec' }
21
+ field :source_url, 'string'
21
22
  has_no_id
22
23
  has_no_get
23
24
  has_no_post
@@ -50,9 +50,11 @@ module FacebookAds
50
50
  "INSTANT_ARTICLE_RECIRCULATION_AD",
51
51
  "INSTANT_ARTICLE_STANDARD",
52
52
  "INSTREAM_BANNER_DESKTOP",
53
+ "INSTREAM_BANNER_FULLSCREEN_MOBILE",
53
54
  "INSTREAM_BANNER_IMMERSIVE_MOBILE",
54
55
  "INSTREAM_BANNER_MOBILE",
55
56
  "INSTREAM_VIDEO_DESKTOP",
57
+ "INSTREAM_VIDEO_FULLSCREEN_MOBILE",
56
58
  "INSTREAM_VIDEO_IMAGE",
57
59
  "INSTREAM_VIDEO_IMMERSIVE_MOBILE",
58
60
  "INSTREAM_VIDEO_MOBILE",
@@ -70,6 +72,7 @@ module FacebookAds
70
72
  "MOBILE_NATIVE",
71
73
  "RIGHT_COLUMN_STANDARD",
72
74
  "SUGGESTED_VIDEO_DESKTOP",
75
+ "SUGGESTED_VIDEO_FULLSCREEN_MOBILE",
73
76
  "SUGGESTED_VIDEO_IMMERSIVE_MOBILE",
74
77
  "SUGGESTED_VIDEO_MOBILE",
75
78
  "WATCH_FEED_HOME",
@@ -102,7 +102,7 @@ module FacebookAds
102
102
  "LAST_WEEK_MON_SUN",
103
103
  "LAST_WEEK_SUN_SAT",
104
104
  "LAST_YEAR",
105
- "LIFETIME",
105
+ "MAXIMUM",
106
106
  "THIS_MONTH",
107
107
  "THIS_QUARTER",
108
108
  "THIS_WEEK_MON_TODAY",
@@ -233,6 +233,7 @@ module FacebookAds
233
233
  field :promoted_object, 'AdPromotedObject'
234
234
  field :recommendations, { list: 'AdRecommendation' }
235
235
  field :recurring_budget_semantics, 'bool'
236
+ field :regional_regulation_identities, 'object'
236
237
  field :review_feedback, 'string'
237
238
  field :rf_prediction_id, 'string'
238
239
  field :source_adset, 'AdSet'
@@ -115,6 +115,7 @@ module FacebookAds
115
115
  "MUSIC_CLIP_IN_AUDIO_DIGEST",
116
116
  "MUSIC_CLIP_IN_COMMENT",
117
117
  "MUSIC_CLIP_IN_LIGHTWEIGHT_STATUS",
118
+ "MUSIC_CLIP_IN_MSGR_NOTE",
118
119
  "MUSIC_CLIP_IN_POLL_OPTION",
119
120
  "MUSIC_CLIP_ON_DATING_PROFILE",
120
121
  "NEO_ASYNC_GAME_VIDEO",
@@ -364,7 +365,6 @@ module FacebookAds
364
365
  field :fun_fact_toastee_id, 'int'
365
366
  field :guide, { list: { list: 'int' } }
366
367
  field :guide_enabled, 'bool'
367
- field :has_nickname, 'bool'
368
368
  field :holiday_card, 'string'
369
369
  field :initial_heading, 'int'
370
370
  field :initial_pitch, 'int'
@@ -23,6 +23,7 @@ module FacebookAds
23
23
  field :bsg, 'hash'
24
24
  field :city_community, 'hash'
25
25
  field :commerce, 'hash'
26
+ field :compromise, 'hash'
26
27
  field :daily_deals, 'hash'
27
28
  field :daily_deals_legacy, 'hash'
28
29
  field :dpa, 'hash'
@@ -20,8 +20,12 @@ module FacebookAds
20
20
  "1d_view",
21
21
  "28d_click",
22
22
  "28d_view",
23
+ "28d_view_all_conversions",
24
+ "28d_view_first_conversion",
23
25
  "7d_click",
24
26
  "7d_view",
27
+ "7d_view_all_conversions",
28
+ "7d_view_first_conversion",
25
29
  "dda",
26
30
  "default",
27
31
  "skan_click",
@@ -40,6 +44,8 @@ module FacebookAds
40
44
  "action_video_sound",
41
45
  "action_video_type",
42
46
  "conversion_destination",
47
+ "matched_persona_id",
48
+ "matched_persona_name",
43
49
  "signal_source_bucket",
44
50
  "standard_event_content_type",
45
51
  ]
@@ -110,7 +116,7 @@ module FacebookAds
110
116
  "last_week_mon_sun",
111
117
  "last_week_sun_sat",
112
118
  "last_year",
113
- "lifetime",
119
+ "maximum",
114
120
  "this_month",
115
121
  "this_quarter",
116
122
  "this_week_mon_today",
@@ -139,6 +145,8 @@ module FacebookAds
139
145
  "action_video_sound",
140
146
  "action_video_type",
141
147
  "conversion_destination",
148
+ "matched_persona_id",
149
+ "matched_persona_name",
142
150
  "signal_source_bucket",
143
151
  "standard_event_content_type",
144
152
  ]
@@ -232,6 +240,7 @@ module FacebookAds
232
240
  field :marketing_messages_cost_per_delivered, 'string'
233
241
  field :marketing_messages_cost_per_link_btn_click, 'string'
234
242
  field :marketing_messages_spend, 'string'
243
+ field :marketing_messages_website_purchase_values, 'string'
235
244
  field :mobile_app_purchase_roas, { list: 'AdsActionStats' }
236
245
  field :objective, 'string'
237
246
  field :optimization_goal, 'string'
@@ -183,9 +183,5 @@ module FacebookAds
183
183
  end
184
184
  end
185
185
 
186
- has_edge :telemetry do |edge|
187
- edge.post
188
- end
189
-
190
186
  end
191
187
  end
@@ -116,7 +116,6 @@ module FacebookAds
116
116
  api.has_param :proxied_app_id, 'string'
117
117
  api.has_param :published, 'bool'
118
118
  api.has_param :qn, 'string'
119
- api.has_param :scheduled_publish_time, 'int'
120
119
  api.has_param :spherical_metadata, 'hash'
121
120
  api.has_param :sponsor_id, 'string'
122
121
  api.has_param :sponsor_relationship, 'int'
@@ -236,6 +236,7 @@ module FacebookAds
236
236
  api.has_param :page_id, 'int'
237
237
  api.has_param :page_scoped_user_id, 'int'
238
238
  api.has_param :receipt_data, 'string'
239
+ api.has_param :sdk_version, 'string'
239
240
  api.has_param :ud, 'hash'
240
241
  api.has_param :url_schemes, { list: 'string' }
241
242
  api.has_param :user_id, 'string'
@@ -424,13 +425,6 @@ module FacebookAds
424
425
  end
425
426
  end
426
427
 
427
- has_edge :events do |edge|
428
- edge.get 'Event' do |api|
429
- api.has_param :include_canceled, 'bool'
430
- api.has_param :type, { enum: -> { Event::TYPE }}
431
- end
432
- end
433
-
434
428
  has_edge :iap_purchases do |edge|
435
429
  edge.get do |api|
436
430
  api.has_param :order_id, 'string'
@@ -23,6 +23,7 @@ module FacebookAds
23
23
  edge.get do |api|
24
24
  api.has_param :client_name, 'string'
25
25
  api.has_param :client_version, 'string'
26
+ api.has_param :config_id, 'string'
26
27
  api.has_param :force_generate, 'bool'
27
28
  api.has_param :platform, 'string'
28
29
  api.has_param :profile, 'string'
@@ -996,7 +996,6 @@ module FacebookAds
996
996
  api.has_param :fun_fact_toastee_id, 'int'
997
997
  api.has_param :guide, { list: { list: 'int' } }
998
998
  api.has_param :guide_enabled, 'bool'
999
- api.has_param :has_nickname, 'bool'
1000
999
  api.has_param :holiday_card, 'string'
1001
1000
  api.has_param :initial_heading, 'int'
1002
1001
  api.has_param :initial_pitch, 'int'
@@ -57,7 +57,7 @@ module FacebookAds
57
57
  "last_week_mon_sun",
58
58
  "last_week_sun_sat",
59
59
  "last_year",
60
- "lifetime",
60
+ "maximum",
61
61
  "this_month",
62
62
  "this_quarter",
63
63
  "this_week_mon_today",
@@ -44,7 +44,6 @@ module FacebookAds
44
44
  field :local_service_business_item, 'object'
45
45
  field :local_service_business_restaurant, 'object'
46
46
  field :loyalty_offer, 'object'
47
- field :meetup_space, 'object'
48
47
  field :nursery, 'object'
49
48
  field :printers_and_scanners, 'object'
50
49
  field :printers_scanners_and_fax_machines, 'object'
@@ -39,7 +39,6 @@ module FacebookAds
39
39
  field :supported_card_types, { list: 'string' }
40
40
  field :terms, 'string'
41
41
  field :terms_url_by_locale, { list: 'hash' }
42
- field :whatsapp_channel, 'object'
43
42
  has_no_post
44
43
  has_no_delete
45
44
 
@@ -92,10 +91,6 @@ module FacebookAds
92
91
  end
93
92
  end
94
93
 
95
- has_edge :seller_issues do |edge|
96
- edge.get
97
- end
98
-
99
94
  has_edge :setup_status do |edge|
100
95
  edge.get 'CommerceMerchantSettingsSetupStatus'
101
96
  end
@@ -122,12 +117,5 @@ module FacebookAds
122
117
  edge.get
123
118
  end
124
119
 
125
- has_edge :whatsapp_channel do |edge|
126
- edge.post do |api|
127
- api.has_param :op, { enum: %w{ADD REMOVE }}
128
- api.has_param :whatsapp_business_accounts, { list: 'string' }
129
- end
130
- end
131
-
132
120
  end
133
121
  end
@@ -79,10 +79,10 @@ module FacebookAds
79
79
  end
80
80
  end
81
81
 
82
- has_edge :fulfill_order do |edge|
82
+ has_edge :item_updates do |edge|
83
83
  edge.post 'CommerceOrder' do |api|
84
- api.has_param :idempotency_key, 'string'
85
84
  api.has_param :items, { list: 'hash' }
85
+ api.has_param :merchant_order_reference, 'string'
86
86
  end
87
87
  end
88
88
 
@@ -155,5 +155,15 @@ module FacebookAds
155
155
  end
156
156
  end
157
157
 
158
+ has_edge :updates do |edge|
159
+ edge.post 'CommerceOrder' do |api|
160
+ api.has_param :cancel_amount, 'hash'
161
+ api.has_param :fulfill_amount, 'hash'
162
+ api.has_param :merchant_order_reference, 'string'
163
+ api.has_param :refund_amount, 'hash'
164
+ api.has_param :total_amount, 'hash'
165
+ end
166
+ end
167
+
158
168
  end
159
169
  end
@@ -30,6 +30,7 @@ module FacebookAds
30
30
  "AUTOMOTIVE_MODEL",
31
31
  "DESTINATION",
32
32
  "FLIGHT",
33
+ "GENERIC",
33
34
  "HOME_LISTING",
34
35
  "HOTEL",
35
36
  "JOB",
@@ -55,6 +56,7 @@ module FacebookAds
55
56
  "CLAIM",
56
57
  "CUSTOM",
57
58
  "ENGAGEMENT",
59
+ "EXCLUSION",
58
60
  "FOX",
59
61
  "LOOKALIKE",
60
62
  "MANAGED",
@@ -44,6 +44,7 @@ module FacebookAds
44
44
  "INSTANT_ARTICLE_EVENTS",
45
45
  "LOOKALIKE_PLATFORM",
46
46
  "MAIL_CHIMP_EMAIL_HASHES",
47
+ "MARKETPLACE_LISTINGS",
47
48
  "MESSENGER_ONSITE_SUBSCRIPTION",
48
49
  "MOBILE_ADVERTISER_IDS",
49
50
  "MOBILE_APP_COMBINATION_EVENTS",
@@ -42,6 +42,7 @@ module FacebookAds
42
42
  field :price, 'string'
43
43
  field :price_change, 'string'
44
44
  field :sanitized_images, { list: 'string' }
45
+ field :tags, { list: 'string' }
45
46
  field :types, { list: 'string' }
46
47
  field :unit_price, 'object'
47
48
  field :url, 'string'
@@ -45,6 +45,7 @@ module FacebookAds
45
45
  field :origin_city, 'string'
46
46
  field :price, 'string'
47
47
  field :sanitized_images, { list: 'string' }
48
+ field :tags, { list: 'string' }
48
49
  field :unit_price, 'object'
49
50
  field :url, 'string'
50
51
  field :visibility, { enum: -> { VISIBILITY }}
@@ -16,6 +16,7 @@ module FacebookAds
16
16
  class FundingSourceDetails < AdObject
17
17
 
18
18
  field :coupon, 'FundingSourceDetailsCoupon'
19
+ field :coupons, { list: 'FundingSourceDetailsCoupon' }
19
20
  field :display_string, 'string'
20
21
  field :id, 'string'
21
22
  field :type, 'int'
@@ -16,6 +16,7 @@ module FacebookAds
16
16
  class FundingSourceDetailsCoupon < AdObject
17
17
 
18
18
  field :amount, 'int'
19
+ field :campaign_ids, { list: 'int' }
19
20
  field :currency, 'string'
20
21
  field :display_amount, 'string'
21
22
  field :expiration, 'datetime'
@@ -169,6 +169,8 @@ module FacebookAds
169
169
  api.has_param :audience_exp, 'bool'
170
170
  api.has_param :backdated_time, 'datetime'
171
171
  api.has_param :backdated_time_granularity, { enum: -> { Post::BACKDATED_TIME_GRANULARITY }}
172
+ api.has_param :breaking_news, 'bool'
173
+ api.has_param :breaking_news_expiration, 'int'
172
174
  api.has_param :call_to_action, 'object'
173
175
  api.has_param :caption, 'string'
174
176
  api.has_param :child_attachments, { list: 'object' }
@@ -193,7 +195,6 @@ module FacebookAds
193
195
  api.has_param :formatting, { enum: -> { Post::FORMATTING }}
194
196
  api.has_param :fun_fact_prompt_id, 'int'
195
197
  api.has_param :fun_fact_toastee_id, 'int'
196
- api.has_param :has_nickname, 'bool'
197
198
  api.has_param :height, 'int'
198
199
  api.has_param :holiday_card, 'string'
199
200
  api.has_param :home_checkin_city_id, 'object'
@@ -376,7 +377,6 @@ module FacebookAds
376
377
  api.has_param :proxied_app_id, 'string'
377
378
  api.has_param :published, 'bool'
378
379
  api.has_param :qn, 'string'
379
- api.has_param :scheduled_publish_time, 'int'
380
380
  api.has_param :spherical_metadata, 'hash'
381
381
  api.has_param :sponsor_id, 'string'
382
382
  api.has_param :sponsor_relationship, 'int'
@@ -435,7 +435,6 @@ module FacebookAds
435
435
  api.has_param :fun_fact_toastee_id, 'int'
436
436
  api.has_param :guide, { list: { list: 'int' } }
437
437
  api.has_param :guide_enabled, 'bool'
438
- api.has_param :has_nickname, 'bool'
439
438
  api.has_param :holiday_card, 'string'
440
439
  api.has_param :initial_heading, 'int'
441
440
  api.has_param :initial_pitch, 'int'
@@ -49,6 +49,7 @@ module FacebookAds
49
49
  field :sale_price, 'string'
50
50
  field :sanitized_images, { list: 'string' }
51
51
  field :star_rating, 'double'
52
+ field :tags, { list: 'string' }
52
53
  field :unit_price, 'object'
53
54
  field :url, 'string'
54
55
  field :visibility, { enum: -> { VISIBILITY }}
@@ -13,13 +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 PageCommerceEligibility < AdObject
16
+ class IgUpcomingEvent < AdObject
17
17
 
18
- field :offsite, 'object'
19
- field :onsite, 'object'
20
- has_no_id
21
- has_no_get
22
- has_no_post
18
+ field :end_time, 'datetime'
19
+ field :id, 'string'
20
+ field :start_time, 'datetime'
21
+ field :title, 'string'
23
22
  has_no_delete
24
23
 
25
24
  end
@@ -120,6 +120,7 @@ module FacebookAds
120
120
  api.has_param :product_tags, { list: 'hash' }
121
121
  api.has_param :share_to_feed, 'bool'
122
122
  api.has_param :thumb_offset, 'string'
123
+ api.has_param :upload_type, 'string'
123
124
  api.has_param :user_tags, { list: 'hash' }
124
125
  api.has_param :video_url, 'string'
125
126
  end
@@ -27,7 +27,7 @@ module FacebookAds
27
27
  "last_week_mon_sun",
28
28
  "last_week_sun_sat",
29
29
  "last_year",
30
- "lifetime",
30
+ "maximum",
31
31
  "this_month",
32
32
  "this_quarter",
33
33
  "this_week_mon_today",
@@ -53,7 +53,7 @@ module FacebookAds
53
53
  field :name, 'string'
54
54
  field :period, 'string'
55
55
  field :title, 'string'
56
- field :values, { list: 'object' }
56
+ field :values, { list: 'InsightsValue' }
57
57
  has_no_get
58
58
  has_no_post
59
59
  has_no_delete
@@ -13,9 +13,18 @@ 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 TargetingGeoLocationLocationExpansion < AdObject
16
+ class InsightsValue < AdObject
17
17
 
18
- field :allowed, 'bool'
18
+ field :campaign_id, 'string'
19
+ field :end_time, 'datetime'
20
+ field :engagement_source, 'string'
21
+ field :message_type, 'string'
22
+ field :messaging_channel, 'string'
23
+ field :recurring_notifications_entry_point, 'string'
24
+ field :recurring_notifications_frequency, 'string'
25
+ field :recurring_notifications_topic, 'string'
26
+ field :start_time, 'datetime'
27
+ field :value, 'object'
19
28
  has_no_id
20
29
  has_no_get
21
30
  has_no_post
@@ -48,7 +48,12 @@ module FacebookAds
48
48
  end
49
49
 
50
50
  has_edge :upcoming_events do |edge|
51
- edge.get
51
+ edge.get 'IgUpcomingEvent'
52
+ edge.post 'IgUpcomingEvent' do |api|
53
+ api.has_param :end_time, 'datetime'
54
+ api.has_param :start_time, 'datetime'
55
+ api.has_param :title, 'string'
56
+ end
52
57
  end
53
58
 
54
59
  end
@@ -84,6 +84,7 @@ module FacebookAds
84
84
  field :retailer_category, 'string'
85
85
  field :sanitized_images, { list: 'string' }
86
86
  field :size, 'string'
87
+ field :tags, { list: 'string' }
87
88
  field :title, 'string'
88
89
  field :unit_price, 'object'
89
90
  field :url, 'string'
@@ -298,6 +298,7 @@ module FacebookAds
298
298
  "awards",
299
299
  "bio",
300
300
  "birthday",
301
+ "calls",
301
302
  "category",
302
303
  "checkins",
303
304
  "company_overview",
@@ -362,6 +363,7 @@ module FacebookAds
362
363
  "page_upcoming_change",
363
364
  "parking",
364
365
  "payment_options",
366
+ "payment_request_update",
365
367
  "personal_info",
366
368
  "personal_interests",
367
369
  "phone",
@@ -373,6 +375,7 @@ module FacebookAds
373
375
  "publisher_subscriptions",
374
376
  "ratings",
375
377
  "registration",
378
+ "response_feedback",
376
379
  "send_cart",
377
380
  "standby",
378
381
  "user_action",
@@ -381,6 +384,14 @@ module FacebookAds
381
384
  "website",
382
385
  ]
383
386
 
387
+ ACTION = [
388
+ "SPAM",
389
+ ]
390
+
391
+ ACTION_TYPE = [
392
+ "REPORT_THREAD",
393
+ ]
394
+
384
395
 
385
396
  field :about, 'string'
386
397
  field :access_token, 'string'
@@ -397,6 +408,7 @@ module FacebookAds
397
408
  field :bio, 'string'
398
409
  field :birthday, 'string'
399
410
  field :booking_agent, 'string'
411
+ field :breaking_news_usage, 'object'
400
412
  field :built, 'string'
401
413
  field :business, 'object'
402
414
  field :can_checkin, 'bool'
@@ -450,6 +462,7 @@ module FacebookAds
450
462
  field :is_community_page, 'bool'
451
463
  field :is_eligible_for_branded_content, 'bool'
452
464
  field :is_eligible_for_disable_connect_ig_btn_for_non_page_admin_am_web, 'bool'
465
+ field :is_eligible_for_live_boosting_expansion, 'bool'
453
466
  field :is_messenger_bot_get_started_enabled, 'bool'
454
467
  field :is_messenger_platform_bot, 'bool'
455
468
  field :is_owned, 'bool'
@@ -683,10 +696,6 @@ module FacebookAds
683
696
  end
684
697
  end
685
698
 
686
- has_edge :commerce_eligibility do |edge|
687
- edge.get 'PageCommerceEligibility'
688
- end
689
-
690
699
  has_edge :commerce_merchant_settings do |edge|
691
700
  edge.get 'CommerceMerchantSettings'
692
701
  end
@@ -808,6 +817,8 @@ module FacebookAds
808
817
  api.has_param :audience_exp, 'bool'
809
818
  api.has_param :backdated_time, 'datetime'
810
819
  api.has_param :backdated_time_granularity, { enum: -> { Page::BACKDATED_TIME_GRANULARITY }}
820
+ api.has_param :breaking_news, 'bool'
821
+ api.has_param :breaking_news_expiration, 'int'
811
822
  api.has_param :call_to_action, 'object'
812
823
  api.has_param :caption, 'string'
813
824
  api.has_param :child_attachments, { list: 'object' }
@@ -833,7 +844,6 @@ module FacebookAds
833
844
  api.has_param :formatting, { enum: -> { Page::FORMATTING }}
834
845
  api.has_param :fun_fact_prompt_id, 'int'
835
846
  api.has_param :fun_fact_toastee_id, 'int'
836
- api.has_param :has_nickname, 'bool'
837
847
  api.has_param :height, 'int'
838
848
  api.has_param :holiday_card, 'string'
839
849
  api.has_param :home_checkin_city_id, 'object'
@@ -1397,6 +1407,14 @@ module FacebookAds
1397
1407
  end
1398
1408
  end
1399
1409
 
1410
+ has_edge :thread_action do |edge|
1411
+ edge.post 'Page' do |api|
1412
+ api.has_param :action, { enum: -> { Page::ACTION }}
1413
+ api.has_param :action_type, { enum: -> { Page::ACTION_TYPE }}
1414
+ api.has_param :user_id, 'hash'
1415
+ end
1416
+ end
1417
+
1400
1418
  has_edge :thread_owner do |edge|
1401
1419
  edge.get 'PageThreadOwner' do |api|
1402
1420
  api.has_param :recipient, 'string'
@@ -1526,7 +1544,6 @@ module FacebookAds
1526
1544
  api.has_param :fun_fact_toastee_id, 'int'
1527
1545
  api.has_param :guide, { list: { list: 'int' } }
1528
1546
  api.has_param :guide_enabled, 'bool'
1529
- api.has_param :has_nickname, 'bool'
1530
1547
  api.has_param :holiday_card, 'string'
1531
1548
  api.has_param :initial_heading, 'int'
1532
1549
  api.has_param :initial_pitch, 'int'
@@ -21,7 +21,6 @@ module FacebookAds
21
21
 
22
22
  VERTICAL = [
23
23
  "adoptable_pets",
24
- "bookable",
25
24
  "commerce",
26
25
  "destinations",
27
26
  "flights",
@@ -33,7 +32,6 @@ module FacebookAds
33
32
  "local_service_businesses",
34
33
  "offer_items",
35
34
  "offline_commerce",
36
- "ticketed_experiences",
37
35
  "transactable_items",
38
36
  "vehicles",
39
37
  ]
@@ -530,5 +528,15 @@ module FacebookAds
530
528
  end
531
529
  end
532
530
 
531
+ has_edge :version_items_batch do |edge|
532
+ edge.post 'ProductCatalog' do |api|
533
+ api.has_param :allow_upsert, 'bool'
534
+ api.has_param :item_type, 'string'
535
+ api.has_param :item_version, 'string'
536
+ api.has_param :requests, 'hash'
537
+ api.has_param :version, 'int'
538
+ end
539
+ end
540
+
533
541
  end
534
542
  end
@@ -15,11 +15,20 @@ module FacebookAds
15
15
 
16
16
  class ProductCatalogDiagnosticGroup < AdObject
17
17
  AFFECTED_CHANNELS = [
18
- "business_inbox_in_messenger",
18
+ "b2c_marketplace",
19
+ "c2c_marketplace",
20
+ "da",
21
+ "daily_deals",
22
+ "daily_deals_legacy",
23
+ "ig_product_tagging",
24
+ "marketplace",
25
+ "marketplace_ads_deprecated",
26
+ "marketplace_shops",
27
+ "mini_shops",
28
+ "offline_conversions",
19
29
  "shops",
20
- "test_capability",
21
30
  "universal_checkout",
22
- "us_marketplace",
31
+ "whatsapp",
23
32
  ]
24
33
 
25
34
  AFFECTED_ENTITY = [
@@ -328,6 +328,7 @@ module FacebookAds
328
328
  "EMPTY_TITLE",
329
329
  "EXTERNAL_MERCHANT_ID_MISMATCH",
330
330
  "GENERIC_INVALID_FIELD",
331
+ "GROUPS_DISABLED_BY_USER",
331
332
  "HIDDEN_UNTIL_PRODUCT_LAUNCH",
332
333
  "IMAGE_FETCH_FAILED",
333
334
  "IMAGE_FETCH_FAILED_BAD_GATEWAY",
@@ -23,7 +23,6 @@ module FacebookAds
23
23
  field :geo_markets, { list: 'TargetingGeoLocationMarket' }
24
24
  field :large_geo_areas, { list: 'TargetingGeoLocationGeoEntities' }
25
25
  field :location_cluster_ids, { list: 'TargetingGeoLocationLocationCluster' }
26
- field :location_expansion, 'TargetingGeoLocationLocationExpansion'
27
26
  field :location_types, { list: 'string' }
28
27
  field :medium_geo_areas, { list: 'TargetingGeoLocationGeoEntities' }
29
28
  field :metro_areas, { list: 'TargetingGeoLocationGeoEntities' }
@@ -252,6 +252,8 @@ module FacebookAds
252
252
  api.has_param :audience_exp, 'bool'
253
253
  api.has_param :backdated_time, 'datetime'
254
254
  api.has_param :backdated_time_granularity, { enum: -> { Post::BACKDATED_TIME_GRANULARITY }}
255
+ api.has_param :breaking_news, 'bool'
256
+ api.has_param :breaking_news_expiration, 'int'
255
257
  api.has_param :call_to_action, 'object'
256
258
  api.has_param :caption, 'string'
257
259
  api.has_param :child_attachments, { list: 'object' }
@@ -276,7 +278,6 @@ module FacebookAds
276
278
  api.has_param :formatting, { enum: -> { Post::FORMATTING }}
277
279
  api.has_param :fun_fact_prompt_id, 'int'
278
280
  api.has_param :fun_fact_toastee_id, 'int'
279
- api.has_param :has_nickname, 'bool'
280
281
  api.has_param :height, 'int'
281
282
  api.has_param :holiday_card, 'string'
282
283
  api.has_param :home_checkin_city_id, 'object'
@@ -532,7 +533,6 @@ module FacebookAds
532
533
  api.has_param :proxied_app_id, 'string'
533
534
  api.has_param :published, 'bool'
534
535
  api.has_param :qn, 'string'
535
- api.has_param :scheduled_publish_time, 'int'
536
536
  api.has_param :spherical_metadata, 'hash'
537
537
  api.has_param :sponsor_id, 'string'
538
538
  api.has_param :sponsor_relationship, 'int'
@@ -615,7 +615,6 @@ module FacebookAds
615
615
  api.has_param :fun_fact_toastee_id, 'int'
616
616
  api.has_param :guide, { list: { list: 'int' } }
617
617
  api.has_param :guide_enabled, 'bool'
618
- api.has_param :has_nickname, 'bool'
619
618
  api.has_param :holiday_card, 'string'
620
619
  api.has_param :initial_heading, 'int'
621
620
  api.has_param :initial_pitch, 'int'
@@ -33,7 +33,6 @@ module FacebookAds
33
33
  ]
34
34
 
35
35
  SUB_CATEGORY = [
36
- "CUSTOM",
37
36
  "ORDER_DETAILS",
38
37
  "ORDER_STATUS",
39
38
  ]
@@ -80,7 +79,7 @@ module FacebookAds
80
79
 
81
80
  has_edge :conversation_analytics do |edge|
82
81
  edge.get do |api|
83
- api.has_param :conversation_categories, { list: { enum: %w{AUTHENTICATION MARKETING MARKETING_OPTIMIZED_DELIVERY SERVICE UNKNOWN UTILITY }} }
82
+ api.has_param :conversation_categories, { list: { enum: %w{AUTHENTICATION AUTHENTICATION_INTERNATIONAL FIXED_TEMPLATE_NOTIFY MARKETING MARKETING_OPTIMIZED_DELIVERY SERVICE UNKNOWN UTILITY }} }
84
83
  api.has_param :conversation_directions, { list: { enum: %w{BUSINESS_INITIATED UNKNOWN USER_INITIATED }} }
85
84
  api.has_param :conversation_types, { list: { enum: %w{FREE_ENTRY_POINT FREE_TIER REGULAR UNKNOWN }} }
86
85
  api.has_param :country_codes, { list: 'string' }
@@ -181,6 +180,10 @@ module FacebookAds
181
180
  edge.get
182
181
  end
183
182
 
183
+ has_edge :set_obo_mobility_intent do |edge|
184
+ edge.post
185
+ end
186
+
184
187
  has_edge :subscribed_apps do |edge|
185
188
  edge.delete
186
189
  edge.get
@@ -14,14 +14,27 @@ module FacebookAds
14
14
  # pull request for this class.
15
15
 
16
16
  class WhatsAppBusinessPartnerClientVerificationSubmission < AdObject
17
+ REJECTION_REASONS = [
18
+ "ADDRESS_NOT_MATCHING",
19
+ "LEGAL_NAME_NOT_MATCHING",
20
+ "NONE",
21
+ "WEBSITE_NOT_MATCHING",
22
+ ]
23
+
24
+ VERIFICATION_STATUS = [
25
+ "APPROVED",
26
+ "FAILED",
27
+ "PENDING",
28
+ ]
29
+
17
30
 
18
31
  field :client_business_id, 'string'
19
32
  field :id, 'string'
20
- field :rejection_reasons, { list: 'string' }
33
+ field :rejection_reasons, { list: { enum: -> { REJECTION_REASONS }} }
21
34
  field :submitted_info, 'object'
22
35
  field :submitted_time, 'datetime'
23
36
  field :update_time, 'datetime'
24
- field :verification_status, 'string'
37
+ field :verification_status, { enum: -> { VERIFICATION_STATUS }}
25
38
  has_no_get
26
39
  has_no_post
27
40
  has_no_delete
@@ -7,6 +7,6 @@
7
7
  # FB:AUTOGEN
8
8
 
9
9
  module FacebookAds
10
- VERSION = '19.0.1'
10
+ VERSION = '19.0.3'
11
11
  API_VERSION = '19.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: 19.0.1
4
+ version: 19.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: 2024-03-14 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -529,12 +529,14 @@ files:
529
529
  - lib/facebook_ads/ad_objects/ig_shopping_review_status.rb
530
530
  - lib/facebook_ads/ad_objects/ig_shopping_review_status_onsite_eligibility.rb
531
531
  - lib/facebook_ads/ad_objects/ig_shopping_review_status_reason_with_help_message.rb
532
+ - lib/facebook_ads/ad_objects/ig_upcoming_event.rb
532
533
  - lib/facebook_ads/ad_objects/ig_user.rb
533
534
  - lib/facebook_ads/ad_objects/ig_video_copyright_check_matches_information.rb
534
535
  - lib/facebook_ads/ad_objects/ig_video_copyright_check_status.rb
535
536
  - lib/facebook_ads/ad_objects/igbc_ads_permission.rb
536
537
  - lib/facebook_ads/ad_objects/image_copyright.rb
537
538
  - lib/facebook_ads/ad_objects/insights_result.rb
539
+ - lib/facebook_ads/ad_objects/insights_value.rb
538
540
  - lib/facebook_ads/ad_objects/instagram_carousel.rb
539
541
  - lib/facebook_ads/ad_objects/instagram_comment.rb
540
542
  - lib/facebook_ads/ad_objects/instagram_insights_result.rb
@@ -604,7 +606,6 @@ files:
604
606
  - lib/facebook_ads/ad_objects/page_call_to_action.rb
605
607
  - lib/facebook_ads/ad_objects/page_category.rb
606
608
  - lib/facebook_ads/ad_objects/page_change_proposal.rb
607
- - lib/facebook_ads/ad_objects/page_commerce_eligibility.rb
608
609
  - lib/facebook_ads/ad_objects/page_parking.rb
609
610
  - lib/facebook_ads/ad_objects/page_payment_options.rb
610
611
  - lib/facebook_ads/ad_objects/page_post.rb
@@ -719,7 +720,6 @@ files:
719
720
  - lib/facebook_ads/ad_objects/targeting_geo_location_electoral_district.rb
720
721
  - lib/facebook_ads/ad_objects/targeting_geo_location_geo_entities.rb
721
722
  - lib/facebook_ads/ad_objects/targeting_geo_location_location_cluster.rb
722
- - lib/facebook_ads/ad_objects/targeting_geo_location_location_expansion.rb
723
723
  - lib/facebook_ads/ad_objects/targeting_geo_location_market.rb
724
724
  - lib/facebook_ads/ad_objects/targeting_geo_location_place.rb
725
725
  - lib/facebook_ads/ad_objects/targeting_geo_location_political_district.rb