facebookbusiness 0.7.0.0 → 0.7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/facebook_ads/ad_objects/ad.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_account.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_creation_request.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_activity.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -3
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_network_analytics_sync_query_result.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_preview.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_video.rb +1 -0
- data/lib/facebook_ads/ad_objects/adgroup_activity.rb +4 -4
- data/lib/facebook_ads/ad_objects/ads_insights.rb +5 -0
- data/lib/facebook_ads/ad_objects/album.rb +7 -0
- data/lib/facebook_ads/ad_objects/business.rb +20 -1
- data/lib/facebook_ads/ad_objects/{video_game_show.rb → business_agreement.rb} +10 -6
- data/lib/facebook_ads/ad_objects/business_image.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_role_request.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_user.rb +1 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +1 -0
- data/lib/facebook_ads/ad_objects/comment.rb +1 -0
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +99 -0
- data/lib/facebook_ads/ad_objects/{request_history.rb → commerce_merchant_settings_setup_status.rb} +6 -14
- data/lib/facebook_ads/ad_objects/commerce_order.rb +147 -0
- data/lib/facebook_ads/ad_objects/commerce_order_transaction_detail.rb +48 -0
- data/lib/facebook_ads/ad_objects/{custom_audience_prefill_state.rb → commerce_payout.rb} +5 -3
- data/lib/facebook_ads/ad_objects/cpas_parent_catalog_settings.rb +1 -0
- data/lib/facebook_ads/ad_objects/custom_audience.rb +1 -4
- data/lib/facebook_ads/ad_objects/custom_conversion.rb +1 -0
- data/lib/facebook_ads/ad_objects/ig_user.rb +1 -0
- data/lib/facebook_ads/ad_objects/life_event.rb +0 -4
- data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +0 -6
- data/lib/facebook_ads/ad_objects/page.rb +41 -16
- data/lib/facebook_ads/ad_objects/page_call_to_action.rb +5 -0
- data/lib/facebook_ads/ad_objects/page_post.rb +8 -0
- data/lib/facebook_ads/ad_objects/post.rb +9 -1
- data/lib/facebook_ads/ad_objects/product_catalog.rb +8 -0
- data/lib/facebook_ads/ad_objects/{product_feed_upload_diagnostics.rb → product_feed_upload_diagnostics_report.rb} +2 -2
- data/lib/facebook_ads/ad_objects/profile.rb +1 -0
- data/lib/facebook_ads/ad_objects/server_side/user_data.rb +6 -0
- data/lib/facebook_ads/ad_objects/streaming_reaction.rb +1 -0
- data/lib/facebook_ads/ad_objects/system_user.rb +1 -0
- data/lib/facebook_ads/ad_objects/user.rb +0 -12
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +4 -0
- data/lib/facebook_ads/version.rb +1 -1
- metadata +9 -7
- data/lib/facebook_ads/ad_objects/open_graph_object.rb +0 -70
@@ -0,0 +1,147 @@
|
|
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 CommerceOrder < AdObject
|
29
|
+
REASON_CODE = [
|
30
|
+
"BUYERS_REMORSE",
|
31
|
+
"DAMAGED_GOODS",
|
32
|
+
"NOT_AS_DESCRIBED",
|
33
|
+
"QUALITY_ISSUE",
|
34
|
+
"REFUND_COMPROMISED",
|
35
|
+
"REFUND_FOR_RETURN",
|
36
|
+
"REFUND_REASON_OTHER",
|
37
|
+
"REFUND_SFI_FAKE",
|
38
|
+
"REFUND_SFI_REAL",
|
39
|
+
"WRONG_ITEM",
|
40
|
+
]
|
41
|
+
|
42
|
+
FILTERS = [
|
43
|
+
"HAS_CANCELLATIONS",
|
44
|
+
"HAS_FULFILLMENTS",
|
45
|
+
"HAS_REFUNDS",
|
46
|
+
"NO_CANCELLATIONS",
|
47
|
+
"NO_REFUNDS",
|
48
|
+
"NO_SHIPMENTS",
|
49
|
+
]
|
50
|
+
|
51
|
+
STATE = [
|
52
|
+
"COMPLETED",
|
53
|
+
"CREATED",
|
54
|
+
"FB_PROCESSING",
|
55
|
+
"IN_PROGRESS",
|
56
|
+
]
|
57
|
+
|
58
|
+
|
59
|
+
field :buyer_details, 'object'
|
60
|
+
field :channel, 'string'
|
61
|
+
field :created, 'string'
|
62
|
+
field :estimated_payment_details, 'object'
|
63
|
+
field :id, 'string'
|
64
|
+
field :is_group_buy, 'bool'
|
65
|
+
field :last_updated, 'string'
|
66
|
+
field :merchant_order_id, 'string'
|
67
|
+
field :order_status, 'object'
|
68
|
+
field :selected_shipping_option, 'object'
|
69
|
+
field :ship_by_date, 'string'
|
70
|
+
field :shipping_address, 'object'
|
71
|
+
has_no_post
|
72
|
+
has_no_delete
|
73
|
+
|
74
|
+
has_edge :acknowledge_order do |edge|
|
75
|
+
edge.post 'CommerceOrder' do |api|
|
76
|
+
api.has_param :idempotency_key, 'string'
|
77
|
+
api.has_param :merchant_order_reference, 'string'
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
has_edge :cancellations do |edge|
|
82
|
+
edge.get
|
83
|
+
edge.post 'CommerceOrder' do |api|
|
84
|
+
api.has_param :cancel_reason, 'hash'
|
85
|
+
api.has_param :idempotency_key, 'string'
|
86
|
+
api.has_param :items, { list: 'hash' }
|
87
|
+
api.has_param :restock_items, 'bool'
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
has_edge :items do |edge|
|
92
|
+
edge.get
|
93
|
+
end
|
94
|
+
|
95
|
+
has_edge :payments do |edge|
|
96
|
+
edge.get
|
97
|
+
end
|
98
|
+
|
99
|
+
has_edge :promotions do |edge|
|
100
|
+
edge.get
|
101
|
+
end
|
102
|
+
|
103
|
+
has_edge :refunds do |edge|
|
104
|
+
edge.get
|
105
|
+
edge.post 'CommerceOrder' do |api|
|
106
|
+
api.has_param :deductions, { list: 'hash' }
|
107
|
+
api.has_param :idempotency_key, 'string'
|
108
|
+
api.has_param :items, { list: 'hash' }
|
109
|
+
api.has_param :reason_code, { enum: -> { CommerceOrder::REASON_CODE }}
|
110
|
+
api.has_param :reason_text, 'string'
|
111
|
+
api.has_param :return_id, 'string'
|
112
|
+
api.has_param :shipping, 'hash'
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
has_edge :returns do |edge|
|
117
|
+
edge.get do |api|
|
118
|
+
api.has_param :merchant_return_id, 'string'
|
119
|
+
api.has_param :statuses, { list: { enum: %w{APPROVED DISAPPROVED MERCHANT_MARKED_COMPLETED REFUNDED REQUESTED }} }
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
has_edge :shipments do |edge|
|
124
|
+
edge.get
|
125
|
+
edge.post 'CommerceOrder' do |api|
|
126
|
+
api.has_param :external_redemption_link, 'string'
|
127
|
+
api.has_param :external_shipment_id, 'string'
|
128
|
+
api.has_param :fulfillment, 'hash'
|
129
|
+
api.has_param :idempotency_key, 'string'
|
130
|
+
api.has_param :items, { list: 'hash' }
|
131
|
+
api.has_param :merchant_order_reference, 'string'
|
132
|
+
api.has_param :shipment_origin_postal_code, 'string'
|
133
|
+
api.has_param :shipping_tax_details, 'hash'
|
134
|
+
api.has_param :tracking_info, 'hash'
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
has_edge :update_shipment do |edge|
|
139
|
+
edge.post 'CommerceOrder' do |api|
|
140
|
+
api.has_param :fulfillment_id, 'string'
|
141
|
+
api.has_param :idempotency_key, 'string'
|
142
|
+
api.has_param :tracking_info, 'hash'
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
end
|
147
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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 CommerceOrderTransactionDetail < AdObject
|
29
|
+
|
30
|
+
field :net_payment_amount, 'object'
|
31
|
+
field :order_details, 'CommerceOrder'
|
32
|
+
field :payout_reference_id, 'string'
|
33
|
+
field :processing_fee, 'object'
|
34
|
+
field :tax_rate, 'string'
|
35
|
+
field :transaction_date, 'string'
|
36
|
+
field :transaction_type, 'string'
|
37
|
+
field :transfer_id, 'string'
|
38
|
+
field :id, 'string'
|
39
|
+
has_no_get
|
40
|
+
has_no_post
|
41
|
+
has_no_delete
|
42
|
+
|
43
|
+
has_edge :tax_details do |edge|
|
44
|
+
edge.get
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
end
|
@@ -25,11 +25,13 @@ module FacebookAds
|
|
25
25
|
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
26
26
|
# pull request for this class.
|
27
27
|
|
28
|
-
class
|
28
|
+
class CommercePayout < AdObject
|
29
29
|
|
30
|
-
field :
|
31
|
-
field :
|
30
|
+
field :amount, 'object'
|
31
|
+
field :payout_date, 'string'
|
32
|
+
field :payout_reference_id, 'string'
|
32
33
|
field :status, 'string'
|
34
|
+
field :transfer_id, 'string'
|
33
35
|
has_no_id
|
34
36
|
has_no_get
|
35
37
|
has_no_post
|
@@ -44,6 +44,7 @@ module FacebookAds
|
|
44
44
|
"FLIGHT",
|
45
45
|
"HOME_LISTING",
|
46
46
|
"HOTEL",
|
47
|
+
"LOCAL_SERVICE_BUSINESS",
|
47
48
|
"LOCATION_BASED_ITEM",
|
48
49
|
"MEDIA_TITLE",
|
49
50
|
"OFFLINE_PRODUCT",
|
@@ -166,10 +167,6 @@ module FacebookAds
|
|
166
167
|
end
|
167
168
|
end
|
168
169
|
|
169
|
-
has_edge :prefills do |edge|
|
170
|
-
edge.get 'CustomAudiencePrefillState'
|
171
|
-
end
|
172
|
-
|
173
170
|
has_edge :sessions do |edge|
|
174
171
|
edge.get 'CustomAudienceSession' do |api|
|
175
172
|
api.has_param :session_id, 'int'
|
@@ -131,12 +131,6 @@ module FacebookAds
|
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|
134
|
-
has_edge :users do |edge|
|
135
|
-
edge.post 'OfflineConversionDataSet' do |api|
|
136
|
-
api.has_param :data, { list: 'object' }
|
137
|
-
end
|
138
|
-
end
|
139
|
-
|
140
134
|
has_edge :validate do |edge|
|
141
135
|
edge.post 'OfflineConversionDataSet' do |api|
|
142
136
|
api.has_param :data, { list: 'string' }
|
@@ -292,6 +292,7 @@ module FacebookAds
|
|
292
292
|
"messaging_appointments",
|
293
293
|
"messaging_checkout_updates",
|
294
294
|
"messaging_direct_sends",
|
295
|
+
"messaging_fblogin_account_linking",
|
295
296
|
"messaging_game_plays",
|
296
297
|
"messaging_handovers",
|
297
298
|
"messaging_optins",
|
@@ -494,6 +495,13 @@ module FacebookAds
|
|
494
495
|
field :written_by, 'string'
|
495
496
|
has_no_delete
|
496
497
|
|
498
|
+
has_edge :acknowledge_orders do |edge|
|
499
|
+
edge.post 'Page' do |api|
|
500
|
+
api.has_param :idempotency_key, 'string'
|
501
|
+
api.has_param :orders, { list: 'hash' }
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
497
505
|
has_edge :ads_posts do |edge|
|
498
506
|
edge.get 'PagePost' do |api|
|
499
507
|
api.has_param :exclude_dynamic_ads, 'bool'
|
@@ -596,6 +604,34 @@ module FacebookAds
|
|
596
604
|
end
|
597
605
|
end
|
598
606
|
|
607
|
+
has_edge :commerce_merchant_settings do |edge|
|
608
|
+
edge.get 'CommerceMerchantSettings'
|
609
|
+
end
|
610
|
+
|
611
|
+
has_edge :commerce_orders do |edge|
|
612
|
+
edge.get 'CommerceOrder' do |api|
|
613
|
+
api.has_param :filters, { list: { enum: -> { CommerceOrder::FILTERS }} }
|
614
|
+
api.has_param :state, { list: { enum: -> { CommerceOrder::STATE }} }
|
615
|
+
api.has_param :updated_after, 'datetime'
|
616
|
+
api.has_param :updated_before, 'datetime'
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
620
|
+
has_edge :commerce_payouts do |edge|
|
621
|
+
edge.get 'CommercePayout' do |api|
|
622
|
+
api.has_param :end_time, 'datetime'
|
623
|
+
api.has_param :start_time, 'datetime'
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
627
|
+
has_edge :commerce_transactions do |edge|
|
628
|
+
edge.get 'CommerceOrderTransactionDetail' do |api|
|
629
|
+
api.has_param :end_time, 'datetime'
|
630
|
+
api.has_param :payout_reference_id, 'string'
|
631
|
+
api.has_param :start_time, 'datetime'
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
599
635
|
has_edge :conversations do |edge|
|
600
636
|
edge.get 'UnifiedThread' do |api|
|
601
637
|
api.has_param :folder, 'string'
|
@@ -909,6 +945,7 @@ module FacebookAds
|
|
909
945
|
edge.get 'Page'
|
910
946
|
edge.post 'Page' do |api|
|
911
947
|
api.has_param :always_open, 'bool'
|
948
|
+
api.has_param :delivery_and_pickup_option_info, { list: 'string' }
|
912
949
|
api.has_param :differently_open_offerings, 'hash'
|
913
950
|
api.has_param :hours, 'hash'
|
914
951
|
api.has_param :ignore_warnings, 'bool'
|
@@ -1181,18 +1218,6 @@ module FacebookAds
|
|
1181
1218
|
edge.get 'ProductCatalog'
|
1182
1219
|
end
|
1183
1220
|
|
1184
|
-
has_edge :promotions do |edge|
|
1185
|
-
edge.post do |api|
|
1186
|
-
api.has_param :ad_account_id, 'string'
|
1187
|
-
api.has_param :budget, 'int'
|
1188
|
-
api.has_param :duration, 'string'
|
1189
|
-
api.has_param :gender, 'int'
|
1190
|
-
api.has_param :geo_level, 'string'
|
1191
|
-
api.has_param :max_age, 'int'
|
1192
|
-
api.has_param :min_age, 'int'
|
1193
|
-
end
|
1194
|
-
end
|
1195
|
-
|
1196
1221
|
has_edge :published_posts do |edge|
|
1197
1222
|
edge.get 'PagePost' do |api|
|
1198
1223
|
api.has_param :since, 'datetime'
|
@@ -1237,6 +1262,10 @@ module FacebookAds
|
|
1237
1262
|
end
|
1238
1263
|
end
|
1239
1264
|
|
1265
|
+
has_edge :shop_setup_status do |edge|
|
1266
|
+
edge.get 'CommerceMerchantSettingsSetupStatus'
|
1267
|
+
end
|
1268
|
+
|
1240
1269
|
has_edge :subscribed_apps do |edge|
|
1241
1270
|
edge.delete
|
1242
1271
|
edge.get 'Application'
|
@@ -1322,10 +1351,6 @@ module FacebookAds
|
|
1322
1351
|
api.has_param :selected_rule_id, 'string'
|
1323
1352
|
api.has_param :source, { enum: -> { VideoCopyrightRule::SOURCE }}
|
1324
1353
|
end
|
1325
|
-
edge.post 'VideoCopyrightRule' do |api|
|
1326
|
-
api.has_param :condition_groups, { list: 'object' }
|
1327
|
-
api.has_param :name, 'string'
|
1328
|
-
end
|
1329
1354
|
end
|
1330
1355
|
|
1331
1356
|
has_edge :video_copyrights do |edge|
|
@@ -31,6 +31,7 @@ module FacebookAds
|
|
31
31
|
"BECOME_A_VOLUNTEER",
|
32
32
|
"EMAIL",
|
33
33
|
"FACEBOOK_APP",
|
34
|
+
"FOLLOW",
|
34
35
|
"MESSENGER",
|
35
36
|
"MINI_SHOP",
|
36
37
|
"NONE",
|
@@ -44,6 +45,7 @@ module FacebookAds
|
|
44
45
|
"BECOME_A_VOLUNTEER",
|
45
46
|
"EMAIL",
|
46
47
|
"FACEBOOK_APP",
|
48
|
+
"FOLLOW",
|
47
49
|
"MESSENGER",
|
48
50
|
"MINI_SHOP",
|
49
51
|
"NONE",
|
@@ -62,6 +64,7 @@ module FacebookAds
|
|
62
64
|
"CONTACT_US",
|
63
65
|
"DONATE_NOW",
|
64
66
|
"EMAIL",
|
67
|
+
"FOLLOW_PAGE",
|
65
68
|
"GET_DIRECTIONS",
|
66
69
|
"GET_OFFER",
|
67
70
|
"GET_OFFER_VIEW",
|
@@ -71,6 +74,7 @@ module FacebookAds
|
|
71
74
|
"LOCAL_DEV_PLATFORM",
|
72
75
|
"MESSAGE",
|
73
76
|
"OPEN_APP",
|
77
|
+
"ORDER_FOOD",
|
74
78
|
"PLAY_MUSIC",
|
75
79
|
"PLAY_NOW",
|
76
80
|
"PURCHASE_GIFT_CARDS",
|
@@ -89,6 +93,7 @@ module FacebookAds
|
|
89
93
|
"BECOME_A_VOLUNTEER",
|
90
94
|
"BECOME_SUPPORTER",
|
91
95
|
"EMAIL",
|
96
|
+
"FOLLOW",
|
92
97
|
"MESSENGER",
|
93
98
|
"NONE",
|
94
99
|
"SHOP_ON_FACEBOOK",
|
@@ -62,15 +62,19 @@ module FacebookAds
|
|
62
62
|
field :comments_mirroring_domain, 'string'
|
63
63
|
field :coordinates, 'object'
|
64
64
|
field :created_time, 'datetime'
|
65
|
+
field :delivery_growth_optimizations, { list: 'string' }
|
66
|
+
field :entities, 'object'
|
65
67
|
field :event, 'Event'
|
66
68
|
field :expanded_height, 'int'
|
67
69
|
field :expanded_width, 'int'
|
68
70
|
field :feed_targeting, 'object'
|
71
|
+
field :formatting, 'string'
|
69
72
|
field :from, 'object'
|
70
73
|
field :full_picture, 'string'
|
71
74
|
field :height, 'int'
|
72
75
|
field :icon, 'string'
|
73
76
|
field :id, 'string'
|
77
|
+
field :implicit_place, 'Place'
|
74
78
|
field :instagram_eligibility, 'string'
|
75
79
|
field :is_app_share, 'bool'
|
76
80
|
field :is_eligible_for_promotion, 'bool'
|
@@ -81,6 +85,7 @@ module FacebookAds
|
|
81
85
|
field :is_popular, 'bool'
|
82
86
|
field :is_published, 'bool'
|
83
87
|
field :is_spherical, 'bool'
|
88
|
+
field :live_video_eligibility, { list: 'string' }
|
84
89
|
field :message, 'string'
|
85
90
|
field :message_tags, { list: 'string' }
|
86
91
|
field :multi_share_end_card, 'bool'
|
@@ -93,6 +98,7 @@ module FacebookAds
|
|
93
98
|
field :promotable_id, 'string'
|
94
99
|
field :promotion_status, 'string'
|
95
100
|
field :properties, { list: 'string' }
|
101
|
+
field :publishing_stats, 'int'
|
96
102
|
field :scheduled_publish_time, 'double'
|
97
103
|
field :shares, 'object'
|
98
104
|
field :status_type, 'string'
|
@@ -102,10 +108,12 @@ module FacebookAds
|
|
102
108
|
field :target, 'Profile'
|
103
109
|
field :targeting, 'object'
|
104
110
|
field :timeline_visibility, 'string'
|
111
|
+
field :translations, 'hash'
|
105
112
|
field :updated_time, 'datetime'
|
106
113
|
field :via, 'object'
|
107
114
|
field :video_buying_eligibility, { list: 'string' }
|
108
115
|
field :width, 'int'
|
116
|
+
field :will_be_autocropped_when_deliver_to_instagram, 'bool'
|
109
117
|
|
110
118
|
has_edge :attachments do |edge|
|
111
119
|
edge.get
|