facebookbusiness 0.6.0.3 → 0.7.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad.rb +0 -1
  3. data/lib/facebook_ads/ad_objects/ad_account.rb +8 -16
  4. data/lib/facebook_ads/ad_objects/ad_account_activity.rb +3 -5
  5. data/lib/facebook_ads/ad_objects/ad_account_creation_request.rb +0 -1
  6. data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
  7. data/lib/facebook_ads/ad_objects/ad_account_matched_search_applications_edge_data.rb +1 -0
  8. data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +4 -0
  9. data/lib/facebook_ads/ad_objects/ad_activity.rb +8 -0
  10. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +7 -0
  11. data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +2 -2
  12. data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
  13. data/lib/facebook_ads/ad_objects/ad_creative.rb +6 -3
  14. data/lib/facebook_ads/ad_objects/{user_influence.rb → ad_creative_ad_disclaimer.rb} +4 -4
  15. data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +6 -0
  16. data/lib/facebook_ads/ad_objects/ad_creative_video_data.rb +1 -0
  17. data/lib/facebook_ads/ad_objects/ad_customization_rule_spec.rb +2 -0
  18. data/lib/facebook_ads/ad_objects/ad_network_analytics_sync_query_result.rb +1 -0
  19. data/lib/facebook_ads/ad_objects/ad_place_page_set.rb +1 -0
  20. data/lib/facebook_ads/ad_objects/ad_preview.rb +1 -0
  21. data/lib/facebook_ads/ad_objects/ad_report_run.rb +2 -0
  22. data/lib/facebook_ads/ad_objects/ad_set.rb +10 -2
  23. data/lib/facebook_ads/ad_objects/ad_study.rb +1 -0
  24. data/lib/facebook_ads/ad_objects/ad_video.rb +7 -26
  25. data/lib/facebook_ads/ad_objects/adgroup_activity.rb +4 -4
  26. data/lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb +5 -0
  27. data/lib/facebook_ads/ad_objects/{ads_interest.rb → adoptable_pet.rb} +18 -5
  28. data/lib/facebook_ads/ad_objects/ads_insights.rb +10 -0
  29. data/lib/facebook_ads/ad_objects/album.rb +7 -0
  30. data/lib/facebook_ads/ad_objects/application.rb +4 -12
  31. data/lib/facebook_ads/ad_objects/atlas_campaign.rb +2 -2
  32. data/lib/facebook_ads/ad_objects/automotive_model.rb +1 -0
  33. data/lib/facebook_ads/ad_objects/business.rb +24 -128
  34. data/lib/facebook_ads/ad_objects/{business_creative_folder_sharing_agreement.rb → business_agreement.rb} +2 -5
  35. data/lib/facebook_ads/ad_objects/business_asset_group.rb +0 -7
  36. data/lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb +1 -0
  37. data/lib/facebook_ads/ad_objects/business_role_request.rb +6 -0
  38. data/lib/facebook_ads/ad_objects/business_user.rb +6 -0
  39. data/lib/facebook_ads/ad_objects/campaign.rb +267 -5
  40. data/lib/facebook_ads/ad_objects/{request_history.rb → catalog_item_app_links.rb} +9 -14
  41. data/lib/facebook_ads/ad_objects/catalog_item_appeal_status.rb +1 -1
  42. data/lib/facebook_ads/ad_objects/comment.rb +1 -0
  43. data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +107 -0
  44. data/lib/facebook_ads/ad_objects/commerce_merchant_settings_setup_status.rb +41 -0
  45. data/lib/facebook_ads/ad_objects/commerce_order.rb +147 -0
  46. data/lib/facebook_ads/ad_objects/{business_creative.rb → commerce_order_transaction_detail.rb} +10 -12
  47. data/lib/facebook_ads/ad_objects/{client_transparency_status.rb → commerce_payout.rb} +6 -5
  48. data/lib/facebook_ads/ad_objects/cpas_parent_catalog_settings.rb +1 -0
  49. data/lib/facebook_ads/ad_objects/custom_audience.rb +1 -4
  50. data/lib/facebook_ads/ad_objects/custom_conversion.rb +1 -0
  51. data/lib/facebook_ads/ad_objects/destination.rb +1 -0
  52. data/lib/facebook_ads/ad_objects/event.rb +11 -0
  53. data/lib/facebook_ads/ad_objects/external_event_source.rb +1 -0
  54. data/lib/facebook_ads/ad_objects/flight.rb +1 -0
  55. data/lib/facebook_ads/ad_objects/group.rb +7 -36
  56. data/lib/facebook_ads/ad_objects/home_listing.rb +1 -0
  57. data/lib/facebook_ads/ad_objects/hotel.rb +1 -1
  58. data/lib/facebook_ads/ad_objects/hotel_room.rb +1 -0
  59. data/lib/facebook_ads/ad_objects/ig_media.rb +1 -0
  60. data/lib/facebook_ads/ad_objects/ig_user.rb +2 -0
  61. data/lib/facebook_ads/ad_objects/life_event.rb +0 -4
  62. data/lib/facebook_ads/ad_objects/media_fingerprint.rb +0 -1
  63. data/lib/facebook_ads/ad_objects/messenger_profile.rb +0 -1
  64. data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +0 -6
  65. data/lib/facebook_ads/ad_objects/open_graph_context.rb +0 -12
  66. data/lib/facebook_ads/ad_objects/page.rb +50 -50
  67. data/lib/facebook_ads/ad_objects/page_admin_note.rb +1 -0
  68. data/lib/facebook_ads/ad_objects/page_call_to_action.rb +12 -0
  69. data/lib/facebook_ads/ad_objects/page_change_proposal.rb +2 -0
  70. data/lib/facebook_ads/ad_objects/page_post.rb +9 -0
  71. data/lib/facebook_ads/ad_objects/partner_study.rb +0 -4
  72. data/lib/facebook_ads/ad_objects/{brand_audience.rb → payment_subscription.rb} +23 -9
  73. data/lib/facebook_ads/ad_objects/post.rb +11 -2
  74. data/lib/facebook_ads/ad_objects/product_catalog.rb +12 -1
  75. data/lib/facebook_ads/ad_objects/product_feed.rb +2 -0
  76. data/lib/facebook_ads/ad_objects/product_feed_upload_diagnostics_report.rb +38 -0
  77. data/lib/facebook_ads/ad_objects/product_item.rb +1 -0
  78. data/lib/facebook_ads/ad_objects/product_set.rb +3 -0
  79. data/lib/facebook_ads/ad_objects/{custom_audience_prefill_state.rb → product_set_metadata.rb} +3 -3
  80. data/lib/facebook_ads/ad_objects/profile.rb +2 -0
  81. data/lib/facebook_ads/ad_objects/profile_picture_source.rb +4 -0
  82. data/lib/facebook_ads/ad_objects/publisher_block_list.rb +0 -6
  83. data/lib/facebook_ads/ad_objects/rtb_dynamic_post.rb +0 -4
  84. data/lib/facebook_ads/ad_objects/saved_audience.rb +1 -0
  85. data/lib/facebook_ads/ad_objects/server_side/content.rb +75 -13
  86. data/lib/facebook_ads/ad_objects/server_side/custom_data.rb +24 -6
  87. data/lib/facebook_ads/ad_objects/server_side/event.rb +62 -3
  88. data/lib/facebook_ads/ad_objects/server_side/event_request.rb +80 -6
  89. data/lib/facebook_ads/ad_objects/server_side/user_data.rb +132 -17
  90. data/lib/facebook_ads/ad_objects/server_side/util.rb +204 -150
  91. data/lib/facebook_ads/ad_objects/store_catalog_settings.rb +0 -1
  92. data/lib/facebook_ads/ad_objects/system_user.rb +6 -0
  93. data/lib/facebook_ads/ad_objects/targeting.rb +1 -0
  94. data/lib/facebook_ads/ad_objects/{creative_asset_tag.rb → targeting_relaxation.rb} +2 -2
  95. data/lib/facebook_ads/ad_objects/third_party_measurement_report_dataset.rb +1 -0
  96. data/lib/facebook_ads/ad_objects/user.rb +6 -38
  97. data/lib/facebook_ads/ad_objects/user_taggable_friend.rb +1 -0
  98. data/lib/facebook_ads/ad_objects/vehicle.rb +1 -1
  99. data/lib/facebook_ads/ad_objects/vehicle_offer.rb +1 -0
  100. data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +4 -0
  101. data/lib/facebook_ads/ad_objects/{business_pixel_tos.rb → work_meeting_link.rb} +2 -2
  102. data/lib/facebook_ads/version.rb +2 -2
  103. metadata +45 -22
  104. data/lib/facebook_ads/ad_objects/business_creative_folder.rb +0 -79
  105. data/lib/facebook_ads/ad_objects/business_image.rb +0 -94
  106. data/lib/facebook_ads/ad_objects/instagram_comment.rb +0 -47
  107. data/lib/facebook_ads/ad_objects/messenger_platform_referral.rb +0 -39
  108. data/lib/facebook_ads/ad_objects/open_graph_object.rb +0 -70
  109. data/lib/facebook_ads/ad_objects/streaming_reaction.rb +0 -50
  110. data/lib/facebook_ads/ad_objects/video_game_show.rb +0 -43
  111. data/lib/facebook_ads/ad_objects/whats_app_business_profile.rb +0 -36
@@ -1,94 +0,0 @@
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 BusinessImage < AdObject
29
- VALIDATION_AD_PLACEMENTS = [
30
- "AUDIENCE_NETWORK_INSTREAM_VIDEO",
31
- "AUDIENCE_NETWORK_INSTREAM_VIDEO_MOBILE",
32
- "AUDIENCE_NETWORK_REWARDED_VIDEO",
33
- "DESKTOP_FEED_STANDARD",
34
- "FACEBOOK_STORY_MOBILE",
35
- "INSTAGRAM_STANDARD",
36
- "INSTAGRAM_STORY",
37
- "INSTANT_ARTICLE_STANDARD",
38
- "INSTREAM_VIDEO_DESKTOP",
39
- "INSTREAM_VIDEO_MOBILE",
40
- "MESSENGER_MOBILE_INBOX_MEDIA",
41
- "MESSENGER_MOBILE_STORY_MEDIA",
42
- "MOBILE_FEED_STANDARD",
43
- "MOBILE_FULLWIDTH",
44
- "MOBILE_INTERSTITIAL",
45
- "MOBILE_MEDIUM_RECTANGLE",
46
- "MOBILE_NATIVE",
47
- "RIGHT_COLUMN_STANDARD",
48
- "SUGGESTED_VIDEO_MOBILE",
49
- ]
50
-
51
-
52
- field :business, 'Business'
53
- field :creation_time, 'datetime'
54
- field :hash, 'string'
55
- field :height, 'int'
56
- field :id, 'string'
57
- field :media_library_url, 'string'
58
- field :name, 'string'
59
- field :url, 'string'
60
- field :url_128, 'string'
61
- field :width, 'int'
62
- field :ad_placements_validation_only, 'bool'
63
- field :bytes, 'object'
64
- field :creative_folder_id, 'string'
65
- field :validation_ad_placements, { list: { enum: -> { VALIDATION_AD_PLACEMENTS }} }
66
- has_no_post
67
-
68
- has_edge :ad_placement_validation_results do |edge|
69
- edge.get
70
- end
71
-
72
- has_edge :creative_asset_tags do |edge|
73
- edge.delete do |api|
74
- api.has_param :business_id, 'string'
75
- api.has_param :tag_name, 'string'
76
- end
77
- edge.get 'CreativeAssetTag' do |api|
78
- api.has_param :business_id, 'string'
79
- end
80
- edge.post 'BusinessImage' do |api|
81
- api.has_param :business_id, 'string'
82
- api.has_param :tag_name, 'string'
83
- end
84
- end
85
-
86
- has_edge :insights do |edge|
87
- edge.get do |api|
88
- api.has_param :breakdowns, { list: { enum: %w{ad_id age country device_platform gender objective optimization_goal platform_position publisher_platform }} }
89
- api.has_param :time_range, 'object'
90
- end
91
- end
92
-
93
- end
94
- end
@@ -1,47 +0,0 @@
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 InstagramComment < AdObject
29
-
30
- field :comment_type, 'string'
31
- field :created_at, 'datetime'
32
- field :id, 'string'
33
- field :instagram_comment_id, 'string'
34
- field :instagram_user, 'InstagramUser'
35
- field :mentioned_instagram_users, { list: 'InstagramUser' }
36
- field :message, 'string'
37
-
38
- has_edge :replies do |edge|
39
- edge.get 'InstagramComment'
40
- edge.post 'InstagramComment' do |api|
41
- api.has_param :ad_id, 'object'
42
- api.has_param :message, 'string'
43
- end
44
- end
45
-
46
- end
47
- end
@@ -1,39 +0,0 @@
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 MessengerPlatformReferral < AdObject
29
-
30
- field :ad_id, 'string'
31
- field :id, 'string'
32
- field :ref, 'string'
33
- field :source, 'string'
34
- field :type, 'string'
35
- has_no_post
36
- has_no_delete
37
-
38
- end
39
- end
@@ -1,70 +0,0 @@
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 OpenGraphObject < AdObject
29
-
30
- field :admins, { list: 'object' }
31
- field :application, 'object'
32
- field :audio, { list: 'object' }
33
- field :created_time, 'datetime'
34
- field :description, 'string'
35
- field :determiner, 'string'
36
- field :engagement, 'Engagement'
37
- field :id, 'string'
38
- field :image, { list: 'object' }
39
- field :is_scraped, 'bool'
40
- field :locale, 'object'
41
- field :location, 'Location'
42
- field :post_action_id, 'string'
43
- field :profile_id, 'object'
44
- field :restrictions, 'object'
45
- field :see_also, { list: 'string' }
46
- field :site_name, 'string'
47
- field :title, 'string'
48
- field :type, 'string'
49
- field :updated_time, 'datetime'
50
- field :video, { list: 'object' }
51
- has_no_post
52
- has_no_delete
53
-
54
- has_edge :comments do |edge|
55
- edge.get 'Comment' do |api|
56
- api.has_param :filter, { enum: -> { Comment::FILTER }}
57
- api.has_param :live_filter, { enum: -> { Comment::LIVE_FILTER }}
58
- api.has_param :order, { enum: -> { Comment::ORDER }}
59
- api.has_param :since, 'datetime'
60
- end
61
- end
62
-
63
- has_edge :reactions do |edge|
64
- edge.get 'Profile' do |api|
65
- api.has_param :type, { enum: -> { Profile::TYPE }}
66
- end
67
- end
68
-
69
- end
70
- end
@@ -1,50 +0,0 @@
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 StreamingReaction < AdObject
29
- REACTION_TYPE = [
30
- "ANGRY",
31
- "HAHA",
32
- "LIKE",
33
- "LOVE",
34
- "NONE",
35
- "PRIDE",
36
- "SAD",
37
- "THANKFUL",
38
- "WOW",
39
- ]
40
-
41
-
42
- field :count, 'int'
43
- field :reaction_type, { enum: -> { REACTION_TYPE }}
44
- has_no_id
45
- has_no_get
46
- has_no_post
47
- has_no_delete
48
-
49
- end
50
- end
@@ -1,43 +0,0 @@
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 VideoGameShow < AdObject
29
- ACTION = [
30
- "END_GAME",
31
- "START_GAME",
32
- ]
33
-
34
-
35
- field :end_time, 'datetime'
36
- field :game_status, 'string'
37
- field :game_type, 'string'
38
- field :id, 'string'
39
- field :start_time, 'datetime'
40
- has_no_delete
41
-
42
- end
43
- end
@@ -1,36 +0,0 @@
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 WhatsAppBusinessProfile < AdObject
29
-
30
- field :id, 'string'
31
- field :name_verification, 'object'
32
- field :verified_name, 'string'
33
- has_no_delete
34
-
35
- end
36
- end