facebookbusiness 0.9.0.1 → 0.11.0.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.rb +4 -1
- data/lib/facebook_ads/ad_objects/ad_account.rb +26 -55
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/{user_payment_modules_options.rb → ad_account_ios_fourteen_campaign_limits.rb} +4 -5
- data/lib/facebook_ads/ad_objects/ad_account_matched_search_applications_edge_data.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +3 -1
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +6 -2
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +9 -7
- 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 +2 -0
- data/lib/facebook_ads/ad_objects/{read_only_analytics_user_property_config.rb → ad_creative_omnichannel_link_spec.rb} +5 -3
- data/lib/facebook_ads/ad_objects/ad_creative_portrait_customizations.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_preview.rb +5 -0
- data/lib/facebook_ads/ad_objects/ad_report_run.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_rule.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_rule_evaluation_spec.rb +1 -2
- data/lib/facebook_ads/ad_objects/ad_rule_execution_spec.rb +1 -2
- data/lib/facebook_ads/ad_objects/ad_set.rb +6 -2
- data/lib/facebook_ads/ad_objects/ad_study.rb +7 -11
- data/lib/facebook_ads/ad_objects/ad_study_objective.rb +3 -4
- data/lib/facebook_ads/ad_objects/ad_video.rb +26 -18
- data/lib/facebook_ads/ad_objects/adgroup_activity.rb +0 -2
- data/lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb +2 -0
- data/lib/facebook_ads/ad_objects/adoptable_pet.rb +22 -0
- data/lib/facebook_ads/ad_objects/ads_action_stats.rb +2 -0
- data/lib/facebook_ads/ad_objects/ads_insights.rb +5 -4
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +5 -0
- data/lib/facebook_ads/ad_objects/album.rb +0 -10
- data/lib/facebook_ads/ad_objects/application.rb +29 -14
- data/lib/facebook_ads/ad_objects/atlas_campaign.rb +0 -8
- data/lib/facebook_ads/ad_objects/audio_copyright.rb +4 -0
- data/lib/facebook_ads/ad_objects/automotive_model.rb +47 -0
- data/lib/facebook_ads/ad_objects/business.rb +46 -7
- data/lib/facebook_ads/ad_objects/business_asset_group.rb +3 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +5 -4
- data/lib/facebook_ads/ad_objects/canvas.rb +2 -0
- data/lib/facebook_ads/ad_objects/{event_tour.rb → canvas_template.rb} +12 -20
- data/lib/facebook_ads/ad_objects/catalog_item_channels_to_integrity_status.rb +38 -0
- data/lib/facebook_ads/ad_objects/catalog_sub_vertical_list.rb +3 -1
- data/lib/facebook_ads/ad_objects/comment.rb +3 -1
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +33 -0
- data/lib/facebook_ads/ad_objects/commerce_order.rb +14 -13
- data/lib/facebook_ads/ad_objects/content_delivery_report.rb +4 -0
- data/lib/facebook_ads/ad_objects/{offline_terms_of_service.rb → contextual_bundling_spec.rb} +4 -4
- data/lib/facebook_ads/ad_objects/custom_audience.rb +9 -12
- data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +1 -0
- data/lib/facebook_ads/ad_objects/delivery_window.rb +287 -0
- data/lib/facebook_ads/ad_objects/destination.rb +22 -0
- data/lib/facebook_ads/ad_objects/event.rb +4 -0
- data/lib/facebook_ads/ad_objects/flight.rb +22 -0
- data/lib/facebook_ads/ad_objects/group.rb +21 -22
- data/lib/facebook_ads/ad_objects/home_listing.rb +22 -0
- data/lib/facebook_ads/ad_objects/hotel.rb +22 -0
- data/lib/facebook_ads/ad_objects/ig_media.rb +2 -1
- data/lib/facebook_ads/ad_objects/ig_user.rb +10 -2
- data/lib/facebook_ads/ad_objects/image_copyright.rb +302 -0
- data/lib/facebook_ads/ad_objects/insights_result.rb +1 -1
- data/lib/facebook_ads/ad_objects/instagram_user.rb +0 -3
- data/lib/facebook_ads/ad_objects/link.rb +0 -10
- data/lib/facebook_ads/ad_objects/live_video.rb +20 -13
- data/lib/facebook_ads/ad_objects/messenger_profile.rb +1 -0
- data/lib/facebook_ads/ad_objects/omega_customer_trx.rb +64 -0
- data/lib/facebook_ads/ad_objects/oracle_transaction.rb +0 -5
- data/lib/facebook_ads/ad_objects/page.rb +85 -13
- data/lib/facebook_ads/ad_objects/page_call_to_action.rb +6 -0
- data/lib/facebook_ads/ad_objects/page_commerce_eligibility.rb +38 -0
- data/lib/facebook_ads/ad_objects/page_post.rb +0 -10
- data/lib/facebook_ads/ad_objects/payment_engine_payment.rb +73 -0
- data/lib/facebook_ads/ad_objects/payment_subscription.rb +3 -3
- data/lib/facebook_ads/ad_objects/photo.rb +0 -10
- data/lib/facebook_ads/ad_objects/post.rb +12 -40
- data/lib/facebook_ads/ad_objects/{cpas_parent_catalog_settings.rb → private_lift_study_instance.rb} +11 -12
- data/lib/facebook_ads/ad_objects/product_catalog.rb +51 -4
- data/lib/facebook_ads/ad_objects/{ad_account_roas.rb → product_catalog_diagnostic_group.rb} +55 -30
- data/lib/facebook_ads/ad_objects/product_feed.rb +17 -1
- data/lib/facebook_ads/ad_objects/product_feed_schedule.rb +2 -0
- data/lib/facebook_ads/ad_objects/product_group.rb +8 -6
- data/lib/facebook_ads/ad_objects/product_item.rb +25 -1
- data/lib/facebook_ads/ad_objects/{user_payment_methods_info.rb → product_item_ar_data.rb} +24 -8
- data/lib/facebook_ads/ad_objects/product_set.rb +7 -0
- data/lib/facebook_ads/ad_objects/saved_audience.rb +3 -0
- data/lib/facebook_ads/ad_objects/server_side/user_data.rb +290 -96
- data/lib/facebook_ads/ad_objects/server_side/util.rb +16 -1
- data/lib/facebook_ads/ad_objects/system_user.rb +20 -0
- data/lib/facebook_ads/ad_objects/targeting.rb +0 -2
- data/lib/facebook_ads/ad_objects/unified_thread.rb +5 -1
- data/lib/facebook_ads/ad_objects/user.rb +18 -13
- data/lib/facebook_ads/ad_objects/vehicle.rb +22 -0
- data/lib/facebook_ads/ad_objects/vehicle_offer.rb +22 -0
- data/lib/facebook_ads/ad_objects/video_copyright.rb +4 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +3 -0
- data/lib/facebook_ads/ad_objects/{friend_list.rb → whats_app_business_profile.rb} +3 -5
- data/lib/facebook_ads/edge.rb +2 -1
- data/lib/facebook_ads/version.rb +2 -2
- metadata +21 -17
- data/lib/facebook_ads/ad_objects/ad_account_creation_request.rb +0 -71
@@ -25,32 +25,24 @@ 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 CanvasTemplate < AdObject
|
29
29
|
|
30
|
+
field :channels, 'map<string, map<string, string>>'
|
30
31
|
field :description, 'string'
|
31
|
-
field :
|
32
|
-
field :end_time, 'string'
|
32
|
+
field :document, 'Canvas'
|
33
33
|
field :id, 'string'
|
34
|
-
field :
|
35
|
-
field :
|
34
|
+
field :is_multi_tab_supportable, 'bool'
|
35
|
+
field :is_new, 'bool'
|
36
36
|
field :name, 'string'
|
37
|
-
field :
|
38
|
-
field :
|
39
|
-
field :
|
40
|
-
field :
|
41
|
-
field :
|
42
|
-
field :
|
43
|
-
field :
|
37
|
+
field :objectives, 'hash'
|
38
|
+
field :owner_id, 'User'
|
39
|
+
field :required_capabilities, { list: 'string' }
|
40
|
+
field :snapshot_photo, 'Photo'
|
41
|
+
field :status, 'string'
|
42
|
+
field :sub_verticals, { list: 'string' }
|
43
|
+
field :verticals, 'hash'
|
44
44
|
has_no_post
|
45
45
|
has_no_delete
|
46
46
|
|
47
|
-
has_edge :events do |edge|
|
48
|
-
edge.get 'Event'
|
49
|
-
end
|
50
|
-
|
51
|
-
has_edge :pages do |edge|
|
52
|
-
edge.get 'Page'
|
53
|
-
end
|
54
|
-
|
55
47
|
end
|
56
48
|
end
|
@@ -0,0 +1,38 @@
|
|
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 CatalogItemChannelsToIntegrityStatus < AdObject
|
29
|
+
|
30
|
+
field :channels, { list: 'string' }
|
31
|
+
field :rejection_information, 'object'
|
32
|
+
has_no_id
|
33
|
+
has_no_get
|
34
|
+
has_no_post
|
35
|
+
has_no_delete
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
@@ -39,11 +39,11 @@ module FacebookAds
|
|
39
39
|
field :clo_offer, 'object'
|
40
40
|
field :clothing, 'object'
|
41
41
|
field :clothing_accessories, 'object'
|
42
|
-
field :clothing_group, 'object'
|
43
42
|
field :computer_components, 'object'
|
44
43
|
field :computers_and_tablets, 'object'
|
45
44
|
field :computers_laptops_and_tablets, 'object'
|
46
45
|
field :diapering_and_potty_training, 'object'
|
46
|
+
field :digital_product_offer, 'object'
|
47
47
|
field :electronic_accessories_and_cables, 'object'
|
48
48
|
field :electronics_accessories, 'object'
|
49
49
|
field :furniture, 'object'
|
@@ -53,6 +53,8 @@ module FacebookAds
|
|
53
53
|
field :household_and_cleaning_supplies, 'object'
|
54
54
|
field :jewelry, 'object'
|
55
55
|
field :large_appliances, 'object'
|
56
|
+
field :local_service_business_item, 'object'
|
57
|
+
field :local_service_business_restaurant, 'object'
|
56
58
|
field :loyalty_offer, 'object'
|
57
59
|
field :meetup_space, 'object'
|
58
60
|
field :nursery, 'object'
|
@@ -27,11 +27,13 @@ module FacebookAds
|
|
27
27
|
|
28
28
|
class Comment < AdObject
|
29
29
|
COMMENT_PRIVACY_VALUE = [
|
30
|
+
"DECLINED_BY_ADMIN_ASSISTANT",
|
30
31
|
"DEFAULT_PRIVACY",
|
31
32
|
"FRIENDS_AND_POST_OWNER",
|
32
33
|
"FRIENDS_ONLY",
|
33
34
|
"GRAPHQL_MULTIPLE_VALUE_HACK_DO_NOT_USE",
|
34
35
|
"OWNER_OR_COMMENTER",
|
36
|
+
"PENDING_APPROVAL",
|
35
37
|
"SIDE_CONVERSATION",
|
36
38
|
"SIDE_CONVERSATION_AND_POST_OWNER",
|
37
39
|
]
|
@@ -72,7 +74,7 @@ module FacebookAds
|
|
72
74
|
field :message_tags, { list: 'EntityAtTextRange' }
|
73
75
|
field :object, 'object'
|
74
76
|
field :parent, 'Comment'
|
75
|
-
field :permalink_url, '
|
77
|
+
field :permalink_url, 'object'
|
76
78
|
field :private_reply_conversation, 'object'
|
77
79
|
field :user_likes, 'bool'
|
78
80
|
|
@@ -35,7 +35,9 @@ module FacebookAds
|
|
35
35
|
field :display_name, 'string'
|
36
36
|
field :external_merchant_id, 'string'
|
37
37
|
field :facebook_channel, 'object'
|
38
|
+
field :feature_eligibility, 'object'
|
38
39
|
field :has_discount_code, 'bool'
|
40
|
+
field :has_onsite_intent, 'bool'
|
39
41
|
field :id, 'string'
|
40
42
|
field :instagram_channel, 'object'
|
41
43
|
field :merchant_alert_email, 'string'
|
@@ -54,6 +56,37 @@ module FacebookAds
|
|
54
56
|
has_no_post
|
55
57
|
has_no_delete
|
56
58
|
|
59
|
+
has_edge :acknowledge_orders do |edge|
|
60
|
+
edge.post 'CommerceMerchantSettings' do |api|
|
61
|
+
api.has_param :idempotency_key, 'string'
|
62
|
+
api.has_param :orders, { list: 'hash' }
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
has_edge :commerce_orders do |edge|
|
67
|
+
edge.get 'CommerceOrder' do |api|
|
68
|
+
api.has_param :filters, { list: { enum: -> { CommerceOrder::FILTERS }} }
|
69
|
+
api.has_param :state, { list: { enum: -> { CommerceOrder::STATE }} }
|
70
|
+
api.has_param :updated_after, 'datetime'
|
71
|
+
api.has_param :updated_before, 'datetime'
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
has_edge :commerce_payouts do |edge|
|
76
|
+
edge.get 'CommercePayout' do |api|
|
77
|
+
api.has_param :end_time, 'datetime'
|
78
|
+
api.has_param :start_time, 'datetime'
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
has_edge :commerce_transactions do |edge|
|
83
|
+
edge.get 'CommerceOrderTransactionDetail' do |api|
|
84
|
+
api.has_param :end_time, 'datetime'
|
85
|
+
api.has_param :payout_reference_id, 'string'
|
86
|
+
api.has_param :start_time, 'datetime'
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
57
90
|
has_edge :order_management_apps do |edge|
|
58
91
|
edge.get 'Application'
|
59
92
|
edge.post 'CommerceMerchantSettings'
|
@@ -26,19 +26,6 @@ module FacebookAds
|
|
26
26
|
# pull request for this class.
|
27
27
|
|
28
28
|
class CommerceOrder < AdObject
|
29
|
-
REASON_CODE = [
|
30
|
-
"BUYERS_REMORSE",
|
31
|
-
"DAMAGED_GOODS",
|
32
|
-
"NOT_AS_DESCRIBED",
|
33
|
-
"QUALITY_ISSUE",
|
34
|
-
"REFUND_COMPROMISED",
|
35
|
-
"REFUND_FOR_RETURN",
|
36
|
-
"REFUND_REASON_OTHER",
|
37
|
-
"REFUND_SFI_FAKE",
|
38
|
-
"REFUND_SFI_REAL",
|
39
|
-
"WRONG_ITEM",
|
40
|
-
]
|
41
|
-
|
42
29
|
FILTERS = [
|
43
30
|
"HAS_CANCELLATIONS",
|
44
31
|
"HAS_FULFILLMENTS",
|
@@ -55,6 +42,20 @@ module FacebookAds
|
|
55
42
|
"IN_PROGRESS",
|
56
43
|
]
|
57
44
|
|
45
|
+
REASON_CODE = [
|
46
|
+
"BUYERS_REMORSE",
|
47
|
+
"DAMAGED_GOODS",
|
48
|
+
"FACEBOOK_INITIATED",
|
49
|
+
"NOT_AS_DESCRIBED",
|
50
|
+
"QUALITY_ISSUE",
|
51
|
+
"REFUND_COMPROMISED",
|
52
|
+
"REFUND_FOR_RETURN",
|
53
|
+
"REFUND_REASON_OTHER",
|
54
|
+
"REFUND_SFI_FAKE",
|
55
|
+
"REFUND_SFI_REAL",
|
56
|
+
"WRONG_ITEM",
|
57
|
+
]
|
58
|
+
|
58
59
|
|
59
60
|
field :buyer_details, 'object'
|
60
61
|
field :channel, 'string'
|
@@ -32,6 +32,7 @@ module FacebookAds
|
|
32
32
|
"HIDDEN_AAA",
|
33
33
|
"INSTAGRAM",
|
34
34
|
"MESSENGER",
|
35
|
+
"OCULUS",
|
35
36
|
"UNKNOWN",
|
36
37
|
"WHATSAPP",
|
37
38
|
]
|
@@ -46,6 +47,7 @@ module FacebookAds
|
|
46
47
|
"HIDDEN_AAA",
|
47
48
|
"INSTAGRAM_EXPLORE",
|
48
49
|
"INSTAGRAM_IGTV",
|
50
|
+
"INSTAGRAM_REELS",
|
49
51
|
"INSTAGRAM_STORIES",
|
50
52
|
"INSTANT_ARTICLE",
|
51
53
|
"INSTREAM_VIDEO",
|
@@ -53,11 +55,13 @@ module FacebookAds
|
|
53
55
|
"MARKETPLACE",
|
54
56
|
"MESSENGER_INBOX",
|
55
57
|
"MESSENGER_STORIES",
|
58
|
+
"OCULUS_TWILIGHT_FEED",
|
56
59
|
"OTHERS",
|
57
60
|
"REWARDED_VIDEO",
|
58
61
|
"RIGHT_HAND_COLUMN",
|
59
62
|
"SEARCH",
|
60
63
|
"STATUS",
|
64
|
+
"STICKERS",
|
61
65
|
"SUGGESTED_VIDEO",
|
62
66
|
"UNKNOWN",
|
63
67
|
"VIDEO_FEEDS",
|
data/lib/facebook_ads/ad_objects/{offline_terms_of_service.rb → contextual_bundling_spec.rb}
RENAMED
@@ -25,11 +25,11 @@ 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 ContextualBundlingSpec < AdObject
|
29
29
|
|
30
|
-
field :
|
31
|
-
|
32
|
-
|
30
|
+
field :status, 'string'
|
31
|
+
has_no_id
|
32
|
+
has_no_get
|
33
33
|
has_no_post
|
34
34
|
has_no_delete
|
35
35
|
|
@@ -84,6 +84,7 @@ module FacebookAds
|
|
84
84
|
field :data_source, 'CustomAudienceDataSource'
|
85
85
|
field :data_source_types, 'string'
|
86
86
|
field :datafile_custom_audience_uploading_status, 'string'
|
87
|
+
field :delete_time, 'int'
|
87
88
|
field :delivery_status, 'CustomAudienceStatus'
|
88
89
|
field :description, 'string'
|
89
90
|
field :excluded_custom_audiences, { list: 'CustomAudience' }
|
@@ -113,8 +114,6 @@ module FacebookAds
|
|
113
114
|
field :time_content_updated, 'int'
|
114
115
|
field :time_created, 'int'
|
115
116
|
field :time_updated, 'int'
|
116
|
-
field :accountid, 'string'
|
117
|
-
field :additionalmetadata, 'string'
|
118
117
|
field :allowed_domains, { list: 'string' }
|
119
118
|
field :associated_audience_id, 'int'
|
120
119
|
field :claim_objective, { enum: -> { CLAIM_OBJECTIVE }}
|
@@ -122,27 +121,17 @@ module FacebookAds
|
|
122
121
|
field :countries, 'string'
|
123
122
|
field :creation_params, 'hash'
|
124
123
|
field :dataset_id, 'string'
|
125
|
-
field :details, 'string'
|
126
124
|
field :enable_fetch_or_create, 'bool'
|
127
125
|
field :event_source_group, 'string'
|
128
126
|
field :event_sources, { list: 'hash' }
|
129
127
|
field :exclusions, { list: 'object' }
|
130
|
-
field :expectedsize, 'int'
|
131
|
-
field :gender, 'string'
|
132
128
|
field :inclusions, { list: 'object' }
|
133
|
-
field :isprivate, 'bool'
|
134
|
-
field :is_household_exclusion, 'bool'
|
135
129
|
field :list_of_accounts, { list: 'int' }
|
136
|
-
field :maxage, 'int'
|
137
|
-
field :minage, 'int'
|
138
130
|
field :origin_audience_id, 'string'
|
139
131
|
field :parent_audience_id, 'int'
|
140
|
-
field :partnerid, 'string'
|
141
132
|
field :partner_reference_key, 'string'
|
142
133
|
field :prefill, 'bool'
|
143
134
|
field :product_set_id, 'string'
|
144
|
-
field :source, 'string'
|
145
|
-
field :tags, { list: 'string' }
|
146
135
|
field :video_group_ids, { list: 'string' }
|
147
136
|
|
148
137
|
has_edge :adaccounts do |edge|
|
@@ -190,5 +179,13 @@ module FacebookAds
|
|
190
179
|
end
|
191
180
|
end
|
192
181
|
|
182
|
+
has_edge :usersreplace do |edge|
|
183
|
+
edge.post 'CustomAudience' do |api|
|
184
|
+
api.has_param :namespace, 'string'
|
185
|
+
api.has_param :payload, 'object'
|
186
|
+
api.has_param :session, 'object'
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
193
190
|
end
|
194
191
|
end
|
@@ -0,0 +1,287 @@
|
|
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 DeliveryWindow < AdObject
|
29
|
+
|
30
|
+
field :ad, 'int'
|
31
|
+
field :ae, 'int'
|
32
|
+
field :af, 'int'
|
33
|
+
field :ag, 'int'
|
34
|
+
field :ai, 'int'
|
35
|
+
field :al, 'int'
|
36
|
+
field :all, 'int'
|
37
|
+
field :am, 'int'
|
38
|
+
field :an, 'int'
|
39
|
+
field :ao, 'int'
|
40
|
+
field :aq, 'int'
|
41
|
+
field :ar, 'int'
|
42
|
+
field :as, 'int'
|
43
|
+
field :at, 'int'
|
44
|
+
field :au, 'int'
|
45
|
+
field :aw, 'int'
|
46
|
+
field :ax, 'int'
|
47
|
+
field :az, 'int'
|
48
|
+
field :ba, 'int'
|
49
|
+
field :bb, 'int'
|
50
|
+
field :bd, 'int'
|
51
|
+
field :be, 'int'
|
52
|
+
field :bf, 'int'
|
53
|
+
field :bg, 'int'
|
54
|
+
field :bh, 'int'
|
55
|
+
field :bi, 'int'
|
56
|
+
field :bj, 'int'
|
57
|
+
field :bl, 'int'
|
58
|
+
field :bm, 'int'
|
59
|
+
field :bn, 'int'
|
60
|
+
field :bo, 'int'
|
61
|
+
field :bq, 'int'
|
62
|
+
field :br, 'int'
|
63
|
+
field :bs, 'int'
|
64
|
+
field :bt, 'int'
|
65
|
+
field :bv, 'int'
|
66
|
+
field :bw, 'int'
|
67
|
+
field :by, 'int'
|
68
|
+
field :bz, 'int'
|
69
|
+
field :ca, 'int'
|
70
|
+
field :cc, 'int'
|
71
|
+
field :cd, 'int'
|
72
|
+
field :cf, 'int'
|
73
|
+
field :cg, 'int'
|
74
|
+
field :ch, 'int'
|
75
|
+
field :ci, 'int'
|
76
|
+
field :ck, 'int'
|
77
|
+
field :cl, 'int'
|
78
|
+
field :cm, 'int'
|
79
|
+
field :cn, 'int'
|
80
|
+
field :co, 'int'
|
81
|
+
field :cr, 'int'
|
82
|
+
field :cu, 'int'
|
83
|
+
field :cv, 'int'
|
84
|
+
field :cw, 'int'
|
85
|
+
field :cx, 'int'
|
86
|
+
field :cy, 'int'
|
87
|
+
field :cz, 'int'
|
88
|
+
field :de, 'int'
|
89
|
+
field :dj, 'int'
|
90
|
+
field :dk, 'int'
|
91
|
+
field :dm, 'int'
|
92
|
+
field :_do, 'int'
|
93
|
+
field :dz, 'int'
|
94
|
+
field :ec, 'int'
|
95
|
+
field :ee, 'int'
|
96
|
+
field :eg, 'int'
|
97
|
+
field :eh, 'int'
|
98
|
+
field :er, 'int'
|
99
|
+
field :es, 'int'
|
100
|
+
field :et, 'int'
|
101
|
+
field :fi, 'int'
|
102
|
+
field :fj, 'int'
|
103
|
+
field :fk, 'int'
|
104
|
+
field :fm, 'int'
|
105
|
+
field :fo, 'int'
|
106
|
+
field :fr, 'int'
|
107
|
+
field :ga, 'int'
|
108
|
+
field :gb, 'int'
|
109
|
+
field :gd, 'int'
|
110
|
+
field :ge, 'int'
|
111
|
+
field :gf, 'int'
|
112
|
+
field :gg, 'int'
|
113
|
+
field :gh, 'int'
|
114
|
+
field :gi, 'int'
|
115
|
+
field :gl, 'int'
|
116
|
+
field :gm, 'int'
|
117
|
+
field :gn, 'int'
|
118
|
+
field :gp, 'int'
|
119
|
+
field :gq, 'int'
|
120
|
+
field :gr, 'int'
|
121
|
+
field :gs, 'int'
|
122
|
+
field :gt, 'int'
|
123
|
+
field :gu, 'int'
|
124
|
+
field :gw, 'int'
|
125
|
+
field :gy, 'int'
|
126
|
+
field :hk, 'int'
|
127
|
+
field :hm, 'int'
|
128
|
+
field :hn, 'int'
|
129
|
+
field :hr, 'int'
|
130
|
+
field :ht, 'int'
|
131
|
+
field :hu, 'int'
|
132
|
+
field :id, 'int'
|
133
|
+
field :ie, 'int'
|
134
|
+
field :il, 'int'
|
135
|
+
field :im, 'int'
|
136
|
+
field :in, 'int'
|
137
|
+
field :io, 'int'
|
138
|
+
field :iq, 'int'
|
139
|
+
field :ir, 'int'
|
140
|
+
field :is, 'int'
|
141
|
+
field :it, 'int'
|
142
|
+
field :je, 'int'
|
143
|
+
field :jm, 'int'
|
144
|
+
field :jo, 'int'
|
145
|
+
field :jp, 'int'
|
146
|
+
field :ke, 'int'
|
147
|
+
field :kg, 'int'
|
148
|
+
field :kh, 'int'
|
149
|
+
field :ki, 'int'
|
150
|
+
field :km, 'int'
|
151
|
+
field :kn, 'int'
|
152
|
+
field :kp, 'int'
|
153
|
+
field :kr, 'int'
|
154
|
+
field :kw, 'int'
|
155
|
+
field :ky, 'int'
|
156
|
+
field :kz, 'int'
|
157
|
+
field :la, 'int'
|
158
|
+
field :lb, 'int'
|
159
|
+
field :lc, 'int'
|
160
|
+
field :li, 'int'
|
161
|
+
field :lk, 'int'
|
162
|
+
field :lr, 'int'
|
163
|
+
field :ls, 'int'
|
164
|
+
field :lt, 'int'
|
165
|
+
field :lu, 'int'
|
166
|
+
field :lv, 'int'
|
167
|
+
field :ly, 'int'
|
168
|
+
field :ma, 'int'
|
169
|
+
field :mc, 'int'
|
170
|
+
field :md, 'int'
|
171
|
+
field :me, 'int'
|
172
|
+
field :mf, 'int'
|
173
|
+
field :mg, 'int'
|
174
|
+
field :mh, 'int'
|
175
|
+
field :mk, 'int'
|
176
|
+
field :ml, 'int'
|
177
|
+
field :mm, 'int'
|
178
|
+
field :mn, 'int'
|
179
|
+
field :mo, 'int'
|
180
|
+
field :mp, 'int'
|
181
|
+
field :mq, 'int'
|
182
|
+
field :mr, 'int'
|
183
|
+
field :ms, 'int'
|
184
|
+
field :mt, 'int'
|
185
|
+
field :mu, 'int'
|
186
|
+
field :mv, 'int'
|
187
|
+
field :mw, 'int'
|
188
|
+
field :mx, 'int'
|
189
|
+
field :my, 'int'
|
190
|
+
field :mz, 'int'
|
191
|
+
field :na, 'int'
|
192
|
+
field :nc, 'int'
|
193
|
+
field :ne, 'int'
|
194
|
+
field :nf, 'int'
|
195
|
+
field :ng, 'int'
|
196
|
+
field :ni, 'int'
|
197
|
+
field :nl, 'int'
|
198
|
+
field :no, 'int'
|
199
|
+
field :np, 'int'
|
200
|
+
field :nr, 'int'
|
201
|
+
field :nu, 'int'
|
202
|
+
field :nz, 'int'
|
203
|
+
field :om, 'int'
|
204
|
+
field :pa, 'int'
|
205
|
+
field :pe, 'int'
|
206
|
+
field :pf, 'int'
|
207
|
+
field :pg, 'int'
|
208
|
+
field :ph, 'int'
|
209
|
+
field :pk, 'int'
|
210
|
+
field :pl, 'int'
|
211
|
+
field :pm, 'int'
|
212
|
+
field :pn, 'int'
|
213
|
+
field :pr, 'int'
|
214
|
+
field :ps, 'int'
|
215
|
+
field :pt, 'int'
|
216
|
+
field :pw, 'int'
|
217
|
+
field :py, 'int'
|
218
|
+
field :qa, 'int'
|
219
|
+
field :re, 'int'
|
220
|
+
field :ro, 'int'
|
221
|
+
field :rs, 'int'
|
222
|
+
field :ru, 'int'
|
223
|
+
field :rw, 'int'
|
224
|
+
field :sa, 'int'
|
225
|
+
field :sb, 'int'
|
226
|
+
field :sc, 'int'
|
227
|
+
field :sd, 'int'
|
228
|
+
field :se, 'int'
|
229
|
+
field :sg, 'int'
|
230
|
+
field :sh, 'int'
|
231
|
+
field :si, 'int'
|
232
|
+
field :sj, 'int'
|
233
|
+
field :sk, 'int'
|
234
|
+
field :sl, 'int'
|
235
|
+
field :sm, 'int'
|
236
|
+
field :sn, 'int'
|
237
|
+
field :so, 'int'
|
238
|
+
field :sr, 'int'
|
239
|
+
field :ss, 'int'
|
240
|
+
field :st, 'int'
|
241
|
+
field :sv, 'int'
|
242
|
+
field :sx, 'int'
|
243
|
+
field :sy, 'int'
|
244
|
+
field :sz, 'int'
|
245
|
+
field :tc, 'int'
|
246
|
+
field :td, 'int'
|
247
|
+
field :tf, 'int'
|
248
|
+
field :tg, 'int'
|
249
|
+
field :th, 'int'
|
250
|
+
field :tj, 'int'
|
251
|
+
field :tk, 'int'
|
252
|
+
field :tl, 'int'
|
253
|
+
field :tm, 'int'
|
254
|
+
field :tn, 'int'
|
255
|
+
field :to, 'int'
|
256
|
+
field :tr, 'int'
|
257
|
+
field :tt, 'int'
|
258
|
+
field :tv, 'int'
|
259
|
+
field :tw, 'int'
|
260
|
+
field :tz, 'int'
|
261
|
+
field :ua, 'int'
|
262
|
+
field :ug, 'int'
|
263
|
+
field :um, 'int'
|
264
|
+
field :us, 'int'
|
265
|
+
field :uy, 'int'
|
266
|
+
field :uz, 'int'
|
267
|
+
field :va, 'int'
|
268
|
+
field :vc, 'int'
|
269
|
+
field :ve, 'int'
|
270
|
+
field :vg, 'int'
|
271
|
+
field :vi, 'int'
|
272
|
+
field :vn, 'int'
|
273
|
+
field :vu, 'int'
|
274
|
+
field :wf, 'int'
|
275
|
+
field :ws, 'int'
|
276
|
+
field :xk, 'int'
|
277
|
+
field :ye, 'int'
|
278
|
+
field :yt, 'int'
|
279
|
+
field :za, 'int'
|
280
|
+
field :zm, 'int'
|
281
|
+
field :zw, 'int'
|
282
|
+
has_no_get
|
283
|
+
has_no_post
|
284
|
+
has_no_delete
|
285
|
+
|
286
|
+
end
|
287
|
+
end
|