google-dfp-api 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. data/ChangeLog +4 -0
  2. data/README +13 -1
  3. data/Rakefile +7 -1
  4. data/examples/v201111/third_party_slot_service/archive_third_party_slots.rb +125 -0
  5. data/examples/v201111/third_party_slot_service/create_third_party_slot.rb +91 -0
  6. data/examples/v201111/third_party_slot_service/get_all_third_party_slots.rb +93 -0
  7. data/examples/v201111/third_party_slot_service/get_third_party_slot_by_statement.rb +86 -0
  8. data/examples/v201111/third_party_slot_service/update_third_party_slots.rb +95 -0
  9. data/lib/dfp_api/api_config.rb +1 -1
  10. data/lib/dfp_api/v201103/company_service.rb +13 -13
  11. data/lib/dfp_api/v201103/company_service_registry.rb +3 -3
  12. data/lib/dfp_api/v201103/creative_service.rb +5 -5
  13. data/lib/dfp_api/v201103/creative_service_registry.rb +3 -3
  14. data/lib/dfp_api/v201103/custom_targeting_service.rb +17 -17
  15. data/lib/dfp_api/v201103/custom_targeting_service_registry.rb +3 -3
  16. data/lib/dfp_api/v201103/forecast_service.rb +5 -5
  17. data/lib/dfp_api/v201103/forecast_service_registry.rb +3 -3
  18. data/lib/dfp_api/v201103/inventory_service.rb +13 -13
  19. data/lib/dfp_api/v201103/inventory_service_registry.rb +3 -3
  20. data/lib/dfp_api/v201103/line_item_creative_association_service.rb +9 -9
  21. data/lib/dfp_api/v201103/line_item_creative_association_service_registry.rb +3 -3
  22. data/lib/dfp_api/v201103/line_item_service.rb +13 -13
  23. data/lib/dfp_api/v201103/line_item_service_registry.rb +3 -3
  24. data/lib/dfp_api/v201103/network_service.rb +1 -1
  25. data/lib/dfp_api/v201103/network_service_registry.rb +3 -3
  26. data/lib/dfp_api/v201103/order_service.rb +5 -5
  27. data/lib/dfp_api/v201103/order_service_registry.rb +3 -3
  28. data/lib/dfp_api/v201103/placement_service.rb +13 -13
  29. data/lib/dfp_api/v201103/placement_service_registry.rb +3 -3
  30. data/lib/dfp_api/v201103/publisher_query_language_service.rb +1 -1
  31. data/lib/dfp_api/v201103/publisher_query_language_service_registry.rb +3 -3
  32. data/lib/dfp_api/v201103/report_service.rb +1 -1
  33. data/lib/dfp_api/v201103/report_service_registry.rb +3 -3
  34. data/lib/dfp_api/v201103/user_service.rb +9 -9
  35. data/lib/dfp_api/v201103/user_service_registry.rb +3 -3
  36. data/lib/dfp_api/v201104/company_service.rb +13 -13
  37. data/lib/dfp_api/v201104/company_service_registry.rb +3 -3
  38. data/lib/dfp_api/v201104/creative_service.rb +5 -5
  39. data/lib/dfp_api/v201104/creative_service_registry.rb +3 -3
  40. data/lib/dfp_api/v201104/custom_targeting_service.rb +17 -17
  41. data/lib/dfp_api/v201104/custom_targeting_service_registry.rb +3 -3
  42. data/lib/dfp_api/v201104/forecast_service.rb +5 -5
  43. data/lib/dfp_api/v201104/forecast_service_registry.rb +3 -3
  44. data/lib/dfp_api/v201104/inventory_service.rb +13 -13
  45. data/lib/dfp_api/v201104/inventory_service_registry.rb +3 -3
  46. data/lib/dfp_api/v201104/line_item_creative_association_service.rb +9 -9
  47. data/lib/dfp_api/v201104/line_item_creative_association_service_registry.rb +3 -3
  48. data/lib/dfp_api/v201104/line_item_service.rb +13 -13
  49. data/lib/dfp_api/v201104/line_item_service_registry.rb +3 -3
  50. data/lib/dfp_api/v201104/network_service.rb +1 -1
  51. data/lib/dfp_api/v201104/network_service_registry.rb +3 -3
  52. data/lib/dfp_api/v201104/order_service.rb +5 -5
  53. data/lib/dfp_api/v201104/order_service_registry.rb +3 -3
  54. data/lib/dfp_api/v201104/placement_service.rb +13 -13
  55. data/lib/dfp_api/v201104/placement_service_registry.rb +3 -3
  56. data/lib/dfp_api/v201104/publisher_query_language_service.rb +1 -1
  57. data/lib/dfp_api/v201104/publisher_query_language_service_registry.rb +3 -3
  58. data/lib/dfp_api/v201104/report_service.rb +1 -1
  59. data/lib/dfp_api/v201104/report_service_registry.rb +3 -3
  60. data/lib/dfp_api/v201104/user_service.rb +9 -9
  61. data/lib/dfp_api/v201104/user_service_registry.rb +3 -3
  62. data/lib/dfp_api/v201107/company_service.rb +13 -13
  63. data/lib/dfp_api/v201107/company_service_registry.rb +3 -3
  64. data/lib/dfp_api/v201107/creative_service.rb +5 -5
  65. data/lib/dfp_api/v201107/creative_service_registry.rb +3 -3
  66. data/lib/dfp_api/v201107/custom_targeting_service.rb +17 -17
  67. data/lib/dfp_api/v201107/custom_targeting_service_registry.rb +3 -3
  68. data/lib/dfp_api/v201107/forecast_service.rb +5 -5
  69. data/lib/dfp_api/v201107/forecast_service_registry.rb +3 -3
  70. data/lib/dfp_api/v201107/inventory_service.rb +17 -17
  71. data/lib/dfp_api/v201107/inventory_service_registry.rb +3 -3
  72. data/lib/dfp_api/v201107/label_service.rb +13 -13
  73. data/lib/dfp_api/v201107/label_service_registry.rb +3 -3
  74. data/lib/dfp_api/v201107/line_item_creative_association_service.rb +9 -9
  75. data/lib/dfp_api/v201107/line_item_creative_association_service_registry.rb +3 -3
  76. data/lib/dfp_api/v201107/line_item_service.rb +13 -13
  77. data/lib/dfp_api/v201107/line_item_service_registry.rb +3 -3
  78. data/lib/dfp_api/v201107/network_service.rb +1 -1
  79. data/lib/dfp_api/v201107/network_service_registry.rb +3 -3
  80. data/lib/dfp_api/v201107/order_service.rb +5 -5
  81. data/lib/dfp_api/v201107/order_service_registry.rb +3 -3
  82. data/lib/dfp_api/v201107/placement_service.rb +13 -13
  83. data/lib/dfp_api/v201107/placement_service_registry.rb +3 -3
  84. data/lib/dfp_api/v201107/publisher_query_language_service.rb +1 -1
  85. data/lib/dfp_api/v201107/publisher_query_language_service_registry.rb +3 -3
  86. data/lib/dfp_api/v201107/report_service.rb +1 -1
  87. data/lib/dfp_api/v201107/report_service_registry.rb +3 -3
  88. data/lib/dfp_api/v201107/user_service.rb +13 -13
  89. data/lib/dfp_api/v201107/user_service_registry.rb +3 -3
  90. data/lib/dfp_api/v201108/company_service.rb +13 -13
  91. data/lib/dfp_api/v201108/company_service_registry.rb +3 -3
  92. data/lib/dfp_api/v201108/creative_service.rb +5 -5
  93. data/lib/dfp_api/v201108/creative_service_registry.rb +3 -3
  94. data/lib/dfp_api/v201108/custom_targeting_service.rb +17 -17
  95. data/lib/dfp_api/v201108/custom_targeting_service_registry.rb +3 -3
  96. data/lib/dfp_api/v201108/forecast_service.rb +5 -5
  97. data/lib/dfp_api/v201108/forecast_service_registry.rb +3 -3
  98. data/lib/dfp_api/v201108/inventory_service.rb +17 -17
  99. data/lib/dfp_api/v201108/inventory_service_registry.rb +3 -3
  100. data/lib/dfp_api/v201108/label_service.rb +13 -13
  101. data/lib/dfp_api/v201108/label_service_registry.rb +3 -3
  102. data/lib/dfp_api/v201108/line_item_creative_association_service.rb +9 -9
  103. data/lib/dfp_api/v201108/line_item_creative_association_service_registry.rb +3 -3
  104. data/lib/dfp_api/v201108/line_item_service.rb +13 -13
  105. data/lib/dfp_api/v201108/line_item_service_registry.rb +3 -3
  106. data/lib/dfp_api/v201108/network_service.rb +1 -1
  107. data/lib/dfp_api/v201108/network_service_registry.rb +3 -3
  108. data/lib/dfp_api/v201108/order_service.rb +5 -5
  109. data/lib/dfp_api/v201108/order_service_registry.rb +3 -3
  110. data/lib/dfp_api/v201108/placement_service.rb +13 -13
  111. data/lib/dfp_api/v201108/placement_service_registry.rb +3 -3
  112. data/lib/dfp_api/v201108/publisher_query_language_service.rb +1 -1
  113. data/lib/dfp_api/v201108/publisher_query_language_service_registry.rb +3 -3
  114. data/lib/dfp_api/v201108/report_service.rb +1 -1
  115. data/lib/dfp_api/v201108/report_service_registry.rb +3 -3
  116. data/lib/dfp_api/v201108/third_party_slot_service.rb +1 -1
  117. data/lib/dfp_api/v201108/third_party_slot_service_registry.rb +3 -3
  118. data/lib/dfp_api/v201108/user_service.rb +13 -13
  119. data/lib/dfp_api/v201108/user_service_registry.rb +3 -3
  120. data/lib/dfp_api/v201111/company_service.rb +13 -13
  121. data/lib/dfp_api/v201111/company_service_registry.rb +3 -3
  122. data/lib/dfp_api/v201111/content_service.rb +1 -1
  123. data/lib/dfp_api/v201111/content_service_registry.rb +3 -3
  124. data/lib/dfp_api/v201111/creative_service.rb +5 -5
  125. data/lib/dfp_api/v201111/creative_service_registry.rb +3 -3
  126. data/lib/dfp_api/v201111/creative_template_service.rb +1 -1
  127. data/lib/dfp_api/v201111/creative_template_service_registry.rb +3 -3
  128. data/lib/dfp_api/v201111/custom_targeting_service.rb +17 -17
  129. data/lib/dfp_api/v201111/custom_targeting_service_registry.rb +3 -3
  130. data/lib/dfp_api/v201111/forecast_service.rb +5 -5
  131. data/lib/dfp_api/v201111/forecast_service_registry.rb +3 -3
  132. data/lib/dfp_api/v201111/inventory_service.rb +17 -17
  133. data/lib/dfp_api/v201111/inventory_service_registry.rb +3 -3
  134. data/lib/dfp_api/v201111/label_service.rb +13 -13
  135. data/lib/dfp_api/v201111/label_service_registry.rb +3 -3
  136. data/lib/dfp_api/v201111/line_item_creative_association_service.rb +13 -13
  137. data/lib/dfp_api/v201111/line_item_creative_association_service_registry.rb +3 -3
  138. data/lib/dfp_api/v201111/line_item_service.rb +13 -13
  139. data/lib/dfp_api/v201111/line_item_service_registry.rb +3 -3
  140. data/lib/dfp_api/v201111/network_service.rb +1 -1
  141. data/lib/dfp_api/v201111/network_service_registry.rb +3 -3
  142. data/lib/dfp_api/v201111/order_service.rb +5 -5
  143. data/lib/dfp_api/v201111/order_service_registry.rb +3 -3
  144. data/lib/dfp_api/v201111/placement_service.rb +13 -13
  145. data/lib/dfp_api/v201111/placement_service_registry.rb +3 -3
  146. data/lib/dfp_api/v201111/publisher_query_language_service.rb +1 -1
  147. data/lib/dfp_api/v201111/publisher_query_language_service_registry.rb +3 -3
  148. data/lib/dfp_api/v201111/report_service.rb +1 -1
  149. data/lib/dfp_api/v201111/report_service_registry.rb +3 -3
  150. data/lib/dfp_api/v201111/suggested_ad_unit_service.rb +1 -1
  151. data/lib/dfp_api/v201111/suggested_ad_unit_service_registry.rb +3 -3
  152. data/lib/dfp_api/v201111/third_party_slot_service.rb +1 -1
  153. data/lib/dfp_api/v201111/third_party_slot_service_registry.rb +3 -3
  154. data/lib/dfp_api/v201111/user_service.rb +13 -13
  155. data/lib/dfp_api/v201111/user_service_registry.rb +3 -3
  156. data/lib/dfp_api.rb +1 -1
  157. metadata +17 -9
@@ -3,14 +3,14 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:38.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:44.
7
7
 
8
8
  require 'dfp_api/errors'
9
9
 
10
10
  module DfpApi; module V201111; module LineItemService
11
11
  class LineItemServiceRegistry
12
- LINEITEMSERVICE_METHODS = {:create_line_item=>{:input=>[{:name=>:line_item, :type=>"LineItem", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"create_line_item_response", :fields=>[{:name=>:rval, :type=>"LineItem", :min_occurs=>0, :max_occurs=>1}]}}, :create_line_items=>{:input=>[{:name=>:line_items, :type=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"create_line_items_response", :fields=>[{:name=>:rval, :type=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_line_item=>{:input=>[{:name=>:line_item_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_line_item_response", :fields=>[{:name=>:rval, :type=>"LineItem", :min_occurs=>0, :max_occurs=>1}]}}, :get_line_items_by_statement=>{:input=>[{:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_line_items_by_statement_response", :fields=>[{:name=>:rval, :type=>"LineItemPage", :min_occurs=>0, :max_occurs=>1}]}}, :perform_line_item_action=>{:input=>[{:name=>:line_item_action, :type=>"LineItemAction", :min_occurs=>0, :max_occurs=>1}, {:name=>:filter_statement, :type=>"Statement", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"perform_line_item_action_response", :fields=>[{:name=>:rval, :type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1}]}}, :update_line_item=>{:input=>[{:name=>:line_item, :type=>"LineItem", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"update_line_item_response", :fields=>[{:name=>:rval, :type=>"LineItem", :min_occurs=>0, :max_occurs=>1}]}}, :update_line_items=>{:input=>[{:name=>:line_items, :type=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"update_line_items_response", :fields=>[{:name=>:rval, :type=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
13
- LINEITEMSERVICE_TYPES = {:ActivateLineItems=>{:fields=>[], :base=>"LineItemAction"}, :AdUnitTargeting=>{:fields=>[{:name=>:ad_unit_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_descendants, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :TechnologyTargeting=>{:fields=>[{:name=>:bandwidth_group_targeting, :type=>"BandwidthGroupTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_targeting, :type=>"BrowserTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_language_targeting, :type=>"BrowserLanguageTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturer_targeting, :type=>"DeviceManufacturerTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_carrier_targeting, :type=>"MobileCarrierTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_device_targeting, :type=>"MobileDeviceTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_device_submodel_targeting, :type=>"MobileDeviceSubmodelTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_system_targeting, :type=>"OperatingSystemTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_system_version_targeting, :type=>"OperatingSystemVersionTargeting", :min_occurs=>0, :max_occurs=>1}]}, :AppliedLabel=>{:fields=>[{:name=>:label_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_negated, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :ArchiveLineItems=>{:fields=>[], :base=>"LineItemAction"}, :Authentication=>{:fields=>[{:name=>:authentication_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BandwidthGroup=>{:fields=>[], :base=>"Technology"}, :BandwidthGroupTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:bandwidth_groups, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BooleanValue=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :Browser=>{:fields=>[{:name=>:major_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:minor_version, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :BrowserLanguage=>{:fields=>[], :base=>"Technology"}, :BrowserLanguageTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:browser_languages, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BrowserTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:browsers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CityLocation=>{:fields=>[{:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:region_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Location"}, :ClientLogin=>{:fields=>[{:name=>:token, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Authentication"}, :ContentTargeting=>{:fields=>[{:name=>:targeted_content_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CountryLocation=>{:fields=>[{:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Location"}, :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}]}, :DayPart=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_time, :type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_time, :type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1}]}, :DayPartTargeting=>{:fields=>[{:name=>:day_parts, :type=>"DayPart", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:time_zone, :type=>"DeliveryTimeZone", :min_occurs=>0, :max_occurs=>1}]}, :DeleteLineItems=>{:fields=>[], :base=>"LineItemAction"}, :DeliveryData=>{:fields=>[{:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DeliveryIndicator=>{:fields=>[{:name=>:expected_delivery_percentage, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:actual_delivery_percentage, :type=>"double", :min_occurs=>0, :max_occurs=>1}]}, :DeviceManufacturer=>{:fields=>[], :base=>"Technology"}, :DeviceManufacturerTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :FrequencyCap=>{:fields=>[{:name=>:max_impressions, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_time_units, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_unit, :type=>"TimeUnit", :min_occurs=>0, :max_occurs=>1}]}, :GeoTargeting=>{:fields=>[{:name=>:targeted_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_locations, :type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded}]}, :InventoryTargeting=>{:fields=>[{:name=>:targeted_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_ad_units, :type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted_placement_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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}]}, :LineItemAction=>{:fields=>[{:name=>:line_item_action_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :LineItem=>{:fields=>[{:name=>:targeting, :type=>"Targeting", :min_occurs=>0, :max_occurs=>1}], :base=>"LineItemSummary"}, :LineItemPage=>{: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=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded}]}, :LineItemSummary=>{:fields=>[{:name=>:order_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:external_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:order_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"DateTime", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time_type, :type=>"StartDateTimeType", :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=>:creative_rotation_type, :type=>"CreativeRotationType", :min_occurs=>0, :max_occurs=>1}, {:name=>:delivery_rate_type, :type=>"DeliveryRateType", :min_occurs=>0, :max_occurs=>1}, {:name=>:roadblocking_type, :type=>"RoadblockingType", :min_occurs=>0, :max_occurs=>1}, {:name=>:frequency_caps, :type=>"FrequencyCap", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:line_item_type, :type=>"LineItemType", :min_occurs=>0, :max_occurs=>1}, {:name=>:priority, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:unit_type, :type=>"UnitType", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"LineItemSummary.Duration", :min_occurs=>0, :max_occurs=>1}, {:name=>:units_bought, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_unit, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:value_cost_per_unit, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_type, :type=>"CostType", :min_occurs=>0, :max_occurs=>1}, {:name=>:discount_type, :type=>"LineItemDiscountType", :min_occurs=>0, :max_occurs=>1}, {:name=>:discount, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:contracted_units_bought, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:creative_placeholders, :type=>"CreativePlaceholder", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:target_platform, :type=>"TargetPlatform", :min_occurs=>0, :max_occurs=>1}, {:name=>:environment_type, :type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1}, {:name=>:companion_delivery_option, :type=>"CompanionDeliveryOption", :min_occurs=>0, :max_occurs=>1}, {:name=>:allow_overbook, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:reserve_at_creation, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"Stats", :min_occurs=>0, :max_occurs=>1}, {:name=>:delivery_indicator, :type=>"DeliveryIndicator", :min_occurs=>0, :max_occurs=>1}, {:name=>:delivery_data, :type=>"DeliveryData", :min_occurs=>0, :max_occurs=>1}, {:name=>:budget, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ComputedStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:reservation_status, :type=>"LineItemSummary.ReservationStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_archived, :type=>"boolean", :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=>:disable_same_advertiser_competitive_exclusion, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_by_app, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:notes, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:line_item_summary_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Location=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:location_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :MetroLocation=>{:fields=>[{:name=>:metro_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Location"}, :MobileCarrier=>{:fields=>[], :base=>"Technology"}, :MobileCarrierTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:mobile_carriers, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :MobileDevice=>{:fields=>[{:name=>:manufacturer_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :MobileDeviceSubmodel=>{:fields=>[{:name=>:mobile_device_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:device_manufacturer_criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :MobileDeviceSubmodelTargeting=>{:fields=>[{:name=>:targeted_mobile_device_submodels, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_mobile_device_submodels, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :MobileDeviceTargeting=>{:fields=>[{:name=>:targeted_mobile_devices, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_mobile_devices, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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"}, :OperatingSystem=>{:fields=>[], :base=>"Technology"}, :OperatingSystemTargeting=>{:fields=>[{:name=>:is_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:operating_systems, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :OperatingSystemVersion=>{:fields=>[{:name=>:major_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minor_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:micro_version, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Technology"}, :OperatingSystemVersionTargeting=>{:fields=>[{:name=>:targeted_operating_system_versions, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:excluded_operating_system_versions, :type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded}]}, :PauseLineItems=>{:fields=>[], :base=>"LineItemAction"}, :PostalCodeLocation=>{:fields=>[{:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Location"}, :RegionLocation=>{:fields=>[{:name=>:region_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Location"}, :ReleaseLineItems=>{:fields=>[], :base=>"LineItemAction"}, :ReserveAndOverbookLineItems=>{:fields=>[], :base=>"ReserveLineItems"}, :ReserveLineItems=>{:fields=>[], :base=>"LineItemAction"}, :ResumeAndOverbookLineItems=>{:fields=>[], :base=>"ResumeLineItems"}, :ResumeLineItems=>{:fields=>[], :base=>"LineItemAction"}, :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}]}, :Stats=>{:fields=>[{:name=>:impressions_delivered, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks_delivered, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :String_ValueMapEntry=>{:fields=>[{:name=>:key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Value", :min_occurs=>0, :max_occurs=>1}]}, :Targeting=>{:fields=>[{:name=>:geo_targeting, :type=>"GeoTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:inventory_targeting, :type=>"InventoryTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:day_part_targeting, :type=>"DayPartTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:technology_targeting, :type=>"TechnologyTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:custom_targeting, :type=>"CustomCriteriaSet", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_domain_targeting, :type=>"UserDomainTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_targeting, :type=>"ContentTargeting", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_position_targeting, :type=>"VideoPositionTargeting", :min_occurs=>0, :max_occurs=>1}]}, :Technology=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:technology_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :TextValue=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Value"}, :TimeOfDay=>{:fields=>[{:name=>:hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}]}, :UnarchiveLineItems=>{:fields=>[], :base=>"LineItemAction"}, :UpdateResult=>{:fields=>[{:name=>:num_changes, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :UserDomainTargeting=>{:fields=>[{:name=>:domains, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :Value=>{:fields=>[{:name=>:value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :VideoPositionTargeting=>{:fields=>[{:name=>:targeted_video_positions, :type=>"VideoPositionTargetingType", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CompanionDeliveryOption=>{:fields=>[]}, :ComputedStatus=>{:fields=>[]}, :CostType=>{:fields=>[]}, :CreativeRotationType=>{:fields=>[]}, :CreativeSizeType=>{:fields=>[]}, :"CustomCriteria.ComparisonOperator"=>{:fields=>[]}, :"CustomCriteriaSet.LogicalOperator"=>{:fields=>[]}, :DayOfWeek=>{:fields=>[]}, :DeliveryTimeZone=>{:fields=>[]}, :DeliveryRateType=>{:fields=>[]}, :EnvironmentType=>{:fields=>[]}, :LineItemDiscountType=>{:fields=>[]}, :"LineItemSummary.Duration"=>{:fields=>[]}, :"LineItemSummary.ReservationStatus"=>{:fields=>[]}, :LineItemType=>{:fields=>[]}, :MinuteOfHour=>{:fields=>[]}, :RoadblockingType=>{:fields=>[]}, :StartDateTimeType=>{:fields=>[]}, :TargetPlatform=>{:fields=>[]}, :TimeUnit=>{:fields=>[]}, :UnitType=>{:fields=>[]}, :VideoPositionTargetingType=>{:fields=>[]}}
12
+ LINEITEMSERVICE_METHODS = {:perform_line_item_action=>{:output=>{:fields=>[{:type=>"UpdateResult", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"perform_line_item_action_response"}, :input=>[{:type=>"LineItemAction", :min_occurs=>0, :max_occurs=>1, :name=>:line_item_action}, {:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}, :update_line_item=>{:output=>{:fields=>[{:type=>"LineItem", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"update_line_item_response"}, :input=>[{:type=>"LineItem", :min_occurs=>0, :max_occurs=>1, :name=>:line_item}]}, :create_line_item=>{:output=>{:fields=>[{:type=>"LineItem", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"create_line_item_response"}, :input=>[{:type=>"LineItem", :min_occurs=>0, :max_occurs=>1, :name=>:line_item}]}, :update_line_items=>{:output=>{:fields=>[{:type=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"update_line_items_response"}, :input=>[{:type=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:line_items}]}, :create_line_items=>{:output=>{:fields=>[{:type=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"create_line_items_response"}, :input=>[{:type=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:line_items}]}, :get_line_item=>{:output=>{:fields=>[{:type=>"LineItem", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_line_item_response"}, :input=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:line_item_id}]}, :get_line_items_by_statement=>{:output=>{:fields=>[{:type=>"LineItemPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_line_items_by_statement_response"}, :input=>[{:type=>"Statement", :min_occurs=>0, :max_occurs=>1, :name=>:filter_statement}]}}
13
+ LINEITEMSERVICE_TYPES = {:VideoPositionTargeting=>{:fields=>[{:type=>"VideoPositionTargetingType", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targeted_video_positions}]}, :Value=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value_type}], :abstract=>true}, :Targeting=>{:fields=>[{:type=>"GeoTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:geo_targeting}, {:type=>"InventoryTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:inventory_targeting}, {:type=>"DayPartTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:day_part_targeting}, {:type=>"TechnologyTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:technology_targeting}, {:type=>"CustomCriteriaSet", :min_occurs=>0, :max_occurs=>1, :name=>:custom_targeting}, {:type=>"UserDomainTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:user_domain_targeting}, {:type=>"ContentTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:content_targeting}, {:type=>"VideoPositionTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:video_position_targeting}]}, :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}]}, :DeliveryIndicator=>{:fields=>[{:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:expected_delivery_percentage}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:actual_delivery_percentage}]}, :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}]}, :OAuth=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:parameters}], :base=>"Authentication"}, :BrowserLanguage=>{:fields=>[], :base=>"Technology"}, :MinuteOfHour=>{:fields=>[]}, :OperatingSystemTargeting=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_targeted}, {:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:operating_systems}]}, :CityLocation=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:city_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:region_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:country_code}], :base=>"Location"}, :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}]}, :AdUnitTargeting=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:ad_unit_id}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:include_descendants}]}, :CustomCriteriaSet=>{:fields=>[{:type=>"CustomCriteriaSet.LogicalOperator", :min_occurs=>0, :max_occurs=>1, :name=>:logical_operator}, {:type=>"CustomCriteriaNode", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:children}], :base=>"CustomCriteriaNode"}, :ReserveLineItems=>{:fields=>[], :base=>"LineItemAction"}, :DeliveryRateType=>{: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}]}, :MetroLocation=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:metro_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:country_code}], :base=>"Location"}, :MobileDevice=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:manufacturer_criterion_id}], :base=>"Technology"}, :"CustomCriteriaSet.LogicalOperator"=>{:fields=>[]}, :ComputedStatus=>{:fields=>[]}, :LineItemAction=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:line_item_action_type}], :abstract=>true}, :DeleteLineItems=>{:fields=>[], :base=>"LineItemAction"}, :UnitType=>{:fields=>[]}, :Technology=>{: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=>:technology_type}]}, :Stats=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:impressions_delivered}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:clicks_delivered}]}, :DeliveryData=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:units}]}, :Browser=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:major_version}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:minor_version}], :base=>"Technology"}, :LineItemType=>{:fields=>[]}, :OperatingSystem=>{:fields=>[], :base=>"Technology"}, :ArchiveLineItems=>{:fields=>[], :base=>"LineItemAction"}, :CustomCriteria=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:key_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:value_ids}, {:type=>"CustomCriteria.ComparisonOperator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}], :base=>"CustomCriteriaNode"}, :ReserveAndOverbookLineItems=>{:fields=>[], :base=>"ReserveLineItems"}, :DeliveryTimeZone=>{:fields=>[]}, :MobileCarrierTargeting=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_targeted}, {:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:mobile_carriers}]}, :CreativePlaceholder=>{:fields=>[{:type=>"Size", :min_occurs=>0, :max_occurs=>1, :name=>:size}, {:type=>"CreativePlaceholder", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:companions}, {:type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:applied_labels}, {:type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:effective_applied_labels}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:expected_creative_count}, {:type=>"CreativeSizeType", :min_occurs=>0, :max_occurs=>1, :name=>:creative_size_type}]}, :Location=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:location_type}]}, :"CustomCriteria.ComparisonOperator"=>{:fields=>[]}, :UserDomainTargeting=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:domains}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:targeted}]}, :UpdateResult=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:num_changes}]}, :ContentTargeting=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targeted_content_ids}]}, :ClientLogin=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:token}], :base=>"Authentication"}, :InventoryTargeting=>{:fields=>[{:type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targeted_ad_units}, {:type=>"AdUnitTargeting", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:excluded_ad_units}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targeted_placement_ids}]}, :TimeUnit=>{:fields=>[]}, :"LineItemSummary.ReservationStatus"=>{:fields=>[]}, :String_ValueMapEntry=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:key}, {:type=>"Value", :min_occurs=>0, :max_occurs=>1, :name=>: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}]}, :PostalCodeLocation=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:postal_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:country_code}], :base=>"Location"}, :DayPartTargeting=>{:fields=>[{:type=>"DayPart", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:day_parts}, {:type=>"DeliveryTimeZone", :min_occurs=>0, :max_occurs=>1, :name=>:time_zone}]}, :BandwidthGroupTargeting=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_targeted}, {:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:bandwidth_groups}]}, :TargetPlatform=>{:fields=>[]}, :EnvironmentType=>{:fields=>[]}, :ReleaseLineItems=>{:fields=>[], :base=>"LineItemAction"}, :MobileDeviceTargeting=>{:fields=>[{:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targeted_mobile_devices}, {:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:excluded_mobile_devices}]}, :ActivateLineItems=>{:fields=>[], :base=>"LineItemAction"}, :DayOfWeek=>{:fields=>[]}, :LineItemSummary=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:order_id}, {: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=>:external_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:order_name}, {:type=>"DateTime", :min_occurs=>0, :max_occurs=>1, :name=>:start_date_time}, {:type=>"StartDateTimeType", :min_occurs=>0, :max_occurs=>1, :name=>:start_date_time_type}, {: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=>"CreativeRotationType", :min_occurs=>0, :max_occurs=>1, :name=>:creative_rotation_type}, {:type=>"DeliveryRateType", :min_occurs=>0, :max_occurs=>1, :name=>:delivery_rate_type}, {:type=>"RoadblockingType", :min_occurs=>0, :max_occurs=>1, :name=>:roadblocking_type}, {:type=>"FrequencyCap", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:frequency_caps}, {:type=>"LineItemType", :min_occurs=>0, :max_occurs=>1, :name=>:line_item_type}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:priority}, {:type=>"UnitType", :min_occurs=>0, :max_occurs=>1, :name=>:unit_type}, {:type=>"LineItemSummary.Duration", :min_occurs=>0, :max_occurs=>1, :name=>:duration}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:units_bought}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:cost_per_unit}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:value_cost_per_unit}, {:type=>"CostType", :min_occurs=>0, :max_occurs=>1, :name=>:cost_type}, {:type=>"LineItemDiscountType", :min_occurs=>0, :max_occurs=>1, :name=>:discount_type}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:discount}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:contracted_units_bought}, {:type=>"CreativePlaceholder", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:creative_placeholders}, {:type=>"TargetPlatform", :min_occurs=>0, :max_occurs=>1, :name=>:target_platform}, {:type=>"EnvironmentType", :min_occurs=>0, :max_occurs=>1, :name=>:environment_type}, {:type=>"CompanionDeliveryOption", :min_occurs=>0, :max_occurs=>1, :name=>:companion_delivery_option}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:allow_overbook}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:reserve_at_creation}, {:type=>"Stats", :min_occurs=>0, :max_occurs=>1, :name=>:stats}, {:type=>"DeliveryIndicator", :min_occurs=>0, :max_occurs=>1, :name=>:delivery_indicator}, {:type=>"DeliveryData", :min_occurs=>0, :max_occurs=>1, :name=>:delivery_data}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:budget}, {:type=>"ComputedStatus", :min_occurs=>0, :max_occurs=>1, :name=>:status}, {:type=>"LineItemSummary.ReservationStatus", :min_occurs=>0, :max_occurs=>1, :name=>:reservation_status}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_archived}, {:type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:applied_labels}, {:type=>"AppliedLabel", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:effective_applied_labels}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:disable_same_advertiser_competitive_exclusion}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:last_modified_by_app}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:notes}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:line_item_summary_type}]}, :MobileCarrier=>{:fields=>[], :base=>"Technology"}, :VideoPositionTargetingType=>{:fields=>[]}, :UnarchiveLineItems=>{:fields=>[], :base=>"LineItemAction"}, :BrowserTargeting=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_targeted}, {:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:browsers}]}, :BooleanValue=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :GeoTargeting=>{:fields=>[{:type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targeted_locations}, {:type=>"Location", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:excluded_locations}]}, :StartDateTimeType=>{:fields=>[]}, :"LineItemSummary.Duration"=>{:fields=>[]}, :BandwidthGroup=>{:fields=>[], :base=>"Technology"}, :ResumeLineItems=>{:fields=>[], :base=>"LineItemAction"}, :OperatingSystemVersionTargeting=>{:fields=>[{:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targeted_operating_system_versions}, {:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:excluded_operating_system_versions}]}, :DayPart=>{:fields=>[{:type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1, :name=>:day_of_week}, {:type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1, :name=>:start_time}, {:type=>"TimeOfDay", :min_occurs=>0, :max_occurs=>1, :name=>:end_time}]}, :Statement=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:query}, {:type=>"String_ValueMapEntry", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :CreativeSizeType=>{:fields=>[]}, :RegionLocation=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:region_code}], :base=>"Location"}, :MobileDeviceSubmodelTargeting=>{:fields=>[{:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targeted_mobile_device_submodels}, {:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:excluded_mobile_device_submodels}]}, :CreativeRotationType=>{:fields=>[]}, :LineItemPage=>{: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=>"LineItem", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:results}]}, :DeviceManufacturerTargeting=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_targeted}, {:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:device_manufacturers}]}, :NumberValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :CompanionDeliveryOption=>{:fields=>[]}, :TimeOfDay=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:hour}, {:type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1, :name=>:minute}]}, :TextValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:value}], :base=>"Value"}, :FrequencyCap=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:max_impressions}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:num_time_units}, {:type=>"TimeUnit", :min_occurs=>0, :max_occurs=>1, :name=>:time_unit}]}, :BrowserLanguageTargeting=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_targeted}, {:type=>"Technology", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:browser_languages}]}, :Authentication=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:authentication_type}], :abstract=>true}, :RoadblockingType=>{:fields=>[]}, :CountryLocation=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:country_code}], :base=>"Location"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:response_time}]}, :TechnologyTargeting=>{:fields=>[{:type=>"BandwidthGroupTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:bandwidth_group_targeting}, {:type=>"BrowserTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:browser_targeting}, {:type=>"BrowserLanguageTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:browser_language_targeting}, {:type=>"DeviceManufacturerTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:device_manufacturer_targeting}, {:type=>"MobileCarrierTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:mobile_carrier_targeting}, {:type=>"MobileDeviceTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:mobile_device_targeting}, {:type=>"MobileDeviceSubmodelTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:mobile_device_submodel_targeting}, {:type=>"OperatingSystemTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:operating_system_targeting}, {:type=>"OperatingSystemVersionTargeting", :min_occurs=>0, :max_occurs=>1, :name=>:operating_system_version_targeting}]}, :CustomCriteriaNode=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:custom_criteria_node_type}], :abstract=>true}, :ResumeAndOverbookLineItems=>{:fields=>[], :base=>"ResumeLineItems"}, :OperatingSystemVersion=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:major_version}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:minor_version}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:micro_version}], :base=>"Technology"}, :LineItemDiscountType=>{:fields=>[]}, :PauseLineItems=>{:fields=>[], :base=>"LineItemAction"}, :MobileDeviceSubmodel=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:mobile_device_criterion_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:device_manufacturer_criterion_id}], :base=>"Technology"}, :AppliedLabel=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:label_id}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_negated}]}, :CostType=>{:fields=>[]}, :LineItem=>{:fields=>[{:type=>"Targeting", :min_occurs=>0, :max_occurs=>1, :name=>:targeting}], :base=>"LineItemSummary"}, :DeviceManufacturer=>{:fields=>[], :base=>"Technology"}, :Money=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:currency_code}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:micro_amount}]}}
14
14
  LINEITEMSERVICE_NAMESPACES = []
15
15
 
16
16
  def self.get_method_signature(method_name)
@@ -3,7 +3,7 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:43.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:21.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'dfp_api/v201111/network_service_registry'
@@ -3,14 +3,14 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:43.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:21.
7
7
 
8
8
  require 'dfp_api/errors'
9
9
 
10
10
  module DfpApi; module V201111; module NetworkService
11
11
  class NetworkServiceRegistry
12
- NETWORKSERVICE_METHODS = {:get_all_networks=>{:input=>[], :output=>{:name=>"get_all_networks_response", :fields=>[{:name=>:rval, :type=>"Network", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_current_network=>{:input=>[], :output=>{:name=>"get_current_network_response", :fields=>[{:name=>:rval, :type=>"Network", :min_occurs=>0, :max_occurs=>1}]}}, :update_network=>{:input=>[{:name=>:network, :type=>"Network", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"update_network_response", :fields=>[{:name=>:rval, :type=>"Network", :min_occurs=>0, :max_occurs=>1}]}}}
13
- NETWORKSERVICE_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"}, :Network=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:network_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:property_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_zone, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:effective_root_ad_unit_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:content_browse_custom_targeting_key_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :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}]}}
12
+ NETWORKSERVICE_METHODS = {:get_all_networks=>{:output=>{:fields=>[{:type=>"Network", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"get_all_networks_response"}, :input=>[]}, :get_current_network=>{:output=>{:fields=>[{:type=>"Network", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_current_network_response"}, :input=>[]}, :update_network=>{:output=>{:fields=>[{:type=>"Network", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"update_network_response"}, :input=>[{:type=>"Network", :min_occurs=>0, :max_occurs=>1, :name=>:network}]}}
13
+ NETWORKSERVICE_TYPES = {:Authentication=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:authentication_type}], :abstract=>true}, :OAuth=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:parameters}], :base=>"Authentication"}, :Network=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:display_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:network_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:property_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:time_zone}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:currency_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:effective_root_ad_unit_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:content_browse_custom_targeting_key_id}]}, :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"}, :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
14
  NETWORKSERVICE_NAMESPACES = []
15
15
 
16
16
  def self.get_method_signature(method_name)
@@ -3,7 +3,7 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:45.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:12.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'dfp_api/v201111/order_service_registry'
@@ -15,8 +15,8 @@ module DfpApi; module V201111; module OrderService
15
15
  super(api, endpoint, namespace, :v201111)
16
16
  end
17
17
 
18
- def create_order(*args, &block)
19
- return execute_action('create_order', args, &block)
18
+ def update_orders(*args, &block)
19
+ return execute_action('update_orders', args, &block)
20
20
  end
21
21
 
22
22
  def create_orders(*args, &block)
@@ -39,8 +39,8 @@ module DfpApi; module V201111; module OrderService
39
39
  return execute_action('update_order', args, &block)
40
40
  end
41
41
 
42
- def update_orders(*args, &block)
43
- return execute_action('update_orders', args, &block)
42
+ def create_order(*args, &block)
43
+ return execute_action('create_order', args, &block)
44
44
  end
45
45
 
46
46
  private
@@ -3,14 +3,14 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:45.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:12.
7
7
 
8
8
  require 'dfp_api/errors'
9
9
 
10
10
  module DfpApi; module V201111; module OrderService
11
11
  class OrderServiceRegistry
12
- 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}]}}}
13
- 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=>[]}}
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
14
  ORDERSERVICE_NAMESPACES = []
15
15
 
16
16
  def self.get_method_signature(method_name)
@@ -3,7 +3,7 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:48.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:07.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'dfp_api/v201111/placement_service_registry'
@@ -15,10 +15,22 @@ module DfpApi; module V201111; module PlacementService
15
15
  super(api, endpoint, namespace, :v201111)
16
16
  end
17
17
 
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
+
18
26
  def create_placement(*args, &block)
19
27
  return execute_action('create_placement', args, &block)
20
28
  end
21
29
 
30
+ def update_placements(*args, &block)
31
+ return execute_action('update_placements', args, &block)
32
+ end
33
+
22
34
  def create_placements(*args, &block)
23
35
  return execute_action('create_placements', args, &block)
24
36
  end
@@ -31,18 +43,6 @@ module DfpApi; module V201111; module PlacementService
31
43
  return execute_action('get_placements_by_statement', args, &block)
32
44
  end
33
45
 
34
- def perform_placement_action(*args, &block)
35
- return execute_action('perform_placement_action', args, &block)
36
- end
37
-
38
- def update_placement(*args, &block)
39
- return execute_action('update_placement', args, &block)
40
- end
41
-
42
- def update_placements(*args, &block)
43
- return execute_action('update_placements', args, &block)
44
- end
45
-
46
46
  private
47
47
 
48
48
  def get_service_registry()
@@ -3,14 +3,14 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:48.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:07.
7
7
 
8
8
  require 'dfp_api/errors'
9
9
 
10
10
  module DfpApi; module V201111; module PlacementService
11
11
  class PlacementServiceRegistry
12
- 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}]}}}
13
- 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=>[]}}
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
14
  PLACEMENTSERVICE_NAMESPACES = []
15
15
 
16
16
  def self.get_method_signature(method_name)
@@ -3,7 +3,7 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:56.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:13.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'dfp_api/v201111/publisher_query_language_service_registry'
@@ -3,14 +3,14 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:56.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 18:00:13.
7
7
 
8
8
  require 'dfp_api/errors'
9
9
 
10
10
  module DfpApi; module V201111; module PublisherQueryLanguageService
11
11
  class PublisherQueryLanguageServiceRegistry
12
- 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}]}}}
13
- 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}}
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
14
  PUBLISHERQUERYLANGUAGESERVICE_NAMESPACES = []
15
15
 
16
16
  def self.get_method_signature(method_name)
@@ -3,7 +3,7 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:50.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:32.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'dfp_api/v201111/report_service_registry'
@@ -3,14 +3,14 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:52:50.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:32.
7
7
 
8
8
  require 'dfp_api/errors'
9
9
 
10
10
  module DfpApi; module V201111; module ReportService
11
11
  class ReportServiceRegistry
12
- 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}]}}}
13
- 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=>[]}}
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
14
  REPORTSERVICE_NAMESPACES = []
15
15
 
16
16
  def self.get_method_signature(method_name)
@@ -3,7 +3,7 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:53:02.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:35.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'dfp_api/v201111/suggested_ad_unit_service_registry'
@@ -3,14 +3,14 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:53:02.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:35.
7
7
 
8
8
  require 'dfp_api/errors'
9
9
 
10
10
  module DfpApi; module V201111; module SuggestedAdUnitService
11
11
  class SuggestedAdUnitServiceRegistry
12
- 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}]}}}
13
- 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=>[]}}
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
14
  SUGGESTEDADUNITSERVICE_NAMESPACES = []
15
15
 
16
16
  def self.get_method_signature(method_name)
@@ -3,7 +3,7 @@
3
3
  # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
4
  # License:: Licensed under the Apache License,Version 2.0 (the "License").
5
5
  #
6
- # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:53:00.
6
+ # Code generated by AdsCommon library 0.6.1 on 2011-12-20 17:59:37.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'dfp_api/v201111/third_party_slot_service_registry'