facebookbusiness 18.0.2 → 18.0.3
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_spec.rb +3 -1
- data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -1
- data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb +1 -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/ads_insights.rb +2 -0
- data/lib/facebook_ads/ad_objects/application.rb +2 -0
- 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/page.rb +24 -2
- data/lib/facebook_ads/ad_objects/page_post_experiment.rb +14 -1
- data/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +5 -0
- data/lib/facebook_ads/ad_objects/shop.rb +2 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +1 -11
- data/lib/facebook_ads/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d38d786e3dd87b85f3669dd1a07b9f584011ed94150b7b482ccbdbc12ce72f26
|
4
|
+
data.tar.gz: 1a369b784247afaf3650b0724526815a4477ef445781ffdaf52e0a31e7322f7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 559c3ee005ed8efc3b38ea380bc9fd3747ba8850bbaaa086ca88d0b06305f9224bed757d4eda5376a34ff3cd4af0100381bded573c9861cd06ee9ee454a3b6b2
|
7
|
+
data.tar.gz: 9b747f559714ed8dea7b65706d316bc8251f12cdb5ed612cc5da4bbfae9890219e8ed974ae63395b74619bab5cb25eb8e4ccc6c648ebc5e33d2999013dbe682c
|
@@ -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
|
|
@@ -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",
|
@@ -110,7 +109,10 @@ module FacebookAds
|
|
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: 'object' }
|
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
|
@@ -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'
|
@@ -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'
|
@@ -159,6 +159,8 @@ module FacebookAds
|
|
159
159
|
field :restrictions, 'object'
|
160
160
|
field :restrictive_data_filter_params, 'string'
|
161
161
|
field :restrictive_data_filter_rules, 'string'
|
162
|
+
field :sdk_auto_logging_default_value, 'bool'
|
163
|
+
field :sdk_auto_logging_override_value, 'bool'
|
162
164
|
field :sdk_update_message, 'string'
|
163
165
|
field :seamless_login, 'int'
|
164
166
|
field :secure_canvas_url, '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'
|
@@ -33,7 +47,6 @@ module FacebookAds
|
|
33
47
|
field :scheduled_experiment_timestamp, 'datetime'
|
34
48
|
field :updated_time, 'datetime'
|
35
49
|
has_no_post
|
36
|
-
has_no_delete
|
37
50
|
|
38
51
|
has_edge :video_insights do |edge|
|
39
52
|
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,7 @@ module FacebookAds
|
|
309
309
|
"AVAILABLE",
|
310
310
|
"BAD_QUALITY_IMAGE",
|
311
311
|
"CANNOT_EDIT_SUBSCRIPTION_PRODUCTS",
|
312
|
+
"COMMERCE_ACCOUNT_NOT_LEGALLY_COMPLIANT",
|
312
313
|
"CRAWLED_AVAILABILITY_MISMATCH",
|
313
314
|
"DA_DISABLED_BY_USER",
|
314
315
|
"DA_POLICY_VIOLATION",
|
@@ -320,6 +321,7 @@ module FacebookAds
|
|
320
321
|
"EMPTY_DESCRIPTION",
|
321
322
|
"EMPTY_PRODUCT_URL",
|
322
323
|
"EMPTY_SELLER_DESCRIPTION",
|
324
|
+
"EXTERNAL_MERCHANT_ID_MISMATCH",
|
323
325
|
"GENERIC_INVALID_FIELD",
|
324
326
|
"HIDDEN_UNTIL_PRODUCT_LAUNCH",
|
325
327
|
"IMAGE_FETCH_FAILED",
|
@@ -357,9 +359,11 @@ module FacebookAds
|
|
357
359
|
"MISSING_TAX_CATEGORY",
|
358
360
|
"NEGATIVE_COMMUNITY_FEEDBACK",
|
359
361
|
"NOT_ENOUGH_IMAGES",
|
362
|
+
"NOT_ENOUGH_UNIQUE_PRODUCTS",
|
360
363
|
"PART_OF_PRODUCT_LAUNCH",
|
361
364
|
"PRODUCT_EXPIRED",
|
362
365
|
"PRODUCT_ITEM_HIDDEN_FROM_ALL_SHOPS",
|
366
|
+
"PRODUCT_ITEM_INVALID_PARTNER_TOKENS",
|
363
367
|
"PRODUCT_ITEM_NOT_INCLUDED_IN_ANY_SHOP",
|
364
368
|
"PRODUCT_ITEM_NOT_VISIBLE",
|
365
369
|
"PRODUCT_NOT_APPROVED",
|
@@ -384,6 +388,7 @@ module FacebookAds
|
|
384
388
|
"QUALITY_ITEM_LINK_BROKEN",
|
385
389
|
"QUALITY_ITEM_LINK_REDIRECTING",
|
386
390
|
"RETAILER_ID_NOT_PROVIDED",
|
391
|
+
"SHOPIFY_INVALID_RETAILER_ID",
|
387
392
|
"SHOPIFY_ITEM_MISSING_SHIPPING_PROFILE",
|
388
393
|
"SHOPS_POLICY_VIOLATION",
|
389
394
|
"SUBSCRIPTION_INFO_NOT_ENABLED_FOR_FEED",
|
@@ -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, 'object'
|
48
49
|
field :id, 'string'
|
49
50
|
field :is_enabled_for_insights, 'bool'
|
50
51
|
field :message_template_namespace, 'string'
|
@@ -91,17 +92,6 @@ module FacebookAds
|
|
91
92
|
end
|
92
93
|
end
|
93
94
|
|
94
|
-
has_edge :extensions do |edge|
|
95
|
-
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
|
-
end
|
104
|
-
|
105
95
|
has_edge :flows do |edge|
|
106
96
|
edge.get
|
107
97
|
edge.post do |api|
|
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.3
|
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-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -452,6 +452,7 @@ files:
|
|
452
452
|
- lib/facebook_ads/ad_objects/credit_card.rb
|
453
453
|
- lib/facebook_ads/ad_objects/credit_partition_action_options.rb
|
454
454
|
- lib/facebook_ads/ad_objects/crm_address.rb
|
455
|
+
- lib/facebook_ads/ad_objects/ctx_partner_app_welcome_message_flow.rb
|
455
456
|
- lib/facebook_ads/ad_objects/currency.rb
|
456
457
|
- lib/facebook_ads/ad_objects/currency_amount.rb
|
457
458
|
- lib/facebook_ads/ad_objects/custom_audience.rb
|
@@ -494,6 +495,7 @@ files:
|
|
494
495
|
- lib/facebook_ads/ad_objects/fundraiser_person_to_charity.rb
|
495
496
|
- lib/facebook_ads/ad_objects/game_item.rb
|
496
497
|
- lib/facebook_ads/ad_objects/group.rb
|
498
|
+
- lib/facebook_ads/ad_objects/has_lead_access.rb
|
497
499
|
- lib/facebook_ads/ad_objects/helpers/custom_audience_helpers.rb
|
498
500
|
- lib/facebook_ads/ad_objects/high_demand_period.rb
|
499
501
|
- lib/facebook_ads/ad_objects/high_demand_period_time_suggestion_weekly_segment.rb
|
@@ -558,6 +560,7 @@ files:
|
|
558
560
|
- lib/facebook_ads/ad_objects/lookalike_spec.rb
|
559
561
|
- lib/facebook_ads/ad_objects/mailing_address.rb
|
560
562
|
- lib/facebook_ads/ad_objects/managed_partner_business.rb
|
563
|
+
- lib/facebook_ads/ad_objects/managed_partner_extended_credit.rb
|
561
564
|
- lib/facebook_ads/ad_objects/media_fingerprint.rb
|
562
565
|
- lib/facebook_ads/ad_objects/media_title.rb
|
563
566
|
- lib/facebook_ads/ad_objects/messaging_feature_review.rb
|