facebookbusiness 0.8.0.0 → 0.8.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 +9 -0
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +23 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative_instagram_branded_content.rb +36 -0
- data/lib/facebook_ads/ad_objects/ad_creative_interactive_components_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_network_analytics_sync_query_result.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_study.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_video.rb +7 -0
- data/lib/facebook_ads/ad_objects/adoptable_pet.rb +1 -0
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +3 -0
- data/lib/facebook_ads/ad_objects/application.rb +22 -0
- data/lib/facebook_ads/ad_objects/atlas_campaign.rb +1 -1
- data/lib/facebook_ads/ad_objects/automotive_model.rb +1 -0
- data/lib/facebook_ads/ad_objects/business.rb +49 -0
- data/lib/facebook_ads/ad_objects/business_asset_group.rb +2 -0
- data/lib/facebook_ads/ad_objects/business_role_request.rb +4 -0
- data/lib/facebook_ads/ad_objects/business_unit.rb +1 -1
- data/lib/facebook_ads/ad_objects/business_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/catalog_sub_vertical_list.rb +88 -0
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +19 -0
- data/lib/facebook_ads/ad_objects/commerce_order.rb +6 -0
- data/lib/facebook_ads/ad_objects/{work_meeting_link.rb → connections_targeting.rb} +3 -2
- data/lib/facebook_ads/ad_objects/cpas_advertiser_partnership_recommendation.rb +43 -0
- data/lib/facebook_ads/ad_objects/cpas_collaboration_request.rb +50 -0
- data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +1 -0
- data/lib/facebook_ads/ad_objects/da_check.rb +7 -0
- data/lib/facebook_ads/ad_objects/destination.rb +1 -0
- data/lib/facebook_ads/ad_objects/event.rb +1 -0
- data/lib/facebook_ads/ad_objects/extended_credit.rb +7 -0
- data/lib/facebook_ads/ad_objects/flight.rb +1 -0
- data/lib/facebook_ads/ad_objects/group.rb +5 -0
- data/lib/facebook_ads/ad_objects/home_listing.rb +1 -0
- data/lib/facebook_ads/ad_objects/hotel.rb +1 -0
- data/lib/facebook_ads/ad_objects/live_video.rb +12 -12
- data/lib/facebook_ads/ad_objects/page.rb +21 -1
- data/lib/facebook_ads/ad_objects/page_post.rb +2 -0
- data/lib/facebook_ads/ad_objects/photo.rb +6 -0
- data/lib/facebook_ads/ad_objects/post.rb +3 -1
- data/lib/facebook_ads/ad_objects/product_catalog.rb +38 -0
- data/lib/facebook_ads/ad_objects/product_feed.rb +30 -0
- data/lib/facebook_ads/ad_objects/product_group.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_set.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_set_metadata.rb +1 -0
- data/lib/facebook_ads/ad_objects/publisher_block_list.rb +6 -0
- data/lib/facebook_ads/ad_objects/security_settings.rb +0 -1
- data/lib/facebook_ads/ad_objects/server_side/event_request.rb +11 -11
- data/lib/facebook_ads/ad_objects/server_side/event_request_async.rb +31 -0
- data/lib/facebook_ads/ad_objects/server_side/user_data.rb +20 -1
- data/lib/facebook_ads/ad_objects/system_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/targeting.rb +3 -3
- data/lib/facebook_ads/ad_objects/unified_thread.rb +1 -0
- data/lib/facebook_ads/ad_objects/user.rb +6 -11
- data/lib/facebook_ads/ad_objects/vehicle.rb +1 -0
- data/lib/facebook_ads/ad_objects/vehicle_offer.rb +1 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +22 -0
- data/lib/facebook_ads/errors.rb +1 -1
- data/lib/facebook_ads/version.rb +1 -1
- metadata +26 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ec2c3003233735a142a752de0bb91e4119fa931d94c5c10c5a769a9c97110d6
|
4
|
+
data.tar.gz: 7e7094b3c29f41afbab98f3d5d7faf0bec900cae1642d1e39ee17cf19ba8e7d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd97d6ee27e4dea44ab8db1c47a5949b9429e0d67ad51517a20729851050f03ee66f1b35ef80fc1729991dd2cb0cb347aaae28f764be36c0893e014918939db0
|
7
|
+
data.tar.gz: fb4e4a25f44130e2e61b5203ab248da4412c846e59912e736024eff096d8c57bae553423c5e2bccf15a0688d9a3503db1dedd0b2d43ad9ab08e9beb53ca8e4d9
|
@@ -391,6 +391,7 @@ module FacebookAds
|
|
391
391
|
has_edge :ads_volume do |edge|
|
392
392
|
edge.get 'AdAccountAdVolume' do |api|
|
393
393
|
api.has_param :page_id, 'int'
|
394
|
+
api.has_param :recommendation_type, { enum: -> { AdAccountAdVolume::RECOMMENDATION_TYPE }}
|
394
395
|
api.has_param :show_breakdown_by_actor, 'bool'
|
395
396
|
end
|
396
397
|
end
|
@@ -705,6 +706,14 @@ module FacebookAds
|
|
705
706
|
end
|
706
707
|
end
|
707
708
|
|
709
|
+
has_edge :create_and_apply_publisher_block_list do |edge|
|
710
|
+
edge.post do |api|
|
711
|
+
api.has_param :is_auto_blocking_on, 'bool'
|
712
|
+
api.has_param :name, 'string'
|
713
|
+
api.has_param :publisher_urls, { list: 'string' }
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
708
717
|
has_edge :customaudiences do |edge|
|
709
718
|
edge.get 'CustomAudience' do |api|
|
710
719
|
api.has_param :business_id, 'string'
|
@@ -26,10 +26,33 @@ module FacebookAds
|
|
26
26
|
# pull request for this class.
|
27
27
|
|
28
28
|
class AdAccountAdVolume < AdObject
|
29
|
+
RECOMMENDATION_TYPE = [
|
30
|
+
"AGGREGATED_BID_LIMITED",
|
31
|
+
"AGGREGATED_BUDGET_LIMITED",
|
32
|
+
"AGGREGATED_COST_LIMITED",
|
33
|
+
"AUCTION_OVERLAP",
|
34
|
+
"CREATIVE_FATIGUE",
|
35
|
+
"FRAGMENTATION",
|
36
|
+
"LEARNING_LIMITED",
|
37
|
+
"TOP_ADSETS_WITH_ADS_UNDER_CAP",
|
38
|
+
"TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP",
|
39
|
+
"UNECONOMICAL_ADS_THROTTLING",
|
40
|
+
"ZERO_IMPRESSION",
|
41
|
+
]
|
42
|
+
|
29
43
|
|
30
44
|
field :actor_id, 'string'
|
45
|
+
field :actor_name, 'string'
|
46
|
+
field :ad_limit_scope_business, 'Business'
|
47
|
+
field :ad_limit_scope_business_manager_id, 'string'
|
48
|
+
field :ad_limit_set_by_page_admin, 'int'
|
31
49
|
field :ads_running_or_in_review_count, 'int'
|
50
|
+
field :ads_running_or_in_review_count_subject_to_limit_set_by_page, 'int'
|
32
51
|
field :current_account_ads_running_or_in_review_count, 'int'
|
52
|
+
field :future_limit_activation_date, 'string'
|
53
|
+
field :future_limit_on_ads_running_or_in_review, 'int'
|
54
|
+
field :limit_on_ads_running_or_in_review, 'int'
|
55
|
+
field :recommendations, { list: 'object' }
|
33
56
|
has_no_id
|
34
57
|
has_no_get
|
35
58
|
has_no_post
|
@@ -103,6 +103,7 @@ module FacebookAds
|
|
103
103
|
field :images, { list: 'AdAssetFeedSpecImage' }
|
104
104
|
field :link_urls, { list: 'AdAssetFeedSpecLinkUrl' }
|
105
105
|
field :optimization_type, 'string'
|
106
|
+
field :posts, { list: 'object' }
|
106
107
|
field :titles, { list: 'AdAssetFeedSpecTitle' }
|
107
108
|
field :videos, { list: 'AdAssetFeedSpecVideo' }
|
108
109
|
has_no_id
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
|
2
|
+
#
|
3
|
+
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
4
|
+
# copy, modify, and distribute this software in source code or binary form for use
|
5
|
+
# in connection with the web services and APIs provided by Facebook.
|
6
|
+
#
|
7
|
+
# As with any software that integrates with the Facebook platform, your use of
|
8
|
+
# this software is subject to the Facebook Platform Policy
|
9
|
+
# [http://developers.facebook.com/policy/]. This copyright notice shall be
|
10
|
+
# included in all copies or substantial portions of the software.
|
11
|
+
#
|
12
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
14
|
+
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
15
|
+
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
16
|
+
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
17
|
+
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
18
|
+
|
19
|
+
# FB:AUTOGEN
|
20
|
+
|
21
|
+
module FacebookAds
|
22
|
+
# This class is auto-generated.
|
23
|
+
|
24
|
+
# For any issues or feature requests related to this class, please let us know
|
25
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
26
|
+
# pull request for this class.
|
27
|
+
|
28
|
+
class AdCreativeInstagramBrandedContent < AdObject
|
29
|
+
|
30
|
+
has_no_id
|
31
|
+
has_no_get
|
32
|
+
has_no_post
|
33
|
+
has_no_delete
|
34
|
+
|
35
|
+
end
|
36
|
+
end
|
@@ -135,6 +135,7 @@ module FacebookAds
|
|
135
135
|
"VIDEO_COMMENT",
|
136
136
|
"VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO",
|
137
137
|
"VIDEO_SUPERRES",
|
138
|
+
"VU_GENERATED_VIDEO",
|
138
139
|
"WOODHENGE",
|
139
140
|
"WORK_KNOWLEDGE_VIDEO",
|
140
141
|
"YOUR_DAY",
|
@@ -380,6 +381,12 @@ module FacebookAds
|
|
380
381
|
end
|
381
382
|
end
|
382
383
|
|
384
|
+
has_edge :reactions do |edge|
|
385
|
+
edge.get 'Profile' do |api|
|
386
|
+
api.has_param :type, { enum: -> { Profile::TYPE }}
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
383
390
|
has_edge :sharedposts do |edge|
|
384
391
|
edge.get 'Post'
|
385
392
|
end
|
@@ -35,6 +35,7 @@ module FacebookAds
|
|
35
35
|
field :applinks, 'CatalogItemAppLinks'
|
36
36
|
field :availability, 'string'
|
37
37
|
field :breed, 'string'
|
38
|
+
field :category_specific_fields, 'CatalogSubVerticalList'
|
38
39
|
field :currency, 'string'
|
39
40
|
field :description, 'string'
|
40
41
|
field :gender, 'string'
|
@@ -32,7 +32,9 @@ module FacebookAds
|
|
32
32
|
]
|
33
33
|
|
34
34
|
AUTOMATIC_MATCHING_FIELDS = [
|
35
|
+
"country",
|
35
36
|
"ct",
|
37
|
+
"db",
|
36
38
|
"em",
|
37
39
|
"fn",
|
38
40
|
"ge",
|
@@ -90,6 +92,7 @@ module FacebookAds
|
|
90
92
|
has_edge :da_checks do |edge|
|
91
93
|
edge.get 'DaCheck' do |api|
|
92
94
|
api.has_param :checks, { list: 'string' }
|
95
|
+
api.has_param :connection_method, { enum: -> { DaCheck::CONNECTION_METHOD }}
|
93
96
|
end
|
94
97
|
end
|
95
98
|
|
@@ -227,6 +227,7 @@ module FacebookAds
|
|
227
227
|
api.has_param :bundle_id, 'string'
|
228
228
|
api.has_param :bundle_short_version, 'string'
|
229
229
|
api.has_param :bundle_version, 'string'
|
230
|
+
api.has_param :click_id, 'string'
|
230
231
|
api.has_param :consider_views, 'bool'
|
231
232
|
api.has_param :custom_events, { list: 'object' }
|
232
233
|
api.has_param :custom_events_file, 'file'
|
@@ -239,6 +240,7 @@ module FacebookAds
|
|
239
240
|
api.has_param :include_dwell_data, 'bool'
|
240
241
|
api.has_param :include_video_data, 'bool'
|
241
242
|
api.has_param :install_referrer, 'string'
|
243
|
+
api.has_param :install_timestamp, 'int'
|
242
244
|
api.has_param :installer_package, 'string'
|
243
245
|
api.has_param :limited_data_use, 'bool'
|
244
246
|
api.has_param :migration_bundle, 'string'
|
@@ -288,6 +290,18 @@ module FacebookAds
|
|
288
290
|
edge.get 'Business'
|
289
291
|
end
|
290
292
|
|
293
|
+
has_edge :aggregate_revenue do |edge|
|
294
|
+
edge.post do |api|
|
295
|
+
api.has_param :ecpms, { list: 'string' }
|
296
|
+
api.has_param :query_ids, { list: 'string' }
|
297
|
+
api.has_param :request_id, 'string'
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
has_edge :android_dialog_configs do |edge|
|
302
|
+
edge.get
|
303
|
+
end
|
304
|
+
|
291
305
|
has_edge :app_event_types do |edge|
|
292
306
|
edge.get
|
293
307
|
end
|
@@ -389,6 +403,7 @@ module FacebookAds
|
|
389
403
|
has_edge :da_checks do |edge|
|
390
404
|
edge.get 'DaCheck' do |api|
|
391
405
|
api.has_param :checks, { list: 'string' }
|
406
|
+
api.has_param :connection_method, { enum: -> { DaCheck::CONNECTION_METHOD }}
|
392
407
|
end
|
393
408
|
end
|
394
409
|
|
@@ -455,6 +470,12 @@ module FacebookAds
|
|
455
470
|
end
|
456
471
|
end
|
457
472
|
|
473
|
+
has_edge :live_videos do |edge|
|
474
|
+
edge.get 'LiveVideo' do |api|
|
475
|
+
api.has_param :broadcast_status, { enum: -> { LiveVideo::BROADCAST_STATUS }}
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
458
479
|
has_edge :mmp_auditing do |edge|
|
459
480
|
edge.post do |api|
|
460
481
|
api.has_param :advertiser_id, 'string'
|
@@ -478,6 +499,7 @@ module FacebookAds
|
|
478
499
|
edge.get do |api|
|
479
500
|
api.has_param :device_id, 'string'
|
480
501
|
api.has_param :extinfo, 'object'
|
502
|
+
api.has_param :os_version, 'string'
|
481
503
|
api.has_param :platform, { enum: %w{ANDROID IOS }}
|
482
504
|
api.has_param :sdk_version, 'string'
|
483
505
|
end
|
@@ -145,7 +145,7 @@ module FacebookAds
|
|
145
145
|
api.has_param :dimensions, { list: { enum: %w{AD_ID AD_SET_ID CAMPAIGN_ID DEVICE_TYPE SOURCE_CHANNEL }} }
|
146
146
|
api.has_param :granularity, { enum: %w{DAY HOUR MONTH WEEK_SUNDAY YEAR }}
|
147
147
|
api.has_param :metric_scope, 'hash'
|
148
|
-
api.has_param :order_by, { list: '
|
148
|
+
api.has_param :order_by, { list: 'hash' }
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|
@@ -31,6 +31,7 @@ module FacebookAds
|
|
31
31
|
field :automotive_model_id, 'string'
|
32
32
|
field :availability, 'string'
|
33
33
|
field :body_style, 'string'
|
34
|
+
field :category_specific_fields, 'CatalogSubVerticalList'
|
34
35
|
field :currency, 'string'
|
35
36
|
field :custom_label_0, 'string'
|
36
37
|
field :description, 'string'
|
@@ -78,6 +78,7 @@ module FacebookAds
|
|
78
78
|
"MANAGE",
|
79
79
|
"MANAGE_JOBS",
|
80
80
|
"MANAGE_LEADS",
|
81
|
+
"MESSAGING",
|
81
82
|
"MODERATE",
|
82
83
|
"MODERATE_COMMUNITY",
|
83
84
|
"PAGES_MESSAGING",
|
@@ -85,6 +86,7 @@ module FacebookAds
|
|
85
86
|
"PROFILE_PLUS_ADVERTISE",
|
86
87
|
"PROFILE_PLUS_ANALYZE",
|
87
88
|
"PROFILE_PLUS_CREATE_CONTENT",
|
89
|
+
"PROFILE_PLUS_LIVE_STREAM_MODERATION",
|
88
90
|
"PROFILE_PLUS_MANAGE",
|
89
91
|
"PROFILE_PLUS_MESSAGING",
|
90
92
|
"PROFILE_PLUS_MODERATE",
|
@@ -117,6 +119,7 @@ module FacebookAds
|
|
117
119
|
has_edge :access_token do |edge|
|
118
120
|
edge.post 'Business' do |api|
|
119
121
|
api.has_param :app_id, 'string'
|
122
|
+
api.has_param :fbe_external_business_id, 'string'
|
120
123
|
api.has_param :scope, { list: 'Permission' }
|
121
124
|
api.has_param :system_user_name, 'string'
|
122
125
|
end
|
@@ -207,6 +210,14 @@ module FacebookAds
|
|
207
210
|
edge.get 'Business'
|
208
211
|
end
|
209
212
|
|
213
|
+
has_edge :aggregate_revenue do |edge|
|
214
|
+
edge.post do |api|
|
215
|
+
api.has_param :ecpms, { list: 'string' }
|
216
|
+
api.has_param :query_ids, { list: 'string' }
|
217
|
+
api.has_param :request_id, 'string'
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
210
221
|
has_edge :an_placements do |edge|
|
211
222
|
edge.get 'AdPlacement'
|
212
223
|
end
|
@@ -285,6 +296,10 @@ module FacebookAds
|
|
285
296
|
edge.get 'ProductCatalog'
|
286
297
|
end
|
287
298
|
|
299
|
+
has_edge :client_whatsapp_business_accounts do |edge|
|
300
|
+
edge.get 'WhatsAppBusinessAccount'
|
301
|
+
end
|
302
|
+
|
288
303
|
has_edge :clients do |edge|
|
289
304
|
edge.delete do |api|
|
290
305
|
api.has_param :business, 'string'
|
@@ -292,6 +307,26 @@ module FacebookAds
|
|
292
307
|
edge.get 'Business'
|
293
308
|
end
|
294
309
|
|
310
|
+
has_edge :collaborative_ads_collaboration_requests do |edge|
|
311
|
+
edge.get 'CpasCollaborationRequest' do |api|
|
312
|
+
api.has_param :status, 'string'
|
313
|
+
end
|
314
|
+
edge.post 'CpasCollaborationRequest' do |api|
|
315
|
+
api.has_param :brands, { list: 'string' }
|
316
|
+
api.has_param :contact_email, 'string'
|
317
|
+
api.has_param :contact_first_name, 'string'
|
318
|
+
api.has_param :contact_last_name, 'string'
|
319
|
+
api.has_param :phone_number, 'string'
|
320
|
+
api.has_param :receiver_business, 'string'
|
321
|
+
api.has_param :requester_agency_or_brand, { enum: -> { CpasCollaborationRequest::REQUESTER_AGENCY_OR_BRAND }}
|
322
|
+
api.has_param :sender_client_business, 'string'
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
has_edge :collaborative_ads_suggested_partners do |edge|
|
327
|
+
edge.get 'CpasAdvertiserPartnershipRecommendation'
|
328
|
+
end
|
329
|
+
|
295
330
|
has_edge :commerce_merchant_settings do |edge|
|
296
331
|
edge.get 'CommerceMerchantSettings'
|
297
332
|
end
|
@@ -307,6 +342,14 @@ module FacebookAds
|
|
307
342
|
end
|
308
343
|
end
|
309
344
|
|
345
|
+
has_edge :create_and_apply_publisher_block_list do |edge|
|
346
|
+
edge.post do |api|
|
347
|
+
api.has_param :is_auto_blocking_on, 'bool'
|
348
|
+
api.has_param :name, 'string'
|
349
|
+
api.has_param :publisher_urls, { list: 'string' }
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
310
353
|
has_edge :customconversions do |edge|
|
311
354
|
edge.post 'CustomConversion' do |api|
|
312
355
|
api.has_param :advanced_rule, 'string'
|
@@ -359,6 +402,7 @@ module FacebookAds
|
|
359
402
|
api.has_param :existing_client_business_id, 'string'
|
360
403
|
end
|
361
404
|
edge.post 'Business' do |api|
|
405
|
+
api.has_param :child_business_external_id, 'string'
|
362
406
|
api.has_param :existing_client_business_id, 'string'
|
363
407
|
api.has_param :name, 'string'
|
364
408
|
api.has_param :sales_rep_email, 'string'
|
@@ -407,9 +451,11 @@ module FacebookAds
|
|
407
451
|
api.has_param :client_id, 'string'
|
408
452
|
end
|
409
453
|
edge.get 'Business' do |api|
|
454
|
+
api.has_param :child_business_external_id, 'string'
|
410
455
|
api.has_param :client_user_id, 'int'
|
411
456
|
end
|
412
457
|
edge.post 'Business' do |api|
|
458
|
+
api.has_param :child_business_external_id, 'string'
|
413
459
|
api.has_param :name, 'string'
|
414
460
|
api.has_param :page_permitted_tasks, { list: { enum: -> { Business::PAGE_PERMITTED_TASKS }} }
|
415
461
|
api.has_param :sales_rep_email, 'string'
|
@@ -441,12 +487,15 @@ module FacebookAds
|
|
441
487
|
has_edge :owned_product_catalogs do |edge|
|
442
488
|
edge.get 'ProductCatalog'
|
443
489
|
edge.post 'ProductCatalog' do |api|
|
490
|
+
api.has_param :catalog_segment_filter, 'object'
|
491
|
+
api.has_param :catalog_segment_product_set_id, 'string'
|
444
492
|
api.has_param :commerce_merchant_settings, 'object'
|
445
493
|
api.has_param :da_display_settings, 'object'
|
446
494
|
api.has_param :destination_catalog_settings, 'hash'
|
447
495
|
api.has_param :flight_catalog_settings, 'hash'
|
448
496
|
api.has_param :name, 'string'
|
449
497
|
api.has_param :onsite_commerce_merchant, 'object'
|
498
|
+
api.has_param :parent_catalog_id, 'string'
|
450
499
|
api.has_param :store_catalog_settings, 'hash'
|
451
500
|
api.has_param :vertical, { enum: -> { ProductCatalog::VERTICAL }}
|
452
501
|
end
|
@@ -47,6 +47,7 @@ module FacebookAds
|
|
47
47
|
"MANAGE",
|
48
48
|
"MANAGE_JOBS",
|
49
49
|
"MANAGE_LEADS",
|
50
|
+
"MESSAGING",
|
50
51
|
"MODERATE",
|
51
52
|
"MODERATE_COMMUNITY",
|
52
53
|
"PAGES_MESSAGING",
|
@@ -54,6 +55,7 @@ module FacebookAds
|
|
54
55
|
"PROFILE_PLUS_ADVERTISE",
|
55
56
|
"PROFILE_PLUS_ANALYZE",
|
56
57
|
"PROFILE_PLUS_CREATE_CONTENT",
|
58
|
+
"PROFILE_PLUS_LIVE_STREAM_MODERATION",
|
57
59
|
"PROFILE_PLUS_MANAGE",
|
58
60
|
"PROFILE_PLUS_MESSAGING",
|
59
61
|
"PROFILE_PLUS_MODERATE",
|
@@ -79,7 +79,7 @@ module FacebookAds
|
|
79
79
|
has_edge :conversion_paths do |edge|
|
80
80
|
edge.get do |api|
|
81
81
|
api.has_param :click_lookback_window, 'int'
|
82
|
-
api.has_param :date_range, '
|
82
|
+
api.has_param :date_range, 'hash'
|
83
83
|
api.has_param :fb_conversion_event_id, 'int'
|
84
84
|
api.has_param :limit, 'int'
|
85
85
|
api.has_param :metric_context, 'hash'
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
|
2
|
+
#
|
3
|
+
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
4
|
+
# copy, modify, and distribute this software in source code or binary form for use
|
5
|
+
# in connection with the web services and APIs provided by Facebook.
|
6
|
+
#
|
7
|
+
# As with any software that integrates with the Facebook platform, your use of
|
8
|
+
# this software is subject to the Facebook Platform Policy
|
9
|
+
# [http://developers.facebook.com/policy/]. This copyright notice shall be
|
10
|
+
# included in all copies or substantial portions of the software.
|
11
|
+
#
|
12
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
14
|
+
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
15
|
+
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
16
|
+
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
17
|
+
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
18
|
+
|
19
|
+
# FB:AUTOGEN
|
20
|
+
|
21
|
+
module FacebookAds
|
22
|
+
# This class is auto-generated.
|
23
|
+
|
24
|
+
# For any issues or feature requests related to this class, please let us know
|
25
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
26
|
+
# pull request for this class.
|
27
|
+
|
28
|
+
class CatalogSubVerticalList < AdObject
|
29
|
+
|
30
|
+
field :appliances, 'object'
|
31
|
+
field :baby_feeding, 'object'
|
32
|
+
field :baby_transport, 'object'
|
33
|
+
field :beauty, 'object'
|
34
|
+
field :bedding, 'object'
|
35
|
+
field :cameras, 'object'
|
36
|
+
field :cameras_and_photos, 'object'
|
37
|
+
field :cell_phones_and_smart_watches, 'object'
|
38
|
+
field :cleaning_supplies, 'object'
|
39
|
+
field :clo_offer, 'object'
|
40
|
+
field :clothing, 'object'
|
41
|
+
field :clothing_accessories, 'object'
|
42
|
+
field :clothing_group, 'object'
|
43
|
+
field :computer_components, 'object'
|
44
|
+
field :computers_and_tablets, 'object'
|
45
|
+
field :computers_laptops_and_tablets, 'object'
|
46
|
+
field :diapering_and_potty_training, 'object'
|
47
|
+
field :electronic_accessories_and_cables, 'object'
|
48
|
+
field :electronics_accessories, 'object'
|
49
|
+
field :furniture, 'object'
|
50
|
+
field :health, 'object'
|
51
|
+
field :home, 'object'
|
52
|
+
field :home_goods, 'object'
|
53
|
+
field :household_and_cleaning_supplies, 'object'
|
54
|
+
field :jewelry, 'object'
|
55
|
+
field :large_appliances, 'object'
|
56
|
+
field :loyalty_offer, 'object'
|
57
|
+
field :meetup_space, 'object'
|
58
|
+
field :nursery, 'object'
|
59
|
+
field :printers_and_scanners, 'object'
|
60
|
+
field :printers_scanners_and_fax_machines, 'object'
|
61
|
+
field :product_discount, 'object'
|
62
|
+
field :projectors, 'object'
|
63
|
+
field :shoes, 'object'
|
64
|
+
field :shoes_and_footwear, 'object'
|
65
|
+
field :software, 'object'
|
66
|
+
field :televisions_and_monitors, 'object'
|
67
|
+
field :test_child_sub_vertical, 'object'
|
68
|
+
field :test_grand_child_sub_vertical, 'object'
|
69
|
+
field :test_sub_vertical, 'object'
|
70
|
+
field :test_sub_vertical_alias, 'object'
|
71
|
+
field :test_sub_vertical_data_object, 'object'
|
72
|
+
field :third_party_electronics, 'object'
|
73
|
+
field :third_party_toys_and_games, 'object'
|
74
|
+
field :toys, 'object'
|
75
|
+
field :toys_and_games, 'object'
|
76
|
+
field :tvs_and_monitors, 'object'
|
77
|
+
field :vehicle_manufacturer, 'object'
|
78
|
+
field :video_game_consoles_and_video_games, 'object'
|
79
|
+
field :video_games_and_consoles, 'object'
|
80
|
+
field :video_projectors, 'object'
|
81
|
+
field :watches, 'object'
|
82
|
+
has_no_id
|
83
|
+
has_no_get
|
84
|
+
has_no_post
|
85
|
+
has_no_delete
|
86
|
+
|
87
|
+
end
|
88
|
+
end
|