facebookbusiness 0.3.3.0 → 0.3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/facebook_ads/ad_objects/ad.rb +0 -6
- data/lib/facebook_ads/ad_objects/ad_account.rb +2 -104
- data/lib/facebook_ads/ad_objects/ad_account_creation_request.rb +1 -38
- data/lib/facebook_ads/ad_objects/ad_creative.rb +0 -2
- data/lib/facebook_ads/ad_objects/ad_set.rb +0 -12
- data/lib/facebook_ads/ad_objects/ad_video.rb +0 -26
- data/lib/facebook_ads/ad_objects/ads_insights.rb +1 -0
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +0 -23
- data/lib/facebook_ads/ad_objects/album.rb +0 -6
- data/lib/facebook_ads/ad_objects/application.rb +1 -150
- data/lib/facebook_ads/ad_objects/audio_copyright.rb +1 -7
- data/lib/facebook_ads/ad_objects/business.rb +8 -101
- data/lib/facebook_ads/ad_objects/business_role_request.rb +0 -7
- data/lib/facebook_ads/ad_objects/business_user.rb +0 -8
- data/lib/facebook_ads/ad_objects/campaign.rb +0 -4
- data/lib/facebook_ads/ad_objects/canvas.rb +1 -10
- data/lib/facebook_ads/ad_objects/custom_audience.rb +0 -3
- data/lib/facebook_ads/ad_objects/custom_conversion.rb +0 -15
- data/lib/facebook_ads/ad_objects/destination.rb +1 -0
- data/lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb +0 -2
- data/lib/facebook_ads/ad_objects/event.rb +0 -118
- data/lib/facebook_ads/ad_objects/event_source_group.rb +4 -4
- data/lib/facebook_ads/ad_objects/extended_credit.rb +0 -4
- data/lib/facebook_ads/ad_objects/flight.rb +1 -0
- data/lib/facebook_ads/ad_objects/group.rb +0 -20
- data/lib/facebook_ads/ad_objects/hotel.rb +0 -13
- data/lib/facebook_ads/ad_objects/hotel_room.rb +0 -1
- data/lib/facebook_ads/ad_objects/instagram_user.rb +0 -30
- data/lib/facebook_ads/ad_objects/lead.rb +1 -0
- data/lib/facebook_ads/ad_objects/leadgen_form.rb +0 -8
- data/lib/facebook_ads/ad_objects/life_event.rb +2 -15
- data/lib/facebook_ads/ad_objects/link.rb +0 -29
- data/lib/facebook_ads/ad_objects/live_video.rb +0 -13
- data/lib/facebook_ads/ad_objects/measurement_report.rb +1 -0
- data/lib/facebook_ads/ad_objects/media_fingerprint.rb +1 -6
- data/lib/facebook_ads/ad_objects/music_video_copyright.rb +0 -1
- data/lib/facebook_ads/ad_objects/native_offer.rb +0 -21
- data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +0 -44
- data/lib/facebook_ads/ad_objects/open_graph_context.rb +0 -4
- data/lib/facebook_ads/ad_objects/open_graph_object.rb +1 -96
- data/lib/facebook_ads/ad_objects/oracle_transaction.rb +0 -4
- data/lib/facebook_ads/ad_objects/page.rb +4 -319
- data/lib/facebook_ads/ad_objects/page_admin_note.rb +1 -0
- data/lib/facebook_ads/ad_objects/page_call_to_action.rb +2 -0
- data/lib/facebook_ads/ad_objects/page_insights_async_export_run.rb +0 -4
- data/lib/facebook_ads/ad_objects/page_label.rb +1 -10
- data/lib/facebook_ads/ad_objects/page_post.rb +0 -30
- data/lib/facebook_ads/ad_objects/page_saved_filter.rb +1 -115
- data/lib/facebook_ads/ad_objects/photo.rb +1 -104
- data/lib/facebook_ads/ad_objects/post.rb +0 -68
- data/lib/facebook_ads/ad_objects/product_catalog.rb +1 -108
- data/lib/facebook_ads/ad_objects/product_event_stat.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_group.rb +0 -18
- data/lib/facebook_ads/ad_objects/product_item.rb +0 -18
- data/lib/facebook_ads/ad_objects/product_set.rb +0 -6
- data/lib/facebook_ads/ad_objects/reach_frequency_prediction.rb +0 -8
- data/lib/facebook_ads/ad_objects/rtb_dynamic_post.rb +1 -13
- data/lib/facebook_ads/ad_objects/saved_message_response.rb +2 -21
- data/lib/facebook_ads/ad_objects/system_user.rb +0 -4
- data/lib/facebook_ads/ad_objects/user.rb +2 -207
- data/lib/facebook_ads/ad_objects/video_copyright.rb +1 -0
- data/lib/facebook_ads/ad_objects/video_copyright_rule.rb +1 -0
- data/lib/facebook_ads/ad_objects/video_list.rb +0 -24
- data/lib/facebook_ads/version.rb +1 -1
- metadata +2 -39
- data/lib/facebook_ads/ad_objects/ads_data_partner.rb +0 -43
- data/lib/facebook_ads/ad_objects/audience_insights_rule.rb +0 -44
- data/lib/facebook_ads/ad_objects/brand_audience.rb +0 -45
- data/lib/facebook_ads/ad_objects/business_activity_log_event.rb +0 -55
- data/lib/facebook_ads/ad_objects/business_asset_sharing_agreement.rb +0 -46
- data/lib/facebook_ads/ad_objects/business_product_catalog_tos.rb +0 -38
- data/lib/facebook_ads/ad_objects/business_setting_logs_data.rb +0 -41
- data/lib/facebook_ads/ad_objects/calibrator_existing_rule.rb +0 -52
- data/lib/facebook_ads/ad_objects/canvas_body_element.rb +0 -37
- data/lib/facebook_ads/ad_objects/custom_conversion_activities.rb +0 -46
- data/lib/facebook_ads/ad_objects/dog_notification_settings.rb +0 -36
- data/lib/facebook_ads/ad_objects/education_experience.rb +0 -42
- data/lib/facebook_ads/ad_objects/expirable_post.rb +0 -54
- data/lib/facebook_ads/ad_objects/flight_catalog_settings.rb +0 -36
- data/lib/facebook_ads/ad_objects/invoice_campaign.rb +0 -44
- data/lib/facebook_ads/ad_objects/lead_gen_conditional_questions_group.rb +0 -37
- data/lib/facebook_ads/ad_objects/lead_gen_context_card.rb +0 -43
- data/lib/facebook_ads/ad_objects/lead_gen_data_draft.rb +0 -90
- data/lib/facebook_ads/ad_objects/lead_gen_legal_content.rb +0 -37
- data/lib/facebook_ads/ad_objects/live_with_guest_session.rb +0 -54
- data/lib/facebook_ads/ad_objects/owned_domain.rb +0 -42
- data/lib/facebook_ads/ad_objects/page_videos_you_can_use.rb +0 -38
- data/lib/facebook_ads/ad_objects/partner_category.rb +0 -51
- data/lib/facebook_ads/ad_objects/partner_integration_linked.rb +0 -120
- data/lib/facebook_ads/ad_objects/place_tag.rb +0 -37
- data/lib/facebook_ads/ad_objects/platform_session_key.rb +0 -36
- data/lib/facebook_ads/ad_objects/product_da_event_samples_batch.rb +0 -54
- data/lib/facebook_ads/ad_objects/saved_message_response_macro.rb +0 -39
- data/lib/facebook_ads/ad_objects/screen_name.rb +0 -39
- data/lib/facebook_ads/ad_objects/status.rb +0 -94
- data/lib/facebook_ads/ad_objects/stream_filter.rb +0 -39
- data/lib/facebook_ads/ad_objects/thread_setting.rb +0 -37
- data/lib/facebook_ads/ad_objects/timezone_offset.rb +0 -41
- data/lib/facebook_ads/ad_objects/user_context.rb +0 -39
- data/lib/facebook_ads/ad_objects/user_invitable_friend.rb +0 -49
- data/lib/facebook_ads/ad_objects/with_asset3_d.rb +0 -35
- data/lib/facebook_ads/ad_objects/work_experience.rb +0 -44
@@ -1,37 +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 PlaceTag < AdObject
|
29
|
-
|
30
|
-
field :created_time, 'datetime'
|
31
|
-
field :id, 'string'
|
32
|
-
field :place, 'Page'
|
33
|
-
has_no_post
|
34
|
-
has_no_delete
|
35
|
-
|
36
|
-
end
|
37
|
-
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 PlatformSessionKey < AdObject
|
29
|
-
|
30
|
-
field :id, 'string'
|
31
|
-
has_no_get
|
32
|
-
has_no_post
|
33
|
-
has_no_delete
|
34
|
-
|
35
|
-
end
|
36
|
-
end
|
@@ -1,54 +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 ProductDaEventSamplesBatch < AdObject
|
29
|
-
AGGREGATION_TYPE = [
|
30
|
-
"CONTENT_ID",
|
31
|
-
"CONTENT_URL",
|
32
|
-
]
|
33
|
-
|
34
|
-
EVENT = [
|
35
|
-
"AddToCart",
|
36
|
-
"AddToWishlist",
|
37
|
-
"InitiateCheckout",
|
38
|
-
"Lead",
|
39
|
-
"Purchase",
|
40
|
-
"Search",
|
41
|
-
"ViewContent",
|
42
|
-
]
|
43
|
-
|
44
|
-
|
45
|
-
field :samples, { list: 'object' }
|
46
|
-
field :time_start, 'int'
|
47
|
-
field :time_stop, 'int'
|
48
|
-
has_no_id
|
49
|
-
has_no_get
|
50
|
-
has_no_post
|
51
|
-
has_no_delete
|
52
|
-
|
53
|
-
end
|
54
|
-
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 SavedMessageResponseMacro < AdObject
|
29
|
-
|
30
|
-
field :length, 'int'
|
31
|
-
field :macro, 'string'
|
32
|
-
field :offset, 'int'
|
33
|
-
has_no_id
|
34
|
-
has_no_get
|
35
|
-
has_no_post
|
36
|
-
has_no_delete
|
37
|
-
|
38
|
-
end
|
39
|
-
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 ScreenName < AdObject
|
29
|
-
|
30
|
-
field :service_name, 'string'
|
31
|
-
field :service_type, 'string'
|
32
|
-
field :value, 'string'
|
33
|
-
has_no_id
|
34
|
-
has_no_get
|
35
|
-
has_no_post
|
36
|
-
has_no_delete
|
37
|
-
|
38
|
-
end
|
39
|
-
end
|
@@ -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 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
|
@@ -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 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
|
@@ -1,37 +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 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
|
@@ -1,41 +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 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
|
@@ -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 UserContext < AdObject
|
29
|
-
|
30
|
-
field :id, 'string'
|
31
|
-
has_no_post
|
32
|
-
has_no_delete
|
33
|
-
|
34
|
-
has_edge :mutual_likes do |edge|
|
35
|
-
edge.get 'Page'
|
36
|
-
end
|
37
|
-
|
38
|
-
end
|
39
|
-
end
|