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,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 AdsDataPartner < AdObject
29
-
30
- field :id, 'string'
31
- field :name, 'string'
32
- field :rev_share_policies, { list: 'RevSharePolicy' }
33
- has_no_post
34
- has_no_delete
35
-
36
- end
37
- end
@@ -1,43 +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 AdsImageCrops < AdObject
29
-
30
- field :_100x100, { list: { list: 'string' } }
31
- field :_100x72, { list: { list: 'string' } }
32
- field :_191x100, { list: { list: 'string' } }
33
- field :_400x150, { list: { list: 'string' } }
34
- field :_400x500, { list: { list: 'string' } }
35
- field :_600x360, { list: { list: 'string' } }
36
- field :_90x160, { list: { list: 'string' } }
37
- has_no_id
38
- has_no_get
39
- has_no_post
40
- has_no_delete
41
-
42
- end
43
- end
@@ -1,217 +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 AdsInsights < AdObject
29
- ACTION_ATTRIBUTION_WINDOWS = [
30
- "1d_view",
31
- "7d_view",
32
- "28d_view",
33
- "1d_click",
34
- "7d_click",
35
- "28d_click",
36
- "default",
37
- ]
38
-
39
- ACTION_BREAKDOWNS = [
40
- "action_canvas_component_name",
41
- "action_carousel_card_id",
42
- "action_carousel_card_name",
43
- "action_destination",
44
- "action_device",
45
- "action_link_click_destination",
46
- "action_reaction",
47
- "action_target_id",
48
- "action_type",
49
- "action_video_sound",
50
- "action_video_type",
51
- ]
52
-
53
- ACTION_REPORT_TIME = [
54
- "impression",
55
- "conversion",
56
- ]
57
-
58
- BREAKDOWNS = [
59
- "age",
60
- "country",
61
- "dma",
62
- "gender",
63
- "frequency_value",
64
- "hourly_stats_aggregated_by_advertiser_time_zone",
65
- "hourly_stats_aggregated_by_audience_time_zone",
66
- "impression_device",
67
- "place_page_id",
68
- "publisher_platform",
69
- "platform_position",
70
- "device_platform",
71
- "product_id",
72
- "region",
73
- ]
74
-
75
- DATE_PRESET = [
76
- "today",
77
- "yesterday",
78
- "this_month",
79
- "last_month",
80
- "this_quarter",
81
- "lifetime",
82
- "last_3d",
83
- "last_7d",
84
- "last_14d",
85
- "last_28d",
86
- "last_30d",
87
- "last_90d",
88
- "last_week_mon_sun",
89
- "last_week_sun_sat",
90
- "last_quarter",
91
- "last_year",
92
- "this_week_mon_today",
93
- "this_week_sun_today",
94
- "this_year",
95
- ]
96
-
97
- LEVEL = [
98
- "ad",
99
- "adset",
100
- "campaign",
101
- "account",
102
- ]
103
-
104
- SUMMARY_ACTION_BREAKDOWNS = [
105
- "action_canvas_component_name",
106
- "action_carousel_card_id",
107
- "action_carousel_card_name",
108
- "action_destination",
109
- "action_device",
110
- "action_link_click_destination",
111
- "action_reaction",
112
- "action_target_id",
113
- "action_type",
114
- "action_video_sound",
115
- "action_video_type",
116
- ]
117
-
118
- SUMMARY = [
119
- "id",
120
- "account_id",
121
- "async_percent_completion",
122
- "async_status",
123
- "date_start",
124
- "date_stop",
125
- "emails",
126
- "friendly_name",
127
- "is_bookmarked",
128
- "is_running",
129
- "schedule_id",
130
- "time_completed",
131
- "time_ref",
132
- ]
133
-
134
-
135
- field :account_currency, 'string'
136
- field :account_id, 'string'
137
- field :account_name, 'string'
138
- field :action_values, { list: 'AdsActionStats' }
139
- field :actions, { list: 'AdsActionStats' }
140
- field :ad_id, 'string'
141
- field :ad_name, 'string'
142
- field :adset_id, 'string'
143
- field :adset_name, 'string'
144
- field :buying_type, 'string'
145
- field :call_to_action_clicks, 'string'
146
- field :campaign_id, 'string'
147
- field :campaign_name, 'string'
148
- field :canvas_avg_view_percent, 'string'
149
- field :canvas_avg_view_time, 'string'
150
- field :canvas_component_avg_pct_view, { list: 'AdsActionStats' }
151
- field :clicks, 'string'
152
- field :cost_per_10_sec_video_view, { list: 'AdsActionStats' }
153
- field :cost_per_action_type, { list: 'AdsActionStats' }
154
- field :cost_per_estimated_ad_recallers, 'string'
155
- field :cost_per_inline_link_click, 'string'
156
- field :cost_per_inline_post_engagement, 'string'
157
- field :cost_per_outbound_click, { list: 'AdsActionStats' }
158
- field :cost_per_total_action, 'string'
159
- field :cost_per_unique_action_type, { list: 'AdsActionStats' }
160
- field :cost_per_unique_click, 'string'
161
- field :cost_per_unique_inline_link_click, 'string'
162
- field :cost_per_unique_outbound_click, { list: 'AdsActionStats' }
163
- field :cpc, 'string'
164
- field :cpm, 'string'
165
- field :cpp, 'string'
166
- field :ctr, 'string'
167
- field :date_start, 'string'
168
- field :date_stop, 'string'
169
- field :estimated_ad_recall_rate, 'string'
170
- field :estimated_ad_recallers, 'string'
171
- field :frequency, 'string'
172
- field :impressions, 'string'
173
- field :inline_link_click_ctr, 'string'
174
- field :inline_link_clicks, 'string'
175
- field :inline_post_engagement, 'string'
176
- field :mobile_app_purchase_roas, { list: 'AdsActionStats' }
177
- field :objective, 'string'
178
- field :outbound_clicks, { list: 'AdsActionStats' }
179
- field :outbound_clicks_ctr, { list: 'AdsActionStats' }
180
- field :place_page_name, 'string'
181
- field :reach, 'string'
182
- field :relevance_score, 'AdgroupRelevanceScore'
183
- field :social_clicks, 'string'
184
- field :social_impressions, 'string'
185
- field :social_reach, 'string'
186
- field :social_spend, 'string'
187
- field :spend, 'string'
188
- field :total_action_value, 'string'
189
- field :total_actions, 'string'
190
- field :total_unique_actions, 'string'
191
- field :unique_actions, { list: 'AdsActionStats' }
192
- field :unique_clicks, 'string'
193
- field :unique_ctr, 'string'
194
- field :unique_inline_link_click_ctr, 'string'
195
- field :unique_inline_link_clicks, 'string'
196
- field :unique_link_clicks_ctr, 'string'
197
- field :unique_outbound_clicks, { list: 'AdsActionStats' }
198
- field :unique_outbound_clicks_ctr, { list: 'AdsActionStats' }
199
- field :unique_social_clicks, 'string'
200
- field :video_10_sec_watched_actions, { list: 'AdsActionStats' }
201
- field :video_30_sec_watched_actions, { list: 'AdsActionStats' }
202
- field :video_avg_percent_watched_actions, { list: 'AdsActionStats' }
203
- field :video_avg_time_watched_actions, { list: 'AdsActionStats' }
204
- field :video_p100_watched_actions, { list: 'AdsActionStats' }
205
- field :video_p25_watched_actions, { list: 'AdsActionStats' }
206
- field :video_p50_watched_actions, { list: 'AdsActionStats' }
207
- field :video_p75_watched_actions, { list: 'AdsActionStats' }
208
- field :video_p95_watched_actions, { list: 'AdsActionStats' }
209
- field :website_ctr, { list: 'AdsActionStats' }
210
- field :website_purchase_roas, { list: 'AdsActionStats' }
211
- has_no_id
212
- has_no_get
213
- has_no_post
214
- has_no_delete
215
-
216
- end
217
- end
@@ -1,67 +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 AdsPixel < AdObject
29
-
30
- field :code, 'string'
31
- field :creation_time, 'datetime'
32
- field :creator, 'User'
33
- field :id, 'string'
34
- field :is_created_by_business, 'bool'
35
- field :last_fired_time, 'datetime'
36
- field :name, 'string'
37
- field :owner_ad_account, 'AdAccount'
38
- field :owner_business, 'Business'
39
- has_no_delete
40
-
41
- has_edge :audiences do |edge|
42
- edge.get 'CustomAudience' do |api|
43
- api.has_param :ad_account, 'string'
44
- end
45
- end
46
-
47
- has_edge :shared_accounts do |edge|
48
- edge.get 'AdAccount' do |api|
49
- api.has_param :business, 'string'
50
- end
51
- end
52
-
53
- has_edge :shared_agencies do |edge|
54
- edge.get 'Business'
55
- end
56
-
57
- has_edge :stats do |edge|
58
- edge.get 'AdsPixelStatsResult' do |api|
59
- api.has_param :aggregation, { enum: -> { AdsPixelStatsResult::AGGREGATION }}
60
- api.has_param :end_time, 'datetime'
61
- api.has_param :event, 'string'
62
- api.has_param :start_time, 'datetime'
63
- end
64
- end
65
-
66
- end
67
- 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 AdsPixelStats < AdObject
29
-
30
- field :count, 'int'
31
- field :diagnostics_hourly_last_timestamp, 'datetime'
32
- field :event, 'string'
33
- field :value, 'string'
34
- has_no_id
35
- has_no_get
36
- has_no_post
37
- has_no_delete
38
-
39
- end
40
- 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 AdsPixelStatsResult < AdObject
29
- AGGREGATION = [
30
- "browser_type",
31
- "custom_data_field",
32
- "device_os",
33
- "device_type",
34
- "event",
35
- "host",
36
- "pixel_fire",
37
- "url",
38
- ]
39
-
40
-
41
- field :aggregation, { enum: -> { AGGREGATION }}
42
- field :data, { list: 'AdsPixelStats' }
43
- field :timestamp, 'datetime'
44
- has_no_id
45
- has_no_get
46
- has_no_post
47
- has_no_delete
48
-
49
- end
50
- end
@@ -1,48 +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 AgencyClientDeclaration < AdObject
29
-
30
- field :agency_representing_client, 'int'
31
- field :client_based_in_france, 'int'
32
- field :client_city, 'string'
33
- field :client_country_code, 'string'
34
- field :client_email_address, 'string'
35
- field :client_name, 'string'
36
- field :client_postal_code, 'string'
37
- field :client_province, 'string'
38
- field :client_street, 'string'
39
- field :client_street2, 'string'
40
- field :has_written_mandate_from_advertiser, 'int'
41
- field :is_client_paying_invoices, 'int'
42
- has_no_id
43
- has_no_get
44
- has_no_post
45
- has_no_delete
46
-
47
- end
48
- 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 AndroidAppLink < AdObject
29
-
30
- field :app_name, 'string'
31
- field :_class, 'string'
32
- field :package, 'string'
33
- field :url, 'string'
34
- has_no_id
35
- has_no_get
36
- has_no_post
37
- has_no_delete
38
-
39
- end
40
- end
@@ -1,43 +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 AppLinks < AdObject
29
-
30
- field :android, { list: 'AndroidAppLink' }
31
- field :id, 'string'
32
- field :ios, { list: 'IosAppLink' }
33
- field :ipad, { list: 'IosAppLink' }
34
- field :iphone, { list: 'IosAppLink' }
35
- field :web, 'WebAppLink'
36
- field :windows, { list: 'WindowsAppLink' }
37
- field :windows_phone, { list: 'WindowsPhoneAppLink' }
38
- field :windows_universal, { list: 'WindowsAppLink' }
39
- has_no_post
40
- has_no_delete
41
-
42
- end
43
- end
@@ -1,46 +0,0 @@
1
- # Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
2
- #
3
- # You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
4
- # copy, modify, and distribute this software in source code or binary form for use
5
- # in connection with the web services and APIs provided by Facebook.
6
- #
7
- # As with any software that integrates with the Facebook platform, your use of
8
- # this software is subject to the Facebook Platform Policy
9
- # [http://developers.facebook.com/policy/]. This copyright notice shall be
10
- # included in all copies or substantial portions of the software.
11
- #
12
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
14
- # FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
15
- # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
16
- # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
17
- # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18
-
19
- # FB:AUTOGEN
20
-
21
- module FacebookAds
22
- # This class is auto-generated.
23
-
24
- # For any issues or feature requests related to this class, please let us know
25
- # on github and we'll fix in our codegen framework. We'll not be able to accept
26
- # pull request for this class.
27
-
28
- class BroadTargetingCategories < AdObject
29
-
30
- field :category_description, 'string'
31
- field :id, 'string'
32
- field :name, 'string'
33
- field :parent_category, 'string'
34
- field :path, { list: 'string' }
35
- field :size, 'int'
36
- field :source, 'string'
37
- field :type, 'int'
38
- field :type_name, 'string'
39
- field :untranslated_name, 'string'
40
- field :untranslated_parent_name, 'string'
41
- has_no_get
42
- has_no_post
43
- has_no_delete
44
-
45
- end
46
- end