facebookbusiness 23.0.3 → 24.0.0
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/ad_account.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +17 -0
- data/lib/facebook_ads/ad_objects/ad_account_live_video_advertiser.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_matched_search_applications_edge_data.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +5 -0
- data/lib/facebook_ads/ad_objects/ad_creative_destination_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative_feature_customizations.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative_features_spec.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_child_attachment.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative_media_sourcing_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative_site_links_spec.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_preview.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_set.rb +3 -1
- data/lib/facebook_ads/ad_objects/ad_video.rb +1 -4
- data/lib/facebook_ads/ad_objects/ads_image_crops.rb +1 -0
- data/lib/facebook_ads/ad_objects/ads_insights.rb +2 -0
- data/lib/facebook_ads/ad_objects/ads_quick_views.rb +1 -0
- data/lib/facebook_ads/ad_objects/ads_user_settings.rb +5 -0
- data/lib/facebook_ads/ad_objects/ads_value_adjustment_rule_collection.rb +1 -1
- data/lib/facebook_ads/ad_objects/application.rb +0 -8
- data/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb +2 -0
- data/lib/facebook_ads/ad_objects/business.rb +13 -5
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +0 -4
- data/lib/facebook_ads/ad_objects/copyright_ownership_transfer.rb +1 -0
- data/lib/facebook_ads/ad_objects/custom_audience.rb +1 -0
- data/lib/facebook_ads/ad_objects/event.rb +0 -1
- data/lib/facebook_ads/ad_objects/ig_media.rb +2 -1
- data/lib/facebook_ads/ad_objects/ig_user.rb +10 -0
- data/lib/facebook_ads/ad_objects/ig_user_for_ig_only_api.rb +1 -1
- data/lib/facebook_ads/ad_objects/live_video.rb +0 -1
- data/lib/facebook_ads/ad_objects/mc_experience_config_for_api.rb +1 -0
- data/lib/facebook_ads/ad_objects/omega_customer_trx.rb +0 -5
- data/lib/facebook_ads/ad_objects/open_bridge_configuration.rb +9 -0
- data/lib/facebook_ads/ad_objects/page.rb +0 -2
- data/lib/facebook_ads/ad_objects/placement_soft_opt_out.rb +31 -0
- data/lib/facebook_ads/ad_objects/product_catalog.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_feed.rb +5 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +2 -0
- data/lib/facebook_ads/ad_objects/shadow_ig_scheduled_media.rb +28 -0
- data/lib/facebook_ads/ad_objects/shadow_ig_user_thread_owner.rb +24 -0
- data/lib/facebook_ads/ad_objects/user.rb +0 -1
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +18 -2
- data/lib/facebook_ads/version.rb +2 -2
- metadata +5 -3
- data/lib/facebook_ads/ad_objects/audio_release.rb +0 -38
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d288f124a10cb9ca7a0f7d7b212bd1c4254edab43dd3ad429e8572c1304aa76
|
|
4
|
+
data.tar.gz: e4df55422c3c5d4493ebe660600ee00732da844bad1ccce1bd03890f1a3993fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f4138df50f2f995172932b9204cdf0c812acfc07bb35dd91ee33fdd11ba11e1d34cd57adb4727e04fae0cbfa680cf2ba2f46a526eb38461b1808a31cadb5029
|
|
7
|
+
data.tar.gz: dd12ff024d8d3e09784ce4d41d3298579e0c60101e3f2b407a9721f58f7028b77f804ec89aef71168e28dbb73dda502ff37cc9f5446a1bec0ebd290510526186
|
|
@@ -313,6 +313,7 @@ module FacebookAds
|
|
|
313
313
|
api.has_param :destination_spec, 'hash'
|
|
314
314
|
api.has_param :dynamic_ad_voice, { enum: -> { AdCreative::DYNAMIC_AD_VOICE }}
|
|
315
315
|
api.has_param :enable_launch_instant_app, 'bool'
|
|
316
|
+
api.has_param :execution_options, { list: { enum: -> { AdCreative::EXECUTION_OPTIONS }} }
|
|
316
317
|
api.has_param :facebook_branded_content, 'hash'
|
|
317
318
|
api.has_param :format_transformation_spec, { list: 'hash' }
|
|
318
319
|
api.has_param :image_crops, 'hash'
|
|
@@ -534,6 +535,7 @@ module FacebookAds
|
|
|
534
535
|
api.has_param :optimization_goal, { enum: -> { AdSet::OPTIMIZATION_GOAL }}
|
|
535
536
|
api.has_param :optimization_sub_event, { enum: -> { AdSet::OPTIMIZATION_SUB_EVENT }}
|
|
536
537
|
api.has_param :pacing_type, { list: 'string' }
|
|
538
|
+
api.has_param :placement_soft_opt_out, 'object'
|
|
537
539
|
api.has_param :promoted_object, 'object'
|
|
538
540
|
api.has_param :rb_prediction_id, 'string'
|
|
539
541
|
api.has_param :regional_regulated_categories, { list: { enum: -> { AdSet::REGIONAL_REGULATED_CATEGORIES }} }
|
|
@@ -851,6 +853,7 @@ module FacebookAds
|
|
|
851
853
|
api.has_param :event_sources, { list: 'hash' }
|
|
852
854
|
api.has_param :exclusions, { list: 'object' }
|
|
853
855
|
api.has_param :facebook_page_id, 'string'
|
|
856
|
+
api.has_param :inclusionoperator, 'string'
|
|
854
857
|
api.has_param :inclusions, { list: 'object' }
|
|
855
858
|
api.has_param :is_snapshot, 'bool'
|
|
856
859
|
api.has_param :is_value_based, 'bool'
|
|
@@ -1084,6 +1087,7 @@ module FacebookAds
|
|
|
1084
1087
|
api.has_param :event_source_group, 'string'
|
|
1085
1088
|
api.has_param :event_sources, { list: 'hash' }
|
|
1086
1089
|
api.has_param :exclusions, { list: 'object' }
|
|
1090
|
+
api.has_param :inclusionoperator, 'string'
|
|
1087
1091
|
api.has_param :inclusions, { list: 'object' }
|
|
1088
1092
|
api.has_param :is_snapshot, 'bool'
|
|
1089
1093
|
api.has_param :is_value_based, 'bool'
|
|
@@ -100,6 +100,7 @@ module FacebookAds
|
|
|
100
100
|
"AUTOMATIC_PLACEMENTS",
|
|
101
101
|
"AUTOMATIC_PLACEMENTS_V2",
|
|
102
102
|
"AUTOMATIC_PLACEMENTS_V3",
|
|
103
|
+
"AUTOMATIC_PLACEMENTS_V4",
|
|
103
104
|
"AUTO_BID",
|
|
104
105
|
"AUTO_CAT_SELECTION_ENHANCEMENT",
|
|
105
106
|
"B2P_MESSAGING_UPSELL",
|
|
@@ -118,6 +119,7 @@ module FacebookAds
|
|
|
118
119
|
"BUDGET_SEASONAL_GUIDANCE",
|
|
119
120
|
"BUSINESS_AI_AGENT_UPSELL",
|
|
120
121
|
"CALL_ADS_DAYPARTING_L3_RECOMMENDATION",
|
|
122
|
+
"CAMPAIGN_CONSOLIDATION_WITH_FLEX",
|
|
121
123
|
"CAMPAIGN_GUIDANCE_NAVIGATOR_REELS_TIPS",
|
|
122
124
|
"CAMPAIGN_SPEND_LIMIT",
|
|
123
125
|
"CAPI",
|
|
@@ -160,15 +162,20 @@ module FacebookAds
|
|
|
160
162
|
"CREATIVE_LIMITED_HOURLY",
|
|
161
163
|
"CREATOR_ADS_PA_CONVERSION",
|
|
162
164
|
"CTA",
|
|
165
|
+
"CTD_LEADS_OPTIMIZATION",
|
|
163
166
|
"CTD_PURCHASE_OPTIMIZATION",
|
|
164
167
|
"CTM_AD_OBJECTIVE_GROWTH",
|
|
165
168
|
"CTM_LEADS_OPTIMIZATION_UPSELL",
|
|
169
|
+
"CTM_LO_ODAX_PHASE_2",
|
|
170
|
+
"CTM_PO_ODAX_PHASE_2",
|
|
171
|
+
"CTM_VO_ODAX_PHASE_2",
|
|
166
172
|
"CTX_BUDGET_OPTIMIZATION",
|
|
167
173
|
"CTX_CREATION_PACKAGE",
|
|
168
174
|
"CTX_CREATION_PACKAGE_V2",
|
|
169
175
|
"CTX_CREATIVE_LOW_OUTCOME_WARNING",
|
|
170
176
|
"CTX_CTA_UPGRADE_IN_DUPLICATION",
|
|
171
177
|
"CTX_CTMPO_UPGRADE",
|
|
178
|
+
"CTX_CTWALO_UPGRADE",
|
|
172
179
|
"CTX_CTWAPO_UPGRADE",
|
|
173
180
|
"CTX_GUIDANCE",
|
|
174
181
|
"CTX_HVS",
|
|
@@ -205,6 +212,7 @@ module FacebookAds
|
|
|
205
212
|
"FRAGMENTATION_RESOLUTION_UPDATE",
|
|
206
213
|
"FRAGMENTATION_V2",
|
|
207
214
|
"FRAGMENTATION_V3",
|
|
215
|
+
"FRAGMENTATION_V4",
|
|
208
216
|
"GENERATIVE_UNCROP_DUPLICATION",
|
|
209
217
|
"GEN_AI_MVP",
|
|
210
218
|
"GES_TEST",
|
|
@@ -222,6 +230,7 @@ module FacebookAds
|
|
|
222
230
|
"LANDING_PAGE_VIEW_OPTIMIZATION_GOAL",
|
|
223
231
|
"LANDING_PAGE_VIEW_OPTIMIZATION_GOAL_V2",
|
|
224
232
|
"LANDING_PAGE_VIEW_PRECREATE",
|
|
233
|
+
"LEAD_ADS_DFCA_LOOKALIKE_ADOPTION",
|
|
225
234
|
"LEAD_ADS_GUIDANCE",
|
|
226
235
|
"LEARNING_LIMITED",
|
|
227
236
|
"LEARNING_PAUSE_FRICTION",
|
|
@@ -235,6 +244,7 @@ module FacebookAds
|
|
|
235
244
|
"MESSAGING_EVENTS_PRECREATE",
|
|
236
245
|
"MESSAGING_PARTNERS",
|
|
237
246
|
"MESSAGING_PARTNERS_PRECREATE",
|
|
247
|
+
"MESSAGING_PARTNERS_V2",
|
|
238
248
|
"META_VERIFIED_ADS_PERFORMANCE_GUIDANCE",
|
|
239
249
|
"MISSING_OR_INVALID_PARAMETERS",
|
|
240
250
|
"MIXED_FORMATS",
|
|
@@ -248,12 +258,14 @@ module FacebookAds
|
|
|
248
258
|
"MULTI_ADVERTISER_ADS",
|
|
249
259
|
"MULTI_TEXT",
|
|
250
260
|
"MUSIC",
|
|
261
|
+
"MUSIC_V2",
|
|
251
262
|
"NARROW_WEBSITE_CUSTOM_AUDIENCE",
|
|
252
263
|
"NOT_APPLICABLE",
|
|
253
264
|
"NO_DELIVERY_STATUS",
|
|
254
265
|
"OFFSITE_CONVERSION",
|
|
255
266
|
"OFFSITE_CONVERSION_AR",
|
|
256
267
|
"OFFSITE_CONVERSION_BASED_ON_SIGNALS",
|
|
268
|
+
"OFFSITE_CONVERSION_LEADS_OPTIMIZATION",
|
|
257
269
|
"OFFSITE_CONVERSION_V2",
|
|
258
270
|
"OMNI_OPTIMIZATION",
|
|
259
271
|
"OPTIMAL_BAU",
|
|
@@ -270,6 +282,7 @@ module FacebookAds
|
|
|
270
282
|
"PIXEL_OPTIMIZATION_AAM_PRECREATE",
|
|
271
283
|
"PIXEL_OPTIMIZATION_HIE",
|
|
272
284
|
"PIXEL_OPTIMIZATION_HIE_PRECREATE",
|
|
285
|
+
"PIXEL_OPTIMIZATION_HIE_V2",
|
|
273
286
|
"PIXEL_SETUP",
|
|
274
287
|
"PIXEL_SETUP_PRECREATE",
|
|
275
288
|
"PIXEL_UPSELL",
|
|
@@ -301,8 +314,10 @@ module FacebookAds
|
|
|
301
314
|
"SCALE_GOOD_CAMPAIGN",
|
|
302
315
|
"SCALE_GOOD_CAMPAIGN_DUPLICATION",
|
|
303
316
|
"SCALE_GOOD_CAMPAIGN_SMB",
|
|
317
|
+
"SCALE_GOOD_CAMPAIGN_V2",
|
|
304
318
|
"SCALE_GOOD_CAMPAIGN_V2_DUPLICATION",
|
|
305
319
|
"SCALE_GOOD_CTX_CAMPAIGN",
|
|
320
|
+
"SCALE_GOOD_CTX_CAMPAIGNS_DUPLICATION",
|
|
306
321
|
"SEASONAL_CAMPAIGNS",
|
|
307
322
|
"SEMANTIC_BASED_AUDIENCE_DUPLICATION",
|
|
308
323
|
"SEMANTIC_BASED_AUDIENCE_EXPANSION",
|
|
@@ -341,6 +356,7 @@ module FacebookAds
|
|
|
341
356
|
"UNIFIED_INBOX",
|
|
342
357
|
"UNUSED_BUDGET",
|
|
343
358
|
"UPPER_FUNNEL_TO_LEAD_INSTANT_FORM",
|
|
359
|
+
"VALUE_CO_CAMPAIGNS_LOW_PURCHASE_DQ",
|
|
344
360
|
"VALUE_DIAGNOSTICS_GUIDANCE",
|
|
345
361
|
"VALUE_OPTIMIZATION_GOAL",
|
|
346
362
|
"VALUE_RULES_GUIDANCE",
|
|
@@ -351,6 +367,7 @@ module FacebookAds
|
|
|
351
367
|
"VO_VT_1D_DEFAULTING",
|
|
352
368
|
"WA_MESSAGING_PARTNERS",
|
|
353
369
|
"WA_MESSAGING_PARTNERS_PRECREATE",
|
|
370
|
+
"WA_MESSAGING_PARTNERS_V2",
|
|
354
371
|
"WEBSITE_AND_CALLS_UPSELL",
|
|
355
372
|
"WEBSITE_AND_INSTANT_FORM_L2",
|
|
356
373
|
"WEB_ENGAGED_VIEW_CONVERSIONS",
|
|
@@ -20,6 +20,7 @@ module FacebookAds
|
|
|
20
20
|
field :lva_default_duration_s, 'int'
|
|
21
21
|
field :should_default_current_live, 'bool'
|
|
22
22
|
field :should_default_scheduled_live, 'bool'
|
|
23
|
+
field :should_default_toggle_on_from_model, 'bool'
|
|
23
24
|
field :should_show_lva_toggle, 'bool'
|
|
24
25
|
has_no_id
|
|
25
26
|
has_no_get
|
|
@@ -15,6 +15,7 @@ module FacebookAds
|
|
|
15
15
|
|
|
16
16
|
class AdAccountMatchedSearchApplicationsEdgeData < AdObject
|
|
17
17
|
APP_STORE = [
|
|
18
|
+
"ALL_APP_STORES_FOR_ANDROID_AND_IOS",
|
|
18
19
|
"AMAZON_APP_STORE",
|
|
19
20
|
"APK_MIRROR",
|
|
20
21
|
"APK_MONK",
|
|
@@ -44,6 +45,7 @@ module FacebookAds
|
|
|
44
45
|
]
|
|
45
46
|
|
|
46
47
|
STORES_TO_FILTER = [
|
|
48
|
+
"ALL_APP_STORES_FOR_ANDROID_AND_IOS",
|
|
47
49
|
"AMAZON_APP_STORE",
|
|
48
50
|
"APK_MIRROR",
|
|
49
51
|
"APK_MONK",
|
|
@@ -168,6 +168,10 @@ module FacebookAds
|
|
|
168
168
|
"STORY_OWNER",
|
|
169
169
|
]
|
|
170
170
|
|
|
171
|
+
EXECUTION_OPTIONS = [
|
|
172
|
+
"validate_only",
|
|
173
|
+
]
|
|
174
|
+
|
|
171
175
|
OPERATOR = [
|
|
172
176
|
"ALL",
|
|
173
177
|
"ANY",
|
|
@@ -247,6 +251,7 @@ module FacebookAds
|
|
|
247
251
|
field :url_tags, 'string'
|
|
248
252
|
field :use_page_actor_override, 'bool'
|
|
249
253
|
field :video_id, 'string'
|
|
254
|
+
field :execution_options, { list: { enum: -> { EXECUTION_OPTIONS }} }
|
|
250
255
|
field :image_file, 'string'
|
|
251
256
|
field :is_dco_internal, 'bool'
|
|
252
257
|
|
|
@@ -35,6 +35,7 @@ module FacebookAds
|
|
|
35
35
|
field :fb_reels_tag, 'AdCreativeFeatureDetails'
|
|
36
36
|
field :fb_story_tag, 'AdCreativeFeatureDetails'
|
|
37
37
|
field :feed_caption_optimization, 'AdCreativeFeatureDetails'
|
|
38
|
+
field :generate_cta, 'AdCreativeFeatureDetails'
|
|
38
39
|
field :hide_price, 'AdCreativeFeatureDetails'
|
|
39
40
|
field :ig_feed_tag, 'AdCreativeFeatureDetails'
|
|
40
41
|
field :ig_glados_feed, 'AdCreativeFeatureDetails'
|
|
@@ -68,10 +69,13 @@ module FacebookAds
|
|
|
68
69
|
field :site_extensions, 'AdCreativeFeatureDetails'
|
|
69
70
|
field :standard_enhancements, 'AdCreativeFeatureDetails'
|
|
70
71
|
field :standard_enhancements_catalog, 'AdCreativeFeatureDetails'
|
|
72
|
+
field :text_extraction_for_headline, 'AdCreativeFeatureDetails'
|
|
73
|
+
field :text_extraction_for_tap_target, 'AdCreativeFeatureDetails'
|
|
71
74
|
field :text_generation, 'AdCreativeFeatureDetails'
|
|
72
75
|
field :text_optimizations, 'AdCreativeFeatureDetails'
|
|
73
76
|
field :text_overlay_translation, 'AdCreativeFeatureDetails'
|
|
74
77
|
field :text_translation, 'AdCreativeFeatureDetails'
|
|
78
|
+
field :translate_voiceover, 'AdCreativeFeatureDetails'
|
|
75
79
|
field :video_auto_crop, 'AdCreativeFeatureDetails'
|
|
76
80
|
field :video_filtering, 'AdCreativeFeatureDetails'
|
|
77
81
|
field :video_highlight, 'AdCreativeFeatureDetails'
|
|
@@ -19,6 +19,7 @@ module FacebookAds
|
|
|
19
19
|
field :call_to_action, 'AdCreativeLinkDataCallToAction'
|
|
20
20
|
field :caption, 'string'
|
|
21
21
|
field :description, 'string'
|
|
22
|
+
field :ig_media_id, 'string'
|
|
22
23
|
field :image_crops, 'AdsImageCrops'
|
|
23
24
|
field :image_hash, 'string'
|
|
24
25
|
field :ios_url, 'string'
|
|
@@ -18,6 +18,7 @@ module FacebookAds
|
|
|
18
18
|
field :bodies, { list: 'object' }
|
|
19
19
|
field :descriptions, { list: 'object' }
|
|
20
20
|
field :images, { list: 'object' }
|
|
21
|
+
field :push_metadata_ids, { list: 'int' }
|
|
21
22
|
field :related_media, 'object'
|
|
22
23
|
field :titles, { list: 'object' }
|
|
23
24
|
field :videos, { list: 'object' }
|
|
@@ -16,6 +16,7 @@ module FacebookAds
|
|
|
16
16
|
class AdCreativeSiteLinksSpec < AdObject
|
|
17
17
|
|
|
18
18
|
field :is_site_link_sticky, 'bool'
|
|
19
|
+
field :site_link_classification, 'string'
|
|
19
20
|
field :site_link_extra_metadata, 'string'
|
|
20
21
|
field :site_link_hash, 'string'
|
|
21
22
|
field :site_link_id, 'string'
|
|
@@ -25,6 +26,7 @@ module FacebookAds
|
|
|
25
26
|
field :site_link_recommendation_type, 'string'
|
|
26
27
|
field :site_link_title, 'string'
|
|
27
28
|
field :site_link_url, 'string'
|
|
29
|
+
field :site_link_url_anchor, 'string'
|
|
28
30
|
has_no_id
|
|
29
31
|
has_no_get
|
|
30
32
|
has_no_post
|
|
@@ -203,6 +203,7 @@ module FacebookAds
|
|
|
203
203
|
"9",
|
|
204
204
|
"10",
|
|
205
205
|
"11",
|
|
206
|
+
"12",
|
|
206
207
|
]
|
|
207
208
|
|
|
208
209
|
TUNE_FOR_CATEGORY = [
|
|
@@ -230,6 +231,7 @@ module FacebookAds
|
|
|
230
231
|
field :account_id, 'string'
|
|
231
232
|
field :adlabels, { list: 'AdLabel' }
|
|
232
233
|
field :adset_schedule, { list: 'DayPart' }
|
|
234
|
+
field :anchor_event_attribution_window_days, 'int'
|
|
233
235
|
field :asset_feed_id, 'string'
|
|
234
236
|
field :attribution_spec, { list: 'AttributionSpec' }
|
|
235
237
|
field :automatic_manual_state, 'string'
|
|
@@ -279,7 +281,7 @@ module FacebookAds
|
|
|
279
281
|
field :optimization_goal, { enum: -> { OPTIMIZATION_GOAL }}
|
|
280
282
|
field :optimization_sub_event, 'string'
|
|
281
283
|
field :pacing_type, { list: 'string' }
|
|
282
|
-
field :placement_soft_opt_out, '
|
|
284
|
+
field :placement_soft_opt_out, 'PlacementSoftOptOut'
|
|
283
285
|
field :promoted_object, 'AdPromotedObject'
|
|
284
286
|
field :recommendations, { list: 'AdRecommendation' }
|
|
285
287
|
field :recurring_budget_semantics, 'bool'
|
|
@@ -79,8 +79,6 @@ module FacebookAds
|
|
|
79
79
|
"HORIZON_WORLDS_TV",
|
|
80
80
|
"HUDDLE_BROADCAST",
|
|
81
81
|
"IG_REELS_XPV",
|
|
82
|
-
"IG_STORIES_READER",
|
|
83
|
-
"INJECTABLE",
|
|
84
82
|
"INSPIRATION_VIDEO",
|
|
85
83
|
"INSTAGRAM_VIDEO_COPY",
|
|
86
84
|
"INSTANT_APPLICATION_PREVIEW",
|
|
@@ -140,7 +138,6 @@ module FacebookAds
|
|
|
140
138
|
"QUICK_CLIP_WORKPLACE_POST",
|
|
141
139
|
"QUICK_PROMOTION",
|
|
142
140
|
"REPLACE_VIDEO",
|
|
143
|
-
"SALES_CLIENT_INTERACTION",
|
|
144
141
|
"SHOWREEL_NATIVE_DUMMY_VIDEO",
|
|
145
142
|
"SLIDESHOW_ANIMOTO",
|
|
146
143
|
"SLIDESHOW_SHAKR",
|
|
@@ -154,6 +151,7 @@ module FacebookAds
|
|
|
154
151
|
"STORY_CARD_TEMPLATE",
|
|
155
152
|
"STREAM_HIGHLIGHTS_VIDEO",
|
|
156
153
|
"TAROT_DIGEST",
|
|
154
|
+
"TEMPORARY",
|
|
157
155
|
"TEMPORARY_UNLISTED",
|
|
158
156
|
"TEMP_VIDEO_COPYRIGHT_SCAN",
|
|
159
157
|
"UNLISTED",
|
|
@@ -162,7 +160,6 @@ module FacebookAds
|
|
|
162
160
|
"VIDEO_COMPOSITION_VARIATION",
|
|
163
161
|
"VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO",
|
|
164
162
|
"VIDEO_SUPERRES",
|
|
165
|
-
"VOICES_ARTICLE_VIDEO",
|
|
166
163
|
"VU_GENERATED_VIDEO",
|
|
167
164
|
"WOODHENGE",
|
|
168
165
|
"WORK_KNOWLEDGE_VIDEO",
|
|
@@ -18,6 +18,7 @@ module FacebookAds
|
|
|
18
18
|
field :_100x100, { list: { list: 'string' } }
|
|
19
19
|
field :_100x72, { list: { list: 'string' } }
|
|
20
20
|
field :_191x100, { list: { list: 'string' } }
|
|
21
|
+
field :_300x400, { list: { list: 'string' } }
|
|
21
22
|
field :_400x150, { list: { list: 'string' } }
|
|
22
23
|
field :_400x500, { list: { list: 'string' } }
|
|
23
24
|
field :_600x360, { list: { list: 'string' } }
|
|
@@ -121,6 +121,7 @@ module FacebookAds
|
|
|
121
121
|
"product_custom_label_3_breakdown",
|
|
122
122
|
"product_custom_label_4_breakdown",
|
|
123
123
|
"product_group_content_id_breakdown",
|
|
124
|
+
"product_group_id",
|
|
124
125
|
"product_id",
|
|
125
126
|
"product_set_id_breakdown",
|
|
126
127
|
"publisher_platform",
|
|
@@ -208,6 +209,7 @@ module FacebookAds
|
|
|
208
209
|
field :adset_name, 'string'
|
|
209
210
|
field :adset_start, 'string'
|
|
210
211
|
field :age_targeting, 'string'
|
|
212
|
+
field :anchor_events_performance_indicator, 'string'
|
|
211
213
|
field :attribution_setting, 'string'
|
|
212
214
|
field :auction_bid, 'string'
|
|
213
215
|
field :auction_competitiveness, 'string'
|
|
@@ -19,8 +19,11 @@ module FacebookAds
|
|
|
19
19
|
field :add_overlays_opt_in_status, 'string'
|
|
20
20
|
field :adgroup_name_template, 'object'
|
|
21
21
|
field :ads_cs_catalog_opt_out_timestamp, { list: 'hash' }
|
|
22
|
+
field :ads_cs_dynamic_se_opt_in_status, 'string'
|
|
23
|
+
field :ads_cs_dynamic_se_opt_out_timestamp, { list: 'hash' }
|
|
22
24
|
field :ads_cs_sitelinks_opt_in_status, 'string'
|
|
23
25
|
field :ads_cs_sitelinks_opt_out_timestamp, { list: 'hash' }
|
|
26
|
+
field :ads_destination_optimization_opt_out_timestamp, { list: 'hash' }
|
|
24
27
|
field :ads_tool_visits, { list: 'object' }
|
|
25
28
|
field :aplusc_ai_agent_opt_in_status, 'string'
|
|
26
29
|
field :aplusc_carousel_cda_opt_in_status, 'string'
|
|
@@ -44,7 +47,9 @@ module FacebookAds
|
|
|
44
47
|
field :create_cta_sticker_opt_in_status, 'string'
|
|
45
48
|
field :creative_flex_opt_in_status, 'string'
|
|
46
49
|
field :da_add_overlays_opt_in_status, 'string'
|
|
50
|
+
field :da_creative_flex_opt_in_status, 'string'
|
|
47
51
|
field :da_hide_price_opt_in_status, 'string'
|
|
52
|
+
field :da_manual_media_nux_impressions, 'int'
|
|
48
53
|
field :default_creation_mode, 'string'
|
|
49
54
|
field :dynamic_partnership_ads_opt_in_status, 'string'
|
|
50
55
|
field :enhance_cta_text_extraction_opt_in_status, 'string'
|
|
@@ -580,18 +580,10 @@ module FacebookAds
|
|
|
580
580
|
|
|
581
581
|
has_edge :subscribed_domains do |edge|
|
|
582
582
|
edge.get
|
|
583
|
-
edge.post 'Application' do |api|
|
|
584
|
-
api.has_param :subscribe, { list: 'string' }
|
|
585
|
-
api.has_param :unsubscribe, { list: 'string' }
|
|
586
|
-
end
|
|
587
583
|
end
|
|
588
584
|
|
|
589
585
|
has_edge :subscribed_domains_phishing do |edge|
|
|
590
586
|
edge.get
|
|
591
|
-
edge.post 'Application' do |api|
|
|
592
|
-
api.has_param :subscribe, { list: 'string' }
|
|
593
|
-
api.has_param :unsubscribe, { list: 'string' }
|
|
594
|
-
end
|
|
595
587
|
end
|
|
596
588
|
|
|
597
589
|
has_edge :subscriptions do |edge|
|
|
@@ -23,8 +23,10 @@ module FacebookAds
|
|
|
23
23
|
field :eligibility_errors, { list: 'string' }
|
|
24
24
|
field :has_permission_for_partnership_ad, 'bool'
|
|
25
25
|
field :id, 'string'
|
|
26
|
+
field :linked_products, { list: 'ProductItem' }
|
|
26
27
|
field :owner_id, 'string'
|
|
27
28
|
field :permalink, 'string'
|
|
29
|
+
field :product_suggestions, { list: 'ProductItem' }
|
|
28
30
|
field :recommended_campaign_objectives, { list: 'string' }
|
|
29
31
|
has_no_get
|
|
30
32
|
has_no_post
|
|
@@ -27,6 +27,15 @@ module FacebookAds
|
|
|
27
27
|
"verified",
|
|
28
28
|
]
|
|
29
29
|
|
|
30
|
+
WHATSAPP_BUSINESS_MANAGER_MESSAGING_LIMIT = [
|
|
31
|
+
"TIER_100K",
|
|
32
|
+
"TIER_10K",
|
|
33
|
+
"TIER_250",
|
|
34
|
+
"TIER_2K",
|
|
35
|
+
"TIER_UNLIMITED",
|
|
36
|
+
"UNTIERED",
|
|
37
|
+
]
|
|
38
|
+
|
|
30
39
|
TWO_FACTOR_TYPE = [
|
|
31
40
|
"admin_required",
|
|
32
41
|
"all_required",
|
|
@@ -871,6 +880,7 @@ module FacebookAds
|
|
|
871
880
|
field :verification_status, { enum: -> { VERIFICATION_STATUS }}
|
|
872
881
|
field :vertical, 'string'
|
|
873
882
|
field :vertical_id, 'int'
|
|
883
|
+
field :whatsapp_business_manager_messaging_limit, { enum: -> { WHATSAPP_BUSINESS_MANAGER_MESSAGING_LIMIT }}
|
|
874
884
|
has_no_delete
|
|
875
885
|
|
|
876
886
|
has_edge :access_token do |edge|
|
|
@@ -1054,15 +1064,10 @@ module FacebookAds
|
|
|
1054
1064
|
|
|
1055
1065
|
has_edge :business_invoices do |edge|
|
|
1056
1066
|
edge.get 'OmegaCustomerTrx' do |api|
|
|
1057
|
-
api.has_param :account_ids, { list: 'int' }
|
|
1058
|
-
api.has_param :advertiser_name, 'string'
|
|
1059
|
-
api.has_param :billing_period_end, 'string'
|
|
1060
|
-
api.has_param :billing_period_start, 'string'
|
|
1061
1067
|
api.has_param :end_date, 'string'
|
|
1062
1068
|
api.has_param :invoice_id, 'string'
|
|
1063
1069
|
api.has_param :issue_end_date, 'string'
|
|
1064
1070
|
api.has_param :issue_start_date, 'string'
|
|
1065
|
-
api.has_param :product_types, { list: { enum: -> { OmegaCustomerTrx::PRODUCT_TYPES }} }
|
|
1066
1071
|
api.has_param :root_id, 'int'
|
|
1067
1072
|
api.has_param :start_date, 'string'
|
|
1068
1073
|
api.has_param :type, { enum: -> { OmegaCustomerTrx::TYPE }}
|
|
@@ -1323,10 +1328,13 @@ module FacebookAds
|
|
|
1323
1328
|
edge.get 'OpenBridgeConfiguration'
|
|
1324
1329
|
edge.post 'OpenBridgeConfiguration' do |api|
|
|
1325
1330
|
api.has_param :active, 'bool'
|
|
1331
|
+
api.has_param :blocked_event_types, { list: 'string' }
|
|
1332
|
+
api.has_param :blocked_websites, { list: 'string' }
|
|
1326
1333
|
api.has_param :cloud_provider, 'string'
|
|
1327
1334
|
api.has_param :cloud_region, 'string'
|
|
1328
1335
|
api.has_param :destination_id, 'string'
|
|
1329
1336
|
api.has_param :endpoint, 'string'
|
|
1337
|
+
api.has_param :event_enrichment_state, { enum: -> { OpenBridgeConfiguration::EVENT_ENRICHMENT_STATE }}
|
|
1330
1338
|
api.has_param :fallback_domain, 'string'
|
|
1331
1339
|
api.has_param :first_party_domain, 'string'
|
|
1332
1340
|
api.has_param :host_business_id, 'int'
|
|
@@ -27,7 +27,6 @@ module FacebookAds
|
|
|
27
27
|
field :merchant_page, 'Profile'
|
|
28
28
|
field :merchant_status, 'string'
|
|
29
29
|
field :offsite_iab_checkout_enabled_countries, { list: 'string' }
|
|
30
|
-
field :onsite_commerce_merchant, 'object'
|
|
31
30
|
field :payment_provider, 'string'
|
|
32
31
|
field :privacy_policy_localized, 'string'
|
|
33
32
|
field :return_policy_localized, 'string'
|
|
@@ -89,9 +88,6 @@ module FacebookAds
|
|
|
89
88
|
end
|
|
90
89
|
|
|
91
90
|
has_edge :shipping_profiles do |edge|
|
|
92
|
-
edge.get do |api|
|
|
93
|
-
api.has_param :reference_id, 'string'
|
|
94
|
-
end
|
|
95
91
|
edge.post do |api|
|
|
96
92
|
api.has_param :handling_time, 'hash'
|
|
97
93
|
api.has_param :is_default, 'bool'
|
|
@@ -138,6 +138,7 @@ module FacebookAds
|
|
|
138
138
|
field :event_sources, { list: 'hash' }
|
|
139
139
|
field :exclusions, { list: 'object' }
|
|
140
140
|
field :facebook_page_id, 'string'
|
|
141
|
+
field :inclusionoperator, 'string'
|
|
141
142
|
field :inclusions, { list: 'object' }
|
|
142
143
|
field :list_of_accounts, { list: 'int' }
|
|
143
144
|
field :marketing_message_channels, 'object'
|
|
@@ -20,6 +20,8 @@ module FacebookAds
|
|
|
20
20
|
field :caption, 'string'
|
|
21
21
|
field :comments_count, 'int'
|
|
22
22
|
field :copyright_check_information, 'IgVideoCopyrightCheckMatchesInformation'
|
|
23
|
+
field :has_poll, 'bool'
|
|
24
|
+
field :has_slider, 'bool'
|
|
23
25
|
field :id, 'string'
|
|
24
26
|
field :ig_id, 'string'
|
|
25
27
|
field :is_comment_enabled, 'bool'
|
|
@@ -37,7 +39,6 @@ module FacebookAds
|
|
|
37
39
|
field :username, 'string'
|
|
38
40
|
field :video_title, 'string'
|
|
39
41
|
field :view_count, 'int'
|
|
40
|
-
has_no_delete
|
|
41
42
|
|
|
42
43
|
has_edge :boost_ads_list do |edge|
|
|
43
44
|
edge.get 'IgBoostMediaAd'
|
|
@@ -96,6 +96,10 @@ module FacebookAds
|
|
|
96
96
|
|
|
97
97
|
has_edge :collaboration_invites do |edge|
|
|
98
98
|
edge.get 'ShadowIgUserCollaborationInvites'
|
|
99
|
+
edge.post 'ShadowIgUserCollaborationInvites' do |api|
|
|
100
|
+
api.has_param :accept, 'bool'
|
|
101
|
+
api.has_param :media_id, 'string'
|
|
102
|
+
end
|
|
99
103
|
end
|
|
100
104
|
|
|
101
105
|
has_edge :connected_threads_user do |edge|
|
|
@@ -118,6 +122,7 @@ module FacebookAds
|
|
|
118
122
|
api.has_param :creator_max_followers, 'int'
|
|
119
123
|
api.has_param :creator_min_engaged_accounts, 'int'
|
|
120
124
|
api.has_param :creator_min_followers, 'int'
|
|
125
|
+
api.has_param :has_public_contact_email, 'bool'
|
|
121
126
|
api.has_param :major_audience_age_bucket, { list: 'object' }
|
|
122
127
|
api.has_param :major_audience_countries, { list: { enum: -> { IgUserExportForCam::MAJOR_AUDIENCE_COUNTRIES }} }
|
|
123
128
|
api.has_param :major_audience_gender, { list: { enum: -> { IgUserExportForCam::MAJOR_AUDIENCE_GENDER }} }
|
|
@@ -179,6 +184,7 @@ module FacebookAds
|
|
|
179
184
|
api.has_param :product_tags, { list: 'hash' }
|
|
180
185
|
api.has_param :share_to_feed, 'bool'
|
|
181
186
|
api.has_param :thumb_offset, 'string'
|
|
187
|
+
api.has_param :trial_params, 'hash'
|
|
182
188
|
api.has_param :upload_type, 'string'
|
|
183
189
|
api.has_param :user_tags, { list: 'hash' }
|
|
184
190
|
api.has_param :video_url, 'string'
|
|
@@ -217,6 +223,10 @@ module FacebookAds
|
|
|
217
223
|
edge.get 'ShadowIgHashtag'
|
|
218
224
|
end
|
|
219
225
|
|
|
226
|
+
has_edge :scheduled_media do |edge|
|
|
227
|
+
edge.get 'ShadowIgScheduledMedia'
|
|
228
|
+
end
|
|
229
|
+
|
|
220
230
|
has_edge :stories do |edge|
|
|
221
231
|
edge.get 'IgMedia'
|
|
222
232
|
end
|
|
@@ -44,7 +44,6 @@ module FacebookAds
|
|
|
44
44
|
has_edge :conversations do |edge|
|
|
45
45
|
edge.get 'UnifiedThread' do |api|
|
|
46
46
|
api.has_param :folder, 'string'
|
|
47
|
-
api.has_param :is_owner, 'bool'
|
|
48
47
|
api.has_param :platform, { enum: -> { UnifiedThread::PLATFORM }}
|
|
49
48
|
api.has_param :tags, { list: 'string' }
|
|
50
49
|
api.has_param :user_id, 'string'
|
|
@@ -86,6 +85,7 @@ module FacebookAds
|
|
|
86
85
|
api.has_param :product_tags, { list: 'hash' }
|
|
87
86
|
api.has_param :share_to_feed, 'bool'
|
|
88
87
|
api.has_param :thumb_offset, 'string'
|
|
88
|
+
api.has_param :trial_params, 'hash'
|
|
89
89
|
api.has_param :upload_type, 'string'
|
|
90
90
|
api.has_param :user_tags, { list: 'hash' }
|
|
91
91
|
api.has_param :video_url, 'string'
|
|
@@ -95,7 +95,6 @@ module FacebookAds
|
|
|
95
95
|
field :is_manual_mode, 'bool'
|
|
96
96
|
field :is_reference_only, 'bool'
|
|
97
97
|
field :live_views, 'int'
|
|
98
|
-
field :overlay_url, 'string'
|
|
99
98
|
field :permalink_url, 'string'
|
|
100
99
|
field :planned_start_time, 'datetime'
|
|
101
100
|
field :recommended_encoder_settings, 'LiveVideoRecommendedEncoderSettings'
|
|
@@ -14,13 +14,22 @@ module FacebookAds
|
|
|
14
14
|
# pull request for this class.
|
|
15
15
|
|
|
16
16
|
class OpenBridgeConfiguration < AdObject
|
|
17
|
+
EVENT_ENRICHMENT_STATE = [
|
|
18
|
+
"NO",
|
|
19
|
+
"NOT_INITIALIZED",
|
|
20
|
+
"YES",
|
|
21
|
+
]
|
|
22
|
+
|
|
17
23
|
|
|
18
24
|
field :active, 'bool'
|
|
25
|
+
field :blocked_event_types, { list: 'string' }
|
|
26
|
+
field :blocked_websites, { list: 'string' }
|
|
19
27
|
field :browser_agent, { list: 'string' }
|
|
20
28
|
field :cloud_provider, 'string'
|
|
21
29
|
field :cloud_region, 'string'
|
|
22
30
|
field :destination_id, 'string'
|
|
23
31
|
field :endpoint, 'string'
|
|
32
|
+
field :event_enrichment_state, 'string'
|
|
24
33
|
field :fallback_domain, 'string'
|
|
25
34
|
field :first_party_domain, 'string'
|
|
26
35
|
field :host_business_id, 'string'
|
|
@@ -747,7 +747,6 @@ module FacebookAds
|
|
|
747
747
|
has_edge :conversations do |edge|
|
|
748
748
|
edge.get 'UnifiedThread' do |api|
|
|
749
749
|
api.has_param :folder, 'string'
|
|
750
|
-
api.has_param :is_owner, 'bool'
|
|
751
750
|
api.has_param :platform, { enum: -> { UnifiedThread::PLATFORM }}
|
|
752
751
|
api.has_param :tags, { list: 'string' }
|
|
753
752
|
api.has_param :user_id, 'string'
|
|
@@ -1477,7 +1476,6 @@ module FacebookAds
|
|
|
1477
1476
|
has_edge :threads do |edge|
|
|
1478
1477
|
edge.get 'UnifiedThread' do |api|
|
|
1479
1478
|
api.has_param :folder, 'string'
|
|
1480
|
-
api.has_param :is_owner, 'bool'
|
|
1481
1479
|
api.has_param :platform, { enum: -> { UnifiedThread::PLATFORM }}
|
|
1482
1480
|
api.has_param :tags, { list: 'string' }
|
|
1483
1481
|
api.has_param :user_id, 'string'
|
|
@@ -0,0 +1,31 @@
|
|
|
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 PlacementSoftOptOut < AdObject
|
|
17
|
+
|
|
18
|
+
field :audience_network_positions, { list: 'string' }
|
|
19
|
+
field :facebook_positions, { list: 'string' }
|
|
20
|
+
field :instagram_positions, { list: 'string' }
|
|
21
|
+
field :messenger_positions, { list: 'string' }
|
|
22
|
+
field :oculus_positions, { list: 'string' }
|
|
23
|
+
field :threads_positions, { list: 'string' }
|
|
24
|
+
field :whatsapp_positions, { list: 'string' }
|
|
25
|
+
has_no_id
|
|
26
|
+
has_no_get
|
|
27
|
+
has_no_post
|
|
28
|
+
has_no_delete
|
|
29
|
+
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -420,6 +420,7 @@ module FacebookAds
|
|
|
420
420
|
api.has_param :schedule, 'string'
|
|
421
421
|
api.has_param :selected_override_fields, { list: 'string' }
|
|
422
422
|
api.has_param :update_schedule, 'string'
|
|
423
|
+
api.has_param :use_case, { enum: -> { ProductFeed::USE_CASE }}
|
|
423
424
|
end
|
|
424
425
|
end
|
|
425
426
|
|
|
@@ -466,6 +467,7 @@ module FacebookAds
|
|
|
466
467
|
api.has_param :additional_image_urls, { list: 'string' }
|
|
467
468
|
api.has_param :additional_variant_attributes, 'hash'
|
|
468
469
|
api.has_param :age_group, { enum: -> { ProductItem::AGE_GROUP }}
|
|
470
|
+
api.has_param :allow_upsert, 'bool'
|
|
469
471
|
api.has_param :android_app_name, 'string'
|
|
470
472
|
api.has_param :android_class, 'string'
|
|
471
473
|
api.has_param :android_package, 'string'
|
|
@@ -102,6 +102,10 @@ module FacebookAds
|
|
|
102
102
|
"VERSION",
|
|
103
103
|
]
|
|
104
104
|
|
|
105
|
+
USE_CASE = [
|
|
106
|
+
"CREATOR_ASSET",
|
|
107
|
+
]
|
|
108
|
+
|
|
105
109
|
|
|
106
110
|
field :country, 'string'
|
|
107
111
|
field :created_time, 'datetime'
|
|
@@ -128,6 +132,7 @@ module FacebookAds
|
|
|
128
132
|
field :primary_feed_ids, { list: 'string' }
|
|
129
133
|
field :rules, { list: 'string' }
|
|
130
134
|
field :selected_override_fields, { list: 'string' }
|
|
135
|
+
field :use_case, { enum: -> { USE_CASE }}
|
|
131
136
|
|
|
132
137
|
has_edge :automotive_models do |edge|
|
|
133
138
|
edge.get 'AutomotiveModel' do |api|
|
|
@@ -472,6 +472,7 @@ module FacebookAds
|
|
|
472
472
|
"VIDEO_FETCH_FAILED_FORBIDDEN",
|
|
473
473
|
"VIDEO_FETCH_FAILED_LINK_BROKEN",
|
|
474
474
|
"VIDEO_FETCH_FAILED_TIMED_OUT",
|
|
475
|
+
"VIDEO_ISSUE_GENERIC",
|
|
475
476
|
"VIDEO_NOT_DOWNLOADABLE",
|
|
476
477
|
"WHATSAPP_DISABLED_BY_USER",
|
|
477
478
|
"WHATSAPP_MARKETING_MESSAGE_DISABLED_BY_USER",
|
|
@@ -833,6 +834,7 @@ module FacebookAds
|
|
|
833
834
|
field :videos, { list: 'ProductItemVideoData' }
|
|
834
835
|
field :visibility, { enum: -> { VISIBILITY }}
|
|
835
836
|
field :wa_compliance_category, 'string'
|
|
837
|
+
field :allow_upsert, 'bool'
|
|
836
838
|
field :android_app_name, 'string'
|
|
837
839
|
field :android_class, 'string'
|
|
838
840
|
field :android_package, 'string'
|
|
@@ -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 ShadowIgScheduledMedia < AdObject
|
|
17
|
+
|
|
18
|
+
field :caption, 'string'
|
|
19
|
+
field :id, 'string'
|
|
20
|
+
field :media_type, 'string'
|
|
21
|
+
field :media_url, 'string'
|
|
22
|
+
field :publish_timestamp, 'int'
|
|
23
|
+
field :thumbnail_url, 'string'
|
|
24
|
+
has_no_post
|
|
25
|
+
has_no_delete
|
|
26
|
+
|
|
27
|
+
end
|
|
28
|
+
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 ShadowIgUserThreadOwner < AdObject
|
|
17
|
+
|
|
18
|
+
has_no_id
|
|
19
|
+
has_no_get
|
|
20
|
+
has_no_post
|
|
21
|
+
has_no_delete
|
|
22
|
+
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -216,7 +216,6 @@ module FacebookAds
|
|
|
216
216
|
has_edge :conversations do |edge|
|
|
217
217
|
edge.get 'UnifiedThread' do |api|
|
|
218
218
|
api.has_param :folder, 'string'
|
|
219
|
-
api.has_param :is_owner, 'bool'
|
|
220
219
|
api.has_param :platform, { enum: -> { UnifiedThread::PLATFORM }}
|
|
221
220
|
api.has_param :tags, { list: 'string' }
|
|
222
221
|
api.has_param :user_id, 'string'
|
|
@@ -27,6 +27,15 @@ module FacebookAds
|
|
|
27
27
|
"verified",
|
|
28
28
|
]
|
|
29
29
|
|
|
30
|
+
WHATSAPP_BUSINESS_MANAGER_MESSAGING_LIMIT = [
|
|
31
|
+
"TIER_100K",
|
|
32
|
+
"TIER_10K",
|
|
33
|
+
"TIER_250",
|
|
34
|
+
"TIER_2K",
|
|
35
|
+
"TIER_UNLIMITED",
|
|
36
|
+
"UNTIERED",
|
|
37
|
+
]
|
|
38
|
+
|
|
30
39
|
TASKS = [
|
|
31
40
|
"DEVELOP",
|
|
32
41
|
"MANAGE",
|
|
@@ -105,6 +114,7 @@ module FacebookAds
|
|
|
105
114
|
field :purchase_order_number, 'string'
|
|
106
115
|
field :status, 'string'
|
|
107
116
|
field :timezone_id, 'string'
|
|
117
|
+
field :whatsapp_business_manager_messaging_limit, { enum: -> { WHATSAPP_BUSINESS_MANAGER_MESSAGING_LIMIT }}
|
|
108
118
|
has_no_delete
|
|
109
119
|
|
|
110
120
|
has_edge :activities do |edge|
|
|
@@ -164,6 +174,10 @@ module FacebookAds
|
|
|
164
174
|
end
|
|
165
175
|
end
|
|
166
176
|
|
|
177
|
+
has_edge :degrees_of_freedom_spec do |edge|
|
|
178
|
+
edge.get
|
|
179
|
+
end
|
|
180
|
+
|
|
167
181
|
has_edge :flows do |edge|
|
|
168
182
|
edge.get
|
|
169
183
|
edge.post do |api|
|
|
@@ -240,6 +254,7 @@ module FacebookAds
|
|
|
240
254
|
api.has_param :bid_spec, 'hash'
|
|
241
255
|
api.has_param :category, { enum: -> { WhatsAppBusinessAccount::CATEGORY }}
|
|
242
256
|
api.has_param :components, { list: 'hash' }
|
|
257
|
+
api.has_param :creative_sourcing_spec, 'hash'
|
|
243
258
|
api.has_param :cta_url_link_tracking_opted_out, 'bool'
|
|
244
259
|
api.has_param :degrees_of_freedom_spec, 'hash'
|
|
245
260
|
api.has_param :display_format, { enum: -> { WhatsAppBusinessAccount::DISPLAY_FORMAT }}
|
|
@@ -363,7 +378,7 @@ module FacebookAds
|
|
|
363
378
|
edge.get do |api|
|
|
364
379
|
api.has_param :end, 'datetime'
|
|
365
380
|
api.has_param :granularity, { enum: %w{DAILY }}
|
|
366
|
-
api.has_param :metric_types, { list: { enum: %w{CLICKED COST DELIVERED READ REPLIED SENT }} }
|
|
381
|
+
api.has_param :metric_types, { list: { enum: %w{APP_ACTIVATIONS APP_ADD_TO_CART APP_CHECKOUTS_INITIATED APP_PURCHASES APP_PURCHASES_CONVERSION_VALUE CLICKED COST DELIVERED READ REPLIED SENT WEBSITE_ADD_TO_CART WEBSITE_CHECKOUTS_INITIATED WEBSITE_PURCHASES WEBSITE_PURCHASES_CONVERSION_VALUE }} }
|
|
367
382
|
api.has_param :product_type, { enum: %w{CLOUD_API MARKETING_MESSAGES_LITE_API }}
|
|
368
383
|
api.has_param :start, 'datetime'
|
|
369
384
|
api.has_param :template_ids, { list: 'string' }
|
|
@@ -375,9 +390,10 @@ module FacebookAds
|
|
|
375
390
|
edge.get do |api|
|
|
376
391
|
api.has_param :end, 'datetime'
|
|
377
392
|
api.has_param :granularity, { enum: %w{DAILY }}
|
|
378
|
-
api.has_param :metric_types, { list: { enum: %w{CLICKED COST DELIVERED READ REPLIED SENT }} }
|
|
393
|
+
api.has_param :metric_types, { list: { enum: %w{APP_ACTIVATIONS APP_ADD_TO_CART APP_CHECKOUTS_INITIATED APP_PURCHASES APP_PURCHASES_CONVERSION_VALUE CLICKED COST DELIVERED READ REPLIED SENT WEBSITE_ADD_TO_CART WEBSITE_CHECKOUTS_INITIATED WEBSITE_PURCHASES WEBSITE_PURCHASES_CONVERSION_VALUE }} }
|
|
379
394
|
api.has_param :start, 'datetime'
|
|
380
395
|
api.has_param :template_group_ids, { list: 'string' }
|
|
396
|
+
api.has_param :use_waba_timezone, 'bool'
|
|
381
397
|
end
|
|
382
398
|
end
|
|
383
399
|
|
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:
|
|
4
|
+
version: 24.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Facebook
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-10-
|
|
11
|
+
date: 2025-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: concurrent-ruby
|
|
@@ -575,7 +575,6 @@ files:
|
|
|
575
575
|
- lib/facebook_ads/ad_objects/audio_asset.rb
|
|
576
576
|
- lib/facebook_ads/ad_objects/audio_copyright.rb
|
|
577
577
|
- lib/facebook_ads/ad_objects/audio_isrc.rb
|
|
578
|
-
- lib/facebook_ads/ad_objects/audio_release.rb
|
|
579
578
|
- lib/facebook_ads/ad_objects/audio_sub_label.rb
|
|
580
579
|
- lib/facebook_ads/ad_objects/audio_visual_reference_match.rb
|
|
581
580
|
- lib/facebook_ads/ad_objects/auth_link.rb
|
|
@@ -982,6 +981,7 @@ files:
|
|
|
982
981
|
- lib/facebook_ads/ad_objects/place_tag.rb
|
|
983
982
|
- lib/facebook_ads/ad_objects/place_topic.rb
|
|
984
983
|
- lib/facebook_ads/ad_objects/placement.rb
|
|
984
|
+
- lib/facebook_ads/ad_objects/placement_soft_opt_out.rb
|
|
985
985
|
- lib/facebook_ads/ad_objects/platform_image_source.rb
|
|
986
986
|
- lib/facebook_ads/ad_objects/platform_session_key.rb
|
|
987
987
|
- lib/facebook_ads/ad_objects/playable_content.rb
|
|
@@ -1099,11 +1099,13 @@ files:
|
|
|
1099
1099
|
- lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb
|
|
1100
1100
|
- lib/facebook_ads/ad_objects/shadow_ig_media_collaborators.rb
|
|
1101
1101
|
- lib/facebook_ads/ad_objects/shadow_ig_media_product_tags.rb
|
|
1102
|
+
- lib/facebook_ads/ad_objects/shadow_ig_scheduled_media.rb
|
|
1102
1103
|
- lib/facebook_ads/ad_objects/shadow_ig_user_catalog_product_search.rb
|
|
1103
1104
|
- lib/facebook_ads/ad_objects/shadow_ig_user_catalog_product_variant.rb
|
|
1104
1105
|
- lib/facebook_ads/ad_objects/shadow_ig_user_collaboration_invites.rb
|
|
1105
1106
|
- lib/facebook_ads/ad_objects/shadow_ig_user_ctx_partner_app_welcome_message_flow.rb
|
|
1106
1107
|
- lib/facebook_ads/ad_objects/shadow_ig_user_partnership_ads_media_errors.rb
|
|
1108
|
+
- lib/facebook_ads/ad_objects/shadow_ig_user_thread_owner.rb
|
|
1107
1109
|
- lib/facebook_ads/ad_objects/shop.rb
|
|
1108
1110
|
- lib/facebook_ads/ad_objects/signals_iwl_extractor.rb
|
|
1109
1111
|
- lib/facebook_ads/ad_objects/single_owner_additional_profile.rb
|
|
@@ -1,38 +0,0 @@
|
|
|
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 AudioRelease < AdObject
|
|
17
|
-
|
|
18
|
-
field :album_title, 'string'
|
|
19
|
-
field :asset_availability_status, { list: 'hash' }
|
|
20
|
-
field :audio_availability_status, 'string'
|
|
21
|
-
field :audio_release_image_uri, 'string'
|
|
22
|
-
field :created_time, 'datetime'
|
|
23
|
-
field :displayed_artist, 'string'
|
|
24
|
-
field :ean, 'string'
|
|
25
|
-
field :genre, 'string'
|
|
26
|
-
field :grid, 'string'
|
|
27
|
-
field :id, 'string'
|
|
28
|
-
field :isrc, 'string'
|
|
29
|
-
field :label_name, 'string'
|
|
30
|
-
field :original_release_date, 'datetime'
|
|
31
|
-
field :parental_warning_type, 'string'
|
|
32
|
-
field :proprietary_id, 'string'
|
|
33
|
-
field :upc, 'string'
|
|
34
|
-
has_no_post
|
|
35
|
-
has_no_delete
|
|
36
|
-
|
|
37
|
-
end
|
|
38
|
-
end
|