facebookbusiness 0.3.2.3 → 0.3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/facebook_ads/ad_objects/ad.rb +3 -3
- data/lib/facebook_ads/ad_objects/ad_account.rb +13 -20
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -1
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_account_user_permissions.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -1
- data/lib/facebook_ads/ad_objects/ad_creative.rb +4 -1
- data/lib/facebook_ads/ad_objects/ad_creative_link_data.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/ad_creative_video_data.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_set.rb +9 -11
- data/lib/facebook_ads/ad_objects/ad_video.rb +3 -1
- data/lib/facebook_ads/ad_objects/ads_insights.rb +6 -10
- data/lib/facebook_ads/ad_objects/automotive_model.rb +2 -0
- data/lib/facebook_ads/ad_objects/business.rb +0 -6
- data/lib/facebook_ads/ad_objects/campaign.rb +6 -6
- data/lib/facebook_ads/ad_objects/{publisher_space.rb → catalog_based_targeting.rb} +3 -3
- data/lib/facebook_ads/ad_objects/copyright_reference_container.rb +2 -0
- data/lib/facebook_ads/ad_objects/currency.rb +0 -2
- data/lib/facebook_ads/ad_objects/destination.rb +1 -2
- data/lib/facebook_ads/ad_objects/event.rb +35 -12
- data/lib/facebook_ads/ad_objects/lead_gen_legal_content.rb +0 -7
- data/lib/facebook_ads/ad_objects/leadgen_form.rb +7 -7
- data/lib/facebook_ads/ad_objects/live_video.rb +5 -1
- data/lib/facebook_ads/ad_objects/live_video_input_stream.rb +1 -0
- data/lib/facebook_ads/ad_objects/live_with_guest_session.rb +54 -0
- data/lib/facebook_ads/ad_objects/merchant_compliance.rb +41 -0
- data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +9 -2
- data/lib/facebook_ads/ad_objects/offsite_pixel.rb +0 -1
- data/lib/facebook_ads/ad_objects/open_graph_object.rb +0 -1
- data/lib/facebook_ads/ad_objects/page.rb +3 -22
- data/lib/facebook_ads/ad_objects/{adgroup_metadata.rb → page_locations_health_summary.rb} +4 -3
- data/lib/facebook_ads/ad_objects/page_post.rb +2 -2
- data/lib/facebook_ads/ad_objects/page_saved_filter.rb +0 -1
- data/lib/facebook_ads/ad_objects/post.rb +2 -2
- data/lib/facebook_ads/ad_objects/product_catalog.rb +19 -11
- data/lib/facebook_ads/ad_objects/product_catalog_user_permissions.rb +0 -1
- data/lib/facebook_ads/ad_objects/product_feed.rb +1 -1
- data/lib/facebook_ads/ad_objects/product_feed_upload_error.rb +0 -2
- data/lib/facebook_ads/ad_objects/profile_picture_source.rb +0 -1
- data/lib/facebook_ads/ad_objects/reach_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/targeting.rb +1 -1
- data/lib/facebook_ads/ad_objects/unified_thread.rb +0 -2
- data/lib/facebook_ads/ad_objects/url.rb +0 -1
- data/lib/facebook_ads/ad_objects/user.rb +2 -6
- data/lib/facebook_ads/ad_objects/user_context.rb +0 -12
- data/lib/facebook_ads/version.rb +1 -1
- metadata +6 -5
- data/lib/facebook_ads/ad_objects/ad_asset_feed.rb +0 -217
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92d8e6150a41c991f5284f79653ac1876701468cb7b086e26177de237fe66072
|
4
|
+
data.tar.gz: cbbade9f87de5e8c6cf4eeb63636059a724330285bab6d1d9db27edc2616a8e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b995fa21002d8885821e79f846fecc4f65459e572710086b8e097298efa2b3d096d8ef8c8d3e59ade7b219b5313221038a1f34500418fb9035a03c0e272c283
|
7
|
+
data.tar.gz: cd1430916889b4104b88dd0639c56692aa3bfe3d2fcc159bebbb8536c567d2058c18535c537011583276d19518462ccac06713ad808fb758b8df7fca0db196e5
|
@@ -124,7 +124,6 @@ module FacebookAds
|
|
124
124
|
field :issues_info, { list: 'AdgroupIssuesInfo' }
|
125
125
|
field :last_updated_by_app_id, 'string'
|
126
126
|
field :name, 'string'
|
127
|
-
field :objective_source, 'string'
|
128
127
|
field :priority, 'int'
|
129
128
|
field :recommendations, { list: 'AdRecommendation' }
|
130
129
|
field :source_ad, 'Ad'
|
@@ -148,11 +147,11 @@ module FacebookAds
|
|
148
147
|
has_edge :adlabels do |edge|
|
149
148
|
edge.delete do |api|
|
150
149
|
api.has_param :adlabels, { list: 'object' }
|
151
|
-
api.has_param :execution_options, { list: { enum:
|
150
|
+
api.has_param :execution_options, { list: { enum: %w{validate_only }} }
|
152
151
|
end
|
153
152
|
edge.post 'Ad' do |api|
|
154
153
|
api.has_param :adlabels, { list: 'object' }
|
155
|
-
api.has_param :execution_options, { list: { enum:
|
154
|
+
api.has_param :execution_options, { list: { enum: %w{validate_only }} }
|
156
155
|
end
|
157
156
|
end
|
158
157
|
|
@@ -243,6 +242,7 @@ module FacebookAds
|
|
243
242
|
edge.get 'AdPreview' do |api|
|
244
243
|
api.has_param :ad_format, { enum: -> { AdPreview::AD_FORMAT }}
|
245
244
|
api.has_param :dynamic_creative_spec, 'object'
|
245
|
+
api.has_param :dynamic_asset_label, 'string'
|
246
246
|
api.has_param :interactive, 'bool'
|
247
247
|
api.has_param :post, 'object'
|
248
248
|
api.has_param :height, 'int'
|
@@ -156,7 +156,6 @@ module FacebookAds
|
|
156
156
|
field :capabilities, { list: 'string' }
|
157
157
|
field :created_time, 'datetime'
|
158
158
|
field :currency, 'string'
|
159
|
-
field :daily_spend_limit, 'string'
|
160
159
|
field :direct_deals_tos_accepted, 'bool'
|
161
160
|
field :disable_reason, 'int'
|
162
161
|
field :end_advertiser, 'string'
|
@@ -185,7 +184,6 @@ module FacebookAds
|
|
185
184
|
field :offsite_pixels_tos_accepted, 'bool'
|
186
185
|
field :owner, 'string'
|
187
186
|
field :partner, 'string'
|
188
|
-
field :rate_limit_reset_time, 'string'
|
189
187
|
field :rf_spec, 'ReachFrequencySpec'
|
190
188
|
field :show_checkout_experience, 'bool'
|
191
189
|
field :spend_cap, 'string'
|
@@ -220,21 +218,20 @@ module FacebookAds
|
|
220
218
|
end
|
221
219
|
|
222
220
|
has_edge :adasset_feeds do |edge|
|
223
|
-
edge.
|
224
|
-
edge.post 'AdAssetFeed' do |api|
|
221
|
+
edge.post do |api|
|
225
222
|
api.has_param :images, { list: 'object' }
|
226
223
|
api.has_param :videos, { list: 'object' }
|
227
224
|
api.has_param :bodies, { list: 'object' }
|
228
|
-
api.has_param :call_to_action_types, { list: { enum:
|
225
|
+
api.has_param :call_to_action_types, { list: { enum: %w{OPEN_LINK LIKE_PAGE SHOP_NOW PLAY_GAME INSTALL_APP USE_APP CALL CALL_ME INSTALL_MOBILE_APP USE_MOBILE_APP MOBILE_DOWNLOAD BOOK_TRAVEL LISTEN_MUSIC WATCH_VIDEO LEARN_MORE SIGN_UP DOWNLOAD WATCH_MORE NO_BUTTON VISIT_PAGES_FEED APPLY_NOW BUY_NOW GET_OFFER GET_OFFER_VIEW BUY_TICKETS UPDATE_APP GET_DIRECTIONS BUY MESSAGE_PAGE DONATE SUBSCRIBE SAY_THANKS SELL_NOW SHARE DONATE_NOW GET_QUOTE CONTACT_US ORDER_NOW ADD_TO_CART VIDEO_ANNOTATION MOMENTS RECORD_NOW GET_SHOWTIMES LISTEN_NOW WOODHENGE_SUPPORT EVENT_RSVP WHATSAPP_MESSAGE FOLLOW_NEWS_STORYLINE SEE_MORE }} }
|
229
226
|
api.has_param :descriptions, { list: 'object' }
|
230
227
|
api.has_param :link_urls, { list: 'object' }
|
231
228
|
api.has_param :titles, { list: 'object' }
|
232
229
|
api.has_param :captions, { list: 'object' }
|
233
|
-
api.has_param :ad_formats, { list: { enum:
|
230
|
+
api.has_param :ad_formats, { list: { enum: %w{AUTOMATIC_FORMAT CAROUSEL_IMAGE CAROUSEL_VIDEO SINGLE_IMAGE SINGLE_VIDEO }} }
|
234
231
|
api.has_param :groups, { list: 'object' }
|
235
232
|
api.has_param :target_rules, { list: 'object' }
|
236
233
|
api.has_param :asset_customization_rules, { list: 'object' }
|
237
|
-
api.has_param :optimization_type, { enum:
|
234
|
+
api.has_param :optimization_type, { enum: %w{REGULAR LANGUAGE PLACEMENT VIDEO_BANDWIDTH BRAND ASSET_CUSTOMIZATION DCO_PARITY PREVIEW_DYNAMIC_RENDERING }}
|
238
235
|
api.has_param :call_to_actions, { list: 'object' }
|
239
236
|
api.has_param :autotranslate, { list: 'string' }
|
240
237
|
api.has_param :additional_data, 'hash'
|
@@ -336,11 +333,10 @@ module FacebookAds
|
|
336
333
|
end
|
337
334
|
|
338
335
|
has_edge :adlanguage_assets do |edge|
|
339
|
-
edge.
|
340
|
-
edge.post 'AdAssetFeed' do |api|
|
336
|
+
edge.post do |api|
|
341
337
|
api.has_param :image, 'object'
|
342
338
|
api.has_param :video, 'object'
|
343
|
-
api.has_param :call_to_action_type, { enum:
|
339
|
+
api.has_param :call_to_action_type, { enum: %w{OPEN_LINK LIKE_PAGE SHOP_NOW PLAY_GAME INSTALL_APP USE_APP CALL CALL_ME INSTALL_MOBILE_APP USE_MOBILE_APP MOBILE_DOWNLOAD BOOK_TRAVEL LISTEN_MUSIC WATCH_VIDEO LEARN_MORE SIGN_UP DOWNLOAD WATCH_MORE NO_BUTTON VISIT_PAGES_FEED APPLY_NOW BUY_NOW GET_OFFER GET_OFFER_VIEW BUY_TICKETS UPDATE_APP GET_DIRECTIONS BUY MESSAGE_PAGE DONATE SUBSCRIBE SAY_THANKS SELL_NOW SHARE DONATE_NOW GET_QUOTE CONTACT_US ORDER_NOW ADD_TO_CART VIDEO_ANNOTATION MOMENTS RECORD_NOW GET_SHOWTIMES LISTEN_NOW WOODHENGE_SUPPORT EVENT_RSVP WHATSAPP_MESSAGE FOLLOW_NEWS_STORYLINE SEE_MORE }}
|
344
340
|
api.has_param :bodies, { list: 'object' }
|
345
341
|
api.has_param :descriptions, { list: 'object' }
|
346
342
|
api.has_param :titles, { list: 'object' }
|
@@ -506,6 +502,7 @@ module FacebookAds
|
|
506
502
|
api.has_param :adlabels, { list: 'object' }
|
507
503
|
api.has_param :bid_amount, 'int'
|
508
504
|
api.has_param :bid_adjustments, 'object'
|
505
|
+
api.has_param :bid_constraints, 'object'
|
509
506
|
api.has_param :bid_strategy, { enum: -> { AdSet::BID_STRATEGY }}
|
510
507
|
api.has_param :billing_event, { enum: -> { AdSet::BILLING_EVENT }}
|
511
508
|
api.has_param :campaign_id, 'string'
|
@@ -527,7 +524,6 @@ module FacebookAds
|
|
527
524
|
api.has_param :is_autobid, 'bool'
|
528
525
|
api.has_param :is_average_price_pacing, 'bool'
|
529
526
|
api.has_param :is_dynamic_creative, 'bool'
|
530
|
-
api.has_param :is_dynamic_creative_optimization, 'bool'
|
531
527
|
api.has_param :lifetime_budget, 'int'
|
532
528
|
api.has_param :lifetime_frequency_cap, 'int'
|
533
529
|
api.has_param :lifetime_imps, 'int'
|
@@ -785,6 +781,10 @@ module FacebookAds
|
|
785
781
|
end
|
786
782
|
end
|
787
783
|
|
784
|
+
has_edge :businesssettinglogs do |edge|
|
785
|
+
edge.get 'BusinessSettingLogsData'
|
786
|
+
end
|
787
|
+
|
788
788
|
has_edge :campaigns do |edge|
|
789
789
|
edge.delete do |api|
|
790
790
|
api.has_param :delete_strategy, { enum: %w{DELETE_ANY DELETE_OLDEST DELETE_ARCHIVED_BEFORE }}
|
@@ -839,10 +839,6 @@ module FacebookAds
|
|
839
839
|
end
|
840
840
|
end
|
841
841
|
|
842
|
-
has_edge :custom_audience_limits do |edge|
|
843
|
-
edge.get 'AdAccountCustomAudienceLimits'
|
844
|
-
end
|
845
|
-
|
846
842
|
has_edge :customaudiences do |edge|
|
847
843
|
edge.get 'CustomAudience' do |api|
|
848
844
|
api.has_param :pixel_id, 'string'
|
@@ -956,6 +952,7 @@ module FacebookAds
|
|
956
952
|
edge.get 'AdPreview' do |api|
|
957
953
|
api.has_param :ad_format, { enum: -> { AdPreview::AD_FORMAT }}
|
958
954
|
api.has_param :dynamic_creative_spec, 'object'
|
955
|
+
api.has_param :dynamic_asset_label, 'string'
|
959
956
|
api.has_param :interactive, 'bool'
|
960
957
|
api.has_param :post, 'object'
|
961
958
|
api.has_param :height, 'int'
|
@@ -1350,7 +1347,7 @@ module FacebookAds
|
|
1350
1347
|
end
|
1351
1348
|
end
|
1352
1349
|
|
1353
|
-
has_edge :
|
1350
|
+
has_edge :usermatch do |edge|
|
1354
1351
|
edge.delete do |api|
|
1355
1352
|
api.has_param :payload, 'object'
|
1356
1353
|
api.has_param :namespace, 'string'
|
@@ -1371,10 +1368,6 @@ module FacebookAds
|
|
1371
1368
|
api.has_param :email, 'string'
|
1372
1369
|
api.has_param :business, 'string'
|
1373
1370
|
end
|
1374
|
-
edge.get 'AdAccountUserPermissions' do |api|
|
1375
|
-
api.has_param :business, 'object'
|
1376
|
-
api.has_param :user, 'object'
|
1377
|
-
end
|
1378
1371
|
edge.post 'AdAccount' do |api|
|
1379
1372
|
api.has_param :user, 'int'
|
1380
1373
|
api.has_param :email, 'string'
|
@@ -48,12 +48,12 @@ module FacebookAds
|
|
48
48
|
"APP_DOWNLOADS",
|
49
49
|
"LANDING_PAGE_VIEWS",
|
50
50
|
"VALUE",
|
51
|
+
"THRUPLAY",
|
51
52
|
"REPLIES",
|
52
53
|
"DERIVED_EVENTS",
|
53
54
|
]
|
54
55
|
|
55
56
|
|
56
|
-
field :bid_estimate, 'object'
|
57
57
|
field :daily_outcomes_curve, { list: 'OutcomePredictionPoint' }
|
58
58
|
field :estimate_dau, 'int'
|
59
59
|
field :estimate_mau, 'int'
|
@@ -136,6 +136,7 @@ module FacebookAds
|
|
136
136
|
"instream_video_sponsorship_placements",
|
137
137
|
"prospecting_audience",
|
138
138
|
"brand_safety_content_severity_levels",
|
139
|
+
"catalog_based_targeting",
|
139
140
|
]
|
140
141
|
|
141
142
|
WHITELISTED_TYPES = [
|
@@ -248,6 +249,7 @@ module FacebookAds
|
|
248
249
|
"instream_video_sponsorship_placements",
|
249
250
|
"prospecting_audience",
|
250
251
|
"brand_safety_content_severity_levels",
|
252
|
+
"catalog_based_targeting",
|
251
253
|
]
|
252
254
|
|
253
255
|
MODE = [
|
@@ -48,6 +48,7 @@ module FacebookAds
|
|
48
48
|
"PAGE_LIKES",
|
49
49
|
"POST_ENGAGEMENT",
|
50
50
|
"VIDEO_VIEWS",
|
51
|
+
"THRUPLAY",
|
51
52
|
]
|
52
53
|
|
53
54
|
BILLING_EVENT_OLD = [
|
@@ -60,6 +61,7 @@ module FacebookAds
|
|
60
61
|
"PAGE_LIKES",
|
61
62
|
"POST_ENGAGEMENT",
|
62
63
|
"VIDEO_VIEWS",
|
64
|
+
"THRUPLAY",
|
63
65
|
]
|
64
66
|
|
65
67
|
OPTIMIZATION_GOAL_NEW = [
|
@@ -84,6 +86,7 @@ module FacebookAds
|
|
84
86
|
"APP_DOWNLOADS",
|
85
87
|
"LANDING_PAGE_VIEWS",
|
86
88
|
"VALUE",
|
89
|
+
"THRUPLAY",
|
87
90
|
"REPLIES",
|
88
91
|
"DERIVED_EVENTS",
|
89
92
|
]
|
@@ -110,6 +113,7 @@ module FacebookAds
|
|
110
113
|
"APP_DOWNLOADS",
|
111
114
|
"LANDING_PAGE_VIEWS",
|
112
115
|
"VALUE",
|
116
|
+
"THRUPLAY",
|
113
117
|
"REPLIES",
|
114
118
|
"DERIVED_EVENTS",
|
115
119
|
]
|
@@ -48,12 +48,12 @@ module FacebookAds
|
|
48
48
|
"APP_DOWNLOADS",
|
49
49
|
"LANDING_PAGE_VIEWS",
|
50
50
|
"VALUE",
|
51
|
+
"THRUPLAY",
|
51
52
|
"REPLIES",
|
52
53
|
"DERIVED_EVENTS",
|
53
54
|
]
|
54
55
|
|
55
56
|
|
56
|
-
field :bid_estimate, 'object'
|
57
57
|
field :daily_outcomes_curve, { list: 'OutcomePredictionPoint' }
|
58
58
|
field :estimate_dau, 'int'
|
59
59
|
field :estimate_mau, 'int'
|
@@ -81,6 +81,7 @@ module FacebookAds
|
|
81
81
|
"EVENT_RSVP",
|
82
82
|
"WHATSAPP_MESSAGE",
|
83
83
|
"FOLLOW_NEWS_STORYLINE",
|
84
|
+
"SEE_MORE",
|
84
85
|
]
|
85
86
|
|
86
87
|
OBJECT_TYPE = [
|
@@ -135,7 +136,6 @@ module FacebookAds
|
|
135
136
|
field :actor_id, 'string'
|
136
137
|
field :adlabels, { list: 'AdLabel' }
|
137
138
|
field :applink_treatment, { enum: -> { APPLINK_TREATMENT }}
|
138
|
-
field :asset_feed_id, 'string'
|
139
139
|
field :asset_feed_spec, 'AdAssetFeedSpec'
|
140
140
|
field :authorization_category, 'string'
|
141
141
|
field :auto_update, 'bool'
|
@@ -173,6 +173,7 @@ module FacebookAds
|
|
173
173
|
field :place_page_set_id, 'string'
|
174
174
|
field :platform_customizations, 'AdCreativePlatformCustomization'
|
175
175
|
field :playable_asset_id, 'string'
|
176
|
+
field :portrait_customizations, 'AdCreativePortraitCustomizations'
|
176
177
|
field :product_set_id, 'string'
|
177
178
|
field :recommender_settings, 'AdCreativeRecommenderSettings'
|
178
179
|
field :status, { enum: -> { STATUS }}
|
@@ -183,6 +184,7 @@ module FacebookAds
|
|
183
184
|
field :url_tags, 'string'
|
184
185
|
field :use_page_actor_override, 'bool'
|
185
186
|
field :video_id, 'string'
|
187
|
+
field :asset_feed_id, 'string'
|
186
188
|
field :is_dco_internal, 'bool'
|
187
189
|
field :call_to_action, 'object'
|
188
190
|
field :image_file, 'string'
|
@@ -202,6 +204,7 @@ module FacebookAds
|
|
202
204
|
edge.get 'AdPreview' do |api|
|
203
205
|
api.has_param :ad_format, { enum: -> { AdPreview::AD_FORMAT }}
|
204
206
|
api.has_param :dynamic_creative_spec, 'object'
|
207
|
+
api.has_param :dynamic_asset_label, 'string'
|
205
208
|
api.has_param :interactive, 'bool'
|
206
209
|
api.has_param :post, 'object'
|
207
210
|
api.has_param :height, 'int'
|
@@ -73,6 +73,7 @@ module FacebookAds
|
|
73
73
|
field :show_multiple_images, 'bool'
|
74
74
|
field :sponsorship_info, 'AdCreativeLinkDataSponsorshipInfoSpec'
|
75
75
|
field :static_fallback_spec, 'AdCreativeStaticFallbackSpec'
|
76
|
+
field :use_flexible_image_aspect_ratio, 'bool'
|
76
77
|
field :id, 'string'
|
77
78
|
has_no_get
|
78
79
|
has_no_post
|
@@ -34,7 +34,6 @@ module FacebookAds
|
|
34
34
|
field :call_to_action, 'AdCreativeLinkDataCallToAction'
|
35
35
|
field :collection_thumbnails, { list: 'AdCreativeCollectionThumbnailInfo' }
|
36
36
|
field :custom_overlay_spec, { list: 'AdCreativeVideoDataCustomOverlaySpec' }
|
37
|
-
field :description, 'string'
|
38
37
|
field :image_hash, 'string'
|
39
38
|
field :image_url, 'string'
|
40
39
|
field :link_description, 'string'
|
@@ -42,6 +42,7 @@ module FacebookAds
|
|
42
42
|
"PAGE_LIKES",
|
43
43
|
"POST_ENGAGEMENT",
|
44
44
|
"VIDEO_VIEWS",
|
45
|
+
"THRUPLAY",
|
45
46
|
]
|
46
47
|
|
47
48
|
CONFIGURED_STATUS = [
|
@@ -86,6 +87,7 @@ module FacebookAds
|
|
86
87
|
"APP_DOWNLOADS",
|
87
88
|
"LANDING_PAGE_VIEWS",
|
88
89
|
"VALUE",
|
90
|
+
"THRUPLAY",
|
89
91
|
"REPLIES",
|
90
92
|
"DERIVED_EVENTS",
|
91
93
|
]
|
@@ -152,7 +154,6 @@ module FacebookAds
|
|
152
154
|
|
153
155
|
field :account_id, 'string'
|
154
156
|
field :ad_keywords, 'string'
|
155
|
-
field :adasset_feed, 'AdAssetFeed'
|
156
157
|
field :adlabels, { list: 'AdLabel' }
|
157
158
|
field :adset_schedule, { list: 'DayPart' }
|
158
159
|
field :asset_feed_id, 'string'
|
@@ -176,19 +177,13 @@ module FacebookAds
|
|
176
177
|
field :destination_type, 'string'
|
177
178
|
field :effective_status, { enum: -> { EFFECTIVE_STATUS }}
|
178
179
|
field :end_time, 'datetime'
|
179
|
-
field :frequency_cap, 'int'
|
180
|
-
field :frequency_cap_reset_period, 'int'
|
181
180
|
field :frequency_control_specs, { list: 'AdCampaignFrequencyControlSpecs' }
|
182
181
|
field :full_funnel_exploration_mode, 'string'
|
183
182
|
field :id, 'string'
|
184
183
|
field :instagram_actor_id, 'string'
|
185
|
-
field :is_autobid, 'bool'
|
186
|
-
field :is_average_price_pacing, 'bool'
|
187
184
|
field :is_dynamic_creative, 'bool'
|
188
|
-
field :is_dynamic_creative_optimization, 'bool'
|
189
185
|
field :issues_info, { list: 'AdCampaignIssuesInfo' }
|
190
186
|
field :lifetime_budget, 'string'
|
191
|
-
field :lifetime_frequency_cap, 'int'
|
192
187
|
field :lifetime_imps, 'int'
|
193
188
|
field :lifetime_min_spend_target, 'string'
|
194
189
|
field :lifetime_spend_cap, 'string'
|
@@ -200,7 +195,6 @@ module FacebookAds
|
|
200
195
|
field :recurring_budget_semantics, 'bool'
|
201
196
|
field :review_feedback, 'string'
|
202
197
|
field :rf_prediction_id, 'string'
|
203
|
-
field :rtb_flag, 'bool'
|
204
198
|
field :source_adset, 'AdSet'
|
205
199
|
field :source_adset_id, 'string'
|
206
200
|
field :start_time, 'datetime'
|
@@ -208,13 +202,17 @@ module FacebookAds
|
|
208
202
|
field :targeting, 'Targeting'
|
209
203
|
field :time_based_ad_rotation_id_blocks, { list: { list: 'int' } }
|
210
204
|
field :time_based_ad_rotation_intervals, { list: 'int' }
|
211
|
-
field :tracking_specs, 'string'
|
212
205
|
field :updated_time, 'datetime'
|
213
206
|
field :use_new_app_click, 'bool'
|
214
207
|
field :campaign_spec, 'object'
|
215
208
|
field :daily_imps, 'int'
|
216
209
|
field :date_format, 'string'
|
217
210
|
field :execution_options, { list: { enum: -> { EXECUTION_OPTIONS }} }
|
211
|
+
field :frequency_cap, 'int'
|
212
|
+
field :frequency_cap_reset_period, 'int'
|
213
|
+
field :is_autobid, 'bool'
|
214
|
+
field :is_average_price_pacing, 'bool'
|
215
|
+
field :lifetime_frequency_cap, 'int'
|
218
216
|
field :line_number, 'int'
|
219
217
|
field :rb_prediction_id, 'string'
|
220
218
|
field :time_start, 'datetime'
|
@@ -245,11 +243,11 @@ module FacebookAds
|
|
245
243
|
has_edge :adlabels do |edge|
|
246
244
|
edge.delete do |api|
|
247
245
|
api.has_param :adlabels, { list: 'object' }
|
248
|
-
api.has_param :execution_options, { list: { enum:
|
246
|
+
api.has_param :execution_options, { list: { enum: %w{validate_only }} }
|
249
247
|
end
|
250
248
|
edge.post 'AdSet' do |api|
|
251
249
|
api.has_param :adlabels, { list: 'object' }
|
252
|
-
api.has_param :execution_options, { list: { enum:
|
250
|
+
api.has_param :execution_options, { list: { enum: %w{validate_only }} }
|
253
251
|
end
|
254
252
|
end
|
255
253
|
|
@@ -113,6 +113,7 @@ module FacebookAds
|
|
113
113
|
"BELL_POLL",
|
114
114
|
"CIVIC_PROPOSAL_COVER_VIDEO",
|
115
115
|
"HEURISTIC_CLUSTER_VIDEO",
|
116
|
+
"DCO_AUTOGEN_VIDEO",
|
116
117
|
]
|
117
118
|
|
118
119
|
CONTENT_CATEGORY = [
|
@@ -205,10 +206,10 @@ module FacebookAds
|
|
205
206
|
field :length, 'double'
|
206
207
|
field :live_audience_count, 'int'
|
207
208
|
field :live_status, 'string'
|
208
|
-
field :name, 'string'
|
209
209
|
field :permalink_url, 'string'
|
210
210
|
field :picture, 'string'
|
211
211
|
field :place, 'Place'
|
212
|
+
field :premiere_living_room_status, 'string'
|
212
213
|
field :privacy, 'Privacy'
|
213
214
|
field :published, 'bool'
|
214
215
|
field :scheduled_publish_time, 'datetime'
|
@@ -284,6 +285,7 @@ module FacebookAds
|
|
284
285
|
field :referenced_sticker_id, 'string'
|
285
286
|
field :replace_video_id, 'string'
|
286
287
|
field :swap_mode, { enum: -> { SWAP_MODE }}
|
288
|
+
field :name, 'string'
|
287
289
|
field :chunk_session_id, 'string'
|
288
290
|
|
289
291
|
has_edge :auto_generated_captions do |edge|
|
@@ -150,18 +150,16 @@ module FacebookAds
|
|
150
150
|
field :campaign_name, 'string'
|
151
151
|
field :canvas_avg_view_percent, 'string'
|
152
152
|
field :canvas_avg_view_time, 'string'
|
153
|
-
field :canvas_component_avg_pct_view, { list: 'AdsActionStats' }
|
154
153
|
field :clicks, 'string'
|
154
|
+
field :conversion_values, { list: 'AdsActionStats' }
|
155
|
+
field :conversions, { list: 'AdsActionStats' }
|
155
156
|
field :cost_per_10_sec_video_view, { list: 'AdsActionStats' }
|
156
157
|
field :cost_per_15_sec_video_view, { list: 'AdsActionStats' }
|
157
158
|
field :cost_per_2_sec_continuous_video_view, { list: 'AdsActionStats' }
|
158
159
|
field :cost_per_action_type, { list: 'AdsActionStats' }
|
159
160
|
field :cost_per_ad_click, { list: 'AdsActionStats' }
|
161
|
+
field :cost_per_conversion, { list: 'AdsActionStats' }
|
160
162
|
field :cost_per_dda_countby_convs, 'string'
|
161
|
-
field :cost_per_dwell, 'string'
|
162
|
-
field :cost_per_dwell_3_sec, 'string'
|
163
|
-
field :cost_per_dwell_5_sec, 'string'
|
164
|
-
field :cost_per_dwell_7_sec, 'string'
|
165
163
|
field :cost_per_estimated_ad_recallers, 'string'
|
166
164
|
field :cost_per_inline_link_click, 'string'
|
167
165
|
field :cost_per_inline_post_engagement, 'string'
|
@@ -170,6 +168,7 @@ module FacebookAds
|
|
170
168
|
field :cost_per_thruplay, { list: 'AdsActionStats' }
|
171
169
|
field :cost_per_unique_action_type, { list: 'AdsActionStats' }
|
172
170
|
field :cost_per_unique_click, 'string'
|
171
|
+
field :cost_per_unique_conversion, { list: 'AdsActionStats' }
|
173
172
|
field :cost_per_unique_inline_link_click, 'string'
|
174
173
|
field :cost_per_unique_outbound_click, { list: 'AdsActionStats' }
|
175
174
|
field :country, 'string'
|
@@ -185,10 +184,6 @@ module FacebookAds
|
|
185
184
|
field :description_asset, 'object'
|
186
185
|
field :device_platform, 'string'
|
187
186
|
field :dma, 'string'
|
188
|
-
field :dwell_3_sec, 'string'
|
189
|
-
field :dwell_5_sec, 'string'
|
190
|
-
field :dwell_7_sec, 'string'
|
191
|
-
field :dwell_rate, 'string'
|
192
187
|
field :estimated_ad_recall_rate, 'string'
|
193
188
|
field :estimated_ad_recall_rate_lower_bound, 'string'
|
194
189
|
field :estimated_ad_recall_rate_upper_bound, 'string'
|
@@ -223,6 +218,7 @@ module FacebookAds
|
|
223
218
|
field :product_format, 'string'
|
224
219
|
field :product_id, 'string'
|
225
220
|
field :publisher_platform, 'string'
|
221
|
+
field :purchase_roas, { list: 'AdsActionStats' }
|
226
222
|
field :purchasing_interface, 'string'
|
227
223
|
field :reach, 'string'
|
228
224
|
field :region, 'string'
|
@@ -230,10 +226,10 @@ module FacebookAds
|
|
230
226
|
field :rule_asset, 'object'
|
231
227
|
field :social_spend, 'string'
|
232
228
|
field :spend, 'string'
|
233
|
-
field :thumb_stops, 'string'
|
234
229
|
field :title_asset, 'object'
|
235
230
|
field :unique_actions, { list: 'AdsActionStats' }
|
236
231
|
field :unique_clicks, 'string'
|
232
|
+
field :unique_conversions, { list: 'AdsActionStats' }
|
237
233
|
field :unique_ctr, 'string'
|
238
234
|
field :unique_inline_link_click_ctr, 'string'
|
239
235
|
field :unique_inline_link_clicks, 'string'
|