facebookbusiness 18.0.1 → 18.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/facebook_ads/ad_objects/ad.rb +0 -6
- data/lib/facebook_ads/ad_objects/ad_account.rb +1 -13
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +28 -1
- data/lib/facebook_ads/ad_objects/ad_activity.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_additional_data.rb +29 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +8 -5
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_call_to_action.rb +27 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel.rb +28 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_carousel_child_attachment.rb +34 -0
- data/lib/facebook_ads/ad_objects/{messenger_destination_page_welcome_message.rb → ad_asset_feed_spec_events.rb} +1 -6
- data/lib/facebook_ads/ad_objects/ad_asset_onsite_destinations.rb +28 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +2 -1
- data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads.rb +2 -1
- data/lib/facebook_ads/ad_objects/ad_creative_branded_content_ads_partners.rb +28 -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 +1 -1
- data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +1 -1
- data/lib/facebook_ads/ad_objects/ad_set.rb +9 -0
- data/lib/facebook_ads/ad_objects/ad_video.rb +1 -0
- data/lib/facebook_ads/ad_objects/ads_insights.rb +3 -0
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +6 -0
- data/lib/facebook_ads/ad_objects/application.rb +2 -6
- data/lib/facebook_ads/ad_objects/business.rb +4 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +9 -0
- data/lib/facebook_ads/ad_objects/ctx_partner_app_welcome_message_flow.rb +29 -0
- data/lib/facebook_ads/ad_objects/custom_audience.rb +1 -0
- data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +1 -0
- data/lib/facebook_ads/ad_objects/group.rb +0 -7
- data/lib/facebook_ads/ad_objects/has_lead_access.rb +33 -0
- data/lib/facebook_ads/ad_objects/ig_media.rb +5 -0
- 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/managed_partner_business.rb +1 -1
- data/lib/facebook_ads/ad_objects/managed_partner_extended_credit.rb +26 -0
- data/lib/facebook_ads/ad_objects/messenger_profile.rb +1 -0
- data/lib/facebook_ads/ad_objects/open_bridge_configuration.rb +2 -0
- data/lib/facebook_ads/ad_objects/page.rb +28 -5
- data/lib/facebook_ads/ad_objects/page_post_experiment.rb +14 -2
- data/lib/facebook_ads/ad_objects/product_catalog_diagnostic_group.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_feed.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +8 -0
- data/lib/facebook_ads/ad_objects/shadow_ig_media_builder.rb +1 -0
- data/lib/facebook_ads/ad_objects/shadow_ig_media_collaborators.rb +26 -0
- data/lib/facebook_ads/ad_objects/shop.rb +2 -0
- data/lib/facebook_ads/ad_objects/user.rb +4 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +8 -8
- data/lib/facebook_ads/ad_objects/whats_app_business_health_status.rb +28 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_health_status_for_message_send.rb +26 -0
- data/lib/facebook_ads/ad_objects/whitehat_fbdl_run.rb +30 -0
- data/lib/facebook_ads/version.rb +1 -1
- metadata +18 -3
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class HasLeadAccess < AdObject
|
17
|
+
|
18
|
+
field :app_has_leads_permission, 'bool'
|
19
|
+
field :can_access_lead, 'bool'
|
20
|
+
field :enabled_lead_access_manager, 'bool'
|
21
|
+
field :failure_reason, 'string'
|
22
|
+
field :failure_resolution, 'string'
|
23
|
+
field :is_page_admin, 'bool'
|
24
|
+
field :page_id, 'string'
|
25
|
+
field :user_has_leads_permission, 'bool'
|
26
|
+
field :user_id, 'string'
|
27
|
+
has_no_id
|
28
|
+
has_no_get
|
29
|
+
has_no_post
|
30
|
+
has_no_delete
|
31
|
+
|
32
|
+
end
|
33
|
+
end
|
@@ -17,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,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
|
@@ -17,7 +17,7 @@ module FacebookAds
|
|
17
17
|
|
18
18
|
field :ad_account, 'AdAccount'
|
19
19
|
field :catalog_segment, 'ProductCatalog'
|
20
|
-
field :extended_credit, '
|
20
|
+
field :extended_credit, 'ManagedPartnerExtendedCredit'
|
21
21
|
field :page, 'Page'
|
22
22
|
field :seller_business_info, 'object'
|
23
23
|
field :seller_business_status, 'string'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2
|
+
# All rights reserved.
|
3
|
+
|
4
|
+
# This source code is licensed under the license found in the
|
5
|
+
# LICENSE file in the root directory of this source tree.
|
6
|
+
|
7
|
+
# FB:AUTOGEN
|
8
|
+
|
9
|
+
module FacebookAds
|
10
|
+
# This class is auto-generated.
|
11
|
+
|
12
|
+
# For any issues or feature requests related to this class, please let us know
|
13
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
14
|
+
# pull request for this class.
|
15
|
+
|
16
|
+
class ManagedPartnerExtendedCredit < AdObject
|
17
|
+
|
18
|
+
field :id, 'string'
|
19
|
+
field :max_balance, 'CurrencyAmount'
|
20
|
+
field :receiving_credit_allocation_config, 'ExtendedCreditAllocationConfig'
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -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'
|
@@ -432,6 +433,7 @@ module FacebookAds
|
|
432
433
|
field :global_brand_page_name, 'string'
|
433
434
|
field :global_brand_root_id, 'string'
|
434
435
|
field :has_added_app, 'bool'
|
436
|
+
field :has_lead_access, 'HasLeadAccess'
|
435
437
|
field :has_transitioned_to_new_page_experience, 'bool'
|
436
438
|
field :has_whatsapp_business_number, 'bool'
|
437
439
|
field :has_whatsapp_enterprise_number_using_cloud_api, 'bool'
|
@@ -446,6 +448,7 @@ module FacebookAds
|
|
446
448
|
field :is_chain, 'bool'
|
447
449
|
field :is_community_page, 'bool'
|
448
450
|
field :is_eligible_for_branded_content, 'bool'
|
451
|
+
field :is_eligible_for_disable_connect_ig_btn_for_non_page_admin_am_web, 'bool'
|
449
452
|
field :is_messenger_bot_get_started_enabled, 'bool'
|
450
453
|
field :is_messenger_platform_bot, 'bool'
|
451
454
|
field :is_owned, 'bool'
|
@@ -465,7 +468,6 @@ module FacebookAds
|
|
465
468
|
field :merchant_review_status, 'string'
|
466
469
|
field :messaging_feature_status, 'MessagingFeatureStatus'
|
467
470
|
field :messenger_ads_default_icebreakers, { list: 'string' }
|
468
|
-
field :messenger_ads_default_page_welcome_message, 'MessengerDestinationPageWelcomeMessage'
|
469
471
|
field :messenger_ads_default_quick_replies, { list: 'string' }
|
470
472
|
field :messenger_ads_quick_replies_type, 'string'
|
471
473
|
field :mini_shop_storefront, 'Shop'
|
@@ -533,6 +535,15 @@ module FacebookAds
|
|
533
535
|
|
534
536
|
has_edge :ab_tests do |edge|
|
535
537
|
edge.get 'PagePostExperiment'
|
538
|
+
edge.post 'PagePostExperiment' do |api|
|
539
|
+
api.has_param :control_video_id, 'string'
|
540
|
+
api.has_param :description, 'string'
|
541
|
+
api.has_param :duration, 'int'
|
542
|
+
api.has_param :experiment_video_ids, { list: 'string' }
|
543
|
+
api.has_param :name, 'string'
|
544
|
+
api.has_param :optimization_goal, { enum: -> { PagePostExperiment::OPTIMIZATION_GOAL }}
|
545
|
+
api.has_param :scheduled_experiment_timestamp, 'int'
|
546
|
+
end
|
536
547
|
end
|
537
548
|
|
538
549
|
has_edge :acknowledge_orders do |edge|
|
@@ -1015,8 +1026,8 @@ module FacebookAds
|
|
1015
1026
|
|
1016
1027
|
has_edge :locations do |edge|
|
1017
1028
|
edge.delete do |api|
|
1018
|
-
api.has_param :
|
1019
|
-
api.has_param :
|
1029
|
+
api.has_param :location_page_ids, { list: 'string' }
|
1030
|
+
api.has_param :store_numbers, { list: 'int' }
|
1020
1031
|
end
|
1021
1032
|
edge.get 'Page'
|
1022
1033
|
edge.post 'Page' do |api|
|
@@ -1101,7 +1112,7 @@ module FacebookAds
|
|
1101
1112
|
|
1102
1113
|
has_edge :messenger_profile do |edge|
|
1103
1114
|
edge.delete do |api|
|
1104
|
-
api.has_param :fields, { list: { enum: %w{ACCOUNT_LINKING_URL GET_STARTED GREETING HOME_URL ICE_BREAKERS PAYMENT_SETTINGS PERSISTENT_MENU PLATFORM SUBJECT_TO_NEW_EU_PRIVACY_RULES TARGET_AUDIENCE WHITELISTED_DOMAINS }} }
|
1115
|
+
api.has_param :fields, { list: { enum: %w{ACCOUNT_LINKING_URL COMMANDS DESCRIPTION GET_STARTED GREETING HOME_URL ICE_BREAKERS PAYMENT_SETTINGS PERSISTENT_MENU PLATFORM SUBJECT_TO_NEW_EU_PRIVACY_RULES TARGET_AUDIENCE TITLE WHITELISTED_DOMAINS }} }
|
1105
1116
|
api.has_param :platform, { enum: -> { Page::PLATFORM }}
|
1106
1117
|
end
|
1107
1118
|
edge.get 'MessengerProfile' do |api|
|
@@ -1109,6 +1120,8 @@ module FacebookAds
|
|
1109
1120
|
end
|
1110
1121
|
edge.post 'Page' do |api|
|
1111
1122
|
api.has_param :account_linking_url, 'string'
|
1123
|
+
api.has_param :commands, { list: 'object' }
|
1124
|
+
api.has_param :description, { list: 'object' }
|
1112
1125
|
api.has_param :get_started, 'object'
|
1113
1126
|
api.has_param :greeting, { list: 'object' }
|
1114
1127
|
api.has_param :ice_breakers, { list: 'hash' }
|
@@ -1116,6 +1129,7 @@ module FacebookAds
|
|
1116
1129
|
api.has_param :persistent_menu, { list: 'object' }
|
1117
1130
|
api.has_param :platform, { enum: -> { Page::PLATFORM }}
|
1118
1131
|
api.has_param :target_audience, 'object'
|
1132
|
+
api.has_param :title, { list: 'object' }
|
1119
1133
|
api.has_param :whitelisted_domains, { list: 'string' }
|
1120
1134
|
end
|
1121
1135
|
end
|
@@ -1591,10 +1605,19 @@ module FacebookAds
|
|
1591
1605
|
end
|
1592
1606
|
|
1593
1607
|
has_edge :welcome_message_flows do |edge|
|
1594
|
-
edge.
|
1608
|
+
edge.delete do |api|
|
1609
|
+
api.has_param :flow_id, 'string'
|
1610
|
+
end
|
1611
|
+
edge.get 'CtxPartnerAppWelcomeMessageFlow' do |api|
|
1595
1612
|
api.has_param :app_id, 'string'
|
1596
1613
|
api.has_param :flow_id, 'string'
|
1597
1614
|
end
|
1615
|
+
edge.post do |api|
|
1616
|
+
api.has_param :eligible_platforms, { list: { enum: %w{INSTAGRAM MESSENGER }} }
|
1617
|
+
api.has_param :flow_id, 'string'
|
1618
|
+
api.has_param :name, 'string'
|
1619
|
+
api.has_param :welcome_message_flow, { list: 'object' }
|
1620
|
+
end
|
1598
1621
|
end
|
1599
1622
|
|
1600
1623
|
end
|
@@ -14,6 +14,20 @@ module FacebookAds
|
|
14
14
|
# pull request for this class.
|
15
15
|
|
16
16
|
class PagePostExperiment < AdObject
|
17
|
+
OPTIMIZATION_GOAL = [
|
18
|
+
"AUTO_RESOLVE_TO_CONTROL",
|
19
|
+
"AVG_TIME_WATCHED",
|
20
|
+
"COMMENTS",
|
21
|
+
"IMPRESSIONS",
|
22
|
+
"IMPRESSIONS_UNIQUE",
|
23
|
+
"LINK_CLICKS",
|
24
|
+
"OTHER",
|
25
|
+
"REACTIONS",
|
26
|
+
"REELS_PLAYS",
|
27
|
+
"SHARES",
|
28
|
+
"VIDEO_VIEWS_60S",
|
29
|
+
]
|
30
|
+
|
17
31
|
|
18
32
|
field :auto_resolve_settings, 'object'
|
19
33
|
field :control_video_id, 'string'
|
@@ -27,13 +41,11 @@ module FacebookAds
|
|
27
41
|
field :insight_snapshots, { list: 'map<datetime, list<map<int, Object>>>' }
|
28
42
|
field :name, 'string'
|
29
43
|
field :optimization_goal, 'string'
|
30
|
-
field :post_variant_fields, { list: 'string' }
|
31
44
|
field :publish_status, 'string'
|
32
45
|
field :publish_time, 'datetime'
|
33
46
|
field :scheduled_experiment_timestamp, 'datetime'
|
34
47
|
field :updated_time, 'datetime'
|
35
48
|
has_no_post
|
36
|
-
has_no_delete
|
37
49
|
|
38
50
|
has_edge :video_insights do |edge|
|
39
51
|
edge.get
|
@@ -44,6 +44,7 @@ module FacebookAds
|
|
44
44
|
"ATTRIBUTES_MISSING",
|
45
45
|
"CATEGORY",
|
46
46
|
"CHECKOUT",
|
47
|
+
"DA_VISIBILITY_ISSUES",
|
47
48
|
"IMAGE_QUALITY",
|
48
49
|
"LOW_QUALITY_TITLE_AND_DESCRIPTION",
|
49
50
|
"POLICY_VIOLATION",
|
@@ -67,6 +68,7 @@ module FacebookAds
|
|
67
68
|
"ATTRIBUTES_MISSING",
|
68
69
|
"CATEGORY",
|
69
70
|
"CHECKOUT",
|
71
|
+
"DA_VISIBILITY_ISSUES",
|
70
72
|
"IMAGE_QUALITY",
|
71
73
|
"LOW_QUALITY_TITLE_AND_DESCRIPTION",
|
72
74
|
"POLICY_VIOLATION",
|
@@ -309,6 +309,8 @@ module FacebookAds
|
|
309
309
|
"AVAILABLE",
|
310
310
|
"BAD_QUALITY_IMAGE",
|
311
311
|
"CANNOT_EDIT_SUBSCRIPTION_PRODUCTS",
|
312
|
+
"CHECKOUT_DISABLED_BY_USER",
|
313
|
+
"COMMERCE_ACCOUNT_NOT_LEGALLY_COMPLIANT",
|
312
314
|
"CRAWLED_AVAILABILITY_MISMATCH",
|
313
315
|
"DA_DISABLED_BY_USER",
|
314
316
|
"DA_POLICY_VIOLATION",
|
@@ -320,6 +322,7 @@ module FacebookAds
|
|
320
322
|
"EMPTY_DESCRIPTION",
|
321
323
|
"EMPTY_PRODUCT_URL",
|
322
324
|
"EMPTY_SELLER_DESCRIPTION",
|
325
|
+
"EXTERNAL_MERCHANT_ID_MISMATCH",
|
323
326
|
"GENERIC_INVALID_FIELD",
|
324
327
|
"HIDDEN_UNTIL_PRODUCT_LAUNCH",
|
325
328
|
"IMAGE_FETCH_FAILED",
|
@@ -346,6 +349,7 @@ module FacebookAds
|
|
346
349
|
"ITEM_OVERRIDE_EMPTY_PRICE",
|
347
350
|
"ITEM_OVERRIDE_NOT_VISIBLE",
|
348
351
|
"ITEM_STALE_OUT_OF_STOCK",
|
352
|
+
"MARKETPLACE_DISABLED_BY_USER",
|
349
353
|
"MINI_SHOPS_DISABLED_BY_USER",
|
350
354
|
"MISSING_CHECKOUT",
|
351
355
|
"MISSING_CHECKOUT_CURRENCY",
|
@@ -357,9 +361,11 @@ module FacebookAds
|
|
357
361
|
"MISSING_TAX_CATEGORY",
|
358
362
|
"NEGATIVE_COMMUNITY_FEEDBACK",
|
359
363
|
"NOT_ENOUGH_IMAGES",
|
364
|
+
"NOT_ENOUGH_UNIQUE_PRODUCTS",
|
360
365
|
"PART_OF_PRODUCT_LAUNCH",
|
361
366
|
"PRODUCT_EXPIRED",
|
362
367
|
"PRODUCT_ITEM_HIDDEN_FROM_ALL_SHOPS",
|
368
|
+
"PRODUCT_ITEM_INVALID_PARTNER_TOKENS",
|
363
369
|
"PRODUCT_ITEM_NOT_INCLUDED_IN_ANY_SHOP",
|
364
370
|
"PRODUCT_ITEM_NOT_VISIBLE",
|
365
371
|
"PRODUCT_NOT_APPROVED",
|
@@ -384,6 +390,7 @@ module FacebookAds
|
|
384
390
|
"QUALITY_ITEM_LINK_BROKEN",
|
385
391
|
"QUALITY_ITEM_LINK_REDIRECTING",
|
386
392
|
"RETAILER_ID_NOT_PROVIDED",
|
393
|
+
"SHOPIFY_INVALID_RETAILER_ID",
|
387
394
|
"SHOPIFY_ITEM_MISSING_SHIPPING_PROFILE",
|
388
395
|
"SHOPS_POLICY_VIOLATION",
|
389
396
|
"SUBSCRIPTION_INFO_NOT_ENABLED_FOR_FEED",
|
@@ -735,6 +742,7 @@ module FacebookAds
|
|
735
742
|
field :short_description, 'string'
|
736
743
|
field :size, 'string'
|
737
744
|
field :start_date, 'string'
|
745
|
+
field :tags, { list: 'string' }
|
738
746
|
field :url, 'string'
|
739
747
|
field :video_fetch_status, { enum: -> { VIDEO_FETCH_STATUS }}
|
740
748
|
field :visibility, { enum: -> { VISIBILITY }}
|
@@ -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
|
@@ -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 = [
|
@@ -41,6 +45,7 @@ module FacebookAds
|
|
41
45
|
field :country, 'string'
|
42
46
|
field :creation_time, 'int'
|
43
47
|
field :currency, 'string'
|
48
|
+
field :health_status, 'WhatsAppBusinessHealthStatusForMessageSend'
|
44
49
|
field :id, 'string'
|
45
50
|
field :is_enabled_for_insights, 'bool'
|
46
51
|
field :message_template_namespace, 'string'
|
@@ -87,22 +92,17 @@ module FacebookAds
|
|
87
92
|
end
|
88
93
|
end
|
89
94
|
|
90
|
-
has_edge :
|
95
|
+
has_edge :dcc_config do |edge|
|
91
96
|
edge.get
|
92
|
-
edge.post do |api|
|
93
|
-
api.has_param :clone_extension_id, 'string'
|
94
|
-
api.has_param :clone_template, 'string'
|
95
|
-
api.has_param :data_channel_uri, 'string'
|
96
|
-
api.has_param :name, 'string'
|
97
|
-
end
|
98
97
|
end
|
99
98
|
|
100
99
|
has_edge :flows do |edge|
|
101
100
|
edge.get
|
102
101
|
edge.post do |api|
|
102
|
+
api.has_param :categories, { list: { enum: %w{APPOINTMENT_BOOKING CONTACT_US CUSTOMER_SUPPORT LEAD_GENERATION OTHER SIGN_IN SIGN_UP SURVEY }} }
|
103
103
|
api.has_param :clone_flow_id, 'string'
|
104
104
|
api.has_param :clone_template, 'string'
|
105
|
-
api.has_param :
|
105
|
+
api.has_param :endpoint_uri, 'string'
|
106
106
|
api.has_param :name, 'string'
|
107
107
|
end
|
108
108
|
end
|
@@ -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 WhatsAppBusinessHealthStatus < AdObject
|
17
|
+
|
18
|
+
field :additional_info, { list: 'string' }
|
19
|
+
field :can_send_message, 'string'
|
20
|
+
field :entity_type, 'string'
|
21
|
+
field :errors, { list: 'object' }
|
22
|
+
field :id, 'string'
|
23
|
+
has_no_get
|
24
|
+
has_no_post
|
25
|
+
has_no_delete
|
26
|
+
|
27
|
+
end
|
28
|
+
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 WhatsAppBusinessHealthStatusForMessageSend < AdObject
|
17
|
+
|
18
|
+
field :can_send_message, 'string'
|
19
|
+
field :entities, { list: 'WhatsAppBusinessHealthStatus' }
|
20
|
+
has_no_id
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,30 @@
|
|
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 WhitehatFbdlRun < AdObject
|
17
|
+
|
18
|
+
field :creation_time, 'datetime'
|
19
|
+
field :id, 'string'
|
20
|
+
field :is_pinned, 'bool'
|
21
|
+
field :note, 'string'
|
22
|
+
field :result, { list: 'hash' }
|
23
|
+
field :run_code, 'string'
|
24
|
+
field :status, 'string'
|
25
|
+
field :user_type, 'string'
|
26
|
+
has_no_post
|
27
|
+
has_no_delete
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|