facebookbusiness 0.12.0.0 → 0.12.0.1

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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad_account.rb +4 -3
  3. data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +4 -8
  4. data/lib/facebook_ads/ad_objects/ad_account_reach_estimate.rb +2 -0
  5. data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +3 -0
  6. data/lib/facebook_ads/ad_objects/ad_activity.rb +1 -0
  7. data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +4 -16
  8. data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +4 -8
  9. data/lib/facebook_ads/ad_objects/ad_network_analytics_sync_query_result.rb +1 -0
  10. data/lib/facebook_ads/ad_objects/ad_preview.rb +2 -0
  11. data/lib/facebook_ads/ad_objects/ad_rule.rb +27 -0
  12. data/lib/facebook_ads/ad_objects/ad_set.rb +3 -8
  13. data/lib/facebook_ads/ad_objects/ad_video.rb +2 -0
  14. data/lib/facebook_ads/ad_objects/ads_action_stats.rb +2 -0
  15. data/lib/facebook_ads/ad_objects/ads_pixel.rb +4 -0
  16. data/lib/facebook_ads/ad_objects/application.rb +2 -3
  17. data/lib/facebook_ads/ad_objects/broad_targeting_categories.rb +2 -0
  18. data/lib/facebook_ads/ad_objects/business.rb +10 -0
  19. data/lib/facebook_ads/ad_objects/business_image.rb +44 -0
  20. data/lib/facebook_ads/ad_objects/campaign.rb +2 -0
  21. data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +5 -0
  22. data/lib/facebook_ads/ad_objects/content_delivery_report.rb +1 -0
  23. data/lib/facebook_ads/ad_objects/custom_audience.rb +2 -0
  24. data/lib/facebook_ads/ad_objects/event.rb +11 -6
  25. data/lib/facebook_ads/ad_objects/ig_comment.rb +2 -0
  26. data/lib/facebook_ads/ad_objects/live_video.rb +18 -17
  27. data/lib/facebook_ads/ad_objects/live_video_recommended_encoder_settings.rb +39 -0
  28. data/lib/facebook_ads/ad_objects/local_service_business.rb +2 -0
  29. data/lib/facebook_ads/ad_objects/messaging_feature_status.rb +37 -0
  30. data/lib/facebook_ads/ad_objects/page.rb +5 -2
  31. data/lib/facebook_ads/ad_objects/product_catalog.rb +13 -0
  32. data/lib/facebook_ads/ad_objects/product_feed.rb +15 -0
  33. data/lib/facebook_ads/ad_objects/product_item.rb +258 -0
  34. data/lib/facebook_ads/ad_objects/product_item_importer_address.rb +42 -0
  35. data/lib/facebook_ads/ad_objects/product_set.rb +1 -0
  36. data/lib/facebook_ads/ad_objects/profile.rb +2 -0
  37. data/lib/facebook_ads/ad_objects/reach_frequency_prediction.rb +2 -0
  38. data/lib/facebook_ads/ad_objects/saved_audience.rb +2 -0
  39. data/lib/facebook_ads/ad_objects/{playable_content.rb → shop.rb} +3 -8
  40. data/lib/facebook_ads/version.rb +1 -1
  41. metadata +7 -3
@@ -0,0 +1,39 @@
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 LiveVideoRecommendedEncoderSettings < AdObject
29
+
30
+ field :audio_codec_settings, 'object'
31
+ field :streaming_protocol, 'string'
32
+ field :video_codec_settings, 'object'
33
+ has_no_id
34
+ has_no_get
35
+ has_no_post
36
+ has_no_delete
37
+
38
+ end
39
+ end
@@ -36,6 +36,7 @@ module FacebookAds
36
36
  ]
37
37
 
38
38
 
39
+ field :address, 'object'
39
40
  field :applinks, 'CatalogItemAppLinks'
40
41
  field :brand, 'string'
41
42
  field :category_specific_fields, 'CatalogSubVerticalList'
@@ -53,6 +54,7 @@ module FacebookAds
53
54
  field :price, 'string'
54
55
  field :sanitized_images, { list: 'string' }
55
56
  field :title, 'string'
57
+ field :unit_price, 'object'
56
58
  field :url, 'string'
57
59
  has_no_post
58
60
  has_no_delete
@@ -0,0 +1,37 @@
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 MessagingFeatureStatus < AdObject
29
+
30
+ field :hop_v2, 'bool'
31
+ has_no_id
32
+ has_no_get
33
+ has_no_post
34
+ has_no_delete
35
+
36
+ end
37
+ end
@@ -467,10 +467,12 @@ module FacebookAds
467
467
  field :members, 'string'
468
468
  field :merchant_id, 'string'
469
469
  field :merchant_review_status, 'string'
470
+ field :messaging_feature_status, 'MessagingFeatureStatus'
470
471
  field :messenger_ads_default_icebreakers, { list: 'string' }
471
472
  field :messenger_ads_default_page_welcome_message, 'MessengerDestinationPageWelcomeMessage'
472
473
  field :messenger_ads_default_quick_replies, { list: 'string' }
473
474
  field :messenger_ads_quick_replies_type, 'string'
475
+ field :mini_shop_storefront, 'Shop'
474
476
  field :mission, 'string'
475
477
  field :mpg, 'string'
476
478
  field :name, 'string'
@@ -599,9 +601,10 @@ module FacebookAds
599
601
  end
600
602
 
601
603
  has_edge :business_data do |edge|
602
- edge.post 'Page' do |api|
604
+ edge.post do |api|
603
605
  api.has_param :data, { list: 'string' }
604
606
  api.has_param :partner_agent, 'string'
607
+ api.has_param :processing_type, 'string'
605
608
  end
606
609
  end
607
610
 
@@ -714,7 +717,7 @@ module FacebookAds
714
717
  has_edge :copyright_manual_claims do |edge|
715
718
  edge.post do |api|
716
719
  api.has_param :action, { enum: %w{BLOCK CLAIM_AD_EARNINGS MANUAL_REVIEW MONITOR REQUEST_TAKEDOWN }}
717
- api.has_param :action_reason, { enum: %w{ARTIST_OBJECTION OBJECTIONABLE_CONTENT PREMIUM_MUSIC_VIDEO PRERELEASE_CONTENT PRODUCT_PARAMETERS RESTRICTED_CONTENT UNAUTHORIZED_COMMERCIAL_USE }}
720
+ api.has_param :action_reason, { enum: %w{ARTICLE_17_PREFLAGGING ARTIST_OBJECTION OBJECTIONABLE_CONTENT PREMIUM_MUSIC_VIDEO PRERELEASE_CONTENT PRODUCT_PARAMETERS RESTRICTED_CONTENT UNAUTHORIZED_COMMERCIAL_USE }}
718
721
  api.has_param :countries, 'object'
719
722
  api.has_param :match_content_type, { enum: %w{AUDIO_ONLY VIDEO_AND_AUDIO VIDEO_ONLY }}
720
723
  api.has_param :matched_asset_id, 'string'
@@ -178,6 +178,12 @@ module FacebookAds
178
178
  end
179
179
  end
180
180
 
181
+ has_edge :catalog_website_settings do |edge|
182
+ edge.post do |api|
183
+ api.has_param :is_allowed_to_crawl, 'bool'
184
+ end
185
+ end
186
+
181
187
  has_edge :categories do |edge|
182
188
  edge.get 'ProductCatalogCategory' do |api|
183
189
  api.has_param :categorization_criteria, { enum: -> { ProductCatalogCategory::CATEGORIZATION_CRITERIA }}
@@ -346,11 +352,13 @@ module FacebookAds
346
352
  api.has_param :encoding, { enum: -> { ProductFeed::ENCODING }}
347
353
  api.has_param :feed_type, { enum: -> { ProductFeed::FEED_TYPE }}
348
354
  api.has_param :file_name, 'string'
355
+ api.has_param :ingestion_source_type, { enum: -> { ProductFeed::INGESTION_SOURCE_TYPE }}
349
356
  api.has_param :item_sub_type, { enum: -> { ProductFeed::ITEM_SUB_TYPE }}
350
357
  api.has_param :migrated_from_feed_id, 'string'
351
358
  api.has_param :name, 'string'
352
359
  api.has_param :override_type, { enum: -> { ProductFeed::OVERRIDE_TYPE }}
353
360
  api.has_param :override_value, 'string'
361
+ api.has_param :primary_feed_ids, { list: 'string' }
354
362
  api.has_param :quoted_fields_mode, { enum: -> { ProductFeed::QUOTED_FIELDS_MODE }}
355
363
  api.has_param :rules, { list: 'string' }
356
364
  api.has_param :schedule, 'string'
@@ -379,6 +387,7 @@ module FacebookAds
379
387
  api.has_param :metadata, 'hash'
380
388
  api.has_param :name, 'string'
381
389
  api.has_param :ordering_info, { list: 'int' }
390
+ api.has_param :publish_to_shops, { list: 'hash' }
382
391
  api.has_param :retailer_id, 'string'
383
392
  end
384
393
  end
@@ -424,6 +433,8 @@ module FacebookAds
424
433
  api.has_param :gender, { enum: -> { ProductItem::GENDER }}
425
434
  api.has_param :gtin, 'string'
426
435
  api.has_param :image_url, 'string'
436
+ api.has_param :importer_address, 'hash'
437
+ api.has_param :importer_name, 'string'
427
438
  api.has_param :inventory, 'int'
428
439
  api.has_param :ios_app_name, 'string'
429
440
  api.has_param :ios_app_store_id, 'int'
@@ -435,6 +446,7 @@ module FacebookAds
435
446
  api.has_param :iphone_app_store_id, 'int'
436
447
  api.has_param :iphone_url, 'string'
437
448
  api.has_param :launch_date, 'string'
449
+ api.has_param :manufacturer_info, 'string'
438
450
  api.has_param :manufacturer_part_number, 'string'
439
451
  api.has_param :marked_for_product_launch, { enum: -> { ProductItem::MARKED_FOR_PRODUCT_LAUNCH }}
440
452
  api.has_param :material, 'string'
@@ -444,6 +456,7 @@ module FacebookAds
444
456
  api.has_param :offer_price_end_date, 'datetime'
445
457
  api.has_param :offer_price_start_date, 'datetime'
446
458
  api.has_param :ordering_index, 'int'
459
+ api.has_param :origin_country, { enum: -> { ProductItem::ORIGIN_COUNTRY }}
447
460
  api.has_param :pattern, 'string'
448
461
  api.has_param :price, 'int'
449
462
  api.has_param :product_type, 'string'
@@ -69,6 +69,11 @@ module FacebookAds
69
69
  "VEHICLE_OFFER",
70
70
  ]
71
71
 
72
+ INGESTION_SOURCE_TYPE = [
73
+ "PRIMARY_FEED",
74
+ "SUPPLEMENTARY_FEED",
75
+ ]
76
+
72
77
  ITEM_SUB_TYPE = [
73
78
  "APPLIANCES",
74
79
  "BABY_FEEDING",
@@ -115,17 +120,21 @@ module FacebookAds
115
120
  field :encoding, 'string'
116
121
  field :file_name, 'string'
117
122
  field :id, 'string'
123
+ field :ingestion_source_type, 'string'
118
124
  field :item_sub_type, 'string'
119
125
  field :latest_upload, 'ProductFeedUpload'
120
126
  field :migrated_from_feed_id, 'string'
121
127
  field :name, 'string'
122
128
  field :override_type, 'string'
129
+ field :primary_feeds, { list: 'string' }
123
130
  field :product_count, 'int'
124
131
  field :quoted_fields_mode, { enum: -> { QUOTED_FIELDS_MODE }}
125
132
  field :schedule, 'ProductFeedSchedule'
133
+ field :supplementary_feeds, { list: 'string' }
126
134
  field :update_schedule, 'ProductFeedSchedule'
127
135
  field :feed_type, { enum: -> { FEED_TYPE }}
128
136
  field :override_value, 'string'
137
+ field :primary_feed_ids, { list: 'string' }
129
138
  field :rules, { list: 'string' }
130
139
  field :selected_override_fields, { list: 'string' }
131
140
 
@@ -191,6 +200,12 @@ module FacebookAds
191
200
  end
192
201
  end
193
202
 
203
+ has_edge :supplementary_feed_assocs do |edge|
204
+ edge.post do |api|
205
+ api.has_param :assoc_data, { list: 'hash' }
206
+ end
207
+ end
208
+
194
209
  has_edge :upload_schedules do |edge|
195
210
  edge.get 'ProductFeedSchedule'
196
211
  edge.post 'ProductFeed' do |api|
@@ -303,6 +303,260 @@ module FacebookAds
303
303
  "not_marked",
304
304
  ]
305
305
 
306
+ ORIGIN_COUNTRY = [
307
+ "AD",
308
+ "AE",
309
+ "AF",
310
+ "AG",
311
+ "AI",
312
+ "AL",
313
+ "AM",
314
+ "AN",
315
+ "AO",
316
+ "AQ",
317
+ "AR",
318
+ "AS",
319
+ "AT",
320
+ "AU",
321
+ "AW",
322
+ "AX",
323
+ "AZ",
324
+ "BA",
325
+ "BB",
326
+ "BD",
327
+ "BE",
328
+ "BF",
329
+ "BG",
330
+ "BH",
331
+ "BI",
332
+ "BJ",
333
+ "BL",
334
+ "BM",
335
+ "BN",
336
+ "BO",
337
+ "BQ",
338
+ "BR",
339
+ "BS",
340
+ "BT",
341
+ "BV",
342
+ "BW",
343
+ "BY",
344
+ "BZ",
345
+ "CA",
346
+ "CC",
347
+ "CD",
348
+ "CF",
349
+ "CG",
350
+ "CH",
351
+ "CI",
352
+ "CK",
353
+ "CL",
354
+ "CM",
355
+ "CN",
356
+ "CO",
357
+ "CR",
358
+ "CU",
359
+ "CV",
360
+ "CW",
361
+ "CX",
362
+ "CY",
363
+ "CZ",
364
+ "DE",
365
+ "DJ",
366
+ "DK",
367
+ "DM",
368
+ "DO",
369
+ "DZ",
370
+ "EC",
371
+ "EE",
372
+ "EG",
373
+ "EH",
374
+ "ER",
375
+ "ES",
376
+ "ET",
377
+ "FI",
378
+ "FJ",
379
+ "FK",
380
+ "FM",
381
+ "FO",
382
+ "FR",
383
+ "GA",
384
+ "GB",
385
+ "GD",
386
+ "GE",
387
+ "GF",
388
+ "GG",
389
+ "GH",
390
+ "GI",
391
+ "GL",
392
+ "GM",
393
+ "GN",
394
+ "GP",
395
+ "GQ",
396
+ "GR",
397
+ "GS",
398
+ "GT",
399
+ "GU",
400
+ "GW",
401
+ "GY",
402
+ "HK",
403
+ "HM",
404
+ "HN",
405
+ "HR",
406
+ "HT",
407
+ "HU",
408
+ "ID",
409
+ "IE",
410
+ "IL",
411
+ "IM",
412
+ "IN",
413
+ "IO",
414
+ "IQ",
415
+ "IR",
416
+ "IS",
417
+ "IT",
418
+ "JE",
419
+ "JM",
420
+ "JO",
421
+ "JP",
422
+ "KE",
423
+ "KG",
424
+ "KH",
425
+ "KI",
426
+ "KM",
427
+ "KN",
428
+ "KP",
429
+ "KR",
430
+ "KW",
431
+ "KY",
432
+ "KZ",
433
+ "LA",
434
+ "LB",
435
+ "LC",
436
+ "LI",
437
+ "LK",
438
+ "LR",
439
+ "LS",
440
+ "LT",
441
+ "LU",
442
+ "LV",
443
+ "LY",
444
+ "MA",
445
+ "MC",
446
+ "MD",
447
+ "ME",
448
+ "MF",
449
+ "MG",
450
+ "MH",
451
+ "MK",
452
+ "ML",
453
+ "MM",
454
+ "MN",
455
+ "MO",
456
+ "MP",
457
+ "MQ",
458
+ "MR",
459
+ "MS",
460
+ "MT",
461
+ "MU",
462
+ "MV",
463
+ "MW",
464
+ "MX",
465
+ "MY",
466
+ "MZ",
467
+ "NA",
468
+ "NC",
469
+ "NE",
470
+ "NF",
471
+ "NG",
472
+ "NI",
473
+ "NL",
474
+ "NO",
475
+ "NP",
476
+ "NR",
477
+ "NU",
478
+ "NZ",
479
+ "OM",
480
+ "PA",
481
+ "PE",
482
+ "PF",
483
+ "PG",
484
+ "PH",
485
+ "PK",
486
+ "PL",
487
+ "PM",
488
+ "PN",
489
+ "PR",
490
+ "PS",
491
+ "PT",
492
+ "PW",
493
+ "PY",
494
+ "QA",
495
+ "RE",
496
+ "RO",
497
+ "RS",
498
+ "RU",
499
+ "RW",
500
+ "SA",
501
+ "SB",
502
+ "SC",
503
+ "SD",
504
+ "SE",
505
+ "SG",
506
+ "SH",
507
+ "SI",
508
+ "SJ",
509
+ "SK",
510
+ "SL",
511
+ "SM",
512
+ "SN",
513
+ "SO",
514
+ "SR",
515
+ "SS",
516
+ "ST",
517
+ "SV",
518
+ "SX",
519
+ "SY",
520
+ "SZ",
521
+ "TC",
522
+ "TD",
523
+ "TF",
524
+ "TG",
525
+ "TH",
526
+ "TJ",
527
+ "TK",
528
+ "TL",
529
+ "TM",
530
+ "TN",
531
+ "TO",
532
+ "TR",
533
+ "TT",
534
+ "TV",
535
+ "TW",
536
+ "TZ",
537
+ "UA",
538
+ "UG",
539
+ "UM",
540
+ "US",
541
+ "UY",
542
+ "UZ",
543
+ "VA",
544
+ "VC",
545
+ "VE",
546
+ "VG",
547
+ "VI",
548
+ "VN",
549
+ "VU",
550
+ "WF",
551
+ "WS",
552
+ "XK",
553
+ "YE",
554
+ "YT",
555
+ "ZA",
556
+ "ZM",
557
+ "ZW",
558
+ ]
559
+
306
560
 
307
561
  field :additional_image_cdn_urls, { list: 'hash' }
308
562
  field :additional_image_urls, { list: 'string' }
@@ -335,14 +589,18 @@ module FacebookAds
335
589
  field :image_fetch_status, { enum: -> { IMAGE_FETCH_STATUS }}
336
590
  field :image_url, 'string'
337
591
  field :images, { list: 'string' }
592
+ field :importer_address, 'ProductItemImporterAddress'
593
+ field :importer_name, 'string'
338
594
  field :invalidation_errors, { list: 'object' }
339
595
  field :inventory, 'int'
596
+ field :manufacturer_info, 'string'
340
597
  field :manufacturer_part_number, 'string'
341
598
  field :marked_for_product_launch, 'string'
342
599
  field :material, 'string'
343
600
  field :mobile_link, 'string'
344
601
  field :name, 'string'
345
602
  field :ordering_index, 'int'
603
+ field :origin_country, 'string'
346
604
  field :parent_product_id, 'string'
347
605
  field :pattern, 'string'
348
606
  field :price, 'string'
@@ -0,0 +1,42 @@
1
+ # Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
2
+ #
3
+ # You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
4
+ # copy, modify, and distribute this software in source code or binary form for use
5
+ # in connection with the web services and APIs provided by Facebook.
6
+ #
7
+ # As with any software that integrates with the Facebook platform, your use of
8
+ # this software is subject to the Facebook Platform Policy
9
+ # [http://developers.facebook.com/policy/]. This copyright notice shall be
10
+ # included in all copies or substantial portions of the software.
11
+ #
12
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
14
+ # FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
15
+ # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
16
+ # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
17
+ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18
+
19
+ # FB:AUTOGEN
20
+
21
+ module FacebookAds
22
+ # This class is auto-generated.
23
+
24
+ # For any issues or feature requests related to this class, please let us know
25
+ # on github and we'll fix in our codegen framework. We'll not be able to accept
26
+ # pull request for this class.
27
+
28
+ class ProductItemImporterAddress < AdObject
29
+
30
+ field :city, 'string'
31
+ field :country, 'string'
32
+ field :postal_code, 'string'
33
+ field :region, 'string'
34
+ field :street1, 'string'
35
+ field :street2, 'string'
36
+ has_no_id
37
+ has_no_get
38
+ has_no_post
39
+ has_no_delete
40
+
41
+ end
42
+ end
@@ -38,6 +38,7 @@ module FacebookAds
38
38
  field :product_count, 'int'
39
39
  field :retailer_id, 'string'
40
40
  field :metadata, 'hash'
41
+ field :publish_to_shops, { list: 'hash' }
41
42
 
42
43
  has_edge :automotive_models do |edge|
43
44
  edge.get 'AutomotiveModel' do |api|
@@ -37,7 +37,9 @@ module FacebookAds
37
37
  TYPE = [
38
38
  "ANGRY",
39
39
  "CARE",
40
+ "FIRE",
40
41
  "HAHA",
42
+ "HUNDRED",
41
43
  "LIKE",
42
44
  "LOVE",
43
45
  "NONE",
@@ -64,6 +64,8 @@ module FacebookAds
64
64
  field :activity_status, 'ReachFrequencyActivity'
65
65
  field :ad_formats, { list: 'ReachFrequencyAdFormat' }
66
66
  field :auction_entry_option_index, 'int'
67
+ field :audience_size_lower_bound, 'int'
68
+ field :audience_size_upper_bound, 'int'
67
69
  field :business_id, 'int'
68
70
  field :buying_type, 'string'
69
71
  field :campaign_group_id, 'int'
@@ -30,6 +30,8 @@ module FacebookAds
30
30
  field :account, 'AdAccount'
31
31
  field :approximate_count, 'int'
32
32
  field :approximate_count_64bit, 'int'
33
+ field :approximate_count_lower_bound, 'int'
34
+ field :approximate_count_upper_bound, 'int'
33
35
  field :delete_time, 'int'
34
36
  field :description, 'string'
35
37
  field :extra_info, 'string'
@@ -25,16 +25,11 @@ 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 PlayableContent < AdObject
28
+ class Shop < AdObject
29
29
 
30
+ field :fb_sales_channel, 'object'
30
31
  field :id, 'string'
31
- field :name, 'string'
32
- field :owner, 'Profile'
33
- field :app_id, 'string'
34
- field :session_id, 'string'
35
- field :source, 'file'
36
- field :source_url, 'string'
37
- field :source_zip, 'file'
32
+ field :ig_sales_channel, 'object'
38
33
  has_no_post
39
34
  has_no_delete
40
35
 
@@ -19,6 +19,6 @@
19
19
  # FB:AUTOGEN
20
20
 
21
21
  module FacebookAds
22
- VERSION = '0.12.0.0'
22
+ VERSION = '0.12.0.1'
23
23
  API_VERSION = '12.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.12.0.0
4
+ version: 0.12.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-16 00:00:00.000000000 Z
11
+ date: 2021-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -405,6 +405,7 @@ files:
405
405
  - lib/facebook_ads/ad_objects/business_application_request.rb
406
406
  - lib/facebook_ads/ad_objects/business_asset_group.rb
407
407
  - lib/facebook_ads/ad_objects/business_asset_sharing_agreement.rb
408
+ - lib/facebook_ads/ad_objects/business_image.rb
408
409
  - lib/facebook_ads/ad_objects/business_managed_partner_eligibility.rb
409
410
  - lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb
410
411
  - lib/facebook_ads/ad_objects/business_page_request.rb
@@ -521,6 +522,7 @@ files:
521
522
  - lib/facebook_ads/ad_objects/live_video_ad_break_config.rb
522
523
  - lib/facebook_ads/ad_objects/live_video_error.rb
523
524
  - lib/facebook_ads/ad_objects/live_video_input_stream.rb
525
+ - lib/facebook_ads/ad_objects/live_video_recommended_encoder_settings.rb
524
526
  - lib/facebook_ads/ad_objects/live_video_targeting.rb
525
527
  - lib/facebook_ads/ad_objects/local_service_business.rb
526
528
  - lib/facebook_ads/ad_objects/location.rb
@@ -529,6 +531,7 @@ files:
529
531
  - lib/facebook_ads/ad_objects/managed_partner_business.rb
530
532
  - lib/facebook_ads/ad_objects/media_fingerprint.rb
531
533
  - lib/facebook_ads/ad_objects/messaging_feature_review.rb
534
+ - lib/facebook_ads/ad_objects/messaging_feature_status.rb
532
535
  - lib/facebook_ads/ad_objects/messenger_destination_page_welcome_message.rb
533
536
  - lib/facebook_ads/ad_objects/messenger_profile.rb
534
537
  - lib/facebook_ads/ad_objects/minimum_budget.rb
@@ -570,7 +573,6 @@ files:
570
573
  - lib/facebook_ads/ad_objects/place.rb
571
574
  - lib/facebook_ads/ad_objects/place_topic.rb
572
575
  - lib/facebook_ads/ad_objects/platform_image_source.rb
573
- - lib/facebook_ads/ad_objects/playable_content.rb
574
576
  - lib/facebook_ads/ad_objects/post.rb
575
577
  - lib/facebook_ads/ad_objects/privacy.rb
576
578
  - lib/facebook_ads/ad_objects/private_lift_study_instance.rb
@@ -596,6 +598,7 @@ files:
596
598
  - lib/facebook_ads/ad_objects/product_item.rb
597
599
  - lib/facebook_ads/ad_objects/product_item_ar_data.rb
598
600
  - lib/facebook_ads/ad_objects/product_item_commerce_insights.rb
601
+ - lib/facebook_ads/ad_objects/product_item_importer_address.rb
599
602
  - lib/facebook_ads/ad_objects/product_set.rb
600
603
  - lib/facebook_ads/ad_objects/product_set_metadata.rb
601
604
  - lib/facebook_ads/ad_objects/product_variant.rb
@@ -633,6 +636,7 @@ files:
633
636
  - lib/facebook_ads/ad_objects/server_side/http_util.rb
634
637
  - lib/facebook_ads/ad_objects/server_side/user_data.rb
635
638
  - lib/facebook_ads/ad_objects/server_side/util.rb
639
+ - lib/facebook_ads/ad_objects/shop.rb
636
640
  - lib/facebook_ads/ad_objects/split_test_winner.rb
637
641
  - lib/facebook_ads/ad_objects/store_catalog_settings.rb
638
642
  - lib/facebook_ads/ad_objects/system_user.rb