facebookbusiness 23.0.0 → 23.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.
- checksums.yaml +4 -4
- data/lib/facebook_ads/ad_objects/ab_test_post_test_actions.rb +25 -0
- data/lib/facebook_ads/ad_objects/ad_account.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_optimization_goals_aemv2_eligibility.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_user_settings.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_activity.rb +8 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative_features_spec.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative_sourcing_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_preview.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +27 -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 +3 -0
- data/lib/facebook_ads/ad_objects/ads_user_settings.rb +1 -0
- data/lib/facebook_ads/ad_objects/alm_event.rb +1 -0
- data/lib/facebook_ads/ad_objects/apac_mon_seller_status_api_container.rb +1 -0
- data/lib/facebook_ads/ad_objects/application.rb +0 -6
- data/lib/facebook_ads/ad_objects/{event_tour.rb → branded_content_fb_promode_user.rb} +7 -13
- data/lib/facebook_ads/ad_objects/business.rb +15 -0
- data/lib/facebook_ads/ad_objects/business_asset_group.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +1 -0
- data/lib/facebook_ads/ad_objects/collaborative_ads_partner_businesses.rb +1 -0
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +2 -0
- data/lib/facebook_ads/ad_objects/content_delivery_report.rb +0 -4
- data/lib/facebook_ads/ad_objects/delivery_window.rb +1 -0
- data/lib/facebook_ads/ad_objects/event.rb +0 -2
- data/lib/facebook_ads/ad_objects/ig_user.rb +20 -0
- data/lib/facebook_ads/ad_objects/ig_user_export_for_cam.rb +526 -0
- data/lib/facebook_ads/ad_objects/ig_user_for_ig_only_api.rb +1 -1
- data/lib/facebook_ads/ad_objects/image_copyright.rb +1 -0
- data/lib/facebook_ads/ad_objects/image_reference_match.rb +1 -0
- data/lib/facebook_ads/ad_objects/lookalike_spec.rb +2 -0
- data/lib/facebook_ads/ad_objects/mcom_invoice_status.rb +3 -0
- data/lib/facebook_ads/ad_objects/message_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/omega_customer_trx.rb +5 -0
- data/lib/facebook_ads/ad_objects/page.rb +7 -1
- data/lib/facebook_ads/ad_objects/product_catalog.rb +6 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +2 -0
- data/lib/facebook_ads/ad_objects/reach_frequency_prediction.rb +1 -0
- data/lib/facebook_ads/ad_objects/robot.rb +1 -0
- data/lib/facebook_ads/ad_objects/system_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/unified_thread.rb +0 -1
- data/lib/facebook_ads/ad_objects/user.rb +4 -0
- data/lib/facebook_ads/ad_objects/user_page_one_time_opt_in_token_settings.rb +1 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +2 -1
- data/lib/facebook_ads/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcd8a5a008d2beb3575f08e2a2416d4d2ba3a16b839e011c5a2e4418428578f6
|
4
|
+
data.tar.gz: 5356e50d8add9846073cf98c2ae5da146ba2c061aece3859aef7910e072faeff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41ddd59a4c31a74d666d78600829688a99af91d109a7bf766aa7728742ab4e19c901684f4847fcfdb2a82fd161251da985034d4f71680a054288b996183ad4c2
|
7
|
+
data.tar.gz: c7f484c5645b8ddaf57e077aa2b3eb71e51877082b4a64fa2dbd3ee3d4e85306ff31285b5838ec22d8c7f767b3df2802773c50189c0b9240d310fa042af9369f
|
@@ -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 AbTestPostTestActions < AdObject
|
17
|
+
|
18
|
+
field :auto_change_budget_to_winner, 'int'
|
19
|
+
has_no_id
|
20
|
+
has_no_get
|
21
|
+
has_no_post
|
22
|
+
has_no_delete
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
@@ -309,9 +309,11 @@ module FacebookAds
|
|
309
309
|
api.has_param :creative_sourcing_spec, 'hash'
|
310
310
|
api.has_param :degrees_of_freedom_spec, 'hash'
|
311
311
|
api.has_param :destination_set_id, 'string'
|
312
|
+
api.has_param :destination_spec, 'hash'
|
312
313
|
api.has_param :dynamic_ad_voice, { enum: -> { AdCreative::DYNAMIC_AD_VOICE }}
|
313
314
|
api.has_param :enable_launch_instant_app, 'bool'
|
314
315
|
api.has_param :facebook_branded_content, 'hash'
|
316
|
+
api.has_param :format_transformation_spec, { list: 'hash' }
|
315
317
|
api.has_param :image_crops, 'hash'
|
316
318
|
api.has_param :image_file, 'string'
|
317
319
|
api.has_param :image_hash, 'string'
|
@@ -486,6 +488,7 @@ module FacebookAds
|
|
486
488
|
api.has_param :adlabels, { list: 'object' }
|
487
489
|
api.has_param :adset_schedule, { list: 'object' }
|
488
490
|
api.has_param :attribution_spec, { list: 'hash' }
|
491
|
+
api.has_param :automatic_manual_state, { enum: -> { AdSet::AUTOMATIC_MANUAL_STATE }}
|
489
492
|
api.has_param :bid_adjustments, 'object'
|
490
493
|
api.has_param :bid_amount, 'int'
|
491
494
|
api.has_param :bid_constraints, 'hash'
|
@@ -1112,6 +1115,7 @@ module FacebookAds
|
|
1112
1115
|
api.has_param :target_frequency, 'int'
|
1113
1116
|
api.has_param :target_frequency_reset_period, 'int'
|
1114
1117
|
api.has_param :target_spec, 'Targeting'
|
1118
|
+
api.has_param :trending_topics_spec, 'hash'
|
1115
1119
|
api.has_param :video_view_length_constraint, 'int'
|
1116
1120
|
end
|
1117
1121
|
end
|
@@ -224,6 +224,7 @@ module FacebookAds
|
|
224
224
|
"OPTIMAL_BAU",
|
225
225
|
"OUTCOME_FORECASTER_BUDGET_RECOMMENDATION",
|
226
226
|
"OUTCOME_FORECASTER_SHADOW_LOGGING",
|
227
|
+
"PARTNERSHIP_ADS",
|
227
228
|
"PAYMENT_METHOD",
|
228
229
|
"PERFORMANT_CREATIVE_REELS_OPT_IN",
|
229
230
|
"PFR_L1_INLINE_MMT",
|
@@ -260,6 +261,7 @@ module FacebookAds
|
|
260
261
|
"SCALE_GOOD_CAMPAIGN",
|
261
262
|
"SCALE_GOOD_CAMPAIGN_DUPLICATION",
|
262
263
|
"SCALE_GOOD_CAMPAIGN_SMB",
|
264
|
+
"SCALE_GOOD_CAMPAIGN_V2_DUPLICATION",
|
263
265
|
"SCALE_GOOD_CTX_CAMPAIGN",
|
264
266
|
"SEASONAL_CAMPAIGNS",
|
265
267
|
"SEMANTIC_BASED_AUDIENCE_DUPLICATION",
|
@@ -284,6 +286,7 @@ module FacebookAds
|
|
284
286
|
"TAILORED_LEAD_AD_CAMPAIGN",
|
285
287
|
"TAILORED_MESSAGES_CAMPAIGN",
|
286
288
|
"TARGETING_CREATIVE_FRAGMENTATION",
|
289
|
+
"THREECO_WEB_PLUS_APP_UPSELL",
|
287
290
|
"TLA_CREATION_PACKAGE",
|
288
291
|
"TOP_ADSETS_WITH_ADS_UNDER_CAP",
|
289
292
|
"TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP",
|
@@ -306,6 +309,7 @@ module FacebookAds
|
|
306
309
|
"WA_MESSAGING_PARTNERS_PRECREATE",
|
307
310
|
"WEB_ENGAGED_VIEW_CONVERSIONS",
|
308
311
|
"WTWA_UPSELL_IN_DUPLICATION",
|
312
|
+
"WTWA_UPSELL_IN_SYD_AND_AM_TABLE",
|
309
313
|
"ZERO_CONVERSION",
|
310
314
|
"ZERO_IMPRESSION",
|
311
315
|
"ZERO_OUTCOME_BUDGET",
|
@@ -65,6 +65,7 @@ module FacebookAds
|
|
65
65
|
field :has_seen_leads_column_flexing_experience, 'bool'
|
66
66
|
field :has_seen_shops_ads_metrics_onboarding_tour, 'bool'
|
67
67
|
field :has_seen_shops_column_flexing_experience, 'bool'
|
68
|
+
field :has_used_quick_views_panel, 'bool'
|
68
69
|
field :hidden_optimization_tips, { list: 'hash' }
|
69
70
|
field :high_performing_quick_view_created, 'bool'
|
70
71
|
field :id, 'string'
|
@@ -80,6 +81,7 @@ module FacebookAds
|
|
80
81
|
field :rb_export_format, 'string'
|
81
82
|
field :rb_export_raw_data, 'bool'
|
82
83
|
field :rb_export_summary_row, 'bool'
|
84
|
+
field :recently_used_quick_views, { list: 'string' }
|
83
85
|
field :saip_advertiser_setup_optimisation_guidance_overall_state, 'string'
|
84
86
|
field :saip_advertiser_setup_optimisation_guidance_state, { list: 'hash' }
|
85
87
|
field :shops_ads_metrics_onboarding_tour_close_count, 'int'
|
@@ -15,6 +15,7 @@ module FacebookAds
|
|
15
15
|
|
16
16
|
class AdActivity < AdObject
|
17
17
|
EVENT_TYPE = [
|
18
|
+
"accept_custom_audience_appeal",
|
18
19
|
"account_spending_limit_reached",
|
19
20
|
"ad_account_add_user_to_role",
|
20
21
|
"ad_account_billing_charge",
|
@@ -35,15 +36,19 @@ module FacebookAds
|
|
35
36
|
"adaccount_update_audience_segment",
|
36
37
|
"add_funding_source",
|
37
38
|
"add_images",
|
39
|
+
"apply_restrictions_custom_audience",
|
38
40
|
"billing_event",
|
39
41
|
"campaign_ended",
|
40
42
|
"campaign_spending_limit_reached",
|
41
43
|
"conversion_event_updated",
|
42
44
|
"create_ad",
|
43
45
|
"create_ad_set",
|
46
|
+
"create_adaccount_agency_fee",
|
44
47
|
"create_audience",
|
45
48
|
"create_campaign_group",
|
49
|
+
"create_campaign_group_agency_fee",
|
46
50
|
"create_campaign_legacy",
|
51
|
+
"create_custom_audience_appeal",
|
47
52
|
"delete_audience",
|
48
53
|
"delete_images",
|
49
54
|
"di_ad_set_learning_stage_exit",
|
@@ -55,6 +60,7 @@ module FacebookAds
|
|
55
60
|
"lifetime_budget_spent",
|
56
61
|
"merge_campaigns",
|
57
62
|
"receive_audience",
|
63
|
+
"reject_custom_audience_appeal",
|
58
64
|
"remove_funding_source",
|
59
65
|
"remove_shared_audience",
|
60
66
|
"share_audience",
|
@@ -81,6 +87,7 @@ module FacebookAds
|
|
81
87
|
"update_ad_set_spend_cap",
|
82
88
|
"update_ad_set_target_spec",
|
83
89
|
"update_ad_targets_spec",
|
90
|
+
"update_adaccount_agency_fee",
|
84
91
|
"update_adgroup_stop_delivery",
|
85
92
|
"update_audience",
|
86
93
|
"update_campaign_ad_scheduling",
|
@@ -91,6 +98,7 @@ module FacebookAds
|
|
91
98
|
"update_campaign_delivery_destination",
|
92
99
|
"update_campaign_delivery_type",
|
93
100
|
"update_campaign_group_ad_scheduling",
|
101
|
+
"update_campaign_group_agency_fee",
|
94
102
|
"update_campaign_group_budget_scheduling_state",
|
95
103
|
"update_campaign_group_delivery_type",
|
96
104
|
"update_campaign_group_high_demand_periods",
|
@@ -187,6 +187,7 @@ module FacebookAds
|
|
187
187
|
field :creative_sourcing_spec, 'AdCreativeSourcingSpec'
|
188
188
|
field :degrees_of_freedom_spec, 'AdCreativeDegreesOfFreedomSpec'
|
189
189
|
field :destination_set_id, 'string'
|
190
|
+
field :destination_spec, 'AdCreativeDestinationSpec'
|
190
191
|
field :dynamic_ad_voice, 'string'
|
191
192
|
field :effective_authorization_category, 'string'
|
192
193
|
field :effective_instagram_media_id, 'string'
|
@@ -194,6 +195,7 @@ module FacebookAds
|
|
194
195
|
field :enable_direct_install, 'bool'
|
195
196
|
field :enable_launch_instant_app, 'bool'
|
196
197
|
field :facebook_branded_content, 'AdCreativeFacebookBrandedContent'
|
198
|
+
field :format_transformation_spec, 'AdCreativeFormatTransformationSpec'
|
197
199
|
field :id, 'string'
|
198
200
|
field :image_crops, 'AdsImageCrops'
|
199
201
|
field :image_hash, 'string'
|
@@ -66,12 +66,14 @@ module FacebookAds
|
|
66
66
|
field :standard_enhancements_catalog, 'AdCreativeFeatureDetails'
|
67
67
|
field :text_generation, 'AdCreativeFeatureDetails'
|
68
68
|
field :text_optimizations, 'AdCreativeFeatureDetails'
|
69
|
+
field :text_overlay_translation, 'AdCreativeFeatureDetails'
|
69
70
|
field :text_translation, 'AdCreativeFeatureDetails'
|
70
71
|
field :video_auto_crop, 'AdCreativeFeatureDetails'
|
71
72
|
field :video_filtering, 'AdCreativeFeatureDetails'
|
72
73
|
field :video_highlight, 'AdCreativeFeatureDetails'
|
73
74
|
field :video_to_image, 'AdCreativeFeatureDetails'
|
74
75
|
field :video_uncrop, 'AdCreativeFeatureDetails'
|
76
|
+
field :wa_mm_text_truncation_length, 'AdCreativeFeatureDetails'
|
75
77
|
has_no_id
|
76
78
|
has_no_get
|
77
79
|
has_no_post
|
@@ -22,6 +22,7 @@ module FacebookAds
|
|
22
22
|
field :promotion_metadata_spec, { list: 'AdCreativePromotionMetadataSpec' }
|
23
23
|
field :site_links_spec, { list: 'AdCreativeSiteLinksSpec' }
|
24
24
|
field :source_url, 'string'
|
25
|
+
field :website_summary_spec, 'object'
|
25
26
|
has_no_id
|
26
27
|
has_no_get
|
27
28
|
has_no_post
|
@@ -42,7 +42,9 @@ module FacebookAds
|
|
42
42
|
"INSTAGRAM_PROFILE_FEED",
|
43
43
|
"INSTAGRAM_PROFILE_REELS",
|
44
44
|
"INSTAGRAM_REELS",
|
45
|
+
"INSTAGRAM_REELS_INSTREAM",
|
45
46
|
"INSTAGRAM_REELS_OVERLAY",
|
47
|
+
"INSTAGRAM_REELS_WEB",
|
46
48
|
"INSTAGRAM_SEARCH_CHAIN",
|
47
49
|
"INSTAGRAM_SEARCH_GRID",
|
48
50
|
"INSTAGRAM_STANDARD",
|
@@ -88,6 +90,7 @@ module FacebookAds
|
|
88
90
|
"product_metadata_automation",
|
89
91
|
"profile_card",
|
90
92
|
"standard_enhancements_catalog",
|
93
|
+
"text_overlay_translation",
|
91
94
|
"video_to_image",
|
92
95
|
]
|
93
96
|
|
@@ -46,6 +46,30 @@ module FacebookAds
|
|
46
46
|
"TUTORIAL_COMPLETION",
|
47
47
|
]
|
48
48
|
|
49
|
+
FULL_FUNNEL_OBJECTIVE = [
|
50
|
+
"APP_INSTALLS",
|
51
|
+
"BRAND_AWARENESS",
|
52
|
+
"EVENT_RESPONSES",
|
53
|
+
"LEAD_GENERATION",
|
54
|
+
"LINK_CLICKS",
|
55
|
+
"LOCAL_AWARENESS",
|
56
|
+
"MESSAGES",
|
57
|
+
"OFFER_CLAIMS",
|
58
|
+
"OUTCOME_APP_PROMOTION",
|
59
|
+
"OUTCOME_AWARENESS",
|
60
|
+
"OUTCOME_ENGAGEMENT",
|
61
|
+
"OUTCOME_LEADS",
|
62
|
+
"OUTCOME_SALES",
|
63
|
+
"OUTCOME_TRAFFIC",
|
64
|
+
"PAGE_LIKES",
|
65
|
+
"POST_ENGAGEMENT",
|
66
|
+
"PRODUCT_CATALOG_SALES",
|
67
|
+
"REACH",
|
68
|
+
"STORE_VISITS",
|
69
|
+
"VIDEO_VIEWS",
|
70
|
+
"WEBSITE_CONVERSIONS",
|
71
|
+
]
|
72
|
+
|
49
73
|
LEAD_ADS_CUSTOM_EVENT_TYPE = [
|
50
74
|
"ACHIEVEMENT_UNLOCKED",
|
51
75
|
"ADD_PAYMENT_INFO",
|
@@ -85,7 +109,9 @@ module FacebookAds
|
|
85
109
|
field :custom_conversion_id, 'string'
|
86
110
|
field :custom_event_str, 'string'
|
87
111
|
field :custom_event_type, { enum: -> { CUSTOM_EVENT_TYPE }}
|
112
|
+
field :dataset_split_id, 'string'
|
88
113
|
field :event_id, 'string'
|
114
|
+
field :full_funnel_objective, { enum: -> { FULL_FUNNEL_OBJECTIVE }}
|
89
115
|
field :fundraiser_campaign_id, 'string'
|
90
116
|
field :lead_ads_custom_event_str, 'string'
|
91
117
|
field :lead_ads_custom_event_type, { enum: -> { LEAD_ADS_CUSTOM_EVENT_TYPE }}
|
@@ -93,6 +119,7 @@ module FacebookAds
|
|
93
119
|
field :lead_ads_offsite_conversion_type, 'string'
|
94
120
|
field :mcme_conversion_id, 'string'
|
95
121
|
field :object_store_url, 'string'
|
122
|
+
field :object_store_urls, { list: 'string' }
|
96
123
|
field :offer_id, 'string'
|
97
124
|
field :offline_conversion_data_set_id, 'string'
|
98
125
|
field :offsite_conversion_event_id, 'string'
|
@@ -57,6 +57,7 @@ module FacebookAds
|
|
57
57
|
"AD_RECALL_LIFT",
|
58
58
|
"APP_INSTALLS",
|
59
59
|
"APP_INSTALLS_AND_OFFSITE_CONVERSIONS",
|
60
|
+
"AUTOMATIC_OBJECTIVE",
|
60
61
|
"CONVERSATIONS",
|
61
62
|
"DERIVED_EVENTS",
|
62
63
|
"ENGAGED_USERS",
|
@@ -92,6 +93,12 @@ module FacebookAds
|
|
92
93
|
"PAUSED",
|
93
94
|
]
|
94
95
|
|
96
|
+
AUTOMATIC_MANUAL_STATE = [
|
97
|
+
"AUTOMATIC",
|
98
|
+
"MANUAL",
|
99
|
+
"UNSET",
|
100
|
+
]
|
101
|
+
|
95
102
|
BUDGET_SOURCE = [
|
96
103
|
"NONE",
|
97
104
|
"RMN",
|
@@ -190,6 +197,7 @@ module FacebookAds
|
|
190
197
|
"4",
|
191
198
|
"5",
|
192
199
|
"6",
|
200
|
+
"7",
|
193
201
|
]
|
194
202
|
|
195
203
|
TUNE_FOR_CATEGORY = [
|
@@ -219,6 +227,7 @@ module FacebookAds
|
|
219
227
|
field :adset_schedule, { list: 'DayPart' }
|
220
228
|
field :asset_feed_id, 'string'
|
221
229
|
field :attribution_spec, { list: 'AttributionSpec' }
|
230
|
+
field :automatic_manual_state, 'string'
|
222
231
|
field :bid_adjustments, 'AdBidAdjustments'
|
223
232
|
field :bid_amount, 'int'
|
224
233
|
field :bid_constraints, 'AdCampaignBidConstraint'
|
@@ -287,6 +287,7 @@ module FacebookAds
|
|
287
287
|
field :landing_page_view_actions_per_link_click, 'string'
|
288
288
|
field :landing_page_view_per_link_click, 'string'
|
289
289
|
field :landing_page_view_per_purchase_rate, 'string'
|
290
|
+
field :link_clicks_per_results, { list: 'object' }
|
290
291
|
field :location, 'string'
|
291
292
|
field :marketing_messages_click_rate_benchmark, 'string'
|
292
293
|
field :marketing_messages_cost_per_delivered, 'string'
|
@@ -330,6 +331,7 @@ module FacebookAds
|
|
330
331
|
field :product_group_retailer_id, 'string'
|
331
332
|
field :product_name, 'string'
|
332
333
|
field :product_retailer_id, 'string'
|
334
|
+
field :product_views, 'string'
|
333
335
|
field :purchase_per_landing_page_view, 'string'
|
334
336
|
field :purchase_roas, { list: 'AdsActionStats' }
|
335
337
|
field :purchases_per_link_click, 'string'
|
@@ -342,6 +344,7 @@ module FacebookAds
|
|
342
344
|
field :shops_assisted_purchases, 'string'
|
343
345
|
field :social_spend, 'string'
|
344
346
|
field :spend, 'string'
|
347
|
+
field :total_card_view, 'string'
|
345
348
|
field :total_postbacks, 'string'
|
346
349
|
field :total_postbacks_detailed, { list: 'AdsActionStats' }
|
347
350
|
field :total_postbacks_detailed_v4, { list: 'AdsActionStats' }
|
@@ -81,6 +81,7 @@ module FacebookAds
|
|
81
81
|
field :should_not_show_cbo_campaign_toggle_off_confirmation_message, 'bool'
|
82
82
|
field :should_not_show_publish_message_on_editor_close, 'bool'
|
83
83
|
field :show_original_videos_opt_in, 'string'
|
84
|
+
field :show_summary_opt_in_status, 'string'
|
84
85
|
field :static_ad_product_extensions_opt_in, 'string'
|
85
86
|
field :sticky_setting_after_default_on, 'string'
|
86
87
|
field :syd_campaign_trends_metric, 'string'
|
@@ -22,6 +22,7 @@ module FacebookAds
|
|
22
22
|
field :event_time, 'datetime'
|
23
23
|
field :guidance, 'string'
|
24
24
|
field :guidance_detail, 'string'
|
25
|
+
field :guidance_type, 'string'
|
25
26
|
field :id, 'string'
|
26
27
|
field :parent_advertiser_ids, { list: 'string' }
|
27
28
|
field :reseller_business_id, 'string'
|
@@ -474,12 +474,6 @@ module FacebookAds
|
|
474
474
|
edge.get 'AdsDataset'
|
475
475
|
end
|
476
476
|
|
477
|
-
has_edge :message_templates do |edge|
|
478
|
-
edge.get do |api|
|
479
|
-
api.has_param :template_id, 'string'
|
480
|
-
end
|
481
|
-
end
|
482
|
-
|
483
477
|
has_edge :mmp_auditing do |edge|
|
484
478
|
edge.post do |api|
|
485
479
|
api.has_param :advertiser_id, 'string'
|
@@ -13,21 +13,15 @@ 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
|
16
|
+
class BrandedContentFbPromodeUser < AdObject
|
17
17
|
|
18
|
-
field :
|
19
|
-
field :
|
20
|
-
field :
|
21
|
-
field :id, 'string'
|
22
|
-
field :is_past, 'bool'
|
23
|
-
field :last_event_timestamp, 'int'
|
18
|
+
field :delegate_page_for_ads_only_id, 'string'
|
19
|
+
field :is_iabp, 'bool'
|
20
|
+
field :is_managed, 'bool'
|
24
21
|
field :name, 'string'
|
25
|
-
field :
|
26
|
-
|
27
|
-
|
28
|
-
field :start_time, 'string'
|
29
|
-
field :ticketing_uri, 'string'
|
30
|
-
field :video, 'AdVideo'
|
22
|
+
field :profile_picture_url, 'string'
|
23
|
+
has_no_id
|
24
|
+
has_no_get
|
31
25
|
has_no_post
|
32
26
|
has_no_delete
|
33
27
|
|
@@ -78,6 +78,7 @@ module FacebookAds
|
|
78
78
|
"PROFILE_PLUS_CREATE_CONTENT",
|
79
79
|
"PROFILE_PLUS_FACEBOOK_ACCESS",
|
80
80
|
"PROFILE_PLUS_FULL_CONTROL",
|
81
|
+
"PROFILE_PLUS_GLOBAL_STRUCTURE_MANAGEMENT",
|
81
82
|
"PROFILE_PLUS_MANAGE",
|
82
83
|
"PROFILE_PLUS_MANAGE_LEADS",
|
83
84
|
"PROFILE_PLUS_MESSAGING",
|
@@ -598,6 +599,7 @@ module FacebookAds
|
|
598
599
|
"PROFILE_PLUS_CREATE_CONTENT",
|
599
600
|
"PROFILE_PLUS_FACEBOOK_ACCESS",
|
600
601
|
"PROFILE_PLUS_FULL_CONTROL",
|
602
|
+
"PROFILE_PLUS_GLOBAL_STRUCTURE_MANAGEMENT",
|
601
603
|
"PROFILE_PLUS_MANAGE",
|
602
604
|
"PROFILE_PLUS_MANAGE_LEADS",
|
603
605
|
"PROFILE_PLUS_MESSAGING",
|
@@ -1044,10 +1046,15 @@ module FacebookAds
|
|
1044
1046
|
|
1045
1047
|
has_edge :business_invoices do |edge|
|
1046
1048
|
edge.get 'OmegaCustomerTrx' do |api|
|
1049
|
+
api.has_param :account_ids, { list: 'int' }
|
1050
|
+
api.has_param :advertiser_name, 'string'
|
1051
|
+
api.has_param :billing_period_end, 'string'
|
1052
|
+
api.has_param :billing_period_start, 'string'
|
1047
1053
|
api.has_param :end_date, 'string'
|
1048
1054
|
api.has_param :invoice_id, 'string'
|
1049
1055
|
api.has_param :issue_end_date, 'string'
|
1050
1056
|
api.has_param :issue_start_date, 'string'
|
1057
|
+
api.has_param :product_types, { list: { enum: -> { OmegaCustomerTrx::PRODUCT_TYPES }} }
|
1051
1058
|
api.has_param :root_id, 'int'
|
1052
1059
|
api.has_param :start_date, 'string'
|
1053
1060
|
api.has_param :type, { enum: -> { OmegaCustomerTrx::TYPE }}
|
@@ -1087,6 +1094,10 @@ module FacebookAds
|
|
1087
1094
|
end
|
1088
1095
|
end
|
1089
1096
|
|
1097
|
+
has_edge :client_instagram_assets do |edge|
|
1098
|
+
edge.get 'InstagramBusinessAsset'
|
1099
|
+
end
|
1100
|
+
|
1090
1101
|
has_edge :client_offsite_signal_container_business_objects do |edge|
|
1091
1102
|
edge.get 'OffsiteSignalContainerBusinessObject'
|
1092
1103
|
end
|
@@ -1366,6 +1377,10 @@ module FacebookAds
|
|
1366
1377
|
edge.get 'IgUser'
|
1367
1378
|
end
|
1368
1379
|
|
1380
|
+
has_edge :owned_instagram_assets do |edge|
|
1381
|
+
edge.get 'InstagramBusinessAsset'
|
1382
|
+
end
|
1383
|
+
|
1369
1384
|
has_edge :owned_offsite_signal_container_business_objects do |edge|
|
1370
1385
|
edge.get 'OffsiteSignalContainerBusinessObject'
|
1371
1386
|
end
|
@@ -26,12 +26,14 @@ module FacebookAds
|
|
26
26
|
field :korea_ftc_listing, 'string'
|
27
27
|
field :merchant_page, 'Profile'
|
28
28
|
field :merchant_status, 'string'
|
29
|
+
field :offsite_iab_checkout_enabled_countries, { list: 'string' }
|
29
30
|
field :onsite_commerce_merchant, 'object'
|
30
31
|
field :payment_provider, 'string'
|
31
32
|
field :privacy_policy_localized, 'string'
|
32
33
|
field :return_policy_localized, 'string'
|
33
34
|
field :review_rejection_messages, { list: 'string' }
|
34
35
|
field :review_rejection_reasons, { list: 'string' }
|
36
|
+
field :shops_ads_setup, 'object'
|
35
37
|
field :terms, 'string'
|
36
38
|
has_no_post
|
37
39
|
has_no_delete
|
@@ -16,11 +16,7 @@ module FacebookAds
|
|
16
16
|
class ContentDeliveryReport < AdObject
|
17
17
|
|
18
18
|
field :content_id, 'string'
|
19
|
-
field :content_name, 'string'
|
20
|
-
field :content_url, 'string'
|
21
19
|
field :creator_id, 'string'
|
22
|
-
field :creator_name, 'string'
|
23
|
-
field :creator_url, 'string'
|
24
20
|
field :estimated_impressions, 'int'
|
25
21
|
has_no_id
|
26
22
|
has_no_get
|
@@ -100,8 +100,6 @@ module FacebookAds
|
|
100
100
|
field :registration_setting, 'EventRegistrationSetting'
|
101
101
|
field :scheduled_publish_time, 'string'
|
102
102
|
field :start_time, 'string'
|
103
|
-
field :sub_categories, { list: 'string' }
|
104
|
-
field :ticket_selling_status, 'string'
|
105
103
|
field :ticket_setting, 'EventTicketSetting'
|
106
104
|
field :ticket_uri, 'string'
|
107
105
|
field :ticket_uri_start_sales_time, 'string'
|
@@ -103,6 +103,25 @@ module FacebookAds
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
+
has_edge :creator_marketplace_creators do |edge|
|
107
|
+
edge.get 'IgUserExportForCam' do |api|
|
108
|
+
api.has_param :creator_age_bucket, { list: 'object' }
|
109
|
+
api.has_param :creator_countries, { list: { enum: -> { IgUserExportForCam::CREATOR_COUNTRIES }} }
|
110
|
+
api.has_param :creator_gender, { list: { enum: -> { IgUserExportForCam::CREATOR_GENDER }} }
|
111
|
+
api.has_param :creator_interests, { list: 'object' }
|
112
|
+
api.has_param :creator_max_engaged_accounts, 'int'
|
113
|
+
api.has_param :creator_max_followers, 'int'
|
114
|
+
api.has_param :creator_min_engaged_accounts, 'int'
|
115
|
+
api.has_param :creator_min_followers, 'int'
|
116
|
+
api.has_param :major_audience_age_bucket, { list: 'object' }
|
117
|
+
api.has_param :major_audience_countries, { list: { enum: -> { IgUserExportForCam::MAJOR_AUDIENCE_COUNTRIES }} }
|
118
|
+
api.has_param :major_audience_gender, { list: { enum: -> { IgUserExportForCam::MAJOR_AUDIENCE_GENDER }} }
|
119
|
+
api.has_param :query, 'string'
|
120
|
+
api.has_param :reels_interaction_rate, 'object'
|
121
|
+
api.has_param :similar_to_creators, { list: 'string' }
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
106
125
|
has_edge :dataset do |edge|
|
107
126
|
edge.get 'Dataset'
|
108
127
|
edge.post 'Dataset' do |api|
|
@@ -124,6 +143,7 @@ module FacebookAds
|
|
124
143
|
|
125
144
|
has_edge :instagram_backed_threads_user do |edge|
|
126
145
|
edge.get 'ThreadsUser'
|
146
|
+
edge.post 'ThreadsUser'
|
127
147
|
end
|
128
148
|
|
129
149
|
has_edge :live_media do |edge|
|