google-dfp-api 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (634) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +11 -0
  3. data/README.md +5 -0
  4. data/dfp_api.yml +1 -1
  5. data/lib/dfp_api/api_config.rb +13 -38
  6. data/lib/dfp_api/dfp_api_statement.rb +5 -0
  7. data/lib/dfp_api/{v201511 → v201611}/activity_group_service.rb +6 -6
  8. data/lib/dfp_api/{v201511 → v201611}/activity_group_service_registry.rb +2 -2
  9. data/lib/dfp_api/{v201508 → v201611}/activity_service.rb +6 -6
  10. data/lib/dfp_api/{v201508 → v201611}/activity_service_registry.rb +2 -2
  11. data/lib/dfp_api/{v201511 → v201611}/ad_exclusion_rule_service.rb +6 -6
  12. data/lib/dfp_api/{v201511 → v201611}/ad_exclusion_rule_service_registry.rb +2 -2
  13. data/lib/dfp_api/{v201511 → v201611}/ad_rule_service.rb +6 -6
  14. data/lib/dfp_api/v201611/ad_rule_service_registry.rb +45 -0
  15. data/lib/dfp_api/{v201508 → v201611}/audience_segment_service.rb +6 -6
  16. data/lib/dfp_api/{v201511 → v201611}/audience_segment_service_registry.rb +3 -3
  17. data/lib/dfp_api/{v201511 → v201611}/base_rate_service.rb +6 -6
  18. data/lib/dfp_api/{v201511 → v201611}/base_rate_service_registry.rb +2 -2
  19. data/lib/dfp_api/{v201511 → v201611}/company_service.rb +6 -6
  20. data/lib/dfp_api/{v201511 → v201611}/company_service_registry.rb +3 -3
  21. data/lib/dfp_api/{v201511 → v201611}/contact_service.rb +6 -6
  22. data/lib/dfp_api/{v201511 → v201611}/contact_service_registry.rb +2 -2
  23. data/lib/dfp_api/{v201511 → v201611}/content_bundle_service.rb +6 -6
  24. data/lib/dfp_api/v201611/content_bundle_service_registry.rb +45 -0
  25. data/lib/dfp_api/{v201511 → v201611}/content_metadata_key_hierarchy_service.rb +6 -6
  26. data/lib/dfp_api/{v201511 → v201611}/content_metadata_key_hierarchy_service_registry.rb +2 -2
  27. data/lib/dfp_api/{v201511 → v201611}/content_service.rb +6 -6
  28. data/lib/dfp_api/{v201511 → v201611}/content_service_registry.rb +2 -2
  29. data/lib/dfp_api/{v201511 → v201611}/creative_service.rb +6 -6
  30. data/lib/dfp_api/v201611/creative_service_registry.rb +45 -0
  31. data/lib/dfp_api/{v201508 → v201611}/creative_set_service.rb +6 -6
  32. data/lib/dfp_api/v201611/creative_set_service_registry.rb +45 -0
  33. data/lib/dfp_api/{v201508 → v201611}/creative_template_service.rb +6 -6
  34. data/lib/dfp_api/v201611/creative_template_service_registry.rb +45 -0
  35. data/lib/dfp_api/{v201508 → v201611}/creative_wrapper_service.rb +6 -6
  36. data/lib/dfp_api/{v201511 → v201611}/creative_wrapper_service_registry.rb +2 -2
  37. data/lib/dfp_api/{v201511 → v201611}/custom_field_service.rb +6 -6
  38. data/lib/dfp_api/{v201511 → v201611}/custom_field_service_registry.rb +2 -2
  39. data/lib/dfp_api/{v201508 → v201611}/custom_targeting_service.rb +6 -6
  40. data/lib/dfp_api/{v201511 → v201611}/custom_targeting_service_registry.rb +2 -2
  41. data/lib/dfp_api/{v201508 → v201611}/exchange_rate_service.rb +6 -6
  42. data/lib/dfp_api/{v201511 → v201611}/exchange_rate_service_registry.rb +2 -2
  43. data/lib/dfp_api/{v201511 → v201611}/forecast_service.rb +6 -6
  44. data/lib/dfp_api/v201611/forecast_service_registry.rb +45 -0
  45. data/lib/dfp_api/{v201508 → v201611}/inventory_service.rb +6 -6
  46. data/lib/dfp_api/v201611/inventory_service_registry.rb +45 -0
  47. data/lib/dfp_api/{v201508 → v201611}/label_service.rb +6 -6
  48. data/lib/dfp_api/{v201511 → v201611}/label_service_registry.rb +2 -2
  49. data/lib/dfp_api/{v201508 → v201611}/line_item_creative_association_service.rb +6 -6
  50. data/lib/dfp_api/v201611/line_item_creative_association_service_registry.rb +45 -0
  51. data/lib/dfp_api/{v201511 → v201611}/line_item_service.rb +6 -6
  52. data/lib/dfp_api/v201611/line_item_service_registry.rb +45 -0
  53. data/lib/dfp_api/{v201511 → v201611}/line_item_template_service.rb +6 -6
  54. data/lib/dfp_api/v201611/line_item_template_service_registry.rb +45 -0
  55. data/lib/dfp_api/{v201511 → v201611}/live_stream_event_service.rb +14 -6
  56. data/lib/dfp_api/{v201511 → v201611}/live_stream_event_service_registry.rb +4 -4
  57. data/lib/dfp_api/v201611/mobile_application_service.rb +62 -0
  58. data/lib/dfp_api/v201611/mobile_application_service_registry.rb +45 -0
  59. data/lib/dfp_api/{v201511 → v201611}/network_service.rb +6 -6
  60. data/lib/dfp_api/{v201511 → v201611}/network_service_registry.rb +3 -3
  61. data/lib/dfp_api/{v201508 → v201611}/order_service.rb +6 -6
  62. data/lib/dfp_api/{v201508 → v201611}/order_service_registry.rb +3 -3
  63. data/lib/dfp_api/{v201508 → v201611}/package_service.rb +6 -6
  64. data/lib/dfp_api/{v201511 → v201611}/package_service_registry.rb +2 -2
  65. data/lib/dfp_api/{v201508 → v201611}/placement_service.rb +6 -6
  66. data/lib/dfp_api/{v201511 → v201611}/placement_service_registry.rb +2 -2
  67. data/lib/dfp_api/{v201508 → v201611}/premium_rate_service.rb +6 -6
  68. data/lib/dfp_api/{v201508 → v201611}/premium_rate_service_registry.rb +2 -2
  69. data/lib/dfp_api/{v201508 → v201611}/product_package_item_service.rb +6 -6
  70. data/lib/dfp_api/{v201508 → v201611}/product_package_item_service_registry.rb +2 -2
  71. data/lib/dfp_api/{v201511 → v201611}/product_package_service.rb +6 -6
  72. data/lib/dfp_api/{v201508 → v201611}/product_package_service_registry.rb +3 -3
  73. data/lib/dfp_api/{v201511 → v201611}/product_service.rb +14 -6
  74. data/lib/dfp_api/v201611/product_service_registry.rb +45 -0
  75. data/lib/dfp_api/{v201511 → v201611}/product_template_service.rb +6 -6
  76. data/lib/dfp_api/v201611/product_template_service_registry.rb +45 -0
  77. data/lib/dfp_api/{v201508 → v201611}/proposal_line_item_service.rb +6 -6
  78. data/lib/dfp_api/v201611/proposal_line_item_service_registry.rb +45 -0
  79. data/lib/dfp_api/{v201508 → v201611}/proposal_service.rb +14 -6
  80. data/lib/dfp_api/v201611/proposal_service_registry.rb +45 -0
  81. data/lib/dfp_api/{v201511 → v201611}/publisher_query_language_service.rb +6 -6
  82. data/lib/dfp_api/v201611/publisher_query_language_service_registry.rb +45 -0
  83. data/lib/dfp_api/{v201508 → v201611}/rate_card_service.rb +6 -6
  84. data/lib/dfp_api/{v201511 → v201611}/rate_card_service_registry.rb +3 -3
  85. data/lib/dfp_api/{v201508 → v201611}/reconciliation_line_item_report_service.rb +6 -6
  86. data/lib/dfp_api/{v201511 → v201611}/reconciliation_line_item_report_service_registry.rb +2 -2
  87. data/lib/dfp_api/{v201511 → v201611}/reconciliation_order_report_service.rb +6 -6
  88. data/lib/dfp_api/{v201508 → v201611}/reconciliation_order_report_service_registry.rb +2 -2
  89. data/lib/dfp_api/{v201511 → v201611}/reconciliation_report_row_service.rb +6 -6
  90. data/lib/dfp_api/{v201511 → v201611}/reconciliation_report_row_service_registry.rb +2 -2
  91. data/lib/dfp_api/{v201508 → v201611}/reconciliation_report_service.rb +6 -6
  92. data/lib/dfp_api/{v201508 → v201611}/reconciliation_report_service_registry.rb +2 -2
  93. data/lib/dfp_api/{v201508 → v201611}/report_service.rb +14 -6
  94. data/lib/dfp_api/{v201511 → v201611}/report_service_registry.rb +4 -4
  95. data/lib/dfp_api/{v201508 → v201611}/suggested_ad_unit_service.rb +6 -6
  96. data/lib/dfp_api/v201611/suggested_ad_unit_service_registry.rb +45 -0
  97. data/lib/dfp_api/{v201508 → v201611}/team_service.rb +6 -6
  98. data/lib/dfp_api/{v201508 → v201611}/team_service_registry.rb +3 -3
  99. data/lib/dfp_api/{v201508 → v201611}/user_service.rb +6 -6
  100. data/lib/dfp_api/{v201508 → v201611}/user_service_registry.rb +3 -3
  101. data/lib/dfp_api/{v201511 → v201611}/user_team_association_service.rb +6 -6
  102. data/lib/dfp_api/{v201511 → v201611}/user_team_association_service_registry.rb +2 -2
  103. data/lib/dfp_api/{v201508 → v201611}/workflow_request_service.rb +6 -6
  104. data/lib/dfp_api/{v201511 → v201611}/workflow_request_service_registry.rb +3 -3
  105. data/lib/dfp_api/version.rb +1 -1
  106. data/test/bugs/test_issue_00000007.rb +113 -0
  107. data/test/bugs/test_issue_00000081.rb +5 -3
  108. metadata +105 -611
  109. data/examples/v201602/activity_group_service/create_activity_groups.rb +0 -90
  110. data/examples/v201602/activity_group_service/get_active_activity_groups.rb +0 -87
  111. data/examples/v201602/activity_group_service/get_all_activity_groups.rb +0 -81
  112. data/examples/v201602/activity_group_service/update_activity_groups.rb +0 -94
  113. data/examples/v201602/activity_service/create_activities.rb +0 -87
  114. data/examples/v201602/activity_service/get_active_activities.rb +0 -87
  115. data/examples/v201602/activity_service/get_all_activities.rb +0 -81
  116. data/examples/v201602/activity_service/update_activities.rb +0 -96
  117. data/examples/v201602/audience_segment_service/create_audience_segments.rb +0 -114
  118. data/examples/v201602/audience_segment_service/get_all_audience_segments.rb +0 -81
  119. data/examples/v201602/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  120. data/examples/v201602/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  121. data/examples/v201602/audience_segment_service/update_audience_segments.rb +0 -94
  122. data/examples/v201602/common/error_handling.rb +0 -72
  123. data/examples/v201602/common/oauth2_jwt_handling.rb +0 -99
  124. data/examples/v201602/common/setup_oauth2.rb +0 -85
  125. data/examples/v201602/company_service/create_companies.rb +0 -78
  126. data/examples/v201602/company_service/get_all_companies.rb +0 -80
  127. data/examples/v201602/company_service/get_companies_by_statement.rb +0 -89
  128. data/examples/v201602/company_service/update_companies.rb +0 -104
  129. data/examples/v201602/contact_service/create_contacts.rb +0 -91
  130. data/examples/v201602/contact_service/get_all_contacts.rb +0 -80
  131. data/examples/v201602/contact_service/get_uninvited_contacts.rb +0 -94
  132. data/examples/v201602/contact_service/update_contacts.rb +0 -96
  133. data/examples/v201602/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  134. data/examples/v201602/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  135. data/examples/v201602/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  136. data/examples/v201602/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  137. data/examples/v201602/content_service/get_all_content.rb +0 -81
  138. data/examples/v201602/content_service/get_content_by_category.rb +0 -127
  139. data/examples/v201602/creative_service/copy_image_creatives.rb +0 -111
  140. data/examples/v201602/creative_service/create_creative_from_template.rb +0 -135
  141. data/examples/v201602/creative_service/create_creatives.rb +0 -108
  142. data/examples/v201602/creative_service/create_custom_creative.rb +0 -103
  143. data/examples/v201602/creative_service/create_native_creative.rb +0 -189
  144. data/examples/v201602/creative_service/get_all_creatives.rb +0 -80
  145. data/examples/v201602/creative_service/get_creatives_by_statement.rb +0 -88
  146. data/examples/v201602/creative_service/update_creatives.rb +0 -97
  147. data/examples/v201602/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  148. data/examples/v201602/creative_set_service/create_creative_set.rb +0 -79
  149. data/examples/v201602/creative_set_service/get_all_creative_sets.rb +0 -82
  150. data/examples/v201602/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  151. data/examples/v201602/creative_set_service/update_creative_sets.rb +0 -98
  152. data/examples/v201602/creative_template_service/get_all_creative_templates.rb +0 -82
  153. data/examples/v201602/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  154. data/examples/v201602/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  155. data/examples/v201602/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  156. data/examples/v201602/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  157. data/examples/v201602/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  158. data/examples/v201602/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  159. data/examples/v201602/custom_field_service/create_custom_field_options.rb +0 -83
  160. data/examples/v201602/custom_field_service/create_custom_fields.rb +0 -82
  161. data/examples/v201602/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  162. data/examples/v201602/custom_field_service/get_all_custom_fields.rb +0 -90
  163. data/examples/v201602/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  164. data/examples/v201602/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  165. data/examples/v201602/custom_field_service/update_custom_fields.rb +0 -98
  166. data/examples/v201602/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  167. data/examples/v201602/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  168. data/examples/v201602/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  169. data/examples/v201602/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  170. data/examples/v201602/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  171. data/examples/v201602/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  172. data/examples/v201602/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  173. data/examples/v201602/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  174. data/examples/v201602/forecast_service/get_availability_forecast.rb +0 -134
  175. data/examples/v201602/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  176. data/examples/v201602/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  177. data/examples/v201602/inventory_service/create_ad_units.rb +0 -97
  178. data/examples/v201602/inventory_service/create_video_ad_unit.rb +0 -103
  179. data/examples/v201602/inventory_service/deactivate_ad_units.rb +0 -110
  180. data/examples/v201602/inventory_service/get_ad_unit_sizes.rb +0 -74
  181. data/examples/v201602/inventory_service/get_ad_units_by_statement.rb +0 -97
  182. data/examples/v201602/inventory_service/get_all_ad_units.rb +0 -80
  183. data/examples/v201602/inventory_service/update_ad_units.rb +0 -105
  184. data/examples/v201602/label_service/create_labels.rb +0 -79
  185. data/examples/v201602/label_service/deactivate_labels.rb +0 -107
  186. data/examples/v201602/label_service/get_all_labels.rb +0 -82
  187. data/examples/v201602/label_service/get_labels_by_statement.rb +0 -82
  188. data/examples/v201602/label_service/update_labels.rb +0 -96
  189. data/examples/v201602/line_item_creative_association_service/create_licas.rb +0 -90
  190. data/examples/v201602/line_item_creative_association_service/deactivate_licas.rb +0 -113
  191. data/examples/v201602/line_item_creative_association_service/get_all_licas.rb +0 -85
  192. data/examples/v201602/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  193. data/examples/v201602/line_item_creative_association_service/update_licas.rb +0 -96
  194. data/examples/v201602/line_item_service/activate_line_items.rb +0 -118
  195. data/examples/v201602/line_item_service/create_line_items.rb +0 -182
  196. data/examples/v201602/line_item_service/create_video_line_item.rb +0 -164
  197. data/examples/v201602/line_item_service/get_all_line_items.rb +0 -82
  198. data/examples/v201602/line_item_service/get_line_items_by_statement.rb +0 -91
  199. data/examples/v201602/line_item_service/get_recently_updated_line_items.rb +0 -100
  200. data/examples/v201602/line_item_service/target_custom_criteria.rb +0 -140
  201. data/examples/v201602/line_item_service/update_line_items.rb +0 -106
  202. data/examples/v201602/network_service/get_all_networks.rb +0 -70
  203. data/examples/v201602/network_service/get_current_network.rb +0 -62
  204. data/examples/v201602/network_service/make_test_network.rb +0 -75
  205. data/examples/v201602/order_service/approve_orders.rb +0 -110
  206. data/examples/v201602/order_service/create_orders.rb +0 -88
  207. data/examples/v201602/order_service/get_all_orders.rb +0 -80
  208. data/examples/v201602/order_service/get_orders_by_statement.rb +0 -90
  209. data/examples/v201602/order_service/update_orders.rb +0 -101
  210. data/examples/v201602/placement_service/create_placements.rb +0 -128
  211. data/examples/v201602/placement_service/deactivate_placements.rb +0 -106
  212. data/examples/v201602/placement_service/get_all_placements.rb +0 -81
  213. data/examples/v201602/placement_service/get_placements_by_statement.rb +0 -87
  214. data/examples/v201602/placement_service/update_placements.rb +0 -102
  215. data/examples/v201602/publisher_query_language_service/fetch_match_tables.rb +0 -107
  216. data/examples/v201602/publisher_query_language_service/get_all_line_items.rb +0 -95
  217. data/examples/v201602/publisher_query_language_service/get_geo_targets.rb +0 -98
  218. data/examples/v201602/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  219. data/examples/v201602/report_service/display_report.rb +0 -77
  220. data/examples/v201602/report_service/download_report.rb +0 -77
  221. data/examples/v201602/report_service/run_delivery_report.rb +0 -111
  222. data/examples/v201602/report_service/run_inventory_report.rb +0 -109
  223. data/examples/v201602/report_service/run_reach_report.rb +0 -85
  224. data/examples/v201602/report_service/run_report_with_custom_fields.rb +0 -89
  225. data/examples/v201602/report_service/run_sales_report.rb +0 -89
  226. data/examples/v201602/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  227. data/examples/v201602/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  228. data/examples/v201602/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  229. data/examples/v201602/team_service/create_teams.rb +0 -79
  230. data/examples/v201602/team_service/get_all_teams.rb +0 -79
  231. data/examples/v201602/team_service/get_teams_by_statement.rb +0 -78
  232. data/examples/v201602/team_service/update_teams.rb +0 -94
  233. data/examples/v201602/user_service/create_users.rb +0 -85
  234. data/examples/v201602/user_service/deactivate_users.rb +0 -94
  235. data/examples/v201602/user_service/get_all_roles.rb +0 -69
  236. data/examples/v201602/user_service/get_all_users.rb +0 -79
  237. data/examples/v201602/user_service/get_current_user.rb +0 -62
  238. data/examples/v201602/user_service/get_users_by_statement.rb +0 -80
  239. data/examples/v201602/user_service/update_users.rb +0 -94
  240. data/examples/v201602/user_team_association_service/create_user_team_associations.rb +0 -82
  241. data/examples/v201602/user_team_association_service/delete_user_team_associations.rb +0 -98
  242. data/examples/v201602/user_team_association_service/get_all_user_team_associations.rb +0 -83
  243. data/examples/v201602/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  244. data/examples/v201602/user_team_association_service/update_user_team_associations.rb +0 -98
  245. data/examples/v201605/activity_group_service/create_activity_groups.rb +0 -90
  246. data/examples/v201605/activity_group_service/get_active_activity_groups.rb +0 -87
  247. data/examples/v201605/activity_group_service/get_all_activity_groups.rb +0 -81
  248. data/examples/v201605/activity_group_service/update_activity_groups.rb +0 -94
  249. data/examples/v201605/activity_service/create_activities.rb +0 -87
  250. data/examples/v201605/activity_service/get_active_activities.rb +0 -87
  251. data/examples/v201605/activity_service/get_all_activities.rb +0 -81
  252. data/examples/v201605/activity_service/update_activities.rb +0 -96
  253. data/examples/v201605/audience_segment_service/create_audience_segments.rb +0 -114
  254. data/examples/v201605/audience_segment_service/get_all_audience_segments.rb +0 -81
  255. data/examples/v201605/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  256. data/examples/v201605/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  257. data/examples/v201605/audience_segment_service/update_audience_segments.rb +0 -94
  258. data/examples/v201605/common/error_handling.rb +0 -72
  259. data/examples/v201605/common/oauth2_jwt_handling.rb +0 -99
  260. data/examples/v201605/common/setup_oauth2.rb +0 -85
  261. data/examples/v201605/company_service/create_companies.rb +0 -78
  262. data/examples/v201605/company_service/get_all_companies.rb +0 -80
  263. data/examples/v201605/company_service/get_companies_by_statement.rb +0 -89
  264. data/examples/v201605/company_service/update_companies.rb +0 -104
  265. data/examples/v201605/contact_service/create_contacts.rb +0 -91
  266. data/examples/v201605/contact_service/get_all_contacts.rb +0 -80
  267. data/examples/v201605/contact_service/get_uninvited_contacts.rb +0 -94
  268. data/examples/v201605/contact_service/update_contacts.rb +0 -96
  269. data/examples/v201605/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  270. data/examples/v201605/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  271. data/examples/v201605/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  272. data/examples/v201605/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  273. data/examples/v201605/content_service/get_all_content.rb +0 -81
  274. data/examples/v201605/content_service/get_content_by_category.rb +0 -127
  275. data/examples/v201605/creative_service/copy_image_creatives.rb +0 -111
  276. data/examples/v201605/creative_service/create_creative_from_template.rb +0 -135
  277. data/examples/v201605/creative_service/create_creatives.rb +0 -108
  278. data/examples/v201605/creative_service/create_custom_creative.rb +0 -103
  279. data/examples/v201605/creative_service/create_native_creative.rb +0 -189
  280. data/examples/v201605/creative_service/get_all_creatives.rb +0 -80
  281. data/examples/v201605/creative_service/get_creatives_by_statement.rb +0 -88
  282. data/examples/v201605/creative_service/update_creatives.rb +0 -97
  283. data/examples/v201605/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  284. data/examples/v201605/creative_set_service/create_creative_set.rb +0 -79
  285. data/examples/v201605/creative_set_service/get_all_creative_sets.rb +0 -82
  286. data/examples/v201605/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  287. data/examples/v201605/creative_set_service/update_creative_sets.rb +0 -98
  288. data/examples/v201605/creative_template_service/get_all_creative_templates.rb +0 -82
  289. data/examples/v201605/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  290. data/examples/v201605/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  291. data/examples/v201605/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  292. data/examples/v201605/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  293. data/examples/v201605/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  294. data/examples/v201605/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  295. data/examples/v201605/custom_field_service/create_custom_field_options.rb +0 -83
  296. data/examples/v201605/custom_field_service/create_custom_fields.rb +0 -82
  297. data/examples/v201605/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  298. data/examples/v201605/custom_field_service/get_all_custom_fields.rb +0 -90
  299. data/examples/v201605/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  300. data/examples/v201605/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  301. data/examples/v201605/custom_field_service/update_custom_fields.rb +0 -98
  302. data/examples/v201605/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  303. data/examples/v201605/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  304. data/examples/v201605/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  305. data/examples/v201605/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  306. data/examples/v201605/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  307. data/examples/v201605/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  308. data/examples/v201605/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  309. data/examples/v201605/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  310. data/examples/v201605/forecast_service/get_availability_forecast.rb +0 -134
  311. data/examples/v201605/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  312. data/examples/v201605/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  313. data/examples/v201605/inventory_service/create_ad_units.rb +0 -97
  314. data/examples/v201605/inventory_service/create_video_ad_unit.rb +0 -103
  315. data/examples/v201605/inventory_service/deactivate_ad_units.rb +0 -110
  316. data/examples/v201605/inventory_service/get_ad_unit_sizes.rb +0 -74
  317. data/examples/v201605/inventory_service/get_ad_units_by_statement.rb +0 -97
  318. data/examples/v201605/inventory_service/get_all_ad_units.rb +0 -80
  319. data/examples/v201605/inventory_service/update_ad_units.rb +0 -105
  320. data/examples/v201605/label_service/create_labels.rb +0 -79
  321. data/examples/v201605/label_service/deactivate_labels.rb +0 -107
  322. data/examples/v201605/label_service/get_all_labels.rb +0 -82
  323. data/examples/v201605/label_service/get_labels_by_statement.rb +0 -82
  324. data/examples/v201605/label_service/update_labels.rb +0 -96
  325. data/examples/v201605/line_item_creative_association_service/create_licas.rb +0 -90
  326. data/examples/v201605/line_item_creative_association_service/deactivate_licas.rb +0 -113
  327. data/examples/v201605/line_item_creative_association_service/get_all_licas.rb +0 -85
  328. data/examples/v201605/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  329. data/examples/v201605/line_item_creative_association_service/update_licas.rb +0 -96
  330. data/examples/v201605/line_item_service/activate_line_items.rb +0 -118
  331. data/examples/v201605/line_item_service/create_line_items.rb +0 -182
  332. data/examples/v201605/line_item_service/create_video_line_item.rb +0 -164
  333. data/examples/v201605/line_item_service/get_all_line_items.rb +0 -82
  334. data/examples/v201605/line_item_service/get_line_items_by_statement.rb +0 -91
  335. data/examples/v201605/line_item_service/get_recently_updated_line_items.rb +0 -100
  336. data/examples/v201605/line_item_service/target_custom_criteria.rb +0 -140
  337. data/examples/v201605/line_item_service/update_line_items.rb +0 -106
  338. data/examples/v201605/network_service/get_all_networks.rb +0 -70
  339. data/examples/v201605/network_service/get_current_network.rb +0 -62
  340. data/examples/v201605/network_service/make_test_network.rb +0 -75
  341. data/examples/v201605/order_service/approve_orders.rb +0 -110
  342. data/examples/v201605/order_service/create_orders.rb +0 -88
  343. data/examples/v201605/order_service/get_all_orders.rb +0 -80
  344. data/examples/v201605/order_service/get_orders_by_statement.rb +0 -90
  345. data/examples/v201605/order_service/update_orders.rb +0 -101
  346. data/examples/v201605/placement_service/create_placements.rb +0 -128
  347. data/examples/v201605/placement_service/deactivate_placements.rb +0 -106
  348. data/examples/v201605/placement_service/get_all_placements.rb +0 -81
  349. data/examples/v201605/placement_service/get_placements_by_statement.rb +0 -87
  350. data/examples/v201605/placement_service/update_placements.rb +0 -102
  351. data/examples/v201605/publisher_query_language_service/fetch_match_tables.rb +0 -107
  352. data/examples/v201605/publisher_query_language_service/get_all_line_items.rb +0 -95
  353. data/examples/v201605/publisher_query_language_service/get_geo_targets.rb +0 -98
  354. data/examples/v201605/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  355. data/examples/v201605/report_service/display_report.rb +0 -77
  356. data/examples/v201605/report_service/download_report.rb +0 -77
  357. data/examples/v201605/report_service/run_delivery_report.rb +0 -111
  358. data/examples/v201605/report_service/run_inventory_report.rb +0 -109
  359. data/examples/v201605/report_service/run_reach_report.rb +0 -85
  360. data/examples/v201605/report_service/run_report_with_custom_fields.rb +0 -89
  361. data/examples/v201605/report_service/run_sales_report.rb +0 -89
  362. data/examples/v201605/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  363. data/examples/v201605/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  364. data/examples/v201605/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  365. data/examples/v201605/team_service/create_teams.rb +0 -79
  366. data/examples/v201605/team_service/get_all_teams.rb +0 -79
  367. data/examples/v201605/team_service/get_teams_by_statement.rb +0 -78
  368. data/examples/v201605/team_service/update_teams.rb +0 -94
  369. data/examples/v201605/user_service/create_users.rb +0 -85
  370. data/examples/v201605/user_service/deactivate_users.rb +0 -94
  371. data/examples/v201605/user_service/get_all_roles.rb +0 -69
  372. data/examples/v201605/user_service/get_all_users.rb +0 -79
  373. data/examples/v201605/user_service/get_current_user.rb +0 -62
  374. data/examples/v201605/user_service/get_users_by_statement.rb +0 -80
  375. data/examples/v201605/user_service/update_users.rb +0 -94
  376. data/examples/v201605/user_team_association_service/create_user_team_associations.rb +0 -82
  377. data/examples/v201605/user_team_association_service/delete_user_team_associations.rb +0 -98
  378. data/examples/v201605/user_team_association_service/get_all_user_team_associations.rb +0 -83
  379. data/examples/v201605/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  380. data/examples/v201605/user_team_association_service/update_user_team_associations.rb +0 -98
  381. data/examples/v201608/activity_group_service/create_activity_groups.rb +0 -90
  382. data/examples/v201608/activity_group_service/get_active_activity_groups.rb +0 -87
  383. data/examples/v201608/activity_group_service/get_all_activity_groups.rb +0 -81
  384. data/examples/v201608/activity_group_service/update_activity_groups.rb +0 -94
  385. data/examples/v201608/activity_service/create_activities.rb +0 -87
  386. data/examples/v201608/activity_service/get_active_activities.rb +0 -87
  387. data/examples/v201608/activity_service/get_all_activities.rb +0 -81
  388. data/examples/v201608/activity_service/update_activities.rb +0 -96
  389. data/examples/v201608/audience_segment_service/create_audience_segments.rb +0 -114
  390. data/examples/v201608/audience_segment_service/get_all_audience_segments.rb +0 -81
  391. data/examples/v201608/audience_segment_service/get_first_party_audience_segments.rb +0 -88
  392. data/examples/v201608/audience_segment_service/populate_first_party_audience_segments.rb +0 -99
  393. data/examples/v201608/audience_segment_service/update_audience_segments.rb +0 -94
  394. data/examples/v201608/common/error_handling.rb +0 -72
  395. data/examples/v201608/common/oauth2_jwt_handling.rb +0 -99
  396. data/examples/v201608/common/setup_oauth2.rb +0 -85
  397. data/examples/v201608/company_service/create_companies.rb +0 -78
  398. data/examples/v201608/company_service/get_all_companies.rb +0 -80
  399. data/examples/v201608/company_service/get_companies_by_statement.rb +0 -89
  400. data/examples/v201608/company_service/update_companies.rb +0 -104
  401. data/examples/v201608/contact_service/create_contacts.rb +0 -91
  402. data/examples/v201608/contact_service/get_all_contacts.rb +0 -80
  403. data/examples/v201608/contact_service/get_uninvited_contacts.rb +0 -94
  404. data/examples/v201608/contact_service/update_contacts.rb +0 -96
  405. data/examples/v201608/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +0 -92
  406. data/examples/v201608/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +0 -101
  407. data/examples/v201608/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +0 -85
  408. data/examples/v201608/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +0 -110
  409. data/examples/v201608/content_service/get_all_content.rb +0 -81
  410. data/examples/v201608/content_service/get_content_by_category.rb +0 -127
  411. data/examples/v201608/creative_service/copy_image_creatives.rb +0 -111
  412. data/examples/v201608/creative_service/create_creative_from_template.rb +0 -135
  413. data/examples/v201608/creative_service/create_creatives.rb +0 -108
  414. data/examples/v201608/creative_service/create_custom_creative.rb +0 -103
  415. data/examples/v201608/creative_service/create_native_creative.rb +0 -189
  416. data/examples/v201608/creative_service/get_all_creatives.rb +0 -80
  417. data/examples/v201608/creative_service/get_creatives_by_statement.rb +0 -88
  418. data/examples/v201608/creative_service/update_creatives.rb +0 -97
  419. data/examples/v201608/creative_set_service/associate_creative_set_to_line_item.rb +0 -73
  420. data/examples/v201608/creative_set_service/create_creative_set.rb +0 -79
  421. data/examples/v201608/creative_set_service/get_all_creative_sets.rb +0 -82
  422. data/examples/v201608/creative_set_service/get_creative_sets_by_statement.rb +0 -92
  423. data/examples/v201608/creative_set_service/update_creative_sets.rb +0 -98
  424. data/examples/v201608/creative_template_service/get_all_creative_templates.rb +0 -82
  425. data/examples/v201608/creative_template_service/get_system_defined_creative_templates.rb +0 -87
  426. data/examples/v201608/creative_wrapper_service/create_creative_wrappers.rb +0 -85
  427. data/examples/v201608/creative_wrapper_service/deactivate_creative_wrapper.rb +0 -99
  428. data/examples/v201608/creative_wrapper_service/get_all_creative_wrappers.rb +0 -82
  429. data/examples/v201608/creative_wrapper_service/get_creative_wrappers_by_statement.rb +0 -89
  430. data/examples/v201608/creative_wrapper_service/update_creative_wrappers.rb +0 -99
  431. data/examples/v201608/custom_field_service/create_custom_field_options.rb +0 -83
  432. data/examples/v201608/custom_field_service/create_custom_fields.rb +0 -82
  433. data/examples/v201608/custom_field_service/deactivate_all_line_item_custom_fields.rb +0 -97
  434. data/examples/v201608/custom_field_service/get_all_custom_fields.rb +0 -90
  435. data/examples/v201608/custom_field_service/get_all_line_item_custom_fields.rb +0 -87
  436. data/examples/v201608/custom_field_service/set_line_item_custom_field_value.rb +0 -178
  437. data/examples/v201608/custom_field_service/update_custom_fields.rb +0 -98
  438. data/examples/v201608/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -135
  439. data/examples/v201608/custom_targeting_service/delete_custom_targeting_keys.rb +0 -112
  440. data/examples/v201608/custom_targeting_service/delete_custom_targeting_values.rb +0 -122
  441. data/examples/v201608/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -122
  442. data/examples/v201608/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -92
  443. data/examples/v201608/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -98
  444. data/examples/v201608/custom_targeting_service/update_custom_targeting_keys.rb +0 -90
  445. data/examples/v201608/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  446. data/examples/v201608/forecast_service/get_availability_forecast.rb +0 -134
  447. data/examples/v201608/forecast_service/get_availability_forecast_for_line_item.rb +0 -84
  448. data/examples/v201608/forecast_service/get_delivery_forecast_for_line_items.rb +0 -77
  449. data/examples/v201608/inventory_service/create_ad_units.rb +0 -97
  450. data/examples/v201608/inventory_service/deactivate_ad_units.rb +0 -110
  451. data/examples/v201608/inventory_service/get_ad_unit_sizes.rb +0 -74
  452. data/examples/v201608/inventory_service/get_ad_units_by_statement.rb +0 -97
  453. data/examples/v201608/inventory_service/get_all_ad_units.rb +0 -80
  454. data/examples/v201608/inventory_service/update_ad_units.rb +0 -113
  455. data/examples/v201608/label_service/create_labels.rb +0 -79
  456. data/examples/v201608/label_service/deactivate_labels.rb +0 -107
  457. data/examples/v201608/label_service/get_all_labels.rb +0 -82
  458. data/examples/v201608/label_service/get_labels_by_statement.rb +0 -82
  459. data/examples/v201608/label_service/update_labels.rb +0 -96
  460. data/examples/v201608/line_item_creative_association_service/create_licas.rb +0 -90
  461. data/examples/v201608/line_item_creative_association_service/deactivate_licas.rb +0 -113
  462. data/examples/v201608/line_item_creative_association_service/get_all_licas.rb +0 -85
  463. data/examples/v201608/line_item_creative_association_service/get_licas_by_statement.rb +0 -89
  464. data/examples/v201608/line_item_creative_association_service/update_licas.rb +0 -96
  465. data/examples/v201608/line_item_service/activate_line_items.rb +0 -118
  466. data/examples/v201608/line_item_service/create_line_items.rb +0 -182
  467. data/examples/v201608/line_item_service/create_video_line_item.rb +0 -164
  468. data/examples/v201608/line_item_service/get_all_line_items.rb +0 -82
  469. data/examples/v201608/line_item_service/get_line_items_by_statement.rb +0 -91
  470. data/examples/v201608/line_item_service/get_recently_updated_line_items.rb +0 -100
  471. data/examples/v201608/line_item_service/target_custom_criteria.rb +0 -140
  472. data/examples/v201608/line_item_service/update_line_items.rb +0 -106
  473. data/examples/v201608/network_service/get_all_networks.rb +0 -70
  474. data/examples/v201608/network_service/get_current_network.rb +0 -62
  475. data/examples/v201608/network_service/make_test_network.rb +0 -75
  476. data/examples/v201608/order_service/approve_orders.rb +0 -110
  477. data/examples/v201608/order_service/create_orders.rb +0 -88
  478. data/examples/v201608/order_service/get_all_orders.rb +0 -80
  479. data/examples/v201608/order_service/get_orders_by_statement.rb +0 -90
  480. data/examples/v201608/order_service/update_orders.rb +0 -101
  481. data/examples/v201608/placement_service/create_placements.rb +0 -128
  482. data/examples/v201608/placement_service/deactivate_placements.rb +0 -106
  483. data/examples/v201608/placement_service/get_all_placements.rb +0 -81
  484. data/examples/v201608/placement_service/get_placements_by_statement.rb +0 -87
  485. data/examples/v201608/placement_service/update_placements.rb +0 -102
  486. data/examples/v201608/publisher_query_language_service/fetch_match_tables.rb +0 -107
  487. data/examples/v201608/publisher_query_language_service/get_all_line_items.rb +0 -95
  488. data/examples/v201608/publisher_query_language_service/get_geo_targets.rb +0 -98
  489. data/examples/v201608/publisher_query_language_service/get_line_items_named_like.rb +0 -96
  490. data/examples/v201608/report_service/display_report.rb +0 -77
  491. data/examples/v201608/report_service/download_report.rb +0 -77
  492. data/examples/v201608/report_service/run_delivery_report.rb +0 -111
  493. data/examples/v201608/report_service/run_inventory_report.rb +0 -109
  494. data/examples/v201608/report_service/run_reach_report.rb +0 -85
  495. data/examples/v201608/report_service/run_report_with_custom_fields.rb +0 -89
  496. data/examples/v201608/report_service/run_sales_report.rb +0 -89
  497. data/examples/v201608/report_service/run_saved_query.rb +0 -105
  498. data/examples/v201608/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +0 -108
  499. data/examples/v201608/suggested_ad_unit_service/get_all_suggested_ad_units.rb +0 -83
  500. data/examples/v201608/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +0 -91
  501. data/examples/v201608/team_service/create_teams.rb +0 -79
  502. data/examples/v201608/team_service/get_all_teams.rb +0 -79
  503. data/examples/v201608/team_service/get_teams_by_statement.rb +0 -78
  504. data/examples/v201608/team_service/update_teams.rb +0 -88
  505. data/examples/v201608/user_service/create_users.rb +0 -85
  506. data/examples/v201608/user_service/deactivate_users.rb +0 -94
  507. data/examples/v201608/user_service/get_all_roles.rb +0 -69
  508. data/examples/v201608/user_service/get_all_users.rb +0 -79
  509. data/examples/v201608/user_service/get_current_user.rb +0 -62
  510. data/examples/v201608/user_service/get_users_by_statement.rb +0 -80
  511. data/examples/v201608/user_service/update_users.rb +0 -94
  512. data/examples/v201608/user_team_association_service/create_user_team_associations.rb +0 -82
  513. data/examples/v201608/user_team_association_service/delete_user_team_associations.rb +0 -98
  514. data/examples/v201608/user_team_association_service/get_all_user_team_associations.rb +0 -83
  515. data/examples/v201608/user_team_association_service/get_user_team_associations_by_statement.rb +0 -93
  516. data/examples/v201608/user_team_association_service/update_user_team_associations.rb +0 -98
  517. data/lib/dfp_api/v201508/activity_group_service.rb +0 -54
  518. data/lib/dfp_api/v201508/activity_group_service_registry.rb +0 -45
  519. data/lib/dfp_api/v201508/ad_exclusion_rule_service.rb +0 -62
  520. data/lib/dfp_api/v201508/ad_exclusion_rule_service_registry.rb +0 -45
  521. data/lib/dfp_api/v201508/ad_rule_service.rb +0 -62
  522. data/lib/dfp_api/v201508/ad_rule_service_registry.rb +0 -45
  523. data/lib/dfp_api/v201508/audience_segment_service_registry.rb +0 -45
  524. data/lib/dfp_api/v201508/base_rate_service.rb +0 -62
  525. data/lib/dfp_api/v201508/base_rate_service_registry.rb +0 -45
  526. data/lib/dfp_api/v201508/company_service.rb +0 -54
  527. data/lib/dfp_api/v201508/company_service_registry.rb +0 -45
  528. data/lib/dfp_api/v201508/contact_service.rb +0 -54
  529. data/lib/dfp_api/v201508/contact_service_registry.rb +0 -45
  530. data/lib/dfp_api/v201508/content_bundle_service.rb +0 -62
  531. data/lib/dfp_api/v201508/content_bundle_service_registry.rb +0 -45
  532. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service.rb +0 -62
  533. data/lib/dfp_api/v201508/content_metadata_key_hierarchy_service_registry.rb +0 -45
  534. data/lib/dfp_api/v201508/content_service.rb +0 -46
  535. data/lib/dfp_api/v201508/content_service_registry.rb +0 -45
  536. data/lib/dfp_api/v201508/creative_service.rb +0 -54
  537. data/lib/dfp_api/v201508/creative_service_registry.rb +0 -45
  538. data/lib/dfp_api/v201508/creative_set_service_registry.rb +0 -45
  539. data/lib/dfp_api/v201508/creative_template_service_registry.rb +0 -45
  540. data/lib/dfp_api/v201508/creative_wrapper_service_registry.rb +0 -45
  541. data/lib/dfp_api/v201508/custom_field_service.rb +0 -86
  542. data/lib/dfp_api/v201508/custom_field_service_registry.rb +0 -45
  543. data/lib/dfp_api/v201508/custom_targeting_service_registry.rb +0 -45
  544. data/lib/dfp_api/v201508/exchange_rate_service_registry.rb +0 -45
  545. data/lib/dfp_api/v201508/forecast_service.rb +0 -62
  546. data/lib/dfp_api/v201508/forecast_service_registry.rb +0 -45
  547. data/lib/dfp_api/v201508/inventory_service_registry.rb +0 -45
  548. data/lib/dfp_api/v201508/label_service_registry.rb +0 -45
  549. data/lib/dfp_api/v201508/line_item_creative_association_service_registry.rb +0 -45
  550. data/lib/dfp_api/v201508/line_item_service.rb +0 -62
  551. data/lib/dfp_api/v201508/line_item_service_registry.rb +0 -45
  552. data/lib/dfp_api/v201508/line_item_template_service.rb +0 -38
  553. data/lib/dfp_api/v201508/line_item_template_service_registry.rb +0 -45
  554. data/lib/dfp_api/v201508/live_stream_event_service.rb +0 -62
  555. data/lib/dfp_api/v201508/live_stream_event_service_registry.rb +0 -45
  556. data/lib/dfp_api/v201508/network_service.rb +0 -62
  557. data/lib/dfp_api/v201508/network_service_registry.rb +0 -45
  558. data/lib/dfp_api/v201508/package_service_registry.rb +0 -45
  559. data/lib/dfp_api/v201508/placement_service_registry.rb +0 -45
  560. data/lib/dfp_api/v201508/product_package_service.rb +0 -62
  561. data/lib/dfp_api/v201508/product_service.rb +0 -54
  562. data/lib/dfp_api/v201508/product_service_registry.rb +0 -45
  563. data/lib/dfp_api/v201508/product_template_service.rb +0 -62
  564. data/lib/dfp_api/v201508/product_template_service_registry.rb +0 -45
  565. data/lib/dfp_api/v201508/proposal_line_item_service_registry.rb +0 -45
  566. data/lib/dfp_api/v201508/proposal_service_registry.rb +0 -45
  567. data/lib/dfp_api/v201508/publisher_query_language_service.rb +0 -38
  568. data/lib/dfp_api/v201508/publisher_query_language_service_registry.rb +0 -45
  569. data/lib/dfp_api/v201508/rate_card_service_registry.rb +0 -45
  570. data/lib/dfp_api/v201508/reconciliation_line_item_report_service_registry.rb +0 -45
  571. data/lib/dfp_api/v201508/reconciliation_order_report_service.rb +0 -54
  572. data/lib/dfp_api/v201508/reconciliation_report_row_service.rb +0 -46
  573. data/lib/dfp_api/v201508/reconciliation_report_row_service_registry.rb +0 -45
  574. data/lib/dfp_api/v201508/report_service_registry.rb +0 -45
  575. data/lib/dfp_api/v201508/shared_ad_unit_service.rb +0 -46
  576. data/lib/dfp_api/v201508/shared_ad_unit_service_registry.rb +0 -45
  577. data/lib/dfp_api/v201508/suggested_ad_unit_service_registry.rb +0 -45
  578. data/lib/dfp_api/v201508/user_team_association_service.rb +0 -62
  579. data/lib/dfp_api/v201508/user_team_association_service_registry.rb +0 -45
  580. data/lib/dfp_api/v201508/workflow_request_service_registry.rb +0 -45
  581. data/lib/dfp_api/v201511/activity_service.rb +0 -54
  582. data/lib/dfp_api/v201511/activity_service_registry.rb +0 -45
  583. data/lib/dfp_api/v201511/ad_rule_service_registry.rb +0 -45
  584. data/lib/dfp_api/v201511/audience_segment_service.rb +0 -62
  585. data/lib/dfp_api/v201511/content_bundle_service_registry.rb +0 -45
  586. data/lib/dfp_api/v201511/creative_service_registry.rb +0 -45
  587. data/lib/dfp_api/v201511/creative_set_service.rb +0 -54
  588. data/lib/dfp_api/v201511/creative_set_service_registry.rb +0 -45
  589. data/lib/dfp_api/v201511/creative_template_service.rb +0 -38
  590. data/lib/dfp_api/v201511/creative_template_service_registry.rb +0 -45
  591. data/lib/dfp_api/v201511/creative_wrapper_service.rb +0 -62
  592. data/lib/dfp_api/v201511/custom_targeting_service.rb +0 -94
  593. data/lib/dfp_api/v201511/exchange_rate_service.rb +0 -62
  594. data/lib/dfp_api/v201511/forecast_service_registry.rb +0 -45
  595. data/lib/dfp_api/v201511/inventory_service.rb +0 -70
  596. data/lib/dfp_api/v201511/inventory_service_registry.rb +0 -45
  597. data/lib/dfp_api/v201511/label_service.rb +0 -62
  598. data/lib/dfp_api/v201511/line_item_creative_association_service.rb +0 -70
  599. data/lib/dfp_api/v201511/line_item_creative_association_service_registry.rb +0 -45
  600. data/lib/dfp_api/v201511/line_item_service_registry.rb +0 -45
  601. data/lib/dfp_api/v201511/line_item_template_service_registry.rb +0 -45
  602. data/lib/dfp_api/v201511/order_service.rb +0 -62
  603. data/lib/dfp_api/v201511/order_service_registry.rb +0 -45
  604. data/lib/dfp_api/v201511/package_service.rb +0 -62
  605. data/lib/dfp_api/v201511/placement_service.rb +0 -62
  606. data/lib/dfp_api/v201511/premium_rate_service.rb +0 -54
  607. data/lib/dfp_api/v201511/premium_rate_service_registry.rb +0 -45
  608. data/lib/dfp_api/v201511/product_package_item_service.rb +0 -62
  609. data/lib/dfp_api/v201511/product_package_item_service_registry.rb +0 -45
  610. data/lib/dfp_api/v201511/product_package_service_registry.rb +0 -45
  611. data/lib/dfp_api/v201511/product_service_registry.rb +0 -45
  612. data/lib/dfp_api/v201511/product_template_service_registry.rb +0 -45
  613. data/lib/dfp_api/v201511/proposal_line_item_service.rb +0 -62
  614. data/lib/dfp_api/v201511/proposal_line_item_service_registry.rb +0 -45
  615. data/lib/dfp_api/v201511/proposal_service.rb +0 -62
  616. data/lib/dfp_api/v201511/proposal_service_registry.rb +0 -45
  617. data/lib/dfp_api/v201511/publisher_query_language_service_registry.rb +0 -45
  618. data/lib/dfp_api/v201511/rate_card_service.rb +0 -62
  619. data/lib/dfp_api/v201511/reconciliation_line_item_report_service.rb +0 -46
  620. data/lib/dfp_api/v201511/reconciliation_order_report_service_registry.rb +0 -45
  621. data/lib/dfp_api/v201511/reconciliation_report_service.rb +0 -46
  622. data/lib/dfp_api/v201511/reconciliation_report_service_registry.rb +0 -45
  623. data/lib/dfp_api/v201511/report_service.rb +0 -62
  624. data/lib/dfp_api/v201511/shared_ad_unit_service.rb +0 -46
  625. data/lib/dfp_api/v201511/shared_ad_unit_service_registry.rb +0 -45
  626. data/lib/dfp_api/v201511/suggested_ad_unit_service.rb +0 -46
  627. data/lib/dfp_api/v201511/suggested_ad_unit_service_registry.rb +0 -45
  628. data/lib/dfp_api/v201511/team_service.rb +0 -54
  629. data/lib/dfp_api/v201511/team_service_registry.rb +0 -45
  630. data/lib/dfp_api/v201511/user_service.rb +0 -78
  631. data/lib/dfp_api/v201511/user_service_registry.rb +0 -45
  632. data/lib/dfp_api/v201511/workflow_request_service.rb +0 -46
  633. data/test/dfp_api/test_config.yml +0 -9
  634. data/test/suite_unittests.rb +0 -34
@@ -1,134 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example gets a forecast for a prospective line item. To determine which
20
- # placements exist, run get_all_placements.rb.
21
-
22
- require 'dfp_api'
23
-
24
- API_VERSION = :v201605
25
-
26
- def get_availability_forecast()
27
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
28
- dfp = DfpApi::Api.new
29
-
30
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
31
- # the configuration file or provide your own logger:
32
- # dfp.logger = Logger.new('dfp_xml.log')
33
-
34
- # Get the ForecastService.
35
- forecast_service = dfp.service(:ForecastService, API_VERSION)
36
-
37
- # Get the NetworkService.
38
- network_service = dfp.service(:NetworkService, API_VERSION)
39
-
40
- # Set the advertiser to assign the prospective line item to.
41
- # This allows for forecasting while taking into account
42
- # same advertiser exclusion.
43
- advertiser_id = 'INSERT_ADVERTISER_ID_HERE'.to_i
44
-
45
- # Set the root ad unit to target the entire network.
46
- root_ad_unit_id = (
47
- network_service.get_current_network()[:effective_root_ad_unit_id].to_i)
48
-
49
- # Create targeting.
50
- targeting = {
51
- :inventory_targeting => {
52
- :targeted_ad_units => [
53
- {
54
- :include_descendants => True,
55
- :ad_unit_id => root_ad_unit_id
56
- }
57
- ]
58
- }
59
- }
60
-
61
- # Create the creative placeholder.
62
- creative_placeholder = {
63
- :size => {:width => 300, :height => 250, :is_aspect_ratio => false}
64
- }
65
-
66
- # Create prospective line item.
67
- line_item = {
68
- :line_item_type => 'SPONSORSHIP',
69
- :targeting => targeting,
70
- # Set the size of creatives that can be associated with this line item.
71
- :creative_placeholders => [creative_placeholder],
72
- # Set the line item's time to be now until the projected end date time.
73
- :start_date_time_type => 'IMMEDIATELY',
74
- :end_date_time => Time.utc(2014, 01, 01),
75
- # Set the line item to use 50% of the impressions.
76
- :primary_goal => {:goal => {
77
- :units => '50',
78
- :unit_type => 'IMPRESSIONS',
79
- :goal_type => 'DAILY'}
80
- },
81
- # Set the cost type to match the unit type.
82
- :cost_type => 'CPM'
83
- }
84
-
85
- prospective_line_item = {
86
- :advertiser_id => advertiser_id,
87
- :line_item => line_item
88
- }
89
-
90
- # Set forecasting options.
91
- forecast_options = {
92
- :include_contending_line_items => True,
93
- :include_targeting_criteria_breakdown => True,
94
- }
95
-
96
- # Get forecast for the line item.
97
- forecast = forecast_service.get_availability_forecast(
98
- prospective_line_item, forecast_options)
99
-
100
- if forecast
101
- # Display results.
102
- matched = forecast[:matched_units]
103
- available_percent = forecast[:available_units] * 100.0 / matched
104
- unit_type = forecast[:unit_type].to_s.downcase
105
- puts "%.2f %s matched." % [matched, unit_type]
106
- puts "%.2f%% %s available." % [available_percent, unit_type]
107
- puts "%d contending line items." % forecast[:contending_line_items].size
108
- if forecast[:possible_units]
109
- possible_percent = forecast[:possible_units] * 100.0 / matched
110
- puts "%.2f%% %s possible." % [possible_percent, unit_type]
111
- end
112
- end
113
- end
114
-
115
- if __FILE__ == $0
116
- begin
117
- get_availability_forecast()
118
-
119
- # HTTP errors.
120
- rescue AdsCommon::Errors::HttpError => e
121
- puts "HTTP Error: %s" % e
122
-
123
- # API errors.
124
- rescue DfpApi::Errors::ApiException => e
125
- puts "Message: %s" % e.message
126
- puts 'Errors:'
127
- e.errors.each_with_index do |error, index|
128
- puts "\tError [%d]:" % (index + 1)
129
- error.each do |field, value|
130
- puts "\t\t%s: %s" % [field, value]
131
- end
132
- end
133
- end
134
- end
@@ -1,84 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example gets a forecast for a prospective line item. To determine which
20
- # placements exist, run get_all_placements.rb.
21
-
22
- require 'dfp_api'
23
-
24
- API_VERSION = :v201605
25
-
26
- def get_availability_forecast_for_line_item()
27
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
28
- dfp = DfpApi::Api.new
29
-
30
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
31
- # the configuration file or provide your own logger:
32
- # dfp.logger = Logger.new('dfp_xml.log')
33
-
34
- # Get the ForecastService.
35
- forecast_service = dfp.service(:ForecastService, API_VERSION)
36
-
37
- # Set the line item to get a forecast for.
38
- line_item_id = 'INSERT_LINE_ITEM_ID_HERE'.to_i
39
-
40
- # Set forecasting options.
41
- forecast_options = {
42
- :include_contending_line_items => True,
43
- :include_targeting_criteria_breakdown => True,
44
- }
45
-
46
- # Get forecast for the line item.
47
- forecast = forecast_service.get_availability_forecast_by_id(
48
- line_item_id, forecast_options)
49
-
50
- if forecast
51
- # Display results.
52
- matched = forecast[:matched_units]
53
- available_percent = forecast[:available_units] * 100.0 / matched
54
- unit_type = forecast[:unit_type].to_s.downcase
55
- puts "%.2f %s matched." % [matched, unit_type]
56
- puts "%.2f%% %s available." % [available_percent, unit_type]
57
- puts "%d contending line items." % forecast[:contending_line_items].size
58
- if forecast[:possible_units]
59
- possible_percent = forecast[:possible_units] * 100.0 / matched
60
- puts "%.2f%% %s possible." % [possible_percent, unit_type]
61
- end
62
- end
63
- end
64
-
65
- if __FILE__ == $0
66
- begin
67
- get_availability_forecast_for_line_item()
68
-
69
- # HTTP errors.
70
- rescue AdsCommon::Errors::HttpError => e
71
- puts "HTTP Error: %s" % e
72
-
73
- # API errors.
74
- rescue DfpApi::Errors::ApiException => e
75
- puts "Message: %s" % e.message
76
- puts 'Errors:'
77
- e.errors.each_with_index do |error, index|
78
- puts "\tError [%d]:" % (index + 1)
79
- error.each do |field, value|
80
- puts "\t\t%s: %s" % [field, value]
81
- end
82
- end
83
- end
84
- end
@@ -1,77 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example gets a delivery forecast for multiple line items. To determine
20
- # which placements exist, run get_all_placements.rb.
21
-
22
- require 'dfp_api'
23
-
24
- API_VERSION = :v201605
25
-
26
- def get_delivery_forecast_for_line_items()
27
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
28
- dfp = DfpApi::Api.new
29
-
30
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
31
- # the configuration file or provide your own logger:
32
- # dfp.logger = Logger.new('dfp_xml.log')
33
-
34
- # Get the ForecastService.
35
- forecast_service = dfp.service(:ForecastService, API_VERSION)
36
-
37
- # Set the line items to get a forecast for.
38
- line_item_id1 = 'INSERT_LINE_ITEM_ID_1_HERE'.to_i
39
- line_item_id2 = 'INSERT_LINE_ITEM_ID_2_HERE'.to_i
40
-
41
- # Get forecast for the line item.
42
- forecast = forecast_service.get_delivery_forecast_by_ids(
43
- [line_item_id1, line_item_id2], nil)
44
-
45
- if forecast
46
- forecast[:line_item_delivery_forecasts].each do |single_forecast|
47
- # Display results.
48
- unit_type = single_forecast[:unit_type]
49
- puts ('Forecast for line item %d:\n\t%d %s matched\n\t%d %s ' +
50
- 'delivered\n\t%d %s predicted\n') % [
51
- single_forecast[:line_item_id], single_forecast[:matched_units],
52
- unit_type, single_forecast[:delivered_units], unit_type,
53
- single_forecast[:predicted_delivery_units], unit_type]
54
- end
55
- end
56
- end
57
-
58
- if __FILE__ == $0
59
- begin
60
- get_delivery_forecast_for_line_items()
61
-
62
- # HTTP errors.
63
- rescue AdsCommon::Errors::HttpError => e
64
- puts "HTTP Error: %s" % e
65
-
66
- # API errors.
67
- rescue DfpApi::Errors::ApiException => e
68
- puts "Message: %s" % e.message
69
- puts 'Errors:'
70
- e.errors.each_with_index do |error, index|
71
- puts "\tError [%d]:" % (index + 1)
72
- error.each do |field, value|
73
- puts "\t\t%s: %s" % [field, value]
74
- end
75
- end
76
- end
77
- end
@@ -1,97 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example creates new ad units under a the effective root ad unit. To
20
- # determine which ad units exist, run get_inventory_tree.rb or
21
- # get_all_ad_units.rb.
22
-
23
- require 'dfp_api'
24
-
25
- API_VERSION = :v201605
26
- # Number of ad units to create.
27
- ITEM_COUNT = 5
28
-
29
- def create_ad_units()
30
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
31
- dfp = DfpApi::Api.new
32
-
33
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
34
- # the configuration file or provide your own logger:
35
- # dfp.logger = Logger.new('dfp_xml.log')
36
-
37
- # Get the InventoryService.
38
- inventory_service = dfp.service(:InventoryService, API_VERSION)
39
-
40
- # Get the NetworkService.
41
- network_service = dfp.service(:NetworkService, API_VERSION)
42
-
43
- # Get the effective root ad unit ID of the network.
44
- effective_root_ad_unit_id =
45
- network_service.get_current_network[:effective_root_ad_unit_id]
46
-
47
- puts "Using effective root ad unit: %d" % effective_root_ad_unit_id
48
-
49
- # Create the creative placeholder.
50
- creative_placeholder = {
51
- :size => {:width => 300, :height => 250, :is_aspect_ratio => false},
52
- :environment_type => 'BROWSER'
53
- }
54
-
55
- # Create an array to store local ad unit objects.
56
- ad_units = (1..ITEM_COUNT).map do |index|
57
- {:name => "Ad_Unit_%d" % index,
58
- :parent_id => effective_root_ad_unit_id,
59
- :description => 'Ad unit description.',
60
- :target_window => 'BLANK',
61
- # Set the size of possible creatives that can match this ad unit.
62
- :ad_unit_sizes => [creative_placeholder]}
63
- end
64
-
65
- # Create the ad units on the server.
66
- return_ad_units = inventory_service.create_ad_units(ad_units)
67
-
68
- if return_ad_units
69
- return_ad_units.each do |ad_unit|
70
- puts "Ad unit with ID: %d, name: %s and status: %s was created." %
71
- [ad_unit[:id], ad_unit[:name], ad_unit[:status]]
72
- end
73
- else
74
- raise 'No ad units were created.'
75
- end
76
- end
77
-
78
- if __FILE__ == $0
79
- begin
80
- create_ad_units()
81
-
82
- # HTTP errors.
83
- rescue AdsCommon::Errors::HttpError => e
84
- puts "HTTP Error: %s" % e
85
-
86
- # API errors.
87
- rescue DfpApi::Errors::ApiException => e
88
- puts "Message: %s" % e.message
89
- puts 'Errors:'
90
- e.errors.each_with_index do |error, index|
91
- puts "\tError [%d]:" % (index + 1)
92
- error.each do |field, value|
93
- puts "\t\t%s: %s" % [field, value]
94
- end
95
- end
96
- end
97
- end
@@ -1,103 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # Encoding: utf-8
3
- #
4
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
5
- #
6
- # License:: Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
- # implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
- #
19
- # This example creates a new video ad unit under a the effective root ad unit.
20
- # To determine which ad units exist, run get_inventory_tree.rb or
21
- # get_all_ad_units.rb.
22
- #
23
- # This feature is only available to DFP premium solution networks.
24
-
25
- require 'dfp_api'
26
-
27
- API_VERSION = :v201605
28
-
29
- def create_video_ad_unit()
30
- # Get DfpApi instance and load configuration from ~/dfp_api.yml.
31
- dfp = DfpApi::Api.new
32
-
33
- # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
34
- # the configuration file or provide your own logger:
35
- # dfp.logger = Logger.new('dfp_xml.log')
36
-
37
- # Get the InventoryService.
38
- inventory_service = dfp.service(:InventoryService, API_VERSION)
39
-
40
- # Get the NetworkService.
41
- network_service = dfp.service(:NetworkService, API_VERSION)
42
-
43
- # Get the effective root ad unit ID of the network.
44
- effective_root_ad_unit_id =
45
- network_service.get_current_network[:effective_root_ad_unit_id]
46
-
47
- puts "Using effective root ad unit: %s" % effective_root_ad_unit_id.to_s
48
-
49
- # Create master ad unit size.
50
- master_ad_unit_size = {
51
- :size => {:width => 400, :height => 300, :is_aspect_ratio => false},
52
- :environment_type => 'VIDEO_PLAYER',
53
- # Add companions to master ad unit size.
54
- :companions => [
55
- {:size => {:width => 300, :height => 250, :is_aspect_ratio => false},
56
- :environment_type => 'BROWSER'},
57
- {:size => {:width => 728, :height => 90, :is_aspect_ratio => false},
58
- :environment_type => 'BROWSER'}
59
- ]
60
- }
61
-
62
- # Create local ad unit object.
63
- ad_unit = {
64
- :name => "Video_Ad_Unit_%d" % (Time.new.to_f * 1000).to_i,
65
- :parent_id => effective_root_ad_unit_id,
66
- :description => 'Video Ad unit description',
67
- :target_window => 'BLANK',
68
- :explicitly_targeted => true,
69
- # Set the size of possible creatives that can match this ad unit.
70
- :ad_unit_sizes => [master_ad_unit_size]
71
- }
72
-
73
- # Create the ad unit on the server.
74
- return_ad_unit = inventory_service.create_ad_unit(ad_unit)
75
-
76
- if return_ad_unit
77
- puts "Ad unit with ID: %d, name: %s and status: %s was created." %
78
- [return_ad_unit[:id], return_ad_unit[:name], return_ad_unit[:status]]
79
- else
80
- raise 'No ad units were created.'
81
- end
82
- end
83
-
84
- if __FILE__ == $0
85
- begin
86
- create_video_ad_unit()
87
-
88
- # HTTP errors.
89
- rescue AdsCommon::Errors::HttpError => e
90
- puts "HTTP Error: %s" % e
91
-
92
- # API errors.
93
- rescue DfpApi::Errors::ApiException => e
94
- puts "Message: %s" % e.message
95
- puts 'Errors:'
96
- e.errors.each_with_index do |error, index|
97
- puts "\tError [%d]:" % (index + 1)
98
- error.each do |field, value|
99
- puts "\t\t%s: %s" % [field, value]
100
- end
101
- end
102
- end
103
- end