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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad.rb +6 -0
  3. data/lib/facebook_ads/ad_objects/ad_account.rb +91 -1
  4. data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +1 -4
  5. data/lib/facebook_ads/ad_objects/ad_account_creation_request.rb +172 -0
  6. data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +2 -0
  7. data/lib/facebook_ads/ad_objects/ad_creative.rb +2 -0
  8. data/lib/facebook_ads/ad_objects/ad_saved_location.rb +42 -0
  9. data/lib/facebook_ads/ad_objects/ad_video.rb +23 -0
  10. data/lib/facebook_ads/ad_objects/ads_data_partner.rb +41 -0
  11. data/lib/facebook_ads/ad_objects/ads_pixel.rb +15 -0
  12. data/lib/facebook_ads/ad_objects/album.rb +6 -0
  13. data/lib/facebook_ads/ad_objects/application.rb +66 -0
  14. data/lib/facebook_ads/ad_objects/atlas_campaign.rb +0 -9
  15. data/lib/facebook_ads/ad_objects/audience_insights_rule.rb +42 -0
  16. data/lib/facebook_ads/ad_objects/audio_copyright.rb +6 -1
  17. data/lib/facebook_ads/ad_objects/business.rb +66 -0
  18. data/lib/facebook_ads/ad_objects/business_image.rb +1 -1
  19. data/lib/facebook_ads/ad_objects/business_setting_logs_data.rb +41 -0
  20. data/lib/facebook_ads/ad_objects/business_user.rb +4 -0
  21. data/lib/facebook_ads/ad_objects/calibrator_existing_rule.rb +44 -0
  22. data/lib/facebook_ads/ad_objects/custom_audience.rb +0 -1
  23. data/lib/facebook_ads/ad_objects/custom_conversion.rb +14 -0
  24. data/lib/facebook_ads/ad_objects/custom_conversion_activities.rb +46 -0
  25. data/lib/facebook_ads/ad_objects/custom_user_settings.rb +38 -0
  26. data/lib/facebook_ads/ad_objects/destination.rb +1 -1
  27. data/lib/facebook_ads/ad_objects/dog_notification_settings.rb +36 -0
  28. data/lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb +2 -0
  29. data/lib/facebook_ads/ad_objects/education_experience.rb +42 -0
  30. data/lib/facebook_ads/ad_objects/event.rb +118 -0
  31. data/lib/facebook_ads/ad_objects/expirable_post.rb +56 -0
  32. data/lib/facebook_ads/ad_objects/extended_credit.rb +4 -0
  33. data/lib/facebook_ads/ad_objects/flight_catalog_settings.rb +36 -0
  34. data/lib/facebook_ads/ad_objects/group.rb +6 -0
  35. data/lib/facebook_ads/ad_objects/hotel.rb +13 -0
  36. data/lib/facebook_ads/ad_objects/hotel_room.rb +1 -0
  37. data/lib/facebook_ads/ad_objects/instagram_user.rb +9 -0
  38. data/lib/facebook_ads/ad_objects/lead_gen_data_draft.rb +89 -0
  39. data/lib/facebook_ads/ad_objects/leadgen_form.rb +5 -0
  40. data/lib/facebook_ads/ad_objects/life_event.rb +15 -2
  41. data/lib/facebook_ads/ad_objects/link.rb +13 -0
  42. data/lib/facebook_ads/ad_objects/live_video.rb +4 -0
  43. data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +22 -0
  44. data/lib/facebook_ads/ad_objects/open_graph_context.rb +4 -0
  45. data/lib/facebook_ads/ad_objects/open_graph_object.rb +22 -1
  46. data/lib/facebook_ads/ad_objects/owned_domain.rb +36 -0
  47. data/lib/facebook_ads/ad_objects/page.rb +211 -0
  48. data/lib/facebook_ads/ad_objects/page_insights_async_export_run.rb +4 -0
  49. data/lib/facebook_ads/ad_objects/page_label.rb +4 -0
  50. data/lib/facebook_ads/ad_objects/page_post.rb +23 -0
  51. data/lib/facebook_ads/ad_objects/page_saved_filter.rb +117 -1
  52. data/lib/facebook_ads/ad_objects/page_upcoming_change.rb +1 -0
  53. data/lib/facebook_ads/ad_objects/page_videos_you_can_use.rb +38 -0
  54. data/lib/facebook_ads/ad_objects/partner_category.rb +51 -0
  55. data/lib/facebook_ads/ad_objects/partner_integration_linked.rb +129 -0
  56. data/lib/facebook_ads/ad_objects/partner_study.rb +4 -0
  57. data/lib/facebook_ads/ad_objects/photo.rb +100 -1
  58. data/lib/facebook_ads/ad_objects/place_tag.rb +37 -0
  59. data/lib/facebook_ads/ad_objects/post.rb +62 -0
  60. data/lib/facebook_ads/ad_objects/product_catalog.rb +109 -1
  61. data/lib/facebook_ads/ad_objects/product_da_event_samples_batch.rb +55 -0
  62. data/lib/facebook_ads/ad_objects/product_group.rb +18 -0
  63. data/lib/facebook_ads/ad_objects/product_item.rb +18 -0
  64. data/lib/facebook_ads/ad_objects/product_set.rb +6 -0
  65. data/lib/facebook_ads/ad_objects/rtb_dynamic_post.rb +0 -1
  66. data/lib/facebook_ads/ad_objects/saved_message_response.rb +21 -2
  67. data/lib/facebook_ads/ad_objects/saved_message_response_macro.rb +39 -0
  68. data/lib/facebook_ads/ad_objects/status.rb +94 -0
  69. data/lib/facebook_ads/ad_objects/stream_filter.rb +39 -0
  70. data/lib/facebook_ads/ad_objects/system_user.rb +4 -0
  71. data/lib/facebook_ads/ad_objects/thread_setting.rb +37 -0
  72. data/lib/facebook_ads/ad_objects/timezone_offset.rb +41 -0
  73. data/lib/facebook_ads/ad_objects/user.rb +135 -38
  74. data/lib/facebook_ads/ad_objects/user_context.rb +39 -0
  75. data/lib/facebook_ads/ad_objects/video_copyright.rb +0 -1
  76. data/lib/facebook_ads/ad_objects/video_copyright_rule.rb +0 -1
  77. data/lib/facebook_ads/ad_objects/video_list.rb +24 -0
  78. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +0 -2
  79. data/lib/facebook_ads/ad_objects/with_asset3_d.rb +35 -0
  80. data/lib/facebook_ads/ad_objects/work_experience.rb +44 -0
  81. data/lib/facebook_ads/version.rb +1 -1
  82. metadata +28 -2
@@ -0,0 +1,94 @@
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 Status < AdObject
29
+
30
+ field :event, 'Event'
31
+ field :from, 'object'
32
+ field :id, 'string'
33
+ field :message, 'string'
34
+ field :place, 'Place'
35
+ field :updated_time, 'datetime'
36
+ has_no_post
37
+ has_no_delete
38
+
39
+ has_edge :comments do |edge|
40
+ edge.get 'Comment' do |api|
41
+ api.has_param :filter, { enum: -> { Comment::FILTER }}
42
+ api.has_param :live_filter, { enum: -> { Comment::LIVE_FILTER }}
43
+ api.has_param :order, { enum: -> { Comment::ORDER }}
44
+ api.has_param :since, 'datetime'
45
+ end
46
+ edge.post 'Comment' do |api|
47
+ api.has_param :attachment_id, 'string'
48
+ api.has_param :attachment_share_url, 'string'
49
+ api.has_param :attachment_url, 'string'
50
+ api.has_param :comment_privacy_value, { enum: -> { Comment::COMMENT_PRIVACY_VALUE }}
51
+ api.has_param :facepile_mentioned_ids, { list: 'string' }
52
+ api.has_param :feedback_source, 'string'
53
+ api.has_param :is_offline, 'bool'
54
+ api.has_param :message, 'string'
55
+ api.has_param :nectar_module, 'string'
56
+ api.has_param :object_id, 'string'
57
+ api.has_param :parent_comment_id, 'object'
58
+ api.has_param :text, 'string'
59
+ api.has_param :tracking, 'string'
60
+ end
61
+ end
62
+
63
+ has_edge :likes do |edge|
64
+ edge.delete do |api|
65
+ api.has_param :feedback_source, 'string'
66
+ api.has_param :nectar_module, 'string'
67
+ api.has_param :notify, 'bool'
68
+ api.has_param :tracking, 'string'
69
+ end
70
+ edge.get 'Profile'
71
+ edge.post 'Status' do |api|
72
+ api.has_param :feedback_source, 'string'
73
+ api.has_param :nectar_module, 'string'
74
+ api.has_param :notify, 'bool'
75
+ api.has_param :tracking, 'string'
76
+ end
77
+ end
78
+
79
+ has_edge :reactions do |edge|
80
+ edge.get 'Profile' do |api|
81
+ api.has_param :type, { enum: -> { Profile::TYPE }}
82
+ end
83
+ end
84
+
85
+ has_edge :sharedposts do |edge|
86
+ edge.get 'Post'
87
+ end
88
+
89
+ has_edge :tags do |edge|
90
+ edge.get 'Profile'
91
+ end
92
+
93
+ end
94
+ end
@@ -0,0 +1,39 @@
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 StreamFilter < AdObject
29
+
30
+ field :filter_key, 'string'
31
+ field :name, 'string'
32
+ field :type, 'string'
33
+ has_no_id
34
+ has_no_get
35
+ has_no_post
36
+ has_no_delete
37
+
38
+ end
39
+ end
@@ -56,6 +56,10 @@ module FacebookAds
56
56
  end
57
57
  end
58
58
 
59
+ has_edge :assigned_monetization_properties do |edge|
60
+ edge.get 'AdMonetizationProperty'
61
+ end
62
+
59
63
  has_edge :assigned_pages do |edge|
60
64
  edge.get 'Page'
61
65
  end
@@ -0,0 +1,37 @@
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 ThreadSetting < AdObject
29
+
30
+ field :id, 'string'
31
+ field :payment_privacy_url, 'string'
32
+ field :whitelisted_domains, { list: 'string' }
33
+ has_no_post
34
+ has_no_delete
35
+
36
+ end
37
+ end
@@ -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 TimezoneOffset < AdObject
29
+
30
+ field :abbr, 'string'
31
+ field :isdst, 'bool'
32
+ field :offset, 'int'
33
+ field :time, 'string'
34
+ field :ts, 'int'
35
+ has_no_id
36
+ has_no_get
37
+ has_no_post
38
+ has_no_delete
39
+
40
+ end
41
+ end
@@ -111,10 +111,11 @@ module FacebookAds
111
111
  field :auth_method, 'string'
112
112
  field :birthday, 'string'
113
113
  field :can_review_measurement_request, 'bool'
114
+ field :context, 'UserContext'
114
115
  field :cover, 'UserCoverPhoto'
115
116
  field :currency, 'Currency'
116
117
  field :devices, { list: 'UserDevice' }
117
- field :education, { list: 'object' }
118
+ field :education, { list: 'EducationExperience' }
118
119
  field :email, 'string'
119
120
  field :favorite_athletes, { list: 'Experience' }
120
121
  field :favorite_teams, { list: 'Experience' }
@@ -162,7 +163,7 @@ module FacebookAds
162
163
  field :video_upload_limits, 'VideoUploadLimits'
163
164
  field :viewer_can_send_gift, 'bool'
164
165
  field :website, 'string'
165
- field :work, { list: 'object' }
166
+ field :work, { list: 'WorkExperience' }
166
167
 
167
168
  has_edge :access_tokens do |edge|
168
169
  edge.delete
@@ -199,6 +200,11 @@ module FacebookAds
199
200
  end
200
201
 
201
202
  has_edge :achievements do |edge|
203
+ edge.get do |api|
204
+ api.has_param :app_id_filter, 'int'
205
+ api.has_param :object, 'object'
206
+ api.has_param :type, 'string'
207
+ end
202
208
  edge.post do |api|
203
209
  api.has_param :added, 'string'
204
210
  api.has_param :alias, 'string'
@@ -258,6 +264,19 @@ module FacebookAds
258
264
 
259
265
  has_edge :albums do |edge|
260
266
  edge.get 'Album'
267
+ edge.post 'Album' do |api|
268
+ api.has_param :contributors, { list: 'int' }
269
+ api.has_param :description, 'string'
270
+ api.has_param :is_default, 'bool'
271
+ api.has_param :location, 'string'
272
+ api.has_param :make_shared_album, 'bool'
273
+ api.has_param :message, 'string'
274
+ api.has_param :name, 'string'
275
+ api.has_param :place, 'object'
276
+ api.has_param :privacy, 'string'
277
+ api.has_param :tags, { list: 'int' }
278
+ api.has_param :visible, 'string'
279
+ end
261
280
  end
262
281
 
263
282
  has_edge :applications do |edge|
@@ -274,6 +293,19 @@ module FacebookAds
274
293
  edge.get 'AppRequest'
275
294
  end
276
295
 
296
+ has_edge :asset3ds do |edge|
297
+ edge.get 'WithAsset3D'
298
+ edge.post 'WithAsset3D' do |api|
299
+ api.has_param :depth_image, 'file'
300
+ api.has_param :depth_image_url, 'string'
301
+ api.has_param :depth_map_generation_metadata, 'hash'
302
+ api.has_param :fallback_image, 'file'
303
+ api.has_param :fallback_image_url, 'string'
304
+ api.has_param :file, 'file'
305
+ api.has_param :file_url, 'string'
306
+ end
307
+ end
308
+
277
309
  has_edge :assigned_ad_accounts do |edge|
278
310
  edge.get 'AdAccount'
279
311
  end
@@ -284,6 +316,10 @@ module FacebookAds
284
316
  end
285
317
  end
286
318
 
319
+ has_edge :assigned_monetization_properties do |edge|
320
+ edge.get 'AdMonetizationProperty'
321
+ end
322
+
287
323
  has_edge :assigned_pages do |edge|
288
324
  edge.get 'Page'
289
325
  end
@@ -298,6 +334,12 @@ module FacebookAds
298
334
  end
299
335
  end
300
336
 
337
+ has_edge :bulkcontacts do |edge|
338
+ edge.delete do |api|
339
+ api.has_param :contact_surface, { enum: %w{CONNECTIONS CONTACTSAPP GROWTH_CONTACT_IMPORTER MESSENGER ORIGINAL }}
340
+ end
341
+ end
342
+
301
343
  has_edge :business_users do |edge|
302
344
  edge.get 'BusinessUser'
303
345
  end
@@ -497,42 +539,6 @@ module FacebookAds
497
539
  end
498
540
  end
499
541
 
500
- has_edge :games_achieves do |edge|
501
- edge.post do |api|
502
- api.has_param :added, 'string'
503
- api.has_param :alias, 'string'
504
- api.has_param :android_key_hash, 'string'
505
- api.has_param :client_secret, 'string'
506
- api.has_param :created_time, 'datetime'
507
- api.has_param :end_time, 'datetime'
508
- api.has_param :expires_in, 'int'
509
- api.has_param :fb_channel, 'string'
510
- api.has_param :fb_explicitly_shared, 'bool'
511
- api.has_param :image_height, 'int'
512
- api.has_param :image_secure_url, 'string'
513
- api.has_param :image_type, 'string'
514
- api.has_param :image_url, 'string'
515
- api.has_param :image_user_generated, 'bool'
516
- api.has_param :image_width, 'int'
517
- api.has_param :ios_bundle_id, 'string'
518
- api.has_param :message, 'string'
519
- api.has_param :no_action_link, 'bool'
520
- api.has_param :no_feed_story, 'bool'
521
- api.has_param :notify, 'bool'
522
- api.has_param :place, 'string'
523
- api.has_param :preview, 'bool'
524
- api.has_param :privacy, 'string'
525
- api.has_param :proxied_app_id, 'string'
526
- api.has_param :ref, 'string'
527
- api.has_param :scrape, 'bool'
528
- api.has_param :start_time, 'datetime'
529
- api.has_param :tags, { list: 'int' }
530
- api.has_param :to, 'string'
531
- api.has_param :user_selected_place, 'bool'
532
- api.has_param :user_selected_tags, 'bool'
533
- end
534
- end
535
-
536
542
  has_edge :games_plays do |edge|
537
543
  edge.post do |api|
538
544
  api.has_param :added, 'string'
@@ -614,9 +620,19 @@ module FacebookAds
614
620
  end
615
621
 
616
622
  has_edge :likes do |edge|
623
+ edge.delete do |api|
624
+ api.has_param :uid, 'int'
625
+ api.has_param :url, 'string'
626
+ end
617
627
  edge.get 'Page' do |api|
618
628
  api.has_param :target_id, 'string'
619
629
  end
630
+ edge.post 'User' do |api|
631
+ api.has_param :action, 'string'
632
+ api.has_param :message, 'string'
633
+ api.has_param :ref, 'string'
634
+ api.has_param :url, 'string'
635
+ end
620
636
  end
621
637
 
622
638
  has_edge :live_encoders do |edge|
@@ -660,6 +676,21 @@ module FacebookAds
660
676
  end
661
677
  end
662
678
 
679
+ has_edge :loggedoutpushsetnonces do |edge|
680
+ edge.post 'User' do |api|
681
+ api.has_param :device_id, 'string'
682
+ api.has_param :existing_nonce, 'string'
683
+ end
684
+ end
685
+
686
+ has_edge :loginapprovalskeys do |edge|
687
+ edge.post do |api|
688
+ api.has_param :check_code, 'string'
689
+ api.has_param :client_time, 'string'
690
+ api.has_param :machine_id, 'string'
691
+ end
692
+ end
693
+
663
694
  has_edge :mfs_account_pin_reset do |edge|
664
695
  edge.post 'User' do |api|
665
696
  api.has_param :password_token, 'string'
@@ -695,6 +726,56 @@ module FacebookAds
695
726
  end
696
727
  end
697
728
 
729
+ has_edge :objects do |edge|
730
+ edge.get 'OpenGraphObject' do |api|
731
+ api.has_param :type, 'object'
732
+ end
733
+ edge.post 'OpenGraphObject' do |api|
734
+ api.has_param :android_key_hash, 'string'
735
+ api.has_param :ios_bundle_id, 'string'
736
+ api.has_param :object, 'object'
737
+ api.has_param :privacy, 'string'
738
+ api.has_param :proxied_app_id, 'string'
739
+ api.has_param :type, 'string'
740
+ end
741
+ end
742
+
743
+ has_edge :open_graph_action_feed do |edge|
744
+ edge.post do |api|
745
+ api.has_param :added, 'string'
746
+ api.has_param :alias, 'string'
747
+ api.has_param :android_key_hash, 'string'
748
+ api.has_param :client_secret, 'string'
749
+ api.has_param :created_time, 'datetime'
750
+ api.has_param :end_time, 'datetime'
751
+ api.has_param :expires_in, 'int'
752
+ api.has_param :fb_channel, 'string'
753
+ api.has_param :fb_explicitly_shared, 'bool'
754
+ api.has_param :image_height, 'int'
755
+ api.has_param :image_secure_url, 'string'
756
+ api.has_param :image_type, 'string'
757
+ api.has_param :image_url, 'string'
758
+ api.has_param :image_user_generated, 'bool'
759
+ api.has_param :image_width, 'int'
760
+ api.has_param :ios_bundle_id, 'string'
761
+ api.has_param :message, 'string'
762
+ api.has_param :no_action_link, 'bool'
763
+ api.has_param :no_feed_story, 'bool'
764
+ api.has_param :notify, 'bool'
765
+ api.has_param :place, 'string'
766
+ api.has_param :preview, 'bool'
767
+ api.has_param :privacy, 'string'
768
+ api.has_param :proxied_app_id, 'string'
769
+ api.has_param :ref, 'string'
770
+ api.has_param :scrape, 'bool'
771
+ api.has_param :start_time, 'datetime'
772
+ api.has_param :tags, { list: 'int' }
773
+ api.has_param :to, 'string'
774
+ api.has_param :user_selected_place, 'bool'
775
+ api.has_param :user_selected_tags, 'bool'
776
+ end
777
+ end
778
+
698
779
  has_edge :permissions do |edge|
699
780
  edge.delete do |api|
700
781
  api.has_param :permission, 'string'
@@ -810,6 +891,10 @@ module FacebookAds
810
891
  end
811
892
 
812
893
  has_edge :screennames do |edge|
894
+ edge.delete do |api|
895
+ api.has_param :service_type, { enum: -> { User::SERVICE_TYPE }}
896
+ api.has_param :value, 'string'
897
+ end
813
898
  edge.post 'User' do |api|
814
899
  api.has_param :service_type, { enum: -> { User::SERVICE_TYPE }}
815
900
  api.has_param :value, 'string'
@@ -826,10 +911,18 @@ module FacebookAds
826
911
  end
827
912
  end
828
913
 
914
+ has_edge :stream_filters do |edge|
915
+ edge.get 'StreamFilter'
916
+ end
917
+
829
918
  has_edge :taggable_friends do |edge|
830
919
  edge.get 'UserTaggableFriend'
831
920
  end
832
921
 
922
+ has_edge :tagged_places do |edge|
923
+ edge.get 'PlaceTag'
924
+ end
925
+
833
926
  has_edge :television do |edge|
834
927
  edge.get 'Page' do |api|
835
928
  api.has_param :target_id, 'string'
@@ -844,6 +937,10 @@ module FacebookAds
844
937
  end
845
938
  end
846
939
 
940
+ has_edge :video_broadcasts do |edge|
941
+ edge.get 'LiveVideo'
942
+ end
943
+
847
944
  has_edge :videos do |edge|
848
945
  edge.get 'AdVideo' do |api|
849
946
  api.has_param :type, { enum: -> { AdVideo::TYPE }}