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
@@ -70,7 +70,7 @@ module FacebookAds
70
70
 
71
71
  has_edge :insights do |edge|
72
72
  edge.get do |api|
73
- api.has_param :breakdowns, { list: { enum: %w{ad_id age country device_platform gender platform_position publisher_platform }} }
73
+ api.has_param :breakdowns, { list: { enum: %w{ad_id age country device_platform gender objective optimization_goal platform_position publisher_platform }} }
74
74
  api.has_param :time_range, 'object'
75
75
  end
76
76
  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 BusinessSettingLogsData < AdObject
29
+
30
+ field :actor, 'object'
31
+ field :event_object, 'object'
32
+ field :event_time, 'string'
33
+ field :event_type, 'string'
34
+ field :extra_data, 'object'
35
+ has_no_id
36
+ has_no_get
37
+ has_no_post
38
+ has_no_delete
39
+
40
+ end
41
+ end
@@ -59,6 +59,10 @@ module FacebookAds
59
59
  end
60
60
  end
61
61
 
62
+ has_edge :assigned_monetization_properties do |edge|
63
+ edge.get 'AdMonetizationProperty'
64
+ end
65
+
62
66
  has_edge :assigned_pages do |edge|
63
67
  edge.get 'Page'
64
68
  end
@@ -0,0 +1,44 @@
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 CalibratorExistingRule < AdObject
29
+
30
+ field :_7d_volume, 'int'
31
+ field :creation_source, 'string'
32
+ field :creation_time, 'datetime'
33
+ field :creator, 'string'
34
+ field :event_type, 'string'
35
+ field :id, 'string'
36
+ field :rule, 'string'
37
+ field :rule_type, 'string'
38
+ field :sample_urls, { list: 'string' }
39
+ field :status, 'string'
40
+ has_no_post
41
+ has_no_delete
42
+
43
+ end
44
+ end
@@ -140,7 +140,6 @@ module FacebookAds
140
140
  field :prefill, 'bool'
141
141
  field :product_set_id, 'string'
142
142
  field :source, 'string'
143
- field :study_spec, 'hash'
144
143
  field :tags, { list: 'string' }
145
144
  field :video_group_ids, { list: 'string' }
146
145
 
@@ -72,6 +72,20 @@ module FacebookAds
72
72
  field :event_source_id, 'string'
73
73
  field :custom_conversion_id, 'string'
74
74
 
75
+ has_edge :activities do |edge|
76
+ edge.get 'CustomConversionActivities' do |api|
77
+ api.has_param :end_time, 'datetime'
78
+ api.has_param :event_type, { enum: -> { CustomConversionActivities::EVENT_TYPE }}
79
+ api.has_param :start_time, 'datetime'
80
+ end
81
+ end
82
+
83
+ has_edge :adaccounts do |edge|
84
+ edge.get 'AdAccount' do |api|
85
+ api.has_param :business, 'string'
86
+ end
87
+ end
88
+
75
89
  has_edge :stats do |edge|
76
90
  edge.get 'CustomConversionStatsResult' do |api|
77
91
  api.has_param :aggregation, { enum: -> { CustomConversionStatsResult::AGGREGATION }}
@@ -0,0 +1,46 @@
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 CustomConversionActivities < AdObject
29
+ EVENT_TYPE = [
30
+ "conversion_create",
31
+ "conversion_delete",
32
+ "conversion_update",
33
+ ]
34
+
35
+
36
+ field :app_id, 'int'
37
+ field :data, 'string'
38
+ field :event_type, 'string'
39
+ field :timestamp, 'datetime'
40
+ has_no_id
41
+ has_no_get
42
+ has_no_post
43
+ has_no_delete
44
+
45
+ end
46
+ end
@@ -0,0 +1,38 @@
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 CustomUserSettings < AdObject
29
+
30
+ field :page_level_persistent_menu, { list: 'object' }
31
+ field :user_level_persistent_menu, { list: 'object' }
32
+ has_no_id
33
+ has_no_get
34
+ has_no_post
35
+ has_no_delete
36
+
37
+ end
38
+ end
@@ -40,7 +40,7 @@ module FacebookAds
40
40
  field :sanitized_images, { list: 'string' }
41
41
  field :types, { list: 'string' }
42
42
  field :url, 'string'
43
- has_no_post
43
+ field :target_radius_in_km, 'double'
44
44
  has_no_delete
45
45
 
46
46
  end
@@ -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 DogNotificationSettings < AdObject
29
+
30
+ field :dog_check_key, 'string'
31
+ field :id, 'string'
32
+ field :subscription_status_per_channel, 'hash'
33
+ has_no_delete
34
+
35
+ end
36
+ end
@@ -33,11 +33,13 @@ module FacebookAds
33
33
  field :product_catalog, 'ProductCatalog'
34
34
  field :product_set, 'ProductSet'
35
35
  field :valid_labels, 'map<string, list<string>>'
36
+ field :bundles, { list: 'string' }
36
37
 
37
38
  has_edge :bundles do |edge|
38
39
  edge.delete do |api|
39
40
  api.has_param :bundle, 'string'
40
41
  end
42
+ edge.get 'DynamicItemDisplayBundle'
41
43
  edge.post 'DynamicItemDisplayBundleFolder' do |api|
42
44
  api.has_param :bundle, 'string'
43
45
  end
@@ -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 EducationExperience < AdObject
29
+
30
+ field :classes, { list: 'Experience' }
31
+ field :concentration, { list: 'Page' }
32
+ field :degree, 'Page'
33
+ field :id, 'string'
34
+ field :school, 'Page'
35
+ field :type, 'string'
36
+ field :with, { list: 'User' }
37
+ field :year, 'Page'
38
+ has_no_post
39
+ has_no_delete
40
+
41
+ end
42
+ end
@@ -117,8 +117,35 @@ module FacebookAds
117
117
  edge.get 'Profile'
118
118
  end
119
119
 
120
+ has_edge :attending do |edge|
121
+ edge.get 'User' do |api|
122
+ api.has_param :user, 'int'
123
+ end
124
+ end
125
+
120
126
  has_edge :comments do |edge|
121
127
  edge.get 'NullNode'
128
+ edge.post 'Comment' do |api|
129
+ api.has_param :attachment_id, 'string'
130
+ api.has_param :attachment_share_url, 'string'
131
+ api.has_param :attachment_url, 'string'
132
+ api.has_param :comment_privacy_value, { enum: -> { Comment::COMMENT_PRIVACY_VALUE }}
133
+ api.has_param :facepile_mentioned_ids, { list: 'string' }
134
+ api.has_param :feedback_source, 'string'
135
+ api.has_param :is_offline, 'bool'
136
+ api.has_param :message, 'string'
137
+ api.has_param :nectar_module, 'string'
138
+ api.has_param :object_id, 'string'
139
+ api.has_param :parent_comment_id, 'object'
140
+ api.has_param :text, 'string'
141
+ api.has_param :tracking, 'string'
142
+ end
143
+ end
144
+
145
+ has_edge :declined do |edge|
146
+ edge.get 'User' do |api|
147
+ api.has_param :user, 'int'
148
+ end
122
149
  end
123
150
 
124
151
  has_edge :feed do |edge|
@@ -239,6 +266,12 @@ module FacebookAds
239
266
  end
240
267
  end
241
268
 
269
+ has_edge :interested do |edge|
270
+ edge.get 'User' do |api|
271
+ api.has_param :user, 'int'
272
+ end
273
+ end
274
+
242
275
  has_edge :live_videos do |edge|
243
276
  edge.get 'NullNode'
244
277
  edge.post 'LiveVideo' do |api|
@@ -266,6 +299,18 @@ module FacebookAds
266
299
  end
267
300
  end
268
301
 
302
+ has_edge :maybe do |edge|
303
+ edge.get 'User' do |api|
304
+ api.has_param :user, 'int'
305
+ end
306
+ end
307
+
308
+ has_edge :noreply do |edge|
309
+ edge.get 'User' do |api|
310
+ api.has_param :user, 'int'
311
+ end
312
+ end
313
+
269
314
  has_edge :photos do |edge|
270
315
  edge.get 'NullNode'
271
316
  edge.post 'Photo' do |api|
@@ -338,6 +383,79 @@ module FacebookAds
338
383
 
339
384
  has_edge :videos do |edge|
340
385
  edge.get 'NullNode'
386
+ edge.post 'AdVideo' do |api|
387
+ api.has_param :adaptive_type, 'string'
388
+ api.has_param :animated_effect_id, 'int'
389
+ api.has_param :application_id, 'string'
390
+ api.has_param :asked_fun_fact_prompt_id, 'int'
391
+ api.has_param :attribution_app_id, 'string'
392
+ api.has_param :audio_story_wave_animation_handle, 'string'
393
+ api.has_param :composer_entry_picker, 'string'
394
+ api.has_param :composer_entry_point, 'string'
395
+ api.has_param :composer_entry_time, 'int'
396
+ api.has_param :composer_session_events_log, 'string'
397
+ api.has_param :composer_session_id, 'string'
398
+ api.has_param :composer_source_surface, 'string'
399
+ api.has_param :composer_type, 'string'
400
+ api.has_param :container_type, { enum: -> { AdVideo::CONTAINER_TYPE }}
401
+ api.has_param :content_category, { enum: -> { AdVideo::CONTENT_CATEGORY }}
402
+ api.has_param :description, 'string'
403
+ api.has_param :embeddable, 'bool'
404
+ api.has_param :end_offset, 'int'
405
+ api.has_param :fbuploader_video_file_chunk, 'string'
406
+ api.has_param :file_size, 'int'
407
+ api.has_param :file_url, 'string'
408
+ api.has_param :fisheye_video_cropped, 'bool'
409
+ api.has_param :formatting, { enum: -> { AdVideo::FORMATTING }}
410
+ api.has_param :fov, 'int'
411
+ api.has_param :front_z_rotation, 'double'
412
+ api.has_param :fun_fact_prompt_id, 'int'
413
+ api.has_param :fun_fact_toastee_id, 'int'
414
+ api.has_param :guide, { list: { list: 'int' } }
415
+ api.has_param :guide_enabled, 'bool'
416
+ api.has_param :has_nickname, 'bool'
417
+ api.has_param :holiday_card, 'string'
418
+ api.has_param :initial_heading, 'int'
419
+ api.has_param :initial_pitch, 'int'
420
+ api.has_param :instant_game_entry_point_data, 'string'
421
+ api.has_param :is_boost_intended, 'bool'
422
+ api.has_param :is_explicit_share, 'bool'
423
+ api.has_param :is_group_linking_post, 'bool'
424
+ api.has_param :is_voice_clip, 'bool'
425
+ api.has_param :location_source_id, 'string'
426
+ api.has_param :manual_privacy, 'bool'
427
+ api.has_param :offer_like_post_id, 'int'
428
+ api.has_param :og_action_type_id, 'string'
429
+ api.has_param :og_icon_id, 'string'
430
+ api.has_param :og_object_id, 'string'
431
+ api.has_param :og_phrase, 'string'
432
+ api.has_param :og_suggestion_mechanism, 'string'
433
+ api.has_param :original_fov, 'int'
434
+ api.has_param :original_projection_type, { enum: -> { AdVideo::ORIGINAL_PROJECTION_TYPE }}
435
+ api.has_param :publish_event_id, 'int'
436
+ api.has_param :react_mode_metadata, 'string'
437
+ api.has_param :referenced_sticker_id, 'string'
438
+ api.has_param :replace_video_id, 'string'
439
+ api.has_param :sales_promo_id, 'int'
440
+ api.has_param :slideshow_spec, 'hash'
441
+ api.has_param :source, 'string'
442
+ api.has_param :spherical, 'bool'
443
+ api.has_param :start_offset, 'int'
444
+ api.has_param :swap_mode, { enum: -> { AdVideo::SWAP_MODE }}
445
+ api.has_param :text_format_metadata, 'string'
446
+ api.has_param :throwback_camera_roll_media, 'string'
447
+ api.has_param :thumb, 'file'
448
+ api.has_param :time_since_original_post, 'int'
449
+ api.has_param :title, 'string'
450
+ api.has_param :transcode_setting_properties, 'string'
451
+ api.has_param :unpublished_content_type, { enum: -> { AdVideo::UNPUBLISHED_CONTENT_TYPE }}
452
+ api.has_param :upload_phase, { enum: -> { AdVideo::UPLOAD_PHASE }}
453
+ api.has_param :upload_session_id, 'string'
454
+ api.has_param :upload_setting_properties, 'string'
455
+ api.has_param :video_file_chunk, 'string'
456
+ api.has_param :video_start_time_ms, 'int'
457
+ api.has_param :waterfall_id, 'string'
458
+ end
341
459
  end
342
460
 
343
461
  end