facebookbusiness 18.0.2 → 18.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/facebook_ads/ad_objects/ad.rb +0 -6
- data/lib/facebook_ads/ad_objects/ad_account.rb +1 -1
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +21 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_additional_data.rb +29 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +7 -5
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_call_to_action.rb +27 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel.rb +28 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel_child_attachment.rb +34 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_events.rb +24 -0
- data/lib/facebook_ads/ad_objects/ad_asset_onsite_destinations.rb +28 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -1
- data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb +2 -1
- data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads_partners.rb +28 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_set.rb +9 -0
- data/lib/facebook_ads/ad_objects/ad_video.rb +1 -0
- data/lib/facebook_ads/ad_objects/ads_insights.rb +2 -0
- data/lib/facebook_ads/ad_objects/application.rb +2 -6
- data/lib/facebook_ads/ad_objects/business.rb +1 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +9 -0
- data/lib/facebook_ads/ad_objects/ctx_partner_app_welcome_message_flow.rb +29 -0
- data/lib/facebook_ads/ad_objects/custom_audience.rb +1 -0
- data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +1 -0
- data/lib/facebook_ads/ad_objects/has_lead_access.rb +33 -0
- data/lib/facebook_ads/ad_objects/managed_partner_business.rb +1 -1
- data/lib/facebook_ads/ad_objects/managed_partner_extended_credit.rb +26 -0
- data/lib/facebook_ads/ad_objects/messenger_profile.rb +1 -0
- data/lib/facebook_ads/ad_objects/page.rb +24 -2
- data/lib/facebook_ads/ad_objects/page_post_experiment.rb +14 -2
- data/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +8 -0
- data/lib/facebook_ads/ad_objects/shop.rb +2 -0
- data/lib/facebook_ads/ad_objects/user.rb +4 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +3 -9
- data/lib/facebook_ads/ad_objects/whats_app_business_health_status.rb +28 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_health_status_for_message_send.rb +26 -0
- data/lib/facebook_ads/ad_objects/whitehat_fbdl_run.rb +30 -0
- data/lib/facebook_ads/version.rb +1 -1
- metadata +15 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c83c6d60fa4cd7bb471edc806bdf737d897186e8c046d9798888b0ad6152fec2
|
4
|
+
data.tar.gz: b412a69cfca2338c8a4817fc38a1dda92e8ab92973bc44accd208fe5dffbbe52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d33f70ea4c404f641d66b8c1deb343be18a507f0efdfdfc5250e6843ac2f70f8ae6ad0506485bf2203beab3a1ae1a1a0659d06eba212e181f007e790aa22eb8e
|
7
|
+
data.tar.gz: b6553cdbef6553182a17355e436c39add6f07656bd2fba07a7ca62eb6d0564b6f1ecc2de23ad30f1ba1737d8514b4cc0dbeaa192d2bb66163da40152ddee4562
|
@@ -80,11 +80,6 @@ module FacebookAds
|
|
80
80
|
"validate_only",
|
81
81
|
]
|
82
82
|
|
83
|
-
META_REWARD_ADGROUP_STATUS = [
|
84
|
-
"ACTIVE",
|
85
|
-
"INACTIVE",
|
86
|
-
]
|
87
|
-
|
88
83
|
OPERATOR = [
|
89
84
|
"ALL",
|
90
85
|
"ANY",
|
@@ -123,7 +118,6 @@ module FacebookAds
|
|
123
118
|
field :id, 'string'
|
124
119
|
field :issues_info, { list: 'AdgroupIssuesInfo' }
|
125
120
|
field :last_updated_by_app_id, 'string'
|
126
|
-
field :meta_reward_adgroup_status, 'string'
|
127
121
|
field :name, 'string'
|
128
122
|
field :preview_shareable_link, 'string'
|
129
123
|
field :priority, 'int'
|
@@ -410,7 +410,6 @@ module FacebookAds
|
|
410
410
|
api.has_param :engagement_audience, 'bool'
|
411
411
|
api.has_param :execution_options, { list: { enum: -> { Ad::EXECUTION_OPTIONS }} }
|
412
412
|
api.has_param :include_demolink_hashes, 'bool'
|
413
|
-
api.has_param :meta_reward_adgroup_status, { enum: -> { Ad::META_REWARD_ADGROUP_STATUS }}
|
414
413
|
api.has_param :name, 'string'
|
415
414
|
api.has_param :priority, 'int'
|
416
415
|
api.has_param :source_ad_id, 'string'
|
@@ -789,6 +788,7 @@ module FacebookAds
|
|
789
788
|
api.has_param :subtype, { enum: -> { CustomAudience::SUBTYPE }}
|
790
789
|
api.has_param :use_in_campaigns, 'bool'
|
791
790
|
api.has_param :video_group_ids, { list: 'string' }
|
791
|
+
api.has_param :whats_app_business_phone_number_id, 'string'
|
792
792
|
end
|
793
793
|
end
|
794
794
|
|
@@ -16,9 +16,11 @@ module FacebookAds
|
|
16
16
|
class AdAccountAdVolume < AdObject
|
17
17
|
RECOMMENDATION_TYPE = [
|
18
18
|
"AB_TEST",
|
19
|
+
"ACCOUNT_SPEND_LIMIT",
|
19
20
|
"ACO_TOGGLE",
|
20
21
|
"ADS_REPORTING",
|
21
22
|
"ADVANCED_CAMPAIGN_BUDGET",
|
23
|
+
"ADVANTAGE_CUSTOM_AUDIENCE",
|
22
24
|
"ADVANTAGE_CUSTOM_AUDIENCE_UPSELL",
|
23
25
|
"ADVANTAGE_PLUS_AUDIENCE_FRICTION",
|
24
26
|
"ADVANTAGE_PLUS_AUDIENCE_TOGGLE",
|
@@ -31,10 +33,16 @@ module FacebookAds
|
|
31
33
|
"AGGREGATED_BID_LIMITED",
|
32
34
|
"AGGREGATED_BUDGET_LIMITED",
|
33
35
|
"AGGREGATED_COST_LIMITED",
|
36
|
+
"APP_AEM_V2_INSTALLATION_PROMOTION",
|
37
|
+
"ASC_BUDGET_OPTIMIZATION",
|
38
|
+
"ASC_BUDGET_OPTIMIZATION_PFR",
|
39
|
+
"ASPECT_RATIO",
|
40
|
+
"ATLEAST_6_PLACEMENTS",
|
34
41
|
"AUCTION_OVERLAP",
|
35
42
|
"AUCTION_OVERLAP_CONSOLIDATION",
|
36
43
|
"AUDIENCE_EXPANSION",
|
37
44
|
"AUDIENCE_EXPANSION_RETARGETING",
|
45
|
+
"AUDIENCE_LEARNING_LIMITED",
|
38
46
|
"AUTOFLOW_OPT_IN",
|
39
47
|
"AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW",
|
40
48
|
"AUTOMATIC_PLACEMENTS",
|
@@ -50,7 +58,9 @@ module FacebookAds
|
|
50
58
|
"COST_GOAL_CPA_LIMITED",
|
51
59
|
"COST_PER_RESULT",
|
52
60
|
"CREATION_PACKAGE_UPGRADE_TO_ASC",
|
61
|
+
"CREATION_PACKAGE_UPGRADE_TO_TLA",
|
53
62
|
"CREATIVE_BADGE",
|
63
|
+
"CREATIVE_DIVERSITY",
|
54
64
|
"CREATIVE_FATIGUE",
|
55
65
|
"CREATIVE_FATIGUE_HOURLY",
|
56
66
|
"CREATIVE_LIMITED",
|
@@ -64,8 +74,11 @@ module FacebookAds
|
|
64
74
|
"FRAGMENTATION",
|
65
75
|
"GES_TEST",
|
66
76
|
"GUIDANCE_CENTER_CODE_GEN",
|
77
|
+
"HIGH_COST",
|
78
|
+
"HISTORICAL_BENCHMARK",
|
67
79
|
"LEARNING_LIMITED",
|
68
80
|
"LEARNING_PAUSE_FRICTION",
|
81
|
+
"LEARNING_PHASE_BUDGET_EDITS",
|
69
82
|
"LOW_OUTCOME",
|
70
83
|
"MERLIN_GUIDANCE",
|
71
84
|
"MIXED_PA_COMBINE_ADSETS",
|
@@ -74,6 +87,7 @@ module FacebookAds
|
|
74
87
|
"MR_AEMV2SUB_KCONSOLIDATION",
|
75
88
|
"MULTI_TEXT",
|
76
89
|
"MUSIC",
|
90
|
+
"NOT_APPLICABLE",
|
77
91
|
"OPTIMAL_BAU",
|
78
92
|
"PAYMENT_METHOD",
|
79
93
|
"PERFORMANT_CREATIVE_REELS_OPT_IN",
|
@@ -81,6 +95,8 @@ module FacebookAds
|
|
81
95
|
"PREDICTIVE_CREATIVE_LIMITED",
|
82
96
|
"PREDICTIVE_CREATIVE_LIMITED_HOURLY",
|
83
97
|
"RAPID_LEARNING_LIMITED",
|
98
|
+
"RAPID_LEARNING_PHASE",
|
99
|
+
"REELS_DUPLICATION_UPSELL",
|
84
100
|
"REVERT",
|
85
101
|
"SCALE_GOOD_CAMPAIGN",
|
86
102
|
"SEMANTIC_BASED_AUDIENCE_EXPANSION",
|
@@ -93,10 +109,15 @@ module FacebookAds
|
|
93
109
|
"SYD_TEST_MODE",
|
94
110
|
"TOP_ADSETS_WITH_ADS_UNDER_CAP",
|
95
111
|
"TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP",
|
112
|
+
"TWO_P_GUIDANCE_CARD_AAA",
|
113
|
+
"TWO_P_GUIDANCE_CARD_AUTO_PLACEMENT",
|
114
|
+
"TWO_P_GUIDANCE_CARD_CBO_OFF",
|
115
|
+
"TWO_P_GUIDANCE_CARD_CTM_PREFLIGHT",
|
96
116
|
"UNCROP_IMAGE",
|
97
117
|
"UNECONOMICAL_ADS_THROTTLING",
|
98
118
|
"UNUSED_BUDGET",
|
99
119
|
"VIDEO_LENGTH",
|
120
|
+
"ZERO_CONVERSION",
|
100
121
|
"ZERO_IMPRESSION",
|
101
122
|
]
|
102
123
|
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class AdAssetFeedAdditionalData < AdObject
|
17
|
+
|
18
|
+
field :automated_product_tags, 'bool'
|
19
|
+
field :brand_page_id, 'string'
|
20
|
+
field :is_click_to_message, 'bool'
|
21
|
+
field :multi_share_end_card, 'bool'
|
22
|
+
field :page_welcome_message, 'string'
|
23
|
+
has_no_id
|
24
|
+
has_no_get
|
25
|
+
has_no_post
|
26
|
+
has_no_delete
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
@@ -54,7 +54,6 @@ module FacebookAds
|
|
54
54
|
"LISTEN_NOW",
|
55
55
|
"MESSAGE_PAGE",
|
56
56
|
"MOBILE_DOWNLOAD",
|
57
|
-
"MOMENTS",
|
58
57
|
"NO_BUTTON",
|
59
58
|
"OPEN_INSTANT_APP",
|
60
59
|
"OPEN_LINK",
|
@@ -95,22 +94,25 @@ module FacebookAds
|
|
95
94
|
|
96
95
|
|
97
96
|
field :ad_formats, { list: 'string' }
|
98
|
-
field :additional_data, '
|
97
|
+
field :additional_data, 'AdAssetFeedAdditionalData'
|
99
98
|
field :app_product_page_id, 'string'
|
100
99
|
field :asset_customization_rules, { list: 'AdAssetFeedSpecAssetCustomizationRule' }
|
101
100
|
field :autotranslate, { list: 'string' }
|
102
101
|
field :bodies, { list: 'AdAssetFeedSpecBody' }
|
103
102
|
field :call_to_action_types, { list: { enum: -> { CALL_TO_ACTION_TYPES }} }
|
104
|
-
field :call_to_actions, { list: '
|
103
|
+
field :call_to_actions, { list: 'AdAssetFeedSpecCallToAction' }
|
105
104
|
field :captions, { list: 'AdAssetFeedSpecCaption' }
|
106
|
-
field :carousels, { list: '
|
105
|
+
field :carousels, { list: 'AdAssetFeedSpecCarousel' }
|
107
106
|
field :descriptions, { list: 'AdAssetFeedSpecDescription' }
|
108
|
-
field :events, { list: '
|
107
|
+
field :events, { list: 'AdAssetFeedSpecEvents' }
|
109
108
|
field :groups, { list: 'AdAssetFeedSpecGroupRule' }
|
110
109
|
field :images, { list: 'AdAssetFeedSpecImage' }
|
111
110
|
field :link_urls, { list: 'AdAssetFeedSpecLinkUrl' }
|
112
111
|
field :message_extensions, { list: 'AdAssetMessageExtensions' }
|
112
|
+
field :onsite_destinations, { list: 'AdAssetOnsiteDestinations' }
|
113
113
|
field :optimization_type, 'string'
|
114
|
+
field :reasons_to_shop, 'bool'
|
115
|
+
field :shops_bundle, 'bool'
|
114
116
|
field :titles, { list: 'AdAssetFeedSpecTitle' }
|
115
117
|
field :videos, { list: 'AdAssetFeedSpecVideo' }
|
116
118
|
has_no_id
|
@@ -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 AdAssetFeedSpecCallToAction < AdObject
|
17
|
+
|
18
|
+
field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
|
19
|
+
field :type, 'string'
|
20
|
+
field :value, 'AdCreativeLinkDataCallToActionValue'
|
21
|
+
has_no_id
|
22
|
+
has_no_get
|
23
|
+
has_no_post
|
24
|
+
has_no_delete
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
@@ -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 AdAssetFeedSpecCarousel < AdObject
|
17
|
+
|
18
|
+
field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
|
19
|
+
field :child_attachments, { list: 'AdAssetFeedSpecCarouselChildAttachment' }
|
20
|
+
field :multi_share_end_card, 'bool'
|
21
|
+
field :multi_share_optimized, 'bool'
|
22
|
+
has_no_id
|
23
|
+
has_no_get
|
24
|
+
has_no_post
|
25
|
+
has_no_delete
|
26
|
+
|
27
|
+
end
|
28
|
+
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 AdAssetFeedSpecCarouselChildAttachment < AdObject
|
17
|
+
|
18
|
+
field :body_label, 'AdAssetFeedSpecAssetLabel'
|
19
|
+
field :call_to_action_type_label, 'AdAssetFeedSpecAssetLabel'
|
20
|
+
field :caption_label, 'AdAssetFeedSpecAssetLabel'
|
21
|
+
field :description_label, 'AdAssetFeedSpecAssetLabel'
|
22
|
+
field :image_label, 'AdAssetFeedSpecAssetLabel'
|
23
|
+
field :link_url_label, 'AdAssetFeedSpecAssetLabel'
|
24
|
+
field :phone_data_ids_label, 'AdAssetFeedSpecAssetLabel'
|
25
|
+
field :static_card, 'bool'
|
26
|
+
field :title_label, 'AdAssetFeedSpecAssetLabel'
|
27
|
+
field :video_label, 'AdAssetFeedSpecAssetLabel'
|
28
|
+
has_no_id
|
29
|
+
has_no_get
|
30
|
+
has_no_post
|
31
|
+
has_no_delete
|
32
|
+
|
33
|
+
end
|
34
|
+
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 AdAssetFeedSpecEvents < 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,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 AdAssetOnsiteDestinations < AdObject
|
17
|
+
|
18
|
+
field :auto_optimization, 'string'
|
19
|
+
field :details_page_product_id, 'string'
|
20
|
+
field :shop_collection_product_set_id, 'string'
|
21
|
+
field :storefront_shop_id, 'string'
|
22
|
+
has_no_id
|
23
|
+
has_no_get
|
24
|
+
has_no_post
|
25
|
+
has_no_delete
|
26
|
+
|
27
|
+
end
|
28
|
+
end
|
@@ -54,7 +54,6 @@ module FacebookAds
|
|
54
54
|
"LISTEN_NOW",
|
55
55
|
"MESSAGE_PAGE",
|
56
56
|
"MOBILE_DOWNLOAD",
|
57
|
-
"MOMENTS",
|
58
57
|
"NO_BUTTON",
|
59
58
|
"OPEN_INSTANT_APP",
|
60
59
|
"OPEN_LINK",
|
@@ -201,6 +200,7 @@ module FacebookAds
|
|
201
200
|
field :object_type, { enum: -> { OBJECT_TYPE }}
|
202
201
|
field :object_url, 'string'
|
203
202
|
field :omnichannel_link_spec, 'AdCreativeOmnichannelLinkSpec'
|
203
|
+
field :photo_album_source_object_story_id, 'string'
|
204
204
|
field :place_page_set_id, 'string'
|
205
205
|
field :platform_customizations, 'AdCreativePlatformCustomization'
|
206
206
|
field :playable_asset_id, 'string'
|
@@ -18,7 +18,8 @@ module FacebookAds
|
|
18
18
|
field :ad_format, 'int'
|
19
19
|
field :creator_ad_permission_type, 'string'
|
20
20
|
field :instagram_boost_post_access_token, 'string'
|
21
|
-
field :
|
21
|
+
field :is_mca_internal, 'bool'
|
22
|
+
field :partners, { list: 'AdCreativeBrandedContentAdsPartners' }
|
22
23
|
field :ui_version, 'int'
|
23
24
|
has_no_id
|
24
25
|
has_no_get
|
@@ -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 AdCreativeBrandedContentAdsPartners < AdObject
|
17
|
+
|
18
|
+
field :fb_page_id, 'string'
|
19
|
+
field :identity_type, 'string'
|
20
|
+
field :ig_asset_id, 'string'
|
21
|
+
field :ig_user_id, 'string'
|
22
|
+
has_no_id
|
23
|
+
has_no_get
|
24
|
+
has_no_post
|
25
|
+
has_no_delete
|
26
|
+
|
27
|
+
end
|
28
|
+
end
|
@@ -27,6 +27,7 @@ module FacebookAds
|
|
27
27
|
field :additional_image_index, 'int'
|
28
28
|
field :app_link_spec, 'AdCreativeLinkDataAppLinkSpec'
|
29
29
|
field :attachment_style, 'string'
|
30
|
+
field :automated_product_tags, 'bool'
|
30
31
|
field :branded_content_shared_to_sponsor_status, 'string'
|
31
32
|
field :branded_content_sponsor_page_id, 'string'
|
32
33
|
field :call_to_action, 'AdCreativeLinkDataCallToAction'
|
@@ -294,6 +294,15 @@ module FacebookAds
|
|
294
294
|
end
|
295
295
|
end
|
296
296
|
|
297
|
+
has_edge :budget_schedules do |edge|
|
298
|
+
edge.post 'HighDemandPeriod' do |api|
|
299
|
+
api.has_param :budget_value, 'int'
|
300
|
+
api.has_param :budget_value_type, { enum: -> { HighDemandPeriod::BUDGET_VALUE_TYPE }}
|
301
|
+
api.has_param :time_end, 'int'
|
302
|
+
api.has_param :time_start, 'int'
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
297
306
|
has_edge :copies do |edge|
|
298
307
|
edge.get 'AdSet' do |api|
|
299
308
|
api.has_param :date_preset, { enum: -> { AdSet::DATE_PRESET }}
|
@@ -167,6 +167,7 @@ module FacebookAds
|
|
167
167
|
field :catalog_segment_value_omni_purchase_roas, { list: 'AdsActionStats' }
|
168
168
|
field :catalog_segment_value_website_purchase_roas, { list: 'AdsActionStats' }
|
169
169
|
field :clicks, 'string'
|
170
|
+
field :conversion_lead_rate, 'string'
|
170
171
|
field :conversion_rate_ranking, 'string'
|
171
172
|
field :conversion_values, { list: 'AdsActionStats' }
|
172
173
|
field :conversions, { list: 'AdsActionStats' }
|
@@ -177,6 +178,7 @@ module FacebookAds
|
|
177
178
|
field :cost_per_action_type, { list: 'AdsActionStats' }
|
178
179
|
field :cost_per_ad_click, { list: 'AdsActionStats' }
|
179
180
|
field :cost_per_conversion, { list: 'AdsActionStats' }
|
181
|
+
field :cost_per_conversion_lead, 'string'
|
180
182
|
field :cost_per_dda_countby_convs, 'string'
|
181
183
|
field :cost_per_estimated_ad_recallers, 'string'
|
182
184
|
field :cost_per_inline_link_click, 'string'
|
@@ -102,6 +102,8 @@ module FacebookAds
|
|
102
102
|
field :auto_event_mapping_android, { list: 'object' }
|
103
103
|
field :auto_event_mapping_ios, { list: 'object' }
|
104
104
|
field :auto_event_setup_enabled, 'bool'
|
105
|
+
field :auto_log_app_events_default, 'bool'
|
106
|
+
field :auto_log_app_events_enabled, 'bool'
|
105
107
|
field :business, 'Business'
|
106
108
|
field :canvas_fluid_height, 'bool'
|
107
109
|
field :canvas_fluid_width, 'int'
|
@@ -396,12 +398,6 @@ module FacebookAds
|
|
396
398
|
end
|
397
399
|
end
|
398
400
|
|
399
|
-
has_edge :banned do |edge|
|
400
|
-
edge.get 'User' do |api|
|
401
|
-
api.has_param :uid, 'int'
|
402
|
-
end
|
403
|
-
end
|
404
|
-
|
405
401
|
has_edge :button_auto_detection_device_selection do |edge|
|
406
402
|
edge.get do |api|
|
407
403
|
api.has_param :device_id, 'string'
|
@@ -715,6 +715,7 @@ module FacebookAds
|
|
715
715
|
api.has_param :sales_rep_email, 'string'
|
716
716
|
api.has_param :seller_external_website_url, 'string'
|
717
717
|
api.has_param :seller_targeting_countries, { list: 'string' }
|
718
|
+
api.has_param :skip_partner_page_creation, 'bool'
|
718
719
|
api.has_param :survey_business_type, { enum: %w{ADVERTISER AGENCY APP_DEVELOPER PUBLISHER }}
|
719
720
|
api.has_param :survey_num_assets, 'int'
|
720
721
|
api.has_param :survey_num_people, 'int'
|
@@ -463,6 +463,15 @@ module FacebookAds
|
|
463
463
|
end
|
464
464
|
end
|
465
465
|
|
466
|
+
has_edge :budget_schedules do |edge|
|
467
|
+
edge.post 'HighDemandPeriod' do |api|
|
468
|
+
api.has_param :budget_value, 'int'
|
469
|
+
api.has_param :budget_value_type, { enum: -> { HighDemandPeriod::BUDGET_VALUE_TYPE }}
|
470
|
+
api.has_param :time_end, 'int'
|
471
|
+
api.has_param :time_start, 'int'
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
466
475
|
has_edge :copies do |edge|
|
467
476
|
edge.get 'Campaign' do |api|
|
468
477
|
api.has_param :date_preset, { enum: -> { Campaign::DATE_PRESET }}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class CtxPartnerAppWelcomeMessageFlow < AdObject
|
17
|
+
|
18
|
+
field :compatible_platforms, { list: 'string' }
|
19
|
+
field :eligible_platforms, { list: 'string' }
|
20
|
+
field :id, 'string'
|
21
|
+
field :is_used_in_ad, 'bool'
|
22
|
+
field :last_update_time, 'datetime'
|
23
|
+
field :name, 'string'
|
24
|
+
field :welcome_message_flow, 'string'
|
25
|
+
has_no_post
|
26
|
+
has_no_delete
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
@@ -134,6 +134,7 @@ module FacebookAds
|
|
134
134
|
field :product_set_id, 'string'
|
135
135
|
field :use_in_campaigns, 'bool'
|
136
136
|
field :video_group_ids, { list: 'string' }
|
137
|
+
field :whats_app_business_phone_number_id, 'string'
|
137
138
|
|
138
139
|
has_edge :adaccounts do |edge|
|
139
140
|
edge.delete do |api|
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class HasLeadAccess < AdObject
|
17
|
+
|
18
|
+
field :app_has_leads_permission, 'bool'
|
19
|
+
field :can_access_lead, 'bool'
|
20
|
+
field :enabled_lead_access_manager, 'bool'
|
21
|
+
field :failure_reason, 'string'
|
22
|
+
field :failure_resolution, 'string'
|
23
|
+
field :is_page_admin, 'bool'
|
24
|
+
field :page_id, 'string'
|
25
|
+
field :user_has_leads_permission, 'bool'
|
26
|
+
field :user_id, 'string'
|
27
|
+
has_no_id
|
28
|
+
has_no_get
|
29
|
+
has_no_post
|
30
|
+
has_no_delete
|
31
|
+
|
32
|
+
end
|
33
|
+
end
|
@@ -17,7 +17,7 @@ module FacebookAds
|
|
17
17
|
|
18
18
|
field :ad_account, 'AdAccount'
|
19
19
|
field :catalog_segment, 'ProductCatalog'
|
20
|
-
field :extended_credit, '
|
20
|
+
field :extended_credit, 'ManagedPartnerExtendedCredit'
|
21
21
|
field :page, 'Page'
|
22
22
|
field :seller_business_info, 'object'
|
23
23
|
field :seller_business_status, 'string'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class ManagedPartnerExtendedCredit < AdObject
|
17
|
+
|
18
|
+
field :id, 'string'
|
19
|
+
field :max_balance, 'CurrencyAmount'
|
20
|
+
field :receiving_credit_allocation_config, 'ExtendedCreditAllocationConfig'
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -433,6 +433,7 @@ module FacebookAds
|
|
433
433
|
field :global_brand_page_name, 'string'
|
434
434
|
field :global_brand_root_id, 'string'
|
435
435
|
field :has_added_app, 'bool'
|
436
|
+
field :has_lead_access, 'HasLeadAccess'
|
436
437
|
field :has_transitioned_to_new_page_experience, 'bool'
|
437
438
|
field :has_whatsapp_business_number, 'bool'
|
438
439
|
field :has_whatsapp_enterprise_number_using_cloud_api, 'bool'
|
@@ -534,6 +535,15 @@ module FacebookAds
|
|
534
535
|
|
535
536
|
has_edge :ab_tests do |edge|
|
536
537
|
edge.get 'PagePostExperiment'
|
538
|
+
edge.post 'PagePostExperiment' do |api|
|
539
|
+
api.has_param :control_video_id, 'string'
|
540
|
+
api.has_param :description, 'string'
|
541
|
+
api.has_param :duration, 'int'
|
542
|
+
api.has_param :experiment_video_ids, { list: 'string' }
|
543
|
+
api.has_param :name, 'string'
|
544
|
+
api.has_param :optimization_goal, { enum: -> { PagePostExperiment::OPTIMIZATION_GOAL }}
|
545
|
+
api.has_param :scheduled_experiment_timestamp, 'int'
|
546
|
+
end
|
537
547
|
end
|
538
548
|
|
539
549
|
has_edge :acknowledge_orders do |edge|
|
@@ -1102,7 +1112,7 @@ module FacebookAds
|
|
1102
1112
|
|
1103
1113
|
has_edge :messenger_profile do |edge|
|
1104
1114
|
edge.delete do |api|
|
1105
|
-
api.has_param :fields, { list: { enum: %w{ACCOUNT_LINKING_URL GET_STARTED GREETING HOME_URL ICE_BREAKERS PAYMENT_SETTINGS PERSISTENT_MENU PLATFORM SUBJECT_TO_NEW_EU_PRIVACY_RULES TARGET_AUDIENCE WHITELISTED_DOMAINS }} }
|
1115
|
+
api.has_param :fields, { list: { enum: %w{ACCOUNT_LINKING_URL COMMANDS DESCRIPTION GET_STARTED GREETING HOME_URL ICE_BREAKERS PAYMENT_SETTINGS PERSISTENT_MENU PLATFORM SUBJECT_TO_NEW_EU_PRIVACY_RULES TARGET_AUDIENCE TITLE WHITELISTED_DOMAINS }} }
|
1106
1116
|
api.has_param :platform, { enum: -> { Page::PLATFORM }}
|
1107
1117
|
end
|
1108
1118
|
edge.get 'MessengerProfile' do |api|
|
@@ -1110,6 +1120,8 @@ module FacebookAds
|
|
1110
1120
|
end
|
1111
1121
|
edge.post 'Page' do |api|
|
1112
1122
|
api.has_param :account_linking_url, 'string'
|
1123
|
+
api.has_param :commands, { list: 'object' }
|
1124
|
+
api.has_param :description, { list: 'object' }
|
1113
1125
|
api.has_param :get_started, 'object'
|
1114
1126
|
api.has_param :greeting, { list: 'object' }
|
1115
1127
|
api.has_param :ice_breakers, { list: 'hash' }
|
@@ -1117,6 +1129,7 @@ module FacebookAds
|
|
1117
1129
|
api.has_param :persistent_menu, { list: 'object' }
|
1118
1130
|
api.has_param :platform, { enum: -> { Page::PLATFORM }}
|
1119
1131
|
api.has_param :target_audience, 'object'
|
1132
|
+
api.has_param :title, { list: 'object' }
|
1120
1133
|
api.has_param :whitelisted_domains, { list: 'string' }
|
1121
1134
|
end
|
1122
1135
|
end
|
@@ -1592,10 +1605,19 @@ module FacebookAds
|
|
1592
1605
|
end
|
1593
1606
|
|
1594
1607
|
has_edge :welcome_message_flows do |edge|
|
1595
|
-
edge.
|
1608
|
+
edge.delete do |api|
|
1609
|
+
api.has_param :flow_id, 'string'
|
1610
|
+
end
|
1611
|
+
edge.get 'CtxPartnerAppWelcomeMessageFlow' do |api|
|
1596
1612
|
api.has_param :app_id, 'string'
|
1597
1613
|
api.has_param :flow_id, 'string'
|
1598
1614
|
end
|
1615
|
+
edge.post do |api|
|
1616
|
+
api.has_param :eligible_platforms, { list: { enum: %w{INSTAGRAM MESSENGER }} }
|
1617
|
+
api.has_param :flow_id, 'string'
|
1618
|
+
api.has_param :name, 'string'
|
1619
|
+
api.has_param :welcome_message_flow, { list: 'object' }
|
1620
|
+
end
|
1599
1621
|
end
|
1600
1622
|
|
1601
1623
|
end
|
@@ -14,6 +14,20 @@ module FacebookAds
|
|
14
14
|
# pull request for this class.
|
15
15
|
|
16
16
|
class PagePostExperiment < AdObject
|
17
|
+
OPTIMIZATION_GOAL = [
|
18
|
+
"AUTO_RESOLVE_TO_CONTROL",
|
19
|
+
"AVG_TIME_WATCHED",
|
20
|
+
"COMMENTS",
|
21
|
+
"IMPRESSIONS",
|
22
|
+
"IMPRESSIONS_UNIQUE",
|
23
|
+
"LINK_CLICKS",
|
24
|
+
"OTHER",
|
25
|
+
"REACTIONS",
|
26
|
+
"REELS_PLAYS",
|
27
|
+
"SHARES",
|
28
|
+
"VIDEO_VIEWS_60S",
|
29
|
+
]
|
30
|
+
|
17
31
|
|
18
32
|
field :auto_resolve_settings, 'object'
|
19
33
|
field :control_video_id, 'string'
|
@@ -27,13 +41,11 @@ module FacebookAds
|
|
27
41
|
field :insight_snapshots, { list: 'map<datetime, list<map<int, Object>>>' }
|
28
42
|
field :name, 'string'
|
29
43
|
field :optimization_goal, 'string'
|
30
|
-
field :post_variant_fields, { list: 'string' }
|
31
44
|
field :publish_status, 'string'
|
32
45
|
field :publish_time, 'datetime'
|
33
46
|
field :scheduled_experiment_timestamp, 'datetime'
|
34
47
|
field :updated_time, 'datetime'
|
35
48
|
has_no_post
|
36
|
-
has_no_delete
|
37
49
|
|
38
50
|
has_edge :video_insights do |edge|
|
39
51
|
edge.get
|
@@ -44,6 +44,7 @@ module FacebookAds
|
|
44
44
|
"ATTRIBUTES_MISSING",
|
45
45
|
"CATEGORY",
|
46
46
|
"CHECKOUT",
|
47
|
+
"DA_VISIBILITY_ISSUES",
|
47
48
|
"IMAGE_QUALITY",
|
48
49
|
"LOW_QUALITY_TITLE_AND_DESCRIPTION",
|
49
50
|
"POLICY_VIOLATION",
|
@@ -67,6 +68,7 @@ module FacebookAds
|
|
67
68
|
"ATTRIBUTES_MISSING",
|
68
69
|
"CATEGORY",
|
69
70
|
"CHECKOUT",
|
71
|
+
"DA_VISIBILITY_ISSUES",
|
70
72
|
"IMAGE_QUALITY",
|
71
73
|
"LOW_QUALITY_TITLE_AND_DESCRIPTION",
|
72
74
|
"POLICY_VIOLATION",
|
@@ -309,6 +309,8 @@ module FacebookAds
|
|
309
309
|
"AVAILABLE",
|
310
310
|
"BAD_QUALITY_IMAGE",
|
311
311
|
"CANNOT_EDIT_SUBSCRIPTION_PRODUCTS",
|
312
|
+
"CHECKOUT_DISABLED_BY_USER",
|
313
|
+
"COMMERCE_ACCOUNT_NOT_LEGALLY_COMPLIANT",
|
312
314
|
"CRAWLED_AVAILABILITY_MISMATCH",
|
313
315
|
"DA_DISABLED_BY_USER",
|
314
316
|
"DA_POLICY_VIOLATION",
|
@@ -320,6 +322,7 @@ module FacebookAds
|
|
320
322
|
"EMPTY_DESCRIPTION",
|
321
323
|
"EMPTY_PRODUCT_URL",
|
322
324
|
"EMPTY_SELLER_DESCRIPTION",
|
325
|
+
"EXTERNAL_MERCHANT_ID_MISMATCH",
|
323
326
|
"GENERIC_INVALID_FIELD",
|
324
327
|
"HIDDEN_UNTIL_PRODUCT_LAUNCH",
|
325
328
|
"IMAGE_FETCH_FAILED",
|
@@ -346,6 +349,7 @@ module FacebookAds
|
|
346
349
|
"ITEM_OVERRIDE_EMPTY_PRICE",
|
347
350
|
"ITEM_OVERRIDE_NOT_VISIBLE",
|
348
351
|
"ITEM_STALE_OUT_OF_STOCK",
|
352
|
+
"MARKETPLACE_DISABLED_BY_USER",
|
349
353
|
"MINI_SHOPS_DISABLED_BY_USER",
|
350
354
|
"MISSING_CHECKOUT",
|
351
355
|
"MISSING_CHECKOUT_CURRENCY",
|
@@ -357,9 +361,11 @@ module FacebookAds
|
|
357
361
|
"MISSING_TAX_CATEGORY",
|
358
362
|
"NEGATIVE_COMMUNITY_FEEDBACK",
|
359
363
|
"NOT_ENOUGH_IMAGES",
|
364
|
+
"NOT_ENOUGH_UNIQUE_PRODUCTS",
|
360
365
|
"PART_OF_PRODUCT_LAUNCH",
|
361
366
|
"PRODUCT_EXPIRED",
|
362
367
|
"PRODUCT_ITEM_HIDDEN_FROM_ALL_SHOPS",
|
368
|
+
"PRODUCT_ITEM_INVALID_PARTNER_TOKENS",
|
363
369
|
"PRODUCT_ITEM_NOT_INCLUDED_IN_ANY_SHOP",
|
364
370
|
"PRODUCT_ITEM_NOT_VISIBLE",
|
365
371
|
"PRODUCT_NOT_APPROVED",
|
@@ -384,6 +390,7 @@ module FacebookAds
|
|
384
390
|
"QUALITY_ITEM_LINK_BROKEN",
|
385
391
|
"QUALITY_ITEM_LINK_REDIRECTING",
|
386
392
|
"RETAILER_ID_NOT_PROVIDED",
|
393
|
+
"SHOPIFY_INVALID_RETAILER_ID",
|
387
394
|
"SHOPIFY_ITEM_MISSING_SHIPPING_PROFILE",
|
388
395
|
"SHOPS_POLICY_VIOLATION",
|
389
396
|
"SUBSCRIPTION_INFO_NOT_ENABLED_FOR_FEED",
|
@@ -735,6 +742,7 @@ module FacebookAds
|
|
735
742
|
field :short_description, 'string'
|
736
743
|
field :size, 'string'
|
737
744
|
field :start_date, 'string'
|
745
|
+
field :tags, { list: 'string' }
|
738
746
|
field :url, 'string'
|
739
747
|
field :video_fetch_status, { enum: -> { VIDEO_FETCH_STATUS }}
|
740
748
|
field :visibility, { enum: -> { VISIBILITY }}
|
@@ -45,6 +45,7 @@ module FacebookAds
|
|
45
45
|
field :country, 'string'
|
46
46
|
field :creation_time, 'int'
|
47
47
|
field :currency, 'string'
|
48
|
+
field :health_status, 'WhatsAppBusinessHealthStatusForMessageSend'
|
48
49
|
field :id, 'string'
|
49
50
|
field :is_enabled_for_insights, 'bool'
|
50
51
|
field :message_template_namespace, 'string'
|
@@ -91,15 +92,8 @@ module FacebookAds
|
|
91
92
|
end
|
92
93
|
end
|
93
94
|
|
94
|
-
has_edge :
|
95
|
+
has_edge :dcc_config do |edge|
|
95
96
|
edge.get
|
96
|
-
edge.post do |api|
|
97
|
-
api.has_param :categories, { list: { enum: %w{APPOINTMENT_BOOKING CONTACT_US CUSTOMER_SUPPORT LEAD_GENERATION OTHER SIGN_IN SIGN_UP SURVEY }} }
|
98
|
-
api.has_param :clone_extension_id, 'string'
|
99
|
-
api.has_param :clone_template, 'string'
|
100
|
-
api.has_param :data_channel_uri, 'string'
|
101
|
-
api.has_param :name, 'string'
|
102
|
-
end
|
103
97
|
end
|
104
98
|
|
105
99
|
has_edge :flows do |edge|
|
@@ -108,7 +102,7 @@ module FacebookAds
|
|
108
102
|
api.has_param :categories, { list: { enum: %w{APPOINTMENT_BOOKING CONTACT_US CUSTOMER_SUPPORT LEAD_GENERATION OTHER SIGN_IN SIGN_UP SURVEY }} }
|
109
103
|
api.has_param :clone_flow_id, 'string'
|
110
104
|
api.has_param :clone_template, 'string'
|
111
|
-
api.has_param :
|
105
|
+
api.has_param :endpoint_uri, 'string'
|
112
106
|
api.has_param :name, 'string'
|
113
107
|
end
|
114
108
|
end
|
@@ -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 WhatsAppBusinessHealthStatus < AdObject
|
17
|
+
|
18
|
+
field :additional_info, { list: 'string' }
|
19
|
+
field :can_send_message, 'string'
|
20
|
+
field :entity_type, 'string'
|
21
|
+
field :errors, { list: 'object' }
|
22
|
+
field :id, 'string'
|
23
|
+
has_no_get
|
24
|
+
has_no_post
|
25
|
+
has_no_delete
|
26
|
+
|
27
|
+
end
|
28
|
+
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 WhatsAppBusinessHealthStatusForMessageSend < AdObject
|
17
|
+
|
18
|
+
field :can_send_message, 'string'
|
19
|
+
field :entities, { list: 'WhatsAppBusinessHealthStatus' }
|
20
|
+
has_no_id
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -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 WhitehatFbdlRun < AdObject
|
17
|
+
|
18
|
+
field :creation_time, 'datetime'
|
19
|
+
field :id, 'string'
|
20
|
+
field :is_pinned, 'bool'
|
21
|
+
field :note, 'string'
|
22
|
+
field :result, { list: 'hash' }
|
23
|
+
field :run_code, 'string'
|
24
|
+
field :status, 'string'
|
25
|
+
field :user_type, 'string'
|
26
|
+
has_no_post
|
27
|
+
has_no_delete
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
data/lib/facebook_ads/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebookbusiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 18.0.
|
4
|
+
version: 18.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Facebook
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -272,18 +272,24 @@ files:
|
|
272
272
|
- lib/facebook_ads/ad_objects/ad_account_user.rb
|
273
273
|
- lib/facebook_ads/ad_objects/ad_activity.rb
|
274
274
|
- lib/facebook_ads/ad_objects/ad_asset_customization_rule_customization_spec.rb
|
275
|
+
- lib/facebook_ads/ad_objects/ad_asset_feed_additional_data.rb
|
275
276
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb
|
276
277
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_asset_customization_rule.rb
|
277
278
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_asset_label.rb
|
278
279
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_body.rb
|
280
|
+
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_call_to_action.rb
|
279
281
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_caption.rb
|
282
|
+
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel.rb
|
283
|
+
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel_child_attachment.rb
|
280
284
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_description.rb
|
285
|
+
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_events.rb
|
281
286
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_group_rule.rb
|
282
287
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_image.rb
|
283
288
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_link_url.rb
|
284
289
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_title.rb
|
285
290
|
- lib/facebook_ads/ad_objects/ad_asset_feed_spec_video.rb
|
286
291
|
- lib/facebook_ads/ad_objects/ad_asset_message_extensions.rb
|
292
|
+
- lib/facebook_ads/ad_objects/ad_asset_onsite_destinations.rb
|
287
293
|
- lib/facebook_ads/ad_objects/ad_asset_target_rule_targeting.rb
|
288
294
|
- lib/facebook_ads/ad_objects/ad_async_request.rb
|
289
295
|
- lib/facebook_ads/ad_objects/ad_async_request_set.rb
|
@@ -300,6 +306,7 @@ files:
|
|
300
306
|
- lib/facebook_ads/ad_objects/ad_creative.rb
|
301
307
|
- lib/facebook_ads/ad_objects/ad_creative_ad_disclaimer.rb
|
302
308
|
- lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb
|
309
|
+
- lib/facebook_ads/ad_objects/ad_creative_branded_content_ads_partners.rb
|
303
310
|
- lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb
|
304
311
|
- lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb
|
305
312
|
- lib/facebook_ads/ad_objects/ad_creative_facebook_branded_content.rb
|
@@ -452,6 +459,7 @@ files:
|
|
452
459
|
- lib/facebook_ads/ad_objects/credit_card.rb
|
453
460
|
- lib/facebook_ads/ad_objects/credit_partition_action_options.rb
|
454
461
|
- lib/facebook_ads/ad_objects/crm_address.rb
|
462
|
+
- lib/facebook_ads/ad_objects/ctx_partner_app_welcome_message_flow.rb
|
455
463
|
- lib/facebook_ads/ad_objects/currency.rb
|
456
464
|
- lib/facebook_ads/ad_objects/currency_amount.rb
|
457
465
|
- lib/facebook_ads/ad_objects/custom_audience.rb
|
@@ -494,6 +502,7 @@ files:
|
|
494
502
|
- lib/facebook_ads/ad_objects/fundraiser_person_to_charity.rb
|
495
503
|
- lib/facebook_ads/ad_objects/game_item.rb
|
496
504
|
- lib/facebook_ads/ad_objects/group.rb
|
505
|
+
- lib/facebook_ads/ad_objects/has_lead_access.rb
|
497
506
|
- lib/facebook_ads/ad_objects/helpers/custom_audience_helpers.rb
|
498
507
|
- lib/facebook_ads/ad_objects/high_demand_period.rb
|
499
508
|
- lib/facebook_ads/ad_objects/high_demand_period_time_suggestion_weekly_segment.rb
|
@@ -558,6 +567,7 @@ files:
|
|
558
567
|
- lib/facebook_ads/ad_objects/lookalike_spec.rb
|
559
568
|
- lib/facebook_ads/ad_objects/mailing_address.rb
|
560
569
|
- lib/facebook_ads/ad_objects/managed_partner_business.rb
|
570
|
+
- lib/facebook_ads/ad_objects/managed_partner_extended_credit.rb
|
561
571
|
- lib/facebook_ads/ad_objects/media_fingerprint.rb
|
562
572
|
- lib/facebook_ads/ad_objects/media_title.rb
|
563
573
|
- lib/facebook_ads/ad_objects/messaging_feature_review.rb
|
@@ -737,8 +747,11 @@ files:
|
|
737
747
|
- lib/facebook_ads/ad_objects/voip_info.rb
|
738
748
|
- lib/facebook_ads/ad_objects/web_app_link.rb
|
739
749
|
- lib/facebook_ads/ad_objects/whats_app_business_account.rb
|
750
|
+
- lib/facebook_ads/ad_objects/whats_app_business_health_status.rb
|
751
|
+
- lib/facebook_ads/ad_objects/whats_app_business_health_status_for_message_send.rb
|
740
752
|
- lib/facebook_ads/ad_objects/whats_app_business_pre_verified_phone_number.rb
|
741
753
|
- lib/facebook_ads/ad_objects/whats_app_business_profile.rb
|
754
|
+
- lib/facebook_ads/ad_objects/whitehat_fbdl_run.rb
|
742
755
|
- lib/facebook_ads/ad_objects/windows_app_link.rb
|
743
756
|
- lib/facebook_ads/ad_objects/windows_phone_app_link.rb
|
744
757
|
- lib/facebook_ads/ad_objects/woodhenge_purchased_payg_receipt.rb
|