facebookbusiness 19.0.0 → 19.0.1
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 +1 -1
- data/lib/facebook_ads/ad_objects/ad_account.rb +10 -0
- data/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +6 -0
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/{page_about_story.rb → ad_asset_body.rb} +4 -7
- data/lib/facebook_ads/ad_objects/ad_asset_call_to_action_type.rb +25 -0
- data/lib/facebook_ads/ad_objects/ad_asset_description.rb +26 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_asset_image.rb +30 -0
- data/lib/facebook_ads/ad_objects/ad_asset_link_url.rb +32 -0
- data/lib/facebook_ads/ad_objects/ad_asset_title.rb +26 -0
- data/lib/facebook_ads/ad_objects/ad_asset_video.rb +34 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -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_promotion_metadata_spec.rb +30 -0
- data/lib/facebook_ads/ad_objects/ad_creative_site_links_spec.rb +26 -0
- data/lib/facebook_ads/ad_objects/ad_creative_sourcing_spec.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_preview.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_rule_history.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_set.rb +34 -20
- data/lib/facebook_ads/ad_objects/ad_video.rb +2 -1
- data/lib/facebook_ads/ad_objects/ads_insights.rb +6 -1
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +0 -4
- data/lib/facebook_ads/ad_objects/analytics_segment.rb +39 -0
- data/lib/facebook_ads/ad_objects/branded_content_shadow_ig_media_id.rb +27 -0
- data/lib/facebook_ads/ad_objects/branded_content_shadow_ig_user_id.rb +24 -0
- data/lib/facebook_ads/ad_objects/business.rb +7 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +2 -1
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +0 -7
- data/lib/facebook_ads/ad_objects/commerce_order.rb +1 -0
- data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +1 -0
- data/lib/facebook_ads/ad_objects/group.rb +3 -3
- data/lib/facebook_ads/ad_objects/ig_media.rb +8 -0
- data/lib/facebook_ads/ad_objects/ig_user.rb +28 -0
- data/lib/facebook_ads/ad_objects/insights_result.rb +1 -1
- data/lib/facebook_ads/ad_objects/instagram_insights_result.rb +0 -5
- data/lib/facebook_ads/ad_objects/instagram_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/page.rb +2 -2
- data/lib/facebook_ads/ad_objects/product_catalog.rb +8 -3
- data/lib/facebook_ads/ad_objects/product_feed.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_group.rb +0 -3
- data/lib/facebook_ads/ad_objects/product_item.rb +20 -3
- data/lib/facebook_ads/ad_objects/server_side/action_source.rb +3 -0
- data/lib/facebook_ads/ad_objects/server_side/event.rb +22 -2
- data/lib/facebook_ads/ad_objects/server_side/messaging_channel.rb +27 -0
- data/lib/facebook_ads/ad_objects/server_side/user_data.rb +41 -3
- data/lib/facebook_ads/ad_objects/shop.rb +1 -0
- data/lib/facebook_ads/ad_objects/targeting.rb +2 -0
- data/lib/facebook_ads/ad_objects/targeting_automation.rb +27 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +3 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_partner_client_verification_submission.rb +30 -0
- data/lib/facebook_ads/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae2b94512b194b67baf6a533a9eca42dd8980741aa60d7d2ed742e0b609e5e26
|
4
|
+
data.tar.gz: c0af925a51c8d5c19cb311648859d095f5d316b019875788a56f85a0d62e4246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbd426ecabf5236e89b805bc928909f1457b1b78255fcbe54dd5e2b82213c38c5f40e8e4e1d3c8d7f477bf56fee0b8c39a057b8793a4c13dbea5189da78f05fd
|
7
|
+
data.tar.gz: 251bfa797537c91d9451f28bb9103f9336283e148af1eccb63c0bcc480600a065211147d2aa4ef819efd24a57a5214ff1794e08a356415a6084dbcfe1eb5b25e
|
@@ -753,6 +753,12 @@ module FacebookAds
|
|
753
753
|
edge.get 'IgUser'
|
754
754
|
end
|
755
755
|
|
756
|
+
has_edge :connected_instagram_accounts_with_iabp do |edge|
|
757
|
+
edge.get 'InstagramUser' do |api|
|
758
|
+
api.has_param :business_id, 'string'
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
756
762
|
has_edge :conversion_goals do |edge|
|
757
763
|
edge.get
|
758
764
|
end
|
@@ -1174,6 +1180,10 @@ module FacebookAds
|
|
1174
1180
|
end
|
1175
1181
|
end
|
1176
1182
|
|
1183
|
+
has_edge :value_adjustment_rule_persona_groups do |edge|
|
1184
|
+
edge.get
|
1185
|
+
end
|
1186
|
+
|
1177
1187
|
has_edge :value_adjustment_rules do |edge|
|
1178
1188
|
edge.get
|
1179
1189
|
end
|
@@ -52,9 +52,11 @@ module FacebookAds
|
|
52
52
|
"AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW",
|
53
53
|
"AUTOMATIC_PLACEMENTS",
|
54
54
|
"AUTO_BID",
|
55
|
+
"BLENDED_ADS",
|
55
56
|
"BROAD_TARGETING",
|
56
57
|
"CAPI",
|
57
58
|
"CAPI_PERFORMANCE_MATCH_KEY",
|
59
|
+
"CAPI_PERFORMANCE_MATCH_KEY_V2",
|
58
60
|
"CASH_REWARDS_OPT_IN",
|
59
61
|
"CONNECT_FACEBOOK_PAGE_TO_INSTAGRAM",
|
60
62
|
"CONNECT_FACEBOOK_PAGE_TO_WHATSAPP",
|
@@ -72,10 +74,13 @@ module FacebookAds
|
|
72
74
|
"CREATIVE_LIMITED_HOURLY",
|
73
75
|
"CREATOR_ADS_PA_CONVERSION",
|
74
76
|
"CTA",
|
77
|
+
"CTX_BUDGET_OPTIMIZATION",
|
75
78
|
"DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS",
|
76
79
|
"DEAD_LINK",
|
77
80
|
"DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET",
|
78
81
|
"ECOSYSTEM_BID_REDUCE_L1_CARDINALITY",
|
82
|
+
"EVC_APP_DUPLICATION_UPGRADE",
|
83
|
+
"EVC_WEB_DUPLICATION_UPGRADE",
|
79
84
|
"FRAGMENTATION",
|
80
85
|
"GES_TEST",
|
81
86
|
"GUIDANCE_CENTER_CODE_GEN",
|
@@ -110,6 +115,7 @@ module FacebookAds
|
|
110
115
|
"SHOPS_ADS",
|
111
116
|
"SIGNALS_GROWTH_CAPI",
|
112
117
|
"SIGNALS_GROWTH_CAPI_TABLE",
|
118
|
+
"SIGNALS_GROWTH_CAPI_V2",
|
113
119
|
"SIX_PLUS_MANUAL_PLACEMENTS",
|
114
120
|
"SPEND_LIMIT",
|
115
121
|
"SYD_TEST_MODE",
|
@@ -13,15 +13,12 @@ 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 AdAssetBody < AdObject
|
17
17
|
|
18
|
-
field :composed_text, { list: 'PageAboutStoryComposedBlock' }
|
19
|
-
field :cover_photo, 'Photo'
|
20
|
-
field :entity_map, { list: 'object' }
|
21
18
|
field :id, 'string'
|
22
|
-
field :
|
23
|
-
field :
|
24
|
-
|
19
|
+
field :text, 'string'
|
20
|
+
field :url_tags, 'string'
|
21
|
+
has_no_get
|
25
22
|
has_no_post
|
26
23
|
has_no_delete
|
27
24
|
|
@@ -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 AdAssetCallToActionType < AdObject
|
17
|
+
|
18
|
+
field :id, 'string'
|
19
|
+
field :name, 'string'
|
20
|
+
has_no_get
|
21
|
+
has_no_post
|
22
|
+
has_no_delete
|
23
|
+
|
24
|
+
end
|
25
|
+
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 AdAssetDescription < AdObject
|
17
|
+
|
18
|
+
field :id, 'string'
|
19
|
+
field :text, 'string'
|
20
|
+
field :url_tags, 'string'
|
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 AdAssetImage < AdObject
|
17
|
+
|
18
|
+
field :hash, 'string'
|
19
|
+
field :id, 'string'
|
20
|
+
field :image_crops, 'AdsImageCrops'
|
21
|
+
field :name, 'string'
|
22
|
+
field :tag, 'string'
|
23
|
+
field :url, 'string'
|
24
|
+
field :url_tags, 'string'
|
25
|
+
has_no_get
|
26
|
+
has_no_post
|
27
|
+
has_no_delete
|
28
|
+
|
29
|
+
end
|
30
|
+
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 AdAssetLinkUrl < AdObject
|
17
|
+
|
18
|
+
field :android_deeplink_url, 'string'
|
19
|
+
field :carousel_see_more_url, 'string'
|
20
|
+
field :deeplink_url, 'string'
|
21
|
+
field :display_url, 'string'
|
22
|
+
field :id, 'string'
|
23
|
+
field :ipad_deeplink_url, 'string'
|
24
|
+
field :iphone_deeplink_url, 'string'
|
25
|
+
field :url_tags, 'string'
|
26
|
+
field :website_url, 'string'
|
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 AdAssetTitle < AdObject
|
17
|
+
|
18
|
+
field :id, 'string'
|
19
|
+
field :text, 'string'
|
20
|
+
field :url_tags, 'string'
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
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 AdAssetVideo < AdObject
|
17
|
+
|
18
|
+
field :caption_ids, { list: 'string' }
|
19
|
+
field :id, 'string'
|
20
|
+
field :source_image_url, 'string'
|
21
|
+
field :tag, 'string'
|
22
|
+
field :thumbnail_hash, 'string'
|
23
|
+
field :thumbnail_source, 'string'
|
24
|
+
field :thumbnail_url, 'string'
|
25
|
+
field :url, 'string'
|
26
|
+
field :url_tags, 'string'
|
27
|
+
field :video_id, 'string'
|
28
|
+
field :video_name, 'string'
|
29
|
+
has_no_get
|
30
|
+
has_no_post
|
31
|
+
has_no_delete
|
32
|
+
|
33
|
+
end
|
34
|
+
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 AdCreativePromotionMetadataSpec < AdObject
|
17
|
+
|
18
|
+
field :end_date, 'datetime'
|
19
|
+
field :id, 'string'
|
20
|
+
field :promotion_source, 'string'
|
21
|
+
field :promotion_type, 'string'
|
22
|
+
field :promotion_value, 'double'
|
23
|
+
field :required_code, 'string'
|
24
|
+
field :start_date, 'datetime'
|
25
|
+
has_no_get
|
26
|
+
has_no_post
|
27
|
+
has_no_delete
|
28
|
+
|
29
|
+
end
|
30
|
+
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 AdCreativeSiteLinksSpec < AdObject
|
17
|
+
|
18
|
+
field :site_link_title, 'string'
|
19
|
+
field :site_link_url, 'string'
|
20
|
+
has_no_id
|
21
|
+
has_no_get
|
22
|
+
has_no_post
|
23
|
+
has_no_delete
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -16,6 +16,8 @@ module FacebookAds
|
|
16
16
|
class AdCreativeSourcingSpec < AdObject
|
17
17
|
|
18
18
|
field :associated_product_set_id, 'string'
|
19
|
+
field :promotion_metadata_spec, { list: 'AdCreativePromotionMetadataSpec' }
|
20
|
+
field :site_links_spec, { list: 'AdCreativeSiteLinksSpec' }
|
19
21
|
has_no_id
|
20
22
|
has_no_get
|
21
23
|
has_no_post
|
@@ -35,6 +35,7 @@ module FacebookAds
|
|
35
35
|
"INSTAGRAM_EXPLORE_IMMERSIVE",
|
36
36
|
"INSTAGRAM_FEED_WEB",
|
37
37
|
"INSTAGRAM_FEED_WEB_M_SITE",
|
38
|
+
"INSTAGRAM_LEAD_GEN_MULTI_SUBMIT_ADS",
|
38
39
|
"INSTAGRAM_PROFILE_FEED",
|
39
40
|
"INSTAGRAM_PROFILE_REELS",
|
40
41
|
"INSTAGRAM_REELS",
|
@@ -49,9 +50,11 @@ module FacebookAds
|
|
49
50
|
"INSTANT_ARTICLE_RECIRCULATION_AD",
|
50
51
|
"INSTANT_ARTICLE_STANDARD",
|
51
52
|
"INSTREAM_BANNER_DESKTOP",
|
53
|
+
"INSTREAM_BANNER_IMMERSIVE_MOBILE",
|
52
54
|
"INSTREAM_BANNER_MOBILE",
|
53
55
|
"INSTREAM_VIDEO_DESKTOP",
|
54
56
|
"INSTREAM_VIDEO_IMAGE",
|
57
|
+
"INSTREAM_VIDEO_IMMERSIVE_MOBILE",
|
55
58
|
"INSTREAM_VIDEO_MOBILE",
|
56
59
|
"JOB_BROWSER_DESKTOP",
|
57
60
|
"JOB_BROWSER_MOBILE",
|
@@ -67,6 +70,7 @@ module FacebookAds
|
|
67
70
|
"MOBILE_NATIVE",
|
68
71
|
"RIGHT_COLUMN_STANDARD",
|
69
72
|
"SUGGESTED_VIDEO_DESKTOP",
|
73
|
+
"SUGGESTED_VIDEO_IMMERSIVE_MOBILE",
|
70
74
|
"SUGGESTED_VIDEO_MOBILE",
|
71
75
|
"WATCH_FEED_HOME",
|
72
76
|
"WATCH_FEED_MOBILE",
|
@@ -18,6 +18,7 @@ module FacebookAds
|
|
18
18
|
"COST_CAP",
|
19
19
|
"LOWEST_COST_WITHOUT_CAP",
|
20
20
|
"LOWEST_COST_WITH_BID_CAP",
|
21
|
+
"LOWEST_COST_WITH_MIN_ROAS",
|
21
22
|
]
|
22
23
|
|
23
24
|
BILLING_EVENT = [
|
@@ -64,6 +65,7 @@ module FacebookAds
|
|
64
65
|
"LANDING_PAGE_VIEWS",
|
65
66
|
"LEAD_GENERATION",
|
66
67
|
"LINK_CLICKS",
|
68
|
+
"MEANINGFUL_CALL_ATTEMPT",
|
67
69
|
"MESSAGING_APPOINTMENT_CONVERSION",
|
68
70
|
"MESSAGING_PURCHASE_CONVERSION",
|
69
71
|
"NONE",
|
@@ -88,35 +90,47 @@ module FacebookAds
|
|
88
90
|
]
|
89
91
|
|
90
92
|
DATE_PRESET = [
|
91
|
-
"
|
92
|
-
"
|
93
|
-
"
|
94
|
-
"
|
95
|
-
"
|
96
|
-
"
|
97
|
-
"
|
98
|
-
"
|
99
|
-
"
|
100
|
-
"
|
101
|
-
"
|
102
|
-
"
|
103
|
-
"
|
104
|
-
"
|
105
|
-
"
|
106
|
-
"
|
107
|
-
"
|
108
|
-
"
|
109
|
-
"
|
110
|
-
"
|
93
|
+
"DATA_MAXIMUM",
|
94
|
+
"LAST_14D",
|
95
|
+
"LAST_28D",
|
96
|
+
"LAST_30D",
|
97
|
+
"LAST_3D",
|
98
|
+
"LAST_7D",
|
99
|
+
"LAST_90D",
|
100
|
+
"LAST_MONTH",
|
101
|
+
"LAST_QUARTER",
|
102
|
+
"LAST_WEEK_MON_SUN",
|
103
|
+
"LAST_WEEK_SUN_SAT",
|
104
|
+
"LAST_YEAR",
|
105
|
+
"LIFETIME",
|
106
|
+
"THIS_MONTH",
|
107
|
+
"THIS_QUARTER",
|
108
|
+
"THIS_WEEK_MON_TODAY",
|
109
|
+
"THIS_WEEK_SUN_TODAY",
|
110
|
+
"THIS_YEAR",
|
111
|
+
"TODAY",
|
112
|
+
"YESTERDAY",
|
111
113
|
]
|
112
114
|
|
113
115
|
DESTINATION_TYPE = [
|
114
116
|
"APP",
|
115
117
|
"APPLINKS_AUTOMATIC",
|
116
118
|
"FACEBOOK",
|
119
|
+
"INSTAGRAM_DIRECT",
|
120
|
+
"MESSAGING_INSTAGRAM_DIRECT_MESSENGER",
|
121
|
+
"MESSAGING_INSTAGRAM_DIRECT_MESSENGER_WHATSAPP",
|
122
|
+
"MESSAGING_INSTAGRAM_DIRECT_WHATSAPP",
|
123
|
+
"MESSAGING_MESSENGER_WHATSAPP",
|
117
124
|
"MESSENGER",
|
125
|
+
"ON_AD",
|
126
|
+
"ON_EVENT",
|
127
|
+
"ON_PAGE",
|
128
|
+
"ON_POST",
|
129
|
+
"ON_VIDEO",
|
130
|
+
"SHOP_AUTOMATIC",
|
118
131
|
"UNDEFINED",
|
119
132
|
"WEBSITE",
|
133
|
+
"WHATSAPP",
|
120
134
|
]
|
121
135
|
|
122
136
|
EXECUTION_OPTIONS = [
|
@@ -28,7 +28,6 @@ module FacebookAds
|
|
28
28
|
"APP_REREVIEW_SCREENCAST",
|
29
29
|
"APP_REVIEW_SCREENCAST",
|
30
30
|
"ASSET_MANAGER",
|
31
|
-
"ATLAS_VIDEO",
|
32
31
|
"AUDIO_BRIEF",
|
33
32
|
"AUDIO_BROADCAST",
|
34
33
|
"AUDIO_COMMENT",
|
@@ -44,6 +43,7 @@ module FacebookAds
|
|
44
43
|
"COPYRIGHT_REFERENCE_IG_XPOST_VIDEO",
|
45
44
|
"COPYRIGHT_REFERENCE_VIDEO",
|
46
45
|
"CREATION_ML_PRECREATION",
|
46
|
+
"DATAGENIX_VIDEO",
|
47
47
|
"DCO_AD_ASSET_FEED",
|
48
48
|
"DCO_AUTOGEN_VIDEO",
|
49
49
|
"DCO_TRIMMED_VIDEO",
|
@@ -64,6 +64,7 @@ module FacebookAds
|
|
64
64
|
"FB_SHORTS_CONTENT_REMIXABLE",
|
65
65
|
"FB_SHORTS_CROSS_META_POST",
|
66
66
|
"FB_SHORTS_GROUP_POST",
|
67
|
+
"FB_SHORTS_LINKED_PRODUCT",
|
67
68
|
"FB_SHORTS_PMV_POST",
|
68
69
|
"FB_SHORTS_PMV_POST_NO_NEWSFEED_NOR_TIMELINE",
|
69
70
|
"FB_SHORTS_POST",
|
@@ -39,6 +39,8 @@ module FacebookAds
|
|
39
39
|
"action_type",
|
40
40
|
"action_video_sound",
|
41
41
|
"action_video_type",
|
42
|
+
"conversion_destination",
|
43
|
+
"signal_source_bucket",
|
42
44
|
"standard_event_content_type",
|
43
45
|
]
|
44
46
|
|
@@ -55,6 +57,7 @@ module FacebookAds
|
|
55
57
|
"body_asset",
|
56
58
|
"call_to_action_asset",
|
57
59
|
"coarse_conversion_value",
|
60
|
+
"conversion_destination",
|
58
61
|
"country",
|
59
62
|
"description_asset",
|
60
63
|
"device_platform",
|
@@ -107,7 +110,7 @@ module FacebookAds
|
|
107
110
|
"last_week_mon_sun",
|
108
111
|
"last_week_sun_sat",
|
109
112
|
"last_year",
|
110
|
-
"
|
113
|
+
"lifetime",
|
111
114
|
"this_month",
|
112
115
|
"this_quarter",
|
113
116
|
"this_week_mon_today",
|
@@ -135,6 +138,8 @@ module FacebookAds
|
|
135
138
|
"action_type",
|
136
139
|
"action_video_sound",
|
137
140
|
"action_video_type",
|
141
|
+
"conversion_destination",
|
142
|
+
"signal_source_bucket",
|
138
143
|
"standard_event_content_type",
|
139
144
|
]
|
140
145
|
|
@@ -137,10 +137,6 @@ module FacebookAds
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
-
has_edge :meapitocapiconsolidationhelper do |edge|
|
141
|
-
edge.post
|
142
|
-
end
|
143
|
-
|
144
140
|
has_edge :offline_event_uploads do |edge|
|
145
141
|
edge.get 'OfflineConversionDataSetUpload' do |api|
|
146
142
|
api.has_param :end_time, 'datetime'
|
@@ -0,0 +1,39 @@
|
|
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 AnalyticsSegment < AdObject
|
17
|
+
|
18
|
+
field :custom_audience_ineligiblity_reasons, { list: 'string' }
|
19
|
+
field :description, 'string'
|
20
|
+
field :estimated_custom_audience_size, 'int'
|
21
|
+
field :event_info_rules, { list: 'object' }
|
22
|
+
field :event_rules, { list: 'object' }
|
23
|
+
field :filter_set, 'string'
|
24
|
+
field :has_demographic_rules, 'bool'
|
25
|
+
field :id, 'string'
|
26
|
+
field :is_all_user, 'bool'
|
27
|
+
field :is_eligible_for_push_campaign, 'bool'
|
28
|
+
field :is_internal, 'bool'
|
29
|
+
field :name, 'string'
|
30
|
+
field :percentile_rules, { list: 'object' }
|
31
|
+
field :time_last_seen, 'int'
|
32
|
+
field :time_last_updated, 'int'
|
33
|
+
field :user_property_rules, { list: 'object' }
|
34
|
+
field :web_param_rules, { list: 'object' }
|
35
|
+
has_no_post
|
36
|
+
has_no_delete
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
@@ -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 BrandedContentShadowIgMediaId < AdObject
|
17
|
+
|
18
|
+
field :eligibility_errors, { list: 'string' }
|
19
|
+
field :id, 'string'
|
20
|
+
field :owner_id, 'string'
|
21
|
+
field :permalink, 'string'
|
22
|
+
has_no_get
|
23
|
+
has_no_post
|
24
|
+
has_no_delete
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|