facebookads 0.2.11.0 → 0.999

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. checksums.yaml +5 -5
  2. metadata +13 -370
  3. data/LICENSE.txt +0 -17
  4. data/README.md +0 -222
  5. data/lib/facebook_ads/ad_object.rb +0 -179
  6. data/lib/facebook_ads/ad_objects/ad.rb +0 -220
  7. data/lib/facebook_ads/ad_objects/ad_account.rb +0 -672
  8. data/lib/facebook_ads/ad_objects/ad_account_ad_rules_history.rb +0 -45
  9. data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +0 -64
  10. data/lib/facebook_ads/ad_objects/ad_account_roas.rb +0 -97
  11. data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +0 -146
  12. data/lib/facebook_ads/ad_objects/ad_account_user.rb +0 -39
  13. data/lib/facebook_ads/ad_objects/ad_activity.rb +0 -124
  14. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +0 -90
  15. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_asset_label.rb +0 -37
  16. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_body.rb +0 -39
  17. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_caption.rb +0 -39
  18. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_description.rb +0 -39
  19. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_group_rule.rb +0 -43
  20. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_image.rb +0 -41
  21. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_link_url.rb +0 -41
  22. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_target_rule.rb +0 -45
  23. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_title.rb +0 -39
  24. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec_video.rb +0 -41
  25. data/lib/facebook_ads/ad_objects/ad_async_request.rb +0 -67
  26. data/lib/facebook_ads/ad_objects/ad_async_request_set.rb +0 -68
  27. data/lib/facebook_ads/ad_objects/ad_async_request_set_notification_result.rb +0 -38
  28. data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +0 -64
  29. data/lib/facebook_ads/ad_objects/ad_creative.rb +0 -172
  30. data/lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb +0 -39
  31. data/lib/facebook_ads/ad_objects/ad_creative_link_data.rb +0 -75
  32. data/lib/facebook_ads/ad_objects/ad_creative_link_data_app_link_spec.rb +0 -40
  33. data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +0 -80
  34. data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action_value.rb +0 -46
  35. data/lib/facebook_ads/ad_objects/ad_creative_link_data_child_attachment.rb +0 -47
  36. data/lib/facebook_ads/ad_objects/ad_creative_link_data_image_overlay_spec.rb +0 -94
  37. data/lib/facebook_ads/ad_objects/ad_creative_object_story_spec.rb +0 -43
  38. data/lib/facebook_ads/ad_objects/ad_creative_offer_data.rb +0 -44
  39. data/lib/facebook_ads/ad_objects/ad_creative_photo_data.rb +0 -43
  40. data/lib/facebook_ads/ad_objects/ad_creative_place_data.rb +0 -42
  41. data/lib/facebook_ads/ad_objects/ad_creative_post_click_configuration.rb +0 -38
  42. data/lib/facebook_ads/ad_objects/ad_creative_text_data.rb +0 -37
  43. data/lib/facebook_ads/ad_objects/ad_creative_video_data.rb +0 -53
  44. data/lib/facebook_ads/ad_objects/ad_image.rb +0 -58
  45. data/lib/facebook_ads/ad_objects/ad_keyword_stats.rb +0 -55
  46. data/lib/facebook_ads/ad_objects/ad_label.rb +0 -57
  47. data/lib/facebook_ads/ad_objects/ad_place_page_set.rb +0 -44
  48. data/lib/facebook_ads/ad_objects/ad_preview.rb +0 -56
  49. data/lib/facebook_ads/ad_objects/ad_promoted_object.rb +0 -64
  50. data/lib/facebook_ads/ad_objects/ad_recommendation.rb +0 -55
  51. data/lib/facebook_ads/ad_objects/ad_recommendation_data.rb +0 -37
  52. data/lib/facebook_ads/ad_objects/ad_report_run.rb +0 -71
  53. data/lib/facebook_ads/ad_objects/ad_rule.rb +0 -56
  54. data/lib/facebook_ads/ad_objects/ad_rule_evaluation_spec.rb +0 -44
  55. data/lib/facebook_ads/ad_objects/ad_rule_execution_options.rb +0 -44
  56. data/lib/facebook_ads/ad_objects/ad_rule_execution_spec.rb +0 -49
  57. data/lib/facebook_ads/ad_objects/ad_rule_filters.rb +0 -55
  58. data/lib/facebook_ads/ad_objects/ad_rule_history.rb +0 -58
  59. data/lib/facebook_ads/ad_objects/ad_rule_history_result.rb +0 -45
  60. data/lib/facebook_ads/ad_objects/ad_rule_history_result_action.rb +0 -40
  61. data/lib/facebook_ads/ad_objects/ad_rule_schedule.rb +0 -39
  62. data/lib/facebook_ads/ad_objects/ad_rule_schedule_spec.rb +0 -38
  63. data/lib/facebook_ads/ad_objects/ad_rule_trigger.rb +0 -63
  64. data/lib/facebook_ads/ad_objects/ad_set.rb +0 -298
  65. data/lib/facebook_ads/ad_objects/ad_study.rb +0 -70
  66. data/lib/facebook_ads/ad_objects/ad_study_cell.rb +0 -39
  67. data/lib/facebook_ads/ad_objects/ad_study_objective.rb +0 -60
  68. data/lib/facebook_ads/ad_objects/ad_video.rb +0 -25
  69. data/lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb +0 -43
  70. data/lib/facebook_ads/ad_objects/adgroup_relevance_score.rb +0 -40
  71. data/lib/facebook_ads/ad_objects/adgroup_review_feedback.rb +0 -38
  72. data/lib/facebook_ads/ad_objects/ads_action_stats.rb +0 -55
  73. data/lib/facebook_ads/ad_objects/ads_data_partner.rb +0 -37
  74. data/lib/facebook_ads/ad_objects/ads_image_crops.rb +0 -43
  75. data/lib/facebook_ads/ad_objects/ads_insights.rb +0 -217
  76. data/lib/facebook_ads/ad_objects/ads_pixel.rb +0 -67
  77. data/lib/facebook_ads/ad_objects/ads_pixel_stats.rb +0 -40
  78. data/lib/facebook_ads/ad_objects/ads_pixel_stats_result.rb +0 -50
  79. data/lib/facebook_ads/ad_objects/agency_client_declaration.rb +0 -48
  80. data/lib/facebook_ads/ad_objects/android_app_link.rb +0 -40
  81. data/lib/facebook_ads/ad_objects/app_links.rb +0 -43
  82. data/lib/facebook_ads/ad_objects/broad_targeting_categories.rb +0 -46
  83. data/lib/facebook_ads/ad_objects/business.rb +0 -195
  84. data/lib/facebook_ads/ad_objects/business_ad_account_request.rb +0 -37
  85. data/lib/facebook_ads/ad_objects/business_page_request.rb +0 -37
  86. data/lib/facebook_ads/ad_objects/campaign.rb +0 -227
  87. data/lib/facebook_ads/ad_objects/check_batch_request_status.rb +0 -40
  88. data/lib/facebook_ads/ad_objects/conversion_action_query.rb +0 -62
  89. data/lib/facebook_ads/ad_objects/custom_audience.rb +0 -173
  90. data/lib/facebook_ads/ad_objects/custom_audience_ad_account.rb +0 -36
  91. data/lib/facebook_ads/ad_objects/custom_audience_data_source.rb +0 -104
  92. data/lib/facebook_ads/ad_objects/custom_audience_permission.rb +0 -41
  93. data/lib/facebook_ads/ad_objects/custom_audience_prefill_state.rb +0 -39
  94. data/lib/facebook_ads/ad_objects/custom_audience_session.rb +0 -44
  95. data/lib/facebook_ads/ad_objects/custom_audience_status.rb +0 -38
  96. data/lib/facebook_ads/ad_objects/custom_audiences_tos.rb +0 -38
  97. data/lib/facebook_ads/ad_objects/custom_conversion.rb +0 -88
  98. data/lib/facebook_ads/ad_objects/custom_conversion_stats_result.rb +0 -50
  99. data/lib/facebook_ads/ad_objects/day_part.rb +0 -40
  100. data/lib/facebook_ads/ad_objects/delivery_check.rb +0 -40
  101. data/lib/facebook_ads/ad_objects/delivery_check_extra_info.rb +0 -39
  102. data/lib/facebook_ads/ad_objects/delivery_estimate.rb +0 -41
  103. data/lib/facebook_ads/ad_objects/domain.rb +0 -37
  104. data/lib/facebook_ads/ad_objects/event.rb +0 -80
  105. data/lib/facebook_ads/ad_objects/event_source_group.rb +0 -43
  106. data/lib/facebook_ads/ad_objects/external_event_source.rb +0 -38
  107. data/lib/facebook_ads/ad_objects/flexible_targeting.rb +0 -64
  108. data/lib/facebook_ads/ad_objects/funding_source_details.rb +0 -39
  109. data/lib/facebook_ads/ad_objects/funding_source_details_coupon.rb +0 -40
  110. data/lib/facebook_ads/ad_objects/helpers/custom_audience_helpers.rb +0 -170
  111. data/lib/facebook_ads/ad_objects/hotel.rb +0 -61
  112. data/lib/facebook_ads/ad_objects/hotel_room.rb +0 -44
  113. data/lib/facebook_ads/ad_objects/id_name.rb +0 -37
  114. data/lib/facebook_ads/ad_objects/ios_app_link.rb +0 -39
  115. data/lib/facebook_ads/ad_objects/lead.rb +0 -47
  116. data/lib/facebook_ads/ad_objects/lead_gen_qualifier.rb +0 -40
  117. data/lib/facebook_ads/ad_objects/lead_gen_question.rb +0 -43
  118. data/lib/facebook_ads/ad_objects/lead_gen_question_option.rb +0 -38
  119. data/lib/facebook_ads/ad_objects/leadgen_form.rb +0 -73
  120. data/lib/facebook_ads/ad_objects/legacy_business_ad_account_request.rb +0 -38
  121. data/lib/facebook_ads/ad_objects/lookalike_spec.rb +0 -43
  122. data/lib/facebook_ads/ad_objects/minimum_budget.rb +0 -41
  123. data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +0 -99
  124. data/lib/facebook_ads/ad_objects/offsite_pixel.rb +0 -57
  125. data/lib/facebook_ads/ad_objects/outcome_prediction_point.rb +0 -40
  126. data/lib/facebook_ads/ad_objects/partner_category.rb +0 -51
  127. data/lib/facebook_ads/ad_objects/product_catalog.rb +0 -287
  128. data/lib/facebook_ads/ad_objects/product_catalog_hotel_rooms_batch.rb +0 -50
  129. data/lib/facebook_ads/ad_objects/product_catalog_image_settings.rb +0 -38
  130. data/lib/facebook_ads/ad_objects/product_catalog_image_settings_operation.rb +0 -37
  131. data/lib/facebook_ads/ad_objects/product_catalog_pricing_variables_batch.rb +0 -50
  132. data/lib/facebook_ads/ad_objects/product_feed.rb +0 -91
  133. data/lib/facebook_ads/ad_objects/product_feed_schedule.rb +0 -62
  134. data/lib/facebook_ads/ad_objects/product_feed_upload.rb +0 -50
  135. data/lib/facebook_ads/ad_objects/product_feed_upload_error.rb +0 -49
  136. data/lib/facebook_ads/ad_objects/product_feed_upload_error_sample.rb +0 -37
  137. data/lib/facebook_ads/ad_objects/product_group.rb +0 -94
  138. data/lib/facebook_ads/ad_objects/product_item.rb +0 -148
  139. data/lib/facebook_ads/ad_objects/product_item_commerce_insights.rb +0 -39
  140. data/lib/facebook_ads/ad_objects/product_set.rb +0 -45
  141. data/lib/facebook_ads/ad_objects/product_variant.rb +0 -39
  142. data/lib/facebook_ads/ad_objects/profile_picture_source.rb +0 -52
  143. data/lib/facebook_ads/ad_objects/rate_card.rb +0 -39
  144. data/lib/facebook_ads/ad_objects/reach_estimate.rb +0 -62
  145. data/lib/facebook_ads/ad_objects/reach_frequency_prediction.rb +0 -89
  146. data/lib/facebook_ads/ad_objects/reach_frequency_spec.rb +0 -43
  147. data/lib/facebook_ads/ad_objects/rev_share_policy.rb +0 -38
  148. data/lib/facebook_ads/ad_objects/roas_cohorts_data.rb +0 -41
  149. data/lib/facebook_ads/ad_objects/roas_cohorts_per_cohort_interval_unit.rb +0 -38
  150. data/lib/facebook_ads/ad_objects/targeting.rb +0 -133
  151. data/lib/facebook_ads/ad_objects/targeting_dynamic_rule.rb +0 -44
  152. data/lib/facebook_ads/ad_objects/targeting_geo_location.rb +0 -47
  153. data/lib/facebook_ads/ad_objects/targeting_geo_location_city.rb +0 -43
  154. data/lib/facebook_ads/ad_objects/targeting_geo_location_custom_location.rb +0 -50
  155. data/lib/facebook_ads/ad_objects/targeting_geo_location_electoral_district.rb +0 -40
  156. data/lib/facebook_ads/ad_objects/targeting_geo_location_market.rb +0 -40
  157. data/lib/facebook_ads/ad_objects/targeting_geo_location_place.rb +0 -45
  158. data/lib/facebook_ads/ad_objects/targeting_geo_location_political_district.rb +0 -40
  159. data/lib/facebook_ads/ad_objects/targeting_geo_location_region.rb +0 -39
  160. data/lib/facebook_ads/ad_objects/targeting_geo_location_zip.rb +0 -41
  161. data/lib/facebook_ads/ad_objects/targeting_product_audience_spec.rb +0 -39
  162. data/lib/facebook_ads/ad_objects/targeting_product_audience_sub_spec.rb +0 -38
  163. data/lib/facebook_ads/ad_objects/targeting_sentence_line.rb +0 -38
  164. data/lib/facebook_ads/ad_objects/transaction.rb +0 -57
  165. data/lib/facebook_ads/ad_objects/transaction_currency_amount.rb +0 -39
  166. data/lib/facebook_ads/ad_objects/user.rb +0 -130
  167. data/lib/facebook_ads/ad_objects/user_lead_gen_disclaimer_response.rb +0 -38
  168. data/lib/facebook_ads/ad_objects/user_lead_gen_field_data.rb +0 -38
  169. data/lib/facebook_ads/ad_objects/video_thumbnail.rb +0 -42
  170. data/lib/facebook_ads/ad_objects/web_app_link.rb +0 -38
  171. data/lib/facebook_ads/ad_objects/windows_app_link.rb +0 -40
  172. data/lib/facebook_ads/ad_objects/windows_phone_app_link.rb +0 -39
  173. data/lib/facebook_ads/api_request.rb +0 -123
  174. data/lib/facebook_ads/api_response.rb +0 -47
  175. data/lib/facebook_ads/batch_api/batch.rb +0 -86
  176. data/lib/facebook_ads/batch_api/batch_proxy.rb +0 -67
  177. data/lib/facebook_ads/config.rb +0 -43
  178. data/lib/facebook_ads/edge.rb +0 -184
  179. data/lib/facebook_ads/errors.rb +0 -55
  180. data/lib/facebook_ads/field_types/ad_object.rb +0 -37
  181. data/lib/facebook_ads/field_types/base.rb +0 -33
  182. data/lib/facebook_ads/field_types/boolean.rb +0 -25
  183. data/lib/facebook_ads/field_types/datetime.rb +0 -51
  184. data/lib/facebook_ads/field_types/double.rb +0 -29
  185. data/lib/facebook_ads/field_types/enum.rb +0 -31
  186. data/lib/facebook_ads/field_types/integer.rb +0 -33
  187. data/lib/facebook_ads/field_types/list.rb +0 -57
  188. data/lib/facebook_ads/field_types/object.rb +0 -33
  189. data/lib/facebook_ads/field_types/string_type.rb +0 -34
  190. data/lib/facebook_ads/field_types/upload_file.rb +0 -121
  191. data/lib/facebook_ads/field_types.rb +0 -65
  192. data/lib/facebook_ads/fields.rb +0 -66
  193. data/lib/facebook_ads/helpers/edge_helpers.rb +0 -57
  194. data/lib/facebook_ads/helpers/node_helpers.rb +0 -80
  195. data/lib/facebook_ads/helpers/shortcuts.rb +0 -34
  196. data/lib/facebook_ads/param_set.rb +0 -74
  197. data/lib/facebook_ads/ruby2patch.rb +0 -27
  198. data/lib/facebook_ads/session.rb +0 -98
  199. data/lib/facebook_ads/utils/utils.rb +0 -29
  200. data/lib/facebook_ads/version.rb +0 -24
  201. data/lib/facebook_ads/videos/video_io.rb +0 -25
  202. data/lib/facebook_ads/videos/video_request.rb +0 -42
  203. data/lib/facebook_ads.rb +0 -72
  204. data/lib/facebookads.rb +0 -1
@@ -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 AdAccountAdRulesHistory < AdObject
29
-
30
- field :evaluation_spec, 'AdRuleEvaluationSpec'
31
- field :exception_code, 'int'
32
- field :exception_message, 'string'
33
- field :execution_spec, 'AdRuleExecutionSpec'
34
- field :is_manual, 'bool'
35
- field :results, { list: 'AdRuleHistoryResult' }
36
- field :rule_id, 'int'
37
- field :schedule_spec, 'AdRuleScheduleSpec'
38
- field :timestamp, 'datetime'
39
- has_no_id
40
- has_no_get
41
- has_no_post
42
- has_no_delete
43
-
44
- end
45
- end
@@ -1,64 +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 AdAccountDeliveryEstimate < AdObject
29
- OPTIMIZATION_GOAL = [
30
- "NONE",
31
- "APP_INSTALLS",
32
- "BRAND_AWARENESS",
33
- "AD_RECALL_LIFT",
34
- "CLICKS",
35
- "ENGAGED_USERS",
36
- "EVENT_RESPONSES",
37
- "IMPRESSIONS",
38
- "LEAD_GENERATION",
39
- "LINK_CLICKS",
40
- "OFFER_CLAIMS",
41
- "OFFSITE_CONVERSIONS",
42
- "PAGE_ENGAGEMENT",
43
- "PAGE_LIKES",
44
- "POST_ENGAGEMENT",
45
- "REACH",
46
- "SOCIAL_IMPRESSIONS",
47
- "VIDEO_VIEWS",
48
- "APP_DOWNLOADS",
49
- "LANDING_PAGE_VIEWS",
50
- ]
51
-
52
-
53
- field :bid_estimate, 'object'
54
- field :daily_outcomes_curve, { list: 'OutcomePredictionPoint' }
55
- field :estimate_dau, 'object'
56
- field :estimate_mau, 'object'
57
- field :estimate_ready, 'bool'
58
- has_no_id
59
- has_no_get
60
- has_no_post
61
- has_no_delete
62
-
63
- end
64
- end
@@ -1,97 +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 AdAccountRoas < AdObject
29
- FIELDS = [
30
- "adgroup_id",
31
- "arpu_180d",
32
- "arpu_1d",
33
- "arpu_30d",
34
- "arpu_365d",
35
- "arpu_3d",
36
- "arpu_7d",
37
- "arpu_90d",
38
- "campaign_group_id",
39
- "campaign_id",
40
- "date_start",
41
- "date_stop",
42
- "installs",
43
- "revenue",
44
- "revenue_180d",
45
- "revenue_1d",
46
- "revenue_30d",
47
- "revenue_365d",
48
- "revenue_3d",
49
- "revenue_7d",
50
- "revenue_90d",
51
- "spend",
52
- "yield_180d",
53
- "yield_1d",
54
- "yield_30d",
55
- "yield_365d",
56
- "yield_3d",
57
- "yield_7d",
58
- "yield_90d",
59
- ]
60
-
61
-
62
- field :adgroup_id, 'string'
63
- field :arpu_180d, 'double'
64
- field :arpu_1d, 'double'
65
- field :arpu_30d, 'double'
66
- field :arpu_365d, 'double'
67
- field :arpu_3d, 'double'
68
- field :arpu_7d, 'double'
69
- field :arpu_90d, 'double'
70
- field :campaign_group_id, 'string'
71
- field :campaign_id, 'string'
72
- field :date_start, 'string'
73
- field :date_stop, 'string'
74
- field :installs, 'int'
75
- field :revenue, 'double'
76
- field :revenue_180d, 'double'
77
- field :revenue_1d, 'double'
78
- field :revenue_30d, 'double'
79
- field :revenue_365d, 'double'
80
- field :revenue_3d, 'double'
81
- field :revenue_7d, 'double'
82
- field :revenue_90d, 'double'
83
- field :spend, 'double'
84
- field :yield_180d, 'double'
85
- field :yield_1d, 'double'
86
- field :yield_30d, 'double'
87
- field :yield_365d, 'double'
88
- field :yield_3d, 'double'
89
- field :yield_7d, 'double'
90
- field :yield_90d, 'double'
91
- has_no_id
92
- has_no_get
93
- has_no_post
94
- has_no_delete
95
-
96
- end
97
- end
@@ -1,146 +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 AdAccountTargetingUnified < AdObject
29
- LIMIT_TYPE = [
30
- "adgroup_id",
31
- "genders",
32
- "age_min",
33
- "age_max",
34
- "country_groups",
35
- "countries",
36
- "country",
37
- "cities",
38
- "radius",
39
- "regions",
40
- "zips",
41
- "interests",
42
- "keywords",
43
- "education_schools",
44
- "education_majors",
45
- "work_positions",
46
- "work_employers",
47
- "relationship_statuses",
48
- "interested_in",
49
- "locales",
50
- "user_adclusters",
51
- "excluded_user_adclusters",
52
- "conjunctive_user_adclusters",
53
- "custom_audiences",
54
- "excluded_custom_audiences",
55
- "college_years",
56
- "education_statuses",
57
- "connections",
58
- "excluded_connections",
59
- "friends_of_connections",
60
- "user_event",
61
- "dynamic_audience_ids",
62
- "excluded_dynamic_audience_ids",
63
- "rtb_flag",
64
- "site_category",
65
- "geo_locations",
66
- "excluded_geo_locations",
67
- "timezones",
68
- "place_page_set_ids",
69
- "page_types",
70
- "publisher_platforms",
71
- "effective_publisher_platforms",
72
- "facebook_positions",
73
- "effective_facebook_positions",
74
- "instagram_positions",
75
- "effective_instagram_positions",
76
- "messenger_positions",
77
- "effective_messenger_positions",
78
- "device_platforms",
79
- "effective_device_platforms",
80
- "audience_network_positions",
81
- "effective_audience_network_positions",
82
- "excluded_publisher_categories",
83
- "excluded_publisher_list_ids",
84
- "publisher_visibility_categories",
85
- "user_device",
86
- "mobile_device_model",
87
- "excluded_user_device",
88
- "excluded_mobile_device_model",
89
- "user_os",
90
- "wireless_carrier",
91
- "family_statuses",
92
- "industries",
93
- "life_events",
94
- "political_views",
95
- "politics",
96
- "behaviors",
97
- "income",
98
- "net_worth",
99
- "home_type",
100
- "home_ownership",
101
- "home_value",
102
- "ethnic_affinity",
103
- "generation",
104
- "household_composition",
105
- "moms",
106
- "office_type",
107
- "targeting_optimization",
108
- "direct_install_devices",
109
- "engagement_specs",
110
- "excluded_engagement_specs",
111
- "product_audience_specs",
112
- "excluded_product_audience_specs",
113
- "exclusions",
114
- "flexible_spec",
115
- "exclude_reached_since",
116
- "exclude_previous_days",
117
- "app_install_state",
118
- "fb_deal_id",
119
- "interest_defaults_source",
120
- "alternate_auto_targeting_option",
121
- "contextual_targeting_categories",
122
- "topic",
123
- "format",
124
- "trending",
125
- "gatekeepers",
126
- "follow_profiles",
127
- "follow_profiles_negative",
128
- "location_categories",
129
- "user_page_threads",
130
- "user_page_threads_excluded",
131
- ]
132
-
133
-
134
- field :audience_size, 'int'
135
- field :description, 'string'
136
- field :id, 'string'
137
- field :name, 'string'
138
- field :path, { list: 'string' }
139
- field :type, 'string'
140
- field :valid, 'bool'
141
- has_no_get
142
- has_no_post
143
- has_no_delete
144
-
145
- end
146
- 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 AdAccountUser < AdObject
29
-
30
- field :id, 'string'
31
- field :name, 'string'
32
- field :permissions, { list: 'int' }
33
- field :role, 'int'
34
- has_no_get
35
- has_no_post
36
- has_no_delete
37
-
38
- end
39
- end
@@ -1,124 +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 AdActivity < AdObject
29
- EVENT_TYPE = [
30
- "ad_account_update_spend_limit",
31
- "ad_account_reset_spend_limit",
32
- "ad_account_remove_spend_limit",
33
- "ad_account_set_business_information",
34
- "ad_account_update_status",
35
- "ad_account_add_user_to_role",
36
- "ad_account_remove_user_from_role",
37
- "add_images",
38
- "edit_images",
39
- "delete_images",
40
- "ad_account_billing_charge",
41
- "ad_account_billing_charge_failed",
42
- "ad_account_billing_chargeback",
43
- "ad_account_billing_chargeback_reversal",
44
- "ad_account_billing_decline",
45
- "ad_account_billing_refund",
46
- "billing_event",
47
- "add_funding_source",
48
- "remove_funding_source",
49
- "create_campaign_group",
50
- "update_campaign_name",
51
- "update_campaign_run_status",
52
- "update_campaign_group_spend_cap",
53
- "campaign_ended",
54
- "create_campaign",
55
- "create_campaign_legacy",
56
- "update_campaign_budget",
57
- "update_campaign_duration",
58
- "create_ad_set",
59
- "update_ad_set_bidding",
60
- "update_ad_set_budget",
61
- "update_ad_set_duration",
62
- "update_ad_set_run_status",
63
- "update_ad_set_name",
64
- "create_ad",
65
- "update_ad_creative",
66
- "edit_and_update_ad_creative",
67
- "update_ad_bid_info",
68
- "update_ad_bid_type",
69
- "update_ad_run_status",
70
- "update_ad_friendly_name",
71
- "update_ad_targets_spec",
72
- "update_adgroup_stop_delivery",
73
- "update_ad_set_target_spec",
74
- "ad_review_approved",
75
- "ad_review_declined",
76
- "first_delivery_event",
77
- "create_audience",
78
- "update_audience",
79
- "delete_audience",
80
- "share_audience",
81
- "receive_audience",
82
- "unshare_audience",
83
- "remove_shared_audience",
84
- "unknown",
85
- "account_spending_limit_reached",
86
- "campaign_spending_limit_reached",
87
- "lifetime_budget_spent",
88
- "funding_event_initiated",
89
- "funding_event_successful",
90
- "update_ad_labels",
91
- ]
92
-
93
- CATEGORY = [
94
- "ACCOUNT",
95
- "AD",
96
- "AD_SET",
97
- "AUDIENCE",
98
- "BID",
99
- "BUDGET",
100
- "CAMPAIGN",
101
- "DATE",
102
- "STATUS",
103
- "TARGETING",
104
- ]
105
-
106
-
107
- field :actor_id, 'string'
108
- field :actor_name, 'string'
109
- field :application_id, 'string'
110
- field :application_name, 'string'
111
- field :date_time_in_timezone, 'string'
112
- field :event_time, 'datetime'
113
- field :event_type, { enum: -> { EVENT_TYPE }}
114
- field :extra_data, 'string'
115
- field :object_id, 'string'
116
- field :object_name, 'string'
117
- field :translated_event_type, 'string'
118
- has_no_id
119
- has_no_get
120
- has_no_post
121
- has_no_delete
122
-
123
- end
124
- end
@@ -1,90 +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 AdAssetFeedSpec < AdObject
29
- CALL_TO_ACTION_TYPES = [
30
- "OPEN_LINK",
31
- "LIKE_PAGE",
32
- "SHOP_NOW",
33
- "PLAY_GAME",
34
- "INSTALL_APP",
35
- "USE_APP",
36
- "INSTALL_MOBILE_APP",
37
- "USE_MOBILE_APP",
38
- "BOOK_TRAVEL",
39
- "LISTEN_MUSIC",
40
- "LEARN_MORE",
41
- "SIGN_UP",
42
- "DOWNLOAD",
43
- "WATCH_MORE",
44
- "NO_BUTTON",
45
- "CALL_NOW",
46
- "APPLY_NOW",
47
- "BUY_NOW",
48
- "GET_OFFER",
49
- "GET_OFFER_VIEW",
50
- "GET_DIRECTIONS",
51
- "MESSAGE_PAGE",
52
- "MESSAGE_USER",
53
- "SUBSCRIBE",
54
- "SELL_NOW",
55
- "DONATE_NOW",
56
- "GET_QUOTE",
57
- "CONTACT_US",
58
- "START_ORDER",
59
- "RECORD_NOW",
60
- "VOTE_NOW",
61
- "REGISTER_NOW",
62
- "REQUEST_TIME",
63
- "SEE_MENU",
64
- "EMAIL_NOW",
65
- "GET_SHOWTIMES",
66
- "TRY_IT",
67
- "LISTEN_NOW",
68
- "OPEN_MOVIES",
69
- ]
70
-
71
-
72
- field :ad_formats, { list: 'string' }
73
- field :bodies, { list: 'AdAssetFeedSpecBody' }
74
- field :call_to_action_types, { list: { enum: -> { CALL_TO_ACTION_TYPES }} }
75
- field :captions, { list: 'AdAssetFeedSpecCaption' }
76
- field :descriptions, { list: 'AdAssetFeedSpecDescription' }
77
- field :groups, { list: 'AdAssetFeedSpecGroupRule' }
78
- field :images, { list: 'AdAssetFeedSpecImage' }
79
- field :link_urls, { list: 'AdAssetFeedSpecLinkURL' }
80
- field :optimization_type, 'string'
81
- field :target_rules, { list: 'AdAssetFeedSpecTargetRule' }
82
- field :titles, { list: 'AdAssetFeedSpecTitle' }
83
- field :videos, { list: 'AdAssetFeedSpecVideo' }
84
- has_no_id
85
- has_no_get
86
- has_no_post
87
- has_no_delete
88
-
89
- end
90
- 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 AdAssetFeedSpecAssetLabel < AdObject
29
-
30
- field :id, 'string'
31
- field :name, 'string'
32
- has_no_get
33
- has_no_post
34
- has_no_delete
35
-
36
- end
37
- 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 AdAssetFeedSpecBody < AdObject
29
-
30
- field :adlabels, { list: 'AdAssetFeedSpecAssetLabel' }
31
- field :text, 'string'
32
- field :url_tags, 'string'
33
- has_no_id
34
- has_no_get
35
- has_no_post
36
- has_no_delete
37
-
38
- end
39
- end