facebookbusiness 23.0.0 → 23.0.2
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/{favorite_catalog.rb → ab_test_post_test_actions.rb} +4 -3
- data/lib/facebook_ads/ad_objects/ad.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_account.rb +52 -0
- data/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +51 -0
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -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 +29 -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 +2 -0
- data/lib/facebook_ads/ad_objects/ad_account_user_settings.rb +8 -0
- data/lib/facebook_ads/ad_objects/ad_activity.rb +10 -0
- data/lib/facebook_ads/ad_objects/ad_asset_customization_rule_customization_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_additional_data_reconsideration_offer.rb +26 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +8 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_link_url.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_frequency_control_specs.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_group_structure_tree.rb +1 -1
- data/lib/facebook_ads/ad_objects/ad_campaign_learning_stage_info.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +11 -0
- data/lib/facebook_ads/ad_objects/ad_creative_asset_groups_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative_features_spec.rb +8 -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 +8 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action_value.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_child_attachment.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_creative_media_sourcing_spec.rb +6 -0
- data/lib/facebook_ads/ad_objects/ad_creative_site_links_spec.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative_sourcing_spec.rb +6 -0
- data/lib/facebook_ads/ad_objects/ad_custom_derived_metrics.rb +6 -0
- data/lib/facebook_ads/ad_objects/ad_preview.rb +9 -0
- data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +32 -0
- data/lib/facebook_ads/ad_objects/ad_report_run.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_rule_history.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_set.rb +25 -0
- data/lib/facebook_ads/ad_objects/ad_study.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_video.rb +4 -0
- data/lib/facebook_ads/ad_objects/adgroup_metadata.rb +1 -0
- data/lib/facebook_ads/ad_objects/ads_action_stats.rb +3 -0
- data/lib/facebook_ads/ad_objects/ads_histogram_stats.rb +3 -0
- data/lib/facebook_ads/ad_objects/ads_insights.rb +20 -11
- data/lib/facebook_ads/ad_objects/ads_user_settings.rb +15 -0
- data/lib/facebook_ads/ad_objects/ads_value_adjustment_rule_collection.rb +2 -1
- 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 +1 -7
- data/lib/facebook_ads/ad_objects/audio_asset.rb +1 -0
- data/lib/facebook_ads/ad_objects/avatar.rb +0 -12
- data/lib/facebook_ads/ad_objects/{event_tour.rb → branded_content_fb_promode_user.rb} +7 -13
- data/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb +5 -0
- data/lib/facebook_ads/ad_objects/business.rb +23 -0
- data/lib/facebook_ads/ad_objects/business_agreement.rb +4 -0
- data/lib/facebook_ads/ad_objects/business_asset_group.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_asset_sharing_agreement.rb +4 -0
- data/lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb +4 -0
- data/lib/facebook_ads/ad_objects/business_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +13 -0
- data/lib/facebook_ads/ad_objects/canvas.rb +2 -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 -3
- data/lib/facebook_ads/ad_objects/content_delivery_report.rb +0 -4
- data/lib/facebook_ads/ad_objects/copyright_ownership_transfer.rb +1 -0
- data/lib/facebook_ads/ad_objects/ctx_default_optimization_config.rb +1 -0
- data/lib/facebook_ads/ad_objects/ctxdfo_objective_defaults.rb +27 -0
- data/lib/facebook_ads/ad_objects/custom_audience.rb +1 -0
- data/lib/facebook_ads/ad_objects/custom_audience_integrity_flags_and_appeal_status.rb +2 -0
- data/lib/facebook_ads/ad_objects/customer_elasticity_study_metrics.rb +25 -0
- 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/guidance_lift_estimate.rb +29 -0
- data/lib/facebook_ads/ad_objects/ig_media.rb +1 -0
- data/lib/facebook_ads/ad_objects/ig_user.rb +27 -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 +2 -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/insights_value.rb +2 -0
- data/lib/facebook_ads/ad_objects/instagram_business_asset.rb +40 -0
- data/lib/facebook_ads/ad_objects/lead_gen_data_draft.rb +1 -0
- data/lib/facebook_ads/ad_objects/lead_gen_form_preview_details.rb +1 -0
- data/lib/facebook_ads/ad_objects/lead_gen_question_option.rb +1 -0
- data/lib/facebook_ads/ad_objects/lookalike_spec.rb +2 -0
- data/lib/facebook_ads/ad_objects/marketing_messages_onboarding_status.rb +26 -0
- data/lib/facebook_ads/ad_objects/mcom_invoice_status.rb +3 -0
- data/lib/facebook_ads/ad_objects/media_copyright_attribution.rb +0 -1
- data/lib/facebook_ads/ad_objects/message_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/{fb_lite_to_nt_transitions.rb → messenger_call_permissions.rb} +2 -2
- data/lib/facebook_ads/ad_objects/messenger_call_settings.rb +1 -0
- data/lib/facebook_ads/ad_objects/omega_customer_trx.rb +5 -0
- data/lib/facebook_ads/ad_objects/open_bridge_configuration.rb +1 -0
- data/lib/facebook_ads/ad_objects/page.rb +54 -2
- data/lib/facebook_ads/ad_objects/{avatar_profile_picture.rb → partner_center_export_file.rb} +2 -1
- data/lib/facebook_ads/ad_objects/partnership_ads_identity.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_catalog.rb +20 -0
- data/lib/facebook_ads/ad_objects/product_catalog_check_marketplace_partner_deals_status.rb +27 -0
- data/lib/facebook_ads/ad_objects/product_group.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +12 -1
- data/lib/facebook_ads/ad_objects/reach_frequency_prediction.rb +1 -0
- data/lib/facebook_ads/ad_objects/regional_regulation_identities.rb +2 -0
- data/lib/facebook_ads/ad_objects/robot.rb +1 -0
- data/lib/facebook_ads/ad_objects/shadow_ig_user_collaboration_invites.rb +28 -0
- data/lib/facebook_ads/ad_objects/shop.rb +0 -1
- data/lib/facebook_ads/ad_objects/system_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/trending_topics_spec.rb +27 -0
- data/lib/facebook_ads/ad_objects/unified_thread.rb +1 -1
- data/lib/facebook_ads/ad_objects/user.rb +3 -4
- data/lib/facebook_ads/ad_objects/user_page_one_time_opt_in_token_settings.rb +2 -0
- data/lib/facebook_ads/ad_objects/video_copyright.rb +2 -0
- data/lib/facebook_ads/ad_objects/video_copyright_match.rb +1 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +52 -2
- data/lib/facebook_ads/ad_objects/whats_app_business_health_status.rb +1 -0
- data/lib/facebook_ads/version.rb +1 -1
- metadata +14 -6
@@ -21,18 +21,21 @@ module FacebookAds
|
|
21
21
|
field :_1d_ev, 'string'
|
22
22
|
field :_1d_ev_all_conversions, 'string'
|
23
23
|
field :_1d_ev_first_conversion, 'string'
|
24
|
+
field :_1d_passback, 'string'
|
24
25
|
field :_1d_view, 'string'
|
25
26
|
field :_1d_view_all_conversions, 'string'
|
26
27
|
field :_1d_view_first_conversion, 'string'
|
27
28
|
field :_28d_click, 'string'
|
28
29
|
field :_28d_click_all_conversions, 'string'
|
29
30
|
field :_28d_click_first_conversion, 'string'
|
31
|
+
field :_28d_passback, 'string'
|
30
32
|
field :_28d_view, 'string'
|
31
33
|
field :_28d_view_all_conversions, 'string'
|
32
34
|
field :_28d_view_first_conversion, 'string'
|
33
35
|
field :_7d_click, 'string'
|
34
36
|
field :_7d_click_all_conversions, 'string'
|
35
37
|
field :_7d_click_first_conversion, 'string'
|
38
|
+
field :_7d_passback, 'string'
|
36
39
|
field :_7d_view, 'string'
|
37
40
|
field :_7d_view_all_conversions, 'string'
|
38
41
|
field :_7d_view_first_conversion, 'string'
|
@@ -21,18 +21,21 @@ module FacebookAds
|
|
21
21
|
field :_1d_ev, { list: 'int' }
|
22
22
|
field :_1d_ev_all_conversions, { list: 'int' }
|
23
23
|
field :_1d_ev_first_conversion, { list: 'int' }
|
24
|
+
field :_1d_passback, { list: 'int' }
|
24
25
|
field :_1d_view, { list: 'int' }
|
25
26
|
field :_1d_view_all_conversions, { list: 'int' }
|
26
27
|
field :_1d_view_first_conversion, { list: 'int' }
|
27
28
|
field :_28d_click, { list: 'int' }
|
28
29
|
field :_28d_click_all_conversions, { list: 'int' }
|
29
30
|
field :_28d_click_first_conversion, { list: 'int' }
|
31
|
+
field :_28d_passback, { list: 'int' }
|
30
32
|
field :_28d_view, { list: 'int' }
|
31
33
|
field :_28d_view_all_conversions, { list: 'int' }
|
32
34
|
field :_28d_view_first_conversion, { list: 'int' }
|
33
35
|
field :_7d_click, { list: 'int' }
|
34
36
|
field :_7d_click_all_conversions, { list: 'int' }
|
35
37
|
field :_7d_click_first_conversion, { list: 'int' }
|
38
|
+
field :_7d_passback, { list: 'int' }
|
36
39
|
field :_7d_view, { list: 'int' }
|
37
40
|
field :_7d_view_all_conversions, { list: 'int' }
|
38
41
|
field :_7d_view_first_conversion, { list: 'int' }
|
@@ -73,10 +73,14 @@ module FacebookAds
|
|
73
73
|
"call_to_action_asset",
|
74
74
|
"coarse_conversion_value",
|
75
75
|
"comscore_market",
|
76
|
-
"comscore_market_code",
|
77
76
|
"conversion_destination",
|
78
77
|
"country",
|
78
|
+
"creative_automation_asset_id",
|
79
79
|
"creative_relaxation_asset_type",
|
80
|
+
"crm_advertiser_l12_territory_ids",
|
81
|
+
"crm_advertiser_subvertical_id",
|
82
|
+
"crm_advertiser_vertical_id",
|
83
|
+
"crm_ult_advertiser_id",
|
80
84
|
"description_asset",
|
81
85
|
"device_platform",
|
82
86
|
"dma",
|
@@ -109,10 +113,22 @@ module FacebookAds
|
|
109
113
|
"place_page_id",
|
110
114
|
"platform_position",
|
111
115
|
"postback_sequence_index",
|
116
|
+
"product_brand_breakdown",
|
117
|
+
"product_category_breakdown",
|
118
|
+
"product_custom_label_0_breakdown",
|
119
|
+
"product_custom_label_1_breakdown",
|
120
|
+
"product_custom_label_2_breakdown",
|
121
|
+
"product_custom_label_3_breakdown",
|
122
|
+
"product_custom_label_4_breakdown",
|
123
|
+
"product_group_content_id_breakdown",
|
112
124
|
"product_id",
|
125
|
+
"product_set_id_breakdown",
|
113
126
|
"publisher_platform",
|
114
127
|
"redownload",
|
115
128
|
"region",
|
129
|
+
"rta_ugc_topic",
|
130
|
+
"rule_set_id",
|
131
|
+
"rule_set_name",
|
116
132
|
"signal_source_bucket",
|
117
133
|
"skan_campaign_id",
|
118
134
|
"skan_conversion_id",
|
@@ -287,6 +303,7 @@ module FacebookAds
|
|
287
303
|
field :landing_page_view_actions_per_link_click, 'string'
|
288
304
|
field :landing_page_view_per_link_click, 'string'
|
289
305
|
field :landing_page_view_per_purchase_rate, 'string'
|
306
|
+
field :link_clicks_per_results, { list: 'object' }
|
290
307
|
field :location, 'string'
|
291
308
|
field :marketing_messages_click_rate_benchmark, 'string'
|
292
309
|
field :marketing_messages_cost_per_delivered, 'string'
|
@@ -318,18 +335,9 @@ module FacebookAds
|
|
318
335
|
field :outbound_clicks, { list: 'AdsActionStats' }
|
319
336
|
field :outbound_clicks_ctr, { list: 'AdsActionStats' }
|
320
337
|
field :place_page_name, 'string'
|
321
|
-
field :product_brand, 'string'
|
322
|
-
field :product_category, 'string'
|
323
|
-
field :product_content_id, 'string'
|
324
|
-
field :product_custom_label_0, 'string'
|
325
|
-
field :product_custom_label_1, 'string'
|
326
|
-
field :product_custom_label_2, 'string'
|
327
|
-
field :product_custom_label_3, 'string'
|
328
|
-
field :product_custom_label_4, 'string'
|
329
|
-
field :product_group_content_id, 'string'
|
330
338
|
field :product_group_retailer_id, 'string'
|
331
|
-
field :product_name, 'string'
|
332
339
|
field :product_retailer_id, 'string'
|
340
|
+
field :product_views, 'string'
|
333
341
|
field :purchase_per_landing_page_view, 'string'
|
334
342
|
field :purchase_roas, { list: 'AdsActionStats' }
|
335
343
|
field :purchases_per_link_click, 'string'
|
@@ -342,6 +350,7 @@ module FacebookAds
|
|
342
350
|
field :shops_assisted_purchases, 'string'
|
343
351
|
field :social_spend, 'string'
|
344
352
|
field :spend, 'string'
|
353
|
+
field :total_card_view, 'string'
|
345
354
|
field :total_postbacks, 'string'
|
346
355
|
field :total_postbacks_detailed, { list: 'AdsActionStats' }
|
347
356
|
field :total_postbacks_detailed_v4, { list: 'AdsActionStats' }
|
@@ -19,9 +19,13 @@ 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_sitelinks_opt_in_status, 'string'
|
23
|
+
field :ads_cs_sitelinks_opt_out_timestamp, { list: 'hash' }
|
22
24
|
field :ads_tool_visits, { list: 'object' }
|
25
|
+
field :aplusc_ai_agent_opt_in_status, 'string'
|
23
26
|
field :aplusc_carousel_cda_opt_in_status, 'string'
|
24
27
|
field :aplusc_carousel_inline_comment_opt_in_status, 'string'
|
28
|
+
field :aplusc_da_opt_in_status, 'string'
|
25
29
|
field :aplusc_enhance_cta_opt_in_status, 'string'
|
26
30
|
field :aplusc_epa_opt_in_status, 'string'
|
27
31
|
field :aplusc_local_store_extension_opt_in_status, 'string'
|
@@ -37,6 +41,8 @@ module FacebookAds
|
|
37
41
|
field :campaign_name_template, 'object'
|
38
42
|
field :carousel_to_video_opt_in_status, 'string'
|
39
43
|
field :connected_sources_catalog_opt_in_status, 'string'
|
44
|
+
field :create_cta_sticker_opt_in_status, 'string'
|
45
|
+
field :creative_flex_opt_in_status, 'string'
|
40
46
|
field :da_add_overlays_opt_in_status, 'string'
|
41
47
|
field :da_hide_price_opt_in_status, 'string'
|
42
48
|
field :default_creation_mode, 'string'
|
@@ -45,15 +51,18 @@ module FacebookAds
|
|
45
51
|
field :export_format_default, 'string'
|
46
52
|
field :focus_mode_default, 'string'
|
47
53
|
field :gen_ai_alpha_test_status, 'int'
|
54
|
+
field :gen_ai_auto_select_opt_in_status, 'string'
|
48
55
|
field :id, 'string'
|
49
56
|
field :image_background_generation_opt_in_status, 'string'
|
50
57
|
field :image_brightness_and_contrast_opt_in_status, 'string'
|
51
58
|
field :image_expansion_opt_in_status, 'string'
|
59
|
+
field :image_templates_text_extraction_opt_in_status, 'string'
|
52
60
|
field :is_ads_ai_consented, 'bool'
|
53
61
|
field :is_cbo_default_on, 'bool'
|
54
62
|
field :is_se_removal_guidance_dismissed, 'bool'
|
55
63
|
field :last_used_post_format, 'string'
|
56
64
|
field :last_visited_time, 'datetime'
|
65
|
+
field :metadata_brand_kit_last_opt_out_timestamp, 'int'
|
57
66
|
field :metadata_brand_kit_opt_in_status, 'string'
|
58
67
|
field :music_on_reels_opt_in, { list: 'hash' }
|
59
68
|
field :muted_cbo_midflight_education_messages, { list: 'string' }
|
@@ -64,6 +73,8 @@ module FacebookAds
|
|
64
73
|
field :placement_group_vertical_opt_in_status, 'string'
|
65
74
|
field :previously_seen_recommendations, { list: 'string' }
|
66
75
|
field :product_extensions_opt_in, 'string'
|
76
|
+
field :reactive_control_settings, { list: 'object' }
|
77
|
+
field :replace_media_text_opt_in_status, 'string'
|
67
78
|
field :sa_off_conv_loc_seen, 'string'
|
68
79
|
field :saoff_published_l2_conv_loc_seen, 'string'
|
69
80
|
field :saon_migr_l1_seen_status, 'string'
|
@@ -81,6 +92,7 @@ module FacebookAds
|
|
81
92
|
field :should_not_show_cbo_campaign_toggle_off_confirmation_message, 'bool'
|
82
93
|
field :should_not_show_publish_message_on_editor_close, 'bool'
|
83
94
|
field :show_original_videos_opt_in, 'string'
|
95
|
+
field :show_summary_opt_in_status, 'string'
|
84
96
|
field :static_ad_product_extensions_opt_in, 'string'
|
85
97
|
field :sticky_setting_after_default_on, 'string'
|
86
98
|
field :syd_campaign_trends_metric, 'string'
|
@@ -93,6 +105,9 @@ module FacebookAds
|
|
93
105
|
field :use_pe_create_flow, 'bool'
|
94
106
|
field :use_stepper_primary_entry, 'bool'
|
95
107
|
field :user, 'User'
|
108
|
+
field :website_media_opt_in_status, 'string'
|
109
|
+
field :website_reviews_data_opt_in_status, 'string'
|
110
|
+
field :website_selling_points_data_opt_in_status, 'string'
|
96
111
|
has_no_post
|
97
112
|
has_no_delete
|
98
113
|
|
@@ -28,13 +28,14 @@ module FacebookAds
|
|
28
28
|
|
29
29
|
field :id, 'string'
|
30
30
|
field :is_default_setting, 'bool'
|
31
|
+
field :last_attach_time, 'datetime'
|
31
32
|
field :name, 'string'
|
32
33
|
field :product_type, 'string'
|
33
34
|
field :status, 'string'
|
34
35
|
field :rules, { list: 'hash' }
|
35
36
|
has_no_delete
|
36
37
|
|
37
|
-
has_edge :
|
38
|
+
has_edge :deleteruleset do |edge|
|
38
39
|
edge.post 'AdsValueAdjustmentRuleCollection'
|
39
40
|
end
|
40
41
|
|
@@ -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'
|
@@ -250,7 +250,7 @@ module FacebookAds
|
|
250
250
|
api.has_param :include_video_data, 'bool'
|
251
251
|
api.has_param :install_id, 'string'
|
252
252
|
api.has_param :install_referrer, 'string'
|
253
|
-
api.has_param :install_timestamp, '
|
253
|
+
api.has_param :install_timestamp, 'double'
|
254
254
|
api.has_param :installer_package, 'string'
|
255
255
|
api.has_param :is_fb, 'bool'
|
256
256
|
api.has_param :limited_data_use, 'bool'
|
@@ -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'
|
@@ -19,6 +19,7 @@ module FacebookAds
|
|
19
19
|
field :all_ddex_main_artists, 'string'
|
20
20
|
field :audio_cluster_id, 'string'
|
21
21
|
field :cover_image_source, 'string'
|
22
|
+
field :description, 'string'
|
22
23
|
field :display_artist, 'string'
|
23
24
|
field :download_hd_url, 'string'
|
24
25
|
field :download_sd_url, 'string'
|
@@ -19,17 +19,5 @@ module FacebookAds
|
|
19
19
|
has_no_post
|
20
20
|
has_no_delete
|
21
21
|
|
22
|
-
has_edge :models do |edge|
|
23
|
-
edge.get do |api|
|
24
|
-
api.has_param :client_name, 'string'
|
25
|
-
api.has_param :client_version, 'string'
|
26
|
-
api.has_param :config_id, 'string'
|
27
|
-
api.has_param :force_generate, 'bool'
|
28
|
-
api.has_param :platform, 'string'
|
29
|
-
api.has_param :profile, 'string'
|
30
|
-
api.has_param :sdk_version, 'string'
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
22
|
end
|
35
23
|
end
|
@@ -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
|
|
@@ -14,6 +14,11 @@ module FacebookAds
|
|
14
14
|
# pull request for this class.
|
15
15
|
|
16
16
|
class BrandedContentShadowIgMediaId < AdObject
|
17
|
+
MEDIA_RELATIONSHIP = [
|
18
|
+
"IS_TAGGED",
|
19
|
+
"OWNED",
|
20
|
+
]
|
21
|
+
|
17
22
|
|
18
23
|
field :eligibility_errors, { list: 'string' }
|
19
24
|
field :has_permission_for_partnership_ad, 'bool'
|
@@ -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",
|
@@ -856,6 +858,7 @@ module FacebookAds
|
|
856
858
|
field :id, 'string'
|
857
859
|
field :is_hidden, 'bool'
|
858
860
|
field :link, 'string'
|
861
|
+
field :marketing_messages_onboarding_status, 'MarketingMessagesOnboardingStatus'
|
859
862
|
field :name, 'string'
|
860
863
|
field :payment_account_id, 'string'
|
861
864
|
field :primary_page, 'Page'
|
@@ -893,6 +896,13 @@ module FacebookAds
|
|
893
896
|
end
|
894
897
|
end
|
895
898
|
|
899
|
+
has_edge :ad_custom_derived_metrics do |edge|
|
900
|
+
edge.get 'AdCustomDerivedMetrics' do |api|
|
901
|
+
api.has_param :adhoc_custom_metrics, { list: 'string' }
|
902
|
+
api.has_param :scope, { enum: -> { AdCustomDerivedMetrics::SCOPE }}
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
896
906
|
has_edge :ad_review_requests do |edge|
|
897
907
|
edge.post do |api|
|
898
908
|
api.has_param :ad_account_ids, { list: 'string' }
|
@@ -1044,10 +1054,15 @@ module FacebookAds
|
|
1044
1054
|
|
1045
1055
|
has_edge :business_invoices do |edge|
|
1046
1056
|
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'
|
1047
1061
|
api.has_param :end_date, 'string'
|
1048
1062
|
api.has_param :invoice_id, 'string'
|
1049
1063
|
api.has_param :issue_end_date, 'string'
|
1050
1064
|
api.has_param :issue_start_date, 'string'
|
1065
|
+
api.has_param :product_types, { list: { enum: -> { OmegaCustomerTrx::PRODUCT_TYPES }} }
|
1051
1066
|
api.has_param :root_id, 'int'
|
1052
1067
|
api.has_param :start_date, 'string'
|
1053
1068
|
api.has_param :type, { enum: -> { OmegaCustomerTrx::TYPE }}
|
@@ -1087,6 +1102,10 @@ module FacebookAds
|
|
1087
1102
|
end
|
1088
1103
|
end
|
1089
1104
|
|
1105
|
+
has_edge :client_instagram_assets do |edge|
|
1106
|
+
edge.get 'InstagramBusinessAsset'
|
1107
|
+
end
|
1108
|
+
|
1090
1109
|
has_edge :client_offsite_signal_container_business_objects do |edge|
|
1091
1110
|
edge.get 'OffsiteSignalContainerBusinessObject'
|
1092
1111
|
end
|
@@ -1366,6 +1385,10 @@ module FacebookAds
|
|
1366
1385
|
edge.get 'IgUser'
|
1367
1386
|
end
|
1368
1387
|
|
1388
|
+
has_edge :owned_instagram_assets do |edge|
|
1389
|
+
edge.get 'InstagramBusinessAsset'
|
1390
|
+
end
|
1391
|
+
|
1369
1392
|
has_edge :owned_offsite_signal_container_business_objects do |edge|
|
1370
1393
|
edge.get 'OffsiteSignalContainerBusinessObject'
|
1371
1394
|
end
|
@@ -20,6 +20,10 @@ module FacebookAds
|
|
20
20
|
"DECLINE",
|
21
21
|
"EXPIRED",
|
22
22
|
"IN_PROGRESS",
|
23
|
+
"MMA_DIRECT_ASSETS_APPROVED",
|
24
|
+
"MMA_DIRECT_ASSETS_DECLINED",
|
25
|
+
"MMA_DIRECT_ASSETS_EXPIRED",
|
26
|
+
"MMA_DIRECT_ASSETS_PENDING",
|
23
27
|
"PENDING",
|
24
28
|
"PENDING_EMAIL_VERIFICATION",
|
25
29
|
"PENDING_INTEGRITY_REVIEW",
|
@@ -20,6 +20,10 @@ module FacebookAds
|
|
20
20
|
"DECLINE",
|
21
21
|
"EXPIRED",
|
22
22
|
"IN_PROGRESS",
|
23
|
+
"MMA_DIRECT_ASSETS_APPROVED",
|
24
|
+
"MMA_DIRECT_ASSETS_DECLINED",
|
25
|
+
"MMA_DIRECT_ASSETS_EXPIRED",
|
26
|
+
"MMA_DIRECT_ASSETS_PENDING",
|
23
27
|
"PENDING",
|
24
28
|
"PENDING_EMAIL_VERIFICATION",
|
25
29
|
"PENDING_INTEGRITY_REVIEW",
|
@@ -20,6 +20,10 @@ module FacebookAds
|
|
20
20
|
"DECLINE",
|
21
21
|
"EXPIRED",
|
22
22
|
"IN_PROGRESS",
|
23
|
+
"MMA_DIRECT_ASSETS_APPROVED",
|
24
|
+
"MMA_DIRECT_ASSETS_DECLINED",
|
25
|
+
"MMA_DIRECT_ASSETS_EXPIRED",
|
26
|
+
"MMA_DIRECT_ASSETS_PENDING",
|
23
27
|
"PENDING",
|
24
28
|
"PENDING_EMAIL_VERIFICATION",
|
25
29
|
"PENDING_INTEGRITY_REVIEW",
|
@@ -112,6 +112,7 @@ module FacebookAds
|
|
112
112
|
]
|
113
113
|
|
114
114
|
SPECIAL_AD_CATEGORY_COUNTRY = [
|
115
|
+
"AC",
|
115
116
|
"AD",
|
116
117
|
"AE",
|
117
118
|
"AF",
|
@@ -405,7 +406,10 @@ module FacebookAds
|
|
405
406
|
field :effective_status, { enum: -> { EFFECTIVE_STATUS }}
|
406
407
|
field :has_secondary_skadnetwork_reporting, 'bool'
|
407
408
|
field :id, 'string'
|
409
|
+
field :is_adset_budget_sharing_enabled, 'bool'
|
408
410
|
field :is_budget_schedule_enabled, 'bool'
|
411
|
+
field :is_direct_send_campaign, 'bool'
|
412
|
+
field :is_message_campaign, 'bool'
|
409
413
|
field :is_skadnetwork_attribution, 'bool'
|
410
414
|
field :issues_info, { list: 'AdCampaignIssuesInfo' }
|
411
415
|
field :last_budget_toggling_time, 'datetime'
|
@@ -430,6 +434,7 @@ module FacebookAds
|
|
430
434
|
field :topline_id, 'string'
|
431
435
|
field :updated_time, 'datetime'
|
432
436
|
field :adbatch, { list: 'object' }
|
437
|
+
field :budget_schedule_specs, { list: 'object' }
|
433
438
|
field :execution_options, { list: { enum: -> { EXECUTION_OPTIONS }} }
|
434
439
|
field :iterative_split_test_configs, { list: 'object' }
|
435
440
|
|
@@ -469,6 +474,10 @@ module FacebookAds
|
|
469
474
|
end
|
470
475
|
|
471
476
|
has_edge :budget_schedules do |edge|
|
477
|
+
edge.get 'HighDemandPeriod' do |api|
|
478
|
+
api.has_param :time_start, 'datetime'
|
479
|
+
api.has_param :time_stop, 'datetime'
|
480
|
+
end
|
472
481
|
edge.post 'HighDemandPeriod' do |api|
|
473
482
|
api.has_param :budget_value, 'int'
|
474
483
|
api.has_param :budget_value_type, { enum: -> { HighDemandPeriod::BUDGET_VALUE_TYPE }}
|
@@ -487,6 +496,8 @@ module FacebookAds
|
|
487
496
|
edge.post 'Campaign' do |api|
|
488
497
|
api.has_param :deep_copy, 'bool'
|
489
498
|
api.has_param :end_time, 'datetime'
|
499
|
+
api.has_param :migrate_to_advantage_plus, 'bool'
|
500
|
+
api.has_param :parameter_overrides, 'object'
|
490
501
|
api.has_param :rename_options, 'object'
|
491
502
|
api.has_param :start_time, 'datetime'
|
492
503
|
api.has_param :status_option, { enum: -> { Campaign::STATUS_OPTION }}
|
@@ -506,6 +517,7 @@ module FacebookAds
|
|
506
517
|
api.has_param :export_name, 'string'
|
507
518
|
api.has_param :fields, { list: 'string' }
|
508
519
|
api.has_param :filtering, { list: 'object' }
|
520
|
+
api.has_param :graph_cache, 'bool'
|
509
521
|
api.has_param :level, { enum: -> { AdsInsights::LEVEL }}
|
510
522
|
api.has_param :limit, 'int'
|
511
523
|
api.has_param :product_id_limit, 'int'
|
@@ -530,6 +542,7 @@ module FacebookAds
|
|
530
542
|
api.has_param :export_name, 'string'
|
531
543
|
api.has_param :fields, { list: 'string' }
|
532
544
|
api.has_param :filtering, { list: 'object' }
|
545
|
+
api.has_param :graph_cache, 'bool'
|
533
546
|
api.has_param :level, { enum: -> { AdsInsights::LEVEL }}
|
534
547
|
api.has_param :limit, 'int'
|
535
548
|
api.has_param :product_id_limit, 'int'
|
@@ -26,6 +26,8 @@ module FacebookAds
|
|
26
26
|
field :element_payload, 'string'
|
27
27
|
field :elements, { list: 'RichMediaElement' }
|
28
28
|
field :fb_body_elements, { list: 'object' }
|
29
|
+
field :hero_asset_facebook_post_id, 'string'
|
30
|
+
field :hero_asset_instagram_media_id, 'string'
|
29
31
|
field :id, 'string'
|
30
32
|
field :is_hidden, 'bool'
|
31
33
|
field :is_published, 'bool'
|
@@ -26,12 +26,12 @@ 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
|
-
field :
|
34
|
-
field :review_rejection_reasons, { list: 'string' }
|
34
|
+
field :shops_ads_setup, 'object'
|
35
35
|
field :terms, 'string'
|
36
36
|
has_no_post
|
37
37
|
has_no_delete
|
@@ -69,7 +69,6 @@ module FacebookAds
|
|
69
69
|
|
70
70
|
has_edge :order_management_apps do |edge|
|
71
71
|
edge.get 'Application'
|
72
|
-
edge.post 'CommerceMerchantSettings'
|
73
72
|
end
|
74
73
|
|
75
74
|
has_edge :product_catalogs do |edge|
|
@@ -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
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class CtxdfoObjectiveDefaults < AdObject
|
17
|
+
|
18
|
+
field :objective, 'string'
|
19
|
+
field :optimization_goal, 'string'
|
20
|
+
field :page_id, 'string'
|
21
|
+
has_no_id
|
22
|
+
has_no_get
|
23
|
+
has_no_post
|
24
|
+
has_no_delete
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
@@ -97,6 +97,7 @@ module FacebookAds
|
|
97
97
|
field :description, 'string'
|
98
98
|
field :excluded_custom_audiences, { list: 'CustomAudience' }
|
99
99
|
field :external_event_source, 'AdsPixel'
|
100
|
+
field :fields_violating_integrity_policy, { list: 'string' }
|
100
101
|
field :household_audience, 'int'
|
101
102
|
field :id, 'string'
|
102
103
|
field :included_custom_audiences, { list: 'CustomAudience' }
|
@@ -16,7 +16,9 @@ module FacebookAds
|
|
16
16
|
class CustomAudienceIntegrityFlagsAndAppealStatus < AdObject
|
17
17
|
|
18
18
|
field :closeout_time, 'int'
|
19
|
+
field :days_until_enforcement, 'int'
|
19
20
|
field :flagged_fields, { list: 'string' }
|
21
|
+
field :is_enforcement_rolled_out, 'bool'
|
20
22
|
field :latest_appeal_requestor, 'string'
|
21
23
|
field :latest_appeal_time, 'int'
|
22
24
|
field :restriction_status, 'string'
|
@@ -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 CustomerElasticityStudyMetrics < AdObject
|
17
|
+
|
18
|
+
field :customer_elasticity_study_metrics, { list: 'object' }
|
19
|
+
has_no_id
|
20
|
+
has_no_get
|
21
|
+
has_no_post
|
22
|
+
has_no_delete
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|