facebookbusiness 0.15.0.0 → 0.15.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 +5 -0
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_account_default_objective.rb +16 -10
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +6 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +2 -1
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb +44 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_set.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_study_cell.rb +1 -0
- data/lib/facebook_ads/ad_objects/application.rb +11 -57
- data/lib/facebook_ads/ad_objects/automotive_model.rb +6 -0
- data/lib/facebook_ads/ad_objects/business.rb +11 -8
- data/lib/facebook_ads/ad_objects/business_asset_group.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_asset_sharing_agreement.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_user.rb +3 -1
- data/lib/facebook_ads/ad_objects/campaign.rb +6 -1
- data/lib/facebook_ads/ad_objects/catalog_segment_all_match_count_laser.rb +42 -0
- data/lib/facebook_ads/ad_objects/collaborative_ads_share_settings.rb +1 -0
- data/lib/facebook_ads/ad_objects/{whats_app_business_pre_verified_phone_number.rb → commerce_merchant_tos_acceptance.rb} +2 -3
- data/lib/facebook_ads/ad_objects/cpas_business_setup_config.rb +1 -0
- data/lib/facebook_ads/ad_objects/destination.rb +6 -0
- data/lib/facebook_ads/ad_objects/extended_credit_invoice_group.rb +1 -0
- data/lib/facebook_ads/ad_objects/flight.rb +6 -0
- data/lib/facebook_ads/ad_objects/group.rb +0 -2
- data/lib/facebook_ads/ad_objects/home_listing.rb +6 -0
- data/lib/facebook_ads/ad_objects/hotel.rb +6 -0
- data/lib/facebook_ads/ad_objects/hotel_room.rb +1 -0
- data/lib/facebook_ads/ad_objects/ig_media.rb +1 -0
- data/lib/facebook_ads/ad_objects/ig_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/image_copyright.rb +1 -0
- data/lib/facebook_ads/ad_objects/insights_result.rb +1 -0
- data/lib/facebook_ads/ad_objects/instagram_insights_result.rb +24 -0
- data/lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb +1 -0
- data/lib/facebook_ads/ad_objects/jobs_job.rb +6 -0
- data/lib/facebook_ads/ad_objects/leadgen_form.rb +1 -0
- data/lib/facebook_ads/ad_objects/local_service_business.rb +6 -0
- data/lib/facebook_ads/ad_objects/media_title.rb +6 -0
- data/lib/facebook_ads/ad_objects/page.rb +5 -16
- data/lib/facebook_ads/ad_objects/page_upcoming_change.rb +1 -0
- data/lib/facebook_ads/ad_objects/private_lift_study_instance.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_catalog.rb +9 -3
- data/lib/facebook_ads/ad_objects/product_item_ar_data.rb +1 -0
- data/lib/facebook_ads/ad_objects/{copyright_audio_asset.rb → shop_order.rb} +1 -4
- data/lib/facebook_ads/ad_objects/store_catalog_settings.rb +1 -0
- data/lib/facebook_ads/ad_objects/system_user.rb +3 -1
- data/lib/facebook_ads/ad_objects/targeting.rb +1 -0
- data/lib/facebook_ads/ad_objects/targeting_relaxation.rb +1 -0
- data/lib/facebook_ads/ad_objects/unified_thread.rb +1 -1
- data/lib/facebook_ads/ad_objects/user.rb +9 -2
- data/lib/facebook_ads/ad_objects/vehicle.rb +6 -0
- data/lib/facebook_ads/ad_objects/vehicle_offer.rb +6 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +14 -1
- data/lib/facebook_ads/version.rb +1 -1
- metadata +7 -6
- data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +0 -185
@@ -35,6 +35,11 @@ module FacebookAds
|
|
35
35
|
"PARTIAL_FETCH",
|
36
36
|
]
|
37
37
|
|
38
|
+
VISIBILITY = [
|
39
|
+
"PUBLISHED",
|
40
|
+
"STAGING",
|
41
|
+
]
|
42
|
+
|
38
43
|
|
39
44
|
field :ac_type, 'string'
|
40
45
|
field :additional_fees_description, 'string'
|
@@ -80,6 +85,7 @@ module FacebookAds
|
|
80
85
|
field :sanitized_images, { list: 'string' }
|
81
86
|
field :unit_price, 'object'
|
82
87
|
field :url, 'string'
|
88
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
83
89
|
field :year_built, 'int'
|
84
90
|
|
85
91
|
has_edge :augmented_realities_metadata do |edge|
|
@@ -35,6 +35,11 @@ module FacebookAds
|
|
35
35
|
"PARTIAL_FETCH",
|
36
36
|
]
|
37
37
|
|
38
|
+
VISIBILITY = [
|
39
|
+
"PUBLISHED",
|
40
|
+
"STAGING",
|
41
|
+
]
|
42
|
+
|
38
43
|
|
39
44
|
field :address, 'string'
|
40
45
|
field :applinks, 'CatalogItemAppLinks'
|
@@ -58,6 +63,7 @@ module FacebookAds
|
|
58
63
|
field :star_rating, 'double'
|
59
64
|
field :unit_price, 'object'
|
60
65
|
field :url, 'string'
|
66
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
61
67
|
field :base_price, 'int'
|
62
68
|
|
63
69
|
has_edge :augmented_realities_metadata do |edge|
|
@@ -58,6 +58,7 @@ module FacebookAds
|
|
58
58
|
|
59
59
|
has_edge :insights do |edge|
|
60
60
|
edge.get 'InstagramInsightsResult' do |api|
|
61
|
+
api.has_param :breakdown, { list: { enum: -> { InstagramInsightsResult::BREAKDOWN }} }
|
61
62
|
api.has_param :metric, { list: { enum: -> { InstagramInsightsResult::METRIC }} }
|
62
63
|
api.has_param :period, { list: { enum: -> { InstagramInsightsResult::PERIOD }} }
|
63
64
|
end
|
@@ -65,9 +65,12 @@ module FacebookAds
|
|
65
65
|
|
66
66
|
has_edge :insights do |edge|
|
67
67
|
edge.get 'InstagramInsightsResult' do |api|
|
68
|
+
api.has_param :breakdown, { list: { enum: -> { InstagramInsightsResult::BREAKDOWN }} }
|
68
69
|
api.has_param :metric, { list: { enum: -> { InstagramInsightsResult::METRIC }} }
|
70
|
+
api.has_param :metric_type, { enum: -> { InstagramInsightsResult::METRIC_TYPE }}
|
69
71
|
api.has_param :period, { list: { enum: -> { InstagramInsightsResult::PERIOD }} }
|
70
72
|
api.has_param :since, 'datetime'
|
73
|
+
api.has_param :timeframe, { enum: -> { InstagramInsightsResult::TIMEFRAME }}
|
71
74
|
api.has_param :until, 'datetime'
|
72
75
|
end
|
73
76
|
end
|
@@ -87,6 +90,7 @@ module FacebookAds
|
|
87
90
|
edge.post 'IgMedia' do |api|
|
88
91
|
api.has_param :caption, 'string'
|
89
92
|
api.has_param :children, { list: 'string' }
|
93
|
+
api.has_param :cover_url, 'string'
|
90
94
|
api.has_param :image_url, 'string'
|
91
95
|
api.has_param :is_carousel_item, 'bool'
|
92
96
|
api.has_param :location_id, 'string'
|
@@ -26,6 +26,13 @@ module FacebookAds
|
|
26
26
|
# pull request for this class.
|
27
27
|
|
28
28
|
class InstagramInsightsResult < AdObject
|
29
|
+
BREAKDOWN = [
|
30
|
+
"action_type",
|
31
|
+
"follow_type",
|
32
|
+
"story_navigation_action_type",
|
33
|
+
"surface_type",
|
34
|
+
]
|
35
|
+
|
29
36
|
METRIC = [
|
30
37
|
"carousel_album_engagement",
|
31
38
|
"carousel_album_impressions",
|
@@ -57,15 +64,32 @@ module FacebookAds
|
|
57
64
|
"days_28",
|
58
65
|
"lifetime",
|
59
66
|
"month",
|
67
|
+
"total_over_range",
|
60
68
|
"week",
|
61
69
|
]
|
62
70
|
|
71
|
+
METRIC_TYPE = [
|
72
|
+
"default",
|
73
|
+
"time_series",
|
74
|
+
"total_value",
|
75
|
+
]
|
76
|
+
|
77
|
+
TIMEFRAME = [
|
78
|
+
"last_14_days",
|
79
|
+
"last_30_days",
|
80
|
+
"last_90_days",
|
81
|
+
"prev_month",
|
82
|
+
"this_month",
|
83
|
+
"this_week",
|
84
|
+
]
|
85
|
+
|
63
86
|
|
64
87
|
field :description, 'string'
|
65
88
|
field :id, 'string'
|
66
89
|
field :name, 'string'
|
67
90
|
field :period, 'string'
|
68
91
|
field :title, 'string'
|
92
|
+
field :total_value, 'object'
|
69
93
|
field :values, { list: 'InstagramInsightsValue' }
|
70
94
|
has_no_get
|
71
95
|
has_no_post
|
@@ -35,6 +35,11 @@ module FacebookAds
|
|
35
35
|
"PARTIAL_FETCH",
|
36
36
|
]
|
37
37
|
|
38
|
+
VISIBILITY = [
|
39
|
+
"PUBLISHED",
|
40
|
+
"STAGING",
|
41
|
+
]
|
42
|
+
|
38
43
|
|
39
44
|
field :address, 'object'
|
40
45
|
field :applinks, 'CatalogItemAppLinks'
|
@@ -60,6 +65,7 @@ module FacebookAds
|
|
60
65
|
field :sanitized_images, { list: 'string' }
|
61
66
|
field :unit_price, 'object'
|
62
67
|
field :url, 'string'
|
68
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
63
69
|
has_no_post
|
64
70
|
has_no_delete
|
65
71
|
|
@@ -55,6 +55,11 @@ module FacebookAds
|
|
55
55
|
"PARTIAL_FETCH",
|
56
56
|
]
|
57
57
|
|
58
|
+
VISIBILITY = [
|
59
|
+
"PUBLISHED",
|
60
|
+
"STAGING",
|
61
|
+
]
|
62
|
+
|
58
63
|
|
59
64
|
field :address, 'object'
|
60
65
|
field :applinks, 'CatalogItemAppLinks'
|
@@ -92,6 +97,7 @@ module FacebookAds
|
|
92
97
|
field :unit_price, 'object'
|
93
98
|
field :url, 'string'
|
94
99
|
field :vendor_id, 'string'
|
100
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
95
101
|
has_no_post
|
96
102
|
has_no_delete
|
97
103
|
|
@@ -35,6 +35,11 @@ module FacebookAds
|
|
35
35
|
"PARTIAL_FETCH",
|
36
36
|
]
|
37
37
|
|
38
|
+
VISIBILITY = [
|
39
|
+
"PUBLISHED",
|
40
|
+
"STAGING",
|
41
|
+
]
|
42
|
+
|
38
43
|
CONTENT_CATEGORY = [
|
39
44
|
"MOVIE",
|
40
45
|
"MUSIC",
|
@@ -61,6 +66,7 @@ module FacebookAds
|
|
61
66
|
field :title_display_name, 'string'
|
62
67
|
field :unit_price, 'object'
|
63
68
|
field :url, 'string'
|
69
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
64
70
|
field :wiki_data_item, 'string'
|
65
71
|
|
66
72
|
has_edge :augmented_realities_metadata do |edge|
|
@@ -124,6 +124,7 @@ module FacebookAds
|
|
124
124
|
"PROFILE_PLUS_FACEBOOK_ACCESS",
|
125
125
|
"PROFILE_PLUS_FULL_CONTROL",
|
126
126
|
"PROFILE_PLUS_MANAGE",
|
127
|
+
"PROFILE_PLUS_MANAGE_LEADS",
|
127
128
|
"PROFILE_PLUS_MESSAGING",
|
128
129
|
"PROFILE_PLUS_MODERATE",
|
129
130
|
"PROFILE_PLUS_MODERATE_DELEGATE_COMMUNITY",
|
@@ -151,6 +152,7 @@ module FacebookAds
|
|
151
152
|
"PROFILE_PLUS_FACEBOOK_ACCESS",
|
152
153
|
"PROFILE_PLUS_FULL_CONTROL",
|
153
154
|
"PROFILE_PLUS_MANAGE",
|
155
|
+
"PROFILE_PLUS_MANAGE_LEADS",
|
154
156
|
"PROFILE_PLUS_MESSAGING",
|
155
157
|
"PROFILE_PLUS_MODERATE",
|
156
158
|
"PROFILE_PLUS_MODERATE_DELEGATE_COMMUNITY",
|
@@ -276,7 +278,6 @@ module FacebookAds
|
|
276
278
|
PLATFORM = [
|
277
279
|
"INSTAGRAM",
|
278
280
|
"MESSENGER",
|
279
|
-
"WHATSAPP",
|
280
281
|
]
|
281
282
|
|
282
283
|
MODEL = [
|
@@ -333,6 +334,7 @@ module FacebookAds
|
|
333
334
|
"hours",
|
334
335
|
"inbox_labels",
|
335
336
|
"invoice_access_invoice_change",
|
337
|
+
"invoice_access_invoice_draft_change",
|
336
338
|
"invoice_access_onboarding_status_active",
|
337
339
|
"leadgen",
|
338
340
|
"leadgen_fat",
|
@@ -726,10 +728,6 @@ module FacebookAds
|
|
726
728
|
end
|
727
729
|
end
|
728
730
|
|
729
|
-
has_edge :copyright_whitelisted_partners do |edge|
|
730
|
-
edge.get 'Profile'
|
731
|
-
end
|
732
|
-
|
733
731
|
has_edge :crosspost_whitelisted_pages do |edge|
|
734
732
|
edge.get 'Page'
|
735
733
|
end
|
@@ -931,6 +929,7 @@ module FacebookAds
|
|
931
929
|
|
932
930
|
has_edge :insights do |edge|
|
933
931
|
edge.get 'InsightsResult' do |api|
|
932
|
+
api.has_param :breakdown, { list: 'object' }
|
934
933
|
api.has_param :date_preset, { enum: -> { InsightsResult::DATE_PRESET }}
|
935
934
|
api.has_param :metric, { list: 'object' }
|
936
935
|
api.has_param :period, { enum: -> { InsightsResult::PERIOD }}
|
@@ -986,17 +985,6 @@ module FacebookAds
|
|
986
985
|
edge.get
|
987
986
|
end
|
988
987
|
|
989
|
-
has_edge :invoice_access_invoice_edit do |edge|
|
990
|
-
edge.post do |api|
|
991
|
-
api.has_param :additional_amounts, { list: 'hash' }
|
992
|
-
api.has_param :invoice_id, 'string'
|
993
|
-
api.has_param :notes, 'string'
|
994
|
-
api.has_param :paid_amount, 'hash'
|
995
|
-
api.has_param :product_items, { list: 'hash' }
|
996
|
-
api.has_param :shipping_address, 'hash'
|
997
|
-
end
|
998
|
-
end
|
999
|
-
|
1000
988
|
has_edge :leadgen_forms do |edge|
|
1001
989
|
edge.get 'LeadgenForm'
|
1002
990
|
edge.post 'LeadgenForm' do |api|
|
@@ -1103,6 +1091,7 @@ module FacebookAds
|
|
1103
1091
|
has_edge :message_attachments do |edge|
|
1104
1092
|
edge.post do |api|
|
1105
1093
|
api.has_param :message, 'object'
|
1094
|
+
api.has_param :platform, { enum: %w{INSTAGRAM MESSENGER }}
|
1106
1095
|
end
|
1107
1096
|
end
|
1108
1097
|
|
@@ -40,8 +40,10 @@ module FacebookAds
|
|
40
40
|
field :created_time, 'datetime'
|
41
41
|
field :feature_list, { list: 'string' }
|
42
42
|
field :id, 'string'
|
43
|
+
field :issuer_certificate, 'string'
|
43
44
|
field :latest_status_update_time, 'datetime'
|
44
45
|
field :run_id, 'string'
|
46
|
+
field :server_hostnames, { list: 'string' }
|
45
47
|
field :server_ips, { list: 'string' }
|
46
48
|
field :status, 'string'
|
47
49
|
field :tier, 'string'
|
@@ -95,6 +95,8 @@ module FacebookAds
|
|
95
95
|
]
|
96
96
|
|
97
97
|
|
98
|
+
field :ad_account_to_collaborative_ads_share_settings, 'CollaborativeAdsShareSettings'
|
99
|
+
field :agency_collaborative_ads_share_settings, 'CollaborativeAdsShareSettings'
|
98
100
|
field :business, 'Business'
|
99
101
|
field :catalog_store, 'StoreCatalogSettings'
|
100
102
|
field :commerce_merchant_settings, 'CommerceMerchantSettings'
|
@@ -164,9 +166,9 @@ module FacebookAds
|
|
164
166
|
end
|
165
167
|
end
|
166
168
|
|
167
|
-
has_edge :
|
168
|
-
edge.post do |api|
|
169
|
-
api.has_param :
|
169
|
+
has_edge :catalog_store do |edge|
|
170
|
+
edge.post 'StoreCatalogSettings' do |api|
|
171
|
+
api.has_param :page, 'int'
|
170
172
|
end
|
171
173
|
end
|
172
174
|
|
@@ -188,6 +190,10 @@ module FacebookAds
|
|
188
190
|
end
|
189
191
|
end
|
190
192
|
|
193
|
+
has_edge :collaborative_ads_event_stats do |edge|
|
194
|
+
edge.get 'CatalogSegmentAllMatchCountLaser'
|
195
|
+
end
|
196
|
+
|
191
197
|
has_edge :collaborative_ads_lsb_image_bank do |edge|
|
192
198
|
edge.get
|
193
199
|
end
|
@@ -25,13 +25,10 @@ module FacebookAds
|
|
25
25
|
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
26
26
|
# pull request for this class.
|
27
27
|
|
28
|
-
class
|
28
|
+
class ShopOrder < AdObject
|
29
29
|
|
30
|
-
field :copyright, 'AudioCopyright'
|
31
30
|
field :creation_time, 'datetime'
|
32
31
|
field :id, 'string'
|
33
|
-
field :title, 'string'
|
34
|
-
field :update_time, 'datetime'
|
35
32
|
has_no_post
|
36
33
|
has_no_delete
|
37
34
|
|
@@ -118,6 +118,7 @@ module FacebookAds
|
|
118
118
|
field :relationship_statuses, { list: 'int' }
|
119
119
|
field :site_category, { list: 'string' }
|
120
120
|
field :targeting_optimization, 'string'
|
121
|
+
field :targeting_relaxation_types, 'TargetingRelaxation'
|
121
122
|
field :user_adclusters, { list: 'IdName' }
|
122
123
|
field :user_device, { list: 'string' }
|
123
124
|
field :user_event, { list: 'int' }
|
@@ -61,6 +61,7 @@ module FacebookAds
|
|
61
61
|
field :gender, 'string'
|
62
62
|
field :hometown, 'Page'
|
63
63
|
field :id, 'string'
|
64
|
+
field :id_for_avatars, 'string'
|
64
65
|
field :inspirational_people, { list: 'Experience' }
|
65
66
|
field :install_type, 'string'
|
66
67
|
field :installed, 'bool'
|
@@ -179,7 +180,9 @@ module FacebookAds
|
|
179
180
|
end
|
180
181
|
|
181
182
|
has_edge :assigned_pages do |edge|
|
182
|
-
edge.get 'Page'
|
183
|
+
edge.get 'Page' do |api|
|
184
|
+
api.has_param :pages, { list: 'int' }
|
185
|
+
end
|
183
186
|
end
|
184
187
|
|
185
188
|
has_edge :assigned_product_catalogs do |edge|
|
@@ -459,6 +462,10 @@ module FacebookAds
|
|
459
462
|
end
|
460
463
|
end
|
461
464
|
|
465
|
+
has_edge :messenger_desktop_performance_traces do |edge|
|
466
|
+
edge.post 'User'
|
467
|
+
end
|
468
|
+
|
462
469
|
has_edge :music do |edge|
|
463
470
|
edge.get 'Page' do |api|
|
464
471
|
api.has_param :target_id, 'string'
|
@@ -475,7 +482,7 @@ module FacebookAds
|
|
475
482
|
api.has_param :payload, 'string'
|
476
483
|
api.has_param :read, 'bool'
|
477
484
|
api.has_param :ref, 'string'
|
478
|
-
api.has_param :
|
485
|
+
api.has_param :schedule_interval, 'int'
|
479
486
|
api.has_param :seen, 'bool'
|
480
487
|
api.has_param :template, 'object'
|
481
488
|
api.has_param :type, { enum: -> { User::TYPE }}
|
@@ -35,6 +35,11 @@ module FacebookAds
|
|
35
35
|
"PARTIAL_FETCH",
|
36
36
|
]
|
37
37
|
|
38
|
+
VISIBILITY = [
|
39
|
+
"PUBLISHED",
|
40
|
+
"STAGING",
|
41
|
+
]
|
42
|
+
|
38
43
|
AVAILABILITY = [
|
39
44
|
"AVAILABLE",
|
40
45
|
"NOT_AVAILABLE",
|
@@ -171,6 +176,7 @@ module FacebookAds
|
|
171
176
|
field :vehicle_specifications, { list: 'object' }
|
172
177
|
field :vehicle_type, 'string'
|
173
178
|
field :vin, 'string'
|
179
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
174
180
|
field :year, 'int'
|
175
181
|
has_no_delete
|
176
182
|
|
@@ -35,6 +35,11 @@ module FacebookAds
|
|
35
35
|
"PARTIAL_FETCH",
|
36
36
|
]
|
37
37
|
|
38
|
+
VISIBILITY = [
|
39
|
+
"PUBLISHED",
|
40
|
+
"STAGING",
|
41
|
+
]
|
42
|
+
|
38
43
|
|
39
44
|
field :amount_currency, 'string'
|
40
45
|
field :amount_percentage, 'double'
|
@@ -71,6 +76,7 @@ module FacebookAds
|
|
71
76
|
field :unit_price, 'object'
|
72
77
|
field :url, 'string'
|
73
78
|
field :vehicle_offer_id, 'string'
|
79
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
74
80
|
field :year, 'int'
|
75
81
|
has_no_post
|
76
82
|
has_no_delete
|
@@ -32,6 +32,7 @@ module FacebookAds
|
|
32
32
|
"MANAGE",
|
33
33
|
"MANAGE_PHONE",
|
34
34
|
"MANAGE_TEMPLATES",
|
35
|
+
"MANAGE_TEMPLATES_AND_PHONE",
|
35
36
|
"MESSAGING",
|
36
37
|
"VIEW_COST",
|
37
38
|
]
|
@@ -45,6 +46,8 @@ module FacebookAds
|
|
45
46
|
|
46
47
|
field :account_review_status, 'string'
|
47
48
|
field :analytics, 'object'
|
49
|
+
field :business_verification_status, 'string'
|
50
|
+
field :country, 'string'
|
48
51
|
field :creation_time, 'int'
|
49
52
|
field :currency, 'string'
|
50
53
|
field :id, 'string'
|
@@ -53,6 +56,7 @@ module FacebookAds
|
|
53
56
|
field :on_behalf_of_business_info, 'object'
|
54
57
|
field :owner_business, 'Business'
|
55
58
|
field :owner_business_info, 'object'
|
59
|
+
field :ownership_type, 'string'
|
56
60
|
field :primary_funding_id, 'string'
|
57
61
|
field :purchase_order_number, 'string'
|
58
62
|
field :status, 'string'
|
@@ -79,10 +83,11 @@ module FacebookAds
|
|
79
83
|
|
80
84
|
has_edge :conversation_analytics do |edge|
|
81
85
|
edge.get do |api|
|
86
|
+
api.has_param :conversation_categories, { list: { enum: %w{AUTHENTICATION MARKETING SERVICE UNKNOWN UTILITY }} }
|
82
87
|
api.has_param :conversation_directions, { list: { enum: %w{BUSINESS_INITIATED UNKNOWN USER_INITIATED }} }
|
83
88
|
api.has_param :conversation_types, { list: { enum: %w{FREE_ENTRY_POINT FREE_TIER REGULAR UNKNOWN }} }
|
84
89
|
api.has_param :country_codes, { list: 'string' }
|
85
|
-
api.has_param :dimensions, { list: { enum: %w{CONVERSATION_DIRECTION CONVERSATION_TYPE COUNTRY PHONE UNKNOWN }} }
|
90
|
+
api.has_param :dimensions, { list: { enum: %w{CONVERSATION_CATEGORY CONVERSATION_DIRECTION CONVERSATION_TYPE COUNTRY PHONE UNKNOWN }} }
|
86
91
|
api.has_param :end, 'int'
|
87
92
|
api.has_param :granularity, { enum: %w{DAILY HALF_HOUR MONTHLY }}
|
88
93
|
api.has_param :metric_types, { list: { enum: %w{CONVERSATION COST UNKNOWN }} }
|
@@ -91,6 +96,10 @@ module FacebookAds
|
|
91
96
|
end
|
92
97
|
end
|
93
98
|
|
99
|
+
has_edge :extensions do |edge|
|
100
|
+
edge.get
|
101
|
+
end
|
102
|
+
|
94
103
|
has_edge :message_templates do |edge|
|
95
104
|
edge.delete do |api|
|
96
105
|
api.has_param :name, 'string'
|
@@ -131,6 +140,10 @@ module FacebookAds
|
|
131
140
|
end
|
132
141
|
end
|
133
142
|
|
143
|
+
has_edge :schedules do |edge|
|
144
|
+
edge.get
|
145
|
+
end
|
146
|
+
|
134
147
|
has_edge :subscribed_apps do |edge|
|
135
148
|
edge.delete
|
136
149
|
edge.get
|
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: 0.15.0.
|
4
|
+
version: 0.15.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -293,7 +293,6 @@ files:
|
|
293
293
|
- lib/facebook_ads/ad_objects/ad_async_request_set.rb
|
294
294
|
- lib/facebook_ads/ad_objects/ad_async_request_set_notification_result.rb
|
295
295
|
- lib/facebook_ads/ad_objects/ad_bid_adjustments.rb
|
296
|
-
- lib/facebook_ads/ad_objects/ad_campaign_activity.rb
|
297
296
|
- lib/facebook_ads/ad_objects/ad_campaign_bid_constraint.rb
|
298
297
|
- lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb
|
299
298
|
- lib/facebook_ads/ad_objects/ad_campaign_delivery_stats_unsupported_reasons.rb
|
@@ -305,6 +304,7 @@ files:
|
|
305
304
|
- lib/facebook_ads/ad_objects/ad_creative.rb
|
306
305
|
- lib/facebook_ads/ad_objects/ad_creative_ad_disclaimer.rb
|
307
306
|
- lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb
|
307
|
+
- lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb
|
308
308
|
- lib/facebook_ads/ad_objects/ad_creative_insights.rb
|
309
309
|
- lib/facebook_ads/ad_objects/ad_creative_interactive_components_spec.rb
|
310
310
|
- lib/facebook_ads/ad_objects/ad_creative_link_data.rb
|
@@ -416,6 +416,7 @@ files:
|
|
416
416
|
- lib/facebook_ads/ad_objects/catalog_item_app_links.rb
|
417
417
|
- lib/facebook_ads/ad_objects/catalog_item_appeal_status.rb
|
418
418
|
- lib/facebook_ads/ad_objects/catalog_item_channels_to_integrity_status.rb
|
419
|
+
- lib/facebook_ads/ad_objects/catalog_segment_all_match_count_laser.rb
|
419
420
|
- lib/facebook_ads/ad_objects/catalog_sub_vertical_list.rb
|
420
421
|
- lib/facebook_ads/ad_objects/chat_plugin.rb
|
421
422
|
- lib/facebook_ads/ad_objects/check_batch_request_status.rb
|
@@ -426,6 +427,7 @@ files:
|
|
426
427
|
- lib/facebook_ads/ad_objects/comment.rb
|
427
428
|
- lib/facebook_ads/ad_objects/commerce_merchant_settings.rb
|
428
429
|
- lib/facebook_ads/ad_objects/commerce_merchant_settings_setup_status.rb
|
430
|
+
- lib/facebook_ads/ad_objects/commerce_merchant_tos_acceptance.rb
|
429
431
|
- lib/facebook_ads/ad_objects/commerce_order.rb
|
430
432
|
- lib/facebook_ads/ad_objects/commerce_order_transaction_detail.rb
|
431
433
|
- lib/facebook_ads/ad_objects/commerce_payout.rb
|
@@ -433,7 +435,6 @@ files:
|
|
433
435
|
- lib/facebook_ads/ad_objects/connections_targeting.rb
|
434
436
|
- lib/facebook_ads/ad_objects/contextual_bundling_spec.rb
|
435
437
|
- lib/facebook_ads/ad_objects/conversion_action_query.rb
|
436
|
-
- lib/facebook_ads/ad_objects/copyright_audio_asset.rb
|
437
438
|
- lib/facebook_ads/ad_objects/copyright_reference_container.rb
|
438
439
|
- lib/facebook_ads/ad_objects/cover_photo.rb
|
439
440
|
- lib/facebook_ads/ad_objects/cpas_advertiser_partnership_recommendation.rb
|
@@ -638,6 +639,7 @@ files:
|
|
638
639
|
- lib/facebook_ads/ad_objects/server_side/util.rb
|
639
640
|
- lib/facebook_ads/ad_objects/shadow_ig_media_product_tags.rb
|
640
641
|
- lib/facebook_ads/ad_objects/shop.rb
|
642
|
+
- lib/facebook_ads/ad_objects/shop_order.rb
|
641
643
|
- lib/facebook_ads/ad_objects/split_test_winner.rb
|
642
644
|
- lib/facebook_ads/ad_objects/store_catalog_settings.rb
|
643
645
|
- lib/facebook_ads/ad_objects/system_user.rb
|
@@ -689,7 +691,6 @@ files:
|
|
689
691
|
- lib/facebook_ads/ad_objects/voip_info.rb
|
690
692
|
- lib/facebook_ads/ad_objects/web_app_link.rb
|
691
693
|
- lib/facebook_ads/ad_objects/whats_app_business_account.rb
|
692
|
-
- lib/facebook_ads/ad_objects/whats_app_business_pre_verified_phone_number.rb
|
693
694
|
- lib/facebook_ads/ad_objects/whats_app_business_profile.rb
|
694
695
|
- lib/facebook_ads/ad_objects/windows_app_link.rb
|
695
696
|
- lib/facebook_ads/ad_objects/windows_phone_app_link.rb
|
@@ -753,7 +754,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
753
754
|
- !ruby/object:Gem::Version
|
754
755
|
version: '0'
|
755
756
|
requirements: []
|
756
|
-
rubygems_version: 3.
|
757
|
+
rubygems_version: 3.3.5
|
757
758
|
signing_key:
|
758
759
|
specification_version: 4
|
759
760
|
summary: Facebook Business API SDK for Ruby (Official)
|