google-dfp-api 0.2.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (450) hide show
  1. data/ChangeLog +4 -0
  2. data/README +4 -6
  3. data/dfp_api.yml +5 -1
  4. data/examples/{v201104/order_service/get_all_orders.rb → v201203/audience_segment_service/get_all_audience_segments.rb} +18 -17
  5. data/examples/{v201103 → v201203}/common/error_handling.rb +1 -1
  6. data/examples/{v201107 → v201203}/common/oauth_handling.rb +1 -1
  7. data/examples/{v201107 → v201203}/company_service/create_companies.rb +1 -1
  8. data/examples/{v201107 → v201203}/company_service/get_all_companies.rb +1 -1
  9. data/examples/{v201104 → v201203}/company_service/get_companies_by_statement.rb +1 -1
  10. data/examples/{v201104 → v201203}/company_service/get_company.rb +1 -1
  11. data/examples/{v201107 → v201203}/company_service/update_companies.rb +1 -1
  12. data/examples/{v201103/user_service/get_all_users.rb → v201203/content_service/get_all_content.rb} +16 -15
  13. data/examples/v201203/content_service/get_content_by_category.rb +135 -0
  14. data/examples/{v201107 → v201203}/creative_service/copy_image_creatives.rb +1 -1
  15. data/examples/v201203/creative_service/create_creative_from_template.rb +138 -0
  16. data/examples/{v201107 → v201203}/creative_service/create_creatives.rb +1 -1
  17. data/examples/{v201103/creative_service/create_creatives.rb → v201203/creative_service/create_custom_creative.rb} +28 -30
  18. data/examples/{v201103 → v201203}/creative_service/get_all_creatives.rb +1 -1
  19. data/examples/{v201104 → v201203}/creative_service/get_creative.rb +1 -1
  20. data/examples/{v201107 → v201203}/creative_service/get_creatives_by_statement.rb +1 -1
  21. data/examples/{v201103 → v201203}/creative_service/update_creatives.rb +1 -1
  22. data/examples/{v201103/inventory_service/get_all_ad_units.rb → v201203/creative_template_service/get_all_creative_templates.rb} +16 -15
  23. data/examples/{v201103/creative_service/get_creative.rb → v201203/creative_template_service/get_creative_template.rb} +17 -15
  24. data/examples/{v201107/user_service/get_users_by_statement.rb → v201203/creative_template_service/get_creative_templates_by_statement.rb} +18 -17
  25. data/examples/{v201107 → v201203}/custom_targeting_service/create_custom_targeting_keys_and_values.rb +28 -6
  26. data/examples/{v201103 → v201203}/custom_targeting_service/delete_custom_targeting_keys.rb +1 -1
  27. data/examples/{v201107 → v201203}/custom_targeting_service/delete_custom_targeting_values.rb +1 -1
  28. data/examples/{v201103 → v201203}/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +1 -1
  29. data/examples/{v201104 → v201203}/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +1 -1
  30. data/examples/{v201104 → v201203}/custom_targeting_service/get_custom_targeting_values_by_statement.rb +1 -1
  31. data/examples/{v201107 → v201203}/custom_targeting_service/update_custom_targeting_keys.rb +1 -1
  32. data/examples/{v201103 → v201203}/custom_targeting_service/update_custom_targeting_values.rb +1 -1
  33. data/examples/{v201104 → v201203}/forecast_service/get_forecast.rb +8 -4
  34. data/examples/{v201107 → v201203}/forecast_service/get_forecast_by_id.rb +1 -1
  35. data/examples/{v201107 → v201203}/inventory_service/create_ad_units.rb +9 -3
  36. data/examples/{v201103/inventory_service/create_ad_units.rb → v201203/inventory_service/create_mobile_ad_unit.rb} +27 -22
  37. data/examples/{v201104/inventory_service/create_ad_units.rb → v201203/inventory_service/create_video_ad_unit.rb} +35 -22
  38. data/examples/{v201103 → v201203}/inventory_service/deactivate_ad_units.rb +1 -1
  39. data/examples/{v201103 → v201203}/inventory_service/get_ad_unit.rb +1 -1
  40. data/examples/{v201107 → v201203}/inventory_service/get_ad_unit_sizes.rb +20 -7
  41. data/examples/{v201104 → v201203}/inventory_service/get_ad_units_by_statement.rb +1 -1
  42. data/examples/{v201104 → v201203}/inventory_service/get_all_ad_units.rb +1 -1
  43. data/examples/{v201104 → v201203}/inventory_service/update_ad_units.rb +1 -1
  44. data/examples/{v201107 → v201203}/label_service/create_labels.rb +6 -5
  45. data/examples/{v201107 → v201203}/label_service/deactivate_labels.rb +1 -1
  46. data/examples/{v201107 → v201203}/label_service/get_all_labels.rb +6 -4
  47. data/examples/{v201107 → v201203}/label_service/get_label.rb +5 -4
  48. data/examples/{v201107 → v201203}/label_service/get_labels_by_statement.rb +9 -18
  49. data/examples/{v201107 → v201203}/label_service/update_labels.rb +12 -13
  50. data/examples/{v201107 → v201203}/line_item_creative_association_service/create_licas.rb +1 -1
  51. data/examples/{v201104 → v201203}/line_item_creative_association_service/deactivate_licas.rb +1 -1
  52. data/examples/{v201104 → v201203}/line_item_creative_association_service/get_all_licas.rb +1 -1
  53. data/examples/{v201104 → v201203}/line_item_creative_association_service/get_lica.rb +1 -1
  54. data/examples/{v201107 → v201203}/line_item_creative_association_service/get_licas_by_statement.rb +1 -1
  55. data/examples/{v201107 → v201203}/line_item_creative_association_service/update_licas.rb +1 -1
  56. data/examples/{v201103 → v201203}/line_item_service/activate_line_items.rb +1 -1
  57. data/examples/{v201107 → v201203}/line_item_service/create_line_items.rb +19 -9
  58. data/examples/v201203/line_item_service/create_mobile_line_item.rb +134 -0
  59. data/examples/v201203/line_item_service/create_video_line_item.rb +155 -0
  60. data/examples/{v201107 → v201203}/line_item_service/get_all_line_items.rb +1 -1
  61. data/examples/{v201107 → v201203}/line_item_service/get_line_item.rb +1 -1
  62. data/examples/{v201107 → v201203}/line_item_service/get_line_items_by_statement.rb +11 -7
  63. data/examples/{v201103/line_item_service/get_line_items_by_statement.rb → v201203/line_item_service/get_recently_updated_line_items.rb} +23 -14
  64. data/examples/{v201107 → v201203}/line_item_service/target_custom_criteria.rb +1 -1
  65. data/examples/{v201103 → v201203}/line_item_service/update_line_items.rb +1 -1
  66. data/examples/{v201103 → v201203}/network_service/get_all_networks.rb +1 -1
  67. data/examples/{v201103 → v201203}/network_service/get_current_network.rb +1 -1
  68. data/examples/{v201107/network_service/get_current_network.rb → v201203/network_service/make_test_network.rb} +21 -10
  69. data/examples/{v201104 → v201203}/order_service/approve_orders.rb +24 -18
  70. data/examples/{v201107 → v201203}/order_service/create_orders.rb +1 -1
  71. data/examples/{v201107 → v201203}/order_service/get_all_orders.rb +1 -1
  72. data/examples/{v201103 → v201203}/order_service/get_order.rb +1 -1
  73. data/examples/{v201103 → v201203}/order_service/get_orders_by_statement.rb +1 -1
  74. data/examples/{v201107 → v201203}/order_service/update_orders.rb +1 -1
  75. data/examples/{v201103 → v201203}/placement_service/create_placements.rb +3 -2
  76. data/examples/{v201107 → v201203}/placement_service/deactivate_placements.rb +1 -1
  77. data/examples/{v201103 → v201203}/placement_service/get_all_placements.rb +1 -1
  78. data/examples/{v201104 → v201203}/placement_service/get_placement.rb +1 -1
  79. data/examples/{v201107 → v201203}/placement_service/get_placements_by_statement.rb +1 -1
  80. data/examples/{v201103 → v201203}/placement_service/update_placements.rb +1 -1
  81. data/examples/{v201104 → v201203}/publisher_query_language_service/get_all_cities.rb +7 -2
  82. data/examples/{v201107 → v201203}/report_service/download_report.rb +1 -1
  83. data/examples/{v201104 → v201203}/report_service/run_delivery_report.rb +17 -3
  84. data/examples/{v201104 → v201203}/report_service/run_inventory_report.rb +4 -2
  85. data/examples/{v201107/report_service/run_delivery_report.rb → v201203/report_service/run_merged_delivery_report.rb} +12 -7
  86. data/examples/{v201107 → v201203}/report_service/run_sales_report.rb +1 -1
  87. data/examples/v201203/suggested_ad_unit_service/approve_all_suggested_ad_units.rb +108 -0
  88. data/examples/{v201107/inventory_service/get_all_ad_units.rb → v201203/suggested_ad_unit_service/get_all_suggested_ad_units.rb} +17 -14
  89. data/examples/{v201104/inventory_service/get_ad_unit.rb → v201203/suggested_ad_unit_service/get_suggested_ad_unit.rb} +17 -14
  90. data/examples/{v201107/inventory_service/get_ad_units_by_statement.rb → v201203/suggested_ad_unit_service/get_suggested_ad_units_by_statement.rb} +22 -26
  91. data/examples/{v201103/user_service/create_users.rb → v201203/team_service/create_teams.rb} +31 -28
  92. data/examples/{v201107/user_service/get_all_users.rb → v201203/team_service/get_all_teams.rb} +16 -17
  93. data/examples/{v201104/network_service/get_current_network.rb → v201203/team_service/get_team.rb} +21 -13
  94. data/examples/{v201103/user_service/update_users.rb → v201203/team_service/get_teams_by_statement.rb} +27 -29
  95. data/examples/{v201104/user_service/update_users.rb → v201203/team_service/update_teams.rb} +38 -23
  96. data/examples/v201203/third_party_slot_service/archive_third_party_slots.rb +124 -0
  97. data/examples/{v201103/company_service/get_company.rb → v201203/third_party_slot_service/create_third_party_slot.rb} +33 -14
  98. data/examples/{v201103/order_service/get_all_orders.rb → v201203/third_party_slot_service/get_all_third_party_slots.rb} +15 -15
  99. data/examples/{v201104/placement_service/get_placements_by_statement.rb → v201203/third_party_slot_service/get_third_party_slot_by_statement.rb} +16 -16
  100. data/examples/{v201103/placement_service/get_placements_by_statement.rb → v201203/third_party_slot_service/update_third_party_slots.rb} +32 -23
  101. data/examples/{v201104 → v201203}/user_service/create_users.rb +1 -1
  102. data/examples/{v201104 → v201203}/user_service/deactivate_users.rb +1 -1
  103. data/examples/{v201103 → v201203}/user_service/get_all_roles.rb +1 -1
  104. data/examples/{v201104 → v201203}/user_service/get_all_users.rb +1 -1
  105. data/examples/{v201107 → v201203}/user_service/get_current_user.rb +1 -1
  106. data/examples/{v201103 → v201203}/user_service/get_user.rb +1 -1
  107. data/examples/{v201103 → v201203}/user_service/get_users_by_statement.rb +1 -1
  108. data/examples/{v201107 → v201203}/user_service/update_users.rb +1 -1
  109. data/lib/dfp_api/api_config.rb +14 -36
  110. data/lib/dfp_api/v201108/company_service.rb +18 -16
  111. data/lib/dfp_api/v201108/company_service_registry.rb +8 -6
  112. data/lib/dfp_api/v201108/creative_service.rb +10 -8
  113. data/lib/dfp_api/v201108/creative_service_registry.rb +8 -6
  114. data/lib/dfp_api/v201108/custom_targeting_service.rb +22 -20
  115. data/lib/dfp_api/v201108/custom_targeting_service_registry.rb +8 -6
  116. data/lib/dfp_api/v201108/forecast_service.rb +10 -8
  117. data/lib/dfp_api/v201108/forecast_service_registry.rb +8 -6
  118. data/lib/dfp_api/v201108/inventory_service.rb +22 -20
  119. data/lib/dfp_api/v201108/inventory_service_registry.rb +8 -6
  120. data/lib/dfp_api/v201108/label_service.rb +18 -16
  121. data/lib/dfp_api/v201108/label_service_registry.rb +8 -6
  122. data/lib/dfp_api/v201108/line_item_creative_association_service.rb +14 -12
  123. data/lib/dfp_api/v201108/line_item_creative_association_service_registry.rb +8 -6
  124. data/lib/dfp_api/v201108/line_item_service.rb +18 -16
  125. data/lib/dfp_api/v201108/line_item_service_registry.rb +8 -6
  126. data/lib/dfp_api/v201108/network_service.rb +6 -4
  127. data/lib/dfp_api/v201108/network_service_registry.rb +8 -6
  128. data/lib/dfp_api/v201108/order_service.rb +10 -8
  129. data/lib/dfp_api/v201108/order_service_registry.rb +8 -6
  130. data/lib/dfp_api/v201108/placement_service.rb +18 -16
  131. data/lib/dfp_api/v201108/placement_service_registry.rb +8 -6
  132. data/lib/dfp_api/v201108/publisher_query_language_service.rb +6 -4
  133. data/lib/dfp_api/v201108/publisher_query_language_service_registry.rb +8 -6
  134. data/lib/dfp_api/v201108/report_service.rb +6 -4
  135. data/lib/dfp_api/v201108/report_service_registry.rb +8 -6
  136. data/lib/dfp_api/v201108/third_party_slot_service.rb +6 -4
  137. data/lib/dfp_api/v201108/third_party_slot_service_registry.rb +8 -6
  138. data/lib/dfp_api/v201108/user_service.rb +18 -16
  139. data/lib/dfp_api/v201108/user_service_registry.rb +8 -6
  140. data/lib/dfp_api/v201111/company_service.rb +18 -16
  141. data/lib/dfp_api/v201111/company_service_registry.rb +8 -6
  142. data/lib/dfp_api/v201111/content_service.rb +6 -4
  143. data/lib/dfp_api/v201111/content_service_registry.rb +8 -6
  144. data/lib/dfp_api/v201111/creative_service.rb +10 -8
  145. data/lib/dfp_api/v201111/creative_service_registry.rb +8 -6
  146. data/lib/dfp_api/v201111/creative_template_service.rb +6 -4
  147. data/lib/dfp_api/v201111/creative_template_service_registry.rb +8 -6
  148. data/lib/dfp_api/v201111/custom_targeting_service.rb +22 -20
  149. data/lib/dfp_api/v201111/custom_targeting_service_registry.rb +8 -6
  150. data/lib/dfp_api/v201111/forecast_service.rb +10 -8
  151. data/lib/dfp_api/v201111/forecast_service_registry.rb +8 -6
  152. data/lib/dfp_api/v201111/inventory_service.rb +22 -20
  153. data/lib/dfp_api/v201111/inventory_service_registry.rb +8 -6
  154. data/lib/dfp_api/v201111/label_service.rb +18 -16
  155. data/lib/dfp_api/v201111/label_service_registry.rb +8 -6
  156. data/lib/dfp_api/v201111/line_item_creative_association_service.rb +18 -16
  157. data/lib/dfp_api/v201111/line_item_creative_association_service_registry.rb +8 -6
  158. data/lib/dfp_api/v201111/line_item_service.rb +18 -16
  159. data/lib/dfp_api/v201111/line_item_service_registry.rb +8 -6
  160. data/lib/dfp_api/v201111/network_service.rb +6 -4
  161. data/lib/dfp_api/v201111/network_service_registry.rb +8 -6
  162. data/lib/dfp_api/v201111/order_service.rb +10 -8
  163. data/lib/dfp_api/v201111/order_service_registry.rb +8 -6
  164. data/lib/dfp_api/v201111/placement_service.rb +18 -16
  165. data/lib/dfp_api/v201111/placement_service_registry.rb +8 -6
  166. data/lib/dfp_api/v201111/publisher_query_language_service.rb +6 -4
  167. data/lib/dfp_api/v201111/publisher_query_language_service_registry.rb +8 -6
  168. data/lib/dfp_api/v201111/report_service.rb +6 -4
  169. data/lib/dfp_api/v201111/report_service_registry.rb +8 -6
  170. data/lib/dfp_api/v201111/suggested_ad_unit_service.rb +6 -4
  171. data/lib/dfp_api/v201111/suggested_ad_unit_service_registry.rb +8 -6
  172. data/lib/dfp_api/v201111/third_party_slot_service.rb +6 -4
  173. data/lib/dfp_api/v201111/third_party_slot_service_registry.rb +8 -6
  174. data/lib/dfp_api/v201111/user_service.rb +18 -16
  175. data/lib/dfp_api/v201111/user_service_registry.rb +8 -6
  176. data/lib/dfp_api/v201201/company_service.rb +1 -1
  177. data/lib/dfp_api/v201201/company_service_registry.rb +2 -2
  178. data/lib/dfp_api/v201201/content_service.rb +1 -1
  179. data/lib/dfp_api/v201201/content_service_registry.rb +1 -1
  180. data/lib/dfp_api/v201201/creative_service.rb +1 -1
  181. data/lib/dfp_api/v201201/creative_service_registry.rb +1 -1
  182. data/lib/dfp_api/v201201/creative_template_service.rb +1 -1
  183. data/lib/dfp_api/v201201/creative_template_service_registry.rb +1 -1
  184. data/lib/dfp_api/v201201/custom_targeting_service.rb +1 -1
  185. data/lib/dfp_api/v201201/custom_targeting_service_registry.rb +1 -1
  186. data/lib/dfp_api/v201201/forecast_service.rb +1 -1
  187. data/lib/dfp_api/v201201/forecast_service_registry.rb +2 -2
  188. data/lib/dfp_api/v201201/inventory_service.rb +1 -1
  189. data/lib/dfp_api/v201201/inventory_service_registry.rb +1 -1
  190. data/lib/dfp_api/v201201/label_service.rb +1 -1
  191. data/lib/dfp_api/v201201/label_service_registry.rb +1 -1
  192. data/lib/dfp_api/v201201/line_item_creative_association_service.rb +1 -1
  193. data/lib/dfp_api/v201201/line_item_creative_association_service_registry.rb +1 -1
  194. data/lib/dfp_api/v201201/line_item_service.rb +1 -1
  195. data/lib/dfp_api/v201201/line_item_service_registry.rb +2 -2
  196. data/lib/dfp_api/v201201/network_service.rb +1 -1
  197. data/lib/dfp_api/v201201/network_service_registry.rb +1 -1
  198. data/lib/dfp_api/v201201/order_service.rb +1 -1
  199. data/lib/dfp_api/v201201/order_service_registry.rb +1 -1
  200. data/lib/dfp_api/v201201/placement_service.rb +1 -1
  201. data/lib/dfp_api/v201201/placement_service_registry.rb +1 -1
  202. data/lib/dfp_api/v201201/publisher_query_language_service.rb +1 -1
  203. data/lib/dfp_api/v201201/publisher_query_language_service_registry.rb +1 -1
  204. data/lib/dfp_api/v201201/report_service.rb +1 -1
  205. data/lib/dfp_api/v201201/report_service_registry.rb +1 -1
  206. data/lib/dfp_api/v201201/suggested_ad_unit_service.rb +1 -1
  207. data/lib/dfp_api/v201201/suggested_ad_unit_service_registry.rb +1 -1
  208. data/lib/dfp_api/v201201/team_service.rb +1 -1
  209. data/lib/dfp_api/v201201/team_service_registry.rb +1 -1
  210. data/lib/dfp_api/v201201/third_party_slot_service.rb +1 -1
  211. data/lib/dfp_api/v201201/third_party_slot_service_registry.rb +1 -1
  212. data/lib/dfp_api/v201201/user_service.rb +1 -1
  213. data/lib/dfp_api/v201201/user_service_registry.rb +1 -1
  214. data/lib/dfp_api/v201203/audience_segment_service.rb +34 -0
  215. data/lib/dfp_api/v201203/audience_segment_service_registry.rb +46 -0
  216. data/lib/dfp_api/{v201103 → v201203}/company_service.rb +23 -21
  217. data/lib/dfp_api/v201203/company_service_registry.rb +46 -0
  218. data/lib/dfp_api/v201203/content_service.rb +42 -0
  219. data/lib/dfp_api/v201203/content_service_registry.rb +46 -0
  220. data/lib/dfp_api/{v201103 → v201203}/creative_service.rb +15 -13
  221. data/lib/dfp_api/v201203/creative_service_registry.rb +46 -0
  222. data/lib/dfp_api/v201203/creative_template_service.rb +38 -0
  223. data/lib/dfp_api/v201203/creative_template_service_registry.rb +46 -0
  224. data/lib/dfp_api/{v201107 → v201203}/custom_targeting_service.rb +27 -25
  225. data/lib/dfp_api/v201203/custom_targeting_service_registry.rb +46 -0
  226. data/lib/dfp_api/{v201107 → v201203}/forecast_service.rb +15 -13
  227. data/lib/dfp_api/v201203/forecast_service_registry.rb +46 -0
  228. data/lib/dfp_api/{v201107 → v201203}/inventory_service.rb +29 -23
  229. data/lib/dfp_api/v201203/inventory_service_registry.rb +46 -0
  230. data/lib/dfp_api/{v201107 → v201203}/label_service.rb +23 -21
  231. data/lib/dfp_api/v201203/label_service_registry.rb +46 -0
  232. data/lib/dfp_api/{v201103 → v201203}/line_item_creative_association_service.rb +23 -17
  233. data/lib/dfp_api/v201203/line_item_creative_association_service_registry.rb +46 -0
  234. data/lib/dfp_api/{v201107 → v201203}/line_item_service.rb +23 -21
  235. data/lib/dfp_api/v201203/line_item_service_registry.rb +46 -0
  236. data/lib/dfp_api/{v201104 → v201203}/network_service.rb +15 -9
  237. data/lib/dfp_api/v201203/network_service_registry.rb +46 -0
  238. data/lib/dfp_api/{v201103 → v201203}/order_service.rb +15 -13
  239. data/lib/dfp_api/v201203/order_service_registry.rb +46 -0
  240. data/lib/dfp_api/{v201107 → v201203}/placement_service.rb +23 -21
  241. data/lib/dfp_api/v201203/placement_service_registry.rb +46 -0
  242. data/lib/dfp_api/{v201104 → v201203}/publisher_query_language_service.rb +11 -9
  243. data/lib/dfp_api/v201203/publisher_query_language_service_registry.rb +46 -0
  244. data/lib/dfp_api/{v201103 → v201203}/report_service.rb +11 -9
  245. data/lib/dfp_api/v201203/report_service_registry.rb +46 -0
  246. data/lib/dfp_api/v201203/suggested_ad_unit_service.rb +42 -0
  247. data/lib/dfp_api/v201203/suggested_ad_unit_service_registry.rb +46 -0
  248. data/lib/dfp_api/v201203/team_service.rb +54 -0
  249. data/lib/dfp_api/v201203/team_service_registry.rb +46 -0
  250. data/lib/dfp_api/v201203/third_party_slot_service.rb +46 -0
  251. data/lib/dfp_api/v201203/third_party_slot_service_registry.rb +46 -0
  252. data/lib/dfp_api/{v201107 → v201203}/user_service.rb +23 -21
  253. data/lib/dfp_api/v201203/user_service_registry.rb +46 -0
  254. data/lib/dfp_api/version.rb +1 -1
  255. data/test/bugs/test_issue_00000016.rb +3 -3
  256. data/test/dfp_api/test_config.yml +0 -2
  257. data/test/dfp_api/test_dfp_api.rb +0 -4
  258. metadata +484 -649
  259. data/examples/v201103/common/oauth_handling.rb +0 -127
  260. data/examples/v201103/company_service/create_companies.rb +0 -80
  261. data/examples/v201103/company_service/get_all_companies.rb +0 -91
  262. data/examples/v201103/company_service/get_companies_by_statement.rb +0 -87
  263. data/examples/v201103/company_service/update_companies.rb +0 -94
  264. data/examples/v201103/creative_service/copy_image_creatives.rb +0 -114
  265. data/examples/v201103/creative_service/get_creatives_by_statement.rb +0 -86
  266. data/examples/v201103/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -117
  267. data/examples/v201103/custom_targeting_service/delete_custom_targeting_values.rb +0 -124
  268. data/examples/v201103/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -91
  269. data/examples/v201103/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -97
  270. data/examples/v201103/custom_targeting_service/update_custom_targeting_keys.rb +0 -93
  271. data/examples/v201103/forecast_service/get_forecast.rb +0 -102
  272. data/examples/v201103/forecast_service/get_forecast_by_id.rb +0 -79
  273. data/examples/v201103/inventory_service/get_ad_units_by_statement.rb +0 -95
  274. data/examples/v201103/inventory_service/update_ad_units.rb +0 -93
  275. data/examples/v201103/line_item_creative_association_service/create_licas.rb +0 -93
  276. data/examples/v201103/line_item_creative_association_service/deactivate_licas.rb +0 -126
  277. data/examples/v201103/line_item_creative_association_service/get_all_licas.rb +0 -94
  278. data/examples/v201103/line_item_creative_association_service/get_lica.rb +0 -76
  279. data/examples/v201103/line_item_creative_association_service/get_licas_by_statement.rb +0 -90
  280. data/examples/v201103/line_item_creative_association_service/update_licas.rb +0 -91
  281. data/examples/v201103/line_item_service/create_line_items.rb +0 -163
  282. data/examples/v201103/line_item_service/get_all_line_items.rb +0 -93
  283. data/examples/v201103/line_item_service/get_line_item.rb +0 -73
  284. data/examples/v201103/line_item_service/target_custom_criteria.rb +0 -134
  285. data/examples/v201103/order_service/approve_orders.rb +0 -115
  286. data/examples/v201103/order_service/create_orders.rb +0 -91
  287. data/examples/v201103/order_service/update_orders.rb +0 -94
  288. data/examples/v201103/placement_service/deactivate_placements.rb +0 -117
  289. data/examples/v201103/placement_service/get_placement.rb +0 -73
  290. data/examples/v201103/publisher_query_language_service/get_all_cities.rb +0 -84
  291. data/examples/v201103/publisher_query_language_service/get_all_countries.rb +0 -84
  292. data/examples/v201103/publisher_query_language_service/get_all_metros.rb +0 -84
  293. data/examples/v201103/publisher_query_language_service/get_all_regions.rb +0 -84
  294. data/examples/v201103/report_service/download_report.rb +0 -80
  295. data/examples/v201103/report_service/run_delivery_report.rb +0 -88
  296. data/examples/v201103/report_service/run_inventory_report.rb +0 -89
  297. data/examples/v201103/report_service/run_sales_report.rb +0 -88
  298. data/examples/v201103/user_service/deactivate_users.rb +0 -98
  299. data/examples/v201104/common/error_handling.rb +0 -75
  300. data/examples/v201104/common/oauth_handling.rb +0 -127
  301. data/examples/v201104/company_service/create_companies.rb +0 -80
  302. data/examples/v201104/company_service/get_all_companies.rb +0 -91
  303. data/examples/v201104/company_service/update_companies.rb +0 -94
  304. data/examples/v201104/creative_service/copy_image_creatives.rb +0 -114
  305. data/examples/v201104/creative_service/create_creatives.rb +0 -105
  306. data/examples/v201104/creative_service/get_all_creatives.rb +0 -92
  307. data/examples/v201104/creative_service/get_creatives_by_statement.rb +0 -86
  308. data/examples/v201104/creative_service/update_creatives.rb +0 -95
  309. data/examples/v201104/custom_targeting_service/create_custom_targeting_keys_and_values.rb +0 -117
  310. data/examples/v201104/custom_targeting_service/delete_custom_targeting_keys.rb +0 -120
  311. data/examples/v201104/custom_targeting_service/delete_custom_targeting_values.rb +0 -124
  312. data/examples/v201104/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -147
  313. data/examples/v201104/custom_targeting_service/update_custom_targeting_keys.rb +0 -93
  314. data/examples/v201104/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  315. data/examples/v201104/forecast_service/get_forecast_by_id.rb +0 -79
  316. data/examples/v201104/inventory_service/deactivate_ad_units.rb +0 -118
  317. data/examples/v201104/line_item_creative_association_service/create_licas.rb +0 -93
  318. data/examples/v201104/line_item_creative_association_service/get_licas_by_statement.rb +0 -90
  319. data/examples/v201104/line_item_creative_association_service/update_licas.rb +0 -91
  320. data/examples/v201104/line_item_service/activate_line_items.rb +0 -130
  321. data/examples/v201104/line_item_service/create_line_items.rb +0 -155
  322. data/examples/v201104/line_item_service/get_all_line_items.rb +0 -93
  323. data/examples/v201104/line_item_service/get_line_item.rb +0 -73
  324. data/examples/v201104/line_item_service/get_line_items_by_statement.rb +0 -88
  325. data/examples/v201104/line_item_service/target_custom_criteria.rb +0 -128
  326. data/examples/v201104/line_item_service/update_line_items.rb +0 -108
  327. data/examples/v201104/network_service/get_all_networks.rb +0 -73
  328. data/examples/v201104/order_service/create_orders.rb +0 -91
  329. data/examples/v201104/order_service/get_order.rb +0 -73
  330. data/examples/v201104/order_service/get_orders_by_statement.rb +0 -89
  331. data/examples/v201104/order_service/update_orders.rb +0 -94
  332. data/examples/v201104/placement_service/create_placements.rb +0 -127
  333. data/examples/v201104/placement_service/deactivate_placements.rb +0 -117
  334. data/examples/v201104/placement_service/get_all_placements.rb +0 -92
  335. data/examples/v201104/placement_service/update_placements.rb +0 -96
  336. data/examples/v201104/publisher_query_language_service/get_all_countries.rb +0 -84
  337. data/examples/v201104/publisher_query_language_service/get_all_metros.rb +0 -84
  338. data/examples/v201104/publisher_query_language_service/get_all_regions.rb +0 -84
  339. data/examples/v201104/report_service/download_report.rb +0 -80
  340. data/examples/v201104/report_service/run_sales_report.rb +0 -88
  341. data/examples/v201104/user_service/get_all_roles.rb +0 -72
  342. data/examples/v201104/user_service/get_user.rb +0 -72
  343. data/examples/v201104/user_service/get_users_by_statement.rb +0 -78
  344. data/examples/v201107/common/error_handling.rb +0 -75
  345. data/examples/v201107/company_service/get_companies_by_statement.rb +0 -87
  346. data/examples/v201107/company_service/get_company.rb +0 -71
  347. data/examples/v201107/creative_service/get_all_creatives.rb +0 -92
  348. data/examples/v201107/creative_service/get_creative.rb +0 -71
  349. data/examples/v201107/creative_service/update_creatives.rb +0 -95
  350. data/examples/v201107/custom_targeting_service/delete_custom_targeting_keys.rb +0 -120
  351. data/examples/v201107/custom_targeting_service/get_all_custom_targeting_keys_and_values.rb +0 -147
  352. data/examples/v201107/custom_targeting_service/get_custom_targeting_keys_by_statement.rb +0 -91
  353. data/examples/v201107/custom_targeting_service/get_custom_targeting_values_by_statement.rb +0 -97
  354. data/examples/v201107/custom_targeting_service/update_custom_targeting_values.rb +0 -105
  355. data/examples/v201107/forecast_service/get_forecast.rb +0 -102
  356. data/examples/v201107/inventory_service/deactivate_ad_units.rb +0 -118
  357. data/examples/v201107/inventory_service/get_ad_unit.rb +0 -71
  358. data/examples/v201107/inventory_service/update_ad_units.rb +0 -93
  359. data/examples/v201107/line_item_creative_association_service/deactivate_licas.rb +0 -126
  360. data/examples/v201107/line_item_creative_association_service/get_all_licas.rb +0 -94
  361. data/examples/v201107/line_item_creative_association_service/get_lica.rb +0 -76
  362. data/examples/v201107/line_item_service/activate_line_items.rb +0 -130
  363. data/examples/v201107/line_item_service/update_line_items.rb +0 -108
  364. data/examples/v201107/network_service/get_all_networks.rb +0 -73
  365. data/examples/v201107/order_service/approve_orders.rb +0 -115
  366. data/examples/v201107/order_service/get_order.rb +0 -73
  367. data/examples/v201107/order_service/get_orders_by_statement.rb +0 -89
  368. data/examples/v201107/placement_service/create_placements.rb +0 -127
  369. data/examples/v201107/placement_service/get_all_placements.rb +0 -92
  370. data/examples/v201107/placement_service/get_placement.rb +0 -73
  371. data/examples/v201107/placement_service/update_placements.rb +0 -96
  372. data/examples/v201107/publisher_query_language_service/get_all_bandwidth_groups.rb +0 -84
  373. data/examples/v201107/publisher_query_language_service/get_all_browser_languages.rb +0 -84
  374. data/examples/v201107/publisher_query_language_service/get_all_browsers.rb +0 -84
  375. data/examples/v201107/publisher_query_language_service/get_all_cities.rb +0 -84
  376. data/examples/v201107/publisher_query_language_service/get_all_countries.rb +0 -84
  377. data/examples/v201107/publisher_query_language_service/get_all_metros.rb +0 -84
  378. data/examples/v201107/publisher_query_language_service/get_all_operating_systems.rb +0 -84
  379. data/examples/v201107/publisher_query_language_service/get_all_regions.rb +0 -84
  380. data/examples/v201107/report_service/run_inventory_report.rb +0 -89
  381. data/examples/v201107/user_service/create_users.rb +0 -88
  382. data/examples/v201107/user_service/deactivate_users.rb +0 -98
  383. data/examples/v201107/user_service/get_all_roles.rb +0 -72
  384. data/examples/v201107/user_service/get_user.rb +0 -72
  385. data/lib/dfp_api/v201103/company_service_registry.rb +0 -44
  386. data/lib/dfp_api/v201103/creative_service_registry.rb +0 -44
  387. data/lib/dfp_api/v201103/custom_targeting_service.rb +0 -60
  388. data/lib/dfp_api/v201103/custom_targeting_service_registry.rb +0 -44
  389. data/lib/dfp_api/v201103/forecast_service.rb +0 -36
  390. data/lib/dfp_api/v201103/forecast_service_registry.rb +0 -44
  391. data/lib/dfp_api/v201103/inventory_service.rb +0 -56
  392. data/lib/dfp_api/v201103/inventory_service_registry.rb +0 -44
  393. data/lib/dfp_api/v201103/line_item_creative_association_service_registry.rb +0 -44
  394. data/lib/dfp_api/v201103/line_item_service.rb +0 -56
  395. data/lib/dfp_api/v201103/line_item_service_registry.rb +0 -44
  396. data/lib/dfp_api/v201103/network_service.rb +0 -40
  397. data/lib/dfp_api/v201103/network_service_registry.rb +0 -44
  398. data/lib/dfp_api/v201103/order_service_registry.rb +0 -44
  399. data/lib/dfp_api/v201103/placement_service.rb +0 -56
  400. data/lib/dfp_api/v201103/placement_service_registry.rb +0 -44
  401. data/lib/dfp_api/v201103/publisher_query_language_service.rb +0 -32
  402. data/lib/dfp_api/v201103/publisher_query_language_service_registry.rb +0 -44
  403. data/lib/dfp_api/v201103/report_service_registry.rb +0 -44
  404. data/lib/dfp_api/v201103/user_service.rb +0 -60
  405. data/lib/dfp_api/v201103/user_service_registry.rb +0 -44
  406. data/lib/dfp_api/v201104/company_service.rb +0 -52
  407. data/lib/dfp_api/v201104/company_service_registry.rb +0 -44
  408. data/lib/dfp_api/v201104/creative_service.rb +0 -52
  409. data/lib/dfp_api/v201104/creative_service_registry.rb +0 -44
  410. data/lib/dfp_api/v201104/custom_targeting_service.rb +0 -60
  411. data/lib/dfp_api/v201104/custom_targeting_service_registry.rb +0 -44
  412. data/lib/dfp_api/v201104/forecast_service.rb +0 -36
  413. data/lib/dfp_api/v201104/forecast_service_registry.rb +0 -44
  414. data/lib/dfp_api/v201104/inventory_service.rb +0 -56
  415. data/lib/dfp_api/v201104/inventory_service_registry.rb +0 -44
  416. data/lib/dfp_api/v201104/line_item_creative_association_service.rb +0 -56
  417. data/lib/dfp_api/v201104/line_item_creative_association_service_registry.rb +0 -44
  418. data/lib/dfp_api/v201104/line_item_service.rb +0 -56
  419. data/lib/dfp_api/v201104/line_item_service_registry.rb +0 -44
  420. data/lib/dfp_api/v201104/network_service_registry.rb +0 -44
  421. data/lib/dfp_api/v201104/order_service.rb +0 -56
  422. data/lib/dfp_api/v201104/order_service_registry.rb +0 -44
  423. data/lib/dfp_api/v201104/placement_service.rb +0 -56
  424. data/lib/dfp_api/v201104/placement_service_registry.rb +0 -44
  425. data/lib/dfp_api/v201104/publisher_query_language_service_registry.rb +0 -44
  426. data/lib/dfp_api/v201104/report_service.rb +0 -40
  427. data/lib/dfp_api/v201104/report_service_registry.rb +0 -44
  428. data/lib/dfp_api/v201104/user_service.rb +0 -60
  429. data/lib/dfp_api/v201104/user_service_registry.rb +0 -44
  430. data/lib/dfp_api/v201107/company_service.rb +0 -52
  431. data/lib/dfp_api/v201107/company_service_registry.rb +0 -44
  432. data/lib/dfp_api/v201107/creative_service.rb +0 -52
  433. data/lib/dfp_api/v201107/creative_service_registry.rb +0 -44
  434. data/lib/dfp_api/v201107/custom_targeting_service_registry.rb +0 -44
  435. data/lib/dfp_api/v201107/forecast_service_registry.rb +0 -44
  436. data/lib/dfp_api/v201107/inventory_service_registry.rb +0 -44
  437. data/lib/dfp_api/v201107/label_service_registry.rb +0 -44
  438. data/lib/dfp_api/v201107/line_item_creative_association_service.rb +0 -56
  439. data/lib/dfp_api/v201107/line_item_creative_association_service_registry.rb +0 -44
  440. data/lib/dfp_api/v201107/line_item_service_registry.rb +0 -44
  441. data/lib/dfp_api/v201107/network_service.rb +0 -40
  442. data/lib/dfp_api/v201107/network_service_registry.rb +0 -44
  443. data/lib/dfp_api/v201107/order_service.rb +0 -56
  444. data/lib/dfp_api/v201107/order_service_registry.rb +0 -44
  445. data/lib/dfp_api/v201107/placement_service_registry.rb +0 -44
  446. data/lib/dfp_api/v201107/publisher_query_language_service.rb +0 -32
  447. data/lib/dfp_api/v201107/publisher_query_language_service_registry.rb +0 -44
  448. data/lib/dfp_api/v201107/report_service.rb +0 -40
  449. data/lib/dfp_api/v201107/report_service_registry.rb +0 -44
  450. data/lib/dfp_api/v201107/user_service_registry.rb +0 -44
@@ -1,9 +1,11 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:12.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:43.
7
9
 
8
10
  require 'ads_common/savon_service'
9
11
  require 'dfp_api/v201111/order_service_registry'
@@ -15,8 +17,8 @@ module DfpApi; module V201111; module OrderService
15
17
  super(api, endpoint, namespace, :v201111)
16
18
  end
17
19
 
18
- def update_orders(*args, &block)
19
- return execute_action('update_orders', args, &block)
20
+ def create_order(*args, &block)
21
+ return execute_action('create_order', args, &block)
20
22
  end
21
23
 
22
24
  def create_orders(*args, &block)
@@ -39,8 +41,8 @@ module DfpApi; module V201111; module OrderService
39
41
  return execute_action('update_order', args, &block)
40
42
  end
41
43
 
42
- def create_order(*args, &block)
43
- return execute_action('create_order', args, &block)
44
+ def update_orders(*args, &block)
45
+ return execute_action('update_orders', args, &block)
44
46
  end
45
47
 
46
48
  private
@@ -1,16 +1,18 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:12.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:43.
7
9
 
8
10
  require 'dfp_api/errors'
9
11
 
10
12
  module DfpApi; module V201111; module OrderService
11
13
  class OrderServiceRegistry
12
- ORDERSERVICE_METHODS = {:update_orders=>{:output=>{:fields=>[{:type=>"Order", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"update_orders_response"}, :input=>[{:type=>"Order", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:orders}]}, :create_orders=>{:output=>{:fields=>[{:type=>"Order", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"create_orders_response"}, :input=>[{:type=>"Order", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:orders}]}, :get_order=>{:output=>{:fields=>[{:type=>"Order", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_order_response"}, :input=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:order_id}]}, :get_orders_by_statement=>{:output=>{:fields=>[{:type=>"OrderPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_orders_by_statement_response"}, :input=>[{:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}, :perform_order_action=>{:output=>{:fields=>[{:type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"perform_order_action_response"}, :input=>[{:type=>"OrderAction", :min_occurs=>0, :max_occurs=>1, :name=>:order_action}, {:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}, :update_order=>{:output=>{:fields=>[{:type=>"Order", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"update_order_response"}, :input=>[{:type=>"Order", :min_occurs=>0, :max_occurs=>1, :name=>:order}]}, :create_order=>{:output=>{:fields=>[{:type=>"Order", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"create_order_response"}, :input=>[{:type=>"Order", :min_occurs=>0, :max_occurs=>1, :name=>:order}]}}
13
- ORDERSERVICE_TYPES = {:Statement=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:query}, {:type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :Money=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:currency_code}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:micro_amount}]}, :AppliedLabel=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:label_id}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_negated}]}, :Value=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value_type}], :abstract=>true}, :UpdateResult=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:num_changes}]}, :ResumeAndOverbookOrders=>{:fields=>[], :base=>"ResumeOrders"}, :ArchiveOrders=>{:fields=>[], :base=>"OrderAction"}, :String_ValueMapEntry=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:key}, {:type=>"Value", :min_occurs=>0, :max_occurs=>1, :name=>:value}]}, :NumberValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :ApproveOrdersWithoutReservationChanges=>{:fields=>[], :base=>"OrderAction"}, :OrderStatus=>{:fields=>[]}, :ResumeOrders=>{:fields=>[], :base=>"OrderAction"}, :Authentication=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:authentication_type}], :abstract=>true}, :SubmitOrdersForApproval=>{:fields=>[], :base=>"OrderAction"}, :OrderAction=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:order_action_type}], :abstract=>true}, :DeleteOrders=>{:fields=>[], :base=>"OrderAction"}, :RetractOrders=>{:fields=>[], :base=>"OrderAction"}, :BooleanValue=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :SubmitOrdersForApprovalAndOverbook=>{:fields=>[], :base=>"SubmitOrdersForApproval"}, :Order=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:name}, {:type=>"DateTime", :min_occurs=>0, :max_occurs=>1, :name=>:start_date_time}, {:type=>"DateTime", :min_occurs=>0, :max_occurs=>1, :name=>:end_date_time}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:unlimited_end_date_time}, {:type=>"OrderStatus", :min_occurs=>0, :max_occurs=>1, :name=>:status}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_archived}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:notes}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:external_order_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:po_number}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:currency_code}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:advertiser_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:agency_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:creator_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:trafficker_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:secondary_trafficker_ids}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:salesperson_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:secondary_salesperson_ids}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:total_impressions_delivered}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:total_clicks_delivered}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:total_budget}, {:type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:applied_labels}, {:type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:effective_applied_labels}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:last_modified_by_app}]}, :OAuth=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:parameters}], :base=>"Authentication"}, :DisapproveOrdersWithoutReservationChanges=>{:fields=>[], :base=>"OrderAction"}, :Date=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:year}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:month}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:day}]}, :SoapRequestHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:network_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:application_name}, {:type=>"Authentication", :min_occurs=>0, :max_occurs=>1, :name=>:authentication}]}, :ClientLogin=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:token}], :base=>"Authentication"}, :TextValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :RetractOrdersWithoutReservationChanges=>{:fields=>[], :base=>"OrderAction"}, :OrderPage=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_result_set_size}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_index}, {:type=>"Order", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:results}]}, :ApproveAndOverbookOrders=>{:fields=>[], :base=>"ApproveOrders"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:response_time}]}, :DisapproveOrders=>{:fields=>[], :base=>"OrderAction"}, :DateTime=>{:fields=>[{:type=>"Date", :min_occurs=>0, :max_occurs=>1, :name=>:date}, {:type=>"int", :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=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:time_zone_id}]}, :UnarchiveOrders=>{:fields=>[], :base=>"OrderAction"}, :SubmitOrdersForApprovalWithoutReservationChanges=>{:fields=>[], :base=>"OrderAction"}, :PauseOrders=>{:fields=>[], :base=>"OrderAction"}, :ApproveOrders=>{:fields=>[], :base=>"OrderAction"}}
14
+ ORDERSERVICE_METHODS = {:create_order=>{:input=>[{:name=>:order, :type=>"Order", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"create_order_response", :fields=>[{:name=>:rval, :type=>"Order", :min_occurs=>0, :max_occurs=>1}]}}, :create_orders=>{:input=>[{:name=>:orders, :type=>"Order", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_orders_response", :fields=>[{:name=>:rval, :type=>"Order", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_order=>{:input=>[{:name=>:order_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_order_response", :fields=>[{:name=>:rval, :type=>"Order", :min_occurs=>0, :max_occurs=>1}]}}, :get_orders_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_orders_by_statement_response", :fields=>[{:name=>:rval, :type=>"OrderPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_order_action=>{:input=>[{:name=>:order_action, :type=>"OrderAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_order_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_order=>{:input=>[{:name=>:order, :type=>"Order", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"update_order_response", :fields=>[{:name=>:rval, :type=>"Order", :min_occurs=>0, :max_occurs=>1}]}}, :update_orders=>{:input=>[{:name=>:orders, :type=>"Order", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_orders_response", :fields=>[{:name=>:rval, :type=>"Order", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ ORDERSERVICE_TYPES = {:AppliedLabel=>{:fields=>[{:name=>:label_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_negated, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :ApproveAndOverbookOrders=>{:fields=>[], :base=>"ApproveOrders"}, :ApproveOrders=>{:fields=>[], :base=>"OrderAction"}, :ApproveOrdersWithoutReservationChanges=>{:fields=>[], :base=>"OrderAction"}, :ArchiveOrders=>{:fields=>[], :base=>"OrderAction"}, :Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :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, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DeleteOrders=>{:fields=>[], :base=>"OrderAction"}, :DisapproveOrders=>{:fields=>[], :base=>"OrderAction"}, :DisapproveOrdersWithoutReservationChanges=>{:fields=>[], :base=>"OrderAction"}, :Money=>{:fields=>[{:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OAuth=>{:fields=>[{:name=>:parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :OrderAction=>{:fields=>[{:name=>:order_action_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Order=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:unlimited_end_date_time, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"OrderStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_archived, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:notes, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:external_order_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:po_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:advertiser_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:agency_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creator_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:trafficker_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:secondary_trafficker_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:salesperson_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:secondary_salesperson_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:total_impressions_delivered, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_clicks_delivered, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_budget, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:effective_applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_modified_by_app, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :OrderPage=>{: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=>"Order", :min_occurs=>0, :max_occurs=>:unbounded}]}, :PauseOrders=>{:fields=>[], :base=>"OrderAction"}, :ResumeAndOverbookOrders=>{:fields=>[], :base=>"ResumeOrders"}, :ResumeOrders=>{:fields=>[], :base=>"OrderAction"}, :RetractOrders=>{:fields=>[], :base=>"OrderAction"}, :RetractOrdersWithoutReservationChanges=>{:fields=>[], :base=>"OrderAction"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:authentication, :type=>"Authentication", :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}]}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :SubmitOrdersForApproval=>{:fields=>[], :base=>"OrderAction"}, :SubmitOrdersForApprovalAndOverbook=>{:fields=>[], :base=>"SubmitOrdersForApproval"}, :SubmitOrdersForApprovalWithoutReservationChanges=>{:fields=>[], :base=>"OrderAction"}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :UnarchiveOrders=>{:fields=>[], :base=>"OrderAction"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[{:name=>:value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :OrderStatus=>{:fields=>[]}}
14
16
  ORDERSERVICE_NAMESPACES = []
15
17
 
16
18
  def self.get_method_signature(method_name)
@@ -1,9 +1,11 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:07.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:45.
7
9
 
8
10
  require 'ads_common/savon_service'
9
11
  require 'dfp_api/v201111/placement_service_registry'
@@ -15,22 +17,10 @@ module DfpApi; module V201111; module PlacementService
15
17
  super(api, endpoint, namespace, :v201111)
16
18
  end
17
19
 
18
- def perform_placement_action(*args, &block)
19
- return execute_action('perform_placement_action', args, &block)
20
- end
21
-
22
- def update_placement(*args, &block)
23
- return execute_action('update_placement', args, &block)
24
- end
25
-
26
20
  def create_placement(*args, &block)
27
21
  return execute_action('create_placement', args, &block)
28
22
  end
29
23
 
30
- def update_placements(*args, &block)
31
- return execute_action('update_placements', args, &block)
32
- end
33
-
34
24
  def create_placements(*args, &block)
35
25
  return execute_action('create_placements', args, &block)
36
26
  end
@@ -43,6 +33,18 @@ module DfpApi; module V201111; module PlacementService
43
33
  return execute_action('get_placements_by_statement', args, &block)
44
34
  end
45
35
 
36
+ def perform_placement_action(*args, &block)
37
+ return execute_action('perform_placement_action', args, &block)
38
+ end
39
+
40
+ def update_placement(*args, &block)
41
+ return execute_action('update_placement', args, &block)
42
+ end
43
+
44
+ def update_placements(*args, &block)
45
+ return execute_action('update_placements', args, &block)
46
+ end
47
+
46
48
  private
47
49
 
48
50
  def get_service_registry()
@@ -1,16 +1,18 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:07.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:45.
7
9
 
8
10
  require 'dfp_api/errors'
9
11
 
10
12
  module DfpApi; module V201111; module PlacementService
11
13
  class PlacementServiceRegistry
12
- PLACEMENTSERVICE_METHODS = {:perform_placement_action=>{:output=>{:fields=>[{:type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"perform_placement_action_response"}, :input=>[{:type=>"PlacementAction", :min_occurs=>0, :max_occurs=>1, :name=>:placement_action}, {:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}, :update_placement=>{:output=>{:fields=>[{:type=>"Placement", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"update_placement_response"}, :input=>[{:type=>"Placement", :min_occurs=>0, :max_occurs=>1, :name=>:placement}]}, :create_placement=>{:output=>{:fields=>[{:type=>"Placement", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"create_placement_response"}, :input=>[{:type=>"Placement", :min_occurs=>0, :max_occurs=>1, :name=>:placement}]}, :update_placements=>{:output=>{:fields=>[{:type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"update_placements_response"}, :input=>[{:type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:placements}]}, :create_placements=>{:output=>{:fields=>[{:type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"create_placements_response"}, :input=>[{:type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:placements}]}, :get_placement=>{:output=>{:fields=>[{:type=>"Placement", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_placement_response"}, :input=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:placement_id}]}, :get_placements_by_statement=>{:output=>{:fields=>[{:type=>"PlacementPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_placements_by_statement_response"}, :input=>[{:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}}
13
- PLACEMENTSERVICE_TYPES = {:Statement=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:query}, {:type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :ArchivePlacements=>{:fields=>[], :base=>"PlacementAction"}, :Value=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value_type}], :abstract=>true}, :UpdateResult=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:num_changes}]}, :String_ValueMapEntry=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:key}, {:type=>"Value", :min_occurs=>0, :max_occurs=>1, :name=>:value}]}, :NumberValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :DeactivatePlacements=>{:fields=>[], :base=>"PlacementAction"}, :AdUnitSize=>{:fields=>[{:type=>"Size", :min_occurs=>0, :max_occurs=>1, :name=>:size}, {:type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1, :name=>:environment_type}, {:type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:companions}]}, :Authentication=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:authentication_type}], :abstract=>true}, :PlacementAction=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:placement_action_type}], :abstract=>true}, :BooleanValue=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :Placement=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:description}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:placement_code}, {:type=>"InventoryStatus", :min_occurs=>0, :max_occurs=>1, :name=>:status}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_ad_sense_targeting_enabled}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_ad_planner_targeting_enabled}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:ad_sense_targeting_locale}, {:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targeted_ad_unit_ids}], :base=>"SiteTargetingInfo"}, :OAuth=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:parameters}], :base=>"Authentication"}, :SoapRequestHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:network_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:application_name}, {:type=>"Authentication", :min_occurs=>0, :max_occurs=>1, :name=>:authentication}]}, :ClientLogin=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:token}], :base=>"Authentication"}, :InventoryStatus=>{:fields=>[]}, :TextValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :Size=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:width}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:height}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_aspect_ratio}]}, :PlacementPage=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_result_set_size}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_index}, {:type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:results}]}, :EnvironmentType=>{:fields=>[]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:response_time}]}, :ActivatePlacements=>{:fields=>[], :base=>"PlacementAction"}, :SiteTargetingInfo=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:targeting_description}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:targeting_site_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:targeting_ad_location}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:site_targeting_info_type}]}}
14
+ PLACEMENTSERVICE_METHODS = {:create_placement=>{:input=>[{:name=>:placement, :type=>"Placement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"create_placement_response", :fields=>[{:name=>:rval, :type=>"Placement", :min_occurs=>0, :max_occurs=>1}]}}, :create_placements=>{:input=>[{:name=>:placements, :type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_placements_response", :fields=>[{:name=>:rval, :type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_placement=>{:input=>[{:name=>:placement_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_placement_response", :fields=>[{:name=>:rval, :type=>"Placement", :min_occurs=>0, :max_occurs=>1}]}}, :get_placements_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_placements_by_statement_response", :fields=>[{:name=>:rval, :type=>"PlacementPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_placement_action=>{:input=>[{:name=>:placement_action, :type=>"PlacementAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_placement_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_placement=>{:input=>[{:name=>:placement, :type=>"Placement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"update_placement_response", :fields=>[{:name=>:rval, :type=>"Placement", :min_occurs=>0, :max_occurs=>1}]}}, :update_placements=>{:input=>[{:name=>:placements, :type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_placements_response", :fields=>[{:name=>:rval, :type=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ PLACEMENTSERVICE_TYPES = {:ActivatePlacements=>{:fields=>[], :base=>"PlacementAction"}, :ArchivePlacements=>{:fields=>[], :base=>"PlacementAction"}, :Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :DeactivatePlacements=>{:fields=>[], :base=>"PlacementAction"}, :AdUnitSize=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment_type, :type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:companions, :type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded}]}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OAuth=>{:fields=>[{:name=>:parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :PlacementAction=>{:fields=>[{:name=>:placement_action_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Placement=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:placement_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"InventoryStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_ad_sense_targeting_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_ad_planner_targeting_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_sense_targeting_locale, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeted_ad_unit_ids, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SiteTargetingInfo"}, :PlacementPage=>{: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=>"Placement", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SiteTargetingInfo=>{:fields=>[{:name=>:targeting_description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeting_site_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:targeting_ad_location, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:site_targeting_info_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:authentication, :type=>"Authentication", :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}]}, :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=>[{:name=>:value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :EnvironmentType=>{:fields=>[]}, :InventoryStatus=>{:fields=>[]}}
14
16
  PLACEMENTSERVICE_NAMESPACES = []
15
17
 
16
18
  def self.get_method_signature(method_name)
@@ -1,9 +1,11 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:13.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:52.
7
9
 
8
10
  require 'ads_common/savon_service'
9
11
  require 'dfp_api/v201111/publisher_query_language_service_registry'
@@ -1,16 +1,18 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:13.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:52.
7
9
 
8
10
  require 'dfp_api/errors'
9
11
 
10
12
  module DfpApi; module V201111; module PublisherQueryLanguageService
11
13
  class PublisherQueryLanguageServiceRegistry
12
- PUBLISHERQUERYLANGUAGESERVICE_METHODS = {:select=>{:output=>{:fields=>[{:type=>"ResultSet", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"select_response"}, :input=>[{:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:select_statement}]}}
13
- PUBLISHERQUERYLANGUAGESERVICE_TYPES = {:Statement=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:query}, {:type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :Row=>{:fields=>[{:type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :Value=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value_type}], :abstract=>true}, :String_ValueMapEntry=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:key}, {:type=>"Value", :min_occurs=>0, :max_occurs=>1, :name=>:value}]}, :NumberValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :Authentication=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:authentication_type}], :abstract=>true}, :BooleanValue=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :OAuth=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:parameters}], :base=>"Authentication"}, :SoapRequestHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:network_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:application_name}, {:type=>"Authentication", :min_occurs=>0, :max_occurs=>1, :name=>:authentication}]}, :ColumnType=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:label_name}]}, :ClientLogin=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:token}], :base=>"Authentication"}, :TextValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:response_time}]}, :ResultSet=>{:fields=>[{:type=>"ColumnType", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:column_types}, {:type=>"Row", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rows}]}}
14
+ PUBLISHERQUERYLANGUAGESERVICE_METHODS = {:select=>{:input=>[{:name=>:select_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"select_response", :fields=>[{:name=>:rval, :type=>"ResultSet", :min_occurs=>0, :max_occurs=>1}]}}}
15
+ PUBLISHERQUERYLANGUAGESERVICE_TYPES = {:Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :ColumnType=>{:fields=>[{:name=>:label_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OAuth=>{:fields=>[{:name=>:parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :ResultSet=>{:fields=>[{:name=>:column_types, :type=>"ColumnType", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:rows, :type=>"Row", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Row=>{:fields=>[{:name=>:values, :type=>"Value", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:authentication, :type=>"Authentication", :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}]}, :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"}, :Value=>{:fields=>[{:name=>:value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}}
14
16
  PUBLISHERQUERYLANGUAGESERVICE_NAMESPACES = []
15
17
 
16
18
  def self.get_method_signature(method_name)
@@ -1,9 +1,11 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:32.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:46.
7
9
 
8
10
  require 'ads_common/savon_service'
9
11
  require 'dfp_api/v201111/report_service_registry'
@@ -1,16 +1,18 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:32.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:46.
7
9
 
8
10
  require 'dfp_api/errors'
9
11
 
10
12
  module DfpApi; module V201111; module ReportService
11
13
  class ReportServiceRegistry
12
- REPORTSERVICE_METHODS = {:get_report_download_url=>{:output=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_report_download_url_response"}, :original_name=>"getReportDownloadURL", :input=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:report_job_id}, {:type=>"ExportFormat", :min_occurs=>0, :max_occurs=>1, :name=>:export_format}]}, :get_report_job=>{:output=>{:fields=>[{:type=>"ReportJob", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_report_job_response"}, :input=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:report_job_id}]}, :run_report_job=>{:output=>{:fields=>[{:type=>"ReportJob", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"run_report_job_response"}, :input=>[{:type=>"ReportJob", :min_occurs=>0, :max_occurs=>1, :name=>:report_job}]}}
13
- REPORTSERVICE_TYPES = {:ExportFormat=>{:fields=>[]}, :ReportQuery=>{:fields=>[{:type=>"Dimension", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:dimensions}, {:type=>"Column", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:columns}, {:type=>"DimensionAttribute", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:dimension_attributes}, {:type=>"Date", :min_occurs=>0, :max_occurs=>1, :name=>:start_date}, {:type=>"Date", :min_occurs=>0, :max_occurs=>1, :name=>:end_date}, {:type=>"DateRangeType", :min_occurs=>0, :max_occurs=>1, :name=>:date_range_type}, {:type=>"DimensionFilter", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:dimension_filters}]}, :ReportJobStatus=>{:fields=>[]}, :DimensionAttribute=>{:fields=>[]}, :Column=>{:fields=>[]}, :Authentication=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:authentication_type}], :abstract=>true}, :DateRangeType=>{:fields=>[]}, :OAuth=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:parameters}], :base=>"Authentication"}, :Date=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:year}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:month}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:day}]}, :Dimension=>{:fields=>[]}, :SoapRequestHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:network_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:application_name}, {:type=>"Authentication", :min_occurs=>0, :max_occurs=>1, :name=>:authentication}]}, :ClientLogin=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:token}], :base=>"Authentication"}, :DimensionFilter=>{:fields=>[]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:response_time}]}, :ReportJob=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"ReportQuery", :min_occurs=>0, :max_occurs=>1, :name=>:report_query}, {:type=>"ReportJobStatus", :min_occurs=>0, :max_occurs=>1, :name=>:report_job_status}]}}
14
+ REPORTSERVICE_METHODS = {:get_report_download_url=>{:input=>[{:name=>:report_job_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:export_format, :type=>"ExportFormat", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_report_download_url_response", :fields=>[{:name=>:rval, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :original_name=>"getReportDownloadURL"}, :get_report_job=>{:input=>[{:name=>:report_job_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_report_job_response", :fields=>[{:name=>:rval, :type=>"ReportJob", :min_occurs=>0, :max_occurs=>1}]}}, :run_report_job=>{:input=>[{:name=>:report_job, :type=>"ReportJob", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"run_report_job_response", :fields=>[{:name=>:rval, :type=>"ReportJob", :min_occurs=>0, :max_occurs=>1}]}}}
15
+ REPORTSERVICE_TYPES = {:Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :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}]}, :OAuth=>{:fields=>[{:name=>:parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :ReportJob=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:report_query, :type=>"ReportQuery", :min_occurs=>0, :max_occurs=>1}, {:name=>:report_job_status, :type=>"ReportJobStatus", :min_occurs=>0, :max_occurs=>1}]}, :ReportQuery=>{:fields=>[{:name=>:dimensions, :type=>"Dimension", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:columns, :type=>"Column", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:dimension_attributes, :type=>"DimensionAttribute", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:start_date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"Date", :min_occurs=>0, :max_occurs=>1}, {:name=>:date_range_type, :type=>"DateRangeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:dimension_filters, :type=>"DimensionFilter", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:authentication, :type=>"Authentication", :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}]}, :Column=>{:fields=>[]}, :DateRangeType=>{:fields=>[]}, :Dimension=>{:fields=>[]}, :DimensionAttribute=>{:fields=>[]}, :DimensionFilter=>{:fields=>[]}, :ExportFormat=>{:fields=>[]}, :ReportJobStatus=>{:fields=>[]}}
14
16
  REPORTSERVICE_NAMESPACES = []
15
17
 
16
18
  def self.get_method_signature(method_name)
@@ -1,9 +1,11 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:35.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:57.
7
9
 
8
10
  require 'ads_common/savon_service'
9
11
  require 'dfp_api/v201111/suggested_ad_unit_service_registry'
@@ -1,16 +1,18 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:35.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:57.
7
9
 
8
10
  require 'dfp_api/errors'
9
11
 
10
12
  module DfpApi; module V201111; module SuggestedAdUnitService
11
13
  class SuggestedAdUnitServiceRegistry
12
- SUGGESTEDADUNITSERVICE_METHODS = {:get_suggested_ad_unit=>{:output=>{:fields=>[{:type=>"SuggestedAdUnit", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_suggested_ad_unit_response"}, :input=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:suggested_ad_unit_id}]}, :get_suggested_ad_units_by_statement=>{:output=>{:fields=>[{:type=>"SuggestedAdUnitPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_suggested_ad_units_by_statement_response"}, :input=>[{:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}, :perform_suggested_ad_unit_action=>{:output=>{:fields=>[{:type=>"SuggestedAdUnitUpdateResult", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"perform_suggested_ad_unit_action_response"}, :input=>[{:type=>"SuggestedAdUnitAction", :min_occurs=>0, :max_occurs=>1, :name=>:suggested_ad_unit_action}, {:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}}
13
- SUGGESTEDADUNITSERVICE_TYPES = {:Statement=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:query}, {:type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :"AdUnit.TargetWindow"=>{:fields=>[]}, :Value=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value_type}], :abstract=>true}, :UpdateResult=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:num_changes}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:update_result_type}]}, :SuggestedAdUnitUpdateResult=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:new_ad_unit_ids}], :base=>"UpdateResult"}, :String_ValueMapEntry=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:key}, {:type=>"Value", :min_occurs=>0, :max_occurs=>1, :name=>:value}]}, :NumberValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :TargetPlatform=>{:fields=>[]}, :AdUnitSize=>{:fields=>[{:type=>"Size", :min_occurs=>0, :max_occurs=>1, :name=>:size}, {:type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1, :name=>:environment_type}, {:type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:companions}]}, :Authentication=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:authentication_type}], :abstract=>true}, :ApproveSuggestedAdUnit=>{:fields=>[], :base=>"SuggestedAdUnitAction"}, :BooleanValue=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :SuggestedAdUnitAction=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:suggested_ad_unit_action_type}], :abstract=>true}, :OAuth=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:parameters}], :base=>"Authentication"}, :SoapRequestHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:network_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:application_name}, {:type=>"Authentication", :min_occurs=>0, :max_occurs=>1, :name=>:authentication}]}, :ClientLogin=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:token}], :base=>"Authentication"}, :TextValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :SuggestedAdUnit=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:num_requests}, {:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:path}, {:type=>"AdUnit.TargetWindow", :min_occurs=>0, :max_occurs=>1, :name=>:target_window}, {:type=>"TargetPlatform", :min_occurs=>0, :max_occurs=>1, :name=>:target_platform}, {:type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:suggested_ad_unit_sizes}]}, :Size=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:width}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:height}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_aspect_ratio}]}, :EnvironmentType=>{:fields=>[]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:response_time}]}, :SuggestedAdUnitPage=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_result_set_size}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_index}, {:type=>"SuggestedAdUnit", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:results}]}}
14
+ SUGGESTEDADUNITSERVICE_METHODS = {:get_suggested_ad_unit=>{:input=>[{:name=>:suggested_ad_unit_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_suggested_ad_unit_response", :fields=>[{:name=>:rval, :type=>"SuggestedAdUnit", :min_occurs=>0, :max_occurs=>1}]}}, :get_suggested_ad_units_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_suggested_ad_units_by_statement_response", :fields=>[{:name=>:rval, :type=>"SuggestedAdUnitPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_suggested_ad_unit_action=>{:input=>[{:name=>:suggested_ad_unit_action, :type=>"SuggestedAdUnitAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_suggested_ad_unit_action_response", :fields=>[{:name=>:rval, :type=>"SuggestedAdUnitUpdateResult", :min_occurs=>0, :max_occurs=>1}]}}}
15
+ SUGGESTEDADUNITSERVICE_TYPES = {:ApproveSuggestedAdUnit=>{:fields=>[], :base=>"SuggestedAdUnitAction"}, :Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :AdUnitSize=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment_type, :type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:companions, :type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded}]}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OAuth=>{:fields=>[{:name=>:parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:authentication, :type=>"Authentication", :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}]}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :SuggestedAdUnitAction=>{:fields=>[{:name=>:suggested_ad_unit_action_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :SuggestedAdUnit=>{:fields=>[{:name=>:id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_requests, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:path, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:target_window, :type=>"AdUnit.TargetWindow", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_platform, :type=>"TargetPlatform", :min_occurs=>0, :max_occurs=>1}, {:name=>:suggested_ad_unit_sizes, :type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SuggestedAdUnitPage=>{: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=>"SuggestedAdUnit", :min_occurs=>0, :max_occurs=>:unbounded}]}, :SuggestedAdUnitUpdateResult=>{:fields=>[{:name=>:new_ad_unit_ids, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"UpdateResult"}, :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}, {:name=>:update_result_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[{:name=>:value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"AdUnit.TargetWindow"=>{:fields=>[]}, :EnvironmentType=>{:fields=>[]}, :TargetPlatform=>{:fields=>[]}}
14
16
  SUGGESTEDADUNITSERVICE_NAMESPACES = []
15
17
 
16
18
  def self.get_method_signature(method_name)
@@ -1,9 +1,11 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:37.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:54.
7
9
 
8
10
  require 'ads_common/savon_service'
9
11
  require 'dfp_api/v201111/third_party_slot_service_registry'
@@ -1,16 +1,18 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:37.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:54.
7
9
 
8
10
  require 'dfp_api/errors'
9
11
 
10
12
  module DfpApi; module V201111; module ThirdPartySlotService
11
13
  class ThirdPartySlotServiceRegistry
12
- THIRDPARTYSLOTSERVICE_METHODS = {:create_third_party_slot=>{:output=>{:fields=>[{:type=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"create_third_party_slot_response"}, :input=>[{:type=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>1, :name=>:third_party_slot}]}, :get_third_party_slots_by_statement=>{:output=>{:fields=>[{:type=>"ThirdPartySlotPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_third_party_slots_by_statement_response"}, :input=>[{:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}, :perform_third_party_slot_action=>{:output=>{:fields=>[{:type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"perform_third_party_slot_action_response"}, :input=>[{:type=>"ThirdPartySlotAction", :min_occurs=>0, :max_occurs=>1, :name=>:third_party_slot_action}, {:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}, :update_third_party_slot=>{:output=>{:fields=>[{:type=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"update_third_party_slot_response"}, :input=>[{:type=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>1, :name=>:third_party_slot}]}}
13
- THIRDPARTYSLOTSERVICE_TYPES = {:ThirdPartySlotPage=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_result_set_size}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_index}, {:type=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:results}]}, :Statement=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:query}, {:type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :Value=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value_type}], :abstract=>true}, :UpdateResult=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:num_changes}]}, :String_ValueMapEntry=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:key}, {:type=>"Value", :min_occurs=>0, :max_occurs=>1, :name=>:value}]}, :NumberValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :Authentication=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:authentication_type}], :abstract=>true}, :ActivateThirdPartySlots=>{:fields=>[], :base=>"ThirdPartySlotAction"}, :BooleanValue=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :ArchiveThirdPartySlots=>{:fields=>[], :base=>"ThirdPartySlotAction"}, :OAuth=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:parameters}], :base=>"Authentication"}, :ThirdPartySlotAction=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:third_party_slot_action_type}], :abstract=>true}, :SoapRequestHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:network_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:application_name}, {:type=>"Authentication", :min_occurs=>0, :max_occurs=>1, :name=>:authentication}]}, :ClientLogin=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:token}], :base=>"Authentication"}, :"ThirdPartySlot.Status"=>{:fields=>[]}, :TextValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :ThirdPartySlot=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:creative_ids}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:company_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:external_unique_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:external_unique_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:description}, {:type=>"ThirdPartySlot.Status", :min_occurs=>0, :max_occurs=>1, :name=>:status}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:response_time}]}}
14
+ THIRDPARTYSLOTSERVICE_METHODS = {:create_third_party_slot=>{:input=>[{:name=>:third_party_slot, :type=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"create_third_party_slot_response", :fields=>[{:name=>:rval, :type=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>1}]}}, :get_third_party_slots_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_third_party_slots_by_statement_response", :fields=>[{:name=>:rval, :type=>"ThirdPartySlotPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_third_party_slot_action=>{:input=>[{:name=>:third_party_slot_action, :type=>"ThirdPartySlotAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_third_party_slot_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_third_party_slot=>{:input=>[{:name=>:third_party_slot, :type=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"update_third_party_slot_response", :fields=>[{:name=>:rval, :type=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>1}]}}}
15
+ THIRDPARTYSLOTSERVICE_TYPES = {:ActivateThirdPartySlots=>{:fields=>[], :base=>"ThirdPartySlotAction"}, :ArchiveThirdPartySlots=>{:fields=>[], :base=>"ThirdPartySlotAction"}, :Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OAuth=>{:fields=>[{:name=>:parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:authentication, :type=>"Authentication", :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}]}, :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"}, :ThirdPartySlotAction=>{:fields=>[{:name=>:third_party_slot_action_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ThirdPartySlot=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:company_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:external_unique_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:external_unique_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ThirdPartySlot.Status", :min_occurs=>0, :max_occurs=>1}]}, :ThirdPartySlotPage=>{: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=>"ThirdPartySlot", :min_occurs=>0, :max_occurs=>:unbounded}]}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[{:name=>:value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"ThirdPartySlot.Status"=>{:fields=>[]}}
14
16
  THIRDPARTYSLOTSERVICE_NAMESPACES = []
15
17
 
16
18
  def self.get_method_signature(method_name)
@@ -1,9 +1,11 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:23.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:48.
7
9
 
8
10
  require 'ads_common/savon_service'
9
11
  require 'dfp_api/v201111/user_service_registry'
@@ -15,26 +17,22 @@ module DfpApi; module V201111; module UserService
15
17
  super(api, endpoint, namespace, :v201111)
16
18
  end
17
19
 
18
- def update_user(*args, &block)
19
- return execute_action('update_user', args, &block)
20
- end
21
-
22
- def get_current_user(*args, &block)
23
- return execute_action('get_current_user', args, &block)
20
+ def create_user(*args, &block)
21
+ return execute_action('create_user', args, &block)
24
22
  end
25
23
 
26
24
  def create_users(*args, &block)
27
25
  return execute_action('create_users', args, &block)
28
26
  end
29
27
 
30
- def update_users(*args, &block)
31
- return execute_action('update_users', args, &block)
32
- end
33
-
34
28
  def get_all_roles(*args, &block)
35
29
  return execute_action('get_all_roles', args, &block)
36
30
  end
37
31
 
32
+ def get_current_user(*args, &block)
33
+ return execute_action('get_current_user', args, &block)
34
+ end
35
+
38
36
  def get_user(*args, &block)
39
37
  return execute_action('get_user', args, &block)
40
38
  end
@@ -47,8 +45,12 @@ module DfpApi; module V201111; module UserService
47
45
  return execute_action('perform_user_action', args, &block)
48
46
  end
49
47
 
50
- def create_user(*args, &block)
51
- return execute_action('create_user', args, &block)
48
+ def update_user(*args, &block)
49
+ return execute_action('update_user', args, &block)
50
+ end
51
+
52
+ def update_users(*args, &block)
53
+ return execute_action('update_users', args, &block)
52
54
  end
53
55
 
54
56
  private
@@ -1,16 +1,18 @@
1
- #!/usr/bin/ruby
1
+ # Encoding: utf-8
2
+ #
2
3
  # This is auto-generated code, changes will be overwritten.
3
- # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
- # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
4
  #
6
- # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:23.
5
+ # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
+ # License:: Licensed under the Apache License, Version 2.0.
7
+ #
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:48.
7
9
 
8
10
  require 'dfp_api/errors'
9
11
 
10
12
  module DfpApi; module V201111; module UserService
11
13
  class UserServiceRegistry
12
- USERSERVICE_METHODS = {:update_user=>{:output=>{:fields=>[{:type=>"User", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"update_user_response"}, :input=>[{:type=>"User", :min_occurs=>0, :max_occurs=>1, :name=>:user}]}, :get_current_user=>{:output=>{:fields=>[{:type=>"User", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_current_user_response"}, :input=>[]}, :create_users=>{:output=>{:fields=>[{:type=>"User", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"create_users_response"}, :input=>[{:type=>"User", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:users}]}, :update_users=>{:output=>{:fields=>[{:type=>"User", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"update_users_response"}, :input=>[{:type=>"User", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:users}]}, :get_all_roles=>{:output=>{:fields=>[{:type=>"Role", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"get_all_roles_response"}, :input=>[]}, :get_user=>{:output=>{:fields=>[{:type=>"User", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_user_response"}, :input=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:user_id}]}, :get_users_by_statement=>{:output=>{:fields=>[{:type=>"UserPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_users_by_statement_response"}, :input=>[{:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}, :perform_user_action=>{:output=>{:fields=>[{:type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"perform_user_action_response"}, :input=>[{:type=>"UserAction", :min_occurs=>0, :max_occurs=>1, :name=>:user_action}, {:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}, :create_user=>{:output=>{:fields=>[{:type=>"User", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"create_user_response"}, :input=>[{:type=>"User", :min_occurs=>0, :max_occurs=>1, :name=>:user}]}}
13
- USERSERVICE_TYPES = {:User=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_active}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_email_notification_allowed}], :base=>"UserRecord"}, :Statement=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:query}, {:type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :Value=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value_type}], :abstract=>true}, :UpdateResult=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:num_changes}]}, :UserPage=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_result_set_size}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_index}, {:type=>"User", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:results}]}, :String_ValueMapEntry=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:key}, {:type=>"Value", :min_occurs=>0, :max_occurs=>1, :name=>:value}]}, :NumberValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :Authentication=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:authentication_type}], :abstract=>true}, :ActivateUsers=>{:fields=>[], :base=>"UserAction"}, :UserRecord=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:email}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:role_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:role_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:preferred_locale}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_record_type}]}, :DeactivateUsers=>{:fields=>[], :base=>"UserAction"}, :BooleanValue=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :OAuth=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:parameters}], :base=>"Authentication"}, :SoapRequestHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:network_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:application_name}, {:type=>"Authentication", :min_occurs=>0, :max_occurs=>1, :name=>:authentication}]}, :Role=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:description}]}, :ClientLogin=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:token}], :base=>"Authentication"}, :TextValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :UserAction=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_action_type}], :abstract=>true}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:response_time}]}}
14
+ USERSERVICE_METHODS = {:create_user=>{:input=>[{:name=>:user, :type=>"User", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"create_user_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>1}]}}, :create_users=>{:input=>[{:name=>:users, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_users_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_all_roles=>{:input=>[], :output=>{:name=>"get_all_roles_response", :fields=>[{:name=>:rval, :type=>"Role", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_current_user=>{:input=>[], :output=>{:name=>"get_current_user_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>1}]}}, :get_user=>{:input=>[{:name=>:user_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_user_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>1}]}}, :get_users_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_users_by_statement_response", :fields=>[{:name=>:rval, :type=>"UserPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_user_action=>{:input=>[{:name=>:user_action, :type=>"UserAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_user_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_user=>{:input=>[{:name=>:user, :type=>"User", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"update_user_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>1}]}}, :update_users=>{:input=>[{:name=>:users, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_users_response", :fields=>[{:name=>:rval, :type=>"User", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
15
+ USERSERVICE_TYPES = {:ActivateUsers=>{:fields=>[], :base=>"UserAction"}, :Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :DeactivateUsers=>{:fields=>[], :base=>"UserAction"}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OAuth=>{:fields=>[{:name=>:parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :Role=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:authentication, :type=>"Authentication", :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}]}, :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}]}, :UserAction=>{:fields=>[{:name=>:user_action_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :User=>{:fields=>[{:name=>:is_active, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_email_notification_allowed, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"UserRecord"}, :UserPage=>{: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=>"User", :min_occurs=>0, :max_occurs=>:unbounded}]}, :UserRecord=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:role_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:role_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:preferred_locale, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_record_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[{:name=>:value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}}
14
16
  USERSERVICE_NAMESPACES = []
15
17
 
16
18
  def self.get_method_signature(method_name)
@@ -5,7 +5,7 @@
5
5
  # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-02-08 17:31:09.
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:59.
9
9
 
10
10
  require 'ads_common/savon_service'
11
11
  require 'dfp_api/v201201/company_service_registry'
@@ -5,14 +5,14 @@
5
5
  # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-02-08 17:31:09.
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:00:59.
9
9
 
10
10
  require 'dfp_api/errors'
11
11
 
12
12
  module DfpApi; module V201201; module CompanyService
13
13
  class CompanyServiceRegistry
14
14
  COMPANYSERVICE_METHODS = {:create_companies=>{:input=>[{:name=>:companies, :type=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_companies_response", :fields=>[{:name=>:rval, :type=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :create_company=>{:input=>[{:name=>:company, :type=>"Company", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"create_company_response", :fields=>[{:name=>:rval, :type=>"Company", :min_occurs=>0, :max_occurs=>1}]}}, :get_companies_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_companies_by_statement_response", :fields=>[{:name=>:rval, :type=>"CompanyPage", :min_occurs=>0, :max_occurs=>1}]}}, :get_company=>{:input=>[{:name=>:company_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_company_response", :fields=>[{:name=>:rval, :type=>"Company", :min_occurs=>0, :max_occurs=>1}]}}, :update_companies=>{:input=>[{:name=>:companies, :type=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_companies_response", :fields=>[{:name=>:rval, :type=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :update_company=>{:input=>[{:name=>:company, :type=>"Company", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"update_company_response", :fields=>[{:name=>:rval, :type=>"Company", :min_occurs=>0, :max_occurs=>1}]}}}
15
- COMPANYSERVICE_TYPES = {:AppliedLabel=>{:fields=>[{:name=>:label_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_negated, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :Company=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Company.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fax_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:primary_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:external_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:credit_status, :type=>"Company.CreditStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:enable_same_advertiser_competitive_exclusion, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_company_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}]}, :CompanyPage=>{: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=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CreativePlaceholder=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:companions, :type=>"CreativePlaceholder", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:effective_applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:expected_creative_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_size_type, :type=>"CreativeSizeType", :min_occurs=>0, :max_occurs=>1}]}, :CustomCriteria=>{:fields=>[{:name=>:key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:operator, :type=>"CustomCriteria.ComparisonOperator", :min_occurs=>0, :max_occurs=>1}], :base=>"CustomCriteriaNode"}, :CustomCriteriaSet=>{:fields=>[{:name=>:logical_operator, :type=>"CustomCriteriaSet.LogicalOperator", :min_occurs=>0, :max_occurs=>1}, {:name=>:children, :type=>"CustomCriteriaNode", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomCriteriaNode"}, :CustomCriteriaNode=>{:fields=>[{:name=>:custom_criteria_node_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :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, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :AdUnitSize=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment_type, :type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:companions, :type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded}]}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OAuth=>{:fields=>[{:name=>:parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:authentication, :type=>"Authentication", :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}]}, :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"}, :Value=>{:fields=>[{:name=>:value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"Company.CreditStatus"=>{:fields=>[]}, :"Company.Type"=>{:fields=>[]}, :CreativeSizeType=>{:fields=>[]}, :"CustomCriteria.ComparisonOperator"=>{:fields=>[]}, :"CustomCriteriaSet.LogicalOperator"=>{:fields=>[]}, :EnvironmentType=>{:fields=>[]}}
15
+ COMPANYSERVICE_TYPES = {:AppliedLabel=>{:fields=>[{:name=>:label_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_negated, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :Company=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Company.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fax_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:primary_phone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:external_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:comment, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:credit_status, :type=>"Company.CreditStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:enable_same_advertiser_competitive_exclusion, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:third_party_company_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}]}, :CompanyPage=>{: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=>"Company", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CreativePlaceholder=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:companions, :type=>"CreativePlaceholder", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:effective_applied_labels, :type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:expected_creative_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_size_type, :type=>"CreativeSizeType", :min_occurs=>0, :max_occurs=>1}]}, :CustomCriteria=>{:fields=>[{:name=>:key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:value_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:operator, :type=>"CustomCriteria.ComparisonOperator", :min_occurs=>0, :max_occurs=>1}], :base=>"CustomCriteriaLeaf"}, :CustomCriteriaSet=>{:fields=>[{:name=>:logical_operator, :type=>"CustomCriteriaSet.LogicalOperator", :min_occurs=>0, :max_occurs=>1}, {:name=>:children, :type=>"CustomCriteriaNode", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"CustomCriteriaNode"}, :CustomCriteriaLeaf=>{:fields=>[], :abstract=>true, :base=>"CustomCriteriaNode"}, :CustomCriteriaNode=>{:fields=>[{:name=>:custom_criteria_node_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :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, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DateTimeValue=>{:fields=>[{:name=>:value, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :AdUnitSize=>{:fields=>[{:name=>:size, :type=>"Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment_type, :type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:companions, :type=>"AdUnitSize", :min_occurs=>0, :max_occurs=>:unbounded}]}, :NumberValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :OAuth=>{:fields=>[{:name=>:parameters, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :Size=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_aspect_ratio, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapRequestHeader=>{:fields=>[{:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:application_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:authentication, :type=>"Authentication", :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}]}, :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"}, :Value=>{:fields=>[{:name=>:value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"Company.CreditStatus"=>{:fields=>[]}, :"Company.Type"=>{:fields=>[]}, :CreativeSizeType=>{:fields=>[]}, :"CustomCriteria.ComparisonOperator"=>{:fields=>[]}, :"CustomCriteriaSet.LogicalOperator"=>{:fields=>[]}, :EnvironmentType=>{:fields=>[]}}
16
16
  COMPANYSERVICE_NAMESPACES = []
17
17
 
18
18
  def self.get_method_signature(method_name)
@@ -5,7 +5,7 @@
5
5
  # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-02-08 17:31:35.
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:01:27.
9
9
 
10
10
  require 'ads_common/savon_service'
11
11
  require 'dfp_api/v201201/content_service_registry'
@@ -5,7 +5,7 @@
5
5
  # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
6
  # License:: Licensed under the Apache License, Version 2.0.
7
7
  #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-02-08 17:31:35.
8
+ # Code generated by AdsCommon library 0.6.3 on 2012-04-03 18:01:27.
9
9
 
10
10
  require 'dfp_api/errors'
11
11