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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c83c6d60fa4cd7bb471edc806bdf737d897186e8c046d9798888b0ad6152fec2
|
4
|
+
data.tar.gz: b412a69cfca2338c8a4817fc38a1dda92e8ab92973bc44accd208fe5dffbbe52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d33f70ea4c404f641d66b8c1deb343be18a507f0efdfdfc5250e6843ac2f70f8ae6ad0506485bf2203beab3a1ae1a1a0659d06eba212e181f007e790aa22eb8e
|
7
|
+
data.tar.gz: b6553cdbef6553182a17355e436c39add6f07656bd2fba07a7ca62eb6d0564b6f1ecc2de23ad30f1ba1737d8514b4cc0dbeaa192d2bb66163da40152ddee4562
|
@@ -80,11 +80,6 @@ module FacebookAds
|
|
80
80
|
"validate_only",
|
81
81
|
]
|
82
82
|
|
83
|
-
META_REWARD_ADGROUP_STATUS = [
|
84
|
-
"ACTIVE",
|
85
|
-
"INACTIVE",
|
86
|
-
]
|
87
|
-
|
88
83
|
OPERATOR = [
|
89
84
|
"ALL",
|
90
85
|
"ANY",
|
@@ -123,7 +118,6 @@ module FacebookAds
|
|
123
118
|
field :id, 'string'
|
124
119
|
field :issues_info, { list: 'AdgroupIssuesInfo' }
|
125
120
|
field :last_updated_by_app_id, 'string'
|
126
|
-
field :meta_reward_adgroup_status, 'string'
|
127
121
|
field :name, 'string'
|
128
122
|
field :preview_shareable_link, 'string'
|
129
123
|
field :priority, 'int'
|
@@ -410,7 +410,6 @@ module FacebookAds
|
|
410
410
|
api.has_param :engagement_audience, 'bool'
|
411
411
|
api.has_param :execution_options, { list: { enum: -> { Ad::EXECUTION_OPTIONS }} }
|
412
412
|
api.has_param :include_demolink_hashes, 'bool'
|
413
|
-
api.has_param :meta_reward_adgroup_status, { enum: -> { Ad::META_REWARD_ADGROUP_STATUS }}
|
414
413
|
api.has_param :name, 'string'
|
415
414
|
api.has_param :priority, 'int'
|
416
415
|
api.has_param :source_ad_id, 'string'
|
@@ -420,18 +419,6 @@ module FacebookAds
|
|
420
419
|
end
|
421
420
|
end
|
422
421
|
|
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
422
|
has_edge :ads_reporting_mmm_reports do |edge|
|
436
423
|
edge.get do |api|
|
437
424
|
api.has_param :filtering, { list: 'hash' }
|
@@ -801,6 +788,7 @@ module FacebookAds
|
|
801
788
|
api.has_param :subtype, { enum: -> { CustomAudience::SUBTYPE }}
|
802
789
|
api.has_param :use_in_campaigns, 'bool'
|
803
790
|
api.has_param :video_group_ids, { list: 'string' }
|
791
|
+
api.has_param :whats_app_business_phone_number_id, 'string'
|
804
792
|
end
|
805
793
|
end
|
806
794
|
|
@@ -16,9 +16,14 @@ module FacebookAds
|
|
16
16
|
class AdAccountAdVolume < AdObject
|
17
17
|
RECOMMENDATION_TYPE = [
|
18
18
|
"AB_TEST",
|
19
|
+
"ACCOUNT_SPEND_LIMIT",
|
19
20
|
"ACO_TOGGLE",
|
20
21
|
"ADS_REPORTING",
|
21
22
|
"ADVANCED_CAMPAIGN_BUDGET",
|
23
|
+
"ADVANTAGE_CUSTOM_AUDIENCE",
|
24
|
+
"ADVANTAGE_CUSTOM_AUDIENCE_UPSELL",
|
25
|
+
"ADVANTAGE_PLUS_AUDIENCE_FRICTION",
|
26
|
+
"ADVANTAGE_PLUS_AUDIENCE_TOGGLE",
|
22
27
|
"ADVANTAGE_PLUS_CREATIVE",
|
23
28
|
"ADVANTAGE_PLUS_CREATIVE_CATALOG",
|
24
29
|
"ADVANTAGE_SHOPPING_CAMPAIGN",
|
@@ -28,10 +33,16 @@ module FacebookAds
|
|
28
33
|
"AGGREGATED_BID_LIMITED",
|
29
34
|
"AGGREGATED_BUDGET_LIMITED",
|
30
35
|
"AGGREGATED_COST_LIMITED",
|
36
|
+
"APP_AEM_V2_INSTALLATION_PROMOTION",
|
37
|
+
"ASC_BUDGET_OPTIMIZATION",
|
38
|
+
"ASC_BUDGET_OPTIMIZATION_PFR",
|
39
|
+
"ASPECT_RATIO",
|
40
|
+
"ATLEAST_6_PLACEMENTS",
|
31
41
|
"AUCTION_OVERLAP",
|
32
42
|
"AUCTION_OVERLAP_CONSOLIDATION",
|
33
43
|
"AUDIENCE_EXPANSION",
|
34
44
|
"AUDIENCE_EXPANSION_RETARGETING",
|
45
|
+
"AUDIENCE_LEARNING_LIMITED",
|
35
46
|
"AUTOFLOW_OPT_IN",
|
36
47
|
"AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW",
|
37
48
|
"AUTOMATIC_PLACEMENTS",
|
@@ -47,34 +58,45 @@ module FacebookAds
|
|
47
58
|
"COST_GOAL_CPA_LIMITED",
|
48
59
|
"COST_PER_RESULT",
|
49
60
|
"CREATION_PACKAGE_UPGRADE_TO_ASC",
|
61
|
+
"CREATION_PACKAGE_UPGRADE_TO_TLA",
|
50
62
|
"CREATIVE_BADGE",
|
63
|
+
"CREATIVE_DIVERSITY",
|
51
64
|
"CREATIVE_FATIGUE",
|
52
65
|
"CREATIVE_FATIGUE_HOURLY",
|
53
66
|
"CREATIVE_LIMITED",
|
54
67
|
"CREATIVE_LIMITED_HOURLY",
|
55
68
|
"CREATOR_ADS_PA_CONVERSION",
|
56
69
|
"CTA",
|
70
|
+
"DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS",
|
57
71
|
"DEAD_LINK",
|
58
72
|
"DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET",
|
59
73
|
"ECOSYSTEM_BID_REDUCE_L1_CARDINALITY",
|
60
74
|
"FRAGMENTATION",
|
61
75
|
"GES_TEST",
|
62
76
|
"GUIDANCE_CENTER_CODE_GEN",
|
77
|
+
"HIGH_COST",
|
78
|
+
"HISTORICAL_BENCHMARK",
|
63
79
|
"LEARNING_LIMITED",
|
80
|
+
"LEARNING_PAUSE_FRICTION",
|
81
|
+
"LEARNING_PHASE_BUDGET_EDITS",
|
64
82
|
"LOW_OUTCOME",
|
65
83
|
"MERLIN_GUIDANCE",
|
84
|
+
"MIXED_PA_COMBINE_ADSETS",
|
66
85
|
"MMT_CAROUSEL_TO_VIDEO",
|
67
86
|
"MOBILE_FIRST_VIDEO",
|
68
87
|
"MR_AEMV2SUB_KCONSOLIDATION",
|
69
88
|
"MULTI_TEXT",
|
70
89
|
"MUSIC",
|
71
|
-
"
|
90
|
+
"NOT_APPLICABLE",
|
91
|
+
"OPTIMAL_BAU",
|
72
92
|
"PAYMENT_METHOD",
|
73
93
|
"PERFORMANT_CREATIVE_REELS_OPT_IN",
|
74
94
|
"PFR_L1_INLINE_MMT",
|
75
95
|
"PREDICTIVE_CREATIVE_LIMITED",
|
76
96
|
"PREDICTIVE_CREATIVE_LIMITED_HOURLY",
|
77
97
|
"RAPID_LEARNING_LIMITED",
|
98
|
+
"RAPID_LEARNING_PHASE",
|
99
|
+
"REELS_DUPLICATION_UPSELL",
|
78
100
|
"REVERT",
|
79
101
|
"SCALE_GOOD_CAMPAIGN",
|
80
102
|
"SEMANTIC_BASED_AUDIENCE_EXPANSION",
|
@@ -87,10 +109,15 @@ module FacebookAds
|
|
87
109
|
"SYD_TEST_MODE",
|
88
110
|
"TOP_ADSETS_WITH_ADS_UNDER_CAP",
|
89
111
|
"TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP",
|
112
|
+
"TWO_P_GUIDANCE_CARD_AAA",
|
113
|
+
"TWO_P_GUIDANCE_CARD_AUTO_PLACEMENT",
|
114
|
+
"TWO_P_GUIDANCE_CARD_CBO_OFF",
|
115
|
+
"TWO_P_GUIDANCE_CARD_CTM_PREFLIGHT",
|
90
116
|
"UNCROP_IMAGE",
|
91
117
|
"UNECONOMICAL_ADS_THROTTLING",
|
92
118
|
"UNUSED_BUDGET",
|
93
119
|
"VIDEO_LENGTH",
|
120
|
+
"ZERO_CONVERSION",
|
94
121
|
"ZERO_IMPRESSION",
|
95
122
|
]
|
96
123
|
|
@@ -85,6 +85,7 @@ module FacebookAds
|
|
85
85
|
"update_campaign_budget",
|
86
86
|
"update_campaign_budget_optimization_toggling_status",
|
87
87
|
"update_campaign_budget_scheduling_state",
|
88
|
+
"update_campaign_conversion_goal",
|
88
89
|
"update_campaign_delivery_type",
|
89
90
|
"update_campaign_group_ad_scheduling",
|
90
91
|
"update_campaign_group_budget_scheduling_state",
|
@@ -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 AdAssetFeedAdditionalData < AdObject
|
17
|
+
|
18
|
+
field :automated_product_tags, 'bool'
|
19
|
+
field :brand_page_id, 'string'
|
20
|
+
field :is_click_to_message, 'bool'
|
21
|
+
field :multi_share_end_card, 'bool'
|
22
|
+
field :page_welcome_message, 'string'
|
23
|
+
has_no_id
|
24
|
+
has_no_get
|
25
|
+
has_no_post
|
26
|
+
has_no_delete
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
@@ -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",
|
@@ -53,7 +54,6 @@ module FacebookAds
|
|
53
54
|
"LISTEN_NOW",
|
54
55
|
"MESSAGE_PAGE",
|
55
56
|
"MOBILE_DOWNLOAD",
|
56
|
-
"MOMENTS",
|
57
57
|
"NO_BUTTON",
|
58
58
|
"OPEN_INSTANT_APP",
|
59
59
|
"OPEN_LINK",
|
@@ -94,22 +94,25 @@ module FacebookAds
|
|
94
94
|
|
95
95
|
|
96
96
|
field :ad_formats, { list: 'string' }
|
97
|
-
field :additional_data, '
|
97
|
+
field :additional_data, 'AdAssetFeedAdditionalData'
|
98
98
|
field :app_product_page_id, 'string'
|
99
99
|
field :asset_customization_rules, { list: 'AdAssetFeedSpecAssetCustomizationRule' }
|
100
100
|
field :autotranslate, { list: 'string' }
|
101
101
|
field :bodies, { list: 'AdAssetFeedSpecBody' }
|
102
102
|
field :call_to_action_types, { list: { enum: -> { CALL_TO_ACTION_TYPES }} }
|
103
|
-
field :call_to_actions, { list: '
|
103
|
+
field :call_to_actions, { list: 'AdAssetFeedSpecCallToAction' }
|
104
104
|
field :captions, { list: 'AdAssetFeedSpecCaption' }
|
105
|
-
field :carousels, { list: '
|
105
|
+
field :carousels, { list: 'AdAssetFeedSpecCarousel' }
|
106
106
|
field :descriptions, { list: 'AdAssetFeedSpecDescription' }
|
107
|
-
field :events, { list: '
|
107
|
+
field :events, { list: 'AdAssetFeedSpecEvents' }
|
108
108
|
field :groups, { list: 'AdAssetFeedSpecGroupRule' }
|
109
109
|
field :images, { list: 'AdAssetFeedSpecImage' }
|
110
110
|
field :link_urls, { list: 'AdAssetFeedSpecLinkUrl' }
|
111
111
|
field :message_extensions, { list: 'AdAssetMessageExtensions' }
|
112
|
+
field :onsite_destinations, { list: 'AdAssetOnsiteDestinations' }
|
112
113
|
field :optimization_type, 'string'
|
114
|
+
field :reasons_to_shop, 'bool'
|
115
|
+
field :shops_bundle, 'bool'
|
113
116
|
field :titles, { list: 'AdAssetFeedSpecTitle' }
|
114
117
|
field :videos, { list: 'AdAssetFeedSpecVideo' }
|
115
118
|
has_no_id
|
@@ -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 AdAssetFeedSpecCallToAction < AdObject
|
17
|
+
|
18
|
+
field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
|
19
|
+
field :type, 'string'
|
20
|
+
field :value, 'AdCreativeLinkDataCallToActionValue'
|
21
|
+
has_no_id
|
22
|
+
has_no_get
|
23
|
+
has_no_post
|
24
|
+
has_no_delete
|
25
|
+
|
26
|
+
end
|
27
|
+
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 AdAssetFeedSpecCarousel < AdObject
|
17
|
+
|
18
|
+
field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
|
19
|
+
field :child_attachments, { list: 'AdAssetFeedSpecCarouselChildAttachment' }
|
20
|
+
field :multi_share_end_card, 'bool'
|
21
|
+
field :multi_share_optimized, 'bool'
|
22
|
+
has_no_id
|
23
|
+
has_no_get
|
24
|
+
has_no_post
|
25
|
+
has_no_delete
|
26
|
+
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,34 @@
|
|
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 AdAssetFeedSpecCarouselChildAttachment < AdObject
|
17
|
+
|
18
|
+
field :body_label, 'AdAssetFeedSpecAssetLabel'
|
19
|
+
field :call_to_action_type_label, 'AdAssetFeedSpecAssetLabel'
|
20
|
+
field :caption_label, 'AdAssetFeedSpecAssetLabel'
|
21
|
+
field :description_label, 'AdAssetFeedSpecAssetLabel'
|
22
|
+
field :image_label, 'AdAssetFeedSpecAssetLabel'
|
23
|
+
field :link_url_label, 'AdAssetFeedSpecAssetLabel'
|
24
|
+
field :phone_data_ids_label, 'AdAssetFeedSpecAssetLabel'
|
25
|
+
field :static_card, 'bool'
|
26
|
+
field :title_label, 'AdAssetFeedSpecAssetLabel'
|
27
|
+
field :video_label, 'AdAssetFeedSpecAssetLabel'
|
28
|
+
has_no_id
|
29
|
+
has_no_get
|
30
|
+
has_no_post
|
31
|
+
has_no_delete
|
32
|
+
|
33
|
+
end
|
34
|
+
end
|
@@ -13,14 +13,9 @@ 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 AdAssetFeedSpecEvents < AdObject
|
17
17
|
|
18
18
|
field :id, 'string'
|
19
|
-
field :page_welcome_message_body, 'string'
|
20
|
-
field :page_welcome_message_type, 'string'
|
21
|
-
field :template_name, 'string'
|
22
|
-
field :time_created, 'datetime'
|
23
|
-
field :time_last_used, 'datetime'
|
24
19
|
has_no_get
|
25
20
|
has_no_post
|
26
21
|
has_no_delete
|
@@ -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 AdAssetOnsiteDestinations < AdObject
|
17
|
+
|
18
|
+
field :auto_optimization, 'string'
|
19
|
+
field :details_page_product_id, 'string'
|
20
|
+
field :shop_collection_product_set_id, 'string'
|
21
|
+
field :storefront_shop_id, 'string'
|
22
|
+
has_no_id
|
23
|
+
has_no_get
|
24
|
+
has_no_post
|
25
|
+
has_no_delete
|
26
|
+
|
27
|
+
end
|
28
|
+
end
|
@@ -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",
|
@@ -53,7 +54,6 @@ module FacebookAds
|
|
53
54
|
"LISTEN_NOW",
|
54
55
|
"MESSAGE_PAGE",
|
55
56
|
"MOBILE_DOWNLOAD",
|
56
|
-
"MOMENTS",
|
57
57
|
"NO_BUTTON",
|
58
58
|
"OPEN_INSTANT_APP",
|
59
59
|
"OPEN_LINK",
|
@@ -200,6 +200,7 @@ module FacebookAds
|
|
200
200
|
field :object_type, { enum: -> { OBJECT_TYPE }}
|
201
201
|
field :object_url, 'string'
|
202
202
|
field :omnichannel_link_spec, 'AdCreativeOmnichannelLinkSpec'
|
203
|
+
field :photo_album_source_object_story_id, 'string'
|
203
204
|
field :place_page_set_id, 'string'
|
204
205
|
field :platform_customizations, 'AdCreativePlatformCustomization'
|
205
206
|
field :playable_asset_id, 'string'
|
@@ -18,7 +18,8 @@ module FacebookAds
|
|
18
18
|
field :ad_format, 'int'
|
19
19
|
field :creator_ad_permission_type, 'string'
|
20
20
|
field :instagram_boost_post_access_token, 'string'
|
21
|
-
field :
|
21
|
+
field :is_mca_internal, 'bool'
|
22
|
+
field :partners, { list: 'AdCreativeBrandedContentAdsPartners' }
|
22
23
|
field :ui_version, 'int'
|
23
24
|
has_no_id
|
24
25
|
has_no_get
|
@@ -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 AdCreativeBrandedContentAdsPartners < AdObject
|
17
|
+
|
18
|
+
field :fb_page_id, 'string'
|
19
|
+
field :identity_type, 'string'
|
20
|
+
field :ig_asset_id, 'string'
|
21
|
+
field :ig_user_id, 'string'
|
22
|
+
has_no_id
|
23
|
+
has_no_get
|
24
|
+
has_no_post
|
25
|
+
has_no_delete
|
26
|
+
|
27
|
+
end
|
28
|
+
end
|
@@ -27,6 +27,7 @@ module FacebookAds
|
|
27
27
|
field :additional_image_index, 'int'
|
28
28
|
field :app_link_spec, 'AdCreativeLinkDataAppLinkSpec'
|
29
29
|
field :attachment_style, 'string'
|
30
|
+
field :automated_product_tags, 'bool'
|
30
31
|
field :branded_content_shared_to_sponsor_status, 'string'
|
31
32
|
field :branded_content_sponsor_page_id, 'string'
|
32
33
|
field :call_to_action, 'AdCreativeLinkDataCallToAction'
|
@@ -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",
|
@@ -53,7 +54,6 @@ module FacebookAds
|
|
53
54
|
"LISTEN_NOW",
|
54
55
|
"MESSAGE_PAGE",
|
55
56
|
"MOBILE_DOWNLOAD",
|
56
|
-
"MOMENTS",
|
57
57
|
"NO_BUTTON",
|
58
58
|
"OPEN_INSTANT_APP",
|
59
59
|
"OPEN_LINK",
|
@@ -19,6 +19,7 @@ module FacebookAds
|
|
19
19
|
"ADD_PAYMENT_INFO",
|
20
20
|
"ADD_TO_CART",
|
21
21
|
"ADD_TO_WISHLIST",
|
22
|
+
"AD_IMPRESSION",
|
22
23
|
"COMPLETE_REGISTRATION",
|
23
24
|
"CONTACT",
|
24
25
|
"CONTENT_VIEW",
|
@@ -69,7 +70,6 @@ module FacebookAds
|
|
69
70
|
field :product_item_id, 'string'
|
70
71
|
field :product_set_id, 'string'
|
71
72
|
field :retention_days, 'string'
|
72
|
-
field :whats_app_business_phone_number_id, 'object'
|
73
73
|
has_no_id
|
74
74
|
has_no_get
|
75
75
|
has_no_post
|
@@ -294,6 +294,15 @@ module FacebookAds
|
|
294
294
|
end
|
295
295
|
end
|
296
296
|
|
297
|
+
has_edge :budget_schedules do |edge|
|
298
|
+
edge.post 'HighDemandPeriod' do |api|
|
299
|
+
api.has_param :budget_value, 'int'
|
300
|
+
api.has_param :budget_value_type, { enum: -> { HighDemandPeriod::BUDGET_VALUE_TYPE }}
|
301
|
+
api.has_param :time_end, 'int'
|
302
|
+
api.has_param :time_start, 'int'
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
297
306
|
has_edge :copies do |edge|
|
298
307
|
edge.get 'AdSet' do |api|
|
299
308
|
api.has_param :date_preset, { enum: -> { AdSet::DATE_PRESET }}
|
@@ -70,6 +70,7 @@ module FacebookAds
|
|
70
70
|
"is_conversion_id_modeled",
|
71
71
|
"link_url_asset",
|
72
72
|
"marketing_messages_btn_name",
|
73
|
+
"mdsa_landing_destination",
|
73
74
|
"media_asset_url",
|
74
75
|
"media_creator",
|
75
76
|
"media_destination_url",
|
@@ -166,6 +167,7 @@ module FacebookAds
|
|
166
167
|
field :catalog_segment_value_omni_purchase_roas, { list: 'AdsActionStats' }
|
167
168
|
field :catalog_segment_value_website_purchase_roas, { list: 'AdsActionStats' }
|
168
169
|
field :clicks, 'string'
|
170
|
+
field :conversion_lead_rate, 'string'
|
169
171
|
field :conversion_rate_ranking, 'string'
|
170
172
|
field :conversion_values, { list: 'AdsActionStats' }
|
171
173
|
field :conversions, { list: 'AdsActionStats' }
|
@@ -176,6 +178,7 @@ module FacebookAds
|
|
176
178
|
field :cost_per_action_type, { list: 'AdsActionStats' }
|
177
179
|
field :cost_per_ad_click, { list: 'AdsActionStats' }
|
178
180
|
field :cost_per_conversion, { list: 'AdsActionStats' }
|
181
|
+
field :cost_per_conversion_lead, 'string'
|
179
182
|
field :cost_per_dda_countby_convs, 'string'
|
180
183
|
field :cost_per_estimated_ad_recallers, 'string'
|
181
184
|
field :cost_per_inline_link_click, 'string'
|
@@ -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'
|
@@ -102,6 +102,8 @@ module FacebookAds
|
|
102
102
|
field :auto_event_mapping_android, { list: 'object' }
|
103
103
|
field :auto_event_mapping_ios, { list: 'object' }
|
104
104
|
field :auto_event_setup_enabled, 'bool'
|
105
|
+
field :auto_log_app_events_default, 'bool'
|
106
|
+
field :auto_log_app_events_enabled, 'bool'
|
105
107
|
field :business, 'Business'
|
106
108
|
field :canvas_fluid_height, 'bool'
|
107
109
|
field :canvas_fluid_width, 'int'
|
@@ -396,12 +398,6 @@ module FacebookAds
|
|
396
398
|
end
|
397
399
|
end
|
398
400
|
|
399
|
-
has_edge :banned do |edge|
|
400
|
-
edge.get 'User' do |api|
|
401
|
-
api.has_param :uid, 'int'
|
402
|
-
end
|
403
|
-
end
|
404
|
-
|
405
401
|
has_edge :button_auto_detection_device_selection do |edge|
|
406
402
|
edge.get do |api|
|
407
403
|
api.has_param :device_id, 'string'
|
@@ -715,6 +715,7 @@ module FacebookAds
|
|
715
715
|
api.has_param :sales_rep_email, 'string'
|
716
716
|
api.has_param :seller_external_website_url, 'string'
|
717
717
|
api.has_param :seller_targeting_countries, { list: 'string' }
|
718
|
+
api.has_param :skip_partner_page_creation, 'bool'
|
718
719
|
api.has_param :survey_business_type, { enum: %w{ADVERTISER AGENCY APP_DEVELOPER PUBLISHER }}
|
719
720
|
api.has_param :survey_num_assets, 'int'
|
720
721
|
api.has_param :survey_num_people, 'int'
|
@@ -744,6 +745,8 @@ module FacebookAds
|
|
744
745
|
api.has_param :access_key, 'string'
|
745
746
|
api.has_param :active, 'bool'
|
746
747
|
api.has_param :endpoint, 'string'
|
748
|
+
api.has_param :fallback_domain, 'string'
|
749
|
+
api.has_param :fallback_domain_enabled, 'bool'
|
747
750
|
api.has_param :host_business_id, 'int'
|
748
751
|
api.has_param :host_external_id, 'string'
|
749
752
|
api.has_param :pixel_id, 'int'
|
@@ -800,6 +803,7 @@ module FacebookAds
|
|
800
803
|
edge.get 'Page'
|
801
804
|
edge.post 'Business' do |api|
|
802
805
|
api.has_param :code, 'string'
|
806
|
+
api.has_param :entry_point, 'string'
|
803
807
|
api.has_param :page_id, 'int'
|
804
808
|
end
|
805
809
|
end
|
@@ -463,6 +463,15 @@ module FacebookAds
|
|
463
463
|
end
|
464
464
|
end
|
465
465
|
|
466
|
+
has_edge :budget_schedules do |edge|
|
467
|
+
edge.post 'HighDemandPeriod' do |api|
|
468
|
+
api.has_param :budget_value, 'int'
|
469
|
+
api.has_param :budget_value_type, { enum: -> { HighDemandPeriod::BUDGET_VALUE_TYPE }}
|
470
|
+
api.has_param :time_end, 'int'
|
471
|
+
api.has_param :time_start, 'int'
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
466
475
|
has_edge :copies do |edge|
|
467
476
|
edge.get 'Campaign' do |api|
|
468
477
|
api.has_param :date_preset, { enum: -> { Campaign::DATE_PRESET }}
|
@@ -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 CtxPartnerAppWelcomeMessageFlow < AdObject
|
17
|
+
|
18
|
+
field :compatible_platforms, { list: 'string' }
|
19
|
+
field :eligible_platforms, { list: 'string' }
|
20
|
+
field :id, 'string'
|
21
|
+
field :is_used_in_ad, 'bool'
|
22
|
+
field :last_update_time, 'datetime'
|
23
|
+
field :name, 'string'
|
24
|
+
field :welcome_message_flow, 'string'
|
25
|
+
has_no_post
|
26
|
+
has_no_delete
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
@@ -134,6 +134,7 @@ module FacebookAds
|
|
134
134
|
field :product_set_id, 'string'
|
135
135
|
field :use_in_campaigns, 'bool'
|
136
136
|
field :video_group_ids, { list: 'string' }
|
137
|
+
field :whats_app_business_phone_number_id, 'string'
|
137
138
|
|
138
139
|
has_edge :adaccounts do |edge|
|
139
140
|
edge.delete do |api|
|