facebookbusiness 0.15.0.1 → 0.15.0.2
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_account.rb +5 -0
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_account_default_objective.rb +16 -10
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +6 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +2 -1
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_creative_degrees_of_freedom_spec.rb +44 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_set.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_study_cell.rb +1 -0
- data/lib/facebook_ads/ad_objects/application.rb +11 -57
- data/lib/facebook_ads/ad_objects/automotive_model.rb +6 -0
- data/lib/facebook_ads/ad_objects/business.rb +11 -8
- data/lib/facebook_ads/ad_objects/business_asset_group.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_asset_sharing_agreement.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_user.rb +3 -1
- data/lib/facebook_ads/ad_objects/campaign.rb +6 -1
- data/lib/facebook_ads/ad_objects/catalog_segment_all_match_count_laser.rb +42 -0
- data/lib/facebook_ads/ad_objects/collaborative_ads_share_settings.rb +1 -0
- data/lib/facebook_ads/ad_objects/{whats_app_business_pre_verified_phone_number.rb → commerce_merchant_tos_acceptance.rb} +2 -3
- data/lib/facebook_ads/ad_objects/cpas_business_setup_config.rb +1 -0
- data/lib/facebook_ads/ad_objects/destination.rb +6 -0
- data/lib/facebook_ads/ad_objects/extended_credit_invoice_group.rb +1 -0
- data/lib/facebook_ads/ad_objects/flight.rb +6 -0
- data/lib/facebook_ads/ad_objects/group.rb +0 -2
- data/lib/facebook_ads/ad_objects/home_listing.rb +6 -0
- data/lib/facebook_ads/ad_objects/hotel.rb +6 -0
- data/lib/facebook_ads/ad_objects/hotel_room.rb +1 -0
- data/lib/facebook_ads/ad_objects/ig_media.rb +1 -0
- data/lib/facebook_ads/ad_objects/ig_user.rb +4 -0
- data/lib/facebook_ads/ad_objects/image_copyright.rb +1 -0
- data/lib/facebook_ads/ad_objects/insights_result.rb +1 -0
- data/lib/facebook_ads/ad_objects/instagram_insights_result.rb +24 -0
- data/lib/facebook_ads/ad_objects/instant_article_insights_query_result.rb +1 -0
- data/lib/facebook_ads/ad_objects/jobs_job.rb +6 -0
- data/lib/facebook_ads/ad_objects/leadgen_form.rb +1 -0
- data/lib/facebook_ads/ad_objects/local_service_business.rb +6 -0
- data/lib/facebook_ads/ad_objects/media_title.rb +6 -0
- data/lib/facebook_ads/ad_objects/page.rb +5 -16
- data/lib/facebook_ads/ad_objects/page_upcoming_change.rb +1 -0
- data/lib/facebook_ads/ad_objects/private_lift_study_instance.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_catalog.rb +9 -3
- data/lib/facebook_ads/ad_objects/product_item_ar_data.rb +1 -0
- data/lib/facebook_ads/ad_objects/{copyright_audio_asset.rb → shop_order.rb} +1 -4
- data/lib/facebook_ads/ad_objects/store_catalog_settings.rb +1 -0
- data/lib/facebook_ads/ad_objects/system_user.rb +3 -1
- data/lib/facebook_ads/ad_objects/targeting.rb +1 -0
- data/lib/facebook_ads/ad_objects/targeting_relaxation.rb +1 -0
- data/lib/facebook_ads/ad_objects/unified_thread.rb +1 -1
- data/lib/facebook_ads/ad_objects/user.rb +9 -2
- data/lib/facebook_ads/ad_objects/vehicle.rb +6 -0
- data/lib/facebook_ads/ad_objects/vehicle_offer.rb +6 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +14 -1
- data/lib/facebook_ads/version.rb +1 -1
- metadata +6 -5
- data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +0 -185
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 682be241264d4bfdfe536f57817964f9bf01077e446b85d1240c224036cfc5d4
|
|
4
|
+
data.tar.gz: 87bfe3812712820d50f68f399210bf11d9056a9ee0cabb96b0eae84da3b7728f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecef88b246cd6eea373b1cdd272a7602a88bc22d133c561c11d628679523ff8e5317b3a26ef4f2b201626085417b7b1f2c00175da3306b7f6fab8ea7f1dfb938
|
|
7
|
+
data.tar.gz: '091c53d78cae3c71dc806bb87ccbc34cd50769b908a41547ebbfb18e92474fd4f7a97d5b03ee6ba4a136334ca95b82f14d037e5fc3f57aac81d7d98b9b177251'
|
|
@@ -270,6 +270,7 @@ module FacebookAds
|
|
|
270
270
|
api.has_param :call_to_action, 'object'
|
|
271
271
|
api.has_param :categorization_criteria, { enum: -> { AdCreative::CATEGORIZATION_CRITERIA }}
|
|
272
272
|
api.has_param :category_media_source, { enum: -> { AdCreative::CATEGORY_MEDIA_SOURCE }}
|
|
273
|
+
api.has_param :degrees_of_freedom_spec, 'hash'
|
|
273
274
|
api.has_param :destination_set_id, 'string'
|
|
274
275
|
api.has_param :dynamic_ad_voice, { enum: -> { AdCreative::DYNAMIC_AD_VOICE }}
|
|
275
276
|
api.has_param :enable_launch_instant_app, 'bool'
|
|
@@ -412,6 +413,10 @@ module FacebookAds
|
|
|
412
413
|
end
|
|
413
414
|
end
|
|
414
415
|
|
|
416
|
+
has_edge :ads_reporting_mmm_schedulers do |edge|
|
|
417
|
+
edge.get
|
|
418
|
+
end
|
|
419
|
+
|
|
415
420
|
has_edge :ads_volume do |edge|
|
|
416
421
|
edge.get 'AdAccountAdVolume' do |api|
|
|
417
422
|
api.has_param :page_id, 'int'
|
|
@@ -37,6 +37,9 @@ module FacebookAds
|
|
|
37
37
|
"AUTOFLOW_OPT_IN",
|
|
38
38
|
"AUTOMATIC_PLACEMENTS",
|
|
39
39
|
"CAPI",
|
|
40
|
+
"COST_GOAL",
|
|
41
|
+
"COST_GOAL_BUDGET_LIMITED",
|
|
42
|
+
"COST_GOAL_CPA_LIMITED",
|
|
40
43
|
"CREATIVE_BADGE",
|
|
41
44
|
"CREATIVE_FATIGUE",
|
|
42
45
|
"CREATIVE_LIMITED",
|
|
@@ -49,6 +52,7 @@ module FacebookAds
|
|
|
49
52
|
"MUSIC",
|
|
50
53
|
"PREDICTIVE_CREATIVE_LIMITED",
|
|
51
54
|
"REVERT",
|
|
55
|
+
"SIGNALS_GROWTH_CAPI",
|
|
52
56
|
"SYD_TEST_MODE",
|
|
53
57
|
"TOP_ADSETS_WITH_ADS_UNDER_CAP",
|
|
54
58
|
"TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP",
|
|
@@ -29,20 +29,23 @@ module FacebookAds
|
|
|
29
29
|
DEFAULT_OBJECTIVE_FOR_USER = [
|
|
30
30
|
"APP_INSTALLS",
|
|
31
31
|
"BRAND_AWARENESS",
|
|
32
|
-
"CANVAS_APP_ENGAGEMENT",
|
|
33
|
-
"CANVAS_APP_INSTALLS",
|
|
34
32
|
"EVENT_RESPONSES",
|
|
35
33
|
"LEAD_GENERATION",
|
|
36
34
|
"LINK_CLICKS",
|
|
37
35
|
"LOCAL_AWARENESS",
|
|
38
36
|
"MESSAGES",
|
|
39
|
-
"MOBILE_APP_ENGAGEMENT",
|
|
40
|
-
"MOBILE_APP_INSTALLS",
|
|
41
|
-
"NONE",
|
|
42
37
|
"OFFER_CLAIMS",
|
|
38
|
+
"OUTCOME_APP_PROMOTION",
|
|
39
|
+
"OUTCOME_AWARENESS",
|
|
40
|
+
"OUTCOME_ENGAGEMENT",
|
|
41
|
+
"OUTCOME_LEADS",
|
|
42
|
+
"OUTCOME_SALES",
|
|
43
|
+
"OUTCOME_TRAFFIC",
|
|
43
44
|
"PAGE_LIKES",
|
|
44
45
|
"POST_ENGAGEMENT",
|
|
45
46
|
"PRODUCT_CATALOG_SALES",
|
|
47
|
+
"REACH",
|
|
48
|
+
"STORE_VISITS",
|
|
46
49
|
"VIDEO_VIEWS",
|
|
47
50
|
"WEBSITE_CONVERSIONS",
|
|
48
51
|
]
|
|
@@ -50,20 +53,23 @@ module FacebookAds
|
|
|
50
53
|
OBJECTIVE_FOR_LEVEL = [
|
|
51
54
|
"APP_INSTALLS",
|
|
52
55
|
"BRAND_AWARENESS",
|
|
53
|
-
"CANVAS_APP_ENGAGEMENT",
|
|
54
|
-
"CANVAS_APP_INSTALLS",
|
|
55
56
|
"EVENT_RESPONSES",
|
|
56
57
|
"LEAD_GENERATION",
|
|
57
58
|
"LINK_CLICKS",
|
|
58
59
|
"LOCAL_AWARENESS",
|
|
59
60
|
"MESSAGES",
|
|
60
|
-
"MOBILE_APP_ENGAGEMENT",
|
|
61
|
-
"MOBILE_APP_INSTALLS",
|
|
62
|
-
"NONE",
|
|
63
61
|
"OFFER_CLAIMS",
|
|
62
|
+
"OUTCOME_APP_PROMOTION",
|
|
63
|
+
"OUTCOME_AWARENESS",
|
|
64
|
+
"OUTCOME_ENGAGEMENT",
|
|
65
|
+
"OUTCOME_LEADS",
|
|
66
|
+
"OUTCOME_SALES",
|
|
67
|
+
"OUTCOME_TRAFFIC",
|
|
64
68
|
"PAGE_LIKES",
|
|
65
69
|
"POST_ENGAGEMENT",
|
|
66
70
|
"PRODUCT_CATALOG_SALES",
|
|
71
|
+
"REACH",
|
|
72
|
+
"STORE_VISITS",
|
|
67
73
|
"VIDEO_VIEWS",
|
|
68
74
|
"WEBSITE_CONVERSIONS",
|
|
69
75
|
]
|
|
@@ -225,6 +225,12 @@ module FacebookAds
|
|
|
225
225
|
"LOCAL_AWARENESS",
|
|
226
226
|
"MESSAGES",
|
|
227
227
|
"OFFER_CLAIMS",
|
|
228
|
+
"OUTCOME_APP_PROMOTION",
|
|
229
|
+
"OUTCOME_AWARENESS",
|
|
230
|
+
"OUTCOME_ENGAGEMENT",
|
|
231
|
+
"OUTCOME_LEADS",
|
|
232
|
+
"OUTCOME_SALES",
|
|
233
|
+
"OUTCOME_TRAFFIC",
|
|
228
234
|
"PAGE_LIKES",
|
|
229
235
|
"POST_ENGAGEMENT",
|
|
230
236
|
"PRODUCT_CATALOG_SALES",
|
|
@@ -29,6 +29,7 @@ module FacebookAds
|
|
|
29
29
|
CALL_TO_ACTION_TYPES = [
|
|
30
30
|
"ADD_TO_CART",
|
|
31
31
|
"APPLY_NOW",
|
|
32
|
+
"AUDIO_CALL",
|
|
32
33
|
"BOOK_TRAVEL",
|
|
33
34
|
"BUY",
|
|
34
35
|
"BUY_NOW",
|
|
@@ -79,6 +80,7 @@ module FacebookAds
|
|
|
79
80
|
"SELL_NOW",
|
|
80
81
|
"SEND_A_GIFT",
|
|
81
82
|
"SEND_GIFT_MONEY",
|
|
83
|
+
"SEND_UPDATES",
|
|
82
84
|
"SHARE",
|
|
83
85
|
"SHOP_NOW",
|
|
84
86
|
"SIGN_UP",
|
|
@@ -115,7 +117,6 @@ module FacebookAds
|
|
|
115
117
|
field :images, { list: 'AdAssetFeedSpecImage' }
|
|
116
118
|
field :link_urls, { list: 'AdAssetFeedSpecLinkUrl' }
|
|
117
119
|
field :optimization_type, 'string'
|
|
118
|
-
field :posts, { list: 'object' }
|
|
119
120
|
field :titles, { list: 'AdAssetFeedSpecTitle' }
|
|
120
121
|
field :videos, { list: 'AdAssetFeedSpecVideo' }
|
|
121
122
|
has_no_id
|
|
@@ -29,6 +29,7 @@ module FacebookAds
|
|
|
29
29
|
CALL_TO_ACTION_TYPE = [
|
|
30
30
|
"ADD_TO_CART",
|
|
31
31
|
"APPLY_NOW",
|
|
32
|
+
"AUDIO_CALL",
|
|
32
33
|
"BOOK_TRAVEL",
|
|
33
34
|
"BUY",
|
|
34
35
|
"BUY_NOW",
|
|
@@ -79,6 +80,7 @@ module FacebookAds
|
|
|
79
80
|
"SELL_NOW",
|
|
80
81
|
"SEND_A_GIFT",
|
|
81
82
|
"SEND_GIFT_MONEY",
|
|
83
|
+
"SEND_UPDATES",
|
|
82
84
|
"SHARE",
|
|
83
85
|
"SHOP_NOW",
|
|
84
86
|
"SIGN_UP",
|
|
@@ -172,6 +174,7 @@ module FacebookAds
|
|
|
172
174
|
field :categorization_criteria, 'string'
|
|
173
175
|
field :category_media_source, 'string'
|
|
174
176
|
field :collaborative_ads_lsb_image_bank_id, 'string'
|
|
177
|
+
field :degrees_of_freedom_spec, 'AdCreativeDegreesOfFreedomSpec'
|
|
175
178
|
field :destination_set_id, 'string'
|
|
176
179
|
field :dynamic_ad_voice, 'string'
|
|
177
180
|
field :effective_authorization_category, 'string'
|
|
@@ -0,0 +1,44 @@
|
|
|
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 :ad_handle_type, 'string'
|
|
31
|
+
field :creative_features_spec, 'object'
|
|
32
|
+
field :degrees_of_freedom_type, 'string'
|
|
33
|
+
field :image_transformation_types, { list: 'string' }
|
|
34
|
+
field :multi_media_transformation_type, 'string'
|
|
35
|
+
field :stories_transformation_types, { list: 'string' }
|
|
36
|
+
field :text_transformation_types, { list: 'string' }
|
|
37
|
+
field :video_transformation_types, { list: 'string' }
|
|
38
|
+
has_no_id
|
|
39
|
+
has_no_get
|
|
40
|
+
has_no_post
|
|
41
|
+
has_no_delete
|
|
42
|
+
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -29,6 +29,7 @@ module FacebookAds
|
|
|
29
29
|
TYPE = [
|
|
30
30
|
"ADD_TO_CART",
|
|
31
31
|
"APPLY_NOW",
|
|
32
|
+
"AUDIO_CALL",
|
|
32
33
|
"BOOK_TRAVEL",
|
|
33
34
|
"BUY",
|
|
34
35
|
"BUY_NOW",
|
|
@@ -79,6 +80,7 @@ module FacebookAds
|
|
|
79
80
|
"SELL_NOW",
|
|
80
81
|
"SEND_A_GIFT",
|
|
81
82
|
"SEND_GIFT_MONEY",
|
|
83
|
+
"SEND_UPDATES",
|
|
82
84
|
"SHARE",
|
|
83
85
|
"SHOP_NOW",
|
|
84
86
|
"SIGN_UP",
|
|
@@ -77,17 +77,6 @@ module FacebookAds
|
|
|
77
77
|
"EYMT",
|
|
78
78
|
]
|
|
79
79
|
|
|
80
|
-
SCORE_TYPE = [
|
|
81
|
-
"CUSTOM",
|
|
82
|
-
"NUMERIC",
|
|
83
|
-
"TIME",
|
|
84
|
-
]
|
|
85
|
-
|
|
86
|
-
SORT_ORDER = [
|
|
87
|
-
"HIGHER_IS_BETTER",
|
|
88
|
-
"LOWER_IS_BETTER",
|
|
89
|
-
]
|
|
90
|
-
|
|
91
80
|
LOGGING_SOURCE = [
|
|
92
81
|
"MESSENGER_BOT",
|
|
93
82
|
]
|
|
@@ -160,7 +149,6 @@ module FacebookAds
|
|
|
160
149
|
field :latest_sdk_version, 'object'
|
|
161
150
|
field :link, 'string'
|
|
162
151
|
field :logging_token, 'string'
|
|
163
|
-
field :login_secret, 'string'
|
|
164
152
|
field :logo_url, 'string'
|
|
165
153
|
field :migrations, 'hash'
|
|
166
154
|
field :mobile_profile_section_url, 'string'
|
|
@@ -305,6 +293,13 @@ module FacebookAds
|
|
|
305
293
|
end
|
|
306
294
|
end
|
|
307
295
|
|
|
296
|
+
has_edge :aem_attribution do |edge|
|
|
297
|
+
edge.get do |api|
|
|
298
|
+
api.has_param :advertiser_ids, { list: 'string' }
|
|
299
|
+
api.has_param :fb_content_data, 'string'
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
|
|
308
303
|
has_edge :aem_conversion_configs do |edge|
|
|
309
304
|
edge.get do |api|
|
|
310
305
|
api.has_param :advertiser_ids, { list: 'string' }
|
|
@@ -350,6 +345,10 @@ module FacebookAds
|
|
|
350
345
|
edge.get
|
|
351
346
|
end
|
|
352
347
|
|
|
348
|
+
has_edge :app_capi_settings do |edge|
|
|
349
|
+
edge.get
|
|
350
|
+
end
|
|
351
|
+
|
|
353
352
|
has_edge :app_event_types do |edge|
|
|
354
353
|
edge.get
|
|
355
354
|
end
|
|
@@ -404,12 +403,6 @@ module FacebookAds
|
|
|
404
403
|
end
|
|
405
404
|
end
|
|
406
405
|
|
|
407
|
-
has_edge :banned do |edge|
|
|
408
|
-
edge.delete do |api|
|
|
409
|
-
api.has_param :uids, { list: 'int' }
|
|
410
|
-
end
|
|
411
|
-
end
|
|
412
|
-
|
|
413
406
|
has_edge :button_auto_detection_device_selection do |edge|
|
|
414
407
|
edge.get do |api|
|
|
415
408
|
api.has_param :device_id, 'string'
|
|
@@ -445,44 +438,12 @@ module FacebookAds
|
|
|
445
438
|
|
|
446
439
|
has_edge :insights_push_schedule do |edge|
|
|
447
440
|
edge.get
|
|
448
|
-
edge.post do |api|
|
|
449
|
-
api.has_param :ad_account_ids, { list: 'string' }
|
|
450
|
-
api.has_param :breakdowns, { list: 'string' }
|
|
451
|
-
api.has_param :date_preset, 'string'
|
|
452
|
-
api.has_param :level, { enum: %w{ACCOUNT AD ADSET CAMPAIGN }}
|
|
453
|
-
api.has_param :metrics, { list: 'string' }
|
|
454
|
-
api.has_param :object_id, 'string'
|
|
455
|
-
api.has_param :owner_id, 'int'
|
|
456
|
-
api.has_param :schedule, { enum: %w{DAILY FINE_15_MIN FINE_5_MIN MONTHLY WEEKLY }}
|
|
457
|
-
api.has_param :status, { enum: %w{ACTIVE DISABLED ERROR }}
|
|
458
|
-
api.has_param :time_increment, 'int'
|
|
459
|
-
api.has_param :time_start, 'datetime'
|
|
460
|
-
api.has_param :time_stop, 'datetime'
|
|
461
|
-
end
|
|
462
441
|
end
|
|
463
442
|
|
|
464
443
|
has_edge :ios_dialog_configs do |edge|
|
|
465
444
|
edge.get
|
|
466
445
|
end
|
|
467
446
|
|
|
468
|
-
has_edge :leaderboards_create do |edge|
|
|
469
|
-
edge.post 'Application' do |api|
|
|
470
|
-
api.has_param :context_id, 'string'
|
|
471
|
-
api.has_param :decimal_offset, 'int'
|
|
472
|
-
api.has_param :name, 'string'
|
|
473
|
-
api.has_param :score_type, { enum: -> { Application::SCORE_TYPE }}
|
|
474
|
-
api.has_param :sort_order, { enum: -> { Application::SORT_ORDER }}
|
|
475
|
-
api.has_param :unit, 'string'
|
|
476
|
-
end
|
|
477
|
-
end
|
|
478
|
-
|
|
479
|
-
has_edge :leaderboards_delete_entry do |edge|
|
|
480
|
-
edge.post 'Application' do |api|
|
|
481
|
-
api.has_param :name, 'string'
|
|
482
|
-
api.has_param :player_id, 'string'
|
|
483
|
-
end
|
|
484
|
-
end
|
|
485
|
-
|
|
486
447
|
has_edge :mmp_auditing do |edge|
|
|
487
448
|
edge.post do |api|
|
|
488
449
|
api.has_param :advertiser_id, 'string'
|
|
@@ -613,12 +574,5 @@ module FacebookAds
|
|
|
613
574
|
end
|
|
614
575
|
end
|
|
615
576
|
|
|
616
|
-
has_edge :user_properties do |edge|
|
|
617
|
-
edge.post do |api|
|
|
618
|
-
api.has_param :data, { list: 'object' }
|
|
619
|
-
api.has_param :limited_data_use, 'bool'
|
|
620
|
-
end
|
|
621
|
-
end
|
|
622
|
-
|
|
623
577
|
end
|
|
624
578
|
end
|
|
@@ -35,6 +35,11 @@ module FacebookAds
|
|
|
35
35
|
"PARTIAL_FETCH",
|
|
36
36
|
]
|
|
37
37
|
|
|
38
|
+
VISIBILITY = [
|
|
39
|
+
"PUBLISHED",
|
|
40
|
+
"STAGING",
|
|
41
|
+
]
|
|
42
|
+
|
|
38
43
|
|
|
39
44
|
field :applinks, 'CatalogItemAppLinks'
|
|
40
45
|
field :automotive_model_id, 'string'
|
|
@@ -64,6 +69,7 @@ module FacebookAds
|
|
|
64
69
|
field :trim, 'string'
|
|
65
70
|
field :unit_price, 'object'
|
|
66
71
|
field :url, 'string'
|
|
72
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
|
67
73
|
field :year, 'int'
|
|
68
74
|
has_no_post
|
|
69
75
|
has_no_delete
|
|
@@ -76,6 +76,7 @@ module FacebookAds
|
|
|
76
76
|
"PROFILE_PLUS_FACEBOOK_ACCESS",
|
|
77
77
|
"PROFILE_PLUS_FULL_CONTROL",
|
|
78
78
|
"PROFILE_PLUS_MANAGE",
|
|
79
|
+
"PROFILE_PLUS_MANAGE_LEADS",
|
|
79
80
|
"PROFILE_PLUS_MESSAGING",
|
|
80
81
|
"PROFILE_PLUS_MODERATE",
|
|
81
82
|
"PROFILE_PLUS_MODERATE_DELEGATE_COMMUNITY",
|
|
@@ -110,6 +111,7 @@ module FacebookAds
|
|
|
110
111
|
"PROFILE_PLUS_FACEBOOK_ACCESS",
|
|
111
112
|
"PROFILE_PLUS_FULL_CONTROL",
|
|
112
113
|
"PROFILE_PLUS_MANAGE",
|
|
114
|
+
"PROFILE_PLUS_MANAGE_LEADS",
|
|
113
115
|
"PROFILE_PLUS_MESSAGING",
|
|
114
116
|
"PROFILE_PLUS_MODERATE",
|
|
115
117
|
"PROFILE_PLUS_MODERATE_DELEGATE_COMMUNITY",
|
|
@@ -236,6 +238,10 @@ module FacebookAds
|
|
|
236
238
|
end
|
|
237
239
|
end
|
|
238
240
|
|
|
241
|
+
has_edge :ads_reporting_mmm_schedulers do |edge|
|
|
242
|
+
edge.get
|
|
243
|
+
end
|
|
244
|
+
|
|
239
245
|
has_edge :adspixels do |edge|
|
|
240
246
|
edge.get 'AdsPixel' do |api|
|
|
241
247
|
api.has_param :id_filter, 'string'
|
|
@@ -494,14 +500,6 @@ module FacebookAds
|
|
|
494
500
|
end
|
|
495
501
|
end
|
|
496
502
|
|
|
497
|
-
has_edge :managed_partner_child_business_assets do |edge|
|
|
498
|
-
edge.post 'Business' do |api|
|
|
499
|
-
api.has_param :child_business_id, 'string'
|
|
500
|
-
api.has_param :credit_limit, 'int'
|
|
501
|
-
api.has_param :line_of_credit_id, 'string'
|
|
502
|
-
end
|
|
503
|
-
end
|
|
504
|
-
|
|
505
503
|
has_edge :negative_keyword_lists do |edge|
|
|
506
504
|
edge.get
|
|
507
505
|
end
|
|
@@ -606,6 +604,7 @@ module FacebookAds
|
|
|
606
604
|
api.has_param :catalog_segment_id, 'string'
|
|
607
605
|
api.has_param :enable_basket_insight, 'bool'
|
|
608
606
|
api.has_param :enable_extended_audience_retargeting, 'bool'
|
|
607
|
+
api.has_param :partner_business_id, 'string'
|
|
609
608
|
api.has_param :retailer_custom_audience_config, 'hash'
|
|
610
609
|
api.has_param :vendor_id, 'string'
|
|
611
610
|
end
|
|
@@ -671,5 +670,9 @@ module FacebookAds
|
|
|
671
670
|
end
|
|
672
671
|
end
|
|
673
672
|
|
|
673
|
+
has_edge :third_party_measurement_report_dataset do |edge|
|
|
674
|
+
edge.get
|
|
675
|
+
end
|
|
676
|
+
|
|
674
677
|
end
|
|
675
678
|
end
|
|
@@ -93,6 +93,12 @@ module FacebookAds
|
|
|
93
93
|
"LOCAL_AWARENESS",
|
|
94
94
|
"MESSAGES",
|
|
95
95
|
"OFFER_CLAIMS",
|
|
96
|
+
"OUTCOME_APP_PROMOTION",
|
|
97
|
+
"OUTCOME_AWARENESS",
|
|
98
|
+
"OUTCOME_ENGAGEMENT",
|
|
99
|
+
"OUTCOME_LEADS",
|
|
100
|
+
"OUTCOME_SALES",
|
|
101
|
+
"OUTCOME_TRAFFIC",
|
|
96
102
|
"PAGE_LIKES",
|
|
97
103
|
"POST_ENGAGEMENT",
|
|
98
104
|
"PRODUCT_CATALOG_SALES",
|
|
@@ -394,7 +400,6 @@ module FacebookAds
|
|
|
394
400
|
field :ad_strategy_group_id, 'string'
|
|
395
401
|
field :ad_strategy_id, 'string'
|
|
396
402
|
field :adlabels, { list: 'AdLabel' }
|
|
397
|
-
field :benchmark_report_count, 'int'
|
|
398
403
|
field :bid_strategy, { enum: -> { BID_STRATEGY }}
|
|
399
404
|
field :boosted_object_id, 'string'
|
|
400
405
|
field :brand_lift_studies, { list: 'AdStudy' }
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
|
4
|
+
# copy, modify, and distribute this software in source code or binary form for use
|
|
5
|
+
# in connection with the web services and APIs provided by Facebook.
|
|
6
|
+
#
|
|
7
|
+
# As with any software that integrates with the Facebook platform, your use of
|
|
8
|
+
# this software is subject to the Facebook Platform Policy
|
|
9
|
+
# [http://developers.facebook.com/policy/]. This copyright notice shall be
|
|
10
|
+
# included in all copies or substantial portions of the software.
|
|
11
|
+
#
|
|
12
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
14
|
+
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
15
|
+
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
16
|
+
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
17
|
+
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
+
|
|
19
|
+
# FB:AUTOGEN
|
|
20
|
+
|
|
21
|
+
module FacebookAds
|
|
22
|
+
# This class is auto-generated.
|
|
23
|
+
|
|
24
|
+
# For any issues or feature requests related to this class, please let us know
|
|
25
|
+
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
|
26
|
+
# pull request for this class.
|
|
27
|
+
|
|
28
|
+
class CatalogSegmentAllMatchCountLaser < AdObject
|
|
29
|
+
|
|
30
|
+
field :date_start, 'string'
|
|
31
|
+
field :date_stop, 'string'
|
|
32
|
+
field :event, 'string'
|
|
33
|
+
field :source, 'ExternalEventSource'
|
|
34
|
+
field :total_matched_content_ids, 'int'
|
|
35
|
+
field :unique_matched_content_ids, 'int'
|
|
36
|
+
has_no_id
|
|
37
|
+
has_no_get
|
|
38
|
+
has_no_post
|
|
39
|
+
has_no_delete
|
|
40
|
+
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -25,11 +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 CommerceMerchantTosAcceptance < AdObject
|
|
29
29
|
|
|
30
|
-
field :
|
|
30
|
+
field :business, 'Business'
|
|
31
31
|
field :id, 'string'
|
|
32
|
-
field :phone_number, 'string'
|
|
33
32
|
has_no_post
|
|
34
33
|
has_no_delete
|
|
35
34
|
|
|
@@ -35,6 +35,11 @@ module FacebookAds
|
|
|
35
35
|
"PARTIAL_FETCH",
|
|
36
36
|
]
|
|
37
37
|
|
|
38
|
+
VISIBILITY = [
|
|
39
|
+
"PUBLISHED",
|
|
40
|
+
"STAGING",
|
|
41
|
+
]
|
|
42
|
+
|
|
38
43
|
|
|
39
44
|
field :address, 'string'
|
|
40
45
|
field :applinks, 'CatalogItemAppLinks'
|
|
@@ -52,6 +57,7 @@ module FacebookAds
|
|
|
52
57
|
field :types, { list: 'string' }
|
|
53
58
|
field :unit_price, 'object'
|
|
54
59
|
field :url, 'string'
|
|
60
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
|
55
61
|
has_no_post
|
|
56
62
|
has_no_delete
|
|
57
63
|
|
|
@@ -35,6 +35,11 @@ module FacebookAds
|
|
|
35
35
|
"PARTIAL_FETCH",
|
|
36
36
|
]
|
|
37
37
|
|
|
38
|
+
VISIBILITY = [
|
|
39
|
+
"PUBLISHED",
|
|
40
|
+
"STAGING",
|
|
41
|
+
]
|
|
42
|
+
|
|
38
43
|
|
|
39
44
|
field :applinks, 'CatalogItemAppLinks'
|
|
40
45
|
field :category_specific_fields, 'CatalogSubVerticalList'
|
|
@@ -54,6 +59,7 @@ module FacebookAds
|
|
|
54
59
|
field :sanitized_images, { list: 'string' }
|
|
55
60
|
field :unit_price, 'object'
|
|
56
61
|
field :url, 'string'
|
|
62
|
+
field :visibility, { enum: -> { VISIBILITY }}
|
|
57
63
|
has_no_delete
|
|
58
64
|
|
|
59
65
|
has_edge :augmented_realities_metadata do |edge|
|
|
@@ -50,7 +50,6 @@ module FacebookAds
|
|
|
50
50
|
"LEARNING",
|
|
51
51
|
"NONE",
|
|
52
52
|
"PARENTING",
|
|
53
|
-
"REAL_WORLD_AT_WORK",
|
|
54
53
|
"STREAMER",
|
|
55
54
|
"WORK_ANNOUNCEMENT",
|
|
56
55
|
"WORK_DEMO_GROUP",
|
|
@@ -82,7 +81,6 @@ module FacebookAds
|
|
|
82
81
|
"LEARNING",
|
|
83
82
|
"NONE",
|
|
84
83
|
"PARENTING",
|
|
85
|
-
"REAL_WORLD_AT_WORK",
|
|
86
84
|
"STREAMER",
|
|
87
85
|
"WORK_ANNOUNCEMENT",
|
|
88
86
|
"WORK_DEMO_GROUP",
|