facebookads 0.2.11.0 → 0.999
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- metadata +13 -370
- data/LICENSE.txt +0 -17
- data/README.md +0 -222
- data/lib/facebook_ads/ad_object.rb +0 -179
- data/lib/facebook_ads/ad_objects/ad.rb +0 -220
- data/lib/facebook_ads/ad_objects/ad_account.rb +0 -672
- data/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb +0 -45
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +0 -64
- data/lib/facebook_ads/ad_objects/ad_account_roas.rb +0 -97
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +0 -146
- data/lib/facebook_ads/ad_objects/ad_account_user.rb +0 -39
- data/lib/facebook_ads/ad_objects/ad_activity.rb +0 -124
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +0 -90
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_asset_label.rb +0 -37
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_body.rb +0 -39
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_caption.rb +0 -39
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_description.rb +0 -39
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_group_rule.rb +0 -43
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_image.rb +0 -41
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_link_url.rb +0 -41
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_target_rule.rb +0 -45
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_title.rb +0 -39
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_video.rb +0 -41
- data/lib/facebook_ads/ad_objects/ad_async_request.rb +0 -67
- data/lib/facebook_ads/ad_objects/ad_async_request_set.rb +0 -68
- data/lib/facebook_ads/ad_objects/ad_async_request_set_notification_result.rb +0 -38
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +0 -64
- data/lib/facebook_ads/ad_objects/ad_creative.rb +0 -172
- data/lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb +0 -39
- data/lib/facebook_ads/ad_objects/ad_creative_link_data.rb +0 -75
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_app_link_spec.rb +0 -40
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +0 -80
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action_value.rb +0 -46
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_child_attachment.rb +0 -47
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_image_overlay_spec.rb +0 -94
- data/lib/facebook_ads/ad_objects/ad_creative_object_story_spec.rb +0 -43
- data/lib/facebook_ads/ad_objects/ad_creative_offer_data.rb +0 -44
- data/lib/facebook_ads/ad_objects/ad_creative_photo_data.rb +0 -43
- data/lib/facebook_ads/ad_objects/ad_creative_place_data.rb +0 -42
- data/lib/facebook_ads/ad_objects/ad_creative_post_click_configuration.rb +0 -38
- data/lib/facebook_ads/ad_objects/ad_creative_text_data.rb +0 -37
- data/lib/facebook_ads/ad_objects/ad_creative_video_data.rb +0 -53
- data/lib/facebook_ads/ad_objects/ad_image.rb +0 -58
- data/lib/facebook_ads/ad_objects/ad_keyword_stats.rb +0 -55
- data/lib/facebook_ads/ad_objects/ad_label.rb +0 -57
- data/lib/facebook_ads/ad_objects/ad_place_page_set.rb +0 -44
- data/lib/facebook_ads/ad_objects/ad_preview.rb +0 -56
- data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +0 -64
- data/lib/facebook_ads/ad_objects/ad_recommendation.rb +0 -55
- data/lib/facebook_ads/ad_objects/ad_recommendation_data.rb +0 -37
- data/lib/facebook_ads/ad_objects/ad_report_run.rb +0 -71
- data/lib/facebook_ads/ad_objects/ad_rule.rb +0 -56
- data/lib/facebook_ads/ad_objects/ad_rule_evaluation_spec.rb +0 -44
- data/lib/facebook_ads/ad_objects/ad_rule_execution_options.rb +0 -44
- data/lib/facebook_ads/ad_objects/ad_rule_execution_spec.rb +0 -49
- data/lib/facebook_ads/ad_objects/ad_rule_filters.rb +0 -55
- data/lib/facebook_ads/ad_objects/ad_rule_history.rb +0 -58
- data/lib/facebook_ads/ad_objects/ad_rule_history_result.rb +0 -45
- data/lib/facebook_ads/ad_objects/ad_rule_history_result_action.rb +0 -40
- data/lib/facebook_ads/ad_objects/ad_rule_schedule.rb +0 -39
- data/lib/facebook_ads/ad_objects/ad_rule_schedule_spec.rb +0 -38
- data/lib/facebook_ads/ad_objects/ad_rule_trigger.rb +0 -63
- data/lib/facebook_ads/ad_objects/ad_set.rb +0 -298
- data/lib/facebook_ads/ad_objects/ad_study.rb +0 -70
- data/lib/facebook_ads/ad_objects/ad_study_cell.rb +0 -39
- data/lib/facebook_ads/ad_objects/ad_study_objective.rb +0 -60
- data/lib/facebook_ads/ad_objects/ad_video.rb +0 -25
- data/lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb +0 -43
- data/lib/facebook_ads/ad_objects/adgroup_relevance_score.rb +0 -40
- data/lib/facebook_ads/ad_objects/adgroup_review_feedback.rb +0 -38
- data/lib/facebook_ads/ad_objects/ads_action_stats.rb +0 -55
- data/lib/facebook_ads/ad_objects/ads_data_partner.rb +0 -37
- data/lib/facebook_ads/ad_objects/ads_image_crops.rb +0 -43
- data/lib/facebook_ads/ad_objects/ads_insights.rb +0 -217
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +0 -67
- data/lib/facebook_ads/ad_objects/ads_pixel_stats.rb +0 -40
- data/lib/facebook_ads/ad_objects/ads_pixel_stats_result.rb +0 -50
- data/lib/facebook_ads/ad_objects/agency_client_declaration.rb +0 -48
- data/lib/facebook_ads/ad_objects/android_app_link.rb +0 -40
- data/lib/facebook_ads/ad_objects/app_links.rb +0 -43
- data/lib/facebook_ads/ad_objects/broad_targeting_categories.rb +0 -46
- data/lib/facebook_ads/ad_objects/business.rb +0 -195
- data/lib/facebook_ads/ad_objects/business_ad_account_request.rb +0 -37
- data/lib/facebook_ads/ad_objects/business_page_request.rb +0 -37
- data/lib/facebook_ads/ad_objects/campaign.rb +0 -227
- data/lib/facebook_ads/ad_objects/check_batch_request_status.rb +0 -40
- data/lib/facebook_ads/ad_objects/conversion_action_query.rb +0 -62
- data/lib/facebook_ads/ad_objects/custom_audience.rb +0 -173
- data/lib/facebook_ads/ad_objects/custom_audience_ad_account.rb +0 -36
- data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +0 -104
- data/lib/facebook_ads/ad_objects/custom_audience_permission.rb +0 -41
- data/lib/facebook_ads/ad_objects/custom_audience_prefill_state.rb +0 -39
- data/lib/facebook_ads/ad_objects/custom_audience_session.rb +0 -44
- data/lib/facebook_ads/ad_objects/custom_audience_status.rb +0 -38
- data/lib/facebook_ads/ad_objects/custom_audiences_tos.rb +0 -38
- data/lib/facebook_ads/ad_objects/custom_conversion.rb +0 -88
- data/lib/facebook_ads/ad_objects/custom_conversion_stats_result.rb +0 -50
- data/lib/facebook_ads/ad_objects/day_part.rb +0 -40
- data/lib/facebook_ads/ad_objects/delivery_check.rb +0 -40
- data/lib/facebook_ads/ad_objects/delivery_check_extra_info.rb +0 -39
- data/lib/facebook_ads/ad_objects/delivery_estimate.rb +0 -41
- data/lib/facebook_ads/ad_objects/domain.rb +0 -37
- data/lib/facebook_ads/ad_objects/event.rb +0 -80
- data/lib/facebook_ads/ad_objects/event_source_group.rb +0 -43
- data/lib/facebook_ads/ad_objects/external_event_source.rb +0 -38
- data/lib/facebook_ads/ad_objects/flexible_targeting.rb +0 -64
- data/lib/facebook_ads/ad_objects/funding_source_details.rb +0 -39
- data/lib/facebook_ads/ad_objects/funding_source_details_coupon.rb +0 -40
- data/lib/facebook_ads/ad_objects/helpers/custom_audience_helpers.rb +0 -170
- data/lib/facebook_ads/ad_objects/hotel.rb +0 -61
- data/lib/facebook_ads/ad_objects/hotel_room.rb +0 -44
- data/lib/facebook_ads/ad_objects/id_name.rb +0 -37
- data/lib/facebook_ads/ad_objects/ios_app_link.rb +0 -39
- data/lib/facebook_ads/ad_objects/lead.rb +0 -47
- data/lib/facebook_ads/ad_objects/lead_gen_qualifier.rb +0 -40
- data/lib/facebook_ads/ad_objects/lead_gen_question.rb +0 -43
- data/lib/facebook_ads/ad_objects/lead_gen_question_option.rb +0 -38
- data/lib/facebook_ads/ad_objects/leadgen_form.rb +0 -73
- data/lib/facebook_ads/ad_objects/legacy_business_ad_account_request.rb +0 -38
- data/lib/facebook_ads/ad_objects/lookalike_spec.rb +0 -43
- data/lib/facebook_ads/ad_objects/minimum_budget.rb +0 -41
- data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +0 -99
- data/lib/facebook_ads/ad_objects/offsite_pixel.rb +0 -57
- data/lib/facebook_ads/ad_objects/outcome_prediction_point.rb +0 -40
- data/lib/facebook_ads/ad_objects/partner_category.rb +0 -51
- data/lib/facebook_ads/ad_objects/product_catalog.rb +0 -287
- data/lib/facebook_ads/ad_objects/product_catalog_hotel_rooms_batch.rb +0 -50
- data/lib/facebook_ads/ad_objects/product_catalog_image_settings.rb +0 -38
- data/lib/facebook_ads/ad_objects/product_catalog_image_settings_operation.rb +0 -37
- data/lib/facebook_ads/ad_objects/product_catalog_pricing_variables_batch.rb +0 -50
- data/lib/facebook_ads/ad_objects/product_feed.rb +0 -91
- data/lib/facebook_ads/ad_objects/product_feed_schedule.rb +0 -62
- data/lib/facebook_ads/ad_objects/product_feed_upload.rb +0 -50
- data/lib/facebook_ads/ad_objects/product_feed_upload_error.rb +0 -49
- data/lib/facebook_ads/ad_objects/product_feed_upload_error_sample.rb +0 -37
- data/lib/facebook_ads/ad_objects/product_group.rb +0 -94
- data/lib/facebook_ads/ad_objects/product_item.rb +0 -148
- data/lib/facebook_ads/ad_objects/product_item_commerce_insights.rb +0 -39
- data/lib/facebook_ads/ad_objects/product_set.rb +0 -45
- data/lib/facebook_ads/ad_objects/product_variant.rb +0 -39
- data/lib/facebook_ads/ad_objects/profile_picture_source.rb +0 -52
- data/lib/facebook_ads/ad_objects/rate_card.rb +0 -39
- data/lib/facebook_ads/ad_objects/reach_estimate.rb +0 -62
- data/lib/facebook_ads/ad_objects/reach_frequency_prediction.rb +0 -89
- data/lib/facebook_ads/ad_objects/reach_frequency_spec.rb +0 -43
- data/lib/facebook_ads/ad_objects/rev_share_policy.rb +0 -38
- data/lib/facebook_ads/ad_objects/roas_cohorts_data.rb +0 -41
- data/lib/facebook_ads/ad_objects/roas_cohorts_per_cohort_interval_unit.rb +0 -38
- data/lib/facebook_ads/ad_objects/targeting.rb +0 -133
- data/lib/facebook_ads/ad_objects/targeting_dynamic_rule.rb +0 -44
- data/lib/facebook_ads/ad_objects/targeting_geo_location.rb +0 -47
- data/lib/facebook_ads/ad_objects/targeting_geo_location_city.rb +0 -43
- data/lib/facebook_ads/ad_objects/targeting_geo_location_custom_location.rb +0 -50
- data/lib/facebook_ads/ad_objects/targeting_geo_location_electoral_district.rb +0 -40
- data/lib/facebook_ads/ad_objects/targeting_geo_location_market.rb +0 -40
- data/lib/facebook_ads/ad_objects/targeting_geo_location_place.rb +0 -45
- data/lib/facebook_ads/ad_objects/targeting_geo_location_political_district.rb +0 -40
- data/lib/facebook_ads/ad_objects/targeting_geo_location_region.rb +0 -39
- data/lib/facebook_ads/ad_objects/targeting_geo_location_zip.rb +0 -41
- data/lib/facebook_ads/ad_objects/targeting_product_audience_spec.rb +0 -39
- data/lib/facebook_ads/ad_objects/targeting_product_audience_sub_spec.rb +0 -38
- data/lib/facebook_ads/ad_objects/targeting_sentence_line.rb +0 -38
- data/lib/facebook_ads/ad_objects/transaction.rb +0 -57
- data/lib/facebook_ads/ad_objects/transaction_currency_amount.rb +0 -39
- data/lib/facebook_ads/ad_objects/user.rb +0 -130
- data/lib/facebook_ads/ad_objects/user_lead_gen_disclaimer_response.rb +0 -38
- data/lib/facebook_ads/ad_objects/user_lead_gen_field_data.rb +0 -38
- data/lib/facebook_ads/ad_objects/video_thumbnail.rb +0 -42
- data/lib/facebook_ads/ad_objects/web_app_link.rb +0 -38
- data/lib/facebook_ads/ad_objects/windows_app_link.rb +0 -40
- data/lib/facebook_ads/ad_objects/windows_phone_app_link.rb +0 -39
- data/lib/facebook_ads/api_request.rb +0 -123
- data/lib/facebook_ads/api_response.rb +0 -47
- data/lib/facebook_ads/batch_api/batch.rb +0 -86
- data/lib/facebook_ads/batch_api/batch_proxy.rb +0 -67
- data/lib/facebook_ads/config.rb +0 -43
- data/lib/facebook_ads/edge.rb +0 -184
- data/lib/facebook_ads/errors.rb +0 -55
- data/lib/facebook_ads/field_types/ad_object.rb +0 -37
- data/lib/facebook_ads/field_types/base.rb +0 -33
- data/lib/facebook_ads/field_types/boolean.rb +0 -25
- data/lib/facebook_ads/field_types/datetime.rb +0 -51
- data/lib/facebook_ads/field_types/double.rb +0 -29
- data/lib/facebook_ads/field_types/enum.rb +0 -31
- data/lib/facebook_ads/field_types/integer.rb +0 -33
- data/lib/facebook_ads/field_types/list.rb +0 -57
- data/lib/facebook_ads/field_types/object.rb +0 -33
- data/lib/facebook_ads/field_types/string_type.rb +0 -34
- data/lib/facebook_ads/field_types/upload_file.rb +0 -121
- data/lib/facebook_ads/field_types.rb +0 -65
- data/lib/facebook_ads/fields.rb +0 -66
- data/lib/facebook_ads/helpers/edge_helpers.rb +0 -57
- data/lib/facebook_ads/helpers/node_helpers.rb +0 -80
- data/lib/facebook_ads/helpers/shortcuts.rb +0 -34
- data/lib/facebook_ads/param_set.rb +0 -74
- data/lib/facebook_ads/ruby2patch.rb +0 -27
- data/lib/facebook_ads/session.rb +0 -98
- data/lib/facebook_ads/utils/utils.rb +0 -29
- data/lib/facebook_ads/version.rb +0 -24
- data/lib/facebook_ads/videos/video_io.rb +0 -25
- data/lib/facebook_ads/videos/video_request.rb +0 -42
- data/lib/facebook_ads.rb +0 -72
- data/lib/facebookads.rb +0 -1
@@ -1,91 +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 ProductFeed < AdObject
|
29
|
-
DELIMITER = [
|
30
|
-
"AUTODETECT",
|
31
|
-
"BAR",
|
32
|
-
"COMMA",
|
33
|
-
"TAB",
|
34
|
-
"TILDE",
|
35
|
-
"SEMICOLON",
|
36
|
-
]
|
37
|
-
|
38
|
-
QUOTED_FIELDS_MODE = [
|
39
|
-
"AUTODETECT",
|
40
|
-
"ON",
|
41
|
-
"OFF",
|
42
|
-
]
|
43
|
-
|
44
|
-
ENCODING = [
|
45
|
-
"AUTODETECT",
|
46
|
-
"LATIN1",
|
47
|
-
"UTF8",
|
48
|
-
"UTF16LE",
|
49
|
-
"UTF16BE",
|
50
|
-
"UTF32LE",
|
51
|
-
"UTF32BE",
|
52
|
-
]
|
53
|
-
|
54
|
-
|
55
|
-
field :country, 'string'
|
56
|
-
field :created_time, 'datetime'
|
57
|
-
field :default_currency, 'string'
|
58
|
-
field :deletion_enabled, 'bool'
|
59
|
-
field :delimiter, { enum: -> { DELIMITER }}
|
60
|
-
field :encoding, 'string'
|
61
|
-
field :file_name, 'string'
|
62
|
-
field :id, 'string'
|
63
|
-
field :latest_upload, 'ProductFeedUpload'
|
64
|
-
field :name, 'string'
|
65
|
-
field :product_count, 'int'
|
66
|
-
field :qualified_product_count, 'int'
|
67
|
-
field :quoted_fields_mode, { enum: -> { QUOTED_FIELDS_MODE }}
|
68
|
-
field :schedule, 'ProductFeedSchedule'
|
69
|
-
field :update_schedule, 'ProductFeedSchedule'
|
70
|
-
field :rules, { list: 'string' }
|
71
|
-
|
72
|
-
has_edge :products do |edge|
|
73
|
-
edge.get 'ProductItem' do |api|
|
74
|
-
api.has_param :bulk_pagination, 'bool'
|
75
|
-
api.has_param :filter, 'object'
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
has_edge :uploads do |edge|
|
80
|
-
edge.get 'ProductFeedUpload'
|
81
|
-
edge.post 'ProductFeedUpload' do |api|
|
82
|
-
api.has_param :file, 'file'
|
83
|
-
api.has_param :password, 'string'
|
84
|
-
api.has_param :update_only, 'bool'
|
85
|
-
api.has_param :url, 'string'
|
86
|
-
api.has_param :username, 'string'
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
|
-
end
|
91
|
-
end
|
@@ -1,62 +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 ProductFeedSchedule < AdObject
|
29
|
-
DAY_OF_WEEK = [
|
30
|
-
"SUNDAY",
|
31
|
-
"MONDAY",
|
32
|
-
"TUESDAY",
|
33
|
-
"WEDNESDAY",
|
34
|
-
"THURSDAY",
|
35
|
-
"FRIDAY",
|
36
|
-
"SATURDAY",
|
37
|
-
]
|
38
|
-
|
39
|
-
INTERVAL = [
|
40
|
-
"HOURLY",
|
41
|
-
"DAILY",
|
42
|
-
"WEEKLY",
|
43
|
-
"MONTHLY",
|
44
|
-
]
|
45
|
-
|
46
|
-
|
47
|
-
field :day_of_month, 'int'
|
48
|
-
field :day_of_week, { enum: -> { DAY_OF_WEEK }}
|
49
|
-
field :hour, 'int'
|
50
|
-
field :interval, { enum: -> { INTERVAL }}
|
51
|
-
field :interval_count, 'int'
|
52
|
-
field :minute, 'int'
|
53
|
-
field :timezone, 'string'
|
54
|
-
field :url, 'string'
|
55
|
-
field :username, 'string'
|
56
|
-
has_no_id
|
57
|
-
has_no_get
|
58
|
-
has_no_post
|
59
|
-
has_no_delete
|
60
|
-
|
61
|
-
end
|
62
|
-
end
|
@@ -1,50 +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 ProductFeedUpload < AdObject
|
29
|
-
INPUT_METHOD = [
|
30
|
-
"Manual Upload",
|
31
|
-
"Server Fetch",
|
32
|
-
"Reupload Last File",
|
33
|
-
"User initiated server fetch",
|
34
|
-
]
|
35
|
-
|
36
|
-
|
37
|
-
field :end_time, 'datetime'
|
38
|
-
field :id, 'string'
|
39
|
-
field :input_method, { enum: -> { INPUT_METHOD }}
|
40
|
-
field :start_time, 'datetime'
|
41
|
-
field :url, 'string'
|
42
|
-
has_no_post
|
43
|
-
has_no_delete
|
44
|
-
|
45
|
-
has_edge :errors do |edge|
|
46
|
-
edge.get 'ProductFeedUploadError'
|
47
|
-
end
|
48
|
-
|
49
|
-
end
|
50
|
-
end
|
@@ -1,49 +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 ProductFeedUploadError < AdObject
|
29
|
-
SEVERITY = [
|
30
|
-
"fatal",
|
31
|
-
"warning",
|
32
|
-
]
|
33
|
-
|
34
|
-
|
35
|
-
field :description, 'string'
|
36
|
-
field :error_type, 'string'
|
37
|
-
field :id, 'string'
|
38
|
-
field :severity, { enum: -> { SEVERITY }}
|
39
|
-
field :summary, 'string'
|
40
|
-
field :total_count, 'int'
|
41
|
-
has_no_post
|
42
|
-
has_no_delete
|
43
|
-
|
44
|
-
has_edge :samples do |edge|
|
45
|
-
edge.get 'ProductFeedUploadErrorSample'
|
46
|
-
end
|
47
|
-
|
48
|
-
end
|
49
|
-
end
|
@@ -1,37 +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 ProductFeedUploadErrorSample < AdObject
|
29
|
-
|
30
|
-
field :id, 'string'
|
31
|
-
field :retailer_id, 'string'
|
32
|
-
field :row_number, 'int'
|
33
|
-
has_no_post
|
34
|
-
has_no_delete
|
35
|
-
|
36
|
-
end
|
37
|
-
end
|
@@ -1,94 +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 ProductGroup < AdObject
|
29
|
-
|
30
|
-
field :id, 'string'
|
31
|
-
field :product_catalog, 'ProductCatalog'
|
32
|
-
field :retailer_id, 'string'
|
33
|
-
field :variants, { list: 'ProductVariant' }
|
34
|
-
|
35
|
-
has_edge :products do |edge|
|
36
|
-
edge.get 'ProductItem'
|
37
|
-
edge.post 'ProductItem' do |api|
|
38
|
-
api.has_param :additional_image_urls, { list: 'string' }
|
39
|
-
api.has_param :android_app_name, 'string'
|
40
|
-
api.has_param :android_class, 'string'
|
41
|
-
api.has_param :android_package, 'string'
|
42
|
-
api.has_param :android_url, 'string'
|
43
|
-
api.has_param :availability, { enum: -> { ProductItem::AVAILABILITY }}
|
44
|
-
api.has_param :brand, 'string'
|
45
|
-
api.has_param :category, 'string'
|
46
|
-
api.has_param :checkout_url, 'string'
|
47
|
-
api.has_param :color, 'string'
|
48
|
-
api.has_param :condition, { enum: -> { ProductItem::CONDITION }}
|
49
|
-
api.has_param :currency, 'string'
|
50
|
-
api.has_param :custom_data, 'hash'
|
51
|
-
api.has_param :custom_label_0, 'string'
|
52
|
-
api.has_param :custom_label_1, 'string'
|
53
|
-
api.has_param :custom_label_2, 'string'
|
54
|
-
api.has_param :custom_label_3, 'string'
|
55
|
-
api.has_param :custom_label_4, 'string'
|
56
|
-
api.has_param :description, 'string'
|
57
|
-
api.has_param :expiration_date, 'string'
|
58
|
-
api.has_param :gender, { enum: -> { ProductItem::GENDER }}
|
59
|
-
api.has_param :gtin, 'string'
|
60
|
-
api.has_param :image_url, 'string'
|
61
|
-
api.has_param :inventory, 'int'
|
62
|
-
api.has_param :ios_app_name, 'string'
|
63
|
-
api.has_param :ios_app_store_id, 'int'
|
64
|
-
api.has_param :ios_url, 'string'
|
65
|
-
api.has_param :ipad_app_name, 'string'
|
66
|
-
api.has_param :ipad_app_store_id, 'int'
|
67
|
-
api.has_param :ipad_url, 'string'
|
68
|
-
api.has_param :iphone_app_name, 'string'
|
69
|
-
api.has_param :iphone_app_store_id, 'int'
|
70
|
-
api.has_param :iphone_url, 'string'
|
71
|
-
api.has_param :manufacturer_part_number, 'string'
|
72
|
-
api.has_param :material, 'string'
|
73
|
-
api.has_param :name, 'string'
|
74
|
-
api.has_param :ordering_index, 'int'
|
75
|
-
api.has_param :pattern, 'string'
|
76
|
-
api.has_param :price, 'int'
|
77
|
-
api.has_param :product_type, 'string'
|
78
|
-
api.has_param :retailer_id, 'string'
|
79
|
-
api.has_param :sale_price, 'int'
|
80
|
-
api.has_param :sale_price_end_date, 'datetime'
|
81
|
-
api.has_param :sale_price_start_date, 'datetime'
|
82
|
-
api.has_param :short_description, 'string'
|
83
|
-
api.has_param :size, 'string'
|
84
|
-
api.has_param :start_date, 'string'
|
85
|
-
api.has_param :url, 'string'
|
86
|
-
api.has_param :visibility, { enum: -> { ProductItem::VISIBILITY }}
|
87
|
-
api.has_param :windows_phone_app_id, 'string'
|
88
|
-
api.has_param :windows_phone_app_name, 'string'
|
89
|
-
api.has_param :windows_phone_url, 'string'
|
90
|
-
end
|
91
|
-
end
|
92
|
-
|
93
|
-
end
|
94
|
-
end
|
@@ -1,148 +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 ProductItem < AdObject
|
29
|
-
AGE_GROUP = [
|
30
|
-
"adult",
|
31
|
-
"infant",
|
32
|
-
"kids",
|
33
|
-
"newborn",
|
34
|
-
"toddler",
|
35
|
-
]
|
36
|
-
|
37
|
-
AVAILABILITY = [
|
38
|
-
"in stock",
|
39
|
-
"out of stock",
|
40
|
-
"preorder",
|
41
|
-
"available for order",
|
42
|
-
"discontinued",
|
43
|
-
]
|
44
|
-
|
45
|
-
CONDITION = [
|
46
|
-
"new",
|
47
|
-
"refurbished",
|
48
|
-
"used",
|
49
|
-
]
|
50
|
-
|
51
|
-
GENDER = [
|
52
|
-
"female",
|
53
|
-
"male",
|
54
|
-
"unisex",
|
55
|
-
]
|
56
|
-
|
57
|
-
REVIEW_STATUS = [
|
58
|
-
"",
|
59
|
-
"pending",
|
60
|
-
"rejected",
|
61
|
-
"approved",
|
62
|
-
"outdated",
|
63
|
-
]
|
64
|
-
|
65
|
-
SHIPPING_WEIGHT_UNIT = [
|
66
|
-
"g",
|
67
|
-
"kg",
|
68
|
-
"oz",
|
69
|
-
"lb",
|
70
|
-
]
|
71
|
-
|
72
|
-
VISIBILITY = [
|
73
|
-
"staging",
|
74
|
-
"published",
|
75
|
-
]
|
76
|
-
|
77
|
-
|
78
|
-
field :additional_image_urls, { list: 'string' }
|
79
|
-
field :age_group, { enum: -> { AGE_GROUP }}
|
80
|
-
field :applinks, 'AppLinks'
|
81
|
-
field :availability, { enum: -> { AVAILABILITY }}
|
82
|
-
field :brand, 'string'
|
83
|
-
field :category, 'string'
|
84
|
-
field :color, 'string'
|
85
|
-
field :commerce_insights, 'ProductItemCommerceInsights'
|
86
|
-
field :condition, { enum: -> { CONDITION }}
|
87
|
-
field :currency, 'string'
|
88
|
-
field :custom_data, { list: 'object' }
|
89
|
-
field :custom_label_0, 'string'
|
90
|
-
field :custom_label_1, 'string'
|
91
|
-
field :custom_label_2, 'string'
|
92
|
-
field :custom_label_3, 'string'
|
93
|
-
field :custom_label_4, 'string'
|
94
|
-
field :description, 'string'
|
95
|
-
field :expiration_date, 'string'
|
96
|
-
field :gender, { enum: -> { GENDER }}
|
97
|
-
field :gtin, 'string'
|
98
|
-
field :id, 'string'
|
99
|
-
field :image_url, 'string'
|
100
|
-
field :manufacturer_part_number, 'string'
|
101
|
-
field :material, 'string'
|
102
|
-
field :name, 'string'
|
103
|
-
field :ordering_index, 'int'
|
104
|
-
field :pattern, 'string'
|
105
|
-
field :price, 'string'
|
106
|
-
field :product_catalog, 'ProductCatalog'
|
107
|
-
field :product_feed, 'ProductFeed'
|
108
|
-
field :product_group, 'ProductGroup'
|
109
|
-
field :product_type, 'string'
|
110
|
-
field :retailer_id, 'string'
|
111
|
-
field :retailer_product_group_id, 'string'
|
112
|
-
field :review_rejection_reasons, { list: 'string' }
|
113
|
-
field :review_status, { enum: -> { REVIEW_STATUS }}
|
114
|
-
field :sale_price, 'string'
|
115
|
-
field :sale_price_end_date, 'string'
|
116
|
-
field :sale_price_start_date, 'string'
|
117
|
-
field :shipping_weight_unit, { enum: -> { SHIPPING_WEIGHT_UNIT }}
|
118
|
-
field :shipping_weight_value, 'double'
|
119
|
-
field :short_description, 'string'
|
120
|
-
field :size, 'string'
|
121
|
-
field :start_date, 'string'
|
122
|
-
field :url, 'string'
|
123
|
-
field :visibility, { enum: -> { VISIBILITY }}
|
124
|
-
field :android_app_name, 'string'
|
125
|
-
field :android_class, 'string'
|
126
|
-
field :android_package, 'string'
|
127
|
-
field :android_url, 'string'
|
128
|
-
field :checkout_url, 'string'
|
129
|
-
field :inventory, 'int'
|
130
|
-
field :ios_app_name, 'string'
|
131
|
-
field :ios_app_store_id, 'int'
|
132
|
-
field :ios_url, 'string'
|
133
|
-
field :ipad_app_name, 'string'
|
134
|
-
field :ipad_app_store_id, 'int'
|
135
|
-
field :ipad_url, 'string'
|
136
|
-
field :iphone_app_name, 'string'
|
137
|
-
field :iphone_app_store_id, 'int'
|
138
|
-
field :iphone_url, 'string'
|
139
|
-
field :windows_phone_app_id, 'string'
|
140
|
-
field :windows_phone_app_name, 'string'
|
141
|
-
field :windows_phone_url, 'string'
|
142
|
-
|
143
|
-
has_edge :product_sets do |edge|
|
144
|
-
edge.get 'ProductSet'
|
145
|
-
end
|
146
|
-
|
147
|
-
end
|
148
|
-
end
|
@@ -1,39 +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 ProductItemCommerceInsights < AdObject
|
29
|
-
|
30
|
-
field :message_sends, 'int'
|
31
|
-
field :organic_impressions, 'int'
|
32
|
-
field :paid_impressions, 'int'
|
33
|
-
has_no_id
|
34
|
-
has_no_get
|
35
|
-
has_no_post
|
36
|
-
has_no_delete
|
37
|
-
|
38
|
-
end
|
39
|
-
end
|
@@ -1,45 +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 ProductSet < AdObject
|
29
|
-
|
30
|
-
field :auto_creation_url, 'string'
|
31
|
-
field :filter, 'string'
|
32
|
-
field :id, 'string'
|
33
|
-
field :name, 'string'
|
34
|
-
field :product_catalog, 'ProductCatalog'
|
35
|
-
field :product_count, 'int'
|
36
|
-
|
37
|
-
has_edge :products do |edge|
|
38
|
-
edge.get 'ProductItem' do |api|
|
39
|
-
api.has_param :bulk_pagination, 'bool'
|
40
|
-
api.has_param :filter, 'object'
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
end
|
45
|
-
end
|
@@ -1,39 +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 ProductVariant < AdObject
|
29
|
-
|
30
|
-
field :label, 'string'
|
31
|
-
field :options, { list: 'string' }
|
32
|
-
field :product_field, 'string'
|
33
|
-
has_no_id
|
34
|
-
has_no_get
|
35
|
-
has_no_post
|
36
|
-
has_no_delete
|
37
|
-
|
38
|
-
end
|
39
|
-
end
|