facebookbusiness 18.0.0 → 18.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/facebook_ads/ad_objects/ad_account.rb +0 -12
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +8 -1
- data/lib/facebook_ads/ad_objects/ad_activity.rb +5 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb +1 -1
- data/lib/facebook_ads/ad_objects/ad_creative_feature_details.rb +25 -0
- data/lib/facebook_ads/ad_objects/ad_creative_features_spec.rb +51 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative_sourcing_spec.rb +25 -0
- data/lib/facebook_ads/ad_objects/ad_preview.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_rule.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_video.rb +1 -0
- data/lib/facebook_ads/ad_objects/ads_insights.rb +7 -0
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +6 -0
- data/lib/facebook_ads/ad_objects/application.rb +10 -0
- data/lib/facebook_ads/ad_objects/automotive_model.rb +1 -1
- data/lib/facebook_ads/ad_objects/business.rb +3 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +1 -0
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +0 -1
- data/lib/facebook_ads/ad_objects/content_publishing_limit_response.rb +26 -0
- data/lib/facebook_ads/ad_objects/destination.rb +1 -1
- data/lib/facebook_ads/ad_objects/dynamic_video_metadata.rb +26 -0
- data/lib/facebook_ads/ad_objects/flight.rb +1 -1
- data/lib/facebook_ads/ad_objects/group.rb +0 -7
- data/lib/facebook_ads/ad_objects/home_listing.rb +1 -1
- data/lib/facebook_ads/ad_objects/hotel.rb +1 -1
- data/lib/facebook_ads/ad_objects/ig_comment.rb +1 -1
- data/lib/facebook_ads/ad_objects/{messenger_destination_page_welcome_message.rb → ig_comment_from_user.rb} +2 -6
- data/lib/facebook_ads/ad_objects/ig_media.rb +5 -0
- data/lib/facebook_ads/ad_objects/ig_shopping_product_appeal.rb +29 -0
- data/lib/facebook_ads/ad_objects/ig_user.rb +6 -6
- data/lib/facebook_ads/ad_objects/ig_video_copyright_check_matches_information.rb +26 -0
- data/lib/facebook_ads/ad_objects/ig_video_copyright_check_status.rb +26 -0
- data/lib/facebook_ads/ad_objects/instagram_comment.rb +1 -0
- data/lib/facebook_ads/ad_objects/instagram_shopping_merchant_review_message.rb +26 -0
- data/lib/facebook_ads/ad_objects/media_title.rb +1 -1
- data/lib/facebook_ads/ad_objects/open_bridge_configuration.rb +2 -0
- data/lib/facebook_ads/ad_objects/page.rb +9 -4
- data/lib/facebook_ads/ad_objects/page_post_experiment.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_feed.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +11 -1
- data/lib/facebook_ads/ad_objects/shadow_ig_hashtag.rb +36 -0
- data/lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb +26 -0
- data/lib/facebook_ads/ad_objects/shadow_ig_media_collaborators.rb +26 -0
- data/lib/facebook_ads/ad_objects/shadow_ig_user_catalog_product_search.rb +32 -0
- data/lib/facebook_ads/ad_objects/shadow_ig_user_catalog_product_variant.rb +26 -0
- data/lib/facebook_ads/ad_objects/stories.rb +6 -0
- data/lib/facebook_ads/ad_objects/user_available_catalogs.rb +28 -0
- data/lib/facebook_ads/ad_objects/vehicle.rb +1 -1
- data/lib/facebook_ads/ad_objects/vehicle_offer.rb +1 -1
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +25 -1
- data/lib/facebook_ads/version.rb +1 -1
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca63f4ca6026ec9a8e4a9b6009325aa4e91bbc175603f8c3ae63b116e0ace2f4
|
4
|
+
data.tar.gz: 77202b89e94da77923a096440801c9f4a762904325f55bf496b082f501bbc272
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10a45a1bf364404c7a886b7deed6b2d7eca616ea2a5934d9429746e6c4790a55f6b14419f1aea3d2474699c67c0d32b058ee4e2734272ea4a79a3a355b78b13f
|
7
|
+
data.tar.gz: 938a29a5c03af70a9afd25e28748ee701cf2f9c732571b3794ad1e9d7045371e6d5544502f4bb27b2933fbc68c8c7f9e662630289be0f07edd807ad465ae94ec
|
@@ -420,18 +420,6 @@ module FacebookAds
|
|
420
420
|
end
|
421
421
|
end
|
422
422
|
|
423
|
-
has_edge :ads_conversion_goal do |edge|
|
424
|
-
edge.post do |api|
|
425
|
-
api.has_param :conversion_event_value_source, { enum: %w{DATA_SOURCE VALUE_RULE }}
|
426
|
-
api.has_param :description, 'string'
|
427
|
-
api.has_param :goal_creation_method, { enum: %w{ADVERTISER_CREATED_UI AUTO_MIGRATION L2_ENHANCE_API_MIGRATION }}
|
428
|
-
api.has_param :goal_name, 'string'
|
429
|
-
api.has_param :performance_goal, { enum: %w{AD_OPTIMIZATION_GOAL_AD_RECALL_LIFT AD_OPTIMIZATION_GOAL_APP_DOWNLOADS AD_OPTIMIZATION_GOAL_APP_INSTALLS AD_OPTIMIZATION_GOAL_APP_INSTALLS_AND_OFFSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_BRAND_AWARENESS AD_OPTIMIZATION_GOAL_CLICKS AD_OPTIMIZATION_GOAL_COMPLETED_VIDEO_VIEWS AD_OPTIMIZATION_GOAL_CONVERSATIONS AD_OPTIMIZATION_GOAL_DERIVED_EVENTS AD_OPTIMIZATION_GOAL_DWELLS AD_OPTIMIZATION_GOAL_ENGAGED_REACH AD_OPTIMIZATION_GOAL_ENGAGED_USERS AD_OPTIMIZATION_GOAL_EVENT_RESPONSES AD_OPTIMIZATION_GOAL_EXTERNAL AD_OPTIMIZATION_GOAL_IMPRESSIONS AD_OPTIMIZATION_GOAL_INCREMENTAL_OFFSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_IN_APP_VALUE AD_OPTIMIZATION_GOAL_JOB_APPLICATIONS AD_OPTIMIZATION_GOAL_LANDING_PAGE_VIEWS AD_OPTIMIZATION_GOAL_LEAD_GENERATION AD_OPTIMIZATION_GOAL_MEDIA_DOWNLOADS AD_OPTIMIZATION_GOAL_MESSAGING_APPOINTMENT_CONVERSION AD_OPTIMIZATION_GOAL_MESSAGING_DEEP_CONVERSATION_AND_FOLLOW AD_OPTIMIZATION_GOAL_MESSAGING_DEEP_CONVERSATION_AND_REPLY AD_OPTIMIZATION_GOAL_MESSAGING_PURCHASE_CONVERSION AD_OPTIMIZATION_GOAL_MID_FUNNEL_EVENT AD_OPTIMIZATION_GOAL_MRC_VIDEO_VIEWS AD_OPTIMIZATION_GOAL_MULTI_CONVERSIONS AD_OPTIMIZATION_GOAL_NONE AD_OPTIMIZATION_GOAL_OFFER_CLAIMS AD_OPTIMIZATION_GOAL_OFFLINE_CONVERSIONS AD_OPTIMIZATION_GOAL_OFFSITE_CLICKS AD_OPTIMIZATION_GOAL_OFFSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_ONSITE_CONVERSIONS AD_OPTIMIZATION_GOAL_PAGE_ENGAGEMENT AD_OPTIMIZATION_GOAL_PAGE_FOLLOWS AD_OPTIMIZATION_GOAL_PAGE_LIKES AD_OPTIMIZATION_GOAL_POST_ENGAGEMENT AD_OPTIMIZATION_GOAL_QUALITY_CALL AD_OPTIMIZATION_GOAL_QUALITY_LEAD AD_OPTIMIZATION_GOAL_REACH AD_OPTIMIZATION_GOAL_REMINDERS_SET AD_OPTIMIZATION_GOAL_REPLIES AD_OPTIMIZATION_GOAL_RESEARCH_POLL_RESPONSES AD_OPTIMIZATION_GOAL_RETENTION AD_OPTIMIZATION_GOAL_RETURN_ON_AD_SPEND AD_OPTIMIZATION_GOAL_SOCIAL_IMPRESSIONS AD_OPTIMIZATION_GOAL_STORE_VISITS AD_OPTIMIZATION_GOAL_SUBSCRIBERS AD_OPTIMIZATION_GOAL_TICKET_PURCHASE AD_OPTIMIZATION_GOAL_VALUE AD_OPTIMIZATION_GOAL_VIDEO_LONG_VIEWS AD_OPTIMIZATION_GOAL_VIDEO_VIEWS AD_OPTIMIZATION_GOAL_VIDEO_VIEWS_15S AD_OPTIMIZATION_GOAL_VISIT_INSTAGRAM_PROFILE AD_OPTIMIZATION_GOAL_VISIT_INSTAGRAM_PROFILE_AND_PROFILE_ACTIONS }}
|
430
|
-
api.has_param :single_channel_conversion_events, { list: 'hash' }
|
431
|
-
api.has_param :value_adjustment_rule, 'hash'
|
432
|
-
end
|
433
|
-
end
|
434
|
-
|
435
423
|
has_edge :ads_reporting_mmm_reports do |edge|
|
436
424
|
edge.get do |api|
|
437
425
|
api.has_param :filtering, { list: 'hash' }
|
@@ -19,6 +19,9 @@ module FacebookAds
|
|
19
19
|
"ACO_TOGGLE",
|
20
20
|
"ADS_REPORTING",
|
21
21
|
"ADVANCED_CAMPAIGN_BUDGET",
|
22
|
+
"ADVANTAGE_CUSTOM_AUDIENCE_UPSELL",
|
23
|
+
"ADVANTAGE_PLUS_AUDIENCE_FRICTION",
|
24
|
+
"ADVANTAGE_PLUS_AUDIENCE_TOGGLE",
|
22
25
|
"ADVANTAGE_PLUS_CREATIVE",
|
23
26
|
"ADVANTAGE_PLUS_CREATIVE_CATALOG",
|
24
27
|
"ADVANTAGE_SHOPPING_CAMPAIGN",
|
@@ -31,6 +34,7 @@ module FacebookAds
|
|
31
34
|
"AUCTION_OVERLAP",
|
32
35
|
"AUCTION_OVERLAP_CONSOLIDATION",
|
33
36
|
"AUDIENCE_EXPANSION",
|
37
|
+
"AUDIENCE_EXPANSION_RETARGETING",
|
34
38
|
"AUTOFLOW_OPT_IN",
|
35
39
|
"AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW",
|
36
40
|
"AUTOMATIC_PLACEMENTS",
|
@@ -53,6 +57,7 @@ module FacebookAds
|
|
53
57
|
"CREATIVE_LIMITED_HOURLY",
|
54
58
|
"CREATOR_ADS_PA_CONVERSION",
|
55
59
|
"CTA",
|
60
|
+
"DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS",
|
56
61
|
"DEAD_LINK",
|
57
62
|
"DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET",
|
58
63
|
"ECOSYSTEM_BID_REDUCE_L1_CARDINALITY",
|
@@ -60,14 +65,16 @@ module FacebookAds
|
|
60
65
|
"GES_TEST",
|
61
66
|
"GUIDANCE_CENTER_CODE_GEN",
|
62
67
|
"LEARNING_LIMITED",
|
68
|
+
"LEARNING_PAUSE_FRICTION",
|
63
69
|
"LOW_OUTCOME",
|
64
70
|
"MERLIN_GUIDANCE",
|
71
|
+
"MIXED_PA_COMBINE_ADSETS",
|
65
72
|
"MMT_CAROUSEL_TO_VIDEO",
|
66
73
|
"MOBILE_FIRST_VIDEO",
|
67
74
|
"MR_AEMV2SUB_KCONSOLIDATION",
|
68
75
|
"MULTI_TEXT",
|
69
76
|
"MUSIC",
|
70
|
-
"
|
77
|
+
"OPTIMAL_BAU",
|
71
78
|
"PAYMENT_METHOD",
|
72
79
|
"PERFORMANT_CREATIVE_REELS_OPT_IN",
|
73
80
|
"PFR_L1_INLINE_MMT",
|
@@ -84,10 +84,15 @@ module FacebookAds
|
|
84
84
|
"update_campaign_ad_scheduling",
|
85
85
|
"update_campaign_budget",
|
86
86
|
"update_campaign_budget_optimization_toggling_status",
|
87
|
+
"update_campaign_budget_scheduling_state",
|
88
|
+
"update_campaign_conversion_goal",
|
87
89
|
"update_campaign_delivery_type",
|
88
90
|
"update_campaign_group_ad_scheduling",
|
91
|
+
"update_campaign_group_budget_scheduling_state",
|
89
92
|
"update_campaign_group_delivery_type",
|
93
|
+
"update_campaign_group_high_demand_periods",
|
90
94
|
"update_campaign_group_spend_cap",
|
95
|
+
"update_campaign_high_demand_periods",
|
91
96
|
"update_campaign_name",
|
92
97
|
"update_campaign_run_status",
|
93
98
|
"update_campaign_schedule",
|
@@ -26,6 +26,7 @@ module FacebookAds
|
|
26
26
|
"CALL",
|
27
27
|
"CALL_ME",
|
28
28
|
"CALL_NOW",
|
29
|
+
"CONFIRM",
|
29
30
|
"CONTACT",
|
30
31
|
"CONTACT_US",
|
31
32
|
"DONATE",
|
@@ -166,6 +167,7 @@ module FacebookAds
|
|
166
167
|
field :categorization_criteria, 'string'
|
167
168
|
field :category_media_source, 'string'
|
168
169
|
field :collaborative_ads_lsb_image_bank_id, 'string'
|
170
|
+
field :creative_sourcing_spec, 'AdCreativeSourcingSpec'
|
169
171
|
field :degrees_of_freedom_spec, 'AdCreativeDegreesOfFreedomSpec'
|
170
172
|
field :destination_set_id, 'string'
|
171
173
|
field :dynamic_ad_voice, 'string'
|
@@ -16,7 +16,7 @@ module FacebookAds
|
|
16
16
|
class AdCreativeDegreesOfFreedomSpec < AdObject
|
17
17
|
|
18
18
|
field :ad_handle_type, 'string'
|
19
|
-
field :creative_features_spec, '
|
19
|
+
field :creative_features_spec, 'AdCreativeFeaturesSpec'
|
20
20
|
field :degrees_of_freedom_type, 'string'
|
21
21
|
field :image_transformation_types, { list: 'string' }
|
22
22
|
field :multi_media_transformation_type, '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 AdCreativeFeatureDetails < AdObject
|
17
|
+
|
18
|
+
field :enroll_status, 'string'
|
19
|
+
has_no_id
|
20
|
+
has_no_get
|
21
|
+
has_no_post
|
22
|
+
has_no_delete
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,51 @@
|
|
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 AdCreativeFeaturesSpec < AdObject
|
17
|
+
|
18
|
+
field :advantage_plus_creative, 'AdCreativeFeatureDetails'
|
19
|
+
field :audio, 'AdCreativeFeatureDetails'
|
20
|
+
field :carousel_to_video, 'AdCreativeFeatureDetails'
|
21
|
+
field :cv_transformation, 'AdCreativeFeatureDetails'
|
22
|
+
field :description_automation, 'AdCreativeFeatureDetails'
|
23
|
+
field :dha_optimization, 'AdCreativeFeatureDetails'
|
24
|
+
field :ig_glados_feed, 'AdCreativeFeatureDetails'
|
25
|
+
field :image_auto_crop, 'AdCreativeFeatureDetails'
|
26
|
+
field :image_background_gen, 'AdCreativeFeatureDetails'
|
27
|
+
field :image_enhancement, 'AdCreativeFeatureDetails'
|
28
|
+
field :image_templates, 'AdCreativeFeatureDetails'
|
29
|
+
field :image_touchups, 'AdCreativeFeatureDetails'
|
30
|
+
field :image_uncrop, 'AdCreativeFeatureDetails'
|
31
|
+
field :inline_comment, 'AdCreativeFeatureDetails'
|
32
|
+
field :media_liquidity_animated_image, 'AdCreativeFeatureDetails'
|
33
|
+
field :media_order, 'AdCreativeFeatureDetails'
|
34
|
+
field :media_type_automation, 'AdCreativeFeatureDetails'
|
35
|
+
field :product_extensions, 'AdCreativeFeatureDetails'
|
36
|
+
field :product_metadata_automation, 'AdCreativeFeatureDetails'
|
37
|
+
field :product_tags, 'AdCreativeFeatureDetails'
|
38
|
+
field :profile_card, 'AdCreativeFeatureDetails'
|
39
|
+
field :standard_enhancements, 'AdCreativeFeatureDetails'
|
40
|
+
field :standard_enhancements_catalog, 'AdCreativeFeatureDetails'
|
41
|
+
field :text_generation, 'AdCreativeFeatureDetails'
|
42
|
+
field :text_optimizations, 'AdCreativeFeatureDetails'
|
43
|
+
field :video_auto_crop, 'AdCreativeFeatureDetails'
|
44
|
+
field :video_highlight, 'AdCreativeFeatureDetails'
|
45
|
+
has_no_id
|
46
|
+
has_no_get
|
47
|
+
has_no_post
|
48
|
+
has_no_delete
|
49
|
+
|
50
|
+
end
|
51
|
+
end
|
@@ -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 AdCreativeSourcingSpec < AdObject
|
17
|
+
|
18
|
+
field :associated_product_set_id, 'string'
|
19
|
+
has_no_id
|
20
|
+
has_no_get
|
21
|
+
has_no_post
|
22
|
+
has_no_delete
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
@@ -36,6 +36,8 @@ module FacebookAds
|
|
36
36
|
"AM_RULE_LANDING_PAGE_BANNER",
|
37
37
|
"AM_SYD_RESOLUTION_FLOW",
|
38
38
|
"AM_SYD_RESOLUTION_FLOW_MODAL",
|
39
|
+
"AM_TABLE_DELIVERY_COLUMN_POPOVER",
|
40
|
+
"AM_TABLE_TOGGLE_POPOVER",
|
39
41
|
"AM_TOOLBAR_CREATE_RULE_DROPDOWN",
|
40
42
|
"PE_CAMPAIGN_STRUCTURE_MENU",
|
41
43
|
"PE_EDITOR_CARD",
|
@@ -296,6 +296,7 @@ module FacebookAds
|
|
296
296
|
field :content_category, 'string'
|
297
297
|
field :content_tags, { list: 'string' }
|
298
298
|
field :copyright, 'VideoCopyright'
|
299
|
+
field :copyright_check_information, 'object'
|
299
300
|
field :copyright_monitoring_status, 'string'
|
300
301
|
field :created_time, 'datetime'
|
301
302
|
field :custom_labels, { list: 'string' }
|
@@ -70,6 +70,13 @@ module FacebookAds
|
|
70
70
|
"is_conversion_id_modeled",
|
71
71
|
"link_url_asset",
|
72
72
|
"marketing_messages_btn_name",
|
73
|
+
"mdsa_landing_destination",
|
74
|
+
"media_asset_url",
|
75
|
+
"media_creator",
|
76
|
+
"media_destination_url",
|
77
|
+
"media_format",
|
78
|
+
"media_origin_url",
|
79
|
+
"media_text_content",
|
73
80
|
"mmm",
|
74
81
|
"place_page_id",
|
75
82
|
"platform_position",
|
@@ -99,6 +99,12 @@ module FacebookAds
|
|
99
99
|
edge.get 'Business'
|
100
100
|
end
|
101
101
|
|
102
|
+
has_edge :ahp_configs do |edge|
|
103
|
+
edge.post do |api|
|
104
|
+
api.has_param :applink_autosetup, 'bool'
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
102
108
|
has_edge :assigned_users do |edge|
|
103
109
|
edge.get 'AssignedUser' do |api|
|
104
110
|
api.has_param :business, 'string'
|
@@ -435,6 +435,12 @@ module FacebookAds
|
|
435
435
|
end
|
436
436
|
end
|
437
437
|
|
438
|
+
has_edge :iap_purchases do |edge|
|
439
|
+
edge.get do |api|
|
440
|
+
api.has_param :order_id, 'string'
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
438
444
|
has_edge :insights_push_schedule do |edge|
|
439
445
|
edge.get
|
440
446
|
end
|
@@ -489,6 +495,10 @@ module FacebookAds
|
|
489
495
|
edge.get 'NullNode'
|
490
496
|
end
|
491
497
|
|
498
|
+
has_edge :objects do |edge|
|
499
|
+
edge.get 'NullNode'
|
500
|
+
end
|
501
|
+
|
492
502
|
has_edge :occludespopups do |edge|
|
493
503
|
edge.post do |api|
|
494
504
|
api.has_param :flash, 'bool'
|
@@ -744,6 +744,8 @@ module FacebookAds
|
|
744
744
|
api.has_param :access_key, 'string'
|
745
745
|
api.has_param :active, 'bool'
|
746
746
|
api.has_param :endpoint, 'string'
|
747
|
+
api.has_param :fallback_domain, 'string'
|
748
|
+
api.has_param :fallback_domain_enabled, 'bool'
|
747
749
|
api.has_param :host_business_id, 'int'
|
748
750
|
api.has_param :host_external_id, 'string'
|
749
751
|
api.has_param :pixel_id, 'int'
|
@@ -800,6 +802,7 @@ module FacebookAds
|
|
800
802
|
edge.get 'Page'
|
801
803
|
edge.post 'Business' do |api|
|
802
804
|
api.has_param :code, 'string'
|
805
|
+
api.has_param :entry_point, 'string'
|
803
806
|
api.has_param :page_id, 'int'
|
804
807
|
end
|
805
808
|
end
|
@@ -392,6 +392,7 @@ module FacebookAds
|
|
392
392
|
field :budget_rebalance_flag, 'bool'
|
393
393
|
field :budget_remaining, 'string'
|
394
394
|
field :buying_type, 'string'
|
395
|
+
field :campaign_group_active_time, 'string'
|
395
396
|
field :can_create_brand_lift_study, 'bool'
|
396
397
|
field :can_use_spend_cap, 'bool'
|
397
398
|
field :configured_status, { enum: -> { CONFIGURED_STATUS }}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class ContentPublishingLimitResponse < AdObject
|
17
|
+
|
18
|
+
field :config, 'object'
|
19
|
+
field :quota_usage, 'int'
|
20
|
+
has_no_id
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class DynamicVideoMetadata < AdObject
|
17
|
+
|
18
|
+
field :id, 'string'
|
19
|
+
field :tags, { list: 'string' }
|
20
|
+
field :url, 'string'
|
21
|
+
field :video, 'AdVideo'
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -13,14 +13,10 @@ 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 IgCommentFromUser < AdObject
|
17
17
|
|
18
18
|
field :id, 'string'
|
19
|
-
field :
|
20
|
-
field :page_welcome_message_type, 'string'
|
21
|
-
field :template_name, 'string'
|
22
|
-
field :time_created, 'datetime'
|
23
|
-
field :time_last_used, 'datetime'
|
19
|
+
field :username, 'string'
|
24
20
|
has_no_get
|
25
21
|
has_no_post
|
26
22
|
has_no_delete
|
@@ -17,6 +17,7 @@ module FacebookAds
|
|
17
17
|
|
18
18
|
field :caption, 'string'
|
19
19
|
field :comments_count, 'int'
|
20
|
+
field :copyright_check_information, 'IgVideoCopyrightCheckMatchesInformation'
|
20
21
|
field :id, 'string'
|
21
22
|
field :ig_id, 'string'
|
22
23
|
field :is_comment_enabled, 'bool'
|
@@ -37,6 +38,10 @@ module FacebookAds
|
|
37
38
|
edge.get 'IgMedia'
|
38
39
|
end
|
39
40
|
|
41
|
+
has_edge :collaborators do |edge|
|
42
|
+
edge.get 'ShadowIgMediaCollaborators'
|
43
|
+
end
|
44
|
+
|
40
45
|
has_edge :comments do |edge|
|
41
46
|
edge.get 'IgComment'
|
42
47
|
edge.post 'IgComment' do |api|
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class IgShoppingProductAppeal < AdObject
|
17
|
+
|
18
|
+
field :eligible_for_appeal, 'bool'
|
19
|
+
field :product_appeal_status, 'string'
|
20
|
+
field :product_id, 'int'
|
21
|
+
field :rejection_reasons, { list: 'string' }
|
22
|
+
field :review_status, 'string'
|
23
|
+
has_no_id
|
24
|
+
has_no_get
|
25
|
+
has_no_post
|
26
|
+
has_no_delete
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
@@ -35,18 +35,18 @@ module FacebookAds
|
|
35
35
|
has_no_delete
|
36
36
|
|
37
37
|
has_edge :available_catalogs do |edge|
|
38
|
-
edge.get
|
38
|
+
edge.get 'UserAvailableCatalogs'
|
39
39
|
end
|
40
40
|
|
41
41
|
has_edge :catalog_product_search do |edge|
|
42
|
-
edge.get do |api|
|
42
|
+
edge.get 'ShadowIgUserCatalogProductSearch' do |api|
|
43
43
|
api.has_param :catalog_id, 'string'
|
44
44
|
api.has_param :q, 'string'
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
48
|
has_edge :content_publishing_limit do |edge|
|
49
|
-
edge.get do |api|
|
49
|
+
edge.get 'ContentPublishingLimitResponse' do |api|
|
50
50
|
api.has_param :since, 'datetime'
|
51
51
|
end
|
52
52
|
end
|
@@ -116,17 +116,17 @@ module FacebookAds
|
|
116
116
|
end
|
117
117
|
|
118
118
|
has_edge :product_appeal do |edge|
|
119
|
-
edge.get do |api|
|
119
|
+
edge.get 'IgShoppingProductAppeal' do |api|
|
120
120
|
api.has_param :product_id, 'string'
|
121
121
|
end
|
122
|
-
edge.post do |api|
|
122
|
+
edge.post 'IgShoppingProductAppeal' do |api|
|
123
123
|
api.has_param :appeal_reason, 'string'
|
124
124
|
api.has_param :product_id, 'string'
|
125
125
|
end
|
126
126
|
end
|
127
127
|
|
128
128
|
has_edge :recently_searched_hashtags do |edge|
|
129
|
-
edge.get
|
129
|
+
edge.get 'ShadowIgHashtag'
|
130
130
|
end
|
131
131
|
|
132
132
|
has_edge :stories do |edge|
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class IgVideoCopyrightCheckMatchesInformation < AdObject
|
17
|
+
|
18
|
+
field :copyright_matches, { list: 'object' }
|
19
|
+
field :status, 'IgVideoCopyrightCheckStatus'
|
20
|
+
has_no_id
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class IgVideoCopyrightCheckStatus < AdObject
|
17
|
+
|
18
|
+
field :matches_found, 'bool'
|
19
|
+
field :status, 'string'
|
20
|
+
has_no_id
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class InstagramShoppingMerchantReviewMessage < AdObject
|
17
|
+
|
18
|
+
field :help_url, 'string'
|
19
|
+
field :message, 'string'
|
20
|
+
has_no_id
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -18,6 +18,8 @@ module FacebookAds
|
|
18
18
|
field :access_key, 'string'
|
19
19
|
field :active, 'bool'
|
20
20
|
field :endpoint, 'string'
|
21
|
+
field :fallback_domain, 'string'
|
22
|
+
field :fallback_domain_enabled, 'bool'
|
21
23
|
field :host_business_id, 'string'
|
22
24
|
field :host_external_id, 'string'
|
23
25
|
field :id, 'string'
|
@@ -418,6 +418,7 @@ module FacebookAds
|
|
418
418
|
field :directed_by, 'string'
|
419
419
|
field :display_subtext, 'string'
|
420
420
|
field :displayed_message_response_time, 'string'
|
421
|
+
field :does_viewer_have_page_permission_link_ig, 'bool'
|
421
422
|
field :emails, { list: 'string' }
|
422
423
|
field :engagement, 'Engagement'
|
423
424
|
field :fan_count, 'int'
|
@@ -446,6 +447,7 @@ module FacebookAds
|
|
446
447
|
field :is_chain, 'bool'
|
447
448
|
field :is_community_page, 'bool'
|
448
449
|
field :is_eligible_for_branded_content, 'bool'
|
450
|
+
field :is_eligible_for_disable_connect_ig_btn_for_non_page_admin_am_web, 'bool'
|
449
451
|
field :is_messenger_bot_get_started_enabled, 'bool'
|
450
452
|
field :is_messenger_platform_bot, 'bool'
|
451
453
|
field :is_owned, 'bool'
|
@@ -465,7 +467,6 @@ module FacebookAds
|
|
465
467
|
field :merchant_review_status, 'string'
|
466
468
|
field :messaging_feature_status, 'MessagingFeatureStatus'
|
467
469
|
field :messenger_ads_default_icebreakers, { list: 'string' }
|
468
|
-
field :messenger_ads_default_page_welcome_message, 'MessengerDestinationPageWelcomeMessage'
|
469
470
|
field :messenger_ads_default_quick_replies, { list: 'string' }
|
470
471
|
field :messenger_ads_quick_replies_type, 'string'
|
471
472
|
field :mini_shop_storefront, 'Shop'
|
@@ -1015,8 +1016,8 @@ module FacebookAds
|
|
1015
1016
|
|
1016
1017
|
has_edge :locations do |edge|
|
1017
1018
|
edge.delete do |api|
|
1018
|
-
api.has_param :
|
1019
|
-
api.has_param :
|
1019
|
+
api.has_param :location_page_ids, { list: 'string' }
|
1020
|
+
api.has_param :store_numbers, { list: 'int' }
|
1020
1021
|
end
|
1021
1022
|
edge.get 'Page'
|
1022
1023
|
edge.post 'Page' do |api|
|
@@ -1361,7 +1362,11 @@ module FacebookAds
|
|
1361
1362
|
end
|
1362
1363
|
|
1363
1364
|
has_edge :stories do |edge|
|
1364
|
-
edge.get 'Stories'
|
1365
|
+
edge.get 'Stories' do |api|
|
1366
|
+
api.has_param :since, 'datetime'
|
1367
|
+
api.has_param :status, { list: { enum: -> { Stories::STATUS }} }
|
1368
|
+
api.has_param :until, 'datetime'
|
1369
|
+
end
|
1365
1370
|
end
|
1366
1371
|
|
1367
1372
|
has_edge :subscribed_apps do |edge|
|
@@ -27,6 +27,7 @@ module FacebookAds
|
|
27
27
|
field :insight_snapshots, { list: 'map<datetime, list<map<int, Object>>>' }
|
28
28
|
field :name, 'string'
|
29
29
|
field :optimization_goal, 'string'
|
30
|
+
field :post_variant_fields, { list: 'string' }
|
30
31
|
field :publish_status, 'string'
|
31
32
|
field :publish_time, 'datetime'
|
32
33
|
field :scheduled_experiment_timestamp, 'datetime'
|
@@ -75,6 +75,15 @@ module FacebookAds
|
|
75
75
|
"oz",
|
76
76
|
]
|
77
77
|
|
78
|
+
VIDEO_FETCH_STATUS = [
|
79
|
+
"DIRECT_UPLOAD",
|
80
|
+
"FETCHED",
|
81
|
+
"FETCH_FAILED",
|
82
|
+
"NO_STATUS",
|
83
|
+
"OUTDATED",
|
84
|
+
"PARTIAL_FETCH",
|
85
|
+
]
|
86
|
+
|
78
87
|
VISIBILITY = [
|
79
88
|
"published",
|
80
89
|
"staging",
|
@@ -727,6 +736,7 @@ module FacebookAds
|
|
727
736
|
field :size, 'string'
|
728
737
|
field :start_date, 'string'
|
729
738
|
field :url, 'string'
|
739
|
+
field :video_fetch_status, { enum: -> { VIDEO_FETCH_STATUS }}
|
730
740
|
field :visibility, { enum: -> { VISIBILITY }}
|
731
741
|
field :wa_compliance_category, 'string'
|
732
742
|
field :additional_uploaded_image_ids, { list: 'string' }
|
@@ -763,7 +773,7 @@ module FacebookAds
|
|
763
773
|
end
|
764
774
|
|
765
775
|
has_edge :videos_metadata do |edge|
|
766
|
-
edge.get
|
776
|
+
edge.get 'DynamicVideoMetadata'
|
767
777
|
end
|
768
778
|
|
769
779
|
end
|
@@ -0,0 +1,36 @@
|
|
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 ShadowIgHashtag < AdObject
|
17
|
+
|
18
|
+
field :id, 'string'
|
19
|
+
field :name, 'string'
|
20
|
+
has_no_post
|
21
|
+
has_no_delete
|
22
|
+
|
23
|
+
has_edge :recent_media do |edge|
|
24
|
+
edge.get 'IgMedia' do |api|
|
25
|
+
api.has_param :user_id, 'string'
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
has_edge :top_media do |edge|
|
30
|
+
edge.get 'IgMedia' do |api|
|
31
|
+
api.has_param :user_id, 'string'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class ShadowIgMediaBuilder < AdObject
|
17
|
+
|
18
|
+
field :copyright_check_status, 'IgVideoCopyrightCheckStatus'
|
19
|
+
field :id, 'string'
|
20
|
+
field :status, 'string'
|
21
|
+
field :status_code, 'string'
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class ShadowIgMediaCollaborators < AdObject
|
17
|
+
|
18
|
+
field :id, 'string'
|
19
|
+
field :invite_status, 'string'
|
20
|
+
field :username, 'string'
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,32 @@
|
|
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 ShadowIgUserCatalogProductSearch < AdObject
|
17
|
+
|
18
|
+
field :image_url, 'string'
|
19
|
+
field :is_checkout_flow, 'bool'
|
20
|
+
field :merchant_id, 'int'
|
21
|
+
field :product_id, 'int'
|
22
|
+
field :product_name, 'string'
|
23
|
+
field :product_variants, { list: 'ShadowIgUserCatalogProductVariant' }
|
24
|
+
field :retailer_id, 'string'
|
25
|
+
field :review_status, 'string'
|
26
|
+
has_no_id
|
27
|
+
has_no_get
|
28
|
+
has_no_post
|
29
|
+
has_no_delete
|
30
|
+
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class ShadowIgUserCatalogProductVariant < AdObject
|
17
|
+
|
18
|
+
field :product_id, 'int'
|
19
|
+
field :variant_name, 'string'
|
20
|
+
has_no_id
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -14,8 +14,14 @@ module FacebookAds
|
|
14
14
|
# pull request for this class.
|
15
15
|
|
16
16
|
class Stories < AdObject
|
17
|
+
STATUS = [
|
18
|
+
"ARCHIVED",
|
19
|
+
"PUBLISHED",
|
20
|
+
]
|
21
|
+
|
17
22
|
|
18
23
|
field :creation_time, 'string'
|
24
|
+
field :media_id, 'string'
|
19
25
|
field :media_type, 'string'
|
20
26
|
field :post_id, 'string'
|
21
27
|
field :status, '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 UserAvailableCatalogs < AdObject
|
17
|
+
|
18
|
+
field :catalog_id, 'string'
|
19
|
+
field :catalog_name, 'string'
|
20
|
+
field :product_count, 'int'
|
21
|
+
field :shop_name, 'string'
|
22
|
+
has_no_id
|
23
|
+
has_no_get
|
24
|
+
has_no_post
|
25
|
+
has_no_delete
|
26
|
+
|
27
|
+
end
|
28
|
+
end
|
@@ -19,7 +19,11 @@ module FacebookAds
|
|
19
19
|
"MANAGE",
|
20
20
|
"MANAGE_EXTENSIONS",
|
21
21
|
"MANAGE_PHONE",
|
22
|
+
"MANAGE_PHONE_ASSETS",
|
23
|
+
"MANAGE_TEMPLATES",
|
22
24
|
"VIEW_COST",
|
25
|
+
"VIEW_PHONE_ASSETS",
|
26
|
+
"VIEW_TEMPLATES",
|
23
27
|
]
|
24
28
|
|
25
29
|
CATEGORY = [
|
@@ -28,6 +32,12 @@ module FacebookAds
|
|
28
32
|
"UTILITY",
|
29
33
|
]
|
30
34
|
|
35
|
+
SUB_CATEGORY = [
|
36
|
+
"CUSTOM",
|
37
|
+
"ORDER_DETAILS",
|
38
|
+
"ORDER_STATUS",
|
39
|
+
]
|
40
|
+
|
31
41
|
|
32
42
|
field :account_review_status, 'string'
|
33
43
|
field :analytics, 'object'
|
@@ -83,10 +93,24 @@ module FacebookAds
|
|
83
93
|
|
84
94
|
has_edge :extensions do |edge|
|
85
95
|
edge.get
|
96
|
+
edge.post do |api|
|
97
|
+
api.has_param :categories, { list: { enum: %w{APPOINTMENT_BOOKING CONTACT_US CUSTOMER_SUPPORT LEAD_GENERATION OTHER SIGN_IN SIGN_UP SURVEY }} }
|
98
|
+
api.has_param :clone_extension_id, 'string'
|
99
|
+
api.has_param :clone_template, 'string'
|
100
|
+
api.has_param :data_channel_uri, 'string'
|
101
|
+
api.has_param :name, 'string'
|
102
|
+
end
|
86
103
|
end
|
87
104
|
|
88
105
|
has_edge :flows do |edge|
|
89
106
|
edge.get
|
107
|
+
edge.post do |api|
|
108
|
+
api.has_param :categories, { list: { enum: %w{APPOINTMENT_BOOKING CONTACT_US CUSTOMER_SUPPORT LEAD_GENERATION OTHER SIGN_IN SIGN_UP SURVEY }} }
|
109
|
+
api.has_param :clone_flow_id, 'string'
|
110
|
+
api.has_param :clone_template, 'string'
|
111
|
+
api.has_param :data_channel_uri, 'string'
|
112
|
+
api.has_param :name, 'string'
|
113
|
+
end
|
90
114
|
end
|
91
115
|
|
92
116
|
has_edge :message_campaigns do |edge|
|
@@ -125,7 +149,7 @@ module FacebookAds
|
|
125
149
|
api.has_param :language, 'string'
|
126
150
|
api.has_param :message_send_ttl_seconds, 'int'
|
127
151
|
api.has_param :name, 'string'
|
128
|
-
api.has_param :sub_category,
|
152
|
+
api.has_param :sub_category, { enum: -> { WhatsAppBusinessAccount::SUB_CATEGORY }}
|
129
153
|
end
|
130
154
|
end
|
131
155
|
|
data/lib/facebook_ads/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebookbusiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 18.0.
|
4
|
+
version: 18.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Facebook
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -303,6 +303,8 @@ files:
|
|
303
303
|
- lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb
|
304
304
|
- lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb
|
305
305
|
- lib/facebook_ads/ad_objects/ad_creative_facebook_branded_content.rb
|
306
|
+
- lib/facebook_ads/ad_objects/ad_creative_feature_details.rb
|
307
|
+
- lib/facebook_ads/ad_objects/ad_creative_features_spec.rb
|
306
308
|
- lib/facebook_ads/ad_objects/ad_creative_insights.rb
|
307
309
|
- lib/facebook_ads/ad_objects/ad_creative_instagram_branded_content.rb
|
308
310
|
- lib/facebook_ads/ad_objects/ad_creative_interactive_components_spec.rb
|
@@ -324,6 +326,7 @@ files:
|
|
324
326
|
- lib/facebook_ads/ad_objects/ad_creative_portrait_customizations.rb
|
325
327
|
- lib/facebook_ads/ad_objects/ad_creative_post_click_configuration.rb
|
326
328
|
- lib/facebook_ads/ad_objects/ad_creative_recommender_settings.rb
|
329
|
+
- lib/facebook_ads/ad_objects/ad_creative_sourcing_spec.rb
|
327
330
|
- lib/facebook_ads/ad_objects/ad_creative_static_fallback_spec.rb
|
328
331
|
- lib/facebook_ads/ad_objects/ad_creative_template_url_spec.rb
|
329
332
|
- lib/facebook_ads/ad_objects/ad_creative_text_data.rb
|
@@ -436,6 +439,7 @@ files:
|
|
436
439
|
- lib/facebook_ads/ad_objects/commerce_payout.rb
|
437
440
|
- lib/facebook_ads/ad_objects/commerce_settings.rb
|
438
441
|
- lib/facebook_ads/ad_objects/connections_targeting.rb
|
442
|
+
- lib/facebook_ads/ad_objects/content_publishing_limit_response.rb
|
439
443
|
- lib/facebook_ads/ad_objects/contextual_bundling_spec.rb
|
440
444
|
- lib/facebook_ads/ad_objects/conversion_action_query.rb
|
441
445
|
- lib/facebook_ads/ad_objects/copyright_reference_container.rb
|
@@ -472,6 +476,7 @@ files:
|
|
472
476
|
- lib/facebook_ads/ad_objects/destination_catalog_settings.rb
|
473
477
|
- lib/facebook_ads/ad_objects/dynamic_post_child_attachment.rb
|
474
478
|
- lib/facebook_ads/ad_objects/dynamic_price_config_by_date.rb
|
479
|
+
- lib/facebook_ads/ad_objects/dynamic_video_metadata.rb
|
475
480
|
- lib/facebook_ads/ad_objects/engagement.rb
|
476
481
|
- lib/facebook_ads/ad_objects/entity_at_text_range.rb
|
477
482
|
- lib/facebook_ads/ad_objects/event.rb
|
@@ -497,11 +502,15 @@ files:
|
|
497
502
|
- lib/facebook_ads/ad_objects/hotel_room.rb
|
498
503
|
- lib/facebook_ads/ad_objects/id_name.rb
|
499
504
|
- lib/facebook_ads/ad_objects/ig_comment.rb
|
505
|
+
- lib/facebook_ads/ad_objects/ig_comment_from_user.rb
|
500
506
|
- lib/facebook_ads/ad_objects/ig_media.rb
|
507
|
+
- lib/facebook_ads/ad_objects/ig_shopping_product_appeal.rb
|
501
508
|
- lib/facebook_ads/ad_objects/ig_shopping_review_status.rb
|
502
509
|
- lib/facebook_ads/ad_objects/ig_shopping_review_status_onsite_eligibility.rb
|
503
510
|
- lib/facebook_ads/ad_objects/ig_shopping_review_status_reason_with_help_message.rb
|
504
511
|
- lib/facebook_ads/ad_objects/ig_user.rb
|
512
|
+
- lib/facebook_ads/ad_objects/ig_video_copyright_check_matches_information.rb
|
513
|
+
- lib/facebook_ads/ad_objects/ig_video_copyright_check_status.rb
|
505
514
|
- lib/facebook_ads/ad_objects/igbc_ads_permission.rb
|
506
515
|
- lib/facebook_ads/ad_objects/image_copyright.rb
|
507
516
|
- lib/facebook_ads/ad_objects/insights_result.rb
|
@@ -510,6 +519,7 @@ files:
|
|
510
519
|
- lib/facebook_ads/ad_objects/instagram_insights_result.rb
|
511
520
|
- lib/facebook_ads/ad_objects/instagram_insights_value.rb
|
512
521
|
- lib/facebook_ads/ad_objects/instagram_media.rb
|
522
|
+
- lib/facebook_ads/ad_objects/instagram_shopping_merchant_review_message.rb
|
513
523
|
- lib/facebook_ads/ad_objects/instagram_user.rb
|
514
524
|
- lib/facebook_ads/ad_objects/instagram_video_metadata.rb
|
515
525
|
- lib/facebook_ads/ad_objects/instant_articles_stats.rb
|
@@ -553,7 +563,6 @@ files:
|
|
553
563
|
- lib/facebook_ads/ad_objects/messaging_feature_review.rb
|
554
564
|
- lib/facebook_ads/ad_objects/messaging_feature_status.rb
|
555
565
|
- lib/facebook_ads/ad_objects/messenger_ads_partial_automated_step_list.rb
|
556
|
-
- lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb
|
557
566
|
- lib/facebook_ads/ad_objects/messenger_profile.rb
|
558
567
|
- lib/facebook_ads/ad_objects/minimum_budget.rb
|
559
568
|
- lib/facebook_ads/ad_objects/music_video_copyright.rb
|
@@ -668,7 +677,12 @@ files:
|
|
668
677
|
- lib/facebook_ads/ad_objects/server_side/http_util.rb
|
669
678
|
- lib/facebook_ads/ad_objects/server_side/user_data.rb
|
670
679
|
- lib/facebook_ads/ad_objects/server_side/util.rb
|
680
|
+
- lib/facebook_ads/ad_objects/shadow_ig_hashtag.rb
|
681
|
+
- lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb
|
682
|
+
- lib/facebook_ads/ad_objects/shadow_ig_media_collaborators.rb
|
671
683
|
- lib/facebook_ads/ad_objects/shadow_ig_media_product_tags.rb
|
684
|
+
- lib/facebook_ads/ad_objects/shadow_ig_user_catalog_product_search.rb
|
685
|
+
- lib/facebook_ads/ad_objects/shadow_ig_user_catalog_product_variant.rb
|
672
686
|
- lib/facebook_ads/ad_objects/shop.rb
|
673
687
|
- lib/facebook_ads/ad_objects/split_test_winner.rb
|
674
688
|
- lib/facebook_ads/ad_objects/store_catalog_settings.rb
|
@@ -699,6 +713,7 @@ files:
|
|
699
713
|
- lib/facebook_ads/ad_objects/unified_thread.rb
|
700
714
|
- lib/facebook_ads/ad_objects/url.rb
|
701
715
|
- lib/facebook_ads/ad_objects/user.rb
|
716
|
+
- lib/facebook_ads/ad_objects/user_available_catalogs.rb
|
702
717
|
- lib/facebook_ads/ad_objects/user_cover_photo.rb
|
703
718
|
- lib/facebook_ads/ad_objects/user_device.rb
|
704
719
|
- lib/facebook_ads/ad_objects/user_id_for_app.rb
|