facebookbusiness 0.5.0.4 → 0.5.0.5
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 +6 -0
- data/lib/facebook_ads/ad_objects/ad_account.rb +91 -1
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +1 -4
- data/lib/facebook_ads/ad_objects/ad_account_creation_request.rb +172 -0
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_saved_location.rb +42 -0
- data/lib/facebook_ads/ad_objects/ad_video.rb +23 -0
- data/lib/facebook_ads/ad_objects/ads_data_partner.rb +41 -0
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +15 -0
- data/lib/facebook_ads/ad_objects/album.rb +6 -0
- data/lib/facebook_ads/ad_objects/application.rb +66 -0
- data/lib/facebook_ads/ad_objects/atlas_campaign.rb +0 -9
- data/lib/facebook_ads/ad_objects/audience_insights_rule.rb +42 -0
- data/lib/facebook_ads/ad_objects/audio_copyright.rb +6 -1
- data/lib/facebook_ads/ad_objects/business.rb +66 -0
- data/lib/facebook_ads/ad_objects/business_image.rb +1 -1
- data/lib/facebook_ads/ad_objects/business_setting_logs_data.rb +41 -0
- data/lib/facebook_ads/ad_objects/business_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/calibrator_existing_rule.rb +44 -0
- data/lib/facebook_ads/ad_objects/custom_audience.rb +0 -1
- data/lib/facebook_ads/ad_objects/custom_conversion.rb +14 -0
- data/lib/facebook_ads/ad_objects/custom_conversion_activities.rb +46 -0
- data/lib/facebook_ads/ad_objects/custom_user_settings.rb +38 -0
- data/lib/facebook_ads/ad_objects/destination.rb +1 -1
- data/lib/facebook_ads/ad_objects/dog_notification_settings.rb +36 -0
- data/lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb +2 -0
- data/lib/facebook_ads/ad_objects/education_experience.rb +42 -0
- data/lib/facebook_ads/ad_objects/event.rb +118 -0
- data/lib/facebook_ads/ad_objects/expirable_post.rb +56 -0
- data/lib/facebook_ads/ad_objects/extended_credit.rb +4 -0
- data/lib/facebook_ads/ad_objects/flight_catalog_settings.rb +36 -0
- data/lib/facebook_ads/ad_objects/group.rb +6 -0
- data/lib/facebook_ads/ad_objects/hotel.rb +13 -0
- data/lib/facebook_ads/ad_objects/hotel_room.rb +1 -0
- data/lib/facebook_ads/ad_objects/instagram_user.rb +9 -0
- data/lib/facebook_ads/ad_objects/lead_gen_data_draft.rb +89 -0
- data/lib/facebook_ads/ad_objects/leadgen_form.rb +5 -0
- data/lib/facebook_ads/ad_objects/life_event.rb +15 -2
- data/lib/facebook_ads/ad_objects/link.rb +13 -0
- data/lib/facebook_ads/ad_objects/live_video.rb +4 -0
- data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +22 -0
- data/lib/facebook_ads/ad_objects/open_graph_context.rb +4 -0
- data/lib/facebook_ads/ad_objects/open_graph_object.rb +22 -1
- data/lib/facebook_ads/ad_objects/owned_domain.rb +36 -0
- data/lib/facebook_ads/ad_objects/page.rb +211 -0
- data/lib/facebook_ads/ad_objects/page_insights_async_export_run.rb +4 -0
- data/lib/facebook_ads/ad_objects/page_label.rb +4 -0
- data/lib/facebook_ads/ad_objects/page_post.rb +23 -0
- data/lib/facebook_ads/ad_objects/page_saved_filter.rb +117 -1
- data/lib/facebook_ads/ad_objects/page_upcoming_change.rb +1 -0
- data/lib/facebook_ads/ad_objects/page_videos_you_can_use.rb +38 -0
- data/lib/facebook_ads/ad_objects/partner_category.rb +51 -0
- data/lib/facebook_ads/ad_objects/partner_integration_linked.rb +129 -0
- data/lib/facebook_ads/ad_objects/partner_study.rb +4 -0
- data/lib/facebook_ads/ad_objects/photo.rb +100 -1
- data/lib/facebook_ads/ad_objects/place_tag.rb +37 -0
- data/lib/facebook_ads/ad_objects/post.rb +62 -0
- data/lib/facebook_ads/ad_objects/product_catalog.rb +109 -1
- data/lib/facebook_ads/ad_objects/product_da_event_samples_batch.rb +55 -0
- data/lib/facebook_ads/ad_objects/product_group.rb +18 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +18 -0
- data/lib/facebook_ads/ad_objects/product_set.rb +6 -0
- data/lib/facebook_ads/ad_objects/rtb_dynamic_post.rb +0 -1
- data/lib/facebook_ads/ad_objects/saved_message_response.rb +21 -2
- data/lib/facebook_ads/ad_objects/saved_message_response_macro.rb +39 -0
- data/lib/facebook_ads/ad_objects/status.rb +94 -0
- data/lib/facebook_ads/ad_objects/stream_filter.rb +39 -0
- data/lib/facebook_ads/ad_objects/system_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/thread_setting.rb +37 -0
- data/lib/facebook_ads/ad_objects/timezone_offset.rb +41 -0
- data/lib/facebook_ads/ad_objects/user.rb +135 -38
- data/lib/facebook_ads/ad_objects/user_context.rb +39 -0
- data/lib/facebook_ads/ad_objects/video_copyright.rb +0 -1
- data/lib/facebook_ads/ad_objects/video_copyright_rule.rb +0 -1
- data/lib/facebook_ads/ad_objects/video_list.rb +24 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +0 -2
- data/lib/facebook_ads/ad_objects/with_asset3_d.rb +35 -0
- data/lib/facebook_ads/ad_objects/work_experience.rb +44 -0
- data/lib/facebook_ads/version.rb +1 -1
- metadata +28 -2
@@ -91,6 +91,7 @@ module FacebookAds
|
|
91
91
|
"LIVE_LINEAR_VIDEO_CHANNEL_INTERNAL_BROADCAST",
|
92
92
|
"LIVE_PHOTO",
|
93
93
|
"LOOK_NOW_DEPRECATED",
|
94
|
+
"MARKETPLACE_LISTING_VIDEO",
|
94
95
|
"MOMENTS_VIDEO",
|
95
96
|
"NEO_ASYNC_GAME_VIDEO",
|
96
97
|
"NO_STORY",
|
@@ -339,8 +340,24 @@ module FacebookAds
|
|
339
340
|
field :ad_placements_validation_only, 'bool'
|
340
341
|
field :creative_folder_id, 'string'
|
341
342
|
field :validation_ad_placements, { list: { enum: -> { VALIDATION_AD_PLACEMENTS }} }
|
343
|
+
field :is_explicit_share, 'bool'
|
344
|
+
field :manual_privacy, 'bool'
|
345
|
+
|
346
|
+
has_edge :auto_generated_captions do |edge|
|
347
|
+
edge.get
|
348
|
+
end
|
349
|
+
|
350
|
+
has_edge :blocked_users do |edge|
|
351
|
+
edge.post 'AdVideo' do |api|
|
352
|
+
api.has_param :remove_block, 'bool'
|
353
|
+
api.has_param :uid, 'object'
|
354
|
+
end
|
355
|
+
end
|
342
356
|
|
343
357
|
has_edge :captions do |edge|
|
358
|
+
edge.delete do |api|
|
359
|
+
api.has_param :locale, 'string'
|
360
|
+
end
|
344
361
|
edge.get
|
345
362
|
edge.post 'AdVideo' do |api|
|
346
363
|
api.has_param :captions_file, 'file'
|
@@ -378,6 +395,12 @@ module FacebookAds
|
|
378
395
|
end
|
379
396
|
|
380
397
|
has_edge :likes do |edge|
|
398
|
+
edge.delete do |api|
|
399
|
+
api.has_param :feedback_source, 'string'
|
400
|
+
api.has_param :nectar_module, 'string'
|
401
|
+
api.has_param :notify, 'bool'
|
402
|
+
api.has_param :tracking, 'string'
|
403
|
+
end
|
381
404
|
edge.get 'Profile'
|
382
405
|
edge.post 'AdVideo' do |api|
|
383
406
|
api.has_param :feedback_source, 'string'
|
@@ -0,0 +1,41 @@
|
|
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 AdsDataPartner < AdObject
|
29
|
+
|
30
|
+
field :id, 'string'
|
31
|
+
field :name, 'string'
|
32
|
+
field :rev_share_policies, { list: 'RevSharePolicy' }
|
33
|
+
has_no_post
|
34
|
+
has_no_delete
|
35
|
+
|
36
|
+
has_edge :partnerstudies do |edge|
|
37
|
+
edge.get 'PartnerStudy'
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
@@ -59,6 +59,11 @@ module FacebookAds
|
|
59
59
|
"EDIT",
|
60
60
|
]
|
61
61
|
|
62
|
+
TYPE = [
|
63
|
+
"PRIMARY",
|
64
|
+
"SECONDARY",
|
65
|
+
]
|
66
|
+
|
62
67
|
|
63
68
|
field :automatic_matching_fields, { list: 'string' }
|
64
69
|
field :can_proxy, 'bool'
|
@@ -96,6 +101,10 @@ module FacebookAds
|
|
96
101
|
end
|
97
102
|
end
|
98
103
|
|
104
|
+
has_edge :create_server_to_server_keys do |edge|
|
105
|
+
edge.post 'AdsPixel'
|
106
|
+
end
|
107
|
+
|
99
108
|
has_edge :da_checks do |edge|
|
100
109
|
edge.get 'DaCheck' do |api|
|
101
110
|
api.has_param :checks, { list: 'string' }
|
@@ -110,6 +119,12 @@ module FacebookAds
|
|
110
119
|
end
|
111
120
|
end
|
112
121
|
|
122
|
+
has_edge :reset_server_to_server_key do |edge|
|
123
|
+
edge.post 'AdsPixel' do |api|
|
124
|
+
api.has_param :type, { enum: -> { AdsPixel::TYPE }}
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
113
128
|
has_edge :shared_accounts do |edge|
|
114
129
|
edge.delete do |api|
|
115
130
|
api.has_param :account_id, 'string'
|
@@ -78,6 +78,12 @@ module FacebookAds
|
|
78
78
|
end
|
79
79
|
|
80
80
|
has_edge :likes do |edge|
|
81
|
+
edge.delete do |api|
|
82
|
+
api.has_param :feedback_source, 'string'
|
83
|
+
api.has_param :nectar_module, 'string'
|
84
|
+
api.has_param :notify, 'bool'
|
85
|
+
api.has_param :tracking, 'string'
|
86
|
+
end
|
81
87
|
edge.get 'Profile'
|
82
88
|
edge.post 'Album' do |api|
|
83
89
|
api.has_param :feedback_source, 'string'
|
@@ -92,6 +92,13 @@ module FacebookAds
|
|
92
92
|
"PAGE",
|
93
93
|
]
|
94
94
|
|
95
|
+
ROLE = [
|
96
|
+
"administrators",
|
97
|
+
"developers",
|
98
|
+
"insights users",
|
99
|
+
"testers",
|
100
|
+
]
|
101
|
+
|
95
102
|
|
96
103
|
field :aam_rules, 'string'
|
97
104
|
field :an_ad_space_limit, 'int'
|
@@ -125,6 +132,7 @@ module FacebookAds
|
|
125
132
|
field :company, 'string'
|
126
133
|
field :configured_ios_sso, 'bool'
|
127
134
|
field :contact_email, 'string'
|
135
|
+
field :context, 'object'
|
128
136
|
field :created_time, 'datetime'
|
129
137
|
field :creator_uid, 'string'
|
130
138
|
field :daily_active_users, 'string'
|
@@ -283,6 +291,10 @@ module FacebookAds
|
|
283
291
|
edge.get 'Business'
|
284
292
|
end
|
285
293
|
|
294
|
+
has_edge :android_dialog_configs do |edge|
|
295
|
+
edge.get
|
296
|
+
end
|
297
|
+
|
286
298
|
has_edge :app_event_types do |edge|
|
287
299
|
edge.get
|
288
300
|
end
|
@@ -345,6 +357,12 @@ module FacebookAds
|
|
345
357
|
end
|
346
358
|
end
|
347
359
|
|
360
|
+
has_edge :audiences do |edge|
|
361
|
+
edge.get 'CustomAudience' do |api|
|
362
|
+
api.has_param :ad_account, 'string'
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
348
366
|
has_edge :authorized_adaccounts do |edge|
|
349
367
|
edge.get 'AdAccount' do |api|
|
350
368
|
api.has_param :business, 'string'
|
@@ -358,6 +376,9 @@ module FacebookAds
|
|
358
376
|
edge.get 'User' do |api|
|
359
377
|
api.has_param :uid, 'int'
|
360
378
|
end
|
379
|
+
edge.post 'User' do |api|
|
380
|
+
api.has_param :uids, { list: 'int' }
|
381
|
+
end
|
361
382
|
end
|
362
383
|
|
363
384
|
has_edge :button_auto_detection_device_selection do |edge|
|
@@ -392,6 +413,10 @@ module FacebookAds
|
|
392
413
|
end
|
393
414
|
end
|
394
415
|
|
416
|
+
has_edge :connections do |edge|
|
417
|
+
edge.get
|
418
|
+
end
|
419
|
+
|
395
420
|
has_edge :custom_audience_third_party_id do |edge|
|
396
421
|
edge.get do |api|
|
397
422
|
api.has_param :limit_event_usage, 'bool'
|
@@ -405,6 +430,10 @@ module FacebookAds
|
|
405
430
|
end
|
406
431
|
end
|
407
432
|
|
433
|
+
has_edge :direct_deals do |edge|
|
434
|
+
edge.get 'DirectDeal'
|
435
|
+
end
|
436
|
+
|
408
437
|
has_edge :events do |edge|
|
409
438
|
edge.get 'Event' do |api|
|
410
439
|
api.has_param :include_canceled, 'bool'
|
@@ -422,6 +451,16 @@ module FacebookAds
|
|
422
451
|
end
|
423
452
|
end
|
424
453
|
|
454
|
+
has_edge :insights_event_labels do |edge|
|
455
|
+
edge.get do |api|
|
456
|
+
api.has_param :add, { list: 'string' }
|
457
|
+
api.has_param :delete, 'int'
|
458
|
+
api.has_param :ecosystem, 'bool'
|
459
|
+
api.has_param :since, 'datetime'
|
460
|
+
api.has_param :until, 'datetime'
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
425
464
|
has_edge :insights_push_schedule do |edge|
|
426
465
|
edge.get
|
427
466
|
edge.post do |api|
|
@@ -506,6 +545,22 @@ module FacebookAds
|
|
506
545
|
end
|
507
546
|
end
|
508
547
|
|
548
|
+
has_edge :monetization do |edge|
|
549
|
+
edge.post do |api|
|
550
|
+
api.has_param :breakdowns, { list: { enum: %w{COUNTRY }} }
|
551
|
+
api.has_param :campaign_id, 'string'
|
552
|
+
api.has_param :device_list, { list: 'string' }
|
553
|
+
api.has_param :query_id, 'string'
|
554
|
+
api.has_param :request_id, 'string'
|
555
|
+
api.has_param :since, 'datetime'
|
556
|
+
api.has_param :until, 'datetime'
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
560
|
+
has_edge :object_types do |edge|
|
561
|
+
edge.get
|
562
|
+
end
|
563
|
+
|
509
564
|
has_edge :occludespopups do |edge|
|
510
565
|
edge.post do |api|
|
511
566
|
api.has_param :flash, 'bool'
|
@@ -513,6 +568,10 @@ module FacebookAds
|
|
513
568
|
end
|
514
569
|
end
|
515
570
|
|
571
|
+
has_edge :ozone_release do |edge|
|
572
|
+
edge.get
|
573
|
+
end
|
574
|
+
|
516
575
|
has_edge :page_activities do |edge|
|
517
576
|
edge.post 'Application' do |api|
|
518
577
|
api.has_param :advertiser_tracking_enabled, 'bool'
|
@@ -557,7 +616,14 @@ module FacebookAds
|
|
557
616
|
end
|
558
617
|
|
559
618
|
has_edge :roles do |edge|
|
619
|
+
edge.delete do |api|
|
620
|
+
api.has_param :user, 'int'
|
621
|
+
end
|
560
622
|
edge.get
|
623
|
+
edge.post 'Application' do |api|
|
624
|
+
api.has_param :role, { enum: -> { Application::ROLE }}
|
625
|
+
api.has_param :user, 'int'
|
626
|
+
end
|
561
627
|
end
|
562
628
|
|
563
629
|
has_edge :subscribed_domains do |edge|
|
@@ -140,15 +140,6 @@ module FacebookAds
|
|
140
140
|
edge.get 'BusinessUnit'
|
141
141
|
end
|
142
142
|
|
143
|
-
has_edge :importtemplate do |edge|
|
144
|
-
edge.post 'AtlasCampaign' do |api|
|
145
|
-
api.has_param :export, 'string'
|
146
|
-
api.has_param :filename, 'string'
|
147
|
-
api.has_param :format, 'string'
|
148
|
-
api.has_param :template, 'string'
|
149
|
-
end
|
150
|
-
end
|
151
|
-
|
152
143
|
has_edge :metrics_breakdown do |edge|
|
153
144
|
edge.get do |api|
|
154
145
|
api.has_param :dimensions, { list: { enum: %w{DEVICE_TYPE SOURCE_CHANNEL }} }
|
@@ -0,0 +1,42 @@
|
|
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 AudienceInsightsRule < AdObject
|
29
|
+
|
30
|
+
field :archived, 'bool'
|
31
|
+
field :can_be_updated, 'bool'
|
32
|
+
field :created_by, 'User'
|
33
|
+
field :creation_time, 'datetime'
|
34
|
+
field :description, 'string'
|
35
|
+
field :id, 'string'
|
36
|
+
field :name, 'string'
|
37
|
+
field :studies, { list: 'object' }
|
38
|
+
has_no_post
|
39
|
+
has_no_delete
|
40
|
+
|
41
|
+
end
|
42
|
+
end
|
@@ -26,6 +26,12 @@ module FacebookAds
|
|
26
26
|
# pull request for this class.
|
27
27
|
|
28
28
|
class AudioCopyright < AdObject
|
29
|
+
UPDATE_SOURCE = [
|
30
|
+
"ddex",
|
31
|
+
"edit_reference_dialog",
|
32
|
+
"reference_conflict_dialog",
|
33
|
+
]
|
34
|
+
|
29
35
|
|
30
36
|
field :creation_time, 'datetime'
|
31
37
|
field :displayed_matches_count, 'int'
|
@@ -39,7 +45,6 @@ module FacebookAds
|
|
39
45
|
field :update_time, 'datetime'
|
40
46
|
field :whitelisted_fb_users, { list: 'object' }
|
41
47
|
field :whitelisted_ig_users, { list: 'string' }
|
42
|
-
has_no_post
|
43
48
|
has_no_delete
|
44
49
|
|
45
50
|
end
|
@@ -117,6 +117,7 @@ module FacebookAds
|
|
117
117
|
edge.post 'Business' do |api|
|
118
118
|
api.has_param :app_id, 'string'
|
119
119
|
api.has_param :scope, { list: 'Permission' }
|
120
|
+
api.has_param :system_user_name, 'string'
|
120
121
|
end
|
121
122
|
end
|
122
123
|
|
@@ -162,6 +163,10 @@ module FacebookAds
|
|
162
163
|
end
|
163
164
|
end
|
164
165
|
|
166
|
+
has_edge :adaccountcreationrequests do |edge|
|
167
|
+
edge.get 'AdAccountCreationRequest'
|
168
|
+
end
|
169
|
+
|
165
170
|
has_edge :adnetworkanalytics do |edge|
|
166
171
|
edge.get 'AdNetworkAnalyticsSyncQueryResult' do |api|
|
167
172
|
api.has_param :aggregation_period, { enum: -> { AdNetworkAnalyticsSyncQueryResult::AGGREGATION_PERIOD }}
|
@@ -389,6 +394,9 @@ module FacebookAds
|
|
389
394
|
end
|
390
395
|
|
391
396
|
has_edge :managed_businesses do |edge|
|
397
|
+
edge.delete do |api|
|
398
|
+
api.has_param :existing_client_business_id, 'string'
|
399
|
+
end
|
392
400
|
edge.post 'Business' do |api|
|
393
401
|
api.has_param :existing_client_business_id, 'string'
|
394
402
|
api.has_param :name, 'string'
|
@@ -457,6 +465,17 @@ module FacebookAds
|
|
457
465
|
end
|
458
466
|
end
|
459
467
|
|
468
|
+
has_edge :owned_custom_conversions do |edge|
|
469
|
+
edge.get 'CustomConversion'
|
470
|
+
end
|
471
|
+
|
472
|
+
has_edge :owned_domains do |edge|
|
473
|
+
edge.get 'OwnedDomain'
|
474
|
+
edge.post 'OwnedDomain' do |api|
|
475
|
+
api.has_param :domain_name, 'string'
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
460
479
|
has_edge :owned_instagram_accounts do |edge|
|
461
480
|
edge.get 'InstagramUser'
|
462
481
|
end
|
@@ -491,6 +510,18 @@ module FacebookAds
|
|
491
510
|
end
|
492
511
|
end
|
493
512
|
|
513
|
+
has_edge :partner_integrations do |edge|
|
514
|
+
edge.get 'PartnerIntegrationLinked'
|
515
|
+
edge.post 'PartnerIntegrationLinked' do |api|
|
516
|
+
api.has_param :external_id, 'string'
|
517
|
+
api.has_param :gtm_account_id, 'string'
|
518
|
+
api.has_param :gtm_container_id, 'string'
|
519
|
+
api.has_param :name, 'string'
|
520
|
+
api.has_param :page_id, 'string'
|
521
|
+
api.has_param :partner, { enum: -> { PartnerIntegrationLinked::PARTNER }}
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
494
525
|
has_edge :pending_client_ad_accounts do |edge|
|
495
526
|
edge.get 'BusinessAdAccountRequest'
|
496
527
|
end
|
@@ -581,6 +612,12 @@ module FacebookAds
|
|
581
612
|
end
|
582
613
|
end
|
583
614
|
|
615
|
+
has_edge :spaco_dataset_collections do |edge|
|
616
|
+
edge.post do |api|
|
617
|
+
api.has_param :spaco_data_collections, { list: 'string' }
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
584
621
|
has_edge :system_users do |edge|
|
585
622
|
edge.get 'SystemUser'
|
586
623
|
edge.post 'SystemUser' do |api|
|
@@ -595,6 +632,7 @@ module FacebookAds
|
|
595
632
|
end
|
596
633
|
|
597
634
|
has_edge :upload_event do |edge|
|
635
|
+
edge.get 'MeasurementUploadEvent'
|
598
636
|
edge.post 'MeasurementUploadEvent' do |api|
|
599
637
|
api.has_param :aggregation_level, { enum: -> { MeasurementUploadEvent::AGGREGATION_LEVEL }}
|
600
638
|
api.has_param :conversion_end_date, 'string'
|
@@ -685,5 +723,33 @@ module FacebookAds
|
|
685
723
|
end
|
686
724
|
end
|
687
725
|
|
726
|
+
has_edge :vietnamadaccountcreationrequests do |edge|
|
727
|
+
edge.post 'AdAccountCreationRequest' do |api|
|
728
|
+
api.has_param :ad_accounts_currency, 'string'
|
729
|
+
api.has_param :ad_accounts_info, { list: 'object' }
|
730
|
+
api.has_param :additional_comment, 'string'
|
731
|
+
api.has_param :address_in_english, 'object'
|
732
|
+
api.has_param :address_in_local_language, 'string'
|
733
|
+
api.has_param :advertiser_business_id, 'string'
|
734
|
+
api.has_param :business_registration, 'file'
|
735
|
+
api.has_param :business_registration_id, 'string'
|
736
|
+
api.has_param :contact, 'object'
|
737
|
+
api.has_param :credit_card_id, 'string'
|
738
|
+
api.has_param :english_legal_entity_name, 'string'
|
739
|
+
api.has_param :extended_credit_id, 'string'
|
740
|
+
api.has_param :is_smb, 'bool'
|
741
|
+
api.has_param :is_test, 'bool'
|
742
|
+
api.has_param :legal_entity_name_in_local_language, 'string'
|
743
|
+
api.has_param :official_website_url, 'string'
|
744
|
+
api.has_param :planning_agency_business_id, 'string'
|
745
|
+
api.has_param :promotable_app_ids, { list: 'string' }
|
746
|
+
api.has_param :promotable_page_ids, { list: 'int' }
|
747
|
+
api.has_param :promotable_page_urls, { list: 'string' }
|
748
|
+
api.has_param :promotable_urls, { list: 'string' }
|
749
|
+
api.has_param :subvertical, { enum: -> { AdAccountCreationRequest::SUBVERTICAL }}
|
750
|
+
api.has_param :vertical, { enum: -> { AdAccountCreationRequest::VERTICAL }}
|
751
|
+
end
|
752
|
+
end
|
753
|
+
|
688
754
|
end
|
689
755
|
end
|