facebookbusiness 0.9.0.3 → 0.10.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c36f6e242fd4cec146381dac5e228ef01fd737b460928f7e69cccbd82910796
4
- data.tar.gz: 65295aa5a6e1fca467c42f8b98f01849c694bac3beee5f4cbcac1afbeef967e8
3
+ metadata.gz: 68cfe1dc173576ff183892c6ffc86265a7a882750d9c44ad5be8a203945ed19f
4
+ data.tar.gz: 0fbea84a3e75c500ecebe55432565aee34ae845410c5c61b62f63f3b6fd75172
5
5
  SHA512:
6
- metadata.gz: 2db7210fc2d9a10f1820442275ff59ffd1660ac7725e23c2b69257d2770a789acdf182315af7ff984ca7e18dfebe5a3eb956465c674eeac420dc7536bceda6ce
7
- data.tar.gz: 97defd9e92df6e08dfd6187f8c38a1b36695037512c86476a061dbc22304017ce15f4bc03061ff71b02c65613347e72ecd40ea03c006e24fc9de13ad3b411187
6
+ metadata.gz: 72a893fb5b63c3d214b2dbf198bac16e38ac30678c0219d8dc4cbe5637840c69c73d5f3f1a421cf8cb86426f06f40f568342c99583561fa9a6a3235d6324dbbd
7
+ data.tar.gz: 56c7329c6b851a395287cb12764db16f79b3d9beacec0292184381a61386bd975f3813ff1e5832a0e8cde2fd571550ae696e6ed6d3409d29828e31bdd0ffc81c
@@ -75,7 +75,7 @@ module FacebookAds
75
75
  "last_week_mon_sun",
76
76
  "last_week_sun_sat",
77
77
  "last_year",
78
- "lifetime",
78
+ "maximum",
79
79
  "this_month",
80
80
  "this_quarter",
81
81
  "this_week_mon_today",
@@ -734,8 +734,6 @@ module FacebookAds
734
734
  api.has_param :pixel_id, 'string'
735
735
  end
736
736
  edge.post 'CustomAudience' do |api|
737
- api.has_param :accountid, 'string'
738
- api.has_param :additionalmetadata, 'string'
739
737
  api.has_param :allowed_domains, { list: 'string' }
740
738
  api.has_param :associated_audience_id, 'int'
741
739
  api.has_param :claim_objective, { enum: -> { CustomAudience::CLAIM_OBJECTIVE }}
@@ -745,28 +743,21 @@ module FacebookAds
745
743
  api.has_param :customer_file_source, { enum: -> { CustomAudience::CUSTOMER_FILE_SOURCE }}
746
744
  api.has_param :dataset_id, 'string'
747
745
  api.has_param :description, 'string'
748
- api.has_param :details, 'string'
749
746
  api.has_param :enable_fetch_or_create, 'bool'
750
747
  api.has_param :event_source_group, 'string'
751
748
  api.has_param :event_sources, { list: 'hash' }
752
749
  api.has_param :exclusions, { list: 'object' }
753
- api.has_param :expectedsize, 'int'
754
- api.has_param :gender, 'string'
755
750
  api.has_param :inclusions, { list: 'object' }
756
- api.has_param :isprivate, 'bool'
757
751
  api.has_param :is_household, 'bool'
758
752
  api.has_param :is_household_exclusion, 'bool'
759
753
  api.has_param :is_snapshot, 'bool'
760
754
  api.has_param :is_value_based, 'bool'
761
755
  api.has_param :list_of_accounts, { list: 'int' }
762
756
  api.has_param :lookalike_spec, 'string'
763
- api.has_param :maxage, 'int'
764
- api.has_param :minage, 'int'
765
757
  api.has_param :name, 'string'
766
758
  api.has_param :opt_out_link, 'string'
767
759
  api.has_param :origin_audience_id, 'string'
768
760
  api.has_param :parent_audience_id, 'int'
769
- api.has_param :partnerid, 'string'
770
761
  api.has_param :partner_reference_key, 'string'
771
762
  api.has_param :pixel_id, 'string'
772
763
  api.has_param :prefill, 'bool'
@@ -777,7 +768,6 @@ module FacebookAds
777
768
  api.has_param :rule, 'string'
778
769
  api.has_param :rule_aggregation, 'string'
779
770
  api.has_param :seed_audience, 'int'
780
- api.has_param :source, 'string'
781
771
  api.has_param :subtype, { enum: -> { CustomAudience::SUBTYPE }}
782
772
  api.has_param :tags, { list: 'string' }
783
773
  api.has_param :video_group_ids, { list: 'string' }
@@ -73,6 +73,7 @@ module FacebookAds
73
73
  "SEE_MORE",
74
74
  "SELL_NOW",
75
75
  "SEND_A_GIFT",
76
+ "SEND_GIFT_MONEY",
76
77
  "SHARE",
77
78
  "SHOP_NOW",
78
79
  "SIGN_UP",
@@ -79,6 +79,7 @@ module FacebookAds
79
79
  "SEE_MORE",
80
80
  "SELL_NOW",
81
81
  "SEND_A_GIFT",
82
+ "SEND_GIFT_MONEY",
82
83
  "SHARE",
83
84
  "SHOP_NOW",
84
85
  "SIGN_UP",
@@ -73,6 +73,7 @@ module FacebookAds
73
73
  "SEE_MORE",
74
74
  "SELL_NOW",
75
75
  "SEND_A_GIFT",
76
+ "SEND_GIFT_MONEY",
76
77
  "SHARE",
77
78
  "SHOP_NOW",
78
79
  "SIGN_UP",
@@ -35,8 +35,7 @@ module FacebookAds
35
35
  field :evaluation_type, { enum: -> { EVALUATION_TYPE }}
36
36
  field :filters, { list: 'AdRuleFilters' }
37
37
  field :trigger, 'AdRuleTrigger'
38
- has_no_id
39
- has_no_get
38
+ field :id, 'string'
40
39
  has_no_post
41
40
  has_no_delete
42
41
 
@@ -112,7 +112,7 @@ module FacebookAds
112
112
  "last_week_mon_sun",
113
113
  "last_week_sun_sat",
114
114
  "last_year",
115
- "lifetime",
115
+ "maximum",
116
116
  "this_month",
117
117
  "this_quarter",
118
118
  "this_week_mon_today",
@@ -69,7 +69,6 @@ module FacebookAds
69
69
  "FB_SHORTS_POST",
70
70
  "FUNDRAISER_COVER_VIDEO",
71
71
  "GAME_CLIP",
72
- "GAMING_UPDATE_VIDEO",
73
72
  "GEMSTONE",
74
73
  "GOODWILL_ANNIVERSARY_DEPRECATED",
75
74
  "GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED",
@@ -93,7 +93,7 @@ module FacebookAds
93
93
  "last_week_mon_sun",
94
94
  "last_week_sun_sat",
95
95
  "last_year",
96
- "lifetime",
96
+ "maximum",
97
97
  "this_month",
98
98
  "this_quarter",
99
99
  "this_week_mon_today",
@@ -67,7 +67,7 @@ module FacebookAds
67
67
  "last_week_mon_sun",
68
68
  "last_week_sun_sat",
69
69
  "last_year",
70
- "lifetime",
70
+ "maximum",
71
71
  "this_month",
72
72
  "this_quarter",
73
73
  "this_week_mon_today",
@@ -113,8 +113,6 @@ module FacebookAds
113
113
  field :time_content_updated, 'int'
114
114
  field :time_created, 'int'
115
115
  field :time_updated, 'int'
116
- field :accountid, 'string'
117
- field :additionalmetadata, 'string'
118
116
  field :allowed_domains, { list: 'string' }
119
117
  field :associated_audience_id, 'int'
120
118
  field :claim_objective, { enum: -> { CLAIM_OBJECTIVE }}
@@ -122,26 +120,18 @@ module FacebookAds
122
120
  field :countries, 'string'
123
121
  field :creation_params, 'hash'
124
122
  field :dataset_id, 'string'
125
- field :details, 'string'
126
123
  field :enable_fetch_or_create, 'bool'
127
124
  field :event_source_group, 'string'
128
125
  field :event_sources, { list: 'hash' }
129
126
  field :exclusions, { list: 'object' }
130
- field :expectedsize, 'int'
131
- field :gender, 'string'
132
127
  field :inclusions, { list: 'object' }
133
- field :isprivate, 'bool'
134
128
  field :is_household_exclusion, 'bool'
135
129
  field :list_of_accounts, { list: 'int' }
136
- field :maxage, 'int'
137
- field :minage, 'int'
138
130
  field :origin_audience_id, 'string'
139
131
  field :parent_audience_id, 'int'
140
- field :partnerid, 'string'
141
132
  field :partner_reference_key, 'string'
142
133
  field :prefill, 'bool'
143
134
  field :product_set_id, 'string'
144
- field :source, 'string'
145
135
  field :tags, { list: 'string' }
146
136
  field :video_group_ids, { list: 'string' }
147
137
 
@@ -48,7 +48,6 @@ module FacebookAds
48
48
  "DEALS",
49
49
  "EPHEMERAL",
50
50
  "EVENT_PLANNING",
51
- "FAITH",
52
51
  "FAMILY",
53
52
  "FITNESS",
54
53
  "FOR_SALE",
@@ -105,7 +104,6 @@ module FacebookAds
105
104
  "DEALS",
106
105
  "EPHEMERAL",
107
106
  "EVENT_PLANNING",
108
- "FAITH",
109
107
  "FAMILY",
110
108
  "FITNESS",
111
109
  "FOR_SALE",
@@ -38,7 +38,7 @@ module FacebookAds
38
38
  "last_week_mon_sun",
39
39
  "last_week_sun_sat",
40
40
  "last_year",
41
- "lifetime",
41
+ "maximum",
42
42
  "this_month",
43
43
  "this_quarter",
44
44
  "this_week_mon_today",
@@ -40,9 +40,6 @@ module FacebookAds
40
40
  has_no_delete
41
41
 
42
42
  has_edge :agencies do |edge|
43
- edge.delete do |api|
44
- api.has_param :business, 'string'
45
- end
46
43
  edge.get 'Business'
47
44
  end
48
45
 
@@ -547,6 +547,13 @@ module FacebookAds
547
547
  end
548
548
 
549
549
  has_edge :business_data do |edge|
550
+ edge.delete do |api|
551
+ api.has_param :email, 'string'
552
+ api.has_param :external_id, 'string'
553
+ api.has_param :object_name, { enum: %w{contact order order_item }}
554
+ api.has_param :order_id, 'string'
555
+ api.has_param :order_item_id, 'string'
556
+ end
550
557
  edge.post 'Page' do |api|
551
558
  api.has_param :data, { list: 'string' }
552
559
  api.has_param :partner_agent, 'string'
@@ -1289,6 +1296,9 @@ module FacebookAds
1289
1296
  end
1290
1297
 
1291
1298
  has_edge :tabs do |edge|
1299
+ edge.delete do |api|
1300
+ api.has_param :tab, 'string'
1301
+ end
1292
1302
  edge.get 'Tab' do |api|
1293
1303
  api.has_param :tab, { list: 'string' }
1294
1304
  end
@@ -78,7 +78,6 @@ module FacebookAds
78
78
  "CLOTHING_ACCESSORIES",
79
79
  "COMPUTERS_AND_TABLETS",
80
80
  "DIAPERING_AND_POTTY_TRAINING",
81
- "DIGITAL_PRODUCT_OFFER",
82
81
  "ELECTRONICS_ACCESSORIES",
83
82
  "FURNITURE",
84
83
  "HEALTH",
@@ -81,7 +81,6 @@ module FacebookAds
81
81
  "CLOTHING_ACCESSORIES",
82
82
  "COMPUTERS_AND_TABLETS",
83
83
  "DIAPERING_AND_POTTY_TRAINING",
84
- "DIGITAL_PRODUCT_OFFER",
85
84
  "ELECTRONICS_ACCESSORIES",
86
85
  "FURNITURE",
87
86
  "HEALTH",
@@ -92,6 +92,7 @@ module FacebookAds
92
92
  "FB_APRL_CLOTHING",
93
93
  "FB_APRL_COSTUME",
94
94
  "FB_APRL_CSTM",
95
+ "FB_APRL_FORMAL",
95
96
  "FB_APRL_HANDBAG",
96
97
  "FB_APRL_JEWELRY",
97
98
  "FB_APRL_SHOE",
@@ -19,6 +19,6 @@
19
19
  # FB:AUTOGEN
20
20
 
21
21
  module FacebookAds
22
- VERSION = '0.9.0.3'
23
- API_VERSION = '9.0'
22
+ VERSION = '0.10.0.0'
23
+ API_VERSION = '10.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.9.0.3
4
+ version: 0.10.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-16 00:00:00.000000000 Z
11
+ date: 2021-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '5.0'
145
+ version: 5.14.2
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '5.0'
152
+ version: 5.14.2
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: pry
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -721,15 +721,15 @@ homepage: https://github.com/facebook/facebook-ruby-business-sdk
721
721
  licenses:
722
722
  - Nonstandard
723
723
  metadata: {}
724
- post_install_message:
724
+ post_install_message:
725
725
  rdoc_options: []
726
726
  require_paths:
727
727
  - lib
728
728
  required_ruby_version: !ruby/object:Gem::Requirement
729
729
  requirements:
730
- - - "~>"
730
+ - - ">"
731
731
  - !ruby/object:Gem::Version
732
- version: '2.0'
732
+ version: '2.4'
733
733
  required_rubygems_version: !ruby/object:Gem::Requirement
734
734
  requirements:
735
735
  - - ">="
@@ -737,7 +737,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
737
737
  version: '0'
738
738
  requirements: []
739
739
  rubygems_version: 3.1.2
740
- signing_key:
740
+ signing_key:
741
741
  specification_version: 4
742
742
  summary: Facebook Business API SDK for Ruby (Official)
743
743
  test_files: []