facebookbusiness 0.7.0.3 → 0.8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21427a72a89e5b69fcd40fcf556030df9c45494dd4256e7182b654ba4953771e
4
- data.tar.gz: d031189ae8b805d79df679a06dfd9dbb418cd523143f0617998934bdce4ea5e7
3
+ metadata.gz: 4de6bfc476d804de39cce9ae238d8d4d974c1019c255eb244130636474a569d0
4
+ data.tar.gz: 74f7adab3e79333ade1467585d83c98c564c2eb92a532d199049c42effc32553
5
5
  SHA512:
6
- metadata.gz: ba42f3cf881a1c1546b115389c241dc085b32877ec7b8259602d25fa6087cd1bec4afe2d546c982b87fc65f74c4a0ee62f4d634eb79d010c88d9698ccb9e6f07
7
- data.tar.gz: 0dba0ce20bf17ef53da7214d0a9452ee7273321de7553d9b7c37cc35546c08caa245bad54542068a8003a2dbd8d316e552263d4220e3a1f9794aa8f444dec89f
6
+ metadata.gz: 310be0ab8c3fa0f1c0d3ce31e5b1734e306d1cd4daa92a78b80873106552216909d52d63c11a1899192c8b3df36a400cc42900563e2dce81dc6eb0b6c17636d7
7
+ data.tar.gz: 4b4bbdb344b3c66a2d31462139b3c18d63ba5be074d943456ebe461dd4a0b3e467ce5bbf3f17fe9b3a5034fec226640987e766b2f0f8c12c68a7ea4ffbdffcee
@@ -223,6 +223,7 @@ module FacebookAds
223
223
  has_edge :ad_place_page_sets do |edge|
224
224
  edge.get 'AdPlacePageSet'
225
225
  edge.post 'AdPlacePageSet' do |api|
226
+ api.has_param :category, { enum: -> { AdPlacePageSet::CATEGORY }}
226
227
  api.has_param :location_types, { list: { enum: -> { AdPlacePageSet::LOCATION_TYPES }} }
227
228
  api.has_param :name, 'string'
228
229
  api.has_param :parent_page, 'string'
@@ -232,6 +233,7 @@ module FacebookAds
232
233
 
233
234
  has_edge :ad_place_page_sets_async do |edge|
234
235
  edge.post 'AdPlacePageSet' do |api|
236
+ api.has_param :category, { enum: -> { AdPlacePageSet::CATEGORY }}
235
237
  api.has_param :location_types, { list: { enum: -> { AdPlacePageSet::LOCATION_TYPES }} }
236
238
  api.has_param :name, 'string'
237
239
  api.has_param :parent_page, 'string'
@@ -239,15 +241,6 @@ module FacebookAds
239
241
  end
240
242
  end
241
243
 
242
- has_edge :ad_sets do |edge|
243
- edge.delete do |api|
244
- api.has_param :before_date, 'datetime'
245
- api.has_param :delete_offset, 'int'
246
- api.has_param :delete_strategy, { enum: %w{DELETE_ANY DELETE_ARCHIVED_BEFORE DELETE_OLDEST }}
247
- api.has_param :object_count, 'int'
248
- end
249
- end
250
-
251
244
  has_edge :ad_studies do |edge|
252
245
  edge.get 'AdStudy'
253
246
  end
@@ -345,10 +338,6 @@ module FacebookAds
345
338
  end
346
339
  end
347
340
 
348
- has_edge :adreportschedules do |edge|
349
- edge.get
350
- end
351
-
352
341
  has_edge :adrules_history do |edge|
353
342
  edge.get 'AdAccountAdRulesHistory' do |api|
354
343
  api.has_param :action, { enum: -> { AdAccountAdRulesHistory::ACTION }}
@@ -26,6 +26,11 @@ module FacebookAds
26
26
  # pull request for this class.
27
27
 
28
28
  class AdPlacePageSet < AdObject
29
+ CATEGORY = [
30
+ "BOPUS",
31
+ "GENERAL",
32
+ ]
33
+
29
34
  LOCATION_TYPES = [
30
35
  "home",
31
36
  "recent",
@@ -44,6 +49,7 @@ module FacebookAds
44
49
  field :name, 'string'
45
50
  field :pages_count, 'int'
46
51
  field :parent_page, 'Page'
52
+ field :category, 'adaccountad_place_page_sets_category_enum_param'
47
53
  field :targeted_area_type, 'adaccountad_place_page_sets_targeted_area_type_enum_param'
48
54
  has_no_post
49
55
  has_no_delete
@@ -38,7 +38,6 @@ module FacebookAds
38
38
  field :id, 'string'
39
39
  field :insights_section, 'object'
40
40
  field :name, 'string'
41
- field :report_schedule, 'object'
42
41
  field :report_schedule_id, 'string'
43
42
  field :sort_by, 'string'
44
43
  field :sort_dir, 'string'
@@ -40,6 +40,10 @@ module FacebookAds
40
40
  has_no_post
41
41
  has_no_delete
42
42
 
43
+ has_edge :items do |edge|
44
+ edge.get
45
+ end
46
+
43
47
  has_edge :tax_details do |edge|
44
48
  edge.get
45
49
  end
@@ -143,7 +143,6 @@ module FacebookAds
143
143
  api.has_param :privacy, 'string'
144
144
  api.has_param :projection, { enum: -> { LiveVideo::PROJECTION }}
145
145
  api.has_param :published, 'bool'
146
- api.has_param :save_vod, 'bool'
147
146
  api.has_param :schedule_custom_profile_image, 'file'
148
147
  api.has_param :spatial_audio_format, { enum: -> { LiveVideo::SPATIAL_AUDIO_FORMAT }}
149
148
  api.has_param :status, { enum: -> { LiveVideo::STATUS }}
@@ -364,7 +364,6 @@ module FacebookAds
364
364
  api.has_param :privacy, 'string'
365
365
  api.has_param :projection, { enum: -> { LiveVideo::PROJECTION }}
366
366
  api.has_param :published, 'bool'
367
- api.has_param :save_vod, 'bool'
368
367
  api.has_param :schedule_custom_profile_image, 'file'
369
368
  api.has_param :spatial_audio_format, { enum: -> { LiveVideo::SPATIAL_AUDIO_FORMAT }}
370
369
  api.has_param :status, { enum: -> { LiveVideo::STATUS }}
@@ -51,9 +51,5 @@ module FacebookAds
51
51
  edge.get 'Profile'
52
52
  end
53
53
 
54
- has_edge :photos do |edge|
55
- edge.get 'Photo'
56
- end
57
-
58
54
  end
59
55
  end
@@ -64,12 +64,6 @@ module FacebookAds
64
64
  edge.get 'Profile'
65
65
  end
66
66
 
67
- has_edge :reactions do |edge|
68
- edge.get 'Profile' do |api|
69
- api.has_param :type, { enum: -> { Profile::TYPE }}
70
- end
71
- end
72
-
73
67
  has_edge :sharedposts do |edge|
74
68
  edge.get 'Post'
75
69
  end
@@ -141,10 +141,6 @@ module FacebookAds
141
141
  edge.post 'LiveVideoInputStream'
142
142
  end
143
143
 
144
- has_edge :likes do |edge|
145
- edge.get 'Profile'
146
- end
147
-
148
144
  has_edge :polls do |edge|
149
145
  edge.get 'VideoPoll'
150
146
  edge.post 'VideoPoll' do |api|
@@ -33,7 +33,6 @@ module FacebookAds
33
33
  has_no_delete
34
34
 
35
35
  has_edge :photos do |edge|
36
- edge.get 'Photo'
37
36
  edge.post 'NativeOfferView' do |api|
38
37
  api.has_param :ad_account, 'string'
39
38
  api.has_param :ad_image_hashes, { list: 'string' }
@@ -37,7 +37,6 @@ module FacebookAds
37
37
  field :amount_due, 'CurrencyAmount'
38
38
  field :billed_amount_details, 'BilledAmountDetails'
39
39
  field :billing_period, 'string'
40
- field :campaign, 'AtlasCampaign'
41
40
  field :cdn_download_uri, 'string'
42
41
  field :currency, 'string'
43
42
  field :download_uri, 'string'
@@ -58,11 +57,5 @@ module FacebookAds
58
57
  edge.get 'InvoiceCampaign'
59
58
  end
60
59
 
61
- has_edge :data do |edge|
62
- edge.get 'AtlasUrl' do |api|
63
- api.has_param :redirect, 'bool'
64
- end
65
- end
66
-
67
60
  end
68
61
  end
@@ -92,6 +92,12 @@ module FacebookAds
92
92
  "Vietnamese",
93
93
  ]
94
94
 
95
+ PICKUP_OPTIONS = [
96
+ "CURBSIDE",
97
+ "IN_STORE",
98
+ "OTHER",
99
+ ]
100
+
95
101
  TEMPORARY_STATUS = [
96
102
  "DIFFERENTLY_OPEN",
97
103
  "NO_DATA",
@@ -328,29 +334,6 @@ module FacebookAds
328
334
  "website",
329
335
  ]
330
336
 
331
- DOMAIN_ACTION_TYPE = [
332
- "ADD",
333
- "REMOVE",
334
- ]
335
-
336
- PAYMENT_DEV_MODE_ACTION = [
337
- "ADD",
338
- "REMOVE",
339
- ]
340
-
341
- SETTING_TYPE = [
342
- "ACCOUNT_LINKING",
343
- "CALL_TO_ACTIONS",
344
- "DOMAIN_WHITELISTING",
345
- "GREETING",
346
- "PAYMENT",
347
- ]
348
-
349
- THREAD_STATE = [
350
- "EXISTING_THREAD",
351
- "NEW_THREAD",
352
- ]
353
-
354
337
 
355
338
  field :about, 'string'
356
339
  field :access_token, 'string'
@@ -443,7 +426,6 @@ module FacebookAds
443
426
  field :new_like_count, 'int'
444
427
  field :offer_eligible, 'bool'
445
428
  field :overall_star_rating, 'double'
446
- field :page_about_story, 'PageAboutStory'
447
429
  field :page_token, 'string'
448
430
  field :parent_page, 'Page'
449
431
  field :parking, 'PageParking'
@@ -452,6 +434,7 @@ module FacebookAds
452
434
  field :personal_interests, 'string'
453
435
  field :pharma_safety_info, 'string'
454
436
  field :phone, 'string'
437
+ field :pickup_options, { list: 'string' }
455
438
  field :place_type, 'string'
456
439
  field :plot_outline, 'string'
457
440
  field :preferred_audience, 'Targeting'
@@ -925,7 +908,6 @@ module FacebookAds
925
908
  api.has_param :privacy, 'string'
926
909
  api.has_param :projection, { enum: -> { LiveVideo::PROJECTION }}
927
910
  api.has_param :published, 'bool'
928
- api.has_param :save_vod, 'bool'
929
911
  api.has_param :schedule_custom_profile_image, 'file'
930
912
  api.has_param :spatial_audio_format, { enum: -> { LiveVideo::SPATIAL_AUDIO_FORMAT }}
931
913
  api.has_param :status, { enum: -> { LiveVideo::STATUS }}
@@ -955,6 +937,7 @@ module FacebookAds
955
937
  api.has_param :page_username, 'string'
956
938
  api.has_param :permanently_closed, 'bool'
957
939
  api.has_param :phone, 'string'
940
+ api.has_param :pickup_options, { list: { enum: -> { Page::PICKUP_OPTIONS }} }
958
941
  api.has_param :place_topics, { list: 'string' }
959
942
  api.has_param :price_range, 'string'
960
943
  api.has_param :store_code, 'string'
@@ -1061,16 +1044,6 @@ module FacebookAds
1061
1044
  end
1062
1045
  end
1063
1046
 
1064
- has_edge :page_about_story do |edge|
1065
- edge.post 'Page' do |api|
1066
- api.has_param :composed_text, { list: 'hash' }
1067
- api.has_param :cover_photo, 'hash'
1068
- api.has_param :entity_map, { list: 'hash' }
1069
- api.has_param :is_published, 'bool'
1070
- api.has_param :title, 'string'
1071
- end
1072
- end
1073
-
1074
1047
  has_edge :page_backed_instagram_accounts do |edge|
1075
1048
  edge.get 'InstagramUser'
1076
1049
  edge.post 'InstagramUser'
@@ -1201,10 +1174,6 @@ module FacebookAds
1201
1174
  end
1202
1175
  end
1203
1176
 
1204
- has_edge :place_topics do |edge|
1205
- edge.get 'PlaceTopic'
1206
- end
1207
-
1208
1177
  has_edge :posts do |edge|
1209
1178
  edge.get 'PagePost' do |api|
1210
1179
  api.has_param :include_hidden, 'bool'
@@ -1276,9 +1245,6 @@ module FacebookAds
1276
1245
  end
1277
1246
 
1278
1247
  has_edge :tabs do |edge|
1279
- edge.delete do |api|
1280
- api.has_param :tab, 'string'
1281
- end
1282
1248
  edge.get 'Tab' do |api|
1283
1249
  api.has_param :tab, { list: 'string' }
1284
1250
  end
@@ -1309,26 +1275,6 @@ module FacebookAds
1309
1275
  end
1310
1276
  end
1311
1277
 
1312
- has_edge :thread_settings do |edge|
1313
- edge.delete do |api|
1314
- api.has_param :setting_type, { enum: -> { Page::SETTING_TYPE }}
1315
- api.has_param :thread_state, { enum: -> { Page::THREAD_STATE }}
1316
- end
1317
- edge.post 'Page' do |api|
1318
- api.has_param :account_linking_url, 'string'
1319
- api.has_param :call_to_actions, { list: 'object' }
1320
- api.has_param :domain_action_type, { enum: -> { Page::DOMAIN_ACTION_TYPE }}
1321
- api.has_param :greeting, 'object'
1322
- api.has_param :payment_dev_mode_action, { enum: -> { Page::PAYMENT_DEV_MODE_ACTION }}
1323
- api.has_param :payment_privacy_url, 'string'
1324
- api.has_param :payment_public_key, 'string'
1325
- api.has_param :payment_testers, { list: 'string' }
1326
- api.has_param :setting_type, { enum: -> { Page::SETTING_TYPE }}
1327
- api.has_param :thread_state, { enum: -> { Page::THREAD_STATE }}
1328
- api.has_param :whitelisted_domains, { list: 'string' }
1329
- end
1330
- end
1331
-
1332
1278
  has_edge :threads do |edge|
1333
1279
  edge.get 'UnifiedThread' do |api|
1334
1280
  api.has_param :folder, 'string'
@@ -51,11 +51,13 @@ module FacebookAds
51
51
  PERMITTED_TASKS = [
52
52
  "ADVERTISE",
53
53
  "MANAGE",
54
+ "MANAGE_AR",
54
55
  ]
55
56
 
56
57
  TASKS = [
57
58
  "ADVERTISE",
58
59
  "MANAGE",
60
+ "MANAGE_AR",
59
61
  ]
60
62
 
61
63
  STANDARD = [
@@ -70,6 +70,10 @@ module FacebookAds
70
70
  # Example: 'lettuce'.
71
71
  attr_accessor :search_string
72
72
 
73
+ # Type of delivery for a purchase event
74
+ # Example: 'home_delivery'.
75
+ attr_accessor :delivery_category
76
+
73
77
  # The item number.
74
78
  # Example: 'item1234'.
75
79
  attr_accessor :item_number
@@ -90,6 +94,7 @@ module FacebookAds
90
94
  # @param [Integer] num_items
91
95
  # @param [String] status
92
96
  # @param [String] search_string
97
+ # @param [String] delivery_category
93
98
  # @param [String] item_number
94
99
  # @param [String] custom_properties
95
100
  def initialize(value: nil,
@@ -104,6 +109,7 @@ module FacebookAds
104
109
  num_items: nil,
105
110
  status: nil,
106
111
  search_string: nil,
112
+ delivery_category: nil,
107
113
  item_number: nil,
108
114
  custom_properties: {})
109
115
 
@@ -143,6 +149,9 @@ module FacebookAds
143
149
  unless search_string.nil?
144
150
  self.search_string = search_string
145
151
  end
152
+ unless delivery_category.nil?
153
+ self.delivery_category = delivery_category
154
+ end
146
155
  unless item_number.nil?
147
156
  self.item_number = item_number
148
157
  end
@@ -212,6 +221,10 @@ module FacebookAds
212
221
  self.search_string = attributes[:'search_string']
213
222
  end
214
223
 
224
+ if attributes.has_key?(:'delivery_category')
225
+ self.delivery_category = attributes[:'delivery_category']
226
+ end
227
+
215
228
  if attributes.has_key?(:'item_number')
216
229
  self.item_number = attributes[:'item_number']
217
230
  end
@@ -237,6 +250,7 @@ module FacebookAds
237
250
  num_items == o.num_items &&
238
251
  status == o.status &&
239
252
  search_string == o.search_string &&
253
+ delivery_category == o.delivery_category &&
240
254
  item_number == o.item_number &&
241
255
  custom_properties == o.custom_properties
242
256
  end
@@ -262,6 +276,7 @@ module FacebookAds
262
276
  num_items,
263
277
  status,
264
278
  search_string,
279
+ delivery_category,
265
280
  item_number,
266
281
  custom_properties
267
282
  ].hash
@@ -307,6 +322,9 @@ module FacebookAds
307
322
  unless search_string.nil?
308
323
  hash['search_string'] = search_string
309
324
  end
325
+ unless delivery_category.nil?
326
+ hash['delivery_category'] = delivery_category
327
+ end
310
328
  unless custom_properties.nil?
311
329
  hash['custom_properties'] = custom_properties
312
330
  end
@@ -354,6 +372,9 @@ module FacebookAds
354
372
  unless search_string.nil?
355
373
  hash['search_string'] = search_string
356
374
  end
375
+ unless delivery_category.nil?
376
+ hash['delivery_category'] = FacebookAds::ServerSide::Util.normalize(delivery_category, 'delivery_category')
377
+ end
357
378
  unless item_number.nil?
358
379
  hash['item_number'] = item_number
359
380
  end
@@ -16,22 +16,18 @@
16
16
  # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
17
17
  # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18
18
 
19
- # FB:AUTOGEN
20
-
21
19
  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.
20
+ module ServerSide
21
+ DeliveryCategory = Set[
27
22
 
28
- class AtlasUrl < AdObject
23
+ # Customer needs to enter the store to get the purchased product.
24
+ 'in_store',
29
25
 
30
- field :url, 'string'
31
- has_no_id
32
- has_no_get
33
- has_no_post
34
- has_no_delete
26
+ # Customer picks up their order by driving to a store and waiting inside their vehicle.
27
+ 'curbside',
35
28
 
36
- end
29
+ # Purchase is delivered to the customer's home.
30
+ 'home_delivery'
31
+ ]
32
+ end
37
33
  end
@@ -58,6 +58,8 @@ module FacebookAds
58
58
  normalized_input = normalize_city input
59
59
  when 'currency'
60
60
  return normalize_currency input
61
+ when 'delivery_category'
62
+ return normalize_delivery_category input
61
63
  when 'em'
62
64
  normalized_input = normalize_email input
63
65
  when 'ge'
@@ -277,6 +279,17 @@ module FacebookAds
277
279
  end
278
280
  doby
279
281
  end
282
+
283
+ # Normalizes the input delivery category and returns valid value (or throw exception if invalid).
284
+ def self.normalize_delivery_category(delivery_category)
285
+
286
+ unless FacebookAds::ServerSide::DeliveryCategory.include?(delivery_category)
287
+ raise ArgumentError.new("Invalid delivery_category passed: " + delivery_category + ". Please use one of the defined values #{FacebookAds::ServerSide::DeliveryCategory.to_a.join(',')}" )
288
+ end
289
+
290
+ delivery_category;
291
+ end
292
+
280
293
  end
281
294
  end
282
295
  end
@@ -70,9 +70,5 @@ module FacebookAds
70
70
  edge.get 'ProductCatalog'
71
71
  end
72
72
 
73
- has_edge :updated_by do |edge|
74
- edge.get 'User'
75
- end
76
-
77
73
  end
78
74
  end
@@ -479,7 +479,6 @@ module FacebookAds
479
479
  api.has_param :privacy, 'string'
480
480
  api.has_param :projection, { enum: -> { LiveVideo::PROJECTION }}
481
481
  api.has_param :published, 'bool'
482
- api.has_param :save_vod, 'bool'
483
482
  api.has_param :schedule_custom_profile_image, 'file'
484
483
  api.has_param :spatial_audio_format, { enum: -> { LiveVideo::SPATIAL_AUDIO_FORMAT }}
485
484
  api.has_param :status, { enum: -> { LiveVideo::STATUS }}
@@ -610,10 +609,6 @@ module FacebookAds
610
609
  end
611
610
  end
612
611
 
613
- has_edge :taggable_friends do |edge|
614
- edge.get 'UserTaggableFriend'
615
- end
616
-
617
612
  has_edge :videos do |edge|
618
613
  edge.get 'AdVideo' do |api|
619
614
  api.has_param :type, { enum: -> { AdVideo::TYPE }}
@@ -19,6 +19,6 @@
19
19
  # FB:AUTOGEN
20
20
 
21
21
  module FacebookAds
22
- VERSION = '0.7.0.3'
23
- API_VERSION = '7.0'
22
+ VERSION = '0.8.0.0'
23
+ API_VERSION = '8.0'
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebookbusiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0.3
4
+ version: 0.8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-02 00:00:00.000000000 Z
11
+ date: 2020-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -376,7 +376,6 @@ files:
376
376
  - lib/facebook_ads/ad_objects/async_request.rb
377
377
  - lib/facebook_ads/ad_objects/async_session.rb
378
378
  - lib/facebook_ads/ad_objects/atlas_campaign.rb
379
- - lib/facebook_ads/ad_objects/atlas_url.rb
380
379
  - lib/facebook_ads/ad_objects/attribution_spec.rb
381
380
  - lib/facebook_ads/ad_objects/audience_insights_study_spec.rb
382
381
  - lib/facebook_ads/ad_objects/audience_permission_for_actions.rb
@@ -480,7 +479,6 @@ files:
480
479
  - lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb
481
480
  - lib/facebook_ads/ad_objects/invoice_campaign.rb
482
481
  - lib/facebook_ads/ad_objects/ios_app_link.rb
483
- - lib/facebook_ads/ad_objects/iterative_split_test_config.rb
484
482
  - lib/facebook_ads/ad_objects/key_value.rb
485
483
  - lib/facebook_ads/ad_objects/lead.rb
486
484
  - lib/facebook_ads/ad_objects/lead_gen_appointment_booking_info.rb
@@ -520,7 +518,6 @@ files:
520
518
  - lib/facebook_ads/ad_objects/oracle_transaction.rb
521
519
  - lib/facebook_ads/ad_objects/outcome_prediction_point.rb
522
520
  - lib/facebook_ads/ad_objects/page.rb
523
- - lib/facebook_ads/ad_objects/page_about_story.rb
524
521
  - lib/facebook_ads/ad_objects/page_admin_note.rb
525
522
  - lib/facebook_ads/ad_objects/page_call_to_action.rb
526
523
  - lib/facebook_ads/ad_objects/page_category.rb
@@ -596,12 +593,12 @@ files:
596
593
  - lib/facebook_ads/ad_objects/security_settings.rb
597
594
  - lib/facebook_ads/ad_objects/server_side/content.rb
598
595
  - lib/facebook_ads/ad_objects/server_side/custom_data.rb
596
+ - lib/facebook_ads/ad_objects/server_side/delivery_category.rb
599
597
  - lib/facebook_ads/ad_objects/server_side/event.rb
600
598
  - lib/facebook_ads/ad_objects/server_side/event_request.rb
601
599
  - lib/facebook_ads/ad_objects/server_side/event_response.rb
602
600
  - lib/facebook_ads/ad_objects/server_side/user_data.rb
603
601
  - lib/facebook_ads/ad_objects/server_side/util.rb
604
- - lib/facebook_ads/ad_objects/split_test_config.rb
605
602
  - lib/facebook_ads/ad_objects/split_test_winner.rb
606
603
  - lib/facebook_ads/ad_objects/store_catalog_settings.rb
607
604
  - lib/facebook_ads/ad_objects/system_user.rb
@@ -639,7 +636,6 @@ files:
639
636
  - lib/facebook_ads/ad_objects/user_payment_methods_info.rb
640
637
  - lib/facebook_ads/ad_objects/user_payment_mobile_pricepoints.rb
641
638
  - lib/facebook_ads/ad_objects/user_payment_modules_options.rb
642
- - lib/facebook_ads/ad_objects/user_taggable_friend.rb
643
639
  - lib/facebook_ads/ad_objects/value_based_eligible_source.rb
644
640
  - lib/facebook_ads/ad_objects/vehicle.rb
645
641
  - lib/facebook_ads/ad_objects/vehicle_offer.rb
@@ -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 IterativeSplitTestConfig < AdObject
29
-
30
- field :budget, 'int'
31
- field :end_time, 'datetime'
32
- field :guidance, 'object'
33
- field :id, 'string'
34
- field :iterative_split_test_original_variant_id, 'string'
35
- field :iterative_split_test_variant_to_split_mapping, 'hash'
36
- field :results_window, 'object'
37
- field :splits, { list: 'int' }
38
- field :start_time, 'datetime'
39
- has_no_post
40
- has_no_delete
41
-
42
- end
43
- 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 PageAboutStory < AdObject
29
-
30
- field :composed_text, { list: 'object' }
31
- field :cover_photo, 'Photo'
32
- field :entity_map, { list: 'object' }
33
- field :id, 'string'
34
- field :is_published, 'bool'
35
- field :page_id, 'string'
36
- field :title, 'string'
37
-
38
- end
39
- 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 SplitTestConfig < AdObject
29
-
30
- field :budget, 'int'
31
- field :early_winner_declaration_enabled, 'bool'
32
- field :end_time, 'datetime'
33
- field :splits, { list: 'int' }
34
- field :start_time, 'datetime'
35
- field :test_variable, 'string'
36
- field :id, 'string'
37
- has_no_post
38
- has_no_delete
39
-
40
- end
41
- 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 UserTaggableFriend < AdObject
29
-
30
- field :first_name, 'string'
31
- field :id, 'string'
32
- field :last_name, 'string'
33
- field :middle_name, 'string'
34
- field :name, 'string'
35
- has_no_get
36
- has_no_post
37
- has_no_delete
38
-
39
- has_edge :picture do |edge|
40
- edge.get 'ProfilePictureSource' do |api|
41
- api.has_param :breaking_change, { enum: -> { ProfilePictureSource::BREAKING_CHANGE }}
42
- api.has_param :height, 'int'
43
- api.has_param :redirect, 'bool'
44
- api.has_param :type, { enum: -> { ProfilePictureSource::TYPE }}
45
- api.has_param :width, 'int'
46
- end
47
- end
48
-
49
- end
50
- end