facebookbusiness 0.3.2.13 → 0.3.3.0
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 +7 -43
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data.rb +0 -2
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative_video_data.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_network_analytics_sync_query_result.rb +1 -0
- data/lib/facebook_ads/ad_objects/{product_catalog_user_permissions.rb → ad_placement.rb} +8 -12
- data/lib/facebook_ads/ad_objects/ad_set.rb +14 -0
- data/lib/facebook_ads/ad_objects/ad_study.rb +0 -20
- data/lib/facebook_ads/ad_objects/ad_video.rb +1 -0
- data/lib/facebook_ads/ad_objects/application.rb +23 -10
- data/lib/facebook_ads/ad_objects/business.rb +7 -13
- data/lib/facebook_ads/ad_objects/custom_audience.rb +4 -3
- data/lib/facebook_ads/ad_objects/group.rb +14 -14
- data/lib/facebook_ads/ad_objects/ig_user.rb +8 -8
- data/lib/facebook_ads/ad_objects/oracle_transaction.rb +5 -0
- data/lib/facebook_ads/ad_objects/owned_domain.rb +1 -6
- data/lib/facebook_ads/ad_objects/page.rb +11 -22
- data/lib/facebook_ads/ad_objects/page_post.rb +1 -8
- data/lib/facebook_ads/ad_objects/post.rb +1 -1
- data/lib/facebook_ads/ad_objects/product_catalog.rb +0 -23
- data/lib/facebook_ads/ad_objects/saved_audience.rb +0 -1
- data/lib/facebook_ads/ad_objects/targeting.rb +0 -1
- data/lib/facebook_ads/ad_objects/user.rb +16 -16
- data/lib/facebook_ads/ad_objects/{ad_account_contextual_targeting.rb → value_based_eligible_source.rb} +2 -7
- data/lib/facebook_ads/ad_objects/video_copyright.rb +1 -0
- data/lib/facebook_ads/version.rb +2 -2
- metadata +4 -8
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_custom_overlay_spec.rb +0 -103
- data/lib/facebook_ads/ad_objects/ad_creative_video_data_custom_overlay_spec.rb +0 -77
- data/lib/facebook_ads/ad_objects/ad_study_ads_asset_user_permissions.rb +0 -46
- data/lib/facebook_ads/ad_objects/business_credit_card_legacy.rb +0 -46
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26aeb5659b1d5f5af58d444b12e32d100da6712937c9066b303e1c75d7c96d94
|
|
4
|
+
data.tar.gz: 570cad5f55673e97b4fabbec4b58e865e635b2c76cb87c8e08e168d01f05867d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87bea5ab169c1f8e2ddc4435010fd8df59da191ef53e8c531a42049ee47dcc1286b30e0599e7fe1dad4f5e87b1f49c7162c83e864a0b17aeefaf5d27fb71f1d0
|
|
7
|
+
data.tar.gz: 0b3b57289c8c28416e260398e8d8b77054a9e877134aa6e297370b37b1d5b81851f41bf3175818de3ff2a11ea52f12aba2186c3eeef368646f63cd231ed885a2
|
|
@@ -130,6 +130,7 @@ module FacebookAds
|
|
|
130
130
|
"MEASUREMENT",
|
|
131
131
|
"OFFLINE_CONVERSION",
|
|
132
132
|
"PARTNER",
|
|
133
|
+
"REGULATED_CATEGORIES_AUDIENCE",
|
|
133
134
|
"STUDY_RULE_AUDIENCE",
|
|
134
135
|
"VIDEO",
|
|
135
136
|
"WEBSITE",
|
|
@@ -157,7 +158,6 @@ module FacebookAds
|
|
|
157
158
|
field :capabilities, { list: 'string' }
|
|
158
159
|
field :created_time, 'datetime'
|
|
159
160
|
field :currency, 'string'
|
|
160
|
-
field :direct_deals_tos_accepted, 'bool'
|
|
161
161
|
field :disable_reason, 'int'
|
|
162
162
|
field :end_advertiser, 'string'
|
|
163
163
|
field :end_advertiser_name, 'string'
|
|
@@ -248,7 +248,6 @@ module FacebookAds
|
|
|
248
248
|
api.has_param :category_media_source, { enum: -> { AdCreative::CATEGORY_MEDIA_SOURCE }}
|
|
249
249
|
api.has_param :destination_set_id, 'string'
|
|
250
250
|
api.has_param :dynamic_ad_voice, { enum: -> { AdCreative::DYNAMIC_AD_VOICE }}
|
|
251
|
-
api.has_param :enable_direct_install, 'bool'
|
|
252
251
|
api.has_param :enable_launch_instant_app, 'bool'
|
|
253
252
|
api.has_param :image_crops, 'hash'
|
|
254
253
|
api.has_param :image_file, 'string'
|
|
@@ -509,6 +508,7 @@ module FacebookAds
|
|
|
509
508
|
api.has_param :line_number, 'int'
|
|
510
509
|
api.has_param :name, 'string'
|
|
511
510
|
api.has_param :optimization_goal, { enum: -> { AdSet::OPTIMIZATION_GOAL }}
|
|
511
|
+
api.has_param :optimization_sub_event, { enum: -> { AdSet::OPTIMIZATION_SUB_EVENT }}
|
|
512
512
|
api.has_param :pacing_type, { list: 'string' }
|
|
513
513
|
api.has_param :promoted_object, 'object'
|
|
514
514
|
api.has_param :rb_prediction_id, 'string'
|
|
@@ -802,16 +802,6 @@ module FacebookAds
|
|
|
802
802
|
end
|
|
803
803
|
end
|
|
804
804
|
|
|
805
|
-
has_edge :contextual_targeting_browse do |edge|
|
|
806
|
-
edge.get 'AdAccountContextualTargeting'
|
|
807
|
-
end
|
|
808
|
-
|
|
809
|
-
has_edge :coupons do |edge|
|
|
810
|
-
edge.post 'AdAccount' do |api|
|
|
811
|
-
api.has_param :coupon_code, 'string'
|
|
812
|
-
end
|
|
813
|
-
end
|
|
814
|
-
|
|
815
805
|
has_edge :customaudiences do |edge|
|
|
816
806
|
edge.get 'CustomAudience' do |api|
|
|
817
807
|
api.has_param :business_id, 'string'
|
|
@@ -857,6 +847,7 @@ module FacebookAds
|
|
|
857
847
|
api.has_param :pixel_id, 'string'
|
|
858
848
|
api.has_param :prefill, 'bool'
|
|
859
849
|
api.has_param :product_set_id, 'string'
|
|
850
|
+
api.has_param :regulated_audience_spec, 'string'
|
|
860
851
|
api.has_param :retention_days, 'int'
|
|
861
852
|
api.has_param :rev_share_policy_id, 'int'
|
|
862
853
|
api.has_param :rule, 'string'
|
|
@@ -872,6 +863,10 @@ module FacebookAds
|
|
|
872
863
|
|
|
873
864
|
has_edge :customaudiencestos do |edge|
|
|
874
865
|
edge.get 'CustomAudiencesTos'
|
|
866
|
+
edge.post 'AdAccount' do |api|
|
|
867
|
+
api.has_param :business_id, 'string'
|
|
868
|
+
api.has_param :tos_id, 'string'
|
|
869
|
+
end
|
|
875
870
|
end
|
|
876
871
|
|
|
877
872
|
has_edge :customconversions do |edge|
|
|
@@ -905,16 +900,6 @@ module FacebookAds
|
|
|
905
900
|
end
|
|
906
901
|
end
|
|
907
902
|
|
|
908
|
-
has_edge :direct_deals do |edge|
|
|
909
|
-
edge.get 'DirectDeal' do |api|
|
|
910
|
-
api.has_param :status, { enum: -> { DirectDeal::STATUS }}
|
|
911
|
-
end
|
|
912
|
-
end
|
|
913
|
-
|
|
914
|
-
has_edge :direct_deals_tos do |edge|
|
|
915
|
-
edge.post 'AdAccount'
|
|
916
|
-
end
|
|
917
|
-
|
|
918
903
|
has_edge :emailimport do |edge|
|
|
919
904
|
edge.post do |api|
|
|
920
905
|
api.has_param :name, 'string'
|
|
@@ -1003,12 +988,6 @@ module FacebookAds
|
|
|
1003
988
|
end
|
|
1004
989
|
end
|
|
1005
990
|
|
|
1006
|
-
has_edge :locationclusters do |edge|
|
|
1007
|
-
edge.post 'AdAccount' do |api|
|
|
1008
|
-
api.has_param :locations, { list: 'string' }
|
|
1009
|
-
end
|
|
1010
|
-
end
|
|
1011
|
-
|
|
1012
991
|
has_edge :matched_search_applications do |edge|
|
|
1013
992
|
edge.get 'AdAccountMatchedSearchApplicationsEdgeData' do |api|
|
|
1014
993
|
api.has_param :allow_incomplete_app, 'bool'
|
|
@@ -1305,21 +1284,6 @@ module FacebookAds
|
|
|
1305
1284
|
end
|
|
1306
1285
|
end
|
|
1307
1286
|
|
|
1308
|
-
has_edge :usermatch do |edge|
|
|
1309
|
-
edge.delete do |api|
|
|
1310
|
-
api.has_param :bidirectional, 'bool'
|
|
1311
|
-
api.has_param :namespace, 'string'
|
|
1312
|
-
api.has_param :payload, 'object'
|
|
1313
|
-
end
|
|
1314
|
-
edge.post do |api|
|
|
1315
|
-
api.has_param :action, 'string'
|
|
1316
|
-
api.has_param :bidirectional, 'bool'
|
|
1317
|
-
api.has_param :namespace, 'string'
|
|
1318
|
-
api.has_param :payload, 'object'
|
|
1319
|
-
api.has_param :retention, 'string'
|
|
1320
|
-
end
|
|
1321
|
-
end
|
|
1322
|
-
|
|
1323
1287
|
has_edge :users do |edge|
|
|
1324
1288
|
edge.delete do |api|
|
|
1325
1289
|
api.has_param :uid, 'int'
|
|
@@ -42,6 +42,7 @@ module FacebookAds
|
|
|
42
42
|
"DOWNLOAD",
|
|
43
43
|
"EVENT_RSVP",
|
|
44
44
|
"FIND_A_GROUP",
|
|
45
|
+
"FIND_YOUR_GROUPS",
|
|
45
46
|
"FOLLOW_NEWS_STORYLINE",
|
|
46
47
|
"GET_DIRECTIONS",
|
|
47
48
|
"GET_OFFER",
|
|
@@ -68,6 +69,7 @@ module FacebookAds
|
|
|
68
69
|
"SHARE",
|
|
69
70
|
"SHOP_NOW",
|
|
70
71
|
"SIGN_UP",
|
|
72
|
+
"SOTTO_SUBSCRIBE",
|
|
71
73
|
"SUBSCRIBE",
|
|
72
74
|
"UPDATE_APP",
|
|
73
75
|
"USE_APP",
|
|
@@ -48,6 +48,7 @@ module FacebookAds
|
|
|
48
48
|
"DOWNLOAD",
|
|
49
49
|
"EVENT_RSVP",
|
|
50
50
|
"FIND_A_GROUP",
|
|
51
|
+
"FIND_YOUR_GROUPS",
|
|
51
52
|
"FOLLOW_NEWS_STORYLINE",
|
|
52
53
|
"GET_DIRECTIONS",
|
|
53
54
|
"GET_OFFER",
|
|
@@ -74,6 +75,7 @@ module FacebookAds
|
|
|
74
75
|
"SHARE",
|
|
75
76
|
"SHOP_NOW",
|
|
76
77
|
"SIGN_UP",
|
|
78
|
+
"SOTTO_SUBSCRIBE",
|
|
77
79
|
"SUBSCRIBE",
|
|
78
80
|
"UPDATE_APP",
|
|
79
81
|
"USE_APP",
|
|
@@ -49,7 +49,6 @@ module FacebookAds
|
|
|
49
49
|
field :caption, 'string'
|
|
50
50
|
field :child_attachments, { list: 'AdCreativeLinkDataChildAttachment' }
|
|
51
51
|
field :collection_thumbnails, { list: 'AdCreativeCollectionThumbnailInfo' }
|
|
52
|
-
field :custom_overlay_spec, 'AdCreativeLinkDataCustomOverlaySpec'
|
|
53
52
|
field :customization_rules_spec, { list: 'AdCustomizationRuleSpec' }
|
|
54
53
|
field :description, 'string'
|
|
55
54
|
field :event_id, 'string'
|
|
@@ -71,7 +70,6 @@ module FacebookAds
|
|
|
71
70
|
field :preferred_image_tags, { list: 'string' }
|
|
72
71
|
field :retailer_item_ids, { list: 'string' }
|
|
73
72
|
field :show_multiple_images, 'bool'
|
|
74
|
-
field :sponsorship_info, 'AdCreativeLinkDataSponsorshipInfoSpec'
|
|
75
73
|
field :static_fallback_spec, 'AdCreativeStaticFallbackSpec'
|
|
76
74
|
field :use_flexible_image_aspect_ratio, 'bool'
|
|
77
75
|
has_no_id
|
|
@@ -42,6 +42,7 @@ module FacebookAds
|
|
|
42
42
|
"DOWNLOAD",
|
|
43
43
|
"EVENT_RSVP",
|
|
44
44
|
"FIND_A_GROUP",
|
|
45
|
+
"FIND_YOUR_GROUPS",
|
|
45
46
|
"FOLLOW_NEWS_STORYLINE",
|
|
46
47
|
"GET_DIRECTIONS",
|
|
47
48
|
"GET_OFFER",
|
|
@@ -68,6 +69,7 @@ module FacebookAds
|
|
|
68
69
|
"SHARE",
|
|
69
70
|
"SHOP_NOW",
|
|
70
71
|
"SIGN_UP",
|
|
72
|
+
"SOTTO_SUBSCRIBE",
|
|
71
73
|
"SUBSCRIBE",
|
|
72
74
|
"UPDATE_APP",
|
|
73
75
|
"USE_APP",
|
|
@@ -33,7 +33,6 @@ module FacebookAds
|
|
|
33
33
|
field :branded_content_sponsor_relationship, 'string'
|
|
34
34
|
field :call_to_action, 'AdCreativeLinkDataCallToAction'
|
|
35
35
|
field :collection_thumbnails, { list: 'AdCreativeCollectionThumbnailInfo' }
|
|
36
|
-
field :custom_overlay_spec, { list: 'AdCreativeVideoDataCustomOverlaySpec' }
|
|
37
36
|
field :image_hash, 'string'
|
|
38
37
|
field :image_url, 'string'
|
|
39
38
|
field :link_description, 'string'
|
|
@@ -25,20 +25,16 @@ 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 AdPlacement < AdObject
|
|
29
29
|
|
|
30
|
-
field :
|
|
31
|
-
field :
|
|
32
|
-
field :
|
|
33
|
-
field :
|
|
34
|
-
field :
|
|
35
|
-
field :
|
|
30
|
+
field :bundle_id, 'string'
|
|
31
|
+
field :display_format, 'string'
|
|
32
|
+
field :external_placement_id, 'string'
|
|
33
|
+
field :google_display_format, 'string'
|
|
34
|
+
field :id, 'string'
|
|
35
|
+
field :name, 'string'
|
|
36
|
+
field :platform, 'string'
|
|
36
37
|
field :status, 'string'
|
|
37
|
-
field :updated_by, 'User'
|
|
38
|
-
field :updated_time, 'datetime'
|
|
39
|
-
field :user, 'User'
|
|
40
|
-
has_no_id
|
|
41
|
-
has_no_get
|
|
42
38
|
has_no_post
|
|
43
39
|
has_no_delete
|
|
44
40
|
|
|
@@ -142,6 +142,19 @@ module FacebookAds
|
|
|
142
142
|
"NONE_EXPLORATION",
|
|
143
143
|
]
|
|
144
144
|
|
|
145
|
+
OPTIMIZATION_SUB_EVENT = [
|
|
146
|
+
"NONE",
|
|
147
|
+
"TRAVEL_INTENT",
|
|
148
|
+
"TRAVEL_INTENT_BUCKET_01",
|
|
149
|
+
"TRAVEL_INTENT_BUCKET_02",
|
|
150
|
+
"TRAVEL_INTENT_BUCKET_03",
|
|
151
|
+
"TRAVEL_INTENT_BUCKET_04",
|
|
152
|
+
"TRAVEL_INTENT_BUCKET_05",
|
|
153
|
+
"TRAVEL_INTENT_NO_DESTINATION_INTENT",
|
|
154
|
+
"TRIP_CONSIDERATION",
|
|
155
|
+
"VIDEO_SOUND_ON",
|
|
156
|
+
]
|
|
157
|
+
|
|
145
158
|
OPERATOR = [
|
|
146
159
|
"ALL",
|
|
147
160
|
"ANY",
|
|
@@ -191,6 +204,7 @@ module FacebookAds
|
|
|
191
204
|
field :lifetime_spend_cap, 'string'
|
|
192
205
|
field :name, 'string'
|
|
193
206
|
field :optimization_goal, { enum: -> { OPTIMIZATION_GOAL }}
|
|
207
|
+
field :optimization_sub_event, 'string'
|
|
194
208
|
field :pacing_type, { list: 'string' }
|
|
195
209
|
field :promoted_object, 'AdPromotedObject'
|
|
196
210
|
field :recommendations, { list: 'AdRecommendation' }
|
|
@@ -31,11 +31,6 @@ module FacebookAds
|
|
|
31
31
|
"NOT_MOST_RESPONSIVE",
|
|
32
32
|
]
|
|
33
33
|
|
|
34
|
-
ROLE = [
|
|
35
|
-
"ADMIN",
|
|
36
|
-
"ANALYST",
|
|
37
|
-
]
|
|
38
|
-
|
|
39
34
|
TYPE = [
|
|
40
35
|
"CONTINUOUS_LIFT_CONFIG",
|
|
41
36
|
"LIFT",
|
|
@@ -97,21 +92,6 @@ module FacebookAds
|
|
|
97
92
|
end
|
|
98
93
|
end
|
|
99
94
|
|
|
100
|
-
has_edge :userpermissions do |edge|
|
|
101
|
-
edge.delete do |api|
|
|
102
|
-
api.has_param :business, 'string'
|
|
103
|
-
api.has_param :email, 'string'
|
|
104
|
-
api.has_param :user, 'int'
|
|
105
|
-
end
|
|
106
|
-
edge.get 'AdStudyAdsAssetUserPermissions'
|
|
107
|
-
edge.post 'AdStudy' do |api|
|
|
108
|
-
api.has_param :business, 'string'
|
|
109
|
-
api.has_param :email, 'string'
|
|
110
|
-
api.has_param :role, { enum: -> { AdStudy::ROLE }}
|
|
111
|
-
api.has_param :user, 'int'
|
|
112
|
-
end
|
|
113
|
-
end
|
|
114
|
-
|
|
115
95
|
has_edge :viewers do |edge|
|
|
116
96
|
edge.get 'User'
|
|
117
97
|
end
|
|
@@ -82,6 +82,16 @@ module FacebookAds
|
|
|
82
82
|
"LOWER_IS_BETTER",
|
|
83
83
|
]
|
|
84
84
|
|
|
85
|
+
LOGGING_SOURCE = [
|
|
86
|
+
"MESSENGER_BOT",
|
|
87
|
+
]
|
|
88
|
+
|
|
89
|
+
LOGGING_TARGET = [
|
|
90
|
+
"APP",
|
|
91
|
+
"APP_AND_PAGE",
|
|
92
|
+
"PAGE",
|
|
93
|
+
]
|
|
94
|
+
|
|
85
95
|
ROLE = [
|
|
86
96
|
"administrators",
|
|
87
97
|
"developers",
|
|
@@ -525,6 +535,7 @@ module FacebookAds
|
|
|
525
535
|
has_edge :mobile_sdk_gk do |edge|
|
|
526
536
|
edge.get do |api|
|
|
527
537
|
api.has_param :device_id, 'string'
|
|
538
|
+
api.has_param :extinfo, 'object'
|
|
528
539
|
api.has_param :platform, { enum: %w{ANDROID IOS }}
|
|
529
540
|
api.has_param :sdk_version, 'string'
|
|
530
541
|
end
|
|
@@ -566,22 +577,24 @@ module FacebookAds
|
|
|
566
577
|
end
|
|
567
578
|
end
|
|
568
579
|
|
|
569
|
-
has_edge :
|
|
570
|
-
edge.delete do |api|
|
|
571
|
-
api.has_param :currency_url, 'string'
|
|
572
|
-
end
|
|
580
|
+
has_edge :page_activities do |edge|
|
|
573
581
|
edge.post 'Application' do |api|
|
|
574
|
-
api.has_param :
|
|
582
|
+
api.has_param :advertiser_tracking_enabled, 'bool'
|
|
583
|
+
api.has_param :application_tracking_enabled, 'bool'
|
|
584
|
+
api.has_param :custom_events, { list: 'object' }
|
|
585
|
+
api.has_param :logging_source, { enum: -> { Application::LOGGING_SOURCE }}
|
|
586
|
+
api.has_param :logging_target, { enum: -> { Application::LOGGING_TARGET }}
|
|
587
|
+
api.has_param :page_id, 'int'
|
|
588
|
+
api.has_param :page_scoped_user_id, 'int'
|
|
575
589
|
end
|
|
576
590
|
end
|
|
577
591
|
|
|
578
|
-
has_edge :
|
|
592
|
+
has_edge :payment_currencies do |edge|
|
|
579
593
|
edge.delete do |api|
|
|
580
|
-
api.has_param :
|
|
594
|
+
api.has_param :currency_url, 'string'
|
|
581
595
|
end
|
|
582
|
-
edge.get 'User'
|
|
583
596
|
edge.post 'Application' do |api|
|
|
584
|
-
api.has_param :
|
|
597
|
+
api.has_param :currency_url, 'string'
|
|
585
598
|
end
|
|
586
599
|
end
|
|
587
600
|
|
|
@@ -681,7 +694,7 @@ module FacebookAds
|
|
|
681
694
|
end
|
|
682
695
|
end
|
|
683
696
|
|
|
684
|
-
has_edge :
|
|
697
|
+
has_edge :staging_resources do |edge|
|
|
685
698
|
edge.post 'Application' do |api|
|
|
686
699
|
api.has_param :file, 'file'
|
|
687
700
|
end
|
|
@@ -75,14 +75,6 @@ module FacebookAds
|
|
|
75
75
|
"PUBLISHER",
|
|
76
76
|
]
|
|
77
77
|
|
|
78
|
-
PAGE_PERMITTED_ROLES = [
|
|
79
|
-
"ADVERTISER",
|
|
80
|
-
"CONTENT_CREATOR",
|
|
81
|
-
"INSIGHTS_ANALYST",
|
|
82
|
-
"MANAGER",
|
|
83
|
-
"MODERATOR",
|
|
84
|
-
]
|
|
85
|
-
|
|
86
78
|
PAGE_PERMITTED_TASKS = [
|
|
87
79
|
"ADVERTISE",
|
|
88
80
|
"ANALYZE",
|
|
@@ -272,6 +264,10 @@ module FacebookAds
|
|
|
272
264
|
end
|
|
273
265
|
end
|
|
274
266
|
|
|
267
|
+
has_edge :an_placements do |edge|
|
|
268
|
+
edge.get 'AdPlacement'
|
|
269
|
+
end
|
|
270
|
+
|
|
275
271
|
has_edge :apps do |edge|
|
|
276
272
|
edge.delete do |api|
|
|
277
273
|
api.has_param :app_id, 'int'
|
|
@@ -291,7 +287,10 @@ module FacebookAds
|
|
|
291
287
|
has_edge :business_invoices do |edge|
|
|
292
288
|
edge.get 'OracleTransaction' do |api|
|
|
293
289
|
api.has_param :end_date, 'string'
|
|
290
|
+
api.has_param :issue_end_date, 'string'
|
|
291
|
+
api.has_param :issue_start_date, 'string'
|
|
294
292
|
api.has_param :start_date, 'string'
|
|
293
|
+
api.has_param :type, { enum: -> { OracleTransaction::TYPE }}
|
|
295
294
|
end
|
|
296
295
|
end
|
|
297
296
|
|
|
@@ -367,10 +366,6 @@ module FacebookAds
|
|
|
367
366
|
edge.get 'Business'
|
|
368
367
|
end
|
|
369
368
|
|
|
370
|
-
has_edge :creditcards do |edge|
|
|
371
|
-
edge.get 'BusinessCreditCardLegacy'
|
|
372
|
-
end
|
|
373
|
-
|
|
374
369
|
has_edge :customconversions do |edge|
|
|
375
370
|
edge.get 'CustomConversion' do |api|
|
|
376
371
|
api.has_param :include_archived, 'bool'
|
|
@@ -497,7 +492,6 @@ module FacebookAds
|
|
|
497
492
|
end
|
|
498
493
|
edge.post 'Business' do |api|
|
|
499
494
|
api.has_param :name, 'string'
|
|
500
|
-
api.has_param :page_permitted_roles, { list: { enum: -> { Business::PAGE_PERMITTED_ROLES }} }
|
|
501
495
|
api.has_param :page_permitted_tasks, { list: { enum: -> { Business::PAGE_PERMITTED_TASKS }} }
|
|
502
496
|
api.has_param :sales_rep_email, 'string'
|
|
503
497
|
api.has_param :shared_page_id, 'string'
|
|
@@ -68,6 +68,7 @@ module FacebookAds
|
|
|
68
68
|
"MEASUREMENT",
|
|
69
69
|
"OFFLINE_CONVERSION",
|
|
70
70
|
"PARTNER",
|
|
71
|
+
"REGULATED_CATEGORIES_AUDIENCE",
|
|
71
72
|
"STUDY_RULE_AUDIENCE",
|
|
72
73
|
"VIDEO",
|
|
73
74
|
"WEBSITE",
|
|
@@ -83,7 +84,6 @@ module FacebookAds
|
|
|
83
84
|
field :delivery_status, 'CustomAudienceStatus'
|
|
84
85
|
field :description, 'string'
|
|
85
86
|
field :excluded_custom_audiences, { list: 'CustomAudience' }
|
|
86
|
-
field :expiry_time, 'int'
|
|
87
87
|
field :external_event_source, 'AdsPixel'
|
|
88
88
|
field :household_audience, 'int'
|
|
89
89
|
field :id, 'string'
|
|
@@ -91,7 +91,6 @@ module FacebookAds
|
|
|
91
91
|
field :is_household, 'bool'
|
|
92
92
|
field :is_snapshot, 'bool'
|
|
93
93
|
field :is_value_based, 'bool'
|
|
94
|
-
field :list_of_accounts, { list: 'string' }
|
|
95
94
|
field :lookalike_audience_ids, { list: 'string' }
|
|
96
95
|
field :lookalike_spec, 'LookalikeSpec'
|
|
97
96
|
field :name, 'string'
|
|
@@ -99,6 +98,7 @@ module FacebookAds
|
|
|
99
98
|
field :opt_out_link, 'string'
|
|
100
99
|
field :permission_for_actions, 'AudiencePermissionForActions'
|
|
101
100
|
field :pixel_id, 'string'
|
|
101
|
+
field :regulated_audience_spec, 'LookalikeSpec'
|
|
102
102
|
field :retention_days, 'int'
|
|
103
103
|
field :rev_share_policy_id, 'int'
|
|
104
104
|
field :rule, 'string'
|
|
@@ -106,7 +106,6 @@ module FacebookAds
|
|
|
106
106
|
field :rule_v2, 'string'
|
|
107
107
|
field :seed_audience, 'int'
|
|
108
108
|
field :sharing_status, 'CustomAudienceSharingStatus'
|
|
109
|
-
field :study_spec, 'AudienceInsightsStudySpec'
|
|
110
109
|
field :subtype, 'string'
|
|
111
110
|
field :time_content_updated, 'int'
|
|
112
111
|
field :time_created, 'int'
|
|
@@ -130,6 +129,7 @@ module FacebookAds
|
|
|
130
129
|
field :inclusions, { list: 'object' }
|
|
131
130
|
field :isprivate, 'bool'
|
|
132
131
|
field :is_household_exclusion, 'bool'
|
|
132
|
+
field :list_of_accounts, { list: 'int' }
|
|
133
133
|
field :maxage, 'int'
|
|
134
134
|
field :minage, 'int'
|
|
135
135
|
field :origin_audience_id, 'string'
|
|
@@ -139,6 +139,7 @@ module FacebookAds
|
|
|
139
139
|
field :prefill, 'bool'
|
|
140
140
|
field :product_set_id, 'string'
|
|
141
141
|
field :source, 'string'
|
|
142
|
+
field :study_spec, 'hash'
|
|
142
143
|
field :tags, { list: 'string' }
|
|
143
144
|
field :video_group_ids, { list: 'string' }
|
|
144
145
|
|
|
@@ -26,7 +26,19 @@ module FacebookAds
|
|
|
26
26
|
# pull request for this class.
|
|
27
27
|
|
|
28
28
|
class Group < AdObject
|
|
29
|
-
|
|
29
|
+
JOIN_SETTING = [
|
|
30
|
+
"ADMIN_ONLY",
|
|
31
|
+
"ANYONE",
|
|
32
|
+
"NONE",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
POST_PERMISSIONS = [
|
|
36
|
+
"ADMIN_ONLY",
|
|
37
|
+
"ANYONE",
|
|
38
|
+
"NONE",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
PURPOSE = [
|
|
30
42
|
"CASUAL",
|
|
31
43
|
"CLOSE_FRIENDS",
|
|
32
44
|
"CLUB",
|
|
@@ -73,19 +85,7 @@ module FacebookAds
|
|
|
73
85
|
"WORK_TEAMWORK",
|
|
74
86
|
]
|
|
75
87
|
|
|
76
|
-
|
|
77
|
-
"ADMIN_ONLY",
|
|
78
|
-
"ANYONE",
|
|
79
|
-
"NONE",
|
|
80
|
-
]
|
|
81
|
-
|
|
82
|
-
POST_PERMISSIONS = [
|
|
83
|
-
"ADMIN_ONLY",
|
|
84
|
-
"ANYONE",
|
|
85
|
-
"NONE",
|
|
86
|
-
]
|
|
87
|
-
|
|
88
|
-
PURPOSE = [
|
|
88
|
+
GROUP_TYPE = [
|
|
89
89
|
"CASUAL",
|
|
90
90
|
"CLOSE_FRIENDS",
|
|
91
91
|
"CLUB",
|
|
@@ -43,14 +43,6 @@ module FacebookAds
|
|
|
43
43
|
has_no_post
|
|
44
44
|
has_no_delete
|
|
45
45
|
|
|
46
|
-
has_edge :Mentions do |edge|
|
|
47
|
-
edge.post do |api|
|
|
48
|
-
api.has_param :comment_id, 'string'
|
|
49
|
-
api.has_param :media_id, 'string'
|
|
50
|
-
api.has_param :message, 'string'
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
46
|
has_edge :insights do |edge|
|
|
55
47
|
edge.get 'InstagramInsightsResult' do |api|
|
|
56
48
|
api.has_param :metric, { list: { enum: -> { InstagramInsightsResult::METRIC }} }
|
|
@@ -76,6 +68,14 @@ module FacebookAds
|
|
|
76
68
|
end
|
|
77
69
|
end
|
|
78
70
|
|
|
71
|
+
has_edge :mentions do |edge|
|
|
72
|
+
edge.post do |api|
|
|
73
|
+
api.has_param :comment_id, 'string'
|
|
74
|
+
api.has_param :media_id, 'string'
|
|
75
|
+
api.has_param :message, 'string'
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
79
|
has_edge :recently_searched_hashtags do |edge|
|
|
80
80
|
edge.get
|
|
81
81
|
end
|
|
@@ -26,20 +26,15 @@ module FacebookAds
|
|
|
26
26
|
# pull request for this class.
|
|
27
27
|
|
|
28
28
|
class OwnedDomain < AdObject
|
|
29
|
-
PERMITTED_ROLES = [
|
|
30
|
-
"ADMIN",
|
|
31
|
-
]
|
|
32
|
-
|
|
33
29
|
|
|
34
30
|
field :domain_name, 'string'
|
|
35
31
|
field :id, 'string'
|
|
36
32
|
has_no_post
|
|
37
33
|
has_no_delete
|
|
38
34
|
|
|
39
|
-
has_edge :
|
|
35
|
+
has_edge :agencies do |edge|
|
|
40
36
|
edge.post 'OwnedDomain' do |api|
|
|
41
37
|
api.has_param :business, 'string'
|
|
42
|
-
api.has_param :permitted_roles, { list: { enum: -> { OwnedDomain::PERMITTED_ROLES }} }
|
|
43
38
|
end
|
|
44
39
|
end
|
|
45
40
|
|
|
@@ -470,6 +470,17 @@ module FacebookAds
|
|
|
470
470
|
end
|
|
471
471
|
end
|
|
472
472
|
|
|
473
|
+
has_edge :admin_sticky_settings do |edge|
|
|
474
|
+
edge.post 'Page' do |api|
|
|
475
|
+
api.has_param :ad_account_id, 'string'
|
|
476
|
+
api.has_param :audience, { enum: -> { Page::AUDIENCE }}
|
|
477
|
+
api.has_param :budget, 'int'
|
|
478
|
+
api.has_param :campaign_length, 'datetime'
|
|
479
|
+
api.has_param :currency, 'string'
|
|
480
|
+
api.has_param :targeting, 'Targeting'
|
|
481
|
+
end
|
|
482
|
+
end
|
|
483
|
+
|
|
473
484
|
has_edge :admins do |edge|
|
|
474
485
|
edge.delete do |api|
|
|
475
486
|
api.has_param :admin_id, 'int'
|
|
@@ -482,17 +493,6 @@ module FacebookAds
|
|
|
482
493
|
end
|
|
483
494
|
end
|
|
484
495
|
|
|
485
|
-
has_edge :adminstickysettings do |edge|
|
|
486
|
-
edge.post 'Page' do |api|
|
|
487
|
-
api.has_param :ad_account_id, 'string'
|
|
488
|
-
api.has_param :audience, { enum: -> { Page::AUDIENCE }}
|
|
489
|
-
api.has_param :budget, 'int'
|
|
490
|
-
api.has_param :campaign_length, 'datetime'
|
|
491
|
-
api.has_param :currency, 'string'
|
|
492
|
-
api.has_param :targeting, 'Targeting'
|
|
493
|
-
end
|
|
494
|
-
end
|
|
495
|
-
|
|
496
496
|
has_edge :ads_posts do |edge|
|
|
497
497
|
edge.get 'PagePost' do |api|
|
|
498
498
|
api.has_param :include_inline_create, 'bool'
|
|
@@ -1379,17 +1379,6 @@ module FacebookAds
|
|
|
1379
1379
|
edge.get 'ProductCatalog'
|
|
1380
1380
|
end
|
|
1381
1381
|
|
|
1382
|
-
has_edge :promotable_posts do |edge|
|
|
1383
|
-
edge.get 'PagePost' do |api|
|
|
1384
|
-
api.has_param :include_hidden, 'bool'
|
|
1385
|
-
api.has_param :include_inline, 'bool'
|
|
1386
|
-
api.has_param :is_published, 'bool'
|
|
1387
|
-
api.has_param :q, 'string'
|
|
1388
|
-
api.has_param :show_expired, 'bool'
|
|
1389
|
-
api.has_param :with, { enum: -> { PagePost::WITH }}
|
|
1390
|
-
end
|
|
1391
|
-
end
|
|
1392
|
-
|
|
1393
1382
|
has_edge :promotions do |edge|
|
|
1394
1383
|
edge.post do |api|
|
|
1395
1384
|
api.has_param :ad_account_id, 'string'
|
|
@@ -101,12 +101,10 @@ module FacebookAds
|
|
|
101
101
|
field :backdated_time, 'datetime'
|
|
102
102
|
field :call_to_action, 'object'
|
|
103
103
|
field :can_reply_privately, 'bool'
|
|
104
|
-
field :caption, 'string'
|
|
105
104
|
field :child_attachments, { list: 'string' }
|
|
106
105
|
field :comments_mirroring_domain, 'string'
|
|
107
106
|
field :coordinates, 'object'
|
|
108
107
|
field :created_time, 'datetime'
|
|
109
|
-
field :description, 'string'
|
|
110
108
|
field :event, 'Event'
|
|
111
109
|
field :expanded_height, 'int'
|
|
112
110
|
field :expanded_width, 'int'
|
|
@@ -125,13 +123,10 @@ module FacebookAds
|
|
|
125
123
|
field :is_popular, 'bool'
|
|
126
124
|
field :is_published, 'bool'
|
|
127
125
|
field :is_spherical, 'bool'
|
|
128
|
-
field :link, 'string'
|
|
129
126
|
field :message, 'string'
|
|
130
127
|
field :message_tags, { list: 'string' }
|
|
131
128
|
field :multi_share_end_card, 'bool'
|
|
132
129
|
field :multi_share_optimized, 'bool'
|
|
133
|
-
field :name, 'string'
|
|
134
|
-
field :object_id, 'string'
|
|
135
130
|
field :parent_id, 'string'
|
|
136
131
|
field :permalink_url, 'object'
|
|
137
132
|
field :picture, 'string'
|
|
@@ -142,7 +137,6 @@ module FacebookAds
|
|
|
142
137
|
field :properties, { list: 'string' }
|
|
143
138
|
field :scheduled_publish_time, 'double'
|
|
144
139
|
field :shares, 'object'
|
|
145
|
-
field :source, 'string'
|
|
146
140
|
field :status_type, 'string'
|
|
147
141
|
field :story, 'string'
|
|
148
142
|
field :story_tags, { list: 'string' }
|
|
@@ -150,7 +144,6 @@ module FacebookAds
|
|
|
150
144
|
field :target, 'Profile'
|
|
151
145
|
field :targeting, 'object'
|
|
152
146
|
field :timeline_visibility, 'string'
|
|
153
|
-
field :type, 'string'
|
|
154
147
|
field :updated_time, 'datetime'
|
|
155
148
|
field :via, 'object'
|
|
156
149
|
field :video_buying_eligibility, { list: 'string' }
|
|
@@ -221,7 +214,7 @@ module FacebookAds
|
|
|
221
214
|
api.has_param :audience_id, 'string'
|
|
222
215
|
api.has_param :bid_amount, 'int'
|
|
223
216
|
api.has_param :budget, 'int'
|
|
224
|
-
api.has_param :cta_type, { enum: %w{ADD_TO_CART APPLY_NOW BOOK_TRAVEL BUY BUY_NOW BUY_TICKETS CALL CALL_ME CONTACT CONTACT_US DONATE DONATE_NOW DOWNLOAD EVENT_RSVP FIND_A_GROUP FOLLOW_NEWS_STORYLINE GET_DIRECTIONS GET_OFFER GET_OFFER_VIEW GET_QUOTE GET_SHOWTIMES INSTALL_APP INSTALL_MOBILE_APP LEARN_MORE LIKE_PAGE LISTEN_MUSIC LISTEN_NOW MESSAGE_PAGE MOBILE_DOWNLOAD MOMENTS NO_BUTTON OPEN_LINK ORDER_NOW PLAY_GAME RECORD_NOW SAY_THANKS SEE_MORE SELL_NOW SHARE SHOP_NOW SIGN_UP SUBSCRIBE UPDATE_APP USE_APP USE_MOBILE_APP VIDEO_ANNOTATION VISIT_PAGES_FEED WATCH_MORE WATCH_VIDEO WHATSAPP_MESSAGE WOODHENGE_SUPPORT }}
|
|
217
|
+
api.has_param :cta_type, { enum: %w{ADD_TO_CART APPLY_NOW BOOK_TRAVEL BUY BUY_NOW BUY_TICKETS CALL CALL_ME CONTACT CONTACT_US DONATE DONATE_NOW DOWNLOAD EVENT_RSVP FIND_A_GROUP FIND_YOUR_GROUPS FOLLOW_NEWS_STORYLINE GET_DIRECTIONS GET_OFFER GET_OFFER_VIEW GET_QUOTE GET_SHOWTIMES INSTALL_APP INSTALL_MOBILE_APP LEARN_MORE LIKE_PAGE LISTEN_MUSIC LISTEN_NOW MESSAGE_PAGE MOBILE_DOWNLOAD MOMENTS NO_BUTTON OPEN_LINK ORDER_NOW PLAY_GAME RECORD_NOW SAY_THANKS SEE_MORE SELL_NOW SHARE SHOP_NOW SIGN_UP SOTTO_SUBSCRIBE SUBSCRIBE UPDATE_APP USE_APP USE_MOBILE_APP VIDEO_ANNOTATION VISIT_PAGES_FEED WATCH_MORE WATCH_VIDEO WHATSAPP_MESSAGE WOODHENGE_SUPPORT }}
|
|
225
218
|
api.has_param :currency, 'string'
|
|
226
219
|
api.has_param :flow_id, 'string'
|
|
227
220
|
api.has_param :placement, 'string'
|
|
@@ -229,7 +229,7 @@ module FacebookAds
|
|
|
229
229
|
api.has_param :audience_id, 'string'
|
|
230
230
|
api.has_param :bid_amount, 'int'
|
|
231
231
|
api.has_param :budget, 'int'
|
|
232
|
-
api.has_param :cta_type, { enum: %w{ADD_TO_CART APPLY_NOW BOOK_TRAVEL BUY BUY_NOW BUY_TICKETS CALL CALL_ME CONTACT CONTACT_US DONATE DONATE_NOW DOWNLOAD EVENT_RSVP FIND_A_GROUP FOLLOW_NEWS_STORYLINE GET_DIRECTIONS GET_OFFER GET_OFFER_VIEW GET_QUOTE GET_SHOWTIMES INSTALL_APP INSTALL_MOBILE_APP LEARN_MORE LIKE_PAGE LISTEN_MUSIC LISTEN_NOW MESSAGE_PAGE MOBILE_DOWNLOAD MOMENTS NO_BUTTON OPEN_LINK ORDER_NOW PLAY_GAME RECORD_NOW SAY_THANKS SEE_MORE SELL_NOW SHARE SHOP_NOW SIGN_UP SUBSCRIBE UPDATE_APP USE_APP USE_MOBILE_APP VIDEO_ANNOTATION VISIT_PAGES_FEED WATCH_MORE WATCH_VIDEO WHATSAPP_MESSAGE WOODHENGE_SUPPORT }}
|
|
232
|
+
api.has_param :cta_type, { enum: %w{ADD_TO_CART APPLY_NOW BOOK_TRAVEL BUY BUY_NOW BUY_TICKETS CALL CALL_ME CONTACT CONTACT_US DONATE DONATE_NOW DOWNLOAD EVENT_RSVP FIND_A_GROUP FIND_YOUR_GROUPS FOLLOW_NEWS_STORYLINE GET_DIRECTIONS GET_OFFER GET_OFFER_VIEW GET_QUOTE GET_SHOWTIMES INSTALL_APP INSTALL_MOBILE_APP LEARN_MORE LIKE_PAGE LISTEN_MUSIC LISTEN_NOW MESSAGE_PAGE MOBILE_DOWNLOAD MOMENTS NO_BUTTON OPEN_LINK ORDER_NOW PLAY_GAME RECORD_NOW SAY_THANKS SEE_MORE SELL_NOW SHARE SHOP_NOW SIGN_UP SOTTO_SUBSCRIBE SUBSCRIBE UPDATE_APP USE_APP USE_MOBILE_APP VIDEO_ANNOTATION VISIT_PAGES_FEED WATCH_MORE WATCH_VIDEO WHATSAPP_MESSAGE WOODHENGE_SUPPORT }}
|
|
233
233
|
api.has_param :currency, 'string'
|
|
234
234
|
api.has_param :flow_id, 'string'
|
|
235
235
|
api.has_param :placement, 'string'
|
|
@@ -54,11 +54,6 @@ module FacebookAds
|
|
|
54
54
|
"google",
|
|
55
55
|
]
|
|
56
56
|
|
|
57
|
-
ROLE = [
|
|
58
|
-
"ADMIN",
|
|
59
|
-
"ADVERTISER",
|
|
60
|
-
]
|
|
61
|
-
|
|
62
57
|
|
|
63
58
|
field :business, 'Business'
|
|
64
59
|
field :cpas_parent_catalog_settings, 'CpasParentCatalogSettings'
|
|
@@ -413,24 +408,6 @@ module FacebookAds
|
|
|
413
408
|
end
|
|
414
409
|
end
|
|
415
410
|
|
|
416
|
-
has_edge :userpermissions do |edge|
|
|
417
|
-
edge.delete do |api|
|
|
418
|
-
api.has_param :business, 'string'
|
|
419
|
-
api.has_param :email, 'string'
|
|
420
|
-
api.has_param :user, 'int'
|
|
421
|
-
end
|
|
422
|
-
edge.get 'ProductCatalogUserPermissions' do |api|
|
|
423
|
-
api.has_param :business, 'string'
|
|
424
|
-
api.has_param :user, 'int'
|
|
425
|
-
end
|
|
426
|
-
edge.post 'ProductCatalog' do |api|
|
|
427
|
-
api.has_param :business, 'string'
|
|
428
|
-
api.has_param :email, 'string'
|
|
429
|
-
api.has_param :role, { enum: -> { ProductCatalog::ROLE }}
|
|
430
|
-
api.has_param :user, 'int'
|
|
431
|
-
end
|
|
432
|
-
end
|
|
433
|
-
|
|
434
411
|
has_edge :vehicles do |edge|
|
|
435
412
|
edge.get 'Vehicle' do |api|
|
|
436
413
|
api.has_param :bulk_pagination, 'bool'
|
|
@@ -30,7 +30,6 @@ module FacebookAds
|
|
|
30
30
|
field :account, 'AdAccount'
|
|
31
31
|
field :approximate_count, 'int'
|
|
32
32
|
field :description, 'string'
|
|
33
|
-
field :expiry_time, 'datetime'
|
|
34
33
|
field :id, 'string'
|
|
35
34
|
field :name, 'string'
|
|
36
35
|
field :permission_for_actions, 'AudiencePermissionForActions'
|
|
@@ -47,7 +47,6 @@ module FacebookAds
|
|
|
47
47
|
field :audience_network_positions, { list: 'string' }
|
|
48
48
|
field :behaviors, { list: 'IdName' }
|
|
49
49
|
field :brand_safety_content_filter_levels, { list: 'string' }
|
|
50
|
-
field :brand_safety_content_severity_levels, { list: 'string' }
|
|
51
50
|
field :catalog_based_targeting, 'CatalogBasedTargeting'
|
|
52
51
|
field :cities, { list: 'IdName' }
|
|
53
52
|
field :college_years, { list: 'int' }
|
|
@@ -178,12 +178,6 @@ module FacebookAds
|
|
|
178
178
|
field :website, 'string'
|
|
179
179
|
field :work, { list: 'WorkExperience' }
|
|
180
180
|
|
|
181
|
-
has_edge :PaymentCurrencies do |edge|
|
|
182
|
-
edge.post 'User' do |api|
|
|
183
|
-
api.has_param :currency, 'string'
|
|
184
|
-
end
|
|
185
|
-
end
|
|
186
|
-
|
|
187
181
|
has_edge :access_tokens do |edge|
|
|
188
182
|
edge.post 'User' do |api|
|
|
189
183
|
api.has_param :business_app, 'int'
|
|
@@ -565,15 +559,7 @@ module FacebookAds
|
|
|
565
559
|
end
|
|
566
560
|
end
|
|
567
561
|
|
|
568
|
-
has_edge :
|
|
569
|
-
edge.post do |api|
|
|
570
|
-
api.has_param :inc, 'int'
|
|
571
|
-
api.has_param :set, 'int'
|
|
572
|
-
api.has_param :stat_name, 'string'
|
|
573
|
-
end
|
|
574
|
-
end
|
|
575
|
-
|
|
576
|
-
has_edge :gamesachieves do |edge|
|
|
562
|
+
has_edge :games.achieves do |edge|
|
|
577
563
|
edge.post do |api|
|
|
578
564
|
api.has_param :added, 'string'
|
|
579
565
|
api.has_param :alias, 'string'
|
|
@@ -609,6 +595,14 @@ module FacebookAds
|
|
|
609
595
|
end
|
|
610
596
|
end
|
|
611
597
|
|
|
598
|
+
has_edge :games_stats do |edge|
|
|
599
|
+
edge.post do |api|
|
|
600
|
+
api.has_param :inc, 'int'
|
|
601
|
+
api.has_param :set, 'int'
|
|
602
|
+
api.has_param :stat_name, 'string'
|
|
603
|
+
end
|
|
604
|
+
end
|
|
605
|
+
|
|
612
606
|
has_edge :gamesplays do |edge|
|
|
613
607
|
edge.post do |api|
|
|
614
608
|
api.has_param :added, 'string'
|
|
@@ -858,6 +852,12 @@ module FacebookAds
|
|
|
858
852
|
end
|
|
859
853
|
end
|
|
860
854
|
|
|
855
|
+
has_edge :payment_currencies do |edge|
|
|
856
|
+
edge.post 'User' do |api|
|
|
857
|
+
api.has_param :currency, 'string'
|
|
858
|
+
end
|
|
859
|
+
end
|
|
860
|
+
|
|
861
861
|
has_edge :permissions do |edge|
|
|
862
862
|
edge.delete do |api|
|
|
863
863
|
api.has_param :permission, 'string'
|
|
@@ -999,7 +999,7 @@ module FacebookAds
|
|
|
999
999
|
edge.get 'PlatformSessionKey'
|
|
1000
1000
|
end
|
|
1001
1001
|
|
|
1002
|
-
has_edge :
|
|
1002
|
+
has_edge :staging_resources do |edge|
|
|
1003
1003
|
edge.post 'User' do |api|
|
|
1004
1004
|
api.has_param :file, 'file'
|
|
1005
1005
|
end
|
|
@@ -25,15 +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 ValueBasedEligibleSource < AdObject
|
|
29
29
|
|
|
30
|
-
field :description, 'string'
|
|
31
|
-
field :enabled_in_ui, 'bool'
|
|
32
30
|
field :id, 'string'
|
|
33
|
-
field :
|
|
34
|
-
field :name, 'string'
|
|
35
|
-
field :parent, 'string'
|
|
36
|
-
field :path, { list: 'string' }
|
|
31
|
+
field :title, 'string'
|
|
37
32
|
field :type, 'string'
|
|
38
33
|
has_no_get
|
|
39
34
|
has_no_post
|
|
@@ -42,6 +42,7 @@ module FacebookAds
|
|
|
42
42
|
field :content_category, 'string'
|
|
43
43
|
field :copyright_content_id, 'string'
|
|
44
44
|
field :creator, 'User'
|
|
45
|
+
field :excluded_ownership_segments, { list: 'VideoCopyrightSegment' }
|
|
45
46
|
field :id, 'string'
|
|
46
47
|
field :in_conflict, 'bool'
|
|
47
48
|
field :monitoring_status, 'string'
|
data/lib/facebook_ads/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: facebookbusiness
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Facebook
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-04-
|
|
11
|
+
date: 2019-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -194,7 +194,6 @@ files:
|
|
|
194
194
|
- lib/facebook_ads/ad_objects/ad_account.rb
|
|
195
195
|
- lib/facebook_ads/ad_objects/ad_account_activity.rb
|
|
196
196
|
- lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb
|
|
197
|
-
- lib/facebook_ads/ad_objects/ad_account_contextual_targeting.rb
|
|
198
197
|
- lib/facebook_ads/ad_objects/ad_account_creation_request.rb
|
|
199
198
|
- lib/facebook_ads/ad_objects/ad_account_default_destination.rb
|
|
200
199
|
- lib/facebook_ads/ad_objects/ad_account_default_objective.rb
|
|
@@ -242,7 +241,6 @@ files:
|
|
|
242
241
|
- lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb
|
|
243
242
|
- lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action_value.rb
|
|
244
243
|
- lib/facebook_ads/ad_objects/ad_creative_link_data_child_attachment.rb
|
|
245
|
-
- lib/facebook_ads/ad_objects/ad_creative_link_data_custom_overlay_spec.rb
|
|
246
244
|
- lib/facebook_ads/ad_objects/ad_creative_link_data_image_layer_spec.rb
|
|
247
245
|
- lib/facebook_ads/ad_objects/ad_creative_link_data_image_overlay_spec.rb
|
|
248
246
|
- lib/facebook_ads/ad_objects/ad_creative_link_data_sponsorship_info_spec.rb
|
|
@@ -259,7 +257,6 @@ files:
|
|
|
259
257
|
- lib/facebook_ads/ad_objects/ad_creative_template_url_spec.rb
|
|
260
258
|
- lib/facebook_ads/ad_objects/ad_creative_text_data.rb
|
|
261
259
|
- lib/facebook_ads/ad_objects/ad_creative_video_data.rb
|
|
262
|
-
- lib/facebook_ads/ad_objects/ad_creative_video_data_custom_overlay_spec.rb
|
|
263
260
|
- lib/facebook_ads/ad_objects/ad_customization_rule_spec.rb
|
|
264
261
|
- lib/facebook_ads/ad_objects/ad_dynamic_creative.rb
|
|
265
262
|
- lib/facebook_ads/ad_objects/ad_entity_target_spend.rb
|
|
@@ -272,6 +269,7 @@ files:
|
|
|
272
269
|
- lib/facebook_ads/ad_objects/ad_network_analytics_sync_query_result.rb
|
|
273
270
|
- lib/facebook_ads/ad_objects/ad_place_page_set.rb
|
|
274
271
|
- lib/facebook_ads/ad_objects/ad_place_page_set_metadata.rb
|
|
272
|
+
- lib/facebook_ads/ad_objects/ad_placement.rb
|
|
275
273
|
- lib/facebook_ads/ad_objects/ad_preview.rb
|
|
276
274
|
- lib/facebook_ads/ad_objects/ad_promoted_object.rb
|
|
277
275
|
- lib/facebook_ads/ad_objects/ad_recommendation.rb
|
|
@@ -291,7 +289,6 @@ files:
|
|
|
291
289
|
- lib/facebook_ads/ad_objects/ad_rule_trigger.rb
|
|
292
290
|
- lib/facebook_ads/ad_objects/ad_set.rb
|
|
293
291
|
- lib/facebook_ads/ad_objects/ad_study.rb
|
|
294
|
-
- lib/facebook_ads/ad_objects/ad_study_ads_asset_user_permissions.rb
|
|
295
292
|
- lib/facebook_ads/ad_objects/ad_study_cell.rb
|
|
296
293
|
- lib/facebook_ads/ad_objects/ad_study_objective.rb
|
|
297
294
|
- lib/facebook_ads/ad_objects/ad_study_objective_id.rb
|
|
@@ -342,7 +339,6 @@ files:
|
|
|
342
339
|
- lib/facebook_ads/ad_objects/business_agreement.rb
|
|
343
340
|
- lib/facebook_ads/ad_objects/business_application_request.rb
|
|
344
341
|
- lib/facebook_ads/ad_objects/business_asset_sharing_agreement.rb
|
|
345
|
-
- lib/facebook_ads/ad_objects/business_credit_card_legacy.rb
|
|
346
342
|
- lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb
|
|
347
343
|
- lib/facebook_ads/ad_objects/business_page_request.rb
|
|
348
344
|
- lib/facebook_ads/ad_objects/business_product_catalog_tos.rb
|
|
@@ -527,7 +523,6 @@ files:
|
|
|
527
523
|
- lib/facebook_ads/ad_objects/product_catalog_image_settings_operation.rb
|
|
528
524
|
- lib/facebook_ads/ad_objects/product_catalog_pricing_variables_batch.rb
|
|
529
525
|
- lib/facebook_ads/ad_objects/product_catalog_product_sets_batch.rb
|
|
530
|
-
- lib/facebook_ads/ad_objects/product_catalog_user_permissions.rb
|
|
531
526
|
- lib/facebook_ads/ad_objects/product_da_event_samples_batch.rb
|
|
532
527
|
- lib/facebook_ads/ad_objects/product_event_stat.rb
|
|
533
528
|
- lib/facebook_ads/ad_objects/product_feed.rb
|
|
@@ -616,6 +611,7 @@ files:
|
|
|
616
611
|
- lib/facebook_ads/ad_objects/user_payment_mobile_pricepoints.rb
|
|
617
612
|
- lib/facebook_ads/ad_objects/user_payment_modules_options.rb
|
|
618
613
|
- lib/facebook_ads/ad_objects/user_taggable_friend.rb
|
|
614
|
+
- lib/facebook_ads/ad_objects/value_based_eligible_source.rb
|
|
619
615
|
- lib/facebook_ads/ad_objects/vault_deleted_image.rb
|
|
620
616
|
- lib/facebook_ads/ad_objects/vehicle.rb
|
|
621
617
|
- lib/facebook_ads/ad_objects/video_copyright.rb
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
|
4
|
-
# copy, modify, and distribute this software in source code or binary form for use
|
|
5
|
-
# in connection with the web services and APIs provided by Facebook.
|
|
6
|
-
#
|
|
7
|
-
# As with any software that integrates with the Facebook platform, your use of
|
|
8
|
-
# this software is subject to the Facebook Platform Policy
|
|
9
|
-
# [http://developers.facebook.com/policy/]. This copyright notice shall be
|
|
10
|
-
# included in all copies or substantial portions of the software.
|
|
11
|
-
#
|
|
12
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
14
|
-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
15
|
-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
16
|
-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
17
|
-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
-
|
|
19
|
-
# FB:AUTOGEN
|
|
20
|
-
|
|
21
|
-
module FacebookAds
|
|
22
|
-
# This class is auto-generated.
|
|
23
|
-
|
|
24
|
-
# For any issues or feature requests related to this class, please let us know
|
|
25
|
-
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
|
26
|
-
# pull request for this class.
|
|
27
|
-
|
|
28
|
-
class AdCreativeLinkDataCustomOverlaySpec < AdObject
|
|
29
|
-
BACKGROUND_COLOR = [
|
|
30
|
-
"background_000000",
|
|
31
|
-
"background_0090ff",
|
|
32
|
-
"background_00af4c",
|
|
33
|
-
"background_595959",
|
|
34
|
-
"background_755dde",
|
|
35
|
-
"background_e50900",
|
|
36
|
-
"background_f23474",
|
|
37
|
-
"background_f78400",
|
|
38
|
-
"background_ffffff",
|
|
39
|
-
]
|
|
40
|
-
|
|
41
|
-
FONT = [
|
|
42
|
-
"droid_serif_regular",
|
|
43
|
-
"lato_regular",
|
|
44
|
-
"noto_sans_regular",
|
|
45
|
-
"nunito_sans_bold",
|
|
46
|
-
"open_sans_bold",
|
|
47
|
-
"pt_serif_bold",
|
|
48
|
-
"roboto_condensed_regular",
|
|
49
|
-
"roboto_medium",
|
|
50
|
-
]
|
|
51
|
-
|
|
52
|
-
OPTION = [
|
|
53
|
-
"bank_transfer",
|
|
54
|
-
"boleto",
|
|
55
|
-
"cash_on_delivery",
|
|
56
|
-
"discount_with_boleto",
|
|
57
|
-
"fast_delivery",
|
|
58
|
-
"free_shipping",
|
|
59
|
-
"home_delivery",
|
|
60
|
-
"inventory",
|
|
61
|
-
"pay_at_hotel",
|
|
62
|
-
"pay_on_arrival",
|
|
63
|
-
]
|
|
64
|
-
|
|
65
|
-
POSITION = [
|
|
66
|
-
"bottom_left",
|
|
67
|
-
"bottom_right",
|
|
68
|
-
"top_left",
|
|
69
|
-
"top_right",
|
|
70
|
-
]
|
|
71
|
-
|
|
72
|
-
TEMPLATE = [
|
|
73
|
-
"pill_with_text",
|
|
74
|
-
]
|
|
75
|
-
|
|
76
|
-
TEXT_COLOR = [
|
|
77
|
-
"text_000000",
|
|
78
|
-
"text_007ad0",
|
|
79
|
-
"text_009c2a",
|
|
80
|
-
"text_646464",
|
|
81
|
-
"text_755dde",
|
|
82
|
-
"text_c91b00",
|
|
83
|
-
"text_f23474",
|
|
84
|
-
"text_f78400",
|
|
85
|
-
"text_ffffff",
|
|
86
|
-
]
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
field :background_color, { enum: -> { BACKGROUND_COLOR }}
|
|
90
|
-
field :float_with_margin, 'bool'
|
|
91
|
-
field :font, { enum: -> { FONT }}
|
|
92
|
-
field :option, { enum: -> { OPTION }}
|
|
93
|
-
field :position, { enum: -> { POSITION }}
|
|
94
|
-
field :render_with_icon, 'bool'
|
|
95
|
-
field :template, { enum: -> { TEMPLATE }}
|
|
96
|
-
field :text_color, { enum: -> { TEXT_COLOR }}
|
|
97
|
-
has_no_id
|
|
98
|
-
has_no_get
|
|
99
|
-
has_no_post
|
|
100
|
-
has_no_delete
|
|
101
|
-
|
|
102
|
-
end
|
|
103
|
-
end
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
|
4
|
-
# copy, modify, and distribute this software in source code or binary form for use
|
|
5
|
-
# in connection with the web services and APIs provided by Facebook.
|
|
6
|
-
#
|
|
7
|
-
# As with any software that integrates with the Facebook platform, your use of
|
|
8
|
-
# this software is subject to the Facebook Platform Policy
|
|
9
|
-
# [http://developers.facebook.com/policy/]. This copyright notice shall be
|
|
10
|
-
# included in all copies or substantial portions of the software.
|
|
11
|
-
#
|
|
12
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
14
|
-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
15
|
-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
16
|
-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
17
|
-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
-
|
|
19
|
-
# FB:AUTOGEN
|
|
20
|
-
|
|
21
|
-
module FacebookAds
|
|
22
|
-
# This class is auto-generated.
|
|
23
|
-
|
|
24
|
-
# For any issues or feature requests related to this class, please let us know
|
|
25
|
-
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
|
26
|
-
# pull request for this class.
|
|
27
|
-
|
|
28
|
-
class AdCreativeVideoDataCustomOverlaySpec < AdObject
|
|
29
|
-
BACKGROUND_OPACITY = [
|
|
30
|
-
"half",
|
|
31
|
-
"solid",
|
|
32
|
-
]
|
|
33
|
-
|
|
34
|
-
OPTION = [
|
|
35
|
-
"bank_transfer",
|
|
36
|
-
"boleto",
|
|
37
|
-
"cash_on_delivery",
|
|
38
|
-
"discount_with_boleto",
|
|
39
|
-
"fast_delivery",
|
|
40
|
-
"free_shipping",
|
|
41
|
-
"home_delivery",
|
|
42
|
-
"inventory",
|
|
43
|
-
"pay_at_hotel",
|
|
44
|
-
"pay_on_arrival",
|
|
45
|
-
]
|
|
46
|
-
|
|
47
|
-
POSITION = [
|
|
48
|
-
"middle_center",
|
|
49
|
-
"middle_left",
|
|
50
|
-
"middle_right",
|
|
51
|
-
"top_center",
|
|
52
|
-
"top_left",
|
|
53
|
-
"top_right",
|
|
54
|
-
]
|
|
55
|
-
|
|
56
|
-
TEMPLATE = [
|
|
57
|
-
"rectangle_with_text",
|
|
58
|
-
]
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
field :background_color, 'string'
|
|
62
|
-
field :background_opacity, { enum: -> { BACKGROUND_OPACITY }}
|
|
63
|
-
field :duration, 'int'
|
|
64
|
-
field :float_with_margin, 'bool'
|
|
65
|
-
field :full_width, 'bool'
|
|
66
|
-
field :option, { enum: -> { OPTION }}
|
|
67
|
-
field :position, { enum: -> { POSITION }}
|
|
68
|
-
field :start, 'int'
|
|
69
|
-
field :template, { enum: -> { TEMPLATE }}
|
|
70
|
-
field :text_color, 'string'
|
|
71
|
-
has_no_id
|
|
72
|
-
has_no_get
|
|
73
|
-
has_no_post
|
|
74
|
-
has_no_delete
|
|
75
|
-
|
|
76
|
-
end
|
|
77
|
-
end
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
|
4
|
-
# copy, modify, and distribute this software in source code or binary form for use
|
|
5
|
-
# in connection with the web services and APIs provided by Facebook.
|
|
6
|
-
#
|
|
7
|
-
# As with any software that integrates with the Facebook platform, your use of
|
|
8
|
-
# this software is subject to the Facebook Platform Policy
|
|
9
|
-
# [http://developers.facebook.com/policy/]. This copyright notice shall be
|
|
10
|
-
# included in all copies or substantial portions of the software.
|
|
11
|
-
#
|
|
12
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
14
|
-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
15
|
-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
16
|
-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
17
|
-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
-
|
|
19
|
-
# FB:AUTOGEN
|
|
20
|
-
|
|
21
|
-
module FacebookAds
|
|
22
|
-
# This class is auto-generated.
|
|
23
|
-
|
|
24
|
-
# For any issues or feature requests related to this class, please let us know
|
|
25
|
-
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
|
26
|
-
# pull request for this class.
|
|
27
|
-
|
|
28
|
-
class AdStudyAdsAssetUserPermissions < AdObject
|
|
29
|
-
|
|
30
|
-
field :business, 'Business'
|
|
31
|
-
field :business_persona, 'object'
|
|
32
|
-
field :created_by, 'User'
|
|
33
|
-
field :created_time, 'datetime'
|
|
34
|
-
field :email, 'string'
|
|
35
|
-
field :role, 'string'
|
|
36
|
-
field :status, 'string'
|
|
37
|
-
field :updated_by, 'User'
|
|
38
|
-
field :updated_time, 'datetime'
|
|
39
|
-
field :user, 'User'
|
|
40
|
-
has_no_id
|
|
41
|
-
has_no_get
|
|
42
|
-
has_no_post
|
|
43
|
-
has_no_delete
|
|
44
|
-
|
|
45
|
-
end
|
|
46
|
-
end
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
|
4
|
-
# copy, modify, and distribute this software in source code or binary form for use
|
|
5
|
-
# in connection with the web services and APIs provided by Facebook.
|
|
6
|
-
#
|
|
7
|
-
# As with any software that integrates with the Facebook platform, your use of
|
|
8
|
-
# this software is subject to the Facebook Platform Policy
|
|
9
|
-
# [http://developers.facebook.com/policy/]. This copyright notice shall be
|
|
10
|
-
# included in all copies or substantial portions of the software.
|
|
11
|
-
#
|
|
12
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
14
|
-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
15
|
-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
16
|
-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
17
|
-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
-
|
|
19
|
-
# FB:AUTOGEN
|
|
20
|
-
|
|
21
|
-
module FacebookAds
|
|
22
|
-
# This class is auto-generated.
|
|
23
|
-
|
|
24
|
-
# For any issues or feature requests related to this class, please let us know
|
|
25
|
-
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
|
26
|
-
# pull request for this class.
|
|
27
|
-
|
|
28
|
-
class BusinessCreditCardLegacy < AdObject
|
|
29
|
-
|
|
30
|
-
field :address, 'object'
|
|
31
|
-
field :business_id, 'string'
|
|
32
|
-
field :credit_card_suffix, 'string'
|
|
33
|
-
field :credit_card_type, 'string'
|
|
34
|
-
field :expiration_month, 'int'
|
|
35
|
-
field :expiration_year, 'int'
|
|
36
|
-
field :first_name, 'string'
|
|
37
|
-
field :fraud_status, 'string'
|
|
38
|
-
field :id, 'string'
|
|
39
|
-
field :last_name, 'string'
|
|
40
|
-
field :middle_name, 'string'
|
|
41
|
-
has_no_get
|
|
42
|
-
has_no_post
|
|
43
|
-
has_no_delete
|
|
44
|
-
|
|
45
|
-
end
|
|
46
|
-
end
|