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,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 TargetingGeoLocationCustomLocation < AdObject
|
29
|
-
|
30
|
-
field :address_string, 'string'
|
31
|
-
field :country, 'string'
|
32
|
-
field :country_group, 'string'
|
33
|
-
field :custom_type, 'string'
|
34
|
-
field :distance_unit, 'string'
|
35
|
-
field :key, 'string'
|
36
|
-
field :latitude, 'double'
|
37
|
-
field :longitude, 'double'
|
38
|
-
field :max_population, 'int'
|
39
|
-
field :min_population, 'int'
|
40
|
-
field :name, 'string'
|
41
|
-
field :primary_city_id, 'int'
|
42
|
-
field :radius, 'double'
|
43
|
-
field :region_id, 'int'
|
44
|
-
has_no_id
|
45
|
-
has_no_get
|
46
|
-
has_no_post
|
47
|
-
has_no_delete
|
48
|
-
|
49
|
-
end
|
50
|
-
end
|
@@ -1,40 +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 TargetingGeoLocationElectoralDistrict < AdObject
|
29
|
-
|
30
|
-
field :country, 'string'
|
31
|
-
field :electoral_district, 'string'
|
32
|
-
field :key, 'string'
|
33
|
-
field :name, 'string'
|
34
|
-
has_no_id
|
35
|
-
has_no_get
|
36
|
-
has_no_post
|
37
|
-
has_no_delete
|
38
|
-
|
39
|
-
end
|
40
|
-
end
|
@@ -1,40 +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 TargetingGeoLocationMarket < AdObject
|
29
|
-
|
30
|
-
field :country, 'string'
|
31
|
-
field :key, 'string'
|
32
|
-
field :market_type, 'string'
|
33
|
-
field :name, 'string'
|
34
|
-
has_no_id
|
35
|
-
has_no_get
|
36
|
-
has_no_post
|
37
|
-
has_no_delete
|
38
|
-
|
39
|
-
end
|
40
|
-
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 TargetingGeoLocationPlace < AdObject
|
29
|
-
|
30
|
-
field :country, 'string'
|
31
|
-
field :distance_unit, 'string'
|
32
|
-
field :key, 'string'
|
33
|
-
field :latitude, 'double'
|
34
|
-
field :longitude, 'double'
|
35
|
-
field :name, 'string'
|
36
|
-
field :primary_city_id, 'int'
|
37
|
-
field :radius, 'double'
|
38
|
-
field :region_id, 'int'
|
39
|
-
has_no_id
|
40
|
-
has_no_get
|
41
|
-
has_no_post
|
42
|
-
has_no_delete
|
43
|
-
|
44
|
-
end
|
45
|
-
end
|
@@ -1,40 +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 TargetingGeoLocationPoliticalDistrict < AdObject
|
29
|
-
|
30
|
-
field :country, 'string'
|
31
|
-
field :key, 'string'
|
32
|
-
field :name, 'string'
|
33
|
-
field :political_district, 'string'
|
34
|
-
has_no_id
|
35
|
-
has_no_get
|
36
|
-
has_no_post
|
37
|
-
has_no_delete
|
38
|
-
|
39
|
-
end
|
40
|
-
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 TargetingGeoLocationRegion < AdObject
|
29
|
-
|
30
|
-
field :country, 'string'
|
31
|
-
field :key, 'string'
|
32
|
-
field :name, 'string'
|
33
|
-
has_no_id
|
34
|
-
has_no_get
|
35
|
-
has_no_post
|
36
|
-
has_no_delete
|
37
|
-
|
38
|
-
end
|
39
|
-
end
|
@@ -1,41 +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 TargetingGeoLocationZip < AdObject
|
29
|
-
|
30
|
-
field :country, 'string'
|
31
|
-
field :key, 'string'
|
32
|
-
field :name, 'string'
|
33
|
-
field :primary_city_id, 'int'
|
34
|
-
field :region_id, 'int'
|
35
|
-
has_no_id
|
36
|
-
has_no_get
|
37
|
-
has_no_post
|
38
|
-
has_no_delete
|
39
|
-
|
40
|
-
end
|
41
|
-
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 TargetingProductAudienceSpec < AdObject
|
29
|
-
|
30
|
-
field :exclusions, { list: 'TargetingProductAudienceSubSpec' }
|
31
|
-
field :inclusions, { list: 'TargetingProductAudienceSubSpec' }
|
32
|
-
field :product_set_id, 'string'
|
33
|
-
has_no_id
|
34
|
-
has_no_get
|
35
|
-
has_no_post
|
36
|
-
has_no_delete
|
37
|
-
|
38
|
-
end
|
39
|
-
end
|
@@ -1,38 +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 TargetingProductAudienceSubSpec < AdObject
|
29
|
-
|
30
|
-
field :retention_seconds, 'string'
|
31
|
-
field :rule, 'string'
|
32
|
-
has_no_id
|
33
|
-
has_no_get
|
34
|
-
has_no_post
|
35
|
-
has_no_delete
|
36
|
-
|
37
|
-
end
|
38
|
-
end
|
@@ -1,38 +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 TargetingSentenceLine < AdObject
|
29
|
-
|
30
|
-
field :id, 'string'
|
31
|
-
field :params, 'Targeting'
|
32
|
-
field :targetingsentencelines, { list: 'string' }
|
33
|
-
has_no_get
|
34
|
-
has_no_post
|
35
|
-
has_no_delete
|
36
|
-
|
37
|
-
end
|
38
|
-
end
|
@@ -1,57 +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 Transaction < AdObject
|
29
|
-
PRODUCT_TYPE = [
|
30
|
-
"facebook_ad",
|
31
|
-
"ig_ad",
|
32
|
-
]
|
33
|
-
|
34
|
-
|
35
|
-
field :account_id, 'string'
|
36
|
-
field :app_amount, 'TransactionCurrencyAmount'
|
37
|
-
field :billing_end_time, 'int'
|
38
|
-
field :billing_reason, 'string'
|
39
|
-
field :billing_start_time, 'int'
|
40
|
-
field :charge_type, 'string'
|
41
|
-
field :checkout_campaign_group_id, 'string'
|
42
|
-
field :credential_id, 'string'
|
43
|
-
field :fatura_id, 'int'
|
44
|
-
field :id, 'string'
|
45
|
-
field :is_business_ec_charge, 'bool'
|
46
|
-
field :payment_option, 'string'
|
47
|
-
field :product_type, { enum: -> { PRODUCT_TYPE }}
|
48
|
-
field :provider_amount, 'TransactionCurrencyAmount'
|
49
|
-
field :status, 'string'
|
50
|
-
field :time, 'int'
|
51
|
-
field :tracking_id, 'string'
|
52
|
-
has_no_get
|
53
|
-
has_no_post
|
54
|
-
has_no_delete
|
55
|
-
|
56
|
-
end
|
57
|
-
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 TransactionCurrencyAmount < AdObject
|
29
|
-
|
30
|
-
field :amount, 'string'
|
31
|
-
field :currency, 'string'
|
32
|
-
field :total_amount, 'string'
|
33
|
-
has_no_id
|
34
|
-
has_no_get
|
35
|
-
has_no_post
|
36
|
-
has_no_delete
|
37
|
-
|
38
|
-
end
|
39
|
-
end
|
@@ -1,130 +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 User < AdObject
|
29
|
-
|
30
|
-
field :about, 'string'
|
31
|
-
field :admin_notes, { list: 'object' }
|
32
|
-
field :age_range, 'object'
|
33
|
-
field :birthday, 'string'
|
34
|
-
field :can_review_measurement_request, 'bool'
|
35
|
-
field :context, 'object'
|
36
|
-
field :cover, 'object'
|
37
|
-
field :currency, 'object'
|
38
|
-
field :devices, { list: 'object' }
|
39
|
-
field :education, { list: 'object' }
|
40
|
-
field :email, 'string'
|
41
|
-
field :employee_number, 'string'
|
42
|
-
field :favorite_athletes, { list: 'object' }
|
43
|
-
field :favorite_teams, { list: 'object' }
|
44
|
-
field :first_name, 'string'
|
45
|
-
field :gender, 'string'
|
46
|
-
field :hometown, 'object'
|
47
|
-
field :id, 'string'
|
48
|
-
field :inspirational_people, { list: 'object' }
|
49
|
-
field :install_type, 'string'
|
50
|
-
field :installed, 'bool'
|
51
|
-
field :interested_in, { list: 'string' }
|
52
|
-
field :is_shared_login, 'bool'
|
53
|
-
field :is_verified, 'bool'
|
54
|
-
field :labels, { list: 'object' }
|
55
|
-
field :languages, { list: 'object' }
|
56
|
-
field :last_name, 'string'
|
57
|
-
field :link, 'string'
|
58
|
-
field :locale, 'string'
|
59
|
-
field :location, 'object'
|
60
|
-
field :meeting_for, { list: 'string' }
|
61
|
-
field :middle_name, 'string'
|
62
|
-
field :name, 'string'
|
63
|
-
field :name_format, 'string'
|
64
|
-
field :payment_pricepoints, 'object'
|
65
|
-
field :political, 'string'
|
66
|
-
field :public_key, 'string'
|
67
|
-
field :quotes, 'string'
|
68
|
-
field :relationship_status, 'string'
|
69
|
-
field :religion, 'string'
|
70
|
-
field :security_settings, 'object'
|
71
|
-
field :shared_login_upgrade_required_by, 'datetime'
|
72
|
-
field :short_name, 'string'
|
73
|
-
field :significant_other, 'User'
|
74
|
-
field :sports, { list: 'object' }
|
75
|
-
field :test_group, 'int'
|
76
|
-
field :third_party_id, 'string'
|
77
|
-
field :timezone, 'double'
|
78
|
-
field :token_for_business, 'string'
|
79
|
-
field :updated_time, 'datetime'
|
80
|
-
field :verified, 'bool'
|
81
|
-
field :video_upload_limits, 'object'
|
82
|
-
field :viewer_can_send_gift, 'bool'
|
83
|
-
field :website, 'string'
|
84
|
-
field :work, { list: 'object' }
|
85
|
-
has_no_post
|
86
|
-
has_no_delete
|
87
|
-
|
88
|
-
has_edge :accounts do |edge|
|
89
|
-
edge.get do |api|
|
90
|
-
api.has_param :business_id, 'string'
|
91
|
-
api.has_param :is_business, 'bool'
|
92
|
-
api.has_param :is_place, 'bool'
|
93
|
-
api.has_param :is_promotable, 'bool'
|
94
|
-
end
|
95
|
-
end
|
96
|
-
|
97
|
-
has_edge :adaccounts do |edge|
|
98
|
-
edge.get 'AdAccount'
|
99
|
-
end
|
100
|
-
|
101
|
-
has_edge :leadgen_forms do |edge|
|
102
|
-
edge.get 'LeadgenForm' do |api|
|
103
|
-
api.has_param :page_id, 'string'
|
104
|
-
api.has_param :query, 'string'
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
has_edge :picture do |edge|
|
109
|
-
edge.get 'ProfilePictureSource' do |api|
|
110
|
-
api.has_param :height, 'int'
|
111
|
-
api.has_param :redirect, 'bool'
|
112
|
-
api.has_param :type, { enum: -> { ProfilePictureSource::TYPE }}
|
113
|
-
api.has_param :width, 'int'
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
has_edge :promotable_domains do |edge|
|
118
|
-
edge.get 'Domain'
|
119
|
-
end
|
120
|
-
|
121
|
-
has_edge :promotable_events do |edge|
|
122
|
-
edge.get 'Event' do |api|
|
123
|
-
api.has_param :include_past_events, 'bool'
|
124
|
-
api.has_param :is_page_event, 'bool'
|
125
|
-
api.has_param :page_id, 'int'
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
129
|
-
end
|
130
|
-
end
|