facebookbusiness 19.0.0 → 19.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 (56) 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 +10 -0
  4. data/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb +1 -0
  5. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +6 -0
  6. data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
  7. data/lib/facebook_ads/ad_objects/{page_about_story.rb → ad_asset_body.rb} +4 -7
  8. data/lib/facebook_ads/ad_objects/ad_asset_call_to_action_type.rb +25 -0
  9. data/lib/facebook_ads/ad_objects/ad_asset_description.rb +26 -0
  10. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
  11. data/lib/facebook_ads/ad_objects/ad_asset_image.rb +30 -0
  12. data/lib/facebook_ads/ad_objects/ad_asset_link_url.rb +32 -0
  13. data/lib/facebook_ads/ad_objects/ad_asset_title.rb +26 -0
  14. data/lib/facebook_ads/ad_objects/ad_asset_video.rb +34 -0
  15. data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
  16. data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -0
  17. data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +1 -0
  18. data/lib/facebook_ads/ad_objects/ad_creative_promotion_metadata_spec.rb +30 -0
  19. data/lib/facebook_ads/ad_objects/ad_creative_site_links_spec.rb +26 -0
  20. data/lib/facebook_ads/ad_objects/ad_creative_sourcing_spec.rb +2 -0
  21. data/lib/facebook_ads/ad_objects/ad_preview.rb +4 -0
  22. data/lib/facebook_ads/ad_objects/ad_rule_history.rb +1 -0
  23. data/lib/facebook_ads/ad_objects/ad_set.rb +34 -20
  24. data/lib/facebook_ads/ad_objects/ad_video.rb +2 -1
  25. data/lib/facebook_ads/ad_objects/ads_insights.rb +6 -1
  26. data/lib/facebook_ads/ad_objects/ads_pixel.rb +0 -4
  27. data/lib/facebook_ads/ad_objects/analytics_segment.rb +39 -0
  28. data/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb +27 -0
  29. data/lib/facebook_ads/ad_objects/branded_content_shadow_ig_user_id.rb +24 -0
  30. data/lib/facebook_ads/ad_objects/business.rb +7 -0
  31. data/lib/facebook_ads/ad_objects/campaign.rb +2 -1
  32. data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +0 -7
  33. data/lib/facebook_ads/ad_objects/commerce_order.rb +1 -0
  34. data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +1 -0
  35. data/lib/facebook_ads/ad_objects/group.rb +3 -3
  36. data/lib/facebook_ads/ad_objects/ig_media.rb +8 -0
  37. data/lib/facebook_ads/ad_objects/ig_user.rb +28 -0
  38. data/lib/facebook_ads/ad_objects/insights_result.rb +1 -1
  39. data/lib/facebook_ads/ad_objects/instagram_insights_result.rb +0 -5
  40. data/lib/facebook_ads/ad_objects/instagram_user.rb +4 -0
  41. data/lib/facebook_ads/ad_objects/page.rb +2 -2
  42. data/lib/facebook_ads/ad_objects/product_catalog.rb +8 -3
  43. data/lib/facebook_ads/ad_objects/product_feed.rb +1 -0
  44. data/lib/facebook_ads/ad_objects/product_group.rb +0 -3
  45. data/lib/facebook_ads/ad_objects/product_item.rb +20 -3
  46. data/lib/facebook_ads/ad_objects/server_side/action_source.rb +3 -0
  47. data/lib/facebook_ads/ad_objects/server_side/event.rb +22 -2
  48. data/lib/facebook_ads/ad_objects/server_side/messaging_channel.rb +27 -0
  49. data/lib/facebook_ads/ad_objects/server_side/user_data.rb +41 -3
  50. data/lib/facebook_ads/ad_objects/shop.rb +1 -0
  51. data/lib/facebook_ads/ad_objects/targeting.rb +2 -0
  52. data/lib/facebook_ads/ad_objects/targeting_automation.rb +27 -0
  53. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +3 -0
  54. data/lib/facebook_ads/ad_objects/whats_app_business_partner_client_verification_submission.rb +30 -0
  55. data/lib/facebook_ads/version.rb +1 -1
  56. metadata +17 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3142ea4fb603cf1fd0907f43b79270262f6cea6842c07c8456e4946bc4a8ffb
4
- data.tar.gz: 1a09f36ba9f73e4decebcceea88c33d768e07ee64081e005ce7bd4684f3428be
3
+ metadata.gz: ae2b94512b194b67baf6a533a9eca42dd8980741aa60d7d2ed742e0b609e5e26
4
+ data.tar.gz: c0af925a51c8d5c19cb311648859d095f5d316b019875788a56f85a0d62e4246
5
5
  SHA512:
6
- metadata.gz: 705598d10524bd493c0f551e200eef2512613cf2b4c0f3a69f79df409244790fa73f8d2e6af86baaae1a19ded436b73147fcfcadc3c47ff45f7f6d7dd9379b66
7
- data.tar.gz: 1b1712c783f9d0c323d4b49fd64327fa4155d7e8eb8248418610cba2d95a947c585e8808c84fda51790d476e85f1001005d4adaa829d2711cacea25a4ea11005
6
+ metadata.gz: dbd426ecabf5236e89b805bc928909f1457b1b78255fcbe54dd5e2b82213c38c5f40e8e4e1d3c8d7f477bf56fee0b8c39a057b8793a4c13dbea5189da78f05fd
7
+ data.tar.gz: 251bfa797537c91d9451f28bb9103f9336283e148af1eccb63c0bcc480600a065211147d2aa4ef819efd24a57a5214ff1794e08a356415a6084dbcfe1eb5b25e
@@ -64,7 +64,7 @@ module FacebookAds
64
64
  "last_week_mon_sun",
65
65
  "last_week_sun_sat",
66
66
  "last_year",
67
- "maximum",
67
+ "lifetime",
68
68
  "this_month",
69
69
  "this_quarter",
70
70
  "this_week_mon_today",
@@ -753,6 +753,12 @@ module FacebookAds
753
753
  edge.get 'IgUser'
754
754
  end
755
755
 
756
+ has_edge :connected_instagram_accounts_with_iabp do |edge|
757
+ edge.get 'InstagramUser' do |api|
758
+ api.has_param :business_id, 'string'
759
+ end
760
+ end
761
+
756
762
  has_edge :conversion_goals do |edge|
757
763
  edge.get
758
764
  end
@@ -1174,6 +1180,10 @@ module FacebookAds
1174
1180
  end
1175
1181
  end
1176
1182
 
1183
+ has_edge :value_adjustment_rule_persona_groups do |edge|
1184
+ edge.get
1185
+ end
1186
+
1177
1187
  has_edge :value_adjustment_rules do |edge|
1178
1188
  edge.get
1179
1189
  end
@@ -22,6 +22,7 @@ module FacebookAds
22
22
  "ENABLE_ADVANTAGE_PLUS_CREATIVE",
23
23
  "ENABLE_ADVANTAGE_PLUS_PLACEMENTS",
24
24
  "ENABLE_AUTOFLOW",
25
+ "ENABLE_GEN_UNCROP",
25
26
  "ENABLE_SEMANTIC_BASED_AUDIENCE_EXPANSION",
26
27
  "ENDPOINT_PINGED",
27
28
  "ERROR",
@@ -52,9 +52,11 @@ module FacebookAds
52
52
  "AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW",
53
53
  "AUTOMATIC_PLACEMENTS",
54
54
  "AUTO_BID",
55
+ "BLENDED_ADS",
55
56
  "BROAD_TARGETING",
56
57
  "CAPI",
57
58
  "CAPI_PERFORMANCE_MATCH_KEY",
59
+ "CAPI_PERFORMANCE_MATCH_KEY_V2",
58
60
  "CASH_REWARDS_OPT_IN",
59
61
  "CONNECT_FACEBOOK_PAGE_TO_INSTAGRAM",
60
62
  "CONNECT_FACEBOOK_PAGE_TO_WHATSAPP",
@@ -72,10 +74,13 @@ module FacebookAds
72
74
  "CREATIVE_LIMITED_HOURLY",
73
75
  "CREATOR_ADS_PA_CONVERSION",
74
76
  "CTA",
77
+ "CTX_BUDGET_OPTIMIZATION",
75
78
  "DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS",
76
79
  "DEAD_LINK",
77
80
  "DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET",
78
81
  "ECOSYSTEM_BID_REDUCE_L1_CARDINALITY",
82
+ "EVC_APP_DUPLICATION_UPGRADE",
83
+ "EVC_WEB_DUPLICATION_UPGRADE",
79
84
  "FRAGMENTATION",
80
85
  "GES_TEST",
81
86
  "GUIDANCE_CENTER_CODE_GEN",
@@ -110,6 +115,7 @@ module FacebookAds
110
115
  "SHOPS_ADS",
111
116
  "SIGNALS_GROWTH_CAPI",
112
117
  "SIGNALS_GROWTH_CAPI_TABLE",
118
+ "SIGNALS_GROWTH_CAPI_V2",
113
119
  "SIX_PLUS_MANUAL_PLACEMENTS",
114
120
  "SPEND_LIMIT",
115
121
  "SYD_TEST_MODE",
@@ -27,6 +27,7 @@ module FacebookAds
27
27
  "LANDING_PAGE_VIEWS",
28
28
  "LEAD_GENERATION",
29
29
  "LINK_CLICKS",
30
+ "MEANINGFUL_CALL_ATTEMPT",
30
31
  "MESSAGING_APPOINTMENT_CONVERSION",
31
32
  "MESSAGING_PURCHASE_CONVERSION",
32
33
  "NONE",
@@ -13,15 +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 PageAboutStory < AdObject
16
+ class AdAssetBody < AdObject
17
17
 
18
- field :composed_text, { list: 'PageAboutStoryComposedBlock' }
19
- field :cover_photo, 'Photo'
20
- field :entity_map, { list: 'object' }
21
18
  field :id, 'string'
22
- field :is_published, 'bool'
23
- field :page_id, 'string'
24
- field :title, 'string'
19
+ field :text, 'string'
20
+ field :url_tags, 'string'
21
+ has_no_get
25
22
  has_no_post
26
23
  has_no_delete
27
24
 
@@ -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 AdAssetCallToActionType < 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
@@ -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 AdAssetDescription < AdObject
17
+
18
+ field :id, 'string'
19
+ field :text, 'string'
20
+ field :url_tags, 'string'
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -48,6 +48,7 @@ module FacebookAds
48
48
  "INQUIRE_NOW",
49
49
  "INSTALL_APP",
50
50
  "INSTALL_MOBILE_APP",
51
+ "JOIN_CHANNEL",
51
52
  "LEARN_MORE",
52
53
  "LIKE_PAGE",
53
54
  "LISTEN_MUSIC",
@@ -0,0 +1,30 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+
4
+ # This source code is licensed under the license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ # FB:AUTOGEN
8
+
9
+ module FacebookAds
10
+ # This class is auto-generated.
11
+
12
+ # For any issues or feature requests related to this class, please let us know
13
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
14
+ # pull request for this class.
15
+
16
+ class AdAssetImage < AdObject
17
+
18
+ field :hash, 'string'
19
+ field :id, 'string'
20
+ field :image_crops, 'AdsImageCrops'
21
+ field :name, 'string'
22
+ field :tag, 'string'
23
+ field :url, 'string'
24
+ field :url_tags, 'string'
25
+ has_no_get
26
+ has_no_post
27
+ has_no_delete
28
+
29
+ end
30
+ end
@@ -0,0 +1,32 @@
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 AdAssetLinkUrl < AdObject
17
+
18
+ field :android_deeplink_url, 'string'
19
+ field :carousel_see_more_url, 'string'
20
+ field :deeplink_url, 'string'
21
+ field :display_url, 'string'
22
+ field :id, 'string'
23
+ field :ipad_deeplink_url, 'string'
24
+ field :iphone_deeplink_url, 'string'
25
+ field :url_tags, 'string'
26
+ field :website_url, 'string'
27
+ has_no_get
28
+ has_no_post
29
+ has_no_delete
30
+
31
+ end
32
+ 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 AdAssetTitle < AdObject
17
+
18
+ field :id, 'string'
19
+ field :text, 'string'
20
+ field :url_tags, 'string'
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -0,0 +1,34 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+
4
+ # This source code is licensed under the license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ # FB:AUTOGEN
8
+
9
+ module FacebookAds
10
+ # This class is auto-generated.
11
+
12
+ # For any issues or feature requests related to this class, please let us know
13
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
14
+ # pull request for this class.
15
+
16
+ class AdAssetVideo < AdObject
17
+
18
+ field :caption_ids, { list: 'string' }
19
+ field :id, 'string'
20
+ field :source_image_url, 'string'
21
+ field :tag, 'string'
22
+ field :thumbnail_hash, 'string'
23
+ field :thumbnail_source, 'string'
24
+ field :thumbnail_url, 'string'
25
+ field :url, 'string'
26
+ field :url_tags, 'string'
27
+ field :video_id, 'string'
28
+ field :video_name, 'string'
29
+ has_no_get
30
+ has_no_post
31
+ has_no_delete
32
+
33
+ end
34
+ end
@@ -27,6 +27,7 @@ module FacebookAds
27
27
  "LANDING_PAGE_VIEWS",
28
28
  "LEAD_GENERATION",
29
29
  "LINK_CLICKS",
30
+ "MEANINGFUL_CALL_ATTEMPT",
30
31
  "MESSAGING_APPOINTMENT_CONVERSION",
31
32
  "MESSAGING_PURCHASE_CONVERSION",
32
33
  "NONE",
@@ -48,6 +48,7 @@ module FacebookAds
48
48
  "INQUIRE_NOW",
49
49
  "INSTALL_APP",
50
50
  "INSTALL_MOBILE_APP",
51
+ "JOIN_CHANNEL",
51
52
  "LEARN_MORE",
52
53
  "LIKE_PAGE",
53
54
  "LISTEN_MUSIC",
@@ -48,6 +48,7 @@ module FacebookAds
48
48
  "INQUIRE_NOW",
49
49
  "INSTALL_APP",
50
50
  "INSTALL_MOBILE_APP",
51
+ "JOIN_CHANNEL",
51
52
  "LEARN_MORE",
52
53
  "LIKE_PAGE",
53
54
  "LISTEN_MUSIC",
@@ -0,0 +1,30 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+
4
+ # This source code is licensed under the license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ # FB:AUTOGEN
8
+
9
+ module FacebookAds
10
+ # This class is auto-generated.
11
+
12
+ # For any issues or feature requests related to this class, please let us know
13
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
14
+ # pull request for this class.
15
+
16
+ class AdCreativePromotionMetadataSpec < AdObject
17
+
18
+ field :end_date, 'datetime'
19
+ field :id, 'string'
20
+ field :promotion_source, 'string'
21
+ field :promotion_type, 'string'
22
+ field :promotion_value, 'double'
23
+ field :required_code, 'string'
24
+ field :start_date, 'datetime'
25
+ has_no_get
26
+ has_no_post
27
+ has_no_delete
28
+
29
+ end
30
+ end
@@ -0,0 +1,26 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ # All rights reserved.
3
+
4
+ # This source code is licensed under the license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ # FB:AUTOGEN
8
+
9
+ module FacebookAds
10
+ # This class is auto-generated.
11
+
12
+ # For any issues or feature requests related to this class, please let us know
13
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
14
+ # pull request for this class.
15
+
16
+ class AdCreativeSiteLinksSpec < AdObject
17
+
18
+ field :site_link_title, 'string'
19
+ field :site_link_url, 'string'
20
+ has_no_id
21
+ has_no_get
22
+ has_no_post
23
+ has_no_delete
24
+
25
+ end
26
+ end
@@ -16,6 +16,8 @@ module FacebookAds
16
16
  class AdCreativeSourcingSpec < AdObject
17
17
 
18
18
  field :associated_product_set_id, 'string'
19
+ field :promotion_metadata_spec, { list: 'AdCreativePromotionMetadataSpec' }
20
+ field :site_links_spec, { list: 'AdCreativeSiteLinksSpec' }
19
21
  has_no_id
20
22
  has_no_get
21
23
  has_no_post
@@ -35,6 +35,7 @@ module FacebookAds
35
35
  "INSTAGRAM_EXPLORE_IMMERSIVE",
36
36
  "INSTAGRAM_FEED_WEB",
37
37
  "INSTAGRAM_FEED_WEB_M_SITE",
38
+ "INSTAGRAM_LEAD_GEN_MULTI_SUBMIT_ADS",
38
39
  "INSTAGRAM_PROFILE_FEED",
39
40
  "INSTAGRAM_PROFILE_REELS",
40
41
  "INSTAGRAM_REELS",
@@ -49,9 +50,11 @@ module FacebookAds
49
50
  "INSTANT_ARTICLE_RECIRCULATION_AD",
50
51
  "INSTANT_ARTICLE_STANDARD",
51
52
  "INSTREAM_BANNER_DESKTOP",
53
+ "INSTREAM_BANNER_IMMERSIVE_MOBILE",
52
54
  "INSTREAM_BANNER_MOBILE",
53
55
  "INSTREAM_VIDEO_DESKTOP",
54
56
  "INSTREAM_VIDEO_IMAGE",
57
+ "INSTREAM_VIDEO_IMMERSIVE_MOBILE",
55
58
  "INSTREAM_VIDEO_MOBILE",
56
59
  "JOB_BROWSER_DESKTOP",
57
60
  "JOB_BROWSER_MOBILE",
@@ -67,6 +70,7 @@ module FacebookAds
67
70
  "MOBILE_NATIVE",
68
71
  "RIGHT_COLUMN_STANDARD",
69
72
  "SUGGESTED_VIDEO_DESKTOP",
73
+ "SUGGESTED_VIDEO_IMMERSIVE_MOBILE",
70
74
  "SUGGESTED_VIDEO_MOBILE",
71
75
  "WATCH_FEED_HOME",
72
76
  "WATCH_FEED_MOBILE",
@@ -22,6 +22,7 @@ module FacebookAds
22
22
  "ENABLE_ADVANTAGE_PLUS_CREATIVE",
23
23
  "ENABLE_ADVANTAGE_PLUS_PLACEMENTS",
24
24
  "ENABLE_AUTOFLOW",
25
+ "ENABLE_GEN_UNCROP",
25
26
  "ENABLE_SEMANTIC_BASED_AUDIENCE_EXPANSION",
26
27
  "ENDPOINT_PINGED",
27
28
  "ERROR",
@@ -18,6 +18,7 @@ module FacebookAds
18
18
  "COST_CAP",
19
19
  "LOWEST_COST_WITHOUT_CAP",
20
20
  "LOWEST_COST_WITH_BID_CAP",
21
+ "LOWEST_COST_WITH_MIN_ROAS",
21
22
  ]
22
23
 
23
24
  BILLING_EVENT = [
@@ -64,6 +65,7 @@ module FacebookAds
64
65
  "LANDING_PAGE_VIEWS",
65
66
  "LEAD_GENERATION",
66
67
  "LINK_CLICKS",
68
+ "MEANINGFUL_CALL_ATTEMPT",
67
69
  "MESSAGING_APPOINTMENT_CONVERSION",
68
70
  "MESSAGING_PURCHASE_CONVERSION",
69
71
  "NONE",
@@ -88,35 +90,47 @@ module FacebookAds
88
90
  ]
89
91
 
90
92
  DATE_PRESET = [
91
- "data_maximum",
92
- "last_14d",
93
- "last_28d",
94
- "last_30d",
95
- "last_3d",
96
- "last_7d",
97
- "last_90d",
98
- "last_month",
99
- "last_quarter",
100
- "last_week_mon_sun",
101
- "last_week_sun_sat",
102
- "last_year",
103
- "maximum",
104
- "this_month",
105
- "this_quarter",
106
- "this_week_mon_today",
107
- "this_week_sun_today",
108
- "this_year",
109
- "today",
110
- "yesterday",
93
+ "DATA_MAXIMUM",
94
+ "LAST_14D",
95
+ "LAST_28D",
96
+ "LAST_30D",
97
+ "LAST_3D",
98
+ "LAST_7D",
99
+ "LAST_90D",
100
+ "LAST_MONTH",
101
+ "LAST_QUARTER",
102
+ "LAST_WEEK_MON_SUN",
103
+ "LAST_WEEK_SUN_SAT",
104
+ "LAST_YEAR",
105
+ "LIFETIME",
106
+ "THIS_MONTH",
107
+ "THIS_QUARTER",
108
+ "THIS_WEEK_MON_TODAY",
109
+ "THIS_WEEK_SUN_TODAY",
110
+ "THIS_YEAR",
111
+ "TODAY",
112
+ "YESTERDAY",
111
113
  ]
112
114
 
113
115
  DESTINATION_TYPE = [
114
116
  "APP",
115
117
  "APPLINKS_AUTOMATIC",
116
118
  "FACEBOOK",
119
+ "INSTAGRAM_DIRECT",
120
+ "MESSAGING_INSTAGRAM_DIRECT_MESSENGER",
121
+ "MESSAGING_INSTAGRAM_DIRECT_MESSENGER_WHATSAPP",
122
+ "MESSAGING_INSTAGRAM_DIRECT_WHATSAPP",
123
+ "MESSAGING_MESSENGER_WHATSAPP",
117
124
  "MESSENGER",
125
+ "ON_AD",
126
+ "ON_EVENT",
127
+ "ON_PAGE",
128
+ "ON_POST",
129
+ "ON_VIDEO",
130
+ "SHOP_AUTOMATIC",
118
131
  "UNDEFINED",
119
132
  "WEBSITE",
133
+ "WHATSAPP",
120
134
  ]
121
135
 
122
136
  EXECUTION_OPTIONS = [
@@ -28,7 +28,6 @@ module FacebookAds
28
28
  "APP_REREVIEW_SCREENCAST",
29
29
  "APP_REVIEW_SCREENCAST",
30
30
  "ASSET_MANAGER",
31
- "ATLAS_VIDEO",
32
31
  "AUDIO_BRIEF",
33
32
  "AUDIO_BROADCAST",
34
33
  "AUDIO_COMMENT",
@@ -44,6 +43,7 @@ module FacebookAds
44
43
  "COPYRIGHT_REFERENCE_IG_XPOST_VIDEO",
45
44
  "COPYRIGHT_REFERENCE_VIDEO",
46
45
  "CREATION_ML_PRECREATION",
46
+ "DATAGENIX_VIDEO",
47
47
  "DCO_AD_ASSET_FEED",
48
48
  "DCO_AUTOGEN_VIDEO",
49
49
  "DCO_TRIMMED_VIDEO",
@@ -64,6 +64,7 @@ module FacebookAds
64
64
  "FB_SHORTS_CONTENT_REMIXABLE",
65
65
  "FB_SHORTS_CROSS_META_POST",
66
66
  "FB_SHORTS_GROUP_POST",
67
+ "FB_SHORTS_LINKED_PRODUCT",
67
68
  "FB_SHORTS_PMV_POST",
68
69
  "FB_SHORTS_PMV_POST_NO_NEWSFEED_NOR_TIMELINE",
69
70
  "FB_SHORTS_POST",
@@ -39,6 +39,8 @@ module FacebookAds
39
39
  "action_type",
40
40
  "action_video_sound",
41
41
  "action_video_type",
42
+ "conversion_destination",
43
+ "signal_source_bucket",
42
44
  "standard_event_content_type",
43
45
  ]
44
46
 
@@ -55,6 +57,7 @@ module FacebookAds
55
57
  "body_asset",
56
58
  "call_to_action_asset",
57
59
  "coarse_conversion_value",
60
+ "conversion_destination",
58
61
  "country",
59
62
  "description_asset",
60
63
  "device_platform",
@@ -107,7 +110,7 @@ module FacebookAds
107
110
  "last_week_mon_sun",
108
111
  "last_week_sun_sat",
109
112
  "last_year",
110
- "maximum",
113
+ "lifetime",
111
114
  "this_month",
112
115
  "this_quarter",
113
116
  "this_week_mon_today",
@@ -135,6 +138,8 @@ module FacebookAds
135
138
  "action_type",
136
139
  "action_video_sound",
137
140
  "action_video_type",
141
+ "conversion_destination",
142
+ "signal_source_bucket",
138
143
  "standard_event_content_type",
139
144
  ]
140
145
 
@@ -137,10 +137,6 @@ module FacebookAds
137
137
  end
138
138
  end
139
139
 
140
- has_edge :meapitocapiconsolidationhelper do |edge|
141
- edge.post
142
- end
143
-
144
140
  has_edge :offline_event_uploads do |edge|
145
141
  edge.get 'OfflineConversionDataSetUpload' do |api|
146
142
  api.has_param :end_time, 'datetime'
@@ -0,0 +1,39 @@
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 AnalyticsSegment < AdObject
17
+
18
+ field :custom_audience_ineligiblity_reasons, { list: 'string' }
19
+ field :description, 'string'
20
+ field :estimated_custom_audience_size, 'int'
21
+ field :event_info_rules, { list: 'object' }
22
+ field :event_rules, { list: 'object' }
23
+ field :filter_set, 'string'
24
+ field :has_demographic_rules, 'bool'
25
+ field :id, 'string'
26
+ field :is_all_user, 'bool'
27
+ field :is_eligible_for_push_campaign, 'bool'
28
+ field :is_internal, 'bool'
29
+ field :name, 'string'
30
+ field :percentile_rules, { list: 'object' }
31
+ field :time_last_seen, 'int'
32
+ field :time_last_updated, 'int'
33
+ field :user_property_rules, { list: 'object' }
34
+ field :web_param_rules, { list: 'object' }
35
+ has_no_post
36
+ has_no_delete
37
+
38
+ end
39
+ end
@@ -0,0 +1,27 @@
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 BrandedContentShadowIgMediaId < AdObject
17
+
18
+ field :eligibility_errors, { list: 'string' }
19
+ field :id, 'string'
20
+ field :owner_id, 'string'
21
+ field :permalink, 'string'
22
+ has_no_get
23
+ has_no_post
24
+ has_no_delete
25
+
26
+ end
27
+ end