facebookbusiness 0.9.0.1 → 0.9.0.2
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 +3 -0
- data/lib/facebook_ads/ad_objects/ad_account.rb +8 -10
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_matched_search_applications_edge_data.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +2 -2
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +1 -0
- data/lib/facebook_ads/ad_objects/{friend_list.rb → ad_creative_omnichannel_link_spec.rb} +5 -5
- data/lib/facebook_ads/ad_objects/ad_report_run.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_set.rb +3 -1
- data/lib/facebook_ads/ad_objects/ad_video.rb +1 -10
- data/lib/facebook_ads/ad_objects/album.rb +0 -10
- data/lib/facebook_ads/ad_objects/application.rb +1 -10
- data/lib/facebook_ads/ad_objects/business.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_asset_group.rb +1 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +4 -2
- data/lib/facebook_ads/ad_objects/{user_payment_modules_options.rb → catalog_item_channels_to_integrity_status.rb} +3 -5
- data/lib/facebook_ads/ad_objects/custom_audience.rb +8 -0
- data/lib/facebook_ads/ad_objects/group.rb +23 -10
- data/lib/facebook_ads/ad_objects/ig_media.rb +0 -1
- data/lib/facebook_ads/ad_objects/ig_user.rb +0 -1
- data/lib/facebook_ads/ad_objects/link.rb +0 -10
- data/lib/facebook_ads/ad_objects/live_video.rb +12 -12
- data/lib/facebook_ads/ad_objects/messenger_profile.rb +1 -0
- data/lib/facebook_ads/ad_objects/page.rb +2 -6
- data/lib/facebook_ads/ad_objects/page_post.rb +0 -10
- data/lib/facebook_ads/ad_objects/{event_tour.rb → payment_engine_payment.rb} +35 -18
- data/lib/facebook_ads/ad_objects/payment_subscription.rb +3 -3
- data/lib/facebook_ads/ad_objects/photo.rb +0 -10
- data/lib/facebook_ads/ad_objects/post.rb +12 -40
- data/lib/facebook_ads/ad_objects/product_feed_schedule.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_group.rb +8 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +13 -0
- data/lib/facebook_ads/ad_objects/targeting.rb +0 -2
- data/lib/facebook_ads/ad_objects/unified_thread.rb +0 -1
- data/lib/facebook_ads/ad_objects/user.rb +13 -16
- data/lib/facebook_ads/ad_objects/{offline_terms_of_service.rb → whats_app_business_profile.rb} +2 -4
- data/lib/facebook_ads/version.rb +1 -1
- metadata +6 -8
- data/lib/facebook_ads/ad_objects/ad_account_creation_request.rb +0 -71
- data/lib/facebook_ads/ad_objects/user_payment_methods_info.rb +0 -43
@@ -49,14 +49,10 @@ module FacebookAds
|
|
49
49
|
|
50
50
|
|
51
51
|
field :about, 'string'
|
52
|
-
field :address, 'Location'
|
53
|
-
field :admin_notes, { list: 'PageAdminNote' }
|
54
52
|
field :age_range, 'AgeRange'
|
55
|
-
field :auth_method, 'string'
|
56
53
|
field :birthday, 'string'
|
57
54
|
field :cover, 'UserCoverPhoto'
|
58
55
|
field :currency, 'Currency'
|
59
|
-
field :devices, { list: 'UserDevice' }
|
60
56
|
field :education, { list: 'object' }
|
61
57
|
field :email, 'string'
|
62
58
|
field :favorite_athletes, { list: 'Experience' }
|
@@ -79,15 +75,12 @@ module FacebookAds
|
|
79
75
|
field :locale, 'string'
|
80
76
|
field :location, 'Page'
|
81
77
|
field :meeting_for, { list: 'string' }
|
82
|
-
field :messenger_join_notifications_enabled, 'bool'
|
83
78
|
field :middle_name, 'string'
|
84
79
|
field :name, 'string'
|
85
80
|
field :name_format, 'string'
|
86
81
|
field :payment_pricepoints, 'PaymentPricepoints'
|
87
82
|
field :political, 'string'
|
88
83
|
field :profile_pic, 'string'
|
89
|
-
field :public_key, 'string'
|
90
|
-
field :published_timeline, 'bool'
|
91
84
|
field :quotes, 'string'
|
92
85
|
field :relationship_status, 'string'
|
93
86
|
field :religion, 'string'
|
@@ -100,12 +93,9 @@ module FacebookAds
|
|
100
93
|
field :timezone, 'double'
|
101
94
|
field :token_for_business, 'string'
|
102
95
|
field :updated_time, 'datetime'
|
103
|
-
field :user_storage_key, 'string'
|
104
|
-
field :username, 'string'
|
105
96
|
field :verified, 'bool'
|
106
97
|
field :video_upload_limits, 'VideoUploadLimits'
|
107
98
|
field :website, 'string'
|
108
|
-
field :work, { list: 'object' }
|
109
99
|
|
110
100
|
has_edge :access_tokens do |edge|
|
111
101
|
edge.delete
|
@@ -225,10 +215,6 @@ module FacebookAds
|
|
225
215
|
end
|
226
216
|
end
|
227
217
|
|
228
|
-
has_edge :custom_labels do |edge|
|
229
|
-
edge.get 'PageUserMessageThreadLabel'
|
230
|
-
end
|
231
|
-
|
232
218
|
has_edge :events do |edge|
|
233
219
|
edge.get 'Event' do |api|
|
234
220
|
api.has_param :include_canceled, 'bool'
|
@@ -511,8 +497,8 @@ module FacebookAds
|
|
511
497
|
end
|
512
498
|
end
|
513
499
|
|
514
|
-
has_edge :
|
515
|
-
edge.get '
|
500
|
+
has_edge :payment_transactions do |edge|
|
501
|
+
edge.get 'PaymentEnginePayment'
|
516
502
|
end
|
517
503
|
|
518
504
|
has_edge :permissions do |edge|
|
@@ -599,6 +585,17 @@ module FacebookAds
|
|
599
585
|
end
|
600
586
|
end
|
601
587
|
|
588
|
+
has_edge :posts do |edge|
|
589
|
+
edge.get 'Post' do |api|
|
590
|
+
api.has_param :include_hidden, 'bool'
|
591
|
+
api.has_param :q, 'string'
|
592
|
+
api.has_param :show_expired, 'bool'
|
593
|
+
api.has_param :since, 'datetime'
|
594
|
+
api.has_param :until, 'datetime'
|
595
|
+
api.has_param :with, 'string'
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
602
599
|
has_edge :rich_media_documents do |edge|
|
603
600
|
edge.get 'Canvas' do |api|
|
604
601
|
api.has_param :query, 'string'
|
data/lib/facebook_ads/ad_objects/{offline_terms_of_service.rb → whats_app_business_profile.rb}
RENAMED
@@ -25,12 +25,10 @@ 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 WhatsAppBusinessProfile < AdObject
|
29
29
|
|
30
|
-
field :accept_time, 'int'
|
31
30
|
field :id, 'string'
|
32
|
-
field :
|
33
|
-
has_no_post
|
31
|
+
field :name_verification, 'object'
|
34
32
|
has_no_delete
|
35
33
|
|
36
34
|
end
|
data/lib/facebook_ads/version.rb
CHANGED
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.9.0.
|
4
|
+
version: 0.9.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Facebook
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -266,7 +266,6 @@ files:
|
|
266
266
|
- lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb
|
267
267
|
- lib/facebook_ads/ad_objects/ad_account_ad_volume.rb
|
268
268
|
- lib/facebook_ads/ad_objects/ad_account_content_filter_levels_inheritance.rb
|
269
|
-
- lib/facebook_ads/ad_objects/ad_account_creation_request.rb
|
270
269
|
- lib/facebook_ads/ad_objects/ad_account_default_destination.rb
|
271
270
|
- lib/facebook_ads/ad_objects/ad_account_default_objective.rb
|
272
271
|
- lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb
|
@@ -320,6 +319,7 @@ files:
|
|
320
319
|
- lib/facebook_ads/ad_objects/ad_creative_link_data_sponsorship_info_spec.rb
|
321
320
|
- lib/facebook_ads/ad_objects/ad_creative_link_data_template_video_spec.rb
|
322
321
|
- lib/facebook_ads/ad_objects/ad_creative_object_story_spec.rb
|
322
|
+
- lib/facebook_ads/ad_objects/ad_creative_omnichannel_link_spec.rb
|
323
323
|
- lib/facebook_ads/ad_objects/ad_creative_photo_data.rb
|
324
324
|
- lib/facebook_ads/ad_objects/ad_creative_photo_data_media_elements.rb
|
325
325
|
- lib/facebook_ads/ad_objects/ad_creative_place_data.rb
|
@@ -419,6 +419,7 @@ files:
|
|
419
419
|
- lib/facebook_ads/ad_objects/catalog_based_targeting.rb
|
420
420
|
- lib/facebook_ads/ad_objects/catalog_item_app_links.rb
|
421
421
|
- lib/facebook_ads/ad_objects/catalog_item_appeal_status.rb
|
422
|
+
- lib/facebook_ads/ad_objects/catalog_item_channels_to_integrity_status.rb
|
422
423
|
- lib/facebook_ads/ad_objects/catalog_sub_vertical_list.rb
|
423
424
|
- lib/facebook_ads/ad_objects/check_batch_request_status.rb
|
424
425
|
- lib/facebook_ads/ad_objects/child_event.rb
|
@@ -468,7 +469,6 @@ files:
|
|
468
469
|
- lib/facebook_ads/ad_objects/entity_at_text_range.rb
|
469
470
|
- lib/facebook_ads/ad_objects/event.rb
|
470
471
|
- lib/facebook_ads/ad_objects/event_source_group.rb
|
471
|
-
- lib/facebook_ads/ad_objects/event_tour.rb
|
472
472
|
- lib/facebook_ads/ad_objects/experience.rb
|
473
473
|
- lib/facebook_ads/ad_objects/extended_credit.rb
|
474
474
|
- lib/facebook_ads/ad_objects/extended_credit_allocation_config.rb
|
@@ -477,7 +477,6 @@ files:
|
|
477
477
|
- lib/facebook_ads/ad_objects/fame_export_config.rb
|
478
478
|
- lib/facebook_ads/ad_objects/flexible_targeting.rb
|
479
479
|
- lib/facebook_ads/ad_objects/flight.rb
|
480
|
-
- lib/facebook_ads/ad_objects/friend_list.rb
|
481
480
|
- lib/facebook_ads/ad_objects/funding_source_details.rb
|
482
481
|
- lib/facebook_ads/ad_objects/funding_source_details_coupon.rb
|
483
482
|
- lib/facebook_ads/ad_objects/group.rb
|
@@ -530,7 +529,6 @@ files:
|
|
530
529
|
- lib/facebook_ads/ad_objects/native_offer_view.rb
|
531
530
|
- lib/facebook_ads/ad_objects/null_node.rb
|
532
531
|
- lib/facebook_ads/ad_objects/offline_conversion_data_set.rb
|
533
|
-
- lib/facebook_ads/ad_objects/offline_terms_of_service.rb
|
534
532
|
- lib/facebook_ads/ad_objects/offsite_pixel.rb
|
535
533
|
- lib/facebook_ads/ad_objects/open_graph_context.rb
|
536
534
|
- lib/facebook_ads/ad_objects/oracle_transaction.rb
|
@@ -552,6 +550,7 @@ files:
|
|
552
550
|
- lib/facebook_ads/ad_objects/page_upcoming_change.rb
|
553
551
|
- lib/facebook_ads/ad_objects/page_user_message_thread_label.rb
|
554
552
|
- lib/facebook_ads/ad_objects/partner_study.rb
|
553
|
+
- lib/facebook_ads/ad_objects/payment_engine_payment.rb
|
555
554
|
- lib/facebook_ads/ad_objects/payment_pricepoints.rb
|
556
555
|
- lib/facebook_ads/ad_objects/payment_subscription.rb
|
557
556
|
- lib/facebook_ads/ad_objects/permission.rb
|
@@ -657,9 +656,7 @@ files:
|
|
657
656
|
- lib/facebook_ads/ad_objects/user_id_for_page.rb
|
658
657
|
- lib/facebook_ads/ad_objects/user_lead_gen_disclaimer_response.rb
|
659
658
|
- lib/facebook_ads/ad_objects/user_lead_gen_field_data.rb
|
660
|
-
- lib/facebook_ads/ad_objects/user_payment_methods_info.rb
|
661
659
|
- lib/facebook_ads/ad_objects/user_payment_mobile_pricepoints.rb
|
662
|
-
- lib/facebook_ads/ad_objects/user_payment_modules_options.rb
|
663
660
|
- lib/facebook_ads/ad_objects/value_based_eligible_source.rb
|
664
661
|
- lib/facebook_ads/ad_objects/vehicle.rb
|
665
662
|
- lib/facebook_ads/ad_objects/vehicle_offer.rb
|
@@ -675,6 +672,7 @@ files:
|
|
675
672
|
- lib/facebook_ads/ad_objects/voip_info.rb
|
676
673
|
- lib/facebook_ads/ad_objects/web_app_link.rb
|
677
674
|
- lib/facebook_ads/ad_objects/whats_app_business_account.rb
|
675
|
+
- lib/facebook_ads/ad_objects/whats_app_business_profile.rb
|
678
676
|
- lib/facebook_ads/ad_objects/windows_app_link.rb
|
679
677
|
- lib/facebook_ads/ad_objects/windows_phone_app_link.rb
|
680
678
|
- lib/facebook_ads/ad_objects/work_user_frontline.rb
|
@@ -1,71 +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 AdAccountCreationRequest < AdObject
|
29
|
-
|
30
|
-
field :ad_accounts_currency, 'string'
|
31
|
-
field :ad_accounts_info, { list: 'object' }
|
32
|
-
field :additional_comment, 'string'
|
33
|
-
field :address_in_chinese, 'string'
|
34
|
-
field :address_in_english, 'object'
|
35
|
-
field :address_in_local_language, 'string'
|
36
|
-
field :advertiser_business, 'Business'
|
37
|
-
field :appeal_reason, 'object'
|
38
|
-
field :business, 'Business'
|
39
|
-
field :business_registration_id, 'string'
|
40
|
-
field :chinese_legal_entity_name, 'string'
|
41
|
-
field :contact, 'object'
|
42
|
-
field :creator, 'User'
|
43
|
-
field :credit_card_id, 'string'
|
44
|
-
field :disapproval_reasons, { list: 'object' }
|
45
|
-
field :english_legal_entity_name, 'string'
|
46
|
-
field :extended_credit_id, 'string'
|
47
|
-
field :id, 'string'
|
48
|
-
field :is_smb, 'bool'
|
49
|
-
field :is_test, 'bool'
|
50
|
-
field :legal_entity_name_in_local_language, 'string'
|
51
|
-
field :oe_request_id, 'string'
|
52
|
-
field :official_website_url, 'string'
|
53
|
-
field :planning_agency_business, 'Business'
|
54
|
-
field :planning_agency_business_id, 'string'
|
55
|
-
field :promotable_app_ids, { list: 'string' }
|
56
|
-
field :promotable_page_ids, { list: 'string' }
|
57
|
-
field :promotable_urls, { list: 'string' }
|
58
|
-
field :request_change_reasons, { list: 'object' }
|
59
|
-
field :status, 'string'
|
60
|
-
field :subvertical, 'string'
|
61
|
-
field :time_created, 'datetime'
|
62
|
-
field :vertical, 'string'
|
63
|
-
has_no_post
|
64
|
-
has_no_delete
|
65
|
-
|
66
|
-
has_edge :adaccounts do |edge|
|
67
|
-
edge.get 'AdAccount'
|
68
|
-
end
|
69
|
-
|
70
|
-
end
|
71
|
-
end
|
@@ -1,43 +0,0 @@
|
|
1
|
-
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
|
2
|
-
#
|
3
|
-
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
4
|
-
# copy, modify, and distribute this software in source code or binary form for use
|
5
|
-
# in connection with the web services and APIs provided by Facebook.
|
6
|
-
#
|
7
|
-
# As with any software that integrates with the Facebook platform, your use of
|
8
|
-
# this software is subject to the Facebook Platform Policy
|
9
|
-
# [http://developers.facebook.com/policy/]. This copyright notice shall be
|
10
|
-
# included in all copies or substantial portions of the software.
|
11
|
-
#
|
12
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
14
|
-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
15
|
-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
16
|
-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
17
|
-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
18
|
-
|
19
|
-
# FB:AUTOGEN
|
20
|
-
|
21
|
-
module FacebookAds
|
22
|
-
# This class is auto-generated.
|
23
|
-
|
24
|
-
# For any issues or feature requests related to this class, please let us know
|
25
|
-
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
26
|
-
# pull request for this class.
|
27
|
-
|
28
|
-
class UserPaymentMethodsInfo < AdObject
|
29
|
-
|
30
|
-
field :account_id, 'string'
|
31
|
-
field :available_card_types, { list: 'string' }
|
32
|
-
field :available_payment_methods, { list: 'string' }
|
33
|
-
field :available_payment_methods_details, { list: 'object' }
|
34
|
-
field :country, 'string'
|
35
|
-
field :currency, 'string'
|
36
|
-
field :existing_payment_methods, { list: 'object' }
|
37
|
-
has_no_id
|
38
|
-
has_no_get
|
39
|
-
has_no_post
|
40
|
-
has_no_delete
|
41
|
-
|
42
|
-
end
|
43
|
-
end
|