facebookbusiness 19.0.0 → 19.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad_account.rb +6 -1
  3. data/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb +1 -0
  4. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +12 -0
  5. data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
  6. data/lib/facebook_ads/ad_objects/{page_about_story.rb → ad_asset_body.rb} +4 -7
  7. data/lib/facebook_ads/ad_objects/ad_asset_call_to_action_type.rb +25 -0
  8. data/lib/facebook_ads/ad_objects/ad_asset_description.rb +26 -0
  9. data/lib/facebook_ads/ad_objects/ad_asset_feed_additional_data.rb +1 -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 +3 -2
  25. data/lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb +1 -0
  26. data/lib/facebook_ads/ad_objects/ads_insights.rb +14 -0
  27. data/lib/facebook_ads/ad_objects/ads_pixel.rb +0 -4
  28. data/lib/facebook_ads/ad_objects/album.rb +0 -1
  29. data/lib/facebook_ads/ad_objects/analytics_segment.rb +39 -0
  30. data/lib/facebook_ads/ad_objects/avatar.rb +1 -0
  31. data/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb +27 -0
  32. data/lib/facebook_ads/ad_objects/branded_content_shadow_ig_user_id.rb +24 -0
  33. data/lib/facebook_ads/ad_objects/business.rb +7 -1
  34. data/lib/facebook_ads/ad_objects/campaign.rb +1 -0
  35. data/lib/facebook_ads/ad_objects/catalog_sub_vertical_list.rb +0 -1
  36. data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +0 -7
  37. data/lib/facebook_ads/ad_objects/commerce_order.rb +1 -0
  38. data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +2 -0
  39. data/lib/facebook_ads/ad_objects/funding_source_details.rb +1 -0
  40. data/lib/facebook_ads/ad_objects/funding_source_details_coupon.rb +1 -0
  41. data/lib/facebook_ads/ad_objects/group.rb +5 -6
  42. data/lib/facebook_ads/ad_objects/ig_media.rb +8 -0
  43. data/lib/facebook_ads/ad_objects/ig_user.rb +29 -0
  44. data/lib/facebook_ads/ad_objects/insights_result.rb +1 -1
  45. data/lib/facebook_ads/ad_objects/insights_value.rb +34 -0
  46. data/lib/facebook_ads/ad_objects/instagram_insights_result.rb +0 -5
  47. data/lib/facebook_ads/ad_objects/instagram_user.rb +4 -0
  48. data/lib/facebook_ads/ad_objects/page.rb +23 -4
  49. data/lib/facebook_ads/ad_objects/product_catalog.rb +8 -5
  50. data/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb +12 -3
  51. data/lib/facebook_ads/ad_objects/product_feed.rb +1 -0
  52. data/lib/facebook_ads/ad_objects/product_group.rb +0 -3
  53. data/lib/facebook_ads/ad_objects/product_item.rb +20 -3
  54. data/lib/facebook_ads/ad_objects/server_side/action_source.rb +3 -0
  55. data/lib/facebook_ads/ad_objects/server_side/event.rb +22 -2
  56. data/lib/facebook_ads/ad_objects/server_side/messaging_channel.rb +27 -0
  57. data/lib/facebook_ads/ad_objects/server_side/user_data.rb +41 -3
  58. data/lib/facebook_ads/ad_objects/shop.rb +1 -0
  59. data/lib/facebook_ads/ad_objects/targeting.rb +2 -0
  60. data/lib/facebook_ads/ad_objects/targeting_automation.rb +27 -0
  61. data/lib/facebook_ads/ad_objects/user.rb +2 -3
  62. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +3 -0
  63. data/lib/facebook_ads/ad_objects/whats_app_business_partner_client_verification_submission.rb +30 -0
  64. data/lib/facebook_ads/version.rb +1 -1
  65. metadata +18 -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: ddfd24328db761b8d597320db3e5378bdbcb6ab01c8247cb35cc576ecb773110
4
+ data.tar.gz: '099e82cd26bc0b292abab50375e963321ab2dae0acab1e69bbd58d734dfd91f9'
5
5
  SHA512:
6
- metadata.gz: 705598d10524bd493c0f551e200eef2512613cf2b4c0f3a69f79df409244790fa73f8d2e6af86baaae1a19ded436b73147fcfcadc3c47ff45f7f6d7dd9379b66
7
- data.tar.gz: 1b1712c783f9d0c323d4b49fd64327fa4155d7e8eb8248418610cba2d95a947c585e8808c84fda51790d476e85f1001005d4adaa829d2711cacea25a4ea11005
6
+ metadata.gz: e74f3a23a360f6c1cd2bb1b70f2ce99c88ccff6c8184e88140b848df3ecca90fe59ff39137a36734cad740d2c56998fd4ae8f3b6a80b853816ef4863946fdeed
7
+ data.tar.gz: 56f45589f54748591fb1c796bf1de579be277b0d76ffcd61be50d76d5c0cd1e3151908f35ee45023611d88ca4d6fe74373e2cd97cb4642a05340d9e792eea31d
@@ -582,7 +582,6 @@ module FacebookAds
582
582
  api.has_param :fun_fact_toastee_id, 'int'
583
583
  api.has_param :guide, { list: { list: 'int' } }
584
584
  api.has_param :guide_enabled, 'bool'
585
- api.has_param :has_nickname, 'bool'
586
585
  api.has_param :holiday_card, 'string'
587
586
  api.has_param :initial_heading, 'int'
588
587
  api.has_param :initial_pitch, 'int'
@@ -753,6 +752,12 @@ module FacebookAds
753
752
  edge.get 'IgUser'
754
753
  end
755
754
 
755
+ has_edge :connected_instagram_accounts_with_iabp do |edge|
756
+ edge.get 'InstagramUser' do |api|
757
+ api.has_param :business_id, 'string'
758
+ end
759
+ end
760
+
756
761
  has_edge :conversion_goals do |edge|
757
762
  edge.get
758
763
  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",
@@ -41,6 +41,7 @@ module FacebookAds
41
41
  "APP_AEM_V2_INSTALLATION_PROMOTION",
42
42
  "ASC_BUDGET_OPTIMIZATION",
43
43
  "ASC_BUDGET_OPTIMIZATION_PFR",
44
+ "ASC_CREATION_PACKAGE",
44
45
  "ASPECT_RATIO",
45
46
  "ATLEAST_6_PLACEMENTS",
46
47
  "AUCTION_OVERLAP",
@@ -52,18 +53,22 @@ module FacebookAds
52
53
  "AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW",
53
54
  "AUTOMATIC_PLACEMENTS",
54
55
  "AUTO_BID",
56
+ "BLENDED_ADS",
55
57
  "BROAD_TARGETING",
56
58
  "CAPI",
57
59
  "CAPI_PERFORMANCE_MATCH_KEY",
60
+ "CAPI_PERFORMANCE_MATCH_KEY_V2",
58
61
  "CASH_REWARDS_OPT_IN",
59
62
  "CONNECT_FACEBOOK_PAGE_TO_INSTAGRAM",
60
63
  "CONNECT_FACEBOOK_PAGE_TO_WHATSAPP",
64
+ "CONVERSION_LEAD_ADS",
61
65
  "COST_GOAL",
62
66
  "COST_GOAL_BUDGET_LIMITED",
63
67
  "COST_GOAL_CPA_LIMITED",
64
68
  "COST_PER_RESULT",
65
69
  "CREATION_PACKAGE_UPGRADE_TO_ASC",
66
70
  "CREATION_PACKAGE_UPGRADE_TO_TLA",
71
+ "CREATION_PACKAGE_UPGRADE_TO_TMC",
67
72
  "CREATIVE_BADGE",
68
73
  "CREATIVE_DIVERSITY",
69
74
  "CREATIVE_FATIGUE",
@@ -72,16 +77,21 @@ module FacebookAds
72
77
  "CREATIVE_LIMITED_HOURLY",
73
78
  "CREATOR_ADS_PA_CONVERSION",
74
79
  "CTA",
80
+ "CTX_BUDGET_OPTIMIZATION",
81
+ "CTX_GUIDANCE",
75
82
  "DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS",
76
83
  "DEAD_LINK",
77
84
  "DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET",
78
85
  "ECOSYSTEM_BID_REDUCE_L1_CARDINALITY",
86
+ "EVC_APP_DUPLICATION_UPGRADE",
87
+ "EVC_WEB_DUPLICATION_UPGRADE",
79
88
  "FRAGMENTATION",
80
89
  "GES_TEST",
81
90
  "GUIDANCE_CENTER_CODE_GEN",
82
91
  "HIGH_COST",
83
92
  "HISTORICAL_BENCHMARK",
84
93
  "IG_MULTI_ADS",
94
+ "LEAD_ADS_GUIDANCE",
85
95
  "LEARNING_LIMITED",
86
96
  "LEARNING_PAUSE_FRICTION",
87
97
  "LEARNING_PHASE_BUDGET_EDITS",
@@ -110,10 +120,12 @@ module FacebookAds
110
120
  "SHOPS_ADS",
111
121
  "SIGNALS_GROWTH_CAPI",
112
122
  "SIGNALS_GROWTH_CAPI_TABLE",
123
+ "SIGNALS_GROWTH_CAPI_V2",
113
124
  "SIX_PLUS_MANUAL_PLACEMENTS",
114
125
  "SPEND_LIMIT",
115
126
  "SYD_TEST_MODE",
116
127
  "TAILORED_LEAD_AD_CAMPAIGN",
128
+ "TAILORED_MESSAGES_CAMPAIGN",
117
129
  "TOP_ADSETS_WITH_ADS_UNDER_CAP",
118
130
  "TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP",
119
131
  "TWO_P_GUIDANCE_CARD_AAA",
@@ -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
@@ -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
@@ -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
+ "MAXIMUM",
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",
@@ -114,6 +115,7 @@ module FacebookAds
114
115
  "MUSIC_CLIP_IN_AUDIO_DIGEST",
115
116
  "MUSIC_CLIP_IN_COMMENT",
116
117
  "MUSIC_CLIP_IN_LIGHTWEIGHT_STATUS",
118
+ "MUSIC_CLIP_IN_MSGR_NOTE",
117
119
  "MUSIC_CLIP_IN_POLL_OPTION",
118
120
  "MUSIC_CLIP_ON_DATING_PROFILE",
119
121
  "NEO_ASYNC_GAME_VIDEO",
@@ -363,7 +365,6 @@ module FacebookAds
363
365
  field :fun_fact_toastee_id, 'int'
364
366
  field :guide, { list: { list: 'int' } }
365
367
  field :guide_enabled, 'bool'
366
- field :has_nickname, 'bool'
367
368
  field :holiday_card, 'string'
368
369
  field :initial_heading, 'int'
369
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",
@@ -39,6 +43,10 @@ module FacebookAds
39
43
  "action_type",
40
44
  "action_video_sound",
41
45
  "action_video_type",
46
+ "conversion_destination",
47
+ "matched_persona_id",
48
+ "matched_persona_name",
49
+ "signal_source_bucket",
42
50
  "standard_event_content_type",
43
51
  ]
44
52
 
@@ -55,6 +63,7 @@ module FacebookAds
55
63
  "body_asset",
56
64
  "call_to_action_asset",
57
65
  "coarse_conversion_value",
66
+ "conversion_destination",
58
67
  "country",
59
68
  "description_asset",
60
69
  "device_platform",
@@ -135,6 +144,10 @@ module FacebookAds
135
144
  "action_type",
136
145
  "action_video_sound",
137
146
  "action_video_type",
147
+ "conversion_destination",
148
+ "matched_persona_id",
149
+ "matched_persona_name",
150
+ "signal_source_bucket",
138
151
  "standard_event_content_type",
139
152
  ]
140
153
 
@@ -227,6 +240,7 @@ module FacebookAds
227
240
  field :marketing_messages_cost_per_delivered, 'string'
228
241
  field :marketing_messages_cost_per_link_btn_click, 'string'
229
242
  field :marketing_messages_spend, 'string'
243
+ field :marketing_messages_website_purchase_values, 'string'
230
244
  field :mobile_app_purchase_roas, { list: 'AdsActionStats' }
231
245
  field :objective, 'string'
232
246
  field :optimization_goal, 'string'
@@ -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'