facebookbusiness 0.3.1.7 → 0.3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad.rb +2 -7
  3. data/lib/facebook_ads/ad_objects/ad_account.rb +1 -2
  4. data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
  5. data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +2 -0
  6. data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
  7. data/lib/facebook_ads/ad_objects/ad_campaign_delivery_stats_unsupported_reasons.rb +37 -0
  8. data/lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb +36 -0
  9. data/lib/facebook_ads/ad_objects/ad_monetization_property.rb +10 -79
  10. data/lib/facebook_ads/ad_objects/ad_place_page_set.rb +7 -0
  11. data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +2 -0
  12. data/lib/facebook_ads/ad_objects/ad_set.rb +1 -0
  13. data/lib/facebook_ads/ad_objects/ads_insights.rb +5 -1
  14. data/lib/facebook_ads/ad_objects/application.rb +10 -86
  15. data/lib/facebook_ads/ad_objects/business.rb +21 -7
  16. data/lib/facebook_ads/ad_objects/calibrator_existing_rule.rb +1 -0
  17. data/lib/facebook_ads/ad_objects/comment.rb +0 -8
  18. data/lib/facebook_ads/ad_objects/custom_audience.rb +1 -0
  19. data/lib/facebook_ads/ad_objects/direct_deal.rb +1 -0
  20. data/lib/facebook_ads/ad_objects/event.rb +7 -7
  21. data/lib/facebook_ads/ad_objects/group.rb +1 -0
  22. data/lib/facebook_ads/ad_objects/home_listing.rb +1 -0
  23. data/lib/facebook_ads/ad_objects/merchant_report.rb +3 -0
  24. data/lib/facebook_ads/ad_objects/{null.rb → null_node.rb} +1 -1
  25. data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +1 -0
  26. data/lib/facebook_ads/ad_objects/page.rb +1 -0
  27. data/lib/facebook_ads/ad_objects/page_saved_filter.rb +0 -1
  28. data/lib/facebook_ads/ad_objects/post.rb +0 -1
  29. data/lib/facebook_ads/ad_objects/product_catalog.rb +2 -0
  30. data/lib/facebook_ads/ad_objects/product_item.rb +1 -0
  31. data/lib/facebook_ads/ad_objects/reach_estimate.rb +1 -0
  32. data/lib/facebook_ads/ad_objects/shadow_ig_user.rb +0 -1
  33. data/lib/facebook_ads/ad_objects/targeting.rb +0 -1
  34. data/lib/facebook_ads/ad_objects/targeting_prospecting_audience.rb +1 -1
  35. data/lib/facebook_ads/ad_objects/unified_thread.rb +0 -1
  36. data/lib/facebook_ads/ad_objects/user.rb +13 -13
  37. data/lib/facebook_ads/version.rb +2 -2
  38. metadata +5 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89c7f4ce91bea9381bd346b2e0660539cb5945fae99e09bfb9b6c6805289cd4d
4
- data.tar.gz: f43f398919f57de6245de481f1eb9bd87246a19759b08609221a84df76ff3afb
3
+ metadata.gz: 4b18d705ed30b07dddc8b7d1d1717f68d6143b8700b82173fc61d347b8bffea5
4
+ data.tar.gz: 7978b2dbe464f82713372f4f74ee494744803a68f5101d0f4707edb1fa69be8a
5
5
  SHA512:
6
- metadata.gz: 769fb9204656882396a1a7f6acdad5eefd93e768bc7b782a3d47fedabbce0f6a4682eb3aa698d14f65d43e5cae665981b88d597d955230ddb0fda9648a9cf860
7
- data.tar.gz: cb0b35715059ccb9378770bb24f2e7aa902b85514b4df8b328004d2217da431dd4b87ae7292ed6d69292efd8085baf9b3bd5a23c6e7b8a9ff8390f4f7c184ef7
6
+ metadata.gz: 88cbf9eac3de2eee0c82fb1e75b9b795f9a4f8ff7d39daeaac2f866db825a962503ce97f5df9918e98546f6914b6d10496705d634e42e98114579db39b787da7
7
+ data.tar.gz: d9bbc4cde4d0125d29fb8b7dfc681f3f60007e84d86859bc0cf89cc79bcae4e837dd89a1cd6e1ea33b49f42e793b7db07a3a9300a9ce20fb5ce42fc62f17786b
@@ -121,15 +121,12 @@ module FacebookAds
121
121
  field :engagement_audience, 'bool'
122
122
  field :failed_delivery_checks, { list: 'DeliveryCheck' }
123
123
  field :id, 'string'
124
- field :impression_control_map, { list: 'string' }
125
124
  field :issues_info, { list: 'AdgroupIssuesInfo' }
126
125
  field :last_updated_by_app_id, 'string'
127
- field :locations, { list: 'int' }
128
126
  field :name, 'string'
129
127
  field :objective_source, 'string'
130
128
  field :priority, 'int'
131
129
  field :recommendations, { list: 'AdRecommendation' }
132
- field :social_prefs, { list: 'string' }
133
130
  field :source_ad, 'Ad'
134
131
  field :source_ad_id, 'string'
135
132
  field :status, { enum: -> { STATUS }}
@@ -137,11 +134,9 @@ module FacebookAds
137
134
  field :tracking_and_conversion_with_defaults, 'TrackingAndConversionWithDefaults'
138
135
  field :tracking_specs, { list: 'ConversionActionQuery' }
139
136
  field :updated_time, 'datetime'
140
- field :url_override, 'string'
141
137
  field :audience_id, 'string'
142
138
  field :date_format, 'string'
143
139
  field :include_demolink_hashes, 'bool'
144
- field :social_required, 'bool'
145
140
  field :adset_spec, 'AdSet'
146
141
  field :draft_adgroup_id, 'string'
147
142
  field :execution_options, { list: { enum: -> { EXECUTION_OPTIONS }} }
@@ -153,11 +148,11 @@ module FacebookAds
153
148
  has_edge :adlabels do |edge|
154
149
  edge.delete do |api|
155
150
  api.has_param :adlabels, { list: 'object' }
156
- api.has_param :execution_options, { list: { enum: -> { Ad::EXECUTION_OPTIONS }} }
151
+ api.has_param :execution_options, { list: { enum: %w{validate_only }} }
157
152
  end
158
153
  edge.post 'Ad' do |api|
159
154
  api.has_param :adlabels, { list: 'object' }
160
- api.has_param :execution_options, { list: { enum: -> { Ad::EXECUTION_OPTIONS }} }
155
+ api.has_param :execution_options, { list: { enum: %w{validate_only }} }
161
156
  end
162
157
  end
163
158
 
@@ -220,6 +220,7 @@ module FacebookAds
220
220
  api.has_param :name, 'string'
221
221
  api.has_param :location_types, { list: { enum: -> { AdPlacePageSet::LOCATION_TYPES }} }
222
222
  api.has_param :parent_page, 'string'
223
+ api.has_param :targeted_area_type, { enum: -> { AdPlacePageSet::TARGETED_AREA_TYPE }}
223
224
  end
224
225
  end
225
226
 
@@ -474,10 +475,8 @@ module FacebookAds
474
475
  api.has_param :status, { enum: -> { Ad::STATUS }}
475
476
  api.has_param :priority, 'int'
476
477
  api.has_param :tracking_specs, 'object'
477
- api.has_param :social_prefs, { list: 'string' }
478
478
  api.has_param :display_sequence, 'int'
479
479
  api.has_param :engagement_audience, 'bool'
480
- api.has_param :social_required, 'bool'
481
480
  api.has_param :adset_spec, 'AdSet'
482
481
  api.has_param :draft_adgroup_id, 'string'
483
482
  api.has_param :execution_options, { list: { enum: -> { Ad::EXECUTION_OPTIONS }} }
@@ -49,6 +49,7 @@ module FacebookAds
49
49
  "LANDING_PAGE_VIEWS",
50
50
  "VALUE",
51
51
  "REPLIES",
52
+ "DERIVED_EVENTS",
52
53
  ]
53
54
 
54
55
 
@@ -85,6 +85,7 @@ module FacebookAds
85
85
  "LANDING_PAGE_VIEWS",
86
86
  "VALUE",
87
87
  "REPLIES",
88
+ "DERIVED_EVENTS",
88
89
  ]
89
90
 
90
91
  OPTIMIZATION_GOAL_OLD = [
@@ -110,6 +111,7 @@ module FacebookAds
110
111
  "LANDING_PAGE_VIEWS",
111
112
  "VALUE",
112
113
  "REPLIES",
114
+ "DERIVED_EVENTS",
113
115
  ]
114
116
 
115
117
 
@@ -49,6 +49,7 @@ module FacebookAds
49
49
  "LANDING_PAGE_VIEWS",
50
50
  "VALUE",
51
51
  "REPLIES",
52
+ "DERIVED_EVENTS",
52
53
  ]
53
54
 
54
55
 
@@ -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 AdCampaignDeliveryStatsUnsupportedReasons < AdObject
29
+
30
+ field :reason_data, { list: 'object' }
31
+ field :reason_type, 'string'
32
+ field :id, 'string'
33
+ has_no_post
34
+ has_no_delete
35
+
36
+ end
37
+ end
@@ -0,0 +1,36 @@
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 AdCreativeDegreesOfFreedomSpec < AdObject
29
+
30
+ field :degrees_of_freedom_type, 'string'
31
+ field :id, 'string'
32
+ has_no_post
33
+ has_no_delete
34
+
35
+ end
36
+ end
@@ -26,75 +26,6 @@ module FacebookAds
26
26
  # pull request for this class.
27
27
 
28
28
  class AdMonetizationProperty < AdObject
29
- AGGREGATION_PERIOD = [
30
- "HOUR",
31
- "DAY",
32
- "TOTAL",
33
- ]
34
-
35
- BREAKDOWNS = [
36
- "AGE",
37
- "APP",
38
- "COUNTRY",
39
- "DELIVERY_METHOD",
40
- "DISPLAY_FORMAT",
41
- "DEAL",
42
- "DEAL_AD",
43
- "DEAL_PAGE",
44
- "GENDER",
45
- "PLACEMENT",
46
- "PLATFORM",
47
- "PROPERTY",
48
- "CLICKED_VIEW_TAG",
49
- "NO_FILL_REASON",
50
- ]
51
-
52
- METRICS = [
53
- "FB_AD_NETWORK_BIDDING_REQUEST",
54
- "FB_AD_NETWORK_BIDDING_RESPONSE",
55
- "FB_AD_NETWORK_BIDDING_BID_RATE",
56
- "FB_AD_NETWORK_BIDDING_WIN_RATE",
57
- "FB_AD_NETWORK_REQUEST",
58
- "FB_AD_NETWORK_FILLED_REQUEST",
59
- "FB_AD_NETWORK_FILL_RATE",
60
- "FB_AD_NETWORK_IMP",
61
- "FB_AD_NETWORK_SHOW_RATE",
62
- "FB_AD_NETWORK_CLICK",
63
- "FB_AD_NETWORK_CTR",
64
- "FB_AD_NETWORK_BIDDING_REVENUE",
65
- "FB_AD_NETWORK_REVENUE",
66
- "FB_AD_NETWORK_CPM",
67
- "FB_AD_NETWORK_VIDEO_GUARANTEE_REVENUE",
68
- "FB_AD_NETWORK_VIDEO_VIEW",
69
- "FB_AD_NETWORK_VIDEO_VIEW_RATE",
70
- "FB_AD_NETWORK_VIDEO_MRC",
71
- "FB_AD_NETWORK_VIDEO_MRC_RATE",
72
- "FB_AD_NETWORK_WIN_RATE",
73
- "FB_AD_NETWORK_DIRECT_TOTAL_REVENUE",
74
- "FB_AD_NETWORK_DIRECT_PUBLISHER_BILL",
75
- "FB_AD_NETWORK_FAST_CLICK_RATE",
76
- "FB_AD_NETWORK_FAST_RETURN_RATE",
77
- "FB_AD_NETWORK_CLICK_VALUE_SCORE",
78
- "FB_AD_NETWORK_FAST_CLICK_NUMERATOR",
79
- "FB_AD_NETWORK_FAST_CLICK_DENOMINATOR",
80
- "FB_AD_NETWORK_FAST_RETURN_NUMERATOR",
81
- "FB_AD_NETWORK_FAST_RETURN_DENOMINATOR",
82
- "FB_AD_NETWORK_CLICK_VALUE_SCORE_NUMERATOR",
83
- "FB_AD_NETWORK_CLICK_VALUE_SCORE_DENOMINATOR",
84
- "FB_AD_NETWORK_NO_FILL",
85
- ]
86
-
87
- ORDERING_COLUMN = [
88
- "TIME",
89
- "VALUE",
90
- "METRIC",
91
- ]
92
-
93
- ORDERING_TYPE = [
94
- "ASCENDING",
95
- "DESCENDING",
96
- ]
97
-
98
29
 
99
30
  field :id, 'string'
100
31
  has_no_post
@@ -102,24 +33,24 @@ module FacebookAds
102
33
 
103
34
  has_edge :adnetworkanalytics do |edge|
104
35
  edge.get 'AdNetworkAnalyticsSyncQueryResult' do |api|
105
- api.has_param :aggregation_period, { enum: -> { AdMonetizationProperty::AGGREGATION_PERIOD }}
106
- api.has_param :breakdowns, { list: { enum: -> { AdMonetizationProperty::BREAKDOWNS }} }
36
+ api.has_param :aggregation_period, { enum: -> { AdNetworkAnalyticsSyncQueryResult::AGGREGATION_PERIOD }}
37
+ api.has_param :breakdowns, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::BREAKDOWNS }} }
107
38
  api.has_param :filters, { list: 'hash' }
108
39
  api.has_param :limit, 'int'
109
- api.has_param :metrics, { list: { enum: -> { AdMonetizationProperty::METRICS }} }
110
- api.has_param :ordering_column, { enum: -> { AdMonetizationProperty::ORDERING_COLUMN }}
111
- api.has_param :ordering_type, { enum: -> { AdMonetizationProperty::ORDERING_TYPE }}
40
+ api.has_param :metrics, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::METRICS }} }
41
+ api.has_param :ordering_column, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_COLUMN }}
42
+ api.has_param :ordering_type, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_TYPE }}
112
43
  api.has_param :since, 'object'
113
44
  api.has_param :until, 'object'
114
45
  end
115
46
  edge.post 'AdMonetizationProperty' do |api|
116
- api.has_param :aggregation_period, { enum: -> { AdMonetizationProperty::AGGREGATION_PERIOD }}
117
- api.has_param :breakdowns, { list: { enum: -> { AdMonetizationProperty::BREAKDOWNS }} }
118
- api.has_param :metrics, { list: { enum: -> { AdMonetizationProperty::METRICS }} }
47
+ api.has_param :aggregation_period, { enum: -> { AdNetworkAnalyticsSyncQueryResult::AGGREGATION_PERIOD }}
48
+ api.has_param :breakdowns, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::BREAKDOWNS }} }
49
+ api.has_param :metrics, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::METRICS }} }
119
50
  api.has_param :filters, { list: 'object' }
120
51
  api.has_param :limit, 'int'
121
- api.has_param :ordering_column, { enum: -> { AdMonetizationProperty::ORDERING_COLUMN }}
122
- api.has_param :ordering_type, { enum: -> { AdMonetizationProperty::ORDERING_TYPE }}
52
+ api.has_param :ordering_column, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_COLUMN }}
53
+ api.has_param :ordering_type, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_TYPE }}
123
54
  api.has_param :since, 'object'
124
55
  api.has_param :until, 'object'
125
56
  end
@@ -31,6 +31,12 @@ module FacebookAds
31
31
  "home",
32
32
  ]
33
33
 
34
+ TARGETED_AREA_TYPE = [
35
+ "CUSTOM_RADIUS",
36
+ "MARKETING_AREA",
37
+ "NONE",
38
+ ]
39
+
34
40
 
35
41
  field :account_id, 'string'
36
42
  field :id, 'string'
@@ -38,6 +44,7 @@ module FacebookAds
38
44
  field :name, 'string'
39
45
  field :pages_count, 'int'
40
46
  field :parent_page, 'Page'
47
+ field :targeted_area_type, { enum: -> { TARGETED_AREA_TYPE }}
41
48
  has_no_delete
42
49
 
43
50
  end
@@ -51,6 +51,8 @@ module FacebookAds
51
51
  "LEVEL_ACHIEVED",
52
52
  "ACHIEVEMENT_UNLOCKED",
53
53
  "SPENT_CREDITS",
54
+ "D2_RETENTION",
55
+ "D7_RETENTION",
54
56
  "OTHER",
55
57
  ]
56
58
 
@@ -87,6 +87,7 @@ module FacebookAds
87
87
  "LANDING_PAGE_VIEWS",
88
88
  "VALUE",
89
89
  "REPLIES",
90
+ "DERIVED_EVENTS",
90
91
  ]
91
92
 
92
93
  STATUS = [
@@ -139,6 +139,9 @@ module FacebookAds
139
139
  field :adset_name, 'string'
140
140
  field :age, 'string'
141
141
  field :age_targeting, 'string'
142
+ field :auction_bid, 'string'
143
+ field :auction_competitiveness, 'string'
144
+ field :auction_max_competitor_bid, 'string'
142
145
  field :bid_type, 'string'
143
146
  field :body_asset, 'object'
144
147
  field :buying_type, 'string'
@@ -216,10 +219,10 @@ module FacebookAds
216
219
  field :reach, 'string'
217
220
  field :region, 'string'
218
221
  field :relevance_score, 'AdgroupRelevanceScore'
222
+ field :rule_asset, 'object'
219
223
  field :social_spend, 'string'
220
224
  field :spend, 'string'
221
225
  field :title_asset, 'object'
222
- field :total_action_value, 'string'
223
226
  field :unique_actions, { list: 'AdsActionStats' }
224
227
  field :unique_clicks, 'string'
225
228
  field :unique_ctr, 'string'
@@ -252,6 +255,7 @@ module FacebookAds
252
255
  field :video_time_watched_actions, { list: 'AdsActionStats' }
253
256
  field :website_ctr, { list: 'AdsActionStats' }
254
257
  field :website_purchase_roas, { list: 'AdsActionStats' }
258
+ field :wish_bid, 'string'
255
259
  field :id, 'string'
256
260
  has_no_post
257
261
  has_no_delete
@@ -49,75 +49,6 @@ module FacebookAds
49
49
  "UNKNOWN",
50
50
  ]
51
51
 
52
- AGGREGATION_PERIOD = [
53
- "HOUR",
54
- "DAY",
55
- "TOTAL",
56
- ]
57
-
58
- BREAKDOWNS = [
59
- "AGE",
60
- "APP",
61
- "COUNTRY",
62
- "DELIVERY_METHOD",
63
- "DISPLAY_FORMAT",
64
- "DEAL",
65
- "DEAL_AD",
66
- "DEAL_PAGE",
67
- "GENDER",
68
- "PLACEMENT",
69
- "PLATFORM",
70
- "PROPERTY",
71
- "CLICKED_VIEW_TAG",
72
- "NO_FILL_REASON",
73
- ]
74
-
75
- METRICS = [
76
- "FB_AD_NETWORK_BIDDING_REQUEST",
77
- "FB_AD_NETWORK_BIDDING_RESPONSE",
78
- "FB_AD_NETWORK_BIDDING_BID_RATE",
79
- "FB_AD_NETWORK_BIDDING_WIN_RATE",
80
- "FB_AD_NETWORK_REQUEST",
81
- "FB_AD_NETWORK_FILLED_REQUEST",
82
- "FB_AD_NETWORK_FILL_RATE",
83
- "FB_AD_NETWORK_IMP",
84
- "FB_AD_NETWORK_SHOW_RATE",
85
- "FB_AD_NETWORK_CLICK",
86
- "FB_AD_NETWORK_CTR",
87
- "FB_AD_NETWORK_BIDDING_REVENUE",
88
- "FB_AD_NETWORK_REVENUE",
89
- "FB_AD_NETWORK_CPM",
90
- "FB_AD_NETWORK_VIDEO_GUARANTEE_REVENUE",
91
- "FB_AD_NETWORK_VIDEO_VIEW",
92
- "FB_AD_NETWORK_VIDEO_VIEW_RATE",
93
- "FB_AD_NETWORK_VIDEO_MRC",
94
- "FB_AD_NETWORK_VIDEO_MRC_RATE",
95
- "FB_AD_NETWORK_WIN_RATE",
96
- "FB_AD_NETWORK_DIRECT_TOTAL_REVENUE",
97
- "FB_AD_NETWORK_DIRECT_PUBLISHER_BILL",
98
- "FB_AD_NETWORK_FAST_CLICK_RATE",
99
- "FB_AD_NETWORK_FAST_RETURN_RATE",
100
- "FB_AD_NETWORK_CLICK_VALUE_SCORE",
101
- "FB_AD_NETWORK_FAST_CLICK_NUMERATOR",
102
- "FB_AD_NETWORK_FAST_CLICK_DENOMINATOR",
103
- "FB_AD_NETWORK_FAST_RETURN_NUMERATOR",
104
- "FB_AD_NETWORK_FAST_RETURN_DENOMINATOR",
105
- "FB_AD_NETWORK_CLICK_VALUE_SCORE_NUMERATOR",
106
- "FB_AD_NETWORK_CLICK_VALUE_SCORE_DENOMINATOR",
107
- "FB_AD_NETWORK_NO_FILL",
108
- ]
109
-
110
- ORDERING_COLUMN = [
111
- "TIME",
112
- "VALUE",
113
- "METRIC",
114
- ]
115
-
116
- ORDERING_TYPE = [
117
- "ASCENDING",
118
- "DESCENDING",
119
- ]
120
-
121
52
  PLATFORM = [
122
53
  "ANDROID",
123
54
  "IOS",
@@ -199,7 +130,6 @@ module FacebookAds
199
130
  field :gdpv4_enabled, 'bool'
200
131
  field :gdpv4_nux_content, 'string'
201
132
  field :gdpv4_nux_enabled, 'bool'
202
- field :groups_app_settings, 'object'
203
133
  field :has_messenger_product, 'bool'
204
134
  field :hosting_url, 'string'
205
135
  field :icon_url, 'string'
@@ -322,24 +252,24 @@ module FacebookAds
322
252
 
323
253
  has_edge :adnetworkanalytics do |edge|
324
254
  edge.get 'AdNetworkAnalyticsSyncQueryResult' do |api|
325
- api.has_param :aggregation_period, { enum: -> { Application::AGGREGATION_PERIOD }}
326
- api.has_param :breakdowns, { list: { enum: -> { Application::BREAKDOWNS }} }
255
+ api.has_param :aggregation_period, { enum: -> { AdNetworkAnalyticsSyncQueryResult::AGGREGATION_PERIOD }}
256
+ api.has_param :breakdowns, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::BREAKDOWNS }} }
327
257
  api.has_param :filters, { list: 'hash' }
328
258
  api.has_param :limit, 'int'
329
- api.has_param :metrics, { list: { enum: -> { Application::METRICS }} }
330
- api.has_param :ordering_column, { enum: -> { Application::ORDERING_COLUMN }}
331
- api.has_param :ordering_type, { enum: -> { Application::ORDERING_TYPE }}
259
+ api.has_param :metrics, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::METRICS }} }
260
+ api.has_param :ordering_column, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_COLUMN }}
261
+ api.has_param :ordering_type, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_TYPE }}
332
262
  api.has_param :since, 'object'
333
263
  api.has_param :until, 'object'
334
264
  end
335
265
  edge.post 'Application' do |api|
336
- api.has_param :aggregation_period, { enum: -> { Application::AGGREGATION_PERIOD }}
337
- api.has_param :breakdowns, { list: { enum: -> { Application::BREAKDOWNS }} }
338
- api.has_param :metrics, { list: { enum: -> { Application::METRICS }} }
266
+ api.has_param :aggregation_period, { enum: -> { AdNetworkAnalyticsSyncQueryResult::AGGREGATION_PERIOD }}
267
+ api.has_param :breakdowns, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::BREAKDOWNS }} }
268
+ api.has_param :metrics, { list: { enum: -> { AdNetworkAnalyticsSyncQueryResult::METRICS }} }
339
269
  api.has_param :filters, { list: 'object' }
340
270
  api.has_param :limit, 'int'
341
- api.has_param :ordering_column, { enum: -> { Application::ORDERING_COLUMN }}
342
- api.has_param :ordering_type, { enum: -> { Application::ORDERING_TYPE }}
271
+ api.has_param :ordering_column, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_COLUMN }}
272
+ api.has_param :ordering_type, { enum: -> { AdNetworkAnalyticsSyncQueryResult::ORDERING_TYPE }}
343
273
  api.has_param :since, 'object'
344
274
  api.has_param :until, 'object'
345
275
  end
@@ -569,12 +499,6 @@ module FacebookAds
569
499
  end
570
500
  end
571
501
 
572
- has_edge :groups_app_settings do |edge|
573
- edge.post do |api|
574
- api.has_param :post_install_url, 'object'
575
- end
576
- end
577
-
578
502
  has_edge :insights_event_labels do |edge|
579
503
  edge.get do |api|
580
504
  api.has_param :add, { list: 'string' }
@@ -68,6 +68,13 @@ module FacebookAds
68
68
  "ANALYZE",
69
69
  ]
70
70
 
71
+ SURVEY_BUSINESS_TYPE = [
72
+ "AGENCY",
73
+ "ADVERTISER",
74
+ "APP_DEVELOPER",
75
+ "PUBLISHER",
76
+ ]
77
+
71
78
  PAGE_PERMITTED_ROLES = [
72
79
  "MANAGER",
73
80
  "CONTENT_CREATOR",
@@ -76,13 +83,6 @@ module FacebookAds
76
83
  "INSIGHTS_ANALYST",
77
84
  ]
78
85
 
79
- SURVEY_BUSINESS_TYPE = [
80
- "AGENCY",
81
- "ADVERTISER",
82
- "APP_DEVELOPER",
83
- "PUBLISHER",
84
- ]
85
-
86
86
  PERMITTED_ROLES = [
87
87
  "MANAGER",
88
88
  "CONTENT_CREATOR",
@@ -425,6 +425,19 @@ module FacebookAds
425
425
  end
426
426
  end
427
427
 
428
+ has_edge :managed_businesses do |edge|
429
+ edge.post 'Business' do |api|
430
+ api.has_param :name, 'string'
431
+ api.has_param :vertical, { enum: -> { Business::VERTICAL }}
432
+ api.has_param :timezone_id, 'int'
433
+ api.has_param :survey_business_type, { enum: -> { Business::SURVEY_BUSINESS_TYPE }}
434
+ api.has_param :survey_num_people, 'int'
435
+ api.has_param :survey_num_assets, 'int'
436
+ api.has_param :sales_rep_email, 'string'
437
+ api.has_param :existing_client_business_id, 'object'
438
+ end
439
+ end
440
+
428
441
  has_edge :matched_search_applications do |edge|
429
442
  edge.get 'BusinessMatchedSearchApplicationsEdgeData' do |api|
430
443
  api.has_param :app_store, { enum: -> { BusinessMatchedSearchApplicationsEdgeData::APP_STORE }}
@@ -452,6 +465,7 @@ module FacebookAds
452
465
  api.has_param :description, 'string'
453
466
  api.has_param :data_origin, { enum: -> { OfflineConversionDataSet::DATA_ORIGIN }}
454
467
  api.has_param :enable_auto_assign_to_accounts, 'bool'
468
+ api.has_param :is_mta_use, 'bool'
455
469
  api.has_param :auto_assign_to_new_accounts_only, 'bool'
456
470
  end
457
471
  end
@@ -34,6 +34,7 @@ module FacebookAds
34
34
  field :event_type, 'string'
35
35
  field :id, 'string'
36
36
  field :rule, 'string'
37
+ field :rule_type, 'string'
37
38
  field :sample_urls, { list: 'string' }
38
39
  field :status, 'string'
39
40
  has_no_post
@@ -59,7 +59,6 @@ module FacebookAds
59
59
  field :can_hide, 'bool'
60
60
  field :can_like, 'bool'
61
61
  field :can_remove, 'bool'
62
- field :can_reply_privately, 'bool'
63
62
  field :comment_count, 'int'
64
63
  field :created_time, 'datetime'
65
64
  field :from, 'object'
@@ -73,7 +72,6 @@ module FacebookAds
73
72
  field :object, 'object'
74
73
  field :parent, 'Comment'
75
74
  field :permalink_url, 'string'
76
- field :private_reply_conversation, 'object'
77
75
  field :user_likes, 'bool'
78
76
 
79
77
  has_edge :comments do |edge|
@@ -99,12 +97,6 @@ module FacebookAds
99
97
  end
100
98
  end
101
99
 
102
- has_edge :private_replies do |edge|
103
- edge.post do |api|
104
- api.has_param :message, 'string'
105
- end
106
- end
107
-
108
100
  has_edge :reactions do |edge|
109
101
  edge.get 'Profile' do |api|
110
102
  api.has_param :type, { enum: -> { Profile::TYPE }}
@@ -76,6 +76,7 @@ module FacebookAds
76
76
  field :customer_file_source, 'string'
77
77
  field :data_source, 'CustomAudienceDataSource'
78
78
  field :data_source_types, 'string'
79
+ field :datafile_custom_audience_uploading_status, 'string'
79
80
  field :delivery_status, 'CustomAudienceStatus'
80
81
  field :description, 'string'
81
82
  field :excluded_custom_audiences, { list: 'CustomAudience' }
@@ -59,6 +59,7 @@ module FacebookAds
59
59
  field :start_time, 'int'
60
60
  field :status, 'string'
61
61
  field :targeting, 'Targeting'
62
+ field :third_party_ids, { list: 'string' }
62
63
  field :third_party_integrated_deal, 'bool'
63
64
  has_no_post
64
65
  has_no_delete
@@ -100,7 +100,7 @@ module FacebookAds
100
100
  end
101
101
 
102
102
  has_edge :comments do |edge|
103
- edge.get 'Null'
103
+ edge.get 'NullNode'
104
104
  edge.post 'Comment' do |api|
105
105
  api.has_param :object_id, 'string'
106
106
  api.has_param :parent_comment_id, 'object'
@@ -125,7 +125,7 @@ module FacebookAds
125
125
  end
126
126
 
127
127
  has_edge :feed do |edge|
128
- edge.get 'Null'
128
+ edge.get 'NullNode'
129
129
  edge.post do |api|
130
130
  api.has_param :picture, 'string'
131
131
  api.has_param :name, 'string'
@@ -249,7 +249,7 @@ module FacebookAds
249
249
  end
250
250
 
251
251
  has_edge :live_videos do |edge|
252
- edge.get 'Null'
252
+ edge.get 'NullNode'
253
253
  edge.post do |api|
254
254
  api.has_param :title, 'string'
255
255
  api.has_param :description, 'string'
@@ -289,7 +289,7 @@ module FacebookAds
289
289
  end
290
290
 
291
291
  has_edge :photos do |edge|
292
- edge.get 'Null'
292
+ edge.get 'NullNode'
293
293
  edge.post 'Photo' do |api|
294
294
  api.has_param :aid, 'string'
295
295
  api.has_param :caption, 'string'
@@ -346,11 +346,11 @@ module FacebookAds
346
346
  end
347
347
 
348
348
  has_edge :picture do |edge|
349
- edge.get 'Null'
349
+ edge.get 'NullNode'
350
350
  end
351
351
 
352
352
  has_edge :posts do |edge|
353
- edge.get 'Null'
353
+ edge.get 'NullNode'
354
354
  end
355
355
 
356
356
  has_edge :roles do |edge|
@@ -358,7 +358,7 @@ module FacebookAds
358
358
  end
359
359
 
360
360
  has_edge :videos do |edge|
361
- edge.get 'Null'
361
+ edge.get 'NullNode'
362
362
  edge.post 'AdVideo' do |api|
363
363
  api.has_param :title, 'string'
364
364
  api.has_param :source, 'string'
@@ -62,6 +62,7 @@ module FacebookAds
62
62
  "CASUAL",
63
63
  "GAME",
64
64
  "HIGH_SCHOOL_FORUM",
65
+ "JOBS",
65
66
  "REAL_WORLD_AT_WORK",
66
67
  "FOR_WORK",
67
68
  "MENTORSHIP",
@@ -28,6 +28,7 @@ module FacebookAds
28
28
  class HomeListing < AdObject
29
29
 
30
30
  field :ac_type, 'string'
31
+ field :additional_fees_description, 'string'
31
32
  field :address, 'object'
32
33
  field :agent_company, 'string'
33
34
  field :agent_email, 'string'
@@ -29,11 +29,14 @@ module FacebookAds
29
29
 
30
30
  field :add_to_cart, 'int'
31
31
  field :brand, 'string'
32
+ field :catalog_segment, 'ProductCatalog'
32
33
  field :catalog_segment_id, 'string'
33
34
  field :catalog_segment_purchase_value, 'double'
34
35
  field :category, 'string'
35
36
  field :date, 'string'
36
37
  field :link_clicks, 'int'
38
+ field :merchant_currency, 'string'
39
+ field :page, 'Page'
37
40
  field :page_id, 'string'
38
41
  field :product_id, 'string'
39
42
  field :product_quantity, 'int'
@@ -25,7 +25,7 @@ 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 Null < AdObject
28
+ class NullNode < AdObject
29
29
 
30
30
  field :id, 'string'
31
31
  has_no_post
@@ -65,6 +65,7 @@ module FacebookAds
65
65
  field :event_time_max, 'int'
66
66
  field :event_time_min, 'int'
67
67
  field :id, 'string'
68
+ field :is_mta_use, 'bool'
68
69
  field :is_restricted_use, 'bool'
69
70
  field :last_upload_app, 'string'
70
71
  field :last_upload_app_changed_time, 'int'
@@ -623,6 +623,7 @@ module FacebookAds
623
623
  edge.post 'Canvas' do |api|
624
624
  api.has_param :body_element_ids, { list: 'string' }
625
625
  api.has_param :background_color, 'string'
626
+ api.has_param :enable_swipe_to_open, 'bool'
626
627
  api.has_param :is_published, 'bool'
627
628
  api.has_param :is_hidden, 'bool'
628
629
  api.has_param :name, 'string'
@@ -115,7 +115,6 @@ module FacebookAds
115
115
  "NEWS_SUBSCRIPTIONS_PUBLISHER_TEST_USERS",
116
116
  "QR_CODE",
117
117
  "ORGANIC_PIXEL",
118
- "CREDIBILITY_INDICATORS",
119
118
  "ATTRIBUTIONS",
120
119
  "BROADCASTED_MESSAGES",
121
120
  "BRANDED_CONTENT",
@@ -53,7 +53,6 @@ module FacebookAds
53
53
  field :application, 'Application'
54
54
  field :backdated_time, 'datetime'
55
55
  field :call_to_action, 'object'
56
- field :can_reply_privately, 'bool'
57
56
  field :caption, 'string'
58
57
  field :child_attachments, { list: 'string' }
59
58
  field :comments_mirroring_domain, 'string'
@@ -141,6 +141,8 @@ module FacebookAds
141
141
  api.has_param :images, { list: 'object' }
142
142
  api.has_param :origin_airport, 'string'
143
143
  api.has_param :destination_airport, 'string'
144
+ api.has_param :description, 'string'
145
+ api.has_param :url, 'object'
144
146
  end
145
147
  end
146
148
 
@@ -50,6 +50,7 @@ module FacebookAds
50
50
  "refurbished",
51
51
  "used",
52
52
  "cpo",
53
+ "open_box_new",
53
54
  ]
54
55
 
55
56
  GENDER = [
@@ -49,6 +49,7 @@ module FacebookAds
49
49
  "LANDING_PAGE_VIEWS",
50
50
  "VALUE",
51
51
  "REPLIES",
52
+ "DERIVED_EVENTS",
52
53
  ]
53
54
 
54
55
 
@@ -57,7 +57,6 @@ module FacebookAds
57
57
  api.has_param :media_type, 'string'
58
58
  api.has_param :caption, 'string'
59
59
  api.has_param :image_url, 'string'
60
- api.has_param :thumb_offset, 'string'
61
60
  api.has_param :children, { list: 'int' }
62
61
  end
63
62
  end
@@ -106,7 +106,6 @@ module FacebookAds
106
106
  field :moms, { list: 'IdName' }
107
107
  field :net_worth, { list: 'IdName' }
108
108
  field :office_type, { list: 'IdName' }
109
- field :page_types, { list: 'string' }
110
109
  field :place_page_set_ids, { list: 'string' }
111
110
  field :political_views, { list: 'int' }
112
111
  field :politics, { list: 'IdName' }
@@ -27,7 +27,7 @@ module FacebookAds
27
27
 
28
28
  class TargetingProspectingAudience < AdObject
29
29
 
30
- field :sources, 'string'
30
+ field :sources, { list: 'object' }
31
31
  field :id, 'string'
32
32
  has_no_post
33
33
  has_no_delete
@@ -94,7 +94,6 @@ module FacebookAds
94
94
  api.has_param :prng, 'object'
95
95
  api.has_param :proxied_app_id, 'string'
96
96
  api.has_param :recipients, 'object'
97
- api.has_param :replace_message_id, 'string'
98
97
  api.has_param :replied_to_message_id, 'string'
99
98
  api.has_param :selected_cta_token, 'string'
100
99
  api.has_param :shareable_attachment, 'object'
@@ -384,17 +384,6 @@ module FacebookAds
384
384
  end
385
385
  end
386
386
 
387
- has_edge :contacts_photos do |edge|
388
- edge.post do |api|
389
- api.has_param :published, 'bool'
390
- api.has_param :target_id, 'int'
391
- api.has_param :url, 'string'
392
- api.has_param :full_res_is_coming_later, 'bool'
393
- api.has_param :manual_privacy, 'bool'
394
- api.has_param :audience_exp, 'bool'
395
- end
396
- end
397
-
398
387
  has_edge :conversations do |edge|
399
388
  edge.get 'UnifiedThread' do |api|
400
389
  api.has_param :tags, { list: 'string' }
@@ -780,6 +769,17 @@ module FacebookAds
780
769
  end
781
770
  end
782
771
 
772
+ has_edge :locationupdates do |edge|
773
+ edge.post 'User' do |api|
774
+ api.has_param :locations, { list: 'object' }
775
+ api.has_param :deviceid, 'string'
776
+ api.has_param :trace_ids, { list: 'string' }
777
+ api.has_param :dynamic_collection_checksum, 'string'
778
+ api.has_param :android_config_checksum, 'string'
779
+ api.has_param :skip_pvd, 'bool'
780
+ end
781
+ end
782
+
783
783
  has_edge :loggedoutpushsetnonces do |edge|
784
784
  edge.post 'User' do |api|
785
785
  api.has_param :device_id, 'string'
@@ -916,7 +916,7 @@ module FacebookAds
916
916
  edge.post do |api|
917
917
  api.has_param :user_input_email, 'string'
918
918
  api.has_param :default, 'bool'
919
- api.has_param :payment_type, { enum: %w{PAYMENT_SETTINGS IG_PAYMENT_SETTINGS UNKNOWN MP_PAYMENT_SETTINGS IAP_INSTANT_GAME IAP_FAN_FUNDING IAP_GROUP_SUBSCRIPTION MOR_NONE MOR_ADS_INVOICE MOR_DONATIONS MOR_DONATIONS_MATCHING_CONFIRMATION MOR_DONATIONS_MATCHING_PLEDGE MOR_OCULUS_CV1 MOR_OCULUS_LAUNCH_V1 MOR_OCULUS_LAUNCH_V2 MOR_OZONE MOR_OPEN_GRAPH_PRODUCT MOR_MESSENGER_COMMERCE MOR_P2P_TRANSFER MOR_DUMMY_FIRST_PARTY MOR_DUMMY_THIRD_PARTY MOR_GIFTS MOR_BILL MOR_AIRMAIL MOR_EVENT_TICKETING MOR_PAYMENT_LITE MOR_MESSENGER_API_FEE MOR_WORKPLACE_USAGE MOR_FACEBOOK_SHOP MOR_FAN_FUNDING MOR_GAME_TIPPING_TOKEN MOR_INSTANT_GAMES MOR_BLUEBIRD MOR_GROUP_SUBSCRIPTION NMOR_UNKNOWN NMOR_NONE NMOR_PAGES_COMMERCE NMOR_COMPONENT_FLOW NMOR_BUSINESS_PLATFORM_COMMERCE NMOR_SYNCHRONOUS_COMPONENT_FLOW NMOR_EVENT_TICKETING NMOR_PLATFORM_SELF_SERVE NMOR_MESSENGER_PLATFORM NMOR_MESSENGER_OMNIM NMOR_BILLING_ENGINE NMOR_TIP_JAR NMOR_INSTANT_EXPERIENCES NMOR_CHECKOUT_EXPERIENCES NMOR_BUY_ON_FACEBOOK NMOR_PAYMENT_APP NMOR_DONATION_P4P NMOR_WHATSAPP_P2P NMOR_P2P NMOR_MOBILE_TOP_UP NMOR_MFS NMOR_SHIPPING_LABEL NMOR_MARKETPLACE_DROPOFF NMOR_PAGES_SOLUTION NMOR_BLACKBAUD_RWR_DONATION NMOR_MARKETPLACE_SHIPPING NMOR_DUMMY NMOR_PPGF_DONATION NMOR_ADVERTISER_SUBSCRIPTION NMOR_WHATSAPP_P2M NMOR_MOVIE_TICKETING IG_NMOR_P2B NMOR_INSTAGRAM_P2B }}
919
+ api.has_param :payment_type, { enum: %w{PAYMENT_SETTINGS IG_PAYMENT_SETTINGS UNKNOWN MP_PAYMENT_SETTINGS IAP_INSTANT_GAME IAP_FAN_FUNDING IAP_GROUP_SUBSCRIPTION MOR_NONE MOR_ADS_CONSENT MOR_ADS_INVOICE MOR_DONATIONS MOR_DONATIONS_MATCHING_CONFIRMATION MOR_DONATIONS_MATCHING_PLEDGE MOR_OCULUS_CV1 MOR_OCULUS_LAUNCH_V1 MOR_OCULUS_LAUNCH_V2 MOR_OZONE MOR_OPEN_GRAPH_PRODUCT MOR_MESSENGER_COMMERCE MOR_P2P_TRANSFER MOR_DUMMY_FIRST_PARTY MOR_DUMMY_THIRD_PARTY MOR_GIFTS MOR_BILL MOR_AIRMAIL MOR_EVENT_TICKETING MOR_PAYMENT_LITE MOR_MESSENGER_API_FEE MOR_WORKPLACE_USAGE MOR_FACEBOOK_SHOP MOR_FAN_FUNDING MOR_GAME_TIPPING_TOKEN MOR_INSTANT_GAMES MOR_BLUEBIRD MOR_GROUP_SUBSCRIPTION NMOR_UNKNOWN NMOR_NONE NMOR_PAGES_COMMERCE NMOR_COMPONENT_FLOW NMOR_BUSINESS_PLATFORM_COMMERCE NMOR_SYNCHRONOUS_COMPONENT_FLOW NMOR_EVENT_TICKETING NMOR_PLATFORM_SELF_SERVE NMOR_MESSENGER_PLATFORM NMOR_MESSENGER_OMNIM NMOR_BILLING_ENGINE NMOR_TIP_JAR NMOR_INSTANT_EXPERIENCES NMOR_CHECKOUT_EXPERIENCES NMOR_BUY_ON_FACEBOOK NMOR_PAYMENT_APP NMOR_DONATION_P4P NMOR_WHATSAPP_P2P NMOR_P2P NMOR_MOBILE_TOP_UP NMOR_MFS NMOR_SHIPPING_LABEL NMOR_MARKETPLACE_DROPOFF NMOR_PAGES_SOLUTION NMOR_BLACKBAUD_RWR_DONATION NMOR_MARKETPLACE_SHIPPING NMOR_DUMMY NMOR_PPGF_DONATION NMOR_ADVERTISER_SUBSCRIPTION NMOR_WHATSAPP_P2M NMOR_MOVIE_TICKETING IG_NMOR_P2B NMOR_INSTAGRAM_P2B }}
920
920
  end
921
921
  end
922
922
 
@@ -925,7 +925,7 @@ module FacebookAds
925
925
  api.has_param :raw_input, 'string'
926
926
  api.has_param :country_code, 'string'
927
927
  api.has_param :default, 'bool'
928
- api.has_param :payment_type, { enum: %w{PAYMENT_SETTINGS IG_PAYMENT_SETTINGS UNKNOWN MP_PAYMENT_SETTINGS IAP_INSTANT_GAME IAP_FAN_FUNDING IAP_GROUP_SUBSCRIPTION MOR_NONE MOR_ADS_INVOICE MOR_DONATIONS MOR_DONATIONS_MATCHING_CONFIRMATION MOR_DONATIONS_MATCHING_PLEDGE MOR_OCULUS_CV1 MOR_OCULUS_LAUNCH_V1 MOR_OCULUS_LAUNCH_V2 MOR_OZONE MOR_OPEN_GRAPH_PRODUCT MOR_MESSENGER_COMMERCE MOR_P2P_TRANSFER MOR_DUMMY_FIRST_PARTY MOR_DUMMY_THIRD_PARTY MOR_GIFTS MOR_BILL MOR_AIRMAIL MOR_EVENT_TICKETING MOR_PAYMENT_LITE MOR_MESSENGER_API_FEE MOR_WORKPLACE_USAGE MOR_FACEBOOK_SHOP MOR_FAN_FUNDING MOR_GAME_TIPPING_TOKEN MOR_INSTANT_GAMES MOR_BLUEBIRD MOR_GROUP_SUBSCRIPTION NMOR_UNKNOWN NMOR_NONE NMOR_PAGES_COMMERCE NMOR_COMPONENT_FLOW NMOR_BUSINESS_PLATFORM_COMMERCE NMOR_SYNCHRONOUS_COMPONENT_FLOW NMOR_EVENT_TICKETING NMOR_PLATFORM_SELF_SERVE NMOR_MESSENGER_PLATFORM NMOR_MESSENGER_OMNIM NMOR_BILLING_ENGINE NMOR_TIP_JAR NMOR_INSTANT_EXPERIENCES NMOR_CHECKOUT_EXPERIENCES NMOR_BUY_ON_FACEBOOK NMOR_PAYMENT_APP NMOR_DONATION_P4P NMOR_WHATSAPP_P2P NMOR_P2P NMOR_MOBILE_TOP_UP NMOR_MFS NMOR_SHIPPING_LABEL NMOR_MARKETPLACE_DROPOFF NMOR_PAGES_SOLUTION NMOR_BLACKBAUD_RWR_DONATION NMOR_MARKETPLACE_SHIPPING NMOR_DUMMY NMOR_PPGF_DONATION NMOR_ADVERTISER_SUBSCRIPTION NMOR_WHATSAPP_P2M NMOR_MOVIE_TICKETING IG_NMOR_P2B NMOR_INSTAGRAM_P2B }}
928
+ api.has_param :payment_type, { enum: %w{PAYMENT_SETTINGS IG_PAYMENT_SETTINGS UNKNOWN MP_PAYMENT_SETTINGS IAP_INSTANT_GAME IAP_FAN_FUNDING IAP_GROUP_SUBSCRIPTION MOR_NONE MOR_ADS_CONSENT MOR_ADS_INVOICE MOR_DONATIONS MOR_DONATIONS_MATCHING_CONFIRMATION MOR_DONATIONS_MATCHING_PLEDGE MOR_OCULUS_CV1 MOR_OCULUS_LAUNCH_V1 MOR_OCULUS_LAUNCH_V2 MOR_OZONE MOR_OPEN_GRAPH_PRODUCT MOR_MESSENGER_COMMERCE MOR_P2P_TRANSFER MOR_DUMMY_FIRST_PARTY MOR_DUMMY_THIRD_PARTY MOR_GIFTS MOR_BILL MOR_AIRMAIL MOR_EVENT_TICKETING MOR_PAYMENT_LITE MOR_MESSENGER_API_FEE MOR_WORKPLACE_USAGE MOR_FACEBOOK_SHOP MOR_FAN_FUNDING MOR_GAME_TIPPING_TOKEN MOR_INSTANT_GAMES MOR_BLUEBIRD MOR_GROUP_SUBSCRIPTION NMOR_UNKNOWN NMOR_NONE NMOR_PAGES_COMMERCE NMOR_COMPONENT_FLOW NMOR_BUSINESS_PLATFORM_COMMERCE NMOR_SYNCHRONOUS_COMPONENT_FLOW NMOR_EVENT_TICKETING NMOR_PLATFORM_SELF_SERVE NMOR_MESSENGER_PLATFORM NMOR_MESSENGER_OMNIM NMOR_BILLING_ENGINE NMOR_TIP_JAR NMOR_INSTANT_EXPERIENCES NMOR_CHECKOUT_EXPERIENCES NMOR_BUY_ON_FACEBOOK NMOR_PAYMENT_APP NMOR_DONATION_P4P NMOR_WHATSAPP_P2P NMOR_P2P NMOR_MOBILE_TOP_UP NMOR_MFS NMOR_SHIPPING_LABEL NMOR_MARKETPLACE_DROPOFF NMOR_PAGES_SOLUTION NMOR_BLACKBAUD_RWR_DONATION NMOR_MARKETPLACE_SHIPPING NMOR_DUMMY NMOR_PPGF_DONATION NMOR_ADVERTISER_SUBSCRIPTION NMOR_WHATSAPP_P2M NMOR_MOVIE_TICKETING IG_NMOR_P2B NMOR_INSTAGRAM_P2B }}
929
929
  end
930
930
  end
931
931
 
@@ -19,6 +19,6 @@
19
19
  # FB:AUTOGEN
20
20
 
21
21
  module FacebookAds
22
- VERSION = '0.3.1.7'
23
- API_VERSION = '3.1'
22
+ VERSION = '0.3.2.0'
23
+ API_VERSION = '3.2'
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.3.1.7
4
+ version: 0.3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-19 00:00:00.000000000 Z
11
+ date: 2018-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -228,6 +228,7 @@ files:
228
228
  - lib/facebook_ads/ad_objects/ad_campaign_activity.rb
229
229
  - lib/facebook_ads/ad_objects/ad_campaign_bid_constraint.rb
230
230
  - lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb
231
+ - lib/facebook_ads/ad_objects/ad_campaign_delivery_stats_unsupported_reasons.rb
231
232
  - lib/facebook_ads/ad_objects/ad_campaign_frequency_control_specs.rb
232
233
  - lib/facebook_ads/ad_objects/ad_campaign_group_activity.rb
233
234
  - lib/facebook_ads/ad_objects/ad_campaign_group_stats.rb
@@ -241,6 +242,7 @@ files:
241
242
  - lib/facebook_ads/ad_objects/ad_conversions.rb
242
243
  - lib/facebook_ads/ad_objects/ad_creative.rb
243
244
  - lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb
245
+ - lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb
244
246
  - lib/facebook_ads/ad_objects/ad_creative_link_data.rb
245
247
  - lib/facebook_ads/ad_objects/ad_creative_link_data_app_link_spec.rb
246
248
  - lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb
@@ -514,7 +516,7 @@ files:
514
516
  - lib/facebook_ads/ad_objects/native_offer.rb
515
517
  - lib/facebook_ads/ad_objects/native_offer_discount.rb
516
518
  - lib/facebook_ads/ad_objects/native_offer_view.rb
517
- - lib/facebook_ads/ad_objects/null.rb
519
+ - lib/facebook_ads/ad_objects/null_node.rb
518
520
  - lib/facebook_ads/ad_objects/offline_conversion_data_set.rb
519
521
  - lib/facebook_ads/ad_objects/offline_terms_of_service.rb
520
522
  - lib/facebook_ads/ad_objects/offsite_pixel.rb