google-dfp-api 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. data/ChangeLog +4 -0
  2. data/README.md +1 -3
  3. data/dfp_api.yml +1 -9
  4. data/examples/v201408/report_service/run_sales_report.rb +3 -3
  5. data/examples/v201411/report_service/run_sales_report.rb +3 -3
  6. data/examples/v201502/report_service/run_sales_report.rb +3 -3
  7. data/examples/{v201405 → v201505}/activity_group_service/create_activity_groups.rb +1 -1
  8. data/examples/{v201405 → v201505}/activity_group_service/get_active_activity_groups.rb +18 -27
  9. data/examples/{v201405 → v201505}/activity_group_service/get_all_activity_groups.rb +13 -23
  10. data/examples/{v201405 → v201505}/activity_group_service/update_activity_groups.rb +11 -9
  11. data/examples/{v201405 → v201505}/activity_service/create_activities.rb +1 -1
  12. data/examples/{v201405 → v201505}/activity_service/get_active_activities.rb +15 -27
  13. data/examples/{v201405 → v201505}/activity_service/get_all_activities.rb +10 -21
  14. data/examples/{v201405 → v201505}/activity_service/update_activities.rb +9 -7
  15. data/examples/{v201405 → v201505}/audience_segment_service/create_audience_segments.rb +1 -1
  16. data/examples/{v201405 → v201505}/audience_segment_service/get_all_audience_segments.rb +10 -19
  17. data/examples/{v201405 → v201505}/audience_segment_service/get_first_party_audience_segments.rb +14 -21
  18. data/examples/{v201405 → v201505}/audience_segment_service/populate_first_party_audience_segments.rb +16 -14
  19. data/examples/{v201405 → v201505}/audience_segment_service/update_audience_segments.rb +12 -11
  20. data/examples/{v201405 → v201505}/common/error_handling.rb +1 -1
  21. data/examples/{v201405 → v201505}/common/oauth2_jwt_handling.rb +9 -17
  22. data/examples/{v201405 → v201505}/common/setup_oauth2.rb +1 -1
  23. data/examples/{v201405 → v201505}/company_service/create_companies.rb +1 -1
  24. data/examples/{v201405 → v201505}/company_service/get_all_companies.rb +10 -18
  25. data/examples/{v201405 → v201505}/company_service/get_companies_by_statement.rb +21 -16
  26. data/examples/{v201405 → v201505}/company_service/update_companies.rb +13 -10
  27. data/examples/{v201405 → v201505}/contact_service/create_contacts.rb +1 -1
  28. data/examples/{v201405 → v201505}/contact_service/get_all_contacts.rb +11 -19
  29. data/examples/{v201405 → v201505}/contact_service/get_uninvited_contacts.rb +18 -22
  30. data/examples/{v201405 → v201505}/contact_service/update_contacts.rb +9 -7
  31. data/examples/{v201405 → v201505}/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb +1 -1
  32. data/examples/{v201405 → v201505}/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb +11 -8
  33. data/examples/{v201405 → v201505}/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb +8 -18
  34. data/examples/{v201405 → v201505}/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb +9 -7
  35. data/examples/{v201405 → v201505}/content_service/get_all_content.rb +9 -18
  36. data/examples/{v201405 → v201505}/content_service/get_content_by_category.rb +18 -28
  37. data/examples/{v201405 → v201505}/creative_service/copy_image_creatives.rb +7 -7
  38. data/examples/{v201405 → v201505}/creative_service/create_creative_from_template.rb +1 -1
  39. data/examples/{v201405 → v201505}/creative_service/create_creatives.rb +1 -1
  40. data/examples/{v201405 → v201505}/creative_service/create_custom_creative.rb +1 -1
  41. data/examples/{v201405 → v201505}/creative_service/get_all_creatives.rb +8 -17
  42. data/examples/{v201405 → v201505}/creative_service/get_creatives_by_statement.rb +18 -13
  43. data/examples/{v201405 → v201505}/creative_service/update_creatives.rb +16 -11
  44. data/examples/{v201405 → v201505}/creative_set_service/associate_creative_set_to_line_item.rb +1 -1
  45. data/examples/{v201405 → v201505}/creative_set_service/create_creative_set.rb +1 -1
  46. data/examples/{v201405 → v201505}/creative_set_service/get_all_creative_sets.rb +9 -17
  47. data/examples/{v201405 → v201505}/creative_set_service/get_creative_sets_by_statement.rb +20 -14
  48. data/examples/{v201405 → v201505}/creative_set_service/update_creative_sets.rb +10 -7
  49. data/examples/{v201405 → v201505}/creative_template_service/get_all_creative_templates.rb +9 -17
  50. data/examples/{v201405/creative_template_service/get_creative_templates_by_statement.rb → v201505/creative_template_service/get_system_defined_creative_templates.rb} +24 -13
  51. data/examples/{v201405 → v201505}/creative_wrapper_service/create_creative_wrappers.rb +1 -1
  52. data/examples/{v201405 → v201505}/creative_wrapper_service/deactivate_creative_wrapper.rb +9 -7
  53. data/examples/{v201405 → v201505}/creative_wrapper_service/get_all_creative_wrappers.rb +10 -18
  54. data/examples/{v201405 → v201505}/creative_wrapper_service/get_creative_wrappers_by_statement.rb +17 -12
  55. data/examples/{v201405 → v201505}/creative_wrapper_service/update_creative_wrappers.rb +10 -7
  56. data/examples/{v201405 → v201505}/custom_field_service/create_custom_field_options.rb +1 -1
  57. data/examples/{v201405 → v201505}/custom_field_service/create_custom_fields.rb +1 -1
  58. data/examples/{v201405 → v201505}/custom_field_service/deactivate_all_line_item_custom_fields.rb +13 -23
  59. data/examples/{v201405 → v201505}/custom_field_service/get_all_custom_fields.rb +11 -19
  60. data/examples/{v201405 → v201505}/custom_field_service/get_all_line_item_custom_fields.rb +19 -14
  61. data/examples/{v201405 → v201505}/custom_field_service/set_line_item_custom_field_value.rb +24 -19
  62. data/examples/{v201405 → v201505}/custom_field_service/update_custom_fields.rb +10 -7
  63. data/examples/{v201405 → v201505}/custom_targeting_service/create_custom_targeting_keys_and_values.rb +1 -1
  64. data/examples/{v201405 → v201505}/custom_targeting_service/delete_custom_targeting_keys.rb +16 -20
  65. data/examples/{v201405 → v201505}/custom_targeting_service/delete_custom_targeting_values.rb +23 -21
  66. data/examples/{v201405 → v201505}/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +15 -36
  67. data/examples/{v201405 → v201505}/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +20 -16
  68. data/examples/{v201405 → v201505}/custom_targeting_service/get_custom_targeting_values_by_statement.rb +19 -15
  69. data/examples/{v201405 → v201505}/custom_targeting_service/update_custom_targeting_keys.rb +4 -3
  70. data/examples/{v201405 → v201505}/custom_targeting_service/update_custom_targeting_values.rb +34 -30
  71. data/examples/{v201405/forecast_service/get_forecast.rb → v201505/forecast_service/get_availability_forecast.rb} +38 -16
  72. data/examples/{v201405/forecast_service/get_forecast_by_id.rb → v201505/forecast_service/get_availability_forecast_for_line_item.rb} +18 -11
  73. data/examples/v201505/forecast_service/get_delivery_forecast_for_line_items.rb +81 -0
  74. data/examples/{v201405 → v201505}/inventory_service/create_ad_units.rb +1 -1
  75. data/examples/{v201405 → v201505}/inventory_service/create_mobile_ad_unit.rb +1 -1
  76. data/examples/{v201405 → v201505}/inventory_service/create_video_ad_unit.rb +1 -1
  77. data/examples/{v201405 → v201505}/inventory_service/deactivate_ad_units.rb +19 -23
  78. data/examples/{v201405 → v201505}/inventory_service/get_ad_unit_sizes.rb +7 -14
  79. data/examples/{v201405 → v201505}/inventory_service/get_ad_units_by_statement.rb +18 -13
  80. data/examples/{v201405 → v201505}/inventory_service/get_all_ad_units.rb +8 -17
  81. data/examples/{v201405 → v201505}/inventory_service/update_ad_units.rb +23 -11
  82. data/examples/{v201405 → v201505}/label_service/create_labels.rb +1 -1
  83. data/examples/{v201405 → v201505}/label_service/deactivate_labels.rb +15 -22
  84. data/examples/{v201405 → v201505}/label_service/get_all_labels.rb +9 -18
  85. data/examples/{v201405 → v201505}/label_service/get_labels_by_statement.rb +16 -11
  86. data/examples/{v201405 → v201505}/label_service/update_labels.rb +24 -26
  87. data/examples/{v201405 → v201505}/line_item_creative_association_service/create_licas.rb +1 -1
  88. data/examples/{v201405 → v201505}/line_item_creative_association_service/deactivate_licas.rb +15 -24
  89. data/examples/{v201405 → v201505}/line_item_creative_association_service/get_all_licas.rb +8 -17
  90. data/examples/{v201405 → v201505}/line_item_creative_association_service/get_licas_by_statement.rb +10 -8
  91. data/examples/{v201405 → v201505}/line_item_creative_association_service/update_licas.rb +16 -7
  92. data/examples/{v201405 → v201505}/line_item_service/activate_line_items.rb +13 -21
  93. data/examples/{v201405 → v201505}/line_item_service/create_line_items.rb +11 -4
  94. data/examples/{v201405 → v201505}/line_item_service/create_video_line_item.rb +13 -3
  95. data/examples/{v201405 → v201505}/line_item_service/get_all_line_items.rb +9 -17
  96. data/examples/{v201405 → v201505}/line_item_service/get_line_items_by_statement.rb +19 -17
  97. data/examples/{v201405 → v201505}/line_item_service/get_recently_updated_line_items.rb +19 -13
  98. data/examples/{v201405 → v201505}/line_item_service/target_custom_criteria.rb +9 -7
  99. data/examples/{v201405 → v201505}/line_item_service/update_line_items.rb +9 -9
  100. data/examples/{v201405 → v201505}/network_service/get_all_networks.rb +1 -1
  101. data/examples/{v201405 → v201505}/network_service/get_current_network.rb +1 -1
  102. data/examples/{v201405 → v201505}/network_service/make_test_network.rb +1 -1
  103. data/examples/{v201405 → v201505}/order_service/approve_orders.rb +16 -24
  104. data/examples/{v201405 → v201505}/order_service/create_orders.rb +1 -1
  105. data/examples/{v201405 → v201505}/order_service/get_all_orders.rb +8 -17
  106. data/examples/{v201405 → v201505}/order_service/get_orders_by_statement.rb +18 -14
  107. data/examples/{v201405 → v201505}/order_service/update_orders.rb +15 -7
  108. data/examples/{v201405 → v201505}/placement_service/create_placements.rb +4 -2
  109. data/examples/{v201405 → v201505}/placement_service/deactivate_placements.rb +14 -22
  110. data/examples/{v201405 → v201505}/placement_service/get_all_placements.rb +9 -17
  111. data/examples/{v201405 → v201505}/placement_service/get_placements_by_statement.rb +18 -13
  112. data/examples/{v201405 → v201505}/placement_service/update_placements.rb +16 -6
  113. data/examples/{v201405 → v201505}/publisher_query_language_service/fetch_match_tables.rb +8 -11
  114. data/examples/{v201405 → v201505}/publisher_query_language_service/get_all_line_items.rb +8 -9
  115. data/examples/{v201405 → v201505}/publisher_query_language_service/get_geo_targets.rb +10 -10
  116. data/examples/{v201405 → v201505}/publisher_query_language_service/get_line_items_named_like.rb +10 -10
  117. data/examples/{v201405 → v201505}/report_service/display_report.rb +1 -1
  118. data/examples/{v201405 → v201505}/report_service/download_report.rb +1 -1
  119. data/examples/{v201405 → v201505}/report_service/run_delivery_report.rb +6 -5
  120. data/examples/{v201405 → v201505}/report_service/run_inventory_report.rb +6 -5
  121. data/examples/{v201405 → v201505}/report_service/run_reach_report.rb +6 -5
  122. data/examples/{v201405/report_service/run_merged_delivery_report.rb → v201505/report_service/run_report_with_custom_fields.rb} +17 -18
  123. data/examples/{v201405 → v201505}/report_service/run_sales_report.rb +6 -5
  124. data/examples/{v201405 → v201505}/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +25 -21
  125. data/examples/{v201405 → v201505}/suggested_ad_unit_service/get_all_suggested_ad_units.rb +9 -18
  126. data/examples/{v201405 → v201505}/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb +24 -21
  127. data/examples/{v201405 → v201505}/team_service/create_teams.rb +1 -1
  128. data/examples/{v201405 → v201505}/team_service/get_all_teams.rb +8 -17
  129. data/examples/{v201405 → v201505}/team_service/get_teams_by_statement.rb +15 -11
  130. data/examples/{v201405 → v201505}/team_service/update_teams.rb +4 -3
  131. data/examples/{v201405 → v201505}/user_service/create_users.rb +1 -1
  132. data/examples/{v201405 → v201505}/user_service/deactivate_users.rb +7 -7
  133. data/examples/{v201405 → v201505}/user_service/get_all_roles.rb +1 -1
  134. data/examples/{v201405 → v201505}/user_service/get_all_users.rb +8 -18
  135. data/examples/{v201405 → v201505}/user_service/get_current_user.rb +1 -1
  136. data/examples/{v201405 → v201505}/user_service/get_users_by_statement.rb +17 -12
  137. data/examples/{v201405 → v201505}/user_service/update_users.rb +15 -6
  138. data/examples/{v201405 → v201505}/user_team_association_service/create_user_team_associations.rb +1 -1
  139. data/examples/{v201405 → v201505}/user_team_association_service/delete_user_team_associations.rb +13 -21
  140. data/examples/{v201405 → v201505}/user_team_association_service/get_all_user_team_associations.rb +10 -17
  141. data/examples/{v201405 → v201505}/user_team_association_service/get_user_team_associations_by_statement.rb +20 -16
  142. data/examples/{v201405 → v201505}/user_team_association_service/update_user_team_associations.rb +8 -7
  143. data/lib/dfp_api/api_config.rb +27 -4
  144. data/lib/dfp_api/v201505/activity_group_service.rb +42 -0
  145. data/lib/dfp_api/v201505/activity_group_service_registry.rb +45 -0
  146. data/lib/dfp_api/v201505/activity_service.rb +42 -0
  147. data/lib/dfp_api/v201505/activity_service_registry.rb +45 -0
  148. data/lib/dfp_api/v201505/ad_exclusion_rule_service.rb +46 -0
  149. data/lib/dfp_api/v201505/ad_exclusion_rule_service_registry.rb +45 -0
  150. data/lib/dfp_api/v201505/ad_rule_service.rb +46 -0
  151. data/lib/dfp_api/v201505/ad_rule_service_registry.rb +45 -0
  152. data/lib/dfp_api/v201505/audience_segment_service.rb +46 -0
  153. data/lib/dfp_api/v201505/audience_segment_service_registry.rb +45 -0
  154. data/lib/dfp_api/v201505/base_rate_service.rb +46 -0
  155. data/lib/dfp_api/v201505/base_rate_service_registry.rb +45 -0
  156. data/lib/dfp_api/v201505/company_service.rb +42 -0
  157. data/lib/dfp_api/v201505/company_service_registry.rb +45 -0
  158. data/lib/dfp_api/v201505/contact_service.rb +42 -0
  159. data/lib/dfp_api/v201505/contact_service_registry.rb +45 -0
  160. data/lib/dfp_api/v201505/content_bundle_service.rb +46 -0
  161. data/lib/dfp_api/v201505/content_bundle_service_registry.rb +45 -0
  162. data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service.rb +46 -0
  163. data/lib/dfp_api/v201505/content_metadata_key_hierarchy_service_registry.rb +45 -0
  164. data/lib/dfp_api/v201505/content_service.rb +38 -0
  165. data/lib/dfp_api/v201505/content_service_registry.rb +45 -0
  166. data/lib/dfp_api/v201505/creative_service.rb +42 -0
  167. data/lib/dfp_api/v201505/creative_service_registry.rb +45 -0
  168. data/lib/dfp_api/v201505/creative_set_service.rb +42 -0
  169. data/lib/dfp_api/v201505/creative_set_service_registry.rb +45 -0
  170. data/lib/dfp_api/v201505/creative_template_service.rb +34 -0
  171. data/lib/dfp_api/v201505/creative_template_service_registry.rb +45 -0
  172. data/lib/dfp_api/v201505/creative_wrapper_service.rb +46 -0
  173. data/lib/dfp_api/v201505/creative_wrapper_service_registry.rb +45 -0
  174. data/lib/dfp_api/v201505/custom_field_service.rb +58 -0
  175. data/lib/dfp_api/v201505/custom_field_service_registry.rb +45 -0
  176. data/lib/dfp_api/v201505/custom_targeting_service.rb +62 -0
  177. data/lib/dfp_api/v201505/custom_targeting_service_registry.rb +45 -0
  178. data/lib/dfp_api/v201505/exchange_rate_service.rb +46 -0
  179. data/lib/dfp_api/v201505/exchange_rate_service_registry.rb +45 -0
  180. data/lib/dfp_api/v201505/forecast_service.rb +46 -0
  181. data/lib/dfp_api/v201505/forecast_service_registry.rb +45 -0
  182. data/lib/dfp_api/v201505/inventory_service.rb +50 -0
  183. data/lib/dfp_api/v201505/inventory_service_registry.rb +45 -0
  184. data/lib/dfp_api/v201505/label_service.rb +46 -0
  185. data/lib/dfp_api/v201505/label_service_registry.rb +45 -0
  186. data/lib/dfp_api/v201505/line_item_creative_association_service.rb +50 -0
  187. data/lib/dfp_api/v201505/line_item_creative_association_service_registry.rb +45 -0
  188. data/lib/dfp_api/v201505/line_item_service.rb +46 -0
  189. data/lib/dfp_api/v201505/line_item_service_registry.rb +45 -0
  190. data/lib/dfp_api/v201505/line_item_template_service.rb +34 -0
  191. data/lib/dfp_api/v201505/line_item_template_service_registry.rb +45 -0
  192. data/lib/dfp_api/v201505/live_stream_event_service.rb +46 -0
  193. data/lib/dfp_api/v201505/live_stream_event_service_registry.rb +45 -0
  194. data/lib/dfp_api/v201505/network_service.rb +46 -0
  195. data/lib/dfp_api/v201505/network_service_registry.rb +45 -0
  196. data/lib/dfp_api/v201505/order_service.rb +46 -0
  197. data/lib/dfp_api/v201505/order_service_registry.rb +45 -0
  198. data/lib/dfp_api/v201505/package_service.rb +46 -0
  199. data/lib/dfp_api/v201505/package_service_registry.rb +45 -0
  200. data/lib/dfp_api/v201505/placement_service.rb +46 -0
  201. data/lib/dfp_api/v201505/placement_service_registry.rb +45 -0
  202. data/lib/dfp_api/v201505/premium_rate_service.rb +42 -0
  203. data/lib/dfp_api/v201505/premium_rate_service_registry.rb +45 -0
  204. data/lib/dfp_api/v201505/product_package_item_service.rb +46 -0
  205. data/lib/dfp_api/v201505/product_package_item_service_registry.rb +45 -0
  206. data/lib/dfp_api/v201505/product_package_service.rb +46 -0
  207. data/lib/dfp_api/v201505/product_package_service_registry.rb +45 -0
  208. data/lib/dfp_api/v201505/product_service.rb +42 -0
  209. data/lib/dfp_api/v201505/product_service_registry.rb +45 -0
  210. data/lib/dfp_api/v201505/product_template_service.rb +46 -0
  211. data/lib/dfp_api/v201505/product_template_service_registry.rb +45 -0
  212. data/lib/dfp_api/v201505/proposal_line_item_service.rb +46 -0
  213. data/lib/dfp_api/v201505/proposal_line_item_service_registry.rb +45 -0
  214. data/lib/dfp_api/v201505/proposal_service.rb +46 -0
  215. data/lib/dfp_api/v201505/proposal_service_registry.rb +45 -0
  216. data/lib/dfp_api/v201505/publisher_query_language_service.rb +34 -0
  217. data/lib/dfp_api/v201505/publisher_query_language_service_registry.rb +45 -0
  218. data/lib/dfp_api/v201505/rate_card_service.rb +46 -0
  219. data/lib/dfp_api/v201505/rate_card_service_registry.rb +45 -0
  220. data/lib/dfp_api/v201505/reconciliation_order_report_service.rb +38 -0
  221. data/lib/dfp_api/v201505/reconciliation_order_report_service_registry.rb +45 -0
  222. data/lib/dfp_api/v201505/reconciliation_report_row_service.rb +38 -0
  223. data/lib/dfp_api/v201505/reconciliation_report_row_service_registry.rb +45 -0
  224. data/lib/dfp_api/v201505/reconciliation_report_service.rb +38 -0
  225. data/lib/dfp_api/v201505/reconciliation_report_service_registry.rb +45 -0
  226. data/lib/dfp_api/v201505/report_service.rb +46 -0
  227. data/lib/dfp_api/v201505/report_service_registry.rb +45 -0
  228. data/lib/dfp_api/v201505/shared_ad_unit_service.rb +38 -0
  229. data/lib/dfp_api/v201505/shared_ad_unit_service_registry.rb +45 -0
  230. data/lib/dfp_api/v201505/suggested_ad_unit_service.rb +38 -0
  231. data/lib/dfp_api/v201505/suggested_ad_unit_service_registry.rb +45 -0
  232. data/lib/dfp_api/v201505/team_service.rb +42 -0
  233. data/lib/dfp_api/v201505/team_service_registry.rb +45 -0
  234. data/lib/dfp_api/v201505/user_service.rb +54 -0
  235. data/lib/dfp_api/v201505/user_service_registry.rb +45 -0
  236. data/lib/dfp_api/v201505/user_team_association_service.rb +46 -0
  237. data/lib/dfp_api/v201505/user_team_association_service_registry.rb +45 -0
  238. data/lib/dfp_api/v201505/workflow_request_service.rb +38 -0
  239. data/lib/dfp_api/v201505/workflow_request_service_registry.rb +45 -0
  240. data/lib/dfp_api/version.rb +1 -1
  241. data/test/bugs/test_issue_00000016.rb +1 -1
  242. data/test/dfp_api/test_config.yml +6 -5
  243. data/test/dfp_api/test_dfp_api.rb +32 -32
  244. metadata +234 -140
  245. data/examples/v201405/creative_template_service/get_creative_template.rb +0 -74
  246. data/examples/v201405/report_service/run_report_with_custom_fields.rb +0 -135
  247. data/examples/v201405/suggested_ad_unit_service/get_suggested_ad_unit.rb +0 -75
@@ -0,0 +1,46 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.9.8 on 2015-04-28 16:45:24.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201505/user_team_association_service_registry'
12
+
13
+ module DfpApi; module V201505; module UserTeamAssociationService
14
+ class UserTeamAssociationService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201505'
17
+ super(config, endpoint, namespace, :v201505)
18
+ end
19
+
20
+ def create_user_team_associations(*args, &block)
21
+ return execute_action('create_user_team_associations', args, &block)
22
+ end
23
+
24
+ def get_user_team_associations_by_statement(*args, &block)
25
+ return execute_action('get_user_team_associations_by_statement', args, &block)
26
+ end
27
+
28
+ def perform_user_team_association_action(*args, &block)
29
+ return execute_action('perform_user_team_association_action', args, &block)
30
+ end
31
+
32
+ def update_user_team_associations(*args, &block)
33
+ return execute_action('update_user_team_associations', args, &block)
34
+ end
35
+
36
+ private
37
+
38
+ def get_service_registry()
39
+ return UserTeamAssociationServiceRegistry
40
+ end
41
+
42
+ def get_module()
43
+ return DfpApi::V201505::UserTeamAssociationService
44
+ end
45
+ end
46
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.9.8 on 2015-04-28 16:45:24.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201505; module UserTeamAssociationService
13
+ class UserTeamAssociationServiceRegistry
14
+ USERTEAMASSOCIATIONSERVICE_METHODS = {:create_user_team_associations=>{:input=>[{:name=>:user_team_associations, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_user_team_associations_response", :fields=>[{:name=>:rval, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_user_team_associations_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_user_team_associations_by_statement_response", :fields=>[{:name=>:rval, :type=>"UserTeamAssociationPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_user_team_association_action=>{:input=>[{:name=>:user_team_association_action, :type=>"UserTeamAssociationAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_user_team_association_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_user_team_associations=>{:input=>[{:name=>:user_team_associations, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_user_team_associations_response", :fields=>[{:name=>:rval, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ USERTEAMASSOCIATIONSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DeleteUserTeamAssociations=>{:fields=>[], :base=>"UserTeamAssociationAction"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NullError=>{:fields=>[{:name=>:reason, :type=>"NullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :UserRecordTeamAssociation=>{:fields=>[{:name=>:team_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:overridden_team_access_type, :type=>"TeamAccessType", :min_occurs=>0, :max_occurs=>1}, {:name=>:default_team_access_type, :type=>"TeamAccessType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :UserTeamAssociationAction=>{:fields=>[], :abstract=>true}, :UserTeamAssociation=>{:fields=>[{:name=>:user_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"UserRecordTeamAssociation"}, :UserTeamAssociationPage=>{:fields=>[{:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:results, :type=>"UserTeamAssociation", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Value=>{:fields=>[], :abstract=>true}, :"ApiVersionError.Reason"=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"NullError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :TeamAccessType=>{:fields=>[]}}
16
+ USERTEAMASSOCIATIONSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return USERTEAMASSOCIATIONSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return USERTEAMASSOCIATIONSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return USERTEAMASSOCIATIONSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, UserTeamAssociationServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -0,0 +1,38 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.9.8 on 2015-04-28 16:45:24.
9
+
10
+ require 'ads_common/savon_service'
11
+ require 'dfp_api/v201505/workflow_request_service_registry'
12
+
13
+ module DfpApi; module V201505; module WorkflowRequestService
14
+ class WorkflowRequestService < AdsCommon::SavonService
15
+ def initialize(config, endpoint)
16
+ namespace = 'https://www.google.com/apis/ads/publisher/v201505'
17
+ super(config, endpoint, namespace, :v201505)
18
+ end
19
+
20
+ def get_workflow_requests_by_statement(*args, &block)
21
+ return execute_action('get_workflow_requests_by_statement', args, &block)
22
+ end
23
+
24
+ def perform_workflow_request_action(*args, &block)
25
+ return execute_action('perform_workflow_request_action', args, &block)
26
+ end
27
+
28
+ private
29
+
30
+ def get_service_registry()
31
+ return WorkflowRequestServiceRegistry
32
+ end
33
+
34
+ def get_module()
35
+ return DfpApi::V201505::WorkflowRequestService
36
+ end
37
+ end
38
+ end; end; end
@@ -0,0 +1,45 @@
1
+ # Encoding: utf-8
2
+ #
3
+ # This is auto-generated code, changes will be overwritten.
4
+ #
5
+ # Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.9.8 on 2015-04-28 16:45:24.
9
+
10
+ require 'dfp_api/errors'
11
+
12
+ module DfpApi; module V201505; module WorkflowRequestService
13
+ class WorkflowRequestServiceRegistry
14
+ WORKFLOWREQUESTSERVICE_METHODS = {:get_workflow_requests_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_workflow_requests_by_statement_response", :fields=>[{:name=>:rval, :type=>"WorkflowRequestPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_workflow_request_action=>{:input=>[{:name=>:action, :type=>"WorkflowRequestAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_workflow_request_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}}
15
+ WORKFLOWREQUESTSERVICE_TYPES = {:ObjectValue=>{:fields=>[], :abstract=>true, :base=>"Value"}, :ApiError=>{:fields=>[{:name=>:field_path, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:trigger, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:error_string, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ApiException=>{:fields=>[{:name=>:errors, :type=>"ApiError", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ApplicationException"}, :ApiVersionError=>{:fields=>[{:name=>:reason, :type=>"ApiVersionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ApplicationException=>{:fields=>[{:name=>:message, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ApproveWorkflowApprovalRequests=>{:fields=>[{:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequestAction"}, :AuthenticationError=>{:fields=>[{:name=>:reason, :type=>"AuthenticationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :WorkflowRequest=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:workflow_rule_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:entity_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:entity_type, :type=>"WorkflowEntityType", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"WorkflowRequestType", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :CollectionSizeError=>{:fields=>[{:name=>:reason, :type=>"CollectionSizeError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :CommonError=>{:fields=>[{:name=>:reason, :type=>"CommonError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Date=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:day, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DateTime=>{:fields=>[{:name=>:date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:second, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone_id, :original_name=>"timeZoneID", :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :DateValue=>{:fields=>[{:name=>:value, :type=>"Date", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :SkipWorkflowExternalConditionRequests=>{:fields=>[], :base=>"WorkflowRequestAction"}, :FeatureError=>{:fields=>[{:name=>:reason, :type=>"FeatureError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ForecastError=>{:fields=>[{:name=>:reason, :type=>"ForecastError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :InternalApiError=>{:fields=>[{:name=>:reason, :type=>"InternalApiError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LineItemOperationError=>{:fields=>[{:name=>:reason, :type=>"LineItemOperationError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NotNullError=>{:fields=>[{:name=>:reason, :type=>"NotNullError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TriggerWorkflowExternalConditionRequests=>{:fields=>[], :base=>"WorkflowRequestAction"}, :PermissionError=>{:fields=>[{:name=>:reason, :type=>"PermissionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ProposalActionError=>{:fields=>[{:name=>:reason, :type=>"ProposalActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageContextError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageContextError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PublisherQueryLanguageSyntaxError=>{:fields=>[{:name=>:reason, :type=>"PublisherQueryLanguageSyntaxError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :QuotaError=>{:fields=>[{:name=>:reason, :type=>"QuotaError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :RejectWorkflowApprovalRequests=>{:fields=>[{:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequestAction"}, :ServerError=>{:fields=>[{:name=>:reason, :type=>"ServerError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SetValue=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Value"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Statement=>{:fields=>[{:name=>:query, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :StatementError=>{:fields=>[{:name=>:reason, :type=>"StatementError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[], :abstract=>true}, :WorkflowActionError=>{:fields=>[{:name=>:reason, :type=>"WorkflowActionError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :WorkflowApprovalRequest=>{:fields=>[{:name=>:status, :type=>"WorkflowApprovalRequestStatus", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequest"}, :WorkflowExternalConditionRequest=>{:fields=>[{:name=>:status, :type=>"WorkflowExternalConditionStatus", :min_occurs=>0, :max_occurs=>1}], :base=>"WorkflowRequest"}, :WorkflowRequestAction=>{:fields=>[], :abstract=>true}, :WorkflowRequestError=>{:fields=>[{:name=>:reason, :type=>"WorkflowRequestError.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :WorkflowRequestPage=>{:fields=>[{:name=>:results, :type=>"WorkflowRequest", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_result_set_size, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :"ApiVersionError.Reason"=>{:fields=>[]}, :WorkflowApprovalRequestStatus=>{:fields=>[]}, :"AuthenticationError.Reason"=>{:fields=>[]}, :"CollectionSizeError.Reason"=>{:fields=>[]}, :"CommonError.Reason"=>{:fields=>[]}, :"FeatureError.Reason"=>{:fields=>[]}, :"ForecastError.Reason"=>{:fields=>[]}, :"InternalApiError.Reason"=>{:fields=>[]}, :"LineItemOperationError.Reason"=>{:fields=>[]}, :"NotNullError.Reason"=>{:fields=>[]}, :"PermissionError.Reason"=>{:fields=>[]}, :"ProposalActionError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageContextError.Reason"=>{:fields=>[]}, :"PublisherQueryLanguageSyntaxError.Reason"=>{:fields=>[]}, :"QuotaError.Reason"=>{:fields=>[]}, :"ServerError.Reason"=>{:fields=>[]}, :"StatementError.Reason"=>{:fields=>[]}, :"WorkflowActionError.Reason"=>{:fields=>[]}, :WorkflowEntityType=>{:fields=>[]}, :"WorkflowRequestError.Reason"=>{:fields=>[]}, :WorkflowRequestType=>{:fields=>[]}, :WorkflowExternalConditionStatus=>{:fields=>[]}}
16
+ WORKFLOWREQUESTSERVICE_NAMESPACES = []
17
+
18
+ def self.get_method_signature(method_name)
19
+ return WORKFLOWREQUESTSERVICE_METHODS[method_name.to_sym]
20
+ end
21
+
22
+ def self.get_type_signature(type_name)
23
+ return WORKFLOWREQUESTSERVICE_TYPES[type_name.to_sym]
24
+ end
25
+
26
+ def self.get_namespace(index)
27
+ return WORKFLOWREQUESTSERVICE_NAMESPACES[index]
28
+ end
29
+ end
30
+
31
+ # Base class for exceptions.
32
+ class ApplicationException < DfpApi::Errors::ApiException
33
+ attr_reader :message # string
34
+ end
35
+
36
+ # Exception class for holding a list of service errors.
37
+ class ApiException < ApplicationException
38
+ attr_reader :errors # ApiError
39
+ def initialize(exception_fault)
40
+ @array_fields ||= []
41
+ @array_fields << 'errors'
42
+ super(exception_fault, WorkflowRequestServiceRegistry)
43
+ end
44
+ end
45
+ end; end; end
@@ -21,6 +21,6 @@
21
21
 
22
22
  module DfpApi
23
23
  module ApiConfig
24
- CLIENT_LIB_VERSION = '0.9.4'
24
+ CLIENT_LIB_VERSION = '0.9.5'
25
25
  end
26
26
  end
@@ -29,7 +29,7 @@ require 'dfp_api/v201405/line_item_service_registry'
29
29
  class TestDfpIssue16 < Test::Unit::TestCase
30
30
 
31
31
  def setup()
32
- @registry = DfpApi::v201405::LineItemService::LineItemServiceRegistry
32
+ @registry = DfpApi::V201405::LineItemService::LineItemServiceRegistry
33
33
  end
34
34
 
35
35
  def test_issue_16()
@@ -1,8 +1,9 @@
1
1
  ---
2
2
  # This is a test configuration file for DFP API library.
3
3
  :authentication:
4
- :method: ClientLogin
5
- :application_name: ruby_test_suit
6
- :password: mySecretPassword
7
- :email: root@example.com
8
- :network_code: 1234567
4
+ :method : 'OAuth2'
5
+ :oauth2_client_id : 'myClientId'
6
+ :oauth2_client_secret : 'This is MY secret!'
7
+ :oauth2_token : 'my access token'
8
+ :application_name : 'ruby_test_suit'
9
+ :network_code : 1234567
@@ -21,6 +21,7 @@
21
21
  # Tests the general API features.
22
22
 
23
23
  require 'test/unit'
24
+ require 'tempfile'
24
25
 
25
26
  require 'dfp_api'
26
27
 
@@ -32,12 +33,25 @@ class LoggerStub
32
33
  end
33
34
  end
34
35
 
36
+ module DfpApi
37
+ module ApiConfig
38
+ def self.default_config_filename=(value)
39
+ @default_config_filename = value
40
+ end
41
+
42
+ def self.default_config_filename
43
+ @default_config_filename
44
+ end
45
+ end
46
+ end
47
+
35
48
  class TestDfpApi < Test::Unit::TestCase
36
49
  DEFAULT_CONFIG_HASH = {
37
50
  :authentication => {
38
- :method => 'ClientLogin',
39
- :email => 'root@example.com',
40
- :password => 'mySecretPassword',
51
+ :method => 'OAuth2',
52
+ :oauth2_client_id => 'myClientId',
53
+ :oauth2_client_secret => 'This is MY secret!',
54
+ :oauth2_token => 'my access token',
41
55
  :application_name => 'ruby_test_suit',
42
56
  :network_code => 1234567
43
57
  }
@@ -52,9 +66,19 @@ class TestDfpApi < Test::Unit::TestCase
52
66
 
53
67
  # Test initializer with no arguments.
54
68
  def test_initialize_nil()
69
+ # Set up a tempfile in ENV['HOME']
70
+ temp_file = Tempfile.new(['dfp_api', 'yml'], ENV['HOME'])
71
+ real_file = File.open(DEFAULT_CONFIG_FILENAME, 'r')
72
+ temp_file.write(real_file.read)
73
+ temp_file.flush()
74
+ real_file.close()
75
+ DfpApi::ApiConfig.default_config_filename = File.basename(temp_file.path)
76
+
55
77
  assert_nothing_raised do
56
78
  dfp_api = DfpApi::Api.new
57
79
  end
80
+
81
+ temp_file.unlink()
58
82
  end
59
83
 
60
84
  # Test initializer with hash argument.
@@ -82,39 +106,15 @@ class TestDfpApi < Test::Unit::TestCase
82
106
 
83
107
  # Utility method to check the actual data.
84
108
  def check_config_data(config)
85
- assert_equal(:CLIENTLOGIN, config.read('authentication.method'))
109
+ assert_equal(:OAUTH2, config.read('authentication.method'))
86
110
  assert_equal('ruby_test_suit',
87
111
  config.read('authentication.application_name'))
88
- assert_equal('mySecretPassword', config.read('authentication.password'))
89
- assert_equal('root@example.com', config.read('authentication.email'))
112
+ assert_equal('myClientId', config.read('authentication.oauth2_client_id'))
113
+ assert_equal('This is MY secret!', config.read(
114
+ 'authentication.oauth2_client_secret'))
115
+ assert_equal('my access token', config.read('authentication.oauth2_token'))
90
116
  assert_equal(1234567, config.read('authentication.network_code'))
91
117
  assert_nil(config.read('item.not.exists'))
92
118
  assert_equal(:default, config.read('item.not.exists', :default))
93
119
  end
94
-
95
- # Warning is logged with ClientLogin is used.
96
- def test_clientlogin_deprecation_warning()
97
- dfp_api = DfpApi::Api.new({
98
- :library => {:logger => @logger},
99
- :authentication => {:method => 'ClientLogin'},
100
- :service => {:environment => 'PRODUCTION'}
101
- })
102
- service = dfp_api.service(:UserService, 'v201311')
103
- assert_not_nil(@logger.last_warning)
104
- end
105
-
106
- # Exception is thrown when ClientLogin is used in non-supported versions.
107
- def test_clientlogin_removal_v201311()
108
- dfp_api = DfpApi::Api.new({
109
- :library => {:logger => @logger},
110
- :authentication => {:method => 'ClientLogin'},
111
- :service => {:environment => 'PRODUCTION'}
112
- })
113
- assert_nothing_raised do
114
- service = dfp_api.service(:UserService, 'v201311')
115
- end
116
- assert_raise(AdsCommon::Errors::AuthError) do
117
- dfp_api.service(:UserService, 'v201403')
118
- end
119
- end
120
120
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-dfp-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-19 00:00:00.000000000 Z
12
+ date: 2015-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-ads-common
@@ -34,144 +34,6 @@ executables: []
34
34
  extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
- - examples/v201405/user_team_association_service/update_user_team_associations.rb
38
- - examples/v201405/user_team_association_service/delete_user_team_associations.rb
39
- - examples/v201405/user_team_association_service/create_user_team_associations.rb
40
- - examples/v201405/user_team_association_service/get_all_user_team_associations.rb
41
- - examples/v201405/user_team_association_service/get_user_team_associations_by_statement.rb
42
- - examples/v201405/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb
43
- - examples/v201405/suggested_ad_unit_service/get_all_suggested_ad_units.rb
44
- - examples/v201405/suggested_ad_unit_service/get_suggested_ad_unit.rb
45
- - examples/v201405/suggested_ad_unit_service/approve_all_suggested_ad_units.rb
46
- - examples/v201405/custom_field_service/get_all_line_item_custom_fields.rb
47
- - examples/v201405/custom_field_service/update_custom_fields.rb
48
- - examples/v201405/custom_field_service/set_line_item_custom_field_value.rb
49
- - examples/v201405/custom_field_service/create_custom_field_options.rb
50
- - examples/v201405/custom_field_service/get_all_custom_fields.rb
51
- - examples/v201405/custom_field_service/create_custom_fields.rb
52
- - examples/v201405/custom_field_service/deactivate_all_line_item_custom_fields.rb
53
- - examples/v201405/network_service/get_all_networks.rb
54
- - examples/v201405/network_service/make_test_network.rb
55
- - examples/v201405/network_service/get_current_network.rb
56
- - examples/v201405/company_service/get_all_companies.rb
57
- - examples/v201405/company_service/create_companies.rb
58
- - examples/v201405/company_service/get_companies_by_statement.rb
59
- - examples/v201405/company_service/update_companies.rb
60
- - examples/v201405/line_item_service/target_custom_criteria.rb
61
- - examples/v201405/line_item_service/update_line_items.rb
62
- - examples/v201405/line_item_service/create_line_items.rb
63
- - examples/v201405/line_item_service/get_all_line_items.rb
64
- - examples/v201405/line_item_service/get_recently_updated_line_items.rb
65
- - examples/v201405/line_item_service/create_video_line_item.rb
66
- - examples/v201405/line_item_service/get_line_items_by_statement.rb
67
- - examples/v201405/line_item_service/activate_line_items.rb
68
- - examples/v201405/label_service/create_labels.rb
69
- - examples/v201405/label_service/update_labels.rb
70
- - examples/v201405/label_service/get_all_labels.rb
71
- - examples/v201405/label_service/deactivate_labels.rb
72
- - examples/v201405/label_service/get_labels_by_statement.rb
73
- - examples/v201405/forecast_service/get_forecast.rb
74
- - examples/v201405/forecast_service/get_forecast_by_id.rb
75
- - examples/v201405/activity_group_service/get_all_activity_groups.rb
76
- - examples/v201405/activity_group_service/get_active_activity_groups.rb
77
- - examples/v201405/activity_group_service/create_activity_groups.rb
78
- - examples/v201405/activity_group_service/update_activity_groups.rb
79
- - examples/v201405/creative_service/copy_image_creatives.rb
80
- - examples/v201405/creative_service/create_creatives.rb
81
- - examples/v201405/creative_service/create_creative_from_template.rb
82
- - examples/v201405/creative_service/get_all_creatives.rb
83
- - examples/v201405/creative_service/get_creatives_by_statement.rb
84
- - examples/v201405/creative_service/update_creatives.rb
85
- - examples/v201405/creative_service/create_custom_creative.rb
86
- - examples/v201405/content_service/get_all_content.rb
87
- - examples/v201405/content_service/get_content_by_category.rb
88
- - examples/v201405/placement_service/create_placements.rb
89
- - examples/v201405/placement_service/get_placements_by_statement.rb
90
- - examples/v201405/placement_service/deactivate_placements.rb
91
- - examples/v201405/placement_service/update_placements.rb
92
- - examples/v201405/placement_service/get_all_placements.rb
93
- - examples/v201405/order_service/update_orders.rb
94
- - examples/v201405/order_service/get_orders_by_statement.rb
95
- - examples/v201405/order_service/create_orders.rb
96
- - examples/v201405/order_service/approve_orders.rb
97
- - examples/v201405/order_service/get_all_orders.rb
98
- - examples/v201405/inventory_service/create_video_ad_unit.rb
99
- - examples/v201405/inventory_service/deactivate_ad_units.rb
100
- - examples/v201405/inventory_service/get_all_ad_units.rb
101
- - examples/v201405/inventory_service/get_ad_unit_sizes.rb
102
- - examples/v201405/inventory_service/get_ad_units_by_statement.rb
103
- - examples/v201405/inventory_service/update_ad_units.rb
104
- - examples/v201405/inventory_service/create_ad_units.rb
105
- - examples/v201405/inventory_service/create_mobile_ad_unit.rb
106
- - examples/v201405/publisher_query_language_service/get_geo_targets.rb
107
- - examples/v201405/publisher_query_language_service/fetch_match_tables.rb
108
- - examples/v201405/publisher_query_language_service/get_line_items_named_like.rb
109
- - examples/v201405/publisher_query_language_service/get_all_line_items.rb
110
- - examples/v201405/team_service/create_teams.rb
111
- - examples/v201405/team_service/get_all_teams.rb
112
- - examples/v201405/team_service/get_teams_by_statement.rb
113
- - examples/v201405/team_service/update_teams.rb
114
- - examples/v201405/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb
115
- - examples/v201405/custom_targeting_service/update_custom_targeting_keys.rb
116
- - examples/v201405/custom_targeting_service/delete_custom_targeting_values.rb
117
- - examples/v201405/custom_targeting_service/create_custom_targeting_keys_and_values.rb
118
- - examples/v201405/custom_targeting_service/get_custom_targeting_values_by_statement.rb
119
- - examples/v201405/custom_targeting_service/update_custom_targeting_values.rb
120
- - examples/v201405/custom_targeting_service/get_custom_targeting_keys_by_statement.rb
121
- - examples/v201405/custom_targeting_service/delete_custom_targeting_keys.rb
122
- - examples/v201405/creative_set_service/get_creative_sets_by_statement.rb
123
- - examples/v201405/creative_set_service/get_all_creative_sets.rb
124
- - examples/v201405/creative_set_service/create_creative_set.rb
125
- - examples/v201405/creative_set_service/update_creative_sets.rb
126
- - examples/v201405/creative_set_service/associate_creative_set_to_line_item.rb
127
- - examples/v201405/line_item_creative_association_service/get_all_licas.rb
128
- - examples/v201405/line_item_creative_association_service/get_licas_by_statement.rb
129
- - examples/v201405/line_item_creative_association_service/create_licas.rb
130
- - examples/v201405/line_item_creative_association_service/update_licas.rb
131
- - examples/v201405/line_item_creative_association_service/deactivate_licas.rb
132
- - examples/v201405/creative_template_service/get_all_creative_templates.rb
133
- - examples/v201405/creative_template_service/get_creative_templates_by_statement.rb
134
- - examples/v201405/creative_template_service/get_creative_template.rb
135
- - examples/v201405/creative_wrapper_service/deactivate_creative_wrapper.rb
136
- - examples/v201405/creative_wrapper_service/update_creative_wrappers.rb
137
- - examples/v201405/creative_wrapper_service/get_all_creative_wrappers.rb
138
- - examples/v201405/creative_wrapper_service/create_creative_wrappers.rb
139
- - examples/v201405/creative_wrapper_service/get_creative_wrappers_by_statement.rb
140
- - examples/v201405/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb
141
- - examples/v201405/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb
142
- - examples/v201405/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb
143
- - examples/v201405/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb
144
- - examples/v201405/user_service/update_users.rb
145
- - examples/v201405/user_service/get_current_user.rb
146
- - examples/v201405/user_service/get_all_roles.rb
147
- - examples/v201405/user_service/get_users_by_statement.rb
148
- - examples/v201405/user_service/create_users.rb
149
- - examples/v201405/user_service/deactivate_users.rb
150
- - examples/v201405/user_service/get_all_users.rb
151
- - examples/v201405/common/setup_oauth2.rb
152
- - examples/v201405/common/oauth2_jwt_handling.rb
153
- - examples/v201405/common/error_handling.rb
154
- - examples/v201405/report_service/run_delivery_report.rb
155
- - examples/v201405/report_service/run_merged_delivery_report.rb
156
- - examples/v201405/report_service/display_report.rb
157
- - examples/v201405/report_service/run_sales_report.rb
158
- - examples/v201405/report_service/run_inventory_report.rb
159
- - examples/v201405/report_service/run_report_with_custom_fields.rb
160
- - examples/v201405/report_service/download_report.rb
161
- - examples/v201405/report_service/run_reach_report.rb
162
- - examples/v201405/contact_service/get_uninvited_contacts.rb
163
- - examples/v201405/contact_service/update_contacts.rb
164
- - examples/v201405/contact_service/create_contacts.rb
165
- - examples/v201405/contact_service/get_all_contacts.rb
166
- - examples/v201405/activity_service/get_all_activities.rb
167
- - examples/v201405/activity_service/update_activities.rb
168
- - examples/v201405/activity_service/create_activities.rb
169
- - examples/v201405/activity_service/get_active_activities.rb
170
- - examples/v201405/audience_segment_service/get_first_party_audience_segments.rb
171
- - examples/v201405/audience_segment_service/populate_first_party_audience_segments.rb
172
- - examples/v201405/audience_segment_service/create_audience_segments.rb
173
- - examples/v201405/audience_segment_service/get_all_audience_segments.rb
174
- - examples/v201405/audience_segment_service/update_audience_segments.rb
175
37
  - examples/v201502/user_team_association_service/update_user_team_associations.rb
176
38
  - examples/v201502/user_team_association_service/delete_user_team_associations.rb
177
39
  - examples/v201502/user_team_association_service/create_user_team_associations.rb
@@ -443,6 +305,142 @@ files:
443
305
  - examples/v201408/audience_segment_service/create_audience_segments.rb
444
306
  - examples/v201408/audience_segment_service/get_all_audience_segments.rb
445
307
  - examples/v201408/audience_segment_service/update_audience_segments.rb
308
+ - examples/v201505/user_team_association_service/update_user_team_associations.rb
309
+ - examples/v201505/user_team_association_service/delete_user_team_associations.rb
310
+ - examples/v201505/user_team_association_service/create_user_team_associations.rb
311
+ - examples/v201505/user_team_association_service/get_all_user_team_associations.rb
312
+ - examples/v201505/user_team_association_service/get_user_team_associations_by_statement.rb
313
+ - examples/v201505/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb
314
+ - examples/v201505/suggested_ad_unit_service/get_all_suggested_ad_units.rb
315
+ - examples/v201505/suggested_ad_unit_service/approve_all_suggested_ad_units.rb
316
+ - examples/v201505/custom_field_service/get_all_line_item_custom_fields.rb
317
+ - examples/v201505/custom_field_service/update_custom_fields.rb
318
+ - examples/v201505/custom_field_service/set_line_item_custom_field_value.rb
319
+ - examples/v201505/custom_field_service/create_custom_field_options.rb
320
+ - examples/v201505/custom_field_service/get_all_custom_fields.rb
321
+ - examples/v201505/custom_field_service/create_custom_fields.rb
322
+ - examples/v201505/custom_field_service/deactivate_all_line_item_custom_fields.rb
323
+ - examples/v201505/network_service/get_all_networks.rb
324
+ - examples/v201505/network_service/make_test_network.rb
325
+ - examples/v201505/network_service/get_current_network.rb
326
+ - examples/v201505/company_service/get_all_companies.rb
327
+ - examples/v201505/company_service/create_companies.rb
328
+ - examples/v201505/company_service/get_companies_by_statement.rb
329
+ - examples/v201505/company_service/update_companies.rb
330
+ - examples/v201505/line_item_service/target_custom_criteria.rb
331
+ - examples/v201505/line_item_service/update_line_items.rb
332
+ - examples/v201505/line_item_service/create_line_items.rb
333
+ - examples/v201505/line_item_service/get_all_line_items.rb
334
+ - examples/v201505/line_item_service/get_recently_updated_line_items.rb
335
+ - examples/v201505/line_item_service/create_video_line_item.rb
336
+ - examples/v201505/line_item_service/get_line_items_by_statement.rb
337
+ - examples/v201505/line_item_service/activate_line_items.rb
338
+ - examples/v201505/label_service/create_labels.rb
339
+ - examples/v201505/label_service/update_labels.rb
340
+ - examples/v201505/label_service/get_all_labels.rb
341
+ - examples/v201505/label_service/deactivate_labels.rb
342
+ - examples/v201505/label_service/get_labels_by_statement.rb
343
+ - examples/v201505/forecast_service/get_availability_forecast.rb
344
+ - examples/v201505/forecast_service/get_delivery_forecast_for_line_items.rb
345
+ - examples/v201505/forecast_service/get_availability_forecast_for_line_item.rb
346
+ - examples/v201505/activity_group_service/get_all_activity_groups.rb
347
+ - examples/v201505/activity_group_service/get_active_activity_groups.rb
348
+ - examples/v201505/activity_group_service/create_activity_groups.rb
349
+ - examples/v201505/activity_group_service/update_activity_groups.rb
350
+ - examples/v201505/creative_service/copy_image_creatives.rb
351
+ - examples/v201505/creative_service/create_creatives.rb
352
+ - examples/v201505/creative_service/create_creative_from_template.rb
353
+ - examples/v201505/creative_service/get_all_creatives.rb
354
+ - examples/v201505/creative_service/get_creatives_by_statement.rb
355
+ - examples/v201505/creative_service/update_creatives.rb
356
+ - examples/v201505/creative_service/create_custom_creative.rb
357
+ - examples/v201505/content_service/get_all_content.rb
358
+ - examples/v201505/content_service/get_content_by_category.rb
359
+ - examples/v201505/placement_service/create_placements.rb
360
+ - examples/v201505/placement_service/get_placements_by_statement.rb
361
+ - examples/v201505/placement_service/deactivate_placements.rb
362
+ - examples/v201505/placement_service/update_placements.rb
363
+ - examples/v201505/placement_service/get_all_placements.rb
364
+ - examples/v201505/order_service/update_orders.rb
365
+ - examples/v201505/order_service/get_orders_by_statement.rb
366
+ - examples/v201505/order_service/create_orders.rb
367
+ - examples/v201505/order_service/approve_orders.rb
368
+ - examples/v201505/order_service/get_all_orders.rb
369
+ - examples/v201505/inventory_service/create_video_ad_unit.rb
370
+ - examples/v201505/inventory_service/deactivate_ad_units.rb
371
+ - examples/v201505/inventory_service/get_all_ad_units.rb
372
+ - examples/v201505/inventory_service/get_ad_unit_sizes.rb
373
+ - examples/v201505/inventory_service/get_ad_units_by_statement.rb
374
+ - examples/v201505/inventory_service/update_ad_units.rb
375
+ - examples/v201505/inventory_service/create_ad_units.rb
376
+ - examples/v201505/inventory_service/create_mobile_ad_unit.rb
377
+ - examples/v201505/publisher_query_language_service/get_geo_targets.rb
378
+ - examples/v201505/publisher_query_language_service/fetch_match_tables.rb
379
+ - examples/v201505/publisher_query_language_service/get_line_items_named_like.rb
380
+ - examples/v201505/publisher_query_language_service/get_all_line_items.rb
381
+ - examples/v201505/team_service/create_teams.rb
382
+ - examples/v201505/team_service/get_all_teams.rb
383
+ - examples/v201505/team_service/get_teams_by_statement.rb
384
+ - examples/v201505/team_service/update_teams.rb
385
+ - examples/v201505/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb
386
+ - examples/v201505/custom_targeting_service/update_custom_targeting_keys.rb
387
+ - examples/v201505/custom_targeting_service/delete_custom_targeting_values.rb
388
+ - examples/v201505/custom_targeting_service/create_custom_targeting_keys_and_values.rb
389
+ - examples/v201505/custom_targeting_service/get_custom_targeting_values_by_statement.rb
390
+ - examples/v201505/custom_targeting_service/update_custom_targeting_values.rb
391
+ - examples/v201505/custom_targeting_service/get_custom_targeting_keys_by_statement.rb
392
+ - examples/v201505/custom_targeting_service/delete_custom_targeting_keys.rb
393
+ - examples/v201505/creative_set_service/get_creative_sets_by_statement.rb
394
+ - examples/v201505/creative_set_service/get_all_creative_sets.rb
395
+ - examples/v201505/creative_set_service/create_creative_set.rb
396
+ - examples/v201505/creative_set_service/update_creative_sets.rb
397
+ - examples/v201505/creative_set_service/associate_creative_set_to_line_item.rb
398
+ - examples/v201505/line_item_creative_association_service/get_all_licas.rb
399
+ - examples/v201505/line_item_creative_association_service/get_licas_by_statement.rb
400
+ - examples/v201505/line_item_creative_association_service/create_licas.rb
401
+ - examples/v201505/line_item_creative_association_service/update_licas.rb
402
+ - examples/v201505/line_item_creative_association_service/deactivate_licas.rb
403
+ - examples/v201505/creative_template_service/get_all_creative_templates.rb
404
+ - examples/v201505/creative_template_service/get_system_defined_creative_templates.rb
405
+ - examples/v201505/creative_wrapper_service/deactivate_creative_wrapper.rb
406
+ - examples/v201505/creative_wrapper_service/update_creative_wrappers.rb
407
+ - examples/v201505/creative_wrapper_service/get_all_creative_wrappers.rb
408
+ - examples/v201505/creative_wrapper_service/create_creative_wrappers.rb
409
+ - examples/v201505/creative_wrapper_service/get_creative_wrappers_by_statement.rb
410
+ - examples/v201505/content_metadata_key_hierarchy_service/update_content_metadata_key_hierarchies.rb
411
+ - examples/v201505/content_metadata_key_hierarchy_service/delete_content_metadata_key_hierarchies.rb
412
+ - examples/v201505/content_metadata_key_hierarchy_service/create_content_metadata_key_hierarchies.rb
413
+ - examples/v201505/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.rb
414
+ - examples/v201505/user_service/update_users.rb
415
+ - examples/v201505/user_service/get_current_user.rb
416
+ - examples/v201505/user_service/get_all_roles.rb
417
+ - examples/v201505/user_service/get_users_by_statement.rb
418
+ - examples/v201505/user_service/create_users.rb
419
+ - examples/v201505/user_service/deactivate_users.rb
420
+ - examples/v201505/user_service/get_all_users.rb
421
+ - examples/v201505/common/setup_oauth2.rb
422
+ - examples/v201505/common/oauth2_jwt_handling.rb
423
+ - examples/v201505/common/error_handling.rb
424
+ - examples/v201505/report_service/run_delivery_report.rb
425
+ - examples/v201505/report_service/display_report.rb
426
+ - examples/v201505/report_service/run_sales_report.rb
427
+ - examples/v201505/report_service/run_inventory_report.rb
428
+ - examples/v201505/report_service/run_report_with_custom_fields.rb
429
+ - examples/v201505/report_service/download_report.rb
430
+ - examples/v201505/report_service/run_reach_report.rb
431
+ - examples/v201505/contact_service/get_uninvited_contacts.rb
432
+ - examples/v201505/contact_service/update_contacts.rb
433
+ - examples/v201505/contact_service/create_contacts.rb
434
+ - examples/v201505/contact_service/get_all_contacts.rb
435
+ - examples/v201505/activity_service/get_all_activities.rb
436
+ - examples/v201505/activity_service/update_activities.rb
437
+ - examples/v201505/activity_service/create_activities.rb
438
+ - examples/v201505/activity_service/get_active_activities.rb
439
+ - examples/v201505/audience_segment_service/get_first_party_audience_segments.rb
440
+ - examples/v201505/audience_segment_service/populate_first_party_audience_segments.rb
441
+ - examples/v201505/audience_segment_service/create_audience_segments.rb
442
+ - examples/v201505/audience_segment_service/get_all_audience_segments.rb
443
+ - examples/v201505/audience_segment_service/update_audience_segments.rb
446
444
  - examples/v201411/user_team_association_service/update_user_team_associations.rb
447
445
  - examples/v201411/user_team_association_service/delete_user_team_associations.rb
448
446
  - examples/v201411/user_team_association_service/create_user_team_associations.rb
@@ -940,6 +938,102 @@ files:
940
938
  - lib/dfp_api/v201403/report_service_registry.rb
941
939
  - lib/dfp_api/v201403/rate_card_customization_service_registry.rb
942
940
  - lib/dfp_api/v201403/product_service_registry.rb
941
+ - lib/dfp_api/v201505/creative_set_service_registry.rb
942
+ - lib/dfp_api/v201505/base_rate_service.rb
943
+ - lib/dfp_api/v201505/line_item_creative_association_service.rb
944
+ - lib/dfp_api/v201505/content_metadata_key_hierarchy_service.rb
945
+ - lib/dfp_api/v201505/premium_rate_service_registry.rb
946
+ - lib/dfp_api/v201505/product_package_service.rb
947
+ - lib/dfp_api/v201505/placement_service.rb
948
+ - lib/dfp_api/v201505/forecast_service_registry.rb
949
+ - lib/dfp_api/v201505/line_item_service_registry.rb
950
+ - lib/dfp_api/v201505/proposal_line_item_service.rb
951
+ - lib/dfp_api/v201505/product_package_item_service.rb
952
+ - lib/dfp_api/v201505/team_service.rb
953
+ - lib/dfp_api/v201505/audience_segment_service.rb
954
+ - lib/dfp_api/v201505/custom_field_service.rb
955
+ - lib/dfp_api/v201505/creative_template_service_registry.rb
956
+ - lib/dfp_api/v201505/proposal_service.rb
957
+ - lib/dfp_api/v201505/reconciliation_report_service_registry.rb
958
+ - lib/dfp_api/v201505/contact_service.rb
959
+ - lib/dfp_api/v201505/exchange_rate_service.rb
960
+ - lib/dfp_api/v201505/company_service.rb
961
+ - lib/dfp_api/v201505/creative_service.rb
962
+ - lib/dfp_api/v201505/content_service.rb
963
+ - lib/dfp_api/v201505/reconciliation_report_row_service.rb
964
+ - lib/dfp_api/v201505/suggested_ad_unit_service_registry.rb
965
+ - lib/dfp_api/v201505/team_service_registry.rb
966
+ - lib/dfp_api/v201505/workflow_request_service.rb
967
+ - lib/dfp_api/v201505/reconciliation_report_service.rb
968
+ - lib/dfp_api/v201505/custom_field_service_registry.rb
969
+ - lib/dfp_api/v201505/line_item_template_service_registry.rb
970
+ - lib/dfp_api/v201505/suggested_ad_unit_service.rb
971
+ - lib/dfp_api/v201505/order_service_registry.rb
972
+ - lib/dfp_api/v201505/creative_template_service.rb
973
+ - lib/dfp_api/v201505/creative_service_registry.rb
974
+ - lib/dfp_api/v201505/ad_exclusion_rule_service_registry.rb
975
+ - lib/dfp_api/v201505/creative_wrapper_service.rb
976
+ - lib/dfp_api/v201505/activity_group_service.rb
977
+ - lib/dfp_api/v201505/publisher_query_language_service.rb
978
+ - lib/dfp_api/v201505/exchange_rate_service_registry.rb
979
+ - lib/dfp_api/v201505/label_service.rb
980
+ - lib/dfp_api/v201505/creative_set_service.rb
981
+ - lib/dfp_api/v201505/network_service_registry.rb
982
+ - lib/dfp_api/v201505/custom_targeting_service_registry.rb
983
+ - lib/dfp_api/v201505/rate_card_service_registry.rb
984
+ - lib/dfp_api/v201505/inventory_service_registry.rb
985
+ - lib/dfp_api/v201505/line_item_template_service.rb
986
+ - lib/dfp_api/v201505/workflow_request_service_registry.rb
987
+ - lib/dfp_api/v201505/content_metadata_key_hierarchy_service_registry.rb
988
+ - lib/dfp_api/v201505/product_service.rb
989
+ - lib/dfp_api/v201505/placement_service_registry.rb
990
+ - lib/dfp_api/v201505/reconciliation_report_row_service_registry.rb
991
+ - lib/dfp_api/v201505/shared_ad_unit_service.rb
992
+ - lib/dfp_api/v201505/activity_service.rb
993
+ - lib/dfp_api/v201505/activity_service_registry.rb
994
+ - lib/dfp_api/v201505/reconciliation_order_report_service.rb
995
+ - lib/dfp_api/v201505/inventory_service.rb
996
+ - lib/dfp_api/v201505/audience_segment_service_registry.rb
997
+ - lib/dfp_api/v201505/line_item_service.rb
998
+ - lib/dfp_api/v201505/user_team_association_service.rb
999
+ - lib/dfp_api/v201505/user_service_registry.rb
1000
+ - lib/dfp_api/v201505/proposal_line_item_service_registry.rb
1001
+ - lib/dfp_api/v201505/order_service.rb
1002
+ - lib/dfp_api/v201505/live_stream_event_service_registry.rb
1003
+ - lib/dfp_api/v201505/forecast_service.rb
1004
+ - lib/dfp_api/v201505/rate_card_service.rb
1005
+ - lib/dfp_api/v201505/user_service.rb
1006
+ - lib/dfp_api/v201505/package_service_registry.rb
1007
+ - lib/dfp_api/v201505/reconciliation_order_report_service_registry.rb
1008
+ - lib/dfp_api/v201505/report_service.rb
1009
+ - lib/dfp_api/v201505/user_team_association_service_registry.rb
1010
+ - lib/dfp_api/v201505/publisher_query_language_service_registry.rb
1011
+ - lib/dfp_api/v201505/line_item_creative_association_service_registry.rb
1012
+ - lib/dfp_api/v201505/package_service.rb
1013
+ - lib/dfp_api/v201505/creative_wrapper_service_registry.rb
1014
+ - lib/dfp_api/v201505/contact_service_registry.rb
1015
+ - lib/dfp_api/v201505/product_template_service.rb
1016
+ - lib/dfp_api/v201505/product_template_service_registry.rb
1017
+ - lib/dfp_api/v201505/content_bundle_service_registry.rb
1018
+ - lib/dfp_api/v201505/activity_group_service_registry.rb
1019
+ - lib/dfp_api/v201505/live_stream_event_service.rb
1020
+ - lib/dfp_api/v201505/premium_rate_service.rb
1021
+ - lib/dfp_api/v201505/proposal_service_registry.rb
1022
+ - lib/dfp_api/v201505/label_service_registry.rb
1023
+ - lib/dfp_api/v201505/content_service_registry.rb
1024
+ - lib/dfp_api/v201505/base_rate_service_registry.rb
1025
+ - lib/dfp_api/v201505/content_bundle_service.rb
1026
+ - lib/dfp_api/v201505/custom_targeting_service.rb
1027
+ - lib/dfp_api/v201505/network_service.rb
1028
+ - lib/dfp_api/v201505/company_service_registry.rb
1029
+ - lib/dfp_api/v201505/ad_rule_service.rb
1030
+ - lib/dfp_api/v201505/ad_rule_service_registry.rb
1031
+ - lib/dfp_api/v201505/report_service_registry.rb
1032
+ - lib/dfp_api/v201505/shared_ad_unit_service_registry.rb
1033
+ - lib/dfp_api/v201505/product_package_service_registry.rb
1034
+ - lib/dfp_api/v201505/product_package_item_service_registry.rb
1035
+ - lib/dfp_api/v201505/ad_exclusion_rule_service.rb
1036
+ - lib/dfp_api/v201505/product_service_registry.rb
943
1037
  - lib/dfp_api/v201411/creative_set_service_registry.rb
944
1038
  - lib/dfp_api/v201411/base_rate_service.rb
945
1039
  - lib/dfp_api/v201411/line_item_creative_association_service.rb