google-adwords-api 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. data/ChangeLog +5 -0
  2. data/README +2 -2
  3. data/Rakefile +2 -2
  4. data/examples/v201109/create_account.rb +80 -0
  5. data/examples/v201109/get_location_criteria.rb +1 -1
  6. data/lib/adwords_api.rb +1 -1
  7. data/lib/adwords_api/api_config.rb +5 -3
  8. data/lib/adwords_api/v13/account_service.rb +9 -9
  9. data/lib/adwords_api/v13/account_service_registry.rb +3 -3
  10. data/lib/adwords_api/v13/report_service.rb +11 -11
  11. data/lib/adwords_api/v13/report_service_registry.rb +3 -3
  12. data/lib/adwords_api/v200909/ad_extension_override_service.rb +1 -1
  13. data/lib/adwords_api/v200909/ad_extension_override_service_registry.rb +3 -3
  14. data/lib/adwords_api/v200909/ad_group_ad_service.rb +1 -1
  15. data/lib/adwords_api/v200909/ad_group_ad_service_registry.rb +3 -3
  16. data/lib/adwords_api/v200909/ad_group_criterion_service.rb +1 -1
  17. data/lib/adwords_api/v200909/ad_group_criterion_service_registry.rb +3 -3
  18. data/lib/adwords_api/v200909/ad_group_service.rb +1 -1
  19. data/lib/adwords_api/v200909/ad_group_service_registry.rb +3 -3
  20. data/lib/adwords_api/v200909/ad_param_service.rb +1 -1
  21. data/lib/adwords_api/v200909/ad_param_service_registry.rb +3 -3
  22. data/lib/adwords_api/v200909/bulk_mutate_job_service.rb +1 -1
  23. data/lib/adwords_api/v200909/bulk_mutate_job_service_registry.rb +3 -3
  24. data/lib/adwords_api/v200909/campaign_ad_extension_service.rb +1 -1
  25. data/lib/adwords_api/v200909/campaign_ad_extension_service_registry.rb +3 -3
  26. data/lib/adwords_api/v200909/campaign_criterion_service.rb +1 -1
  27. data/lib/adwords_api/v200909/campaign_criterion_service_registry.rb +3 -3
  28. data/lib/adwords_api/v200909/campaign_service.rb +1 -1
  29. data/lib/adwords_api/v200909/campaign_service_registry.rb +3 -3
  30. data/lib/adwords_api/v200909/campaign_target_service.rb +1 -1
  31. data/lib/adwords_api/v200909/campaign_target_service_registry.rb +3 -3
  32. data/lib/adwords_api/v200909/geo_location_service.rb +1 -1
  33. data/lib/adwords_api/v200909/geo_location_service_registry.rb +3 -3
  34. data/lib/adwords_api/v200909/info_service.rb +1 -1
  35. data/lib/adwords_api/v200909/info_service_registry.rb +3 -3
  36. data/lib/adwords_api/v200909/targeting_idea_service.rb +5 -5
  37. data/lib/adwords_api/v200909/targeting_idea_service_registry.rb +3 -3
  38. data/lib/adwords_api/v201003/ad_extension_override_service.rb +1 -1
  39. data/lib/adwords_api/v201003/ad_extension_override_service_registry.rb +3 -3
  40. data/lib/adwords_api/v201003/ad_group_ad_service.rb +1 -1
  41. data/lib/adwords_api/v201003/ad_group_ad_service_registry.rb +3 -3
  42. data/lib/adwords_api/v201003/ad_group_criterion_service.rb +1 -1
  43. data/lib/adwords_api/v201003/ad_group_criterion_service_registry.rb +3 -3
  44. data/lib/adwords_api/v201003/ad_group_service.rb +1 -1
  45. data/lib/adwords_api/v201003/ad_group_service_registry.rb +3 -3
  46. data/lib/adwords_api/v201003/ad_param_service.rb +1 -1
  47. data/lib/adwords_api/v201003/ad_param_service_registry.rb +3 -3
  48. data/lib/adwords_api/v201003/bid_landscape_service.rb +1 -1
  49. data/lib/adwords_api/v201003/bid_landscape_service_registry.rb +3 -3
  50. data/lib/adwords_api/v201003/bulk_mutate_job_service.rb +1 -1
  51. data/lib/adwords_api/v201003/bulk_mutate_job_service_registry.rb +3 -3
  52. data/lib/adwords_api/v201003/campaign_ad_extension_service.rb +1 -1
  53. data/lib/adwords_api/v201003/campaign_ad_extension_service_registry.rb +3 -3
  54. data/lib/adwords_api/v201003/campaign_criterion_service.rb +1 -1
  55. data/lib/adwords_api/v201003/campaign_criterion_service_registry.rb +3 -3
  56. data/lib/adwords_api/v201003/campaign_service.rb +1 -1
  57. data/lib/adwords_api/v201003/campaign_service_registry.rb +3 -3
  58. data/lib/adwords_api/v201003/campaign_target_service.rb +1 -1
  59. data/lib/adwords_api/v201003/campaign_target_service_registry.rb +3 -3
  60. data/lib/adwords_api/v201003/geo_location_service.rb +1 -1
  61. data/lib/adwords_api/v201003/geo_location_service_registry.rb +3 -3
  62. data/lib/adwords_api/v201003/info_service.rb +1 -1
  63. data/lib/adwords_api/v201003/info_service_registry.rb +3 -3
  64. data/lib/adwords_api/v201003/media_service.rb +5 -5
  65. data/lib/adwords_api/v201003/media_service_registry.rb +3 -3
  66. data/lib/adwords_api/v201003/report_definition_service.rb +1 -1
  67. data/lib/adwords_api/v201003/report_definition_service_registry.rb +3 -3
  68. data/lib/adwords_api/v201003/targeting_idea_service.rb +5 -5
  69. data/lib/adwords_api/v201003/targeting_idea_service_registry.rb +3 -3
  70. data/lib/adwords_api/v201008/ad_extension_override_service.rb +1 -1
  71. data/lib/adwords_api/v201008/ad_extension_override_service_registry.rb +3 -3
  72. data/lib/adwords_api/v201008/ad_group_ad_service.rb +1 -1
  73. data/lib/adwords_api/v201008/ad_group_ad_service_registry.rb +3 -3
  74. data/lib/adwords_api/v201008/ad_group_criterion_service.rb +1 -1
  75. data/lib/adwords_api/v201008/ad_group_criterion_service_registry.rb +3 -3
  76. data/lib/adwords_api/v201008/ad_group_service.rb +1 -1
  77. data/lib/adwords_api/v201008/ad_group_service_registry.rb +3 -3
  78. data/lib/adwords_api/v201008/ad_param_service.rb +1 -1
  79. data/lib/adwords_api/v201008/ad_param_service_registry.rb +3 -3
  80. data/lib/adwords_api/v201008/alert_service.rb +1 -1
  81. data/lib/adwords_api/v201008/alert_service_registry.rb +3 -3
  82. data/lib/adwords_api/v201008/bid_landscape_service.rb +1 -1
  83. data/lib/adwords_api/v201008/bid_landscape_service_registry.rb +3 -3
  84. data/lib/adwords_api/v201008/bulk_mutate_job_service.rb +1 -1
  85. data/lib/adwords_api/v201008/bulk_mutate_job_service_registry.rb +3 -3
  86. data/lib/adwords_api/v201008/campaign_ad_extension_service.rb +1 -1
  87. data/lib/adwords_api/v201008/campaign_ad_extension_service_registry.rb +3 -3
  88. data/lib/adwords_api/v201008/campaign_criterion_service.rb +1 -1
  89. data/lib/adwords_api/v201008/campaign_criterion_service_registry.rb +3 -3
  90. data/lib/adwords_api/v201008/campaign_service.rb +1 -1
  91. data/lib/adwords_api/v201008/campaign_service_registry.rb +3 -3
  92. data/lib/adwords_api/v201008/campaign_target_service.rb +1 -1
  93. data/lib/adwords_api/v201008/campaign_target_service_registry.rb +3 -3
  94. data/lib/adwords_api/v201008/customer_sync_service.rb +1 -1
  95. data/lib/adwords_api/v201008/customer_sync_service_registry.rb +3 -3
  96. data/lib/adwords_api/v201008/experiment_service.rb +1 -1
  97. data/lib/adwords_api/v201008/experiment_service_registry.rb +3 -3
  98. data/lib/adwords_api/v201008/geo_location_service.rb +1 -1
  99. data/lib/adwords_api/v201008/geo_location_service_registry.rb +3 -3
  100. data/lib/adwords_api/v201008/info_service.rb +1 -1
  101. data/lib/adwords_api/v201008/info_service_registry.rb +3 -3
  102. data/lib/adwords_api/v201008/media_service.rb +5 -5
  103. data/lib/adwords_api/v201008/media_service_registry.rb +3 -3
  104. data/lib/adwords_api/v201008/report_definition_service.rb +1 -1
  105. data/lib/adwords_api/v201008/report_definition_service_registry.rb +3 -3
  106. data/lib/adwords_api/v201008/serviced_account_service.rb +1 -1
  107. data/lib/adwords_api/v201008/serviced_account_service_registry.rb +3 -3
  108. data/lib/adwords_api/v201008/targeting_idea_service.rb +5 -5
  109. data/lib/adwords_api/v201008/targeting_idea_service_registry.rb +3 -3
  110. data/lib/adwords_api/v201008/traffic_estimator_service.rb +1 -1
  111. data/lib/adwords_api/v201008/traffic_estimator_service_registry.rb +3 -3
  112. data/lib/adwords_api/v201008/user_list_service.rb +1 -1
  113. data/lib/adwords_api/v201008/user_list_service_registry.rb +3 -3
  114. data/lib/adwords_api/v201101/ad_extension_override_service.rb +1 -1
  115. data/lib/adwords_api/v201101/ad_extension_override_service_registry.rb +3 -3
  116. data/lib/adwords_api/v201101/ad_group_ad_service.rb +1 -1
  117. data/lib/adwords_api/v201101/ad_group_ad_service_registry.rb +3 -3
  118. data/lib/adwords_api/v201101/ad_group_criterion_service.rb +1 -1
  119. data/lib/adwords_api/v201101/ad_group_criterion_service_registry.rb +3 -3
  120. data/lib/adwords_api/v201101/ad_group_service.rb +1 -1
  121. data/lib/adwords_api/v201101/ad_group_service_registry.rb +3 -3
  122. data/lib/adwords_api/v201101/ad_param_service.rb +1 -1
  123. data/lib/adwords_api/v201101/ad_param_service_registry.rb +3 -3
  124. data/lib/adwords_api/v201101/alert_service.rb +1 -1
  125. data/lib/adwords_api/v201101/alert_service_registry.rb +3 -3
  126. data/lib/adwords_api/v201101/bulk_mutate_job_service.rb +1 -1
  127. data/lib/adwords_api/v201101/bulk_mutate_job_service_registry.rb +3 -3
  128. data/lib/adwords_api/v201101/bulk_opportunity_service.rb +1 -1
  129. data/lib/adwords_api/v201101/bulk_opportunity_service_registry.rb +3 -3
  130. data/lib/adwords_api/v201101/campaign_ad_extension_service.rb +1 -1
  131. data/lib/adwords_api/v201101/campaign_ad_extension_service_registry.rb +3 -3
  132. data/lib/adwords_api/v201101/campaign_criterion_service.rb +1 -1
  133. data/lib/adwords_api/v201101/campaign_criterion_service_registry.rb +3 -3
  134. data/lib/adwords_api/v201101/campaign_service.rb +1 -1
  135. data/lib/adwords_api/v201101/campaign_service_registry.rb +3 -3
  136. data/lib/adwords_api/v201101/campaign_target_service.rb +1 -1
  137. data/lib/adwords_api/v201101/campaign_target_service_registry.rb +3 -3
  138. data/lib/adwords_api/v201101/conversion_tracker_service.rb +1 -1
  139. data/lib/adwords_api/v201101/conversion_tracker_service_registry.rb +3 -3
  140. data/lib/adwords_api/v201101/customer_sync_service.rb +1 -1
  141. data/lib/adwords_api/v201101/customer_sync_service_registry.rb +3 -3
  142. data/lib/adwords_api/v201101/data_service.rb +1 -1
  143. data/lib/adwords_api/v201101/data_service_registry.rb +3 -3
  144. data/lib/adwords_api/v201101/experiment_service.rb +1 -1
  145. data/lib/adwords_api/v201101/experiment_service_registry.rb +3 -3
  146. data/lib/adwords_api/v201101/geo_location_service.rb +1 -1
  147. data/lib/adwords_api/v201101/geo_location_service_registry.rb +3 -3
  148. data/lib/adwords_api/v201101/info_service.rb +1 -1
  149. data/lib/adwords_api/v201101/info_service_registry.rb +3 -3
  150. data/lib/adwords_api/v201101/media_service.rb +5 -5
  151. data/lib/adwords_api/v201101/media_service_registry.rb +3 -3
  152. data/lib/adwords_api/v201101/report_definition_service.rb +1 -1
  153. data/lib/adwords_api/v201101/report_definition_service_registry.rb +3 -3
  154. data/lib/adwords_api/v201101/serviced_account_service.rb +1 -1
  155. data/lib/adwords_api/v201101/serviced_account_service_registry.rb +3 -3
  156. data/lib/adwords_api/v201101/targeting_idea_service.rb +5 -5
  157. data/lib/adwords_api/v201101/targeting_idea_service_registry.rb +3 -3
  158. data/lib/adwords_api/v201101/traffic_estimator_service.rb +1 -1
  159. data/lib/adwords_api/v201101/traffic_estimator_service_registry.rb +3 -3
  160. data/lib/adwords_api/v201101/user_list_service.rb +1 -1
  161. data/lib/adwords_api/v201101/user_list_service_registry.rb +3 -3
  162. data/lib/adwords_api/v201109/ad_extension_override_service.rb +1 -1
  163. data/lib/adwords_api/v201109/ad_extension_override_service_registry.rb +3 -3
  164. data/lib/adwords_api/v201109/ad_group_ad_service.rb +1 -1
  165. data/lib/adwords_api/v201109/ad_group_ad_service_registry.rb +3 -3
  166. data/lib/adwords_api/v201109/ad_group_criterion_service.rb +1 -1
  167. data/lib/adwords_api/v201109/ad_group_criterion_service_registry.rb +3 -3
  168. data/lib/adwords_api/v201109/ad_group_service.rb +1 -1
  169. data/lib/adwords_api/v201109/ad_group_service_registry.rb +3 -3
  170. data/lib/adwords_api/v201109/ad_param_service.rb +1 -1
  171. data/lib/adwords_api/v201109/ad_param_service_registry.rb +3 -3
  172. data/lib/adwords_api/v201109/alert_service.rb +1 -1
  173. data/lib/adwords_api/v201109/alert_service_registry.rb +3 -3
  174. data/lib/adwords_api/v201109/bulk_mutate_job_service.rb +1 -1
  175. data/lib/adwords_api/v201109/bulk_mutate_job_service_registry.rb +3 -3
  176. data/lib/adwords_api/v201109/bulk_opportunity_service.rb +1 -1
  177. data/lib/adwords_api/v201109/bulk_opportunity_service_registry.rb +3 -3
  178. data/lib/adwords_api/v201109/campaign_ad_extension_service.rb +1 -1
  179. data/lib/adwords_api/v201109/campaign_ad_extension_service_registry.rb +3 -3
  180. data/lib/adwords_api/v201109/campaign_criterion_service.rb +1 -1
  181. data/lib/adwords_api/v201109/campaign_criterion_service_registry.rb +3 -3
  182. data/lib/adwords_api/v201109/campaign_service.rb +1 -1
  183. data/lib/adwords_api/v201109/campaign_service_registry.rb +3 -3
  184. data/lib/adwords_api/v201109/campaign_target_service.rb +1 -1
  185. data/lib/adwords_api/v201109/campaign_target_service_registry.rb +3 -3
  186. data/lib/adwords_api/v201109/constant_data_service.rb +1 -1
  187. data/lib/adwords_api/v201109/constant_data_service_registry.rb +3 -3
  188. data/lib/adwords_api/v201109/conversion_tracker_service.rb +1 -1
  189. data/lib/adwords_api/v201109/conversion_tracker_service_registry.rb +3 -3
  190. data/lib/adwords_api/v201109/create_account_service.rb +32 -0
  191. data/lib/adwords_api/v201109/create_account_service_registry.rb +45 -0
  192. data/lib/adwords_api/v201109/customer_sync_service.rb +1 -1
  193. data/lib/adwords_api/v201109/customer_sync_service_registry.rb +3 -3
  194. data/lib/adwords_api/v201109/data_service.rb +1 -1
  195. data/lib/adwords_api/v201109/data_service_registry.rb +3 -3
  196. data/lib/adwords_api/v201109/experiment_service.rb +1 -1
  197. data/lib/adwords_api/v201109/experiment_service_registry.rb +3 -3
  198. data/lib/adwords_api/v201109/geo_location_service.rb +1 -1
  199. data/lib/adwords_api/v201109/geo_location_service_registry.rb +3 -3
  200. data/lib/adwords_api/v201109/info_service.rb +1 -1
  201. data/lib/adwords_api/v201109/info_service_registry.rb +3 -3
  202. data/lib/adwords_api/v201109/location_criterion_service.rb +1 -1
  203. data/lib/adwords_api/v201109/location_criterion_service_registry.rb +3 -3
  204. data/lib/adwords_api/v201109/media_service.rb +5 -5
  205. data/lib/adwords_api/v201109/media_service_registry.rb +3 -3
  206. data/lib/adwords_api/v201109/mutate_job_service.rb +1 -1
  207. data/lib/adwords_api/v201109/mutate_job_service_registry.rb +3 -3
  208. data/lib/adwords_api/v201109/report_definition_service.rb +1 -1
  209. data/lib/adwords_api/v201109/report_definition_service_registry.rb +3 -3
  210. data/lib/adwords_api/v201109/serviced_account_service.rb +1 -1
  211. data/lib/adwords_api/v201109/serviced_account_service_registry.rb +3 -3
  212. data/lib/adwords_api/v201109/targeting_idea_service.rb +5 -5
  213. data/lib/adwords_api/v201109/targeting_idea_service_registry.rb +3 -3
  214. data/lib/adwords_api/v201109/traffic_estimator_service.rb +1 -1
  215. data/lib/adwords_api/v201109/traffic_estimator_service_registry.rb +3 -3
  216. data/lib/adwords_api/v201109/user_list_service.rb +1 -1
  217. data/lib/adwords_api/v201109/user_list_service_registry.rb +3 -3
  218. data/test/bugs/test_issue_00000031.rb +7 -11
  219. metadata +11 -8
@@ -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.5.2 on 2011-10-20 20:39:45.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:39:51.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V200909; module BulkMutateJobService
11
11
  class BulkMutateJobServiceRegistry
12
- BULKMUTATEJOBSERVICE_METHODS = {:get=>{:input=>[{:type=>"BulkMutateJobSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"BulkMutateJob", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"JobOperation", :max_occurs=>1, :min_occurs=>0, :name=>:operation}], :output=>{:fields=>[{:type=>"BulkMutateJob", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- BULKMUTATEJOBSERVICE_TYPES = {:Audio=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:duration_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:streaming_url}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:ready_to_play_on_the_web}], :base=>"Media"}, :CampaignTargetOperation=>{:fields=>[{:type=>"TargetList", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :FrequencyCap=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"TimeUnit", :max_occurs=>1, :min_occurs=>0, :name=>:time_unit}, {:type=>"Level", :max_occurs=>1, :min_occurs=>0, :name=>:level}]}, :DemographicTarget=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bid_modifier}], :abstract=>true, :base=>"Target"}, :AdGroupCriterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"Criterion", :max_occurs=>1, :min_occurs=>0, :name=>:criterion}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_criterion_type}]}, :OperationStream=>{:fields=>[{:type=>"EntityId", :max_occurs=>1, :min_occurs=>0, :name=>:scoping_entity_id}, {:type=>"Operation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :EntityId=>{:fields=>[{:type=>"EntityId.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :LanguageTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:language_code}], :base=>"Target"}, :Image=>{:fields=>[{:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:data}], :base=>"Media"}, :PlatformTargetList=>{:fields=>[{:type=>"PlatformTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :AdGroupAd=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"Ad", :max_occurs=>1, :min_occurs=>0, :name=>:ad}, {:type=>"AdGroupAd.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"AdStats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}]}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :AdScheduleTargetList=>{:fields=>[{:type=>"AdScheduleTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :BiddingStrategy=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_strategy_type}], :abstract=>true}, :ExemptionRequest=>{:fields=>[{:type=>"PolicyViolationKey", :max_occurs=>1, :min_occurs=>0, :name=>:key}]}, :MobileAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:headline}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description}, {:type=>"MarkupLanguageType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:markup_languages}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:mobile_carriers}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:business_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}], :base=>"Ad"}, :Job=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:customer_job_key}, {:type=>"JobContext", :max_occurs=>1, :min_occurs=>0, :name=>:context}, {:type=>"ApiErrorReason", :max_occurs=>1, :min_occurs=>0, :name=>:failure_reason}, {:type=>"JobStats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}, {:type=>"BillingSummary", :max_occurs=>1, :min_occurs=>0, :name=>:billing_summary}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:job_type}], :abstract=>true}, :UnprocessedResult=>{:fields=>[], :base=>"OperationResult"}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :BillingSummary=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:num_units}]}, :TextAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:headline}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description1}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description2}], :base=>"Ad"}, :ConversionOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:target_cpa}], :base=>"AdGroupBids"}, :JobOperation=>{:fields=>[{:type=>"Job", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :CampaignOperation=>{:fields=>[{:type=>"BiddingTransition", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_transition}, {:type=>"Campaign", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :PlatformTarget=>{:fields=>[{:type=>"PlatformType", :max_occurs=>1, :min_occurs=>0, :name=>:platform_type}], :base=>"Target"}, :BudgetOptimizerAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_bid}], :base=>"AdGroupCriterionBids"}, :AdGroupCriterionLimitExceeded=>{:fields=>[{:type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :max_occurs=>1, :min_occurs=>0, :name=>:limit_type}], :base=>"EntityCountLimitExceeded"}, :BulkMutateJobPolicy=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:prerequisite_job_ids}]}, :ProximityTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"ProximityTarget.DistanceUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_distance_units}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:radius_in_units}, {:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:allow_service_of_address}], :base=>"GeoTarget"}, :PositionPreferenceAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_max_cpc}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:preferred_position}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bottom_position}]}, :LanguageTargetList=>{:fields=>[{:type=>"LanguageTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :AdUnionId=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_union_id_type}]}, :ManualCPMAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpm}], :base=>"AdGroupBids"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :BulkMutateRequest=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:part_index}, {:type=>"OperationStream", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operation_streams}]}, :EntityCountLimitExceeded=>{:fields=>[{:type=>"EntityCountLimitExceeded.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:enclosing_id}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:limit}], :base=>"ApiError"}, :MobileImageAd=>{:fields=>[{:type=>"MarkupLanguageType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:markup_languages}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:mobile_carriers}, {:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:image}], :base=>"Ad"}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}]}, :CampaignCriterionLimitExceeded=>{:fields=>[{:type=>"CampaignCriterionLimitExceeded.CriteriaLimitType", :max_occurs=>1, :min_occurs=>0, :name=>:limit_type}], :base=>"EntityCountLimitExceeded"}, :ConversionOptimizerBiddingTransition=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:use_saved_bids}], :base=>"BiddingTransition"}, :CityTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"GeoTarget"}, :AdStats=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:percent_served}], :base=>"Stats"}, :LocalBusinessAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:full_business_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:region}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:region_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:business_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description1}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description2}, {:type=>"ProximityTarget", :max_occurs=>1, :min_occurs=>0, :name=>:target}, {:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:business_image}, {:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:icon}], :base=>"Ad"}, :AdGroup=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"AdGroup.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"AdGroupBids", :max_occurs=>1, :min_occurs=>0, :name=>:bids}, {:type=>"Stats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}]}, :Operand=>{:fields=>[]}, :AdGroupCriterionBids=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_criterion_bids_type}], :abstract=>true}, :PolicyViolationKey=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:policy_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:violating_text}]}, :ManualCPC=>{:fields=>[], :base=>"BiddingStrategy"}, :GenderTarget=>{:fields=>[{:type=>"GenderTarget.Gender", :max_occurs=>1, :min_occurs=>0, :name=>:gender}], :base=>"DemographicTarget"}, :DeprecatedAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"DeprecatedAd.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}], :base=>"Ad"}, :ContentLabel=>{:fields=>[{:type=>"ContentLabelType", :max_occurs=>1, :min_occurs=>0, :name=>:content_label_type}], :base=>"Criterion"}, :TemplateAd=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:template_id}, {:type=>"AdUnionId", :max_occurs=>1, :min_occurs=>0, :name=>:ad_union_id}, {:type=>"TemplateElement", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:template_elements}, {:type=>"Dimensions", :max_occurs=>1, :min_occurs=>0, :name=>:dimensions}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:duration}], :base=>"Ad"}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}]}, :AdExtensionOverride=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_id}, {:type=>"AdExtension", :max_occurs=>1, :min_occurs=>0, :name=>:ad_extension}, {:type=>"OverrideInfo", :max_occurs=>1, :min_occurs=>0, :name=>:override_info}, {:type=>"AdExtensionOverride.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"AdExtensionOverride.ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}, {:type=>"AdExtensionOverrideStats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}]}, :AdGroupCriterionOperation=>{:fields=>[{:type=>"AdGroupCriterion", :max_occurs=>1, :min_occurs=>0, :name=>:operand}, {:type=>"ExemptionRequest", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:exemption_requests}], :base=>"Operation"}, :OperationStreamResult=>{:fields=>[{:type=>"OperationResult", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operation_results}]}, :Stats=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Stats.Network", :max_occurs=>1, :min_occurs=>0, :name=>:network}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:average_position}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpc}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpm}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:ctr}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions_many_per_click}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate_many_per_click}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion_many_per_click}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_type}]}, :Media_Size_DimensionsMapEntry=>{:fields=>[{:type=>"Media.Size", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"Dimensions", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :FailureResult=>{:fields=>[{:type=>"ApiException", :max_occurs=>1, :min_occurs=>0, :name=>:cause}], :base=>"OperationResult"}, :Budget=>{:fields=>[{:type=>"Budget.BudgetPeriod", :max_occurs=>1, :min_occurs=>0, :name=>:period}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:amount}, {:type=>"Budget.BudgetDeliveryMethod", :max_occurs=>1, :min_occurs=>0, :name=>:delivery_method}]}, :MetroTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:metro_code}], :base=>"GeoTarget"}, :ReturnValueResult=>{:fields=>[{:type=>"Operand", :max_occurs=>1, :min_occurs=>0, :name=>:return_value}], :base=>"OperationResult"}, :AdGroupAdOperation=>{:fields=>[{:type=>"AdGroupAd", :max_occurs=>1, :min_occurs=>0, :name=>:operand}, {:type=>"ExemptionRequest", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:exemption_requests}], :base=>"Operation"}, :ApiErrorReason=>{:fields=>[]}, :BiddingTransition=>{:fields=>[{:type=>"BiddingStrategy", :max_occurs=>1, :min_occurs=>0, :name=>:target_bidding_strategy}, {:type=>"AdGroupBids", :max_occurs=>1, :min_occurs=>0, :name=>:explicit_ad_group_bids}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_transition_type}]}, :Bid=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:amount}]}, :JobContext=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:authenticated_user_email}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:effective_customer_id}]}, :BulkMutateJob=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"BulkMutateJobPolicy", :max_occurs=>1, :min_occurs=>0, :name=>:policy}, {:type=>"BulkMutateRequest", :max_occurs=>1, :min_occurs=>0, :name=>:request}, {:type=>"BasicJobStatus", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"BulkMutateJobEvent", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:history}, {:type=>"BulkMutateResult", :max_occurs=>1, :min_occurs=>0, :name=>:result}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_request_parts}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_request_parts_received}], :base=>"Job"}, :PolygonTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:vertices}], :base=>"GeoTarget"}, :ManualCPCAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:keyword_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:keyword_content_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:site_max_cpc}], :base=>"AdGroupBids"}, :JobSelector=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:customer_job_keys}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:include_history}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:include_stats}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:job_selector_type}], :abstract=>true}, :BulkMutateJobSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:job_ids}, {:type=>"BasicJobStatus", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:job_statuses}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:result_part_index}], :base=>"JobSelector"}, :ConversionOptimizerAdGroupCriterionBids=>{:fields=>[], :base=>"AdGroupCriterionBids"}, :Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry=>{:fields=>[{:type=>"Media.MediaExtendedCapabilityType", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"Media.MediaExtendedCapabilityState", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :Target=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_type}], :abstract=>true}, :LocationOverrideInfo=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:radius}, {:type=>"LocationOverrideInfo.RadiusUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_units}]}, :AdScheduleTarget=>{:fields=>[{:type=>"DayOfWeek", :max_occurs=>1, :min_occurs=>0, :name=>:day_of_week}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:start_minute}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:end_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:end_minute}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:bid_multiplier}], :base=>"Target"}, :Keyword=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:text}, {:type=>"KeywordMatchType", :max_occurs=>1, :min_occurs=>0, :name=>:match_type}], :base=>"Criterion"}, :AdExtensionOverrideStats=>{:fields=>[], :base=>"Stats"}, :BulkMutateResult=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:part_index}, {:type=>"OperationStreamResult", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operation_stream_results}]}, :TemplateElementField=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"TemplateElementField.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field_text}, {:type=>"Media", :max_occurs=>1, :min_occurs=>0, :name=>:field_media}]}, :Criterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_type}]}, :NegativeCampaignCriterion=>{:fields=>[], :base=>"CampaignCriterion"}, :CampaignCriterionOperation=>{:fields=>[{:type=>"CampaignCriterion", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :CountryTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"GeoTarget"}, :Placement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}], :base=>"Criterion"}, :TemplateElement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:unique_name}, {:type=>"TemplateElementField", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:fields}]}, :BiddableAdGroupCriterion=>{:fields=>[{:type=>"UserStatus", :max_occurs=>1, :min_occurs=>0, :name=>:user_status}, {:type=>"SystemServingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:system_serving_status}, {:type=>"ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:destination_url}, {:type=>"AdGroupCriterionBids", :max_occurs=>1, :min_occurs=>0, :name=>:bids}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:first_page_cpc}, {:type=>"QualityInfo", :max_occurs=>1, :min_occurs=>0, :name=>:quality_info}, {:type=>"Stats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}], :base=>"AdGroupCriterion"}, :AdGroupOperation=>{:fields=>[{:type=>"AdGroup", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :OperationResult=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_result_type}], :abstract=>true}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :QualityInfo=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_keyword_ad_relevance_acceptable}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_landing_page_quality_acceptable}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_landing_page_latency_acceptable}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:quality_score}]}, :ManualCPM=>{:fields=>[], :base=>"BiddingStrategy"}, :GeoTarget=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:excluded}], :abstract=>true, :base=>"Target"}, :Dimensions=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:width}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:height}]}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :abstract=>true}, :DemographicTargetList=>{:fields=>[{:type=>"DemographicTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :OverrideInfo=>{:fields=>[]}, :LocationExtension=>{:fields=>[{:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:encoded_location}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:company_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}, {:type=>"LocationExtension.Source", :max_occurs=>1, :min_occurs=>0, :name=>:source}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:icon_media_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:image_media_id}], :base=>"AdExtension"}, :Ad=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:display_url}, {:type=>"Ad.ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:disapproval_reasons}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_type}]}, :Media_Size_StringMapEntry=>{:fields=>[{:type=>"Media.Size", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :AdExtension=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_extension_type}]}, :GeoTargetList=>{:fields=>[{:type=>"GeoTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :BudgetOptimizer=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:bid_ceiling}], :base=>"BiddingStrategy"}, :TargetList=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_list_type}], :abstract=>true}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :BatchFailureResult=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:operation_index_in_batch}], :base=>"OperationResult"}, :TempAdUnionId=>{:fields=>[], :base=>"AdUnionId"}, :BudgetOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_keyword_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_site_max_cpc}], :base=>"AdGroupBids"}, :JobEvent=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:date_time}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:job_event_type}]}, :Campaign=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"CampaignStatus", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"ServingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:serving_status}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Budget", :max_occurs=>1, :min_occurs=>0, :name=>:budget}, {:type=>"BiddingStrategy", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_strategy}, {:type=>"AutoKeywordMatchingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:auto_keyword_matching_status}, {:type=>"Stats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}, {:type=>"AdServingOptimizationStatus", :max_occurs=>1, :min_occurs=>0, :name=>:ad_serving_optimization_status}, {:type=>"FrequencyCap", :max_occurs=>1, :min_occurs=>0, :name=>:frequency_cap}]}, :NetworkTarget=>{:fields=>[{:type=>"NetworkCoverageType", :max_occurs=>1, :min_occurs=>0, :name=>:network_coverage_type}], :base=>"Target"}, :"PolicyViolationError.Part"=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:length}]}, :BulkMutateJobEvent=>{:fields=>[{:type=>"BasicJobStatus", :max_occurs=>1, :min_occurs=>0, :name=>:status}], :base=>"JobEvent"}, :Video=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:duration_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:streaming_url}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:ready_to_play_on_the_web}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:industry_standard_commercial_identifier}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:advertising_id}], :base=>"Media"}, :ProvinceTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}], :base=>"GeoTarget"}, :ManualCPMAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpm}, {:type=>"BidSource", :max_occurs=>1, :min_occurs=>0, :name=>:bid_source}], :base=>"AdGroupCriterionBids"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :JobStats=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:progress_percent}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:pending_time_millis}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:processing_time_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:job_stats_type}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:application_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :BulkMutateJobStats=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_operations}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_failed_operations}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_unprocessed_operations}], :base=>"JobStats"}, :EntityAccessDenied=>{:fields=>[{:type=>"EntityAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Media=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:media_id}, {:type=>"Media.MediaType", :max_occurs=>1, :min_occurs=>0, :name=>:media_type_db}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:reference_id}, {:type=>"Media_Size_DimensionsMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:dimensions}, {:type=>"Media_Size_StringMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:urls}, {:type=>"Media.MimeType", :max_occurs=>1, :min_occurs=>0, :name=>:mime_type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:source_url}, {:type=>"Media.MediaSubType", :max_occurs=>1, :min_occurs=>0, :name=>:media_sub_type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:file_size}, {:type=>"Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:extended_capabilities}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:creation_time}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:media_type}]}, :AdGroupBids=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_bids_type}], :abstract=>true}, :LostResult=>{:fields=>[], :base=>"OperationResult"}, :ConversionOptimizer=>{:fields=>[{:type=>"PricingModel", :max_occurs=>1, :min_occurs=>0, :name=>:pricing_model}], :base=>"BiddingStrategy"}, :AgeTarget=>{:fields=>[{:type=>"AgeTarget.Age", :max_occurs=>1, :min_occurs=>0, :name=>:age}], :base=>"DemographicTarget"}, :NegativeAdGroupCriterion=>{:fields=>[], :base=>"AdGroupCriterion"}, :AdGroupAdCountLimitExceeded=>{:fields=>[], :base=>"EntityCountLimitExceeded"}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :base=>"ComparableValue"}, :CampaignCriterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"Criterion", :max_occurs=>1, :min_occurs=>0, :name=>:criterion}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_criterion_type}]}, :NetworkTargetList=>{:fields=>[{:type=>"NetworkTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :ManualCPCAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpc}, {:type=>"BidSource", :max_occurs=>1, :min_occurs=>0, :name=>:bid_source}, {:type=>"PositionPreferenceAdGroupCriterionBids", :max_occurs=>1, :min_occurs=>0, :name=>:position_preference_bids}], :base=>"AdGroupCriterionBids"}, :ImageAd=>{:fields=>[{:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:image}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}], :base=>"Ad"}}
12
+ BULKMUTATEJOBSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"BulkMutateJobSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"BulkMutateJob", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :mutate=>{:input=>[{:name=>:operation, :type=>"JobOperation", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"BulkMutateJob", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ BULKMUTATEJOBSERVICE_TYPES = {:Ad=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"Ad.ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:disapproval_reasons, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdExtension=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_extension_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdExtensionOverride=>{:fields=>[{:name=>:ad_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_extension, :type=>"AdExtension", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_info, :type=>"OverrideInfo", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdExtensionOverride.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"AdExtensionOverride.ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"AdExtensionOverrideStats", :min_occurs=>0, :max_occurs=>1}]}, :AdExtensionOverrideStats=>{:fields=>[], :base=>"Stats"}, :AdGroup=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdGroup.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:bids, :type=>"AdGroupBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"Stats", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupAd=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad, :type=>"Ad", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdGroupAd.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"AdStats", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupAdCountLimitExceeded=>{:fields=>[], :base=>"EntityCountLimitExceeded"}, :AdGroupAdOperation=>{:fields=>[{:name=>:operand, :type=>"AdGroupAd", :min_occurs=>0, :max_occurs=>1}, {:name=>:exemption_requests, :type=>"ExemptionRequest", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Operation"}, :AdGroupBids=>{:fields=>[{:name=>:ad_group_bids_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdGroupCriterion=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion, :type=>"Criterion", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupCriterionBids=>{:fields=>[{:name=>:ad_group_criterion_bids_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdGroupCriterionLimitExceeded=>{:fields=>[{:name=>:limit_type, :type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :min_occurs=>0, :max_occurs=>1}], :base=>"EntityCountLimitExceeded"}, :AdGroupCriterionOperation=>{:fields=>[{:name=>:operand, :type=>"AdGroupCriterion", :min_occurs=>0, :max_occurs=>1}, {:name=>:exemption_requests, :type=>"ExemptionRequest", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Operation"}, :AdGroupOperation=>{:fields=>[{:name=>:operand, :type=>"AdGroup", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :AdScheduleTarget=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_multiplier, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :AdScheduleTargetList=>{:fields=>[{:name=>:targets, :type=>"AdScheduleTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :AdStats=>{:fields=>[{:name=>:percent_served, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"Stats"}, :AdUnionId=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_union_id_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Address=>{:fields=>[{:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AgeTarget=>{:fields=>[{:name=>:age, :type=>"AgeTarget.Age", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget"}, :ApiErrorReason=>{:fields=>[]}, :Audio=>{:fields=>[{:name=>:duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:streaming_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ready_to_play_on_the_web, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :BatchFailureResult=>{:fields=>[{:name=>:operation_index_in_batch, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"OperationResult"}, :Bid=>{:fields=>[{:name=>:amount, :type=>"Money", :min_occurs=>0, :max_occurs=>1}]}, :BiddableAdGroupCriterion=>{:fields=>[{:name=>:user_status, :type=>"UserStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:system_serving_status, :type=>"SystemServingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:destination_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:bids, :type=>"AdGroupCriterionBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:first_page_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:quality_info, :type=>"QualityInfo", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"Stats", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterion"}, :BiddingStrategy=>{:fields=>[{:name=>:bidding_strategy_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BiddingTransition=>{:fields=>[{:name=>:target_bidding_strategy, :type=>"BiddingStrategy", :min_occurs=>0, :max_occurs=>1}, {:name=>:explicit_ad_group_bids, :type=>"AdGroupBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:bidding_transition_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :BillingSummary=>{:fields=>[{:name=>:num_operations, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Budget=>{:fields=>[{:name=>:period, :type=>"Budget.BudgetPeriod", :min_occurs=>0, :max_occurs=>1}, {:name=>:amount, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:delivery_method, :type=>"Budget.BudgetDeliveryMethod", :min_occurs=>0, :max_occurs=>1}]}, :BudgetOptimizer=>{:fields=>[{:name=>:bid_ceiling, :type=>"Money", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingStrategy"}, :BudgetOptimizerAdGroupBids=>{:fields=>[{:name=>:proxy_keyword_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:proxy_site_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :BudgetOptimizerAdGroupCriterionBids=>{:fields=>[{:name=>:proxy_bid, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterionBids"}, :BulkMutateJob=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:policy, :type=>"BulkMutateJobPolicy", :min_occurs=>0, :max_occurs=>1}, {:name=>:request, :type=>"BulkMutateRequest", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"BasicJobStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:history, :type=>"BulkMutateJobEvent", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:result, :type=>"BulkMutateResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_request_parts, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_request_parts_received, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Job"}, :BulkMutateJobEvent=>{:fields=>[{:name=>:status, :type=>"BasicJobStatus", :min_occurs=>0, :max_occurs=>1}], :base=>"JobEvent"}, :BulkMutateJobPolicy=>{:fields=>[{:name=>:prerequisite_job_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BulkMutateJobSelector=>{:fields=>[{:name=>:job_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:job_statuses, :type=>"BasicJobStatus", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:result_part_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"JobSelector"}, :BulkMutateJobStats=>{:fields=>[{:name=>:num_operations, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_failed_operations, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_unprocessed_operations, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"JobStats"}, :BulkMutateRequest=>{:fields=>[{:name=>:part_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_streams, :type=>"OperationStream", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BulkMutateResult=>{:fields=>[{:name=>:part_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_stream_results, :type=>"OperationStreamResult", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Campaign=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"CampaignStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:serving_status, :type=>"ServingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:budget, :type=>"Budget", :min_occurs=>0, :max_occurs=>1}, {:name=>:bidding_strategy, :type=>"BiddingStrategy", :min_occurs=>0, :max_occurs=>1}, {:name=>:auto_keyword_matching_status, :type=>"AutoKeywordMatchingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"Stats", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_serving_optimization_status, :type=>"AdServingOptimizationStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:frequency_cap, :type=>"FrequencyCap", :min_occurs=>0, :max_occurs=>1}]}, :CampaignCriterion=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion, :type=>"Criterion", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CampaignCriterionLimitExceeded=>{:fields=>[{:name=>:limit_type, :type=>"CampaignCriterionLimitExceeded.CriteriaLimitType", :min_occurs=>0, :max_occurs=>1}], :base=>"EntityCountLimitExceeded"}, :CampaignCriterionOperation=>{:fields=>[{:name=>:operand, :type=>"CampaignCriterion", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CampaignOperation=>{:fields=>[{:name=>:bidding_transition, :type=>"BiddingTransition", :min_occurs=>0, :max_occurs=>1}, {:name=>:operand, :type=>"Campaign", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CampaignTargetOperation=>{:fields=>[{:name=>:operand, :type=>"TargetList", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CityTarget=>{:fields=>[{:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ContentLabel=>{:fields=>[{:name=>:content_label_type, :type=>"ContentLabelType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :ConversionOptimizer=>{:fields=>[{:name=>:pricing_model, :type=>"PricingModel", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingStrategy"}, :ConversionOptimizerAdGroupBids=>{:fields=>[{:name=>:target_cpa, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ConversionOptimizerAdGroupCriterionBids=>{:fields=>[], :base=>"AdGroupCriterionBids"}, :ConversionOptimizerBiddingTransition=>{:fields=>[{:name=>:use_saved_bids, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingTransition"}, :CountryTarget=>{:fields=>[{:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :Criterion=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DemographicTarget=>{:fields=>[{:name=>:bid_modifier, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target"}, :DemographicTargetList=>{:fields=>[{:name=>:targets, :type=>"DemographicTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :DeprecatedAd=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"DeprecatedAd.Type", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :Dimensions=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :EntityAccessDenied=>{:fields=>[{:name=>:reason, :type=>"EntityAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityId=>{:fields=>[{:name=>:type, :type=>"EntityId.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ExemptionRequest=>{:fields=>[{:name=>:key, :type=>"PolicyViolationKey", :min_occurs=>0, :max_occurs=>1}]}, :FailureResult=>{:fields=>[{:name=>:cause, :type=>"ApiException", :min_occurs=>0, :max_occurs=>1}], :base=>"OperationResult"}, :FrequencyCap=>{:fields=>[{:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_unit, :type=>"TimeUnit", :min_occurs=>0, :max_occurs=>1}, {:name=>:level, :type=>"Level", :min_occurs=>0, :max_occurs=>1}]}, :GenderTarget=>{:fields=>[{:name=>:gender, :type=>"GenderTarget.Gender", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget"}, :GeoPoint=>{:fields=>[{:name=>:latitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:longitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :GeoTarget=>{:fields=>[{:name=>:excluded, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target"}, :GeoTargetList=>{:fields=>[{:name=>:targets, :type=>"GeoTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :Image=>{:fields=>[{:name=>:data, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :ImageAd=>{:fields=>[{:name=>:image, :type=>"Image", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :Job=>{:fields=>[{:name=>:customer_job_key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:context, :type=>"JobContext", :min_occurs=>0, :max_occurs=>1}, {:name=>:failure_reason, :type=>"ApiErrorReason", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"JobStats", :min_occurs=>0, :max_occurs=>1}, {:name=>:billing_summary, :type=>"BillingSummary", :min_occurs=>0, :max_occurs=>1}, {:name=>:job_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :JobContext=>{:fields=>[{:name=>:authenticated_user_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:effective_customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :JobEvent=>{:fields=>[{:name=>:date_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:job_event_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :JobOperation=>{:fields=>[{:name=>:operand, :type=>"Job", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :JobSelector=>{:fields=>[{:name=>:customer_job_keys, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:include_history, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_stats, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:job_selector_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :JobStats=>{:fields=>[{:name=>:progress_percent, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:pending_time_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:processing_time_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:job_stats_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Keyword=>{:fields=>[{:name=>:text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:match_type, :type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :LanguageTarget=>{:fields=>[{:name=>:language_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :LanguageTargetList=>{:fields=>[{:name=>:targets, :type=>"LanguageTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :LocalBusinessAd=>{:fields=>[{:name=>:full_business_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:region, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:region_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:business_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description1, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:target, :type=>"ProximityTarget", :min_occurs=>0, :max_occurs=>1}, {:name=>:business_image, :type=>"Image", :min_occurs=>0, :max_occurs=>1}, {:name=>:icon, :type=>"Image", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :LocationExtension=>{:fields=>[{:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:encoded_location, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:source, :type=>"LocationExtension.Source", :min_occurs=>0, :max_occurs=>1}, {:name=>:icon_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:image_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"AdExtension"}, :LocationOverrideInfo=>{:fields=>[{:name=>:radius, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_units, :type=>"LocationOverrideInfo.RadiusUnits", :min_occurs=>0, :max_occurs=>1}]}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :LostResult=>{:fields=>[], :base=>"OperationResult"}, :ManualCPC=>{:fields=>[], :base=>"BiddingStrategy"}, :ManualCPCAdGroupBids=>{:fields=>[{:name=>:keyword_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:keyword_content_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:site_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ManualCPCAdGroupCriterionBids=>{:fields=>[{:name=>:max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_source, :type=>"BidSource", :min_occurs=>0, :max_occurs=>1}, {:name=>:position_preference_bids, :type=>"PositionPreferenceAdGroupCriterionBids", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterionBids"}, :ManualCPM=>{:fields=>[], :base=>"BiddingStrategy"}, :ManualCPMAdGroupBids=>{:fields=>[{:name=>:max_cpm, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ManualCPMAdGroupCriterionBids=>{:fields=>[{:name=>:max_cpm, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_source, :type=>"BidSource", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterionBids"}, :Media=>{:fields=>[{:name=>:media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_type_db, :type=>"Media.MediaType", :min_occurs=>0, :max_occurs=>1}, {:name=>:reference_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:dimensions, :type=>"Media_Size_DimensionsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:urls, :type=>"Media_Size_StringMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mime_type, :type=>"Media.MimeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:source_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_sub_type, :type=>"Media.MediaSubType", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:extended_capabilities, :type=>"Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:creation_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.MediaExtendedCapabilityType", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Media.MediaExtendedCapabilityState", :min_occurs=>0, :max_occurs=>1}]}, :Media_Size_DimensionsMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Dimensions", :min_occurs=>0, :max_occurs=>1}]}, :Media_Size_StringMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :MetroTarget=>{:fields=>[{:name=>:metro_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :MobileAd=>{:fields=>[{:name=>:headline, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:markup_languages, :type=>"MarkupLanguageType", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mobile_carriers, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:business_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :MobileImageAd=>{:fields=>[{:name=>:markup_languages, :type=>"MarkupLanguageType", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mobile_carriers, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:image, :type=>"Image", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NegativeAdGroupCriterion=>{:fields=>[], :base=>"AdGroupCriterion"}, :NegativeCampaignCriterion=>{:fields=>[], :base=>"CampaignCriterion"}, :NetworkTarget=>{:fields=>[{:name=>:network_coverage_type, :type=>"NetworkCoverageType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :NetworkTargetList=>{:fields=>[{:name=>:targets, :type=>"NetworkTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :Operand=>{:fields=>[]}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperationResult=>{:fields=>[{:name=>:operation_result_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :OperationStream=>{:fields=>[{:name=>:scoping_entity_id, :type=>"EntityId", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"Operation", :min_occurs=>0, :max_occurs=>:unbounded}]}, :OperationStreamResult=>{:fields=>[{:name=>:operation_results, :type=>"OperationResult", :min_occurs=>0, :max_occurs=>:unbounded}]}, :OverrideInfo=>{:fields=>[]}, :Placement=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :PlatformTarget=>{:fields=>[{:name=>:platform_type, :type=>"PlatformType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :PlatformTargetList=>{:fields=>[{:name=>:targets, :type=>"PlatformTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :"PolicyViolationError.Part"=>{:fields=>[{:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:length, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :PolicyViolationKey=>{:fields=>[{:name=>:policy_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:violating_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :PolygonTarget=>{:fields=>[{:name=>:vertices, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"GeoTarget"}, :PositionPreferenceAdGroupCriterionBids=>{:fields=>[{:name=>:proxy_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:preferred_position, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:bottom_position, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :ProvinceTarget=>{:fields=>[{:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :ProximityTarget=>{:fields=>[{:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_distance_units, :type=>"ProximityTarget.DistanceUnits", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_in_units, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:allow_service_of_address, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :QualityInfo=>{:fields=>[{:name=>:is_keyword_ad_relevance_acceptable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_landing_page_quality_acceptable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_landing_page_latency_acceptable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:quality_score, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :ReturnValueResult=>{:fields=>[{:name=>:return_value, :type=>"Operand", :min_occurs=>0, :max_occurs=>1}], :base=>"OperationResult"}, :SoapHeader=>{:fields=>[{:name=>:application_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Stats=>{:fields=>[{:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:network, :type=>"Stats.Network", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_position, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpc, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpm, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:ctr, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions_many_per_click, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate_many_per_click, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion_many_per_click, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Target=>{:fields=>[{:name=>:target_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :TargetList=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_list_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :TempAdUnionId=>{:fields=>[], :base=>"AdUnionId"}, :TemplateAd=>{:fields=>[{:name=>:template_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_union_id, :type=>"AdUnionId", :min_occurs=>0, :max_occurs=>1}, {:name=>:template_elements, :type=>"TemplateElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:dimensions, :type=>"Dimensions", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :TemplateElement=>{:fields=>[{:name=>:unique_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fields, :type=>"TemplateElementField", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TemplateElementField=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"TemplateElementField.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_media, :type=>"Media", :min_occurs=>0, :max_occurs=>1}]}, :TextAd=>{:fields=>[{:name=>:headline, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description1, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description2, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :UnprocessedResult=>{:fields=>[], :base=>"OperationResult"}, :Video=>{:fields=>[{:name=>:duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:streaming_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ready_to_play_on_the_web, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:industry_standard_commercial_identifier, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:advertising_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :"Ad.ApprovalStatus"=>{:fields=>[]}, :"AdExtensionOverride.ApprovalStatus"=>{:fields=>[]}, :"AdExtensionOverride.Status"=>{:fields=>[]}, :"AdGroup.Status"=>{:fields=>[]}, :"AdGroupAd.Status"=>{:fields=>[]}, :"AdGroupCriterionLimitExceeded.CriteriaLimitType"=>{:fields=>[]}, :AdServingOptimizationStatus=>{:fields=>[]}, :"AgeTarget.Age"=>{:fields=>[]}, :ApprovalStatus=>{:fields=>[]}, :AutoKeywordMatchingStatus=>{:fields=>[]}, :BasicJobStatus=>{:fields=>[]}, :BidSource=>{:fields=>[]}, :"Budget.BudgetDeliveryMethod"=>{:fields=>[]}, :"Budget.BudgetPeriod"=>{:fields=>[]}, :"CampaignCriterionLimitExceeded.CriteriaLimitType"=>{:fields=>[]}, :CampaignStatus=>{:fields=>[]}, :ContentLabelType=>{:fields=>[]}, :DayOfWeek=>{:fields=>[]}, :"DeprecatedAd.Type"=>{:fields=>[]}, :"EntityId.Type"=>{:fields=>[]}, :"GenderTarget.Gender"=>{:fields=>[]}, :KeywordMatchType=>{:fields=>[]}, :Level=>{:fields=>[]}, :"LocationExtension.Source"=>{:fields=>[]}, :"LocationOverrideInfo.RadiusUnits"=>{:fields=>[]}, :MarkupLanguageType=>{:fields=>[]}, :"Media.MediaExtendedCapabilityState"=>{:fields=>[]}, :"Media.MediaExtendedCapabilityType"=>{:fields=>[]}, :"Media.MediaSubType"=>{:fields=>[]}, :"Media.MediaType"=>{:fields=>[]}, :"Media.MimeType"=>{:fields=>[]}, :"Media.Size"=>{:fields=>[]}, :MinuteOfHour=>{:fields=>[]}, :NetworkCoverageType=>{:fields=>[]}, :Operator=>{:fields=>[]}, :PlatformType=>{:fields=>[]}, :PricingModel=>{:fields=>[]}, :"ProximityTarget.DistanceUnits"=>{:fields=>[]}, :ServingStatus=>{:fields=>[]}, :"Stats.Network"=>{:fields=>[]}, :SystemServingStatus=>{:fields=>[]}, :"TemplateElementField.Type"=>{:fields=>[]}, :TimeUnit=>{:fields=>[]}, :UserStatus=>{:fields=>[]}}
14
14
  BULKMUTATEJOBSERVICE_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.5.2 on 2011-10-20 20:39:14.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:39:55.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v200909/campaign_ad_extension_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.5.2 on 2011-10-20 20:39:14.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:39:55.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V200909; module CampaignAdExtensionService
11
11
  class CampaignAdExtensionServiceRegistry
12
- CAMPAIGNADEXTENSIONSERVICE_METHODS = {:get=>{:input=>[{:type=>"CampaignAdExtensionSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"CampaignAdExtensionPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"CampaignAdExtensionOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"CampaignAdExtensionReturnValue", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- CAMPAIGNADEXTENSIONSERVICE_TYPES = {:DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :CampaignAdExtensionReturnValue=>{:fields=>[{:type=>"CampaignAdExtension", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"ListReturnValue"}, :ListReturnValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:list_return_value_type}], :abstract=>true}, :AdExtension=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_extension_type}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:application_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}]}, :CampaignAdExtension=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"AdExtension", :max_occurs=>1, :min_occurs=>0, :name=>:ad_extension}, {:type=>"CampaignAdExtension.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"CampaignAdExtension.ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}]}, :Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :CampaignAdExtensionSelector=>{:fields=>[{:type=>"CampaignAdExtensionStatsSelector", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:campaign_ids}, {:type=>"CampaignAdExtension.Status", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:statuses}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :CampaignAdExtensionOperation=>{:fields=>[{:type=>"CampaignAdExtension", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :StatsSelector=>{:fields=>[{:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector_type}]}, :LocationExtension=>{:fields=>[{:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:encoded_location}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:company_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}, {:type=>"LocationExtension.Source", :max_occurs=>1, :min_occurs=>0, :name=>:source}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:icon_media_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:image_media_id}], :base=>"AdExtension"}, :CampaignAdExtensionStatsSelector=>{:fields=>[], :base=>"StatsSelector"}, :CampaignAdExtensionPage=>{:fields=>[{:type=>"CampaignAdExtension", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"Page"}}
12
+ CAMPAIGNADEXTENSIONSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"CampaignAdExtensionSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"CampaignAdExtensionPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"CampaignAdExtensionOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"CampaignAdExtensionReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ CAMPAIGNADEXTENSIONSERVICE_TYPES = {:Address=>{:fields=>[{:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CampaignAdExtensionStatsSelector=>{:fields=>[], :base=>"StatsSelector"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :GeoPoint=>{:fields=>[{:name=>:latitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:longitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :LocationExtension=>{:fields=>[{:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:encoded_location, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:source, :type=>"LocationExtension.Source", :min_occurs=>0, :max_occurs=>1}, {:name=>:icon_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:image_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"AdExtension"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :SoapHeader=>{:fields=>[{:name=>:application_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StatsSelector=>{:fields=>[{:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_selector_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CampaignAdExtensionSelector=>{:fields=>[{:name=>:stats_selector, :type=>"CampaignAdExtensionStatsSelector", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:statuses, :type=>"CampaignAdExtension.Status", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :AdExtension=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_extension_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CampaignAdExtension=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_extension, :type=>"AdExtension", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"CampaignAdExtension.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"CampaignAdExtension.ApprovalStatus", :min_occurs=>0, :max_occurs=>1}]}, :CampaignAdExtensionOperation=>{:fields=>[{:name=>:operand, :type=>"CampaignAdExtension", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CampaignAdExtensionPage=>{:fields=>[{:name=>:entries, :type=>"CampaignAdExtension", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :CampaignAdExtensionReturnValue=>{:fields=>[{:name=>:value, :type=>"CampaignAdExtension", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"CampaignAdExtension.ApprovalStatus"=>{:fields=>[]}, :"CampaignAdExtension.Status"=>{:fields=>[]}, :"LocationExtension.Source"=>{:fields=>[]}, :Operator=>{:fields=>[]}}
14
14
  CAMPAIGNADEXTENSIONSERVICE_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.5.2 on 2011-10-20 20:39:54.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:39:57.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v200909/campaign_criterion_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.5.2 on 2011-10-20 20:39:54.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:39:57.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V200909; module CampaignCriterionService
11
11
  class CampaignCriterionServiceRegistry
12
- CAMPAIGNCRITERIONSERVICE_METHODS = {:get=>{:input=>[{:type=>"CampaignCriterionSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"CampaignCriterionPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"CampaignCriterionOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"CampaignCriterionReturnValue", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- CAMPAIGNCRITERIONSERVICE_TYPES = {:EntityCountLimitExceeded=>{:fields=>[{:type=>"EntityCountLimitExceeded.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:enclosing_id}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:limit}], :base=>"ApiError"}, :CampaignCriterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"Criterion", :max_occurs=>1, :min_occurs=>0, :name=>:criterion}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_criterion_type}]}, :Keyword=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:text}, {:type=>"KeywordMatchType", :max_occurs=>1, :min_occurs=>0, :name=>:match_type}], :base=>"Criterion"}, :ListReturnValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:list_return_value_type}], :abstract=>true}, :CampaignCriterionLimitExceeded=>{:fields=>[{:type=>"CampaignCriterionLimitExceeded.CriteriaLimitType", :max_occurs=>1, :min_occurs=>0, :name=>:limit_type}], :base=>"EntityCountLimitExceeded"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:application_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :CampaignCriterionIdFilter=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_id}]}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :CampaignCriterionOperation=>{:fields=>[{:type=>"CampaignCriterion", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :NegativeCampaignCriterion=>{:fields=>[], :base=>"CampaignCriterion"}, :CampaignCriterionPage=>{:fields=>[{:type=>"CampaignCriterion", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"Page"}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :Placement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}], :base=>"Criterion"}, :CampaignCriterionReturnValue=>{:fields=>[{:type=>"CampaignCriterion", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"ListReturnValue"}, :Criterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_type}]}, :ContentLabel=>{:fields=>[{:type=>"ContentLabelType", :max_occurs=>1, :min_occurs=>0, :name=>:content_label_type}], :base=>"Criterion"}, :CampaignCriterionSelector=>{:fields=>[{:type=>"CampaignCriterionIdFilter", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:id_filters}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}}
12
+ CAMPAIGNCRITERIONSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"CampaignCriterionSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"CampaignCriterionPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"CampaignCriterionOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"CampaignCriterionReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ CAMPAIGNCRITERIONSERVICE_TYPES = {:CampaignCriterion=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion, :type=>"Criterion", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CampaignCriterionIdFilter=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :CampaignCriterionLimitExceeded=>{:fields=>[{:name=>:limit_type, :type=>"CampaignCriterionLimitExceeded.CriteriaLimitType", :min_occurs=>0, :max_occurs=>1}], :base=>"EntityCountLimitExceeded"}, :CampaignCriterionOperation=>{:fields=>[{:name=>:operand, :type=>"CampaignCriterion", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CampaignCriterionPage=>{:fields=>[{:name=>:entries, :type=>"CampaignCriterion", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :CampaignCriterionReturnValue=>{:fields=>[{:name=>:value, :type=>"CampaignCriterion", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :CampaignCriterionSelector=>{:fields=>[{:name=>:id_filters, :type=>"CampaignCriterionIdFilter", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :ContentLabel=>{:fields=>[{:name=>:content_label_type, :type=>"ContentLabelType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Criterion=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Keyword=>{:fields=>[{:name=>:text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:match_type, :type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :NegativeCampaignCriterion=>{:fields=>[], :base=>"CampaignCriterion"}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Placement=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :SoapHeader=>{:fields=>[{:name=>:application_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :"CampaignCriterionLimitExceeded.CriteriaLimitType"=>{:fields=>[]}, :ContentLabelType=>{:fields=>[]}, :KeywordMatchType=>{:fields=>[]}, :Operator=>{:fields=>[]}}
14
14
  CAMPAIGNCRITERIONSERVICE_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.5.2 on 2011-10-20 20:39:39.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:39:58.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v200909/campaign_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.5.2 on 2011-10-20 20:39:39.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:39:58.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V200909; module CampaignService
11
11
  class CampaignServiceRegistry
12
- CAMPAIGNSERVICE_METHODS = {:get=>{:input=>[{:type=>"CampaignSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"CampaignPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"CampaignOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"CampaignReturnValue", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- CAMPAIGNSERVICE_TYPES = {:CampaignPage=>{:fields=>[{:type=>"Budget", :max_occurs=>1, :min_occurs=>0, :name=>:total_budget}, {:type=>"Campaign", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"Page"}, :DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :BudgetOptimizer=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:bid_ceiling}], :base=>"BiddingStrategy"}, :CampaignReturnValue=>{:fields=>[{:type=>"Campaign", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"ListReturnValue"}, :Bid=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:amount}]}, :Stats=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Stats.Network", :max_occurs=>1, :min_occurs=>0, :name=>:network}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:average_position}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpc}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpm}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:ctr}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions_many_per_click}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate_many_per_click}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion_many_per_click}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_type}]}, :FrequencyCap=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"TimeUnit", :max_occurs=>1, :min_occurs=>0, :name=>:time_unit}, {:type=>"Level", :max_occurs=>1, :min_occurs=>0, :name=>:level}]}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :ListReturnValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:list_return_value_type}], :abstract=>true}, :BiddingStrategy=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_strategy_type}], :abstract=>true}, :ManualCPMAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpm}], :base=>"AdGroupBids"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :CampaignSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ids}, {:type=>"CampaignStatus", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:campaign_statuses}, {:type=>"StatsSelector", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:application_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :ManualCPC=>{:fields=>[], :base=>"BiddingStrategy"}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :BiddingTransition=>{:fields=>[{:type=>"BiddingStrategy", :max_occurs=>1, :min_occurs=>0, :name=>:target_bidding_strategy}, {:type=>"AdGroupBids", :max_occurs=>1, :min_occurs=>0, :name=>:explicit_ad_group_bids}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_transition_type}]}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :BudgetOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_keyword_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_site_max_cpc}], :base=>"AdGroupBids"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :ManualCPM=>{:fields=>[], :base=>"BiddingStrategy"}, :Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :Campaign=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"CampaignStatus", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"ServingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:serving_status}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Budget", :max_occurs=>1, :min_occurs=>0, :name=>:budget}, {:type=>"BiddingStrategy", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_strategy}, {:type=>"AutoKeywordMatchingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:auto_keyword_matching_status}, {:type=>"Stats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}, {:type=>"AdServingOptimizationStatus", :max_occurs=>1, :min_occurs=>0, :name=>:ad_serving_optimization_status}, {:type=>"FrequencyCap", :max_occurs=>1, :min_occurs=>0, :name=>:frequency_cap}]}, :AdGroupBids=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_bids_type}], :abstract=>true}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :ConversionOptimizer=>{:fields=>[{:type=>"PricingModel", :max_occurs=>1, :min_occurs=>0, :name=>:pricing_model}], :base=>"BiddingStrategy"}, :ConversionOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:target_cpa}], :base=>"AdGroupBids"}, :StatsSelector=>{:fields=>[{:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector_type}]}, :CampaignOperation=>{:fields=>[{:type=>"BiddingTransition", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_transition}, {:type=>"Campaign", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :abstract=>true}, :ConversionOptimizerBiddingTransition=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:use_saved_bids}], :base=>"BiddingTransition"}, :ManualCPCAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:keyword_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:keyword_content_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:site_max_cpc}], :base=>"AdGroupBids"}, :Budget=>{:fields=>[{:type=>"Budget.BudgetPeriod", :max_occurs=>1, :min_occurs=>0, :name=>:period}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:amount}, {:type=>"Budget.BudgetDeliveryMethod", :max_occurs=>1, :min_occurs=>0, :name=>:delivery_method}]}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :base=>"ComparableValue"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}}
12
+ CAMPAIGNSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"CampaignSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"CampaignPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"CampaignOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"CampaignReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ CAMPAIGNSERVICE_TYPES = {:ConversionOptimizer=>{:fields=>[{:name=>:pricing_model, :type=>"PricingModel", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingStrategy"}, :ConversionOptimizerBiddingTransition=>{:fields=>[{:name=>:use_saved_bids, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingTransition"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :FrequencyCap=>{:fields=>[{:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_unit, :type=>"TimeUnit", :min_occurs=>0, :max_occurs=>1}, {:name=>:level, :type=>"Level", :min_occurs=>0, :max_occurs=>1}]}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :ManualCPC=>{:fields=>[], :base=>"BiddingStrategy"}, :ManualCPM=>{:fields=>[], :base=>"BiddingStrategy"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :SoapHeader=>{:fields=>[{:name=>:application_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StatsSelector=>{:fields=>[{:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_selector_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Stats=>{:fields=>[{:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:network, :type=>"Stats.Network", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_position, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpc, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpm, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:ctr, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions_many_per_click, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate_many_per_click, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion_many_per_click, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Bid=>{:fields=>[{:name=>:amount, :type=>"Money", :min_occurs=>0, :max_occurs=>1}]}, :Budget=>{:fields=>[{:name=>:period, :type=>"Budget.BudgetPeriod", :min_occurs=>0, :max_occurs=>1}, {:name=>:amount, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:delivery_method, :type=>"Budget.BudgetDeliveryMethod", :min_occurs=>0, :max_occurs=>1}]}, :BudgetOptimizer=>{:fields=>[{:name=>:bid_ceiling, :type=>"Money", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingStrategy"}, :BudgetOptimizerAdGroupBids=>{:fields=>[{:name=>:proxy_keyword_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:proxy_site_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ConversionOptimizerAdGroupBids=>{:fields=>[{:name=>:target_cpa, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ManualCPCAdGroupBids=>{:fields=>[{:name=>:keyword_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:keyword_content_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:site_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ManualCPMAdGroupBids=>{:fields=>[{:name=>:max_cpm, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :AdGroupBids=>{:fields=>[{:name=>:ad_group_bids_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BiddingStrategy=>{:fields=>[{:name=>:bidding_strategy_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BiddingTransition=>{:fields=>[{:name=>:target_bidding_strategy, :type=>"BiddingStrategy", :min_occurs=>0, :max_occurs=>1}, {:name=>:explicit_ad_group_bids, :type=>"AdGroupBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:bidding_transition_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Campaign=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"CampaignStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:serving_status, :type=>"ServingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:budget, :type=>"Budget", :min_occurs=>0, :max_occurs=>1}, {:name=>:bidding_strategy, :type=>"BiddingStrategy", :min_occurs=>0, :max_occurs=>1}, {:name=>:auto_keyword_matching_status, :type=>"AutoKeywordMatchingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"Stats", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_serving_optimization_status, :type=>"AdServingOptimizationStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:frequency_cap, :type=>"FrequencyCap", :min_occurs=>0, :max_occurs=>1}]}, :CampaignOperation=>{:fields=>[{:name=>:bidding_transition, :type=>"BiddingTransition", :min_occurs=>0, :max_occurs=>1}, {:name=>:operand, :type=>"Campaign", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CampaignPage=>{:fields=>[{:name=>:total_budget, :type=>"Budget", :min_occurs=>0, :max_occurs=>1}, {:name=>:entries, :type=>"Campaign", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :CampaignReturnValue=>{:fields=>[{:name=>:value, :type=>"Campaign", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :CampaignSelector=>{:fields=>[{:name=>:ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:campaign_statuses, :type=>"CampaignStatus", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:stats_selector, :type=>"StatsSelector", :min_occurs=>0, :max_occurs=>1}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdServingOptimizationStatus=>{:fields=>[]}, :AutoKeywordMatchingStatus=>{:fields=>[]}, :"Budget.BudgetDeliveryMethod"=>{:fields=>[]}, :"Budget.BudgetPeriod"=>{:fields=>[]}, :CampaignStatus=>{:fields=>[]}, :Level=>{:fields=>[]}, :Operator=>{:fields=>[]}, :PricingModel=>{:fields=>[]}, :ServingStatus=>{:fields=>[]}, :"Stats.Network"=>{:fields=>[]}, :TimeUnit=>{:fields=>[]}}
14
14
  CAMPAIGNSERVICE_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.5.2 on 2011-10-20 20:40:03.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:00.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v200909/campaign_target_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.5.2 on 2011-10-20 20:40:03.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:00.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V200909; module CampaignTargetService
11
11
  class CampaignTargetServiceRegistry
12
- CAMPAIGNTARGETSERVICE_METHODS = {:get=>{:input=>[{:type=>"CampaignTargetSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"CampaignTargetPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"CampaignTargetOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"CampaignTargetReturnValue", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- CAMPAIGNTARGETSERVICE_TYPES = {:DemographicTargetList=>{:fields=>[{:type=>"DemographicTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :NetworkTarget=>{:fields=>[{:type=>"NetworkCoverageType", :max_occurs=>1, :min_occurs=>0, :name=>:network_coverage_type}], :base=>"Target"}, :AgeTarget=>{:fields=>[{:type=>"AgeTarget.Age", :max_occurs=>1, :min_occurs=>0, :name=>:age}], :base=>"DemographicTarget"}, :AdScheduleTargetList=>{:fields=>[{:type=>"AdScheduleTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :LanguageTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:language_code}], :base=>"Target"}, :TargetList=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_list_type}], :abstract=>true}, :PlatformTarget=>{:fields=>[{:type=>"PlatformType", :max_occurs=>1, :min_occurs=>0, :name=>:platform_type}], :base=>"Target"}, :CityTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"GeoTarget"}, :ListReturnValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:list_return_value_type}], :abstract=>true}, :MetroTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:metro_code}], :base=>"GeoTarget"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:application_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :PolygonTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:vertices}], :base=>"GeoTarget"}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :CountryTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"GeoTarget"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :CampaignTargetSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:campaign_ids}]}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}]}, :GeoTargetList=>{:fields=>[{:type=>"GeoTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :DemographicTarget=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bid_modifier}], :abstract=>true, :base=>"Target"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :ProvinceTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}], :base=>"GeoTarget"}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}]}, :Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :CampaignTargetPage=>{:fields=>[{:type=>"TargetList", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"Page"}, :CampaignTargetOperation=>{:fields=>[{:type=>"TargetList", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :NetworkTargetList=>{:fields=>[{:type=>"NetworkTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :ProximityTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"ProximityTarget.DistanceUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_distance_units}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:radius_in_units}, {:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:allow_service_of_address}], :base=>"GeoTarget"}, :GenderTarget=>{:fields=>[{:type=>"GenderTarget.Gender", :max_occurs=>1, :min_occurs=>0, :name=>:gender}], :base=>"DemographicTarget"}, :CampaignTargetReturnValue=>{:fields=>[{:type=>"TargetList", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"ListReturnValue"}, :PlatformTargetList=>{:fields=>[{:type=>"PlatformTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :LanguageTargetList=>{:fields=>[{:type=>"LanguageTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :AdScheduleTarget=>{:fields=>[{:type=>"DayOfWeek", :max_occurs=>1, :min_occurs=>0, :name=>:day_of_week}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:start_minute}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:end_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:end_minute}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:bid_multiplier}], :base=>"Target"}, :Target=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_type}], :abstract=>true}, :GeoTarget=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:excluded}], :abstract=>true, :base=>"Target"}}
12
+ CAMPAIGNTARGETSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"CampaignTargetSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"CampaignTargetPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"CampaignTargetOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"CampaignTargetReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ CAMPAIGNTARGETSERVICE_TYPES = {:AdScheduleTarget=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_multiplier, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :Address=>{:fields=>[{:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AgeTarget=>{:fields=>[{:name=>:age, :type=>"AgeTarget.Age", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget"}, :CityTarget=>{:fields=>[{:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :CountryTarget=>{:fields=>[{:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :GenderTarget=>{:fields=>[{:name=>:gender, :type=>"GenderTarget.Gender", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget"}, :GeoPoint=>{:fields=>[{:name=>:latitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:longitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :LanguageTarget=>{:fields=>[{:name=>:language_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :MetroTarget=>{:fields=>[{:name=>:metro_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :NetworkTarget=>{:fields=>[{:name=>:network_coverage_type, :type=>"NetworkCoverageType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :PlatformTarget=>{:fields=>[{:name=>:platform_type, :type=>"PlatformType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :PolygonTarget=>{:fields=>[{:name=>:vertices, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"GeoTarget"}, :ProvinceTarget=>{:fields=>[{:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :ProximityTarget=>{:fields=>[{:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_distance_units, :type=>"ProximityTarget.DistanceUnits", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_in_units, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:allow_service_of_address, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :SoapHeader=>{:fields=>[{:name=>:application_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :CampaignTargetSelector=>{:fields=>[{:name=>:campaign_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :DemographicTarget=>{:fields=>[{:name=>:bid_modifier, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target"}, :GeoTarget=>{:fields=>[{:name=>:excluded, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target"}, :Target=>{:fields=>[{:name=>:target_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdScheduleTargetList=>{:fields=>[{:name=>:targets, :type=>"AdScheduleTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :DemographicTargetList=>{:fields=>[{:name=>:targets, :type=>"DemographicTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :GeoTargetList=>{:fields=>[{:name=>:targets, :type=>"GeoTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :LanguageTargetList=>{:fields=>[{:name=>:targets, :type=>"LanguageTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :NetworkTargetList=>{:fields=>[{:name=>:targets, :type=>"NetworkTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :PlatformTargetList=>{:fields=>[{:name=>:targets, :type=>"PlatformTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :TargetList=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_list_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :CampaignTargetOperation=>{:fields=>[{:name=>:operand, :type=>"TargetList", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CampaignTargetPage=>{:fields=>[{:name=>:entries, :type=>"TargetList", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :CampaignTargetReturnValue=>{:fields=>[{:name=>:value, :type=>"TargetList", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"AgeTarget.Age"=>{:fields=>[]}, :DayOfWeek=>{:fields=>[]}, :"GenderTarget.Gender"=>{:fields=>[]}, :MinuteOfHour=>{:fields=>[]}, :NetworkCoverageType=>{:fields=>[]}, :Operator=>{:fields=>[]}, :PlatformType=>{:fields=>[]}, :"ProximityTarget.DistanceUnits"=>{:fields=>[]}}
14
14
  CAMPAIGNTARGETSERVICE_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.5.2 on 2011-10-20 20:39:57.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:02.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v200909/geo_location_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.5.2 on 2011-10-20 20:39:57.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:02.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V200909; module GeoLocationService
11
11
  class GeoLocationServiceRegistry
12
- GEOLOCATIONSERVICE_METHODS = {:get=>{:input=>[{:type=>"GeoLocationSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"GeoLocation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
13
- GEOLOCATIONSERVICE_TYPES = {:GeoLocationSelector=>{:fields=>[{:type=>"Address", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:addresses}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:application_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :InvalidGeoLocation=>{:fields=>[], :base=>"GeoLocation"}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}]}, :GeoLocation=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:encoded_location}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:geo_location_type}]}}
12
+ GEOLOCATIONSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"GeoLocationSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"GeoLocation", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
13
+ GEOLOCATIONSERVICE_TYPES = {:Address=>{:fields=>[{:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :GeoLocationSelector=>{:fields=>[{:name=>:addresses, :type=>"Address", :min_occurs=>0, :max_occurs=>:unbounded}]}, :GeoPoint=>{:fields=>[{:name=>:latitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:longitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :InvalidGeoLocation=>{:fields=>[], :base=>"GeoLocation"}, :SoapHeader=>{:fields=>[{:name=>:application_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :GeoLocation=>{:fields=>[{:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:encoded_location, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}, {:name=>:geo_location_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}}
14
14
  GEOLOCATIONSERVICE_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.5.2 on 2011-10-20 20:40:01.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:04.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v200909/info_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.5.2 on 2011-10-20 20:40:01.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:04.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V200909; module InfoService
11
11
  class InfoServiceRegistry
12
- INFOSERVICE_METHODS = {:get=>{:input=>[{:type=>"InfoSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"ApiUsageInfo", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
13
- INFOSERVICE_TYPES = {:DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}], :ns=>0}, :InfoSelector=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:service_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:method_name}, {:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:client_emails}, {:type=>"ApiUsageType", :max_occurs=>1, :min_occurs=>0, :name=>:api_usage_type}]}, :ApiUsageInfo=>{:fields=>[{:type=>"ApiUsageRecord", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:api_usage_records}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:cost}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:application_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}], :ns=>0}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :ns=>0, :base=>"ApiError"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}], :ns=>0}, :ApiUsageRecord=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:cost}]}}
12
+ INFOSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"InfoSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"ApiUsageInfo", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ INFOSERVICE_TYPES = {:DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :SoapHeader=>{:fields=>[{:name=>:application_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :Operator=>{:fields=>[], :ns=>0}, :ApiUsageRecord=>{:fields=>[{:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :InfoSelector=>{:fields=>[{:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_emails, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:api_usage_type, :type=>"ApiUsageType", :min_occurs=>0, :max_occurs=>1}]}, :ApiUsageInfo=>{:fields=>[{:name=>:api_usage_records, :type=>"ApiUsageRecord", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:cost, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :ApiUsageType=>{:fields=>[]}}
14
14
  INFOSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v200909"]
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.5.2 on 2011-10-20 20:39:27.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:06.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v200909/targeting_idea_service_registry'
@@ -15,14 +15,14 @@ module AdwordsApi; module V200909; module TargetingIdeaService
15
15
  super(api, endpoint, namespace, :v200909)
16
16
  end
17
17
 
18
- def get_bulk_keyword_ideas(*args, &block)
19
- return execute_action('get_bulk_keyword_ideas', args, &block)
20
- end
21
-
22
18
  def get(*args, &block)
23
19
  return execute_action('get', args, &block)
24
20
  end
25
21
 
22
+ def get_bulk_keyword_ideas(*args, &block)
23
+ return execute_action('get_bulk_keyword_ideas', args, &block)
24
+ end
25
+
26
26
  private
27
27
 
28
28
  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.5.2 on 2011-10-20 20:39:27.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:06.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V200909; module TargetingIdeaService
11
11
  class TargetingIdeaServiceRegistry
12
- TARGETINGIDEASERVICE_METHODS = {:get_bulk_keyword_ideas=>{:input=>[{:type=>"TargetingIdeaSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"TargetingIdeaPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_bulk_keyword_ideas_response"}}, :get=>{:input=>[{:type=>"TargetingIdeaSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"TargetingIdeaPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}}
13
- TARGETINGIDEASERVICE_TYPES = {:WebpageDescriptor=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:title}]}, :DemographicTarget=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bid_modifier}], :ns=>0, :abstract=>true, :base=>"Target"}, :LongComparisonOperation=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:minimum}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:maximum}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:excludes}]}, :EntityCountLimitExceeded=>{:fields=>[{:type=>"EntityCountLimitExceeded.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:enclosing_id}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:limit}], :ns=>0, :base=>"ApiError"}, :BooleanAttribute=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :StringAttribute=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :KeywordAttribute=>{:fields=>[{:type=>"Keyword", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :NumberValue=>{:fields=>[], :ns=>0, :abstract=>true, :base=>"ComparableValue"}, :AdFormatSpec=>{:fields=>[{:type=>"SiteConstants.AdFormat", :max_occurs=>1, :min_occurs=>0, :name=>:format}]}, :RelatedToKeywordSearchParameter=>{:fields=>[{:type=>"Keyword", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:keywords}], :base=>"SearchParameter"}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :ns=>0, :abstract=>true}, :InStreamAdInfo=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:max_ad_duration}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:min_ad_duration}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:median_ad_duration}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:pre_roll_percent}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:mid_roll_percent}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:post_roll_percent}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :ns=>0, :base=>"ApiError"}, :PlatformTarget=>{:fields=>[{:type=>"PlatformType", :max_occurs=>1, :min_occurs=>0, :name=>:platform_type}], :ns=>0, :base=>"Target"}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :ns=>0, :base=>"ComparableValue"}, :Placement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}], :ns=>0, :base=>"Criterion"}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0}, :MetroTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:metro_code}], :ns=>0, :base=>"GeoTarget"}, :MonthlySearchVolume=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:year}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:month}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:count}]}, :Type_AttributeMapEntry=>{:fields=>[{:type=>"AttributeType", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"Attribute", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :AverageTargetedMonthlySearchesSearchParameter=>{:fields=>[{:type=>"LongComparisonOperation", :max_occurs=>1, :min_occurs=>0, :name=>:operation}], :base=>"SearchParameter"}, :CountryTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0, :base=>"GeoTarget"}, :LongAttribute=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :SeedAdGroupIdSearchParameter=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}], :base=>"SearchParameter"}, :Target=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_type}], :ns=>0, :abstract=>true}, :IntegerSetAttribute=>{:fields=>[{:type=>"int", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :PlacementTypeSearchParameter=>{:fields=>[{:type=>"SiteConstants.PlacementType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:placement_types}], :base=>"SearchParameter"}, :IdeaTypeAttribute=>{:fields=>[{:type=>"IdeaType", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :Attribute=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:attribute_type}], :abstract=>true}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :ns=>0, :base=>"NumberValue"}, :NetworkTarget=>{:fields=>[{:type=>"NetworkCoverageType", :max_occurs=>1, :min_occurs=>0, :name=>:network_coverage_type}], :ns=>0, :base=>"Target"}, :DoubleAttribute=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :LanguageTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:language_code}], :ns=>0, :base=>"Target"}, :MoneyAttribute=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :TargetingIdeaSelector=>{:fields=>[{:type=>"SearchParameter", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:search_parameters}, {:type=>"IdeaType", :max_occurs=>1, :min_occurs=>0, :name=>:idea_type}, {:type=>"RequestType", :max_occurs=>1, :min_occurs=>0, :name=>:request_type}, {:type=>"AttributeType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:requested_attribute_types}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:locale_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:currency_code}]}, :AdTypeSearchParameter=>{:fields=>[{:type=>"SiteConstants.AdType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_types}], :base=>"SearchParameter"}, :CityTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :ns=>0, :base=>"GeoTarget"}, :LanguageTargetSearchParameter=>{:fields=>[{:type=>"LanguageTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:language_targets}], :base=>"SearchParameter"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :ns=>0, :base=>"NumberValue"}, :ProximityTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"ProximityTarget.DistanceUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_distance_units}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:radius_in_units}, {:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:allow_service_of_address}], :ns=>0, :base=>"GeoTarget"}, :IntegerAttribute=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :PlacementTypeAttribute=>{:fields=>[{:type=>"SiteConstants.PlacementType", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :NgramGroupsSearchParameter=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ngram_groups}], :base=>"SearchParameter"}, :GeoTarget=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:excluded}], :ns=>0, :abstract=>true, :base=>"Target"}, :Criterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_type}], :ns=>0}, :MobileSearchParameter=>{:fields=>[], :base=>"SearchParameter"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}], :ns=>0}, :CountryTargetSearchParameter=>{:fields=>[{:type=>"CountryTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:country_targets}], :base=>"SearchParameter"}, :TargetingIdeaPage=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"TargetingIdea", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}]}, :KeywordMatchTypeSearchParameter=>{:fields=>[{:type=>"KeywordMatchType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:keyword_match_types}], :base=>"SearchParameter"}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}], :ns=>0}, :AdGroupCriterionLimitExceeded=>{:fields=>[{:type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :max_occurs=>1, :min_occurs=>0, :name=>:limit_type}], :ns=>0, :base=>"EntityCountLimitExceeded"}, :AgeTarget=>{:fields=>[{:type=>"AgeTarget.Age", :max_occurs=>1, :min_occurs=>0, :name=>:age}], :ns=>0, :base=>"DemographicTarget"}, :SearchParameter=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:search_parameter_type}], :abstract=>true}, :ProvinceTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}], :ns=>0, :base=>"GeoTarget"}, :IncludeAdultContentSearchParameter=>{:fields=>[], :base=>"SearchParameter"}, :PlacementAttribute=>{:fields=>[{:type=>"Placement", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :PolicyViolationKey=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:policy_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:violating_text}], :ns=>0}, :GlobalMonthlySearchesSearchParameter=>{:fields=>[{:type=>"LongComparisonOperation", :max_occurs=>1, :min_occurs=>0, :name=>:operation}], :base=>"SearchParameter"}, :WebpageDescriptorAttribute=>{:fields=>[{:type=>"WebpageDescriptor", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :GenderTarget=>{:fields=>[{:type=>"GenderTarget.Gender", :max_occurs=>1, :min_occurs=>0, :name=>:gender}], :ns=>0, :base=>"DemographicTarget"}, :LongRangeAttribute=>{:fields=>[{:type=>"Range", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:application_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}], :ns=>0}, :Keyword=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:text}, {:type=>"KeywordMatchType", :max_occurs=>1, :min_occurs=>0, :name=>:match_type}], :ns=>0, :base=>"Criterion"}, :CompetitionSearchParameter=>{:fields=>[{:type=>"CompetitionSearchParameter.Level", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:levels}], :base=>"SearchParameter"}, :TargetingIdea=>{:fields=>[{:type=>"Type_AttributeMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:data}]}, :AdScheduleTarget=>{:fields=>[{:type=>"DayOfWeek", :max_occurs=>1, :min_occurs=>0, :name=>:day_of_week}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:start_minute}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:end_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:end_minute}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:bid_multiplier}], :ns=>0, :base=>"Target"}, :KeywordCategoryIdSearchParameter=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:category_id}], :base=>"SearchParameter"}, :AdFormatSpecListAttribute=>{:fields=>[{:type=>"AdFormatSpec", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :RelatedToUrlSearchParameter=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:urls}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:include_sub_urls}], :base=>"SearchParameter"}, :InStreamAdInfoAttribute=>{:fields=>[{:type=>"InStreamAdInfo", :max_occurs=>1, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}], :ns=>0}, :Range=>{:fields=>[{:type=>"ComparableValue", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"ComparableValue", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :"PolicyViolationError.Part"=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:length}], :ns=>0}, :PolygonTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:vertices}], :ns=>0, :base=>"GeoTarget"}, :ExcludedKeywordSearchParameter=>{:fields=>[{:type=>"Keyword", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:keywords}], :base=>"SearchParameter"}, :MonthlySearchVolumeAttribute=>{:fields=>[{:type=>"MonthlySearchVolume", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"Attribute"}}
12
+ TARGETINGIDEASERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"TargetingIdeaSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"TargetingIdeaPage", :min_occurs=>0, :max_occurs=>1}]}}, :get_bulk_keyword_ideas=>{:input=>[{:name=>:selector, :type=>"TargetingIdeaSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_bulk_keyword_ideas_response", :fields=>[{:name=>:rval, :type=>"TargetingIdeaPage", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ TARGETINGIDEASERVICE_TYPES = {:AdGroupCriterionLimitExceeded=>{:fields=>[{:name=>:limit_type, :type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :min_occurs=>0, :max_occurs=>1}], :base=>"EntityCountLimitExceeded", :ns=>0}, :AdScheduleTarget=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_multiplier, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"Target", :ns=>0}, :Address=>{:fields=>[{:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :AgeTarget=>{:fields=>[{:name=>:age, :type=>"AgeTarget.Age", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget", :ns=>0}, :CityTarget=>{:fields=>[{:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget", :ns=>0}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :ns=>0}, :CountryTarget=>{:fields=>[{:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget", :ns=>0}, :Criterion=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :DemographicTarget=>{:fields=>[{:name=>:bid_modifier, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target", :ns=>0}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue", :ns=>0}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError", :ns=>0}, :GenderTarget=>{:fields=>[{:name=>:gender, :type=>"GenderTarget.Gender", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget", :ns=>0}, :GeoPoint=>{:fields=>[{:name=>:latitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:longitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :GeoTarget=>{:fields=>[{:name=>:excluded, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target", :ns=>0}, :Keyword=>{:fields=>[{:name=>:text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:match_type, :type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion", :ns=>0}, :LanguageTarget=>{:fields=>[{:name=>:language_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Target", :ns=>0}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue", :ns=>0}, :MetroTarget=>{:fields=>[{:name=>:metro_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget", :ns=>0}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue", :ns=>0}, :NetworkTarget=>{:fields=>[{:name=>:network_coverage_type, :type=>"NetworkCoverageType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target", :ns=>0}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue", :ns=>0}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :Placement=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion", :ns=>0}, :PlatformTarget=>{:fields=>[{:name=>:platform_type, :type=>"PlatformType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target", :ns=>0}, :"PolicyViolationError.Part"=>{:fields=>[{:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:length, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :PolicyViolationKey=>{:fields=>[{:name=>:policy_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:violating_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :PolygonTarget=>{:fields=>[{:name=>:vertices, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"GeoTarget", :ns=>0}, :ProvinceTarget=>{:fields=>[{:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget", :ns=>0}, :ProximityTarget=>{:fields=>[{:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_distance_units, :type=>"ProximityTarget.DistanceUnits", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_in_units, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:allow_service_of_address, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget", :ns=>0}, :SoapHeader=>{:fields=>[{:name=>:application_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :Target=>{:fields=>[{:name=>:target_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :ns=>0}, :"AdGroupCriterionLimitExceeded.CriteriaLimitType"=>{:fields=>[], :ns=>0}, :"AgeTarget.Age"=>{:fields=>[], :ns=>0}, :DayOfWeek=>{:fields=>[], :ns=>0}, :"GenderTarget.Gender"=>{:fields=>[], :ns=>0}, :KeywordMatchType=>{:fields=>[], :ns=>0}, :MinuteOfHour=>{:fields=>[], :ns=>0}, :NetworkCoverageType=>{:fields=>[], :ns=>0}, :PlatformType=>{:fields=>[], :ns=>0}, :"ProximityTarget.DistanceUnits"=>{:fields=>[], :ns=>0}, :AdFormatSpec=>{:fields=>[{:name=>:format, :type=>"SiteConstants.AdFormat", :min_occurs=>0, :max_occurs=>1}]}, :AdFormatSpecListAttribute=>{:fields=>[{:name=>:value, :type=>"AdFormatSpec", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Attribute"}, :AdTypeSearchParameter=>{:fields=>[{:name=>:ad_types, :type=>"SiteConstants.AdType", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SearchParameter"}, :Attribute=>{:fields=>[{:name=>:attribute_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AverageTargetedMonthlySearchesSearchParameter=>{:fields=>[{:name=>:operation, :type=>"LongComparisonOperation", :min_occurs=>0, :max_occurs=>1}], :base=>"SearchParameter"}, :BooleanAttribute=>{:fields=>[{:name=>:value, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :CompetitionSearchParameter=>{:fields=>[{:name=>:levels, :type=>"CompetitionSearchParameter.Level", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SearchParameter"}, :CountryTargetSearchParameter=>{:fields=>[{:name=>:country_targets, :type=>"CountryTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SearchParameter"}, :DoubleAttribute=>{:fields=>[{:name=>:value, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :ExcludedKeywordSearchParameter=>{:fields=>[{:name=>:keywords, :type=>"Keyword", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SearchParameter"}, :GlobalMonthlySearchesSearchParameter=>{:fields=>[{:name=>:operation, :type=>"LongComparisonOperation", :min_occurs=>0, :max_occurs=>1}], :base=>"SearchParameter"}, :IdeaTypeAttribute=>{:fields=>[{:name=>:value, :type=>"IdeaType", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :InStreamAdInfo=>{:fields=>[{:name=>:max_ad_duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:min_ad_duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:median_ad_duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:pre_roll_percent, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:mid_roll_percent, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:post_roll_percent, :type=>"double", :min_occurs=>0, :max_occurs=>1}]}, :InStreamAdInfoAttribute=>{:fields=>[{:name=>:value, :type=>"InStreamAdInfo", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :IncludeAdultContentSearchParameter=>{:fields=>[], :base=>"SearchParameter"}, :IntegerAttribute=>{:fields=>[{:name=>:value, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :IntegerSetAttribute=>{:fields=>[{:name=>:value, :type=>"int", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Attribute"}, :KeywordAttribute=>{:fields=>[{:name=>:value, :type=>"Keyword", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :KeywordCategoryIdSearchParameter=>{:fields=>[{:name=>:category_id, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"SearchParameter"}, :KeywordMatchTypeSearchParameter=>{:fields=>[{:name=>:keyword_match_types, :type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SearchParameter"}, :LanguageTargetSearchParameter=>{:fields=>[{:name=>:language_targets, :type=>"LanguageTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SearchParameter"}, :LongAttribute=>{:fields=>[{:name=>:value, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :LongComparisonOperation=>{:fields=>[{:name=>:minimum, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:maximum, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:excludes, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :LongRangeAttribute=>{:fields=>[{:name=>:value, :type=>"Range", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :MobileSearchParameter=>{:fields=>[], :base=>"SearchParameter"}, :MoneyAttribute=>{:fields=>[{:name=>:value, :type=>"Money", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :MonthlySearchVolume=>{:fields=>[{:name=>:year, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:month, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:count, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :MonthlySearchVolumeAttribute=>{:fields=>[{:name=>:value, :type=>"MonthlySearchVolume", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Attribute"}, :NgramGroupsSearchParameter=>{:fields=>[{:name=>:ngram_groups, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SearchParameter"}, :PlacementAttribute=>{:fields=>[{:name=>:value, :type=>"Placement", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :PlacementTypeAttribute=>{:fields=>[{:name=>:value, :type=>"SiteConstants.PlacementType", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :PlacementTypeSearchParameter=>{:fields=>[{:name=>:placement_types, :type=>"SiteConstants.PlacementType", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SearchParameter"}, :Range=>{:fields=>[{:name=>:min, :type=>"ComparableValue", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"ComparableValue", :min_occurs=>0, :max_occurs=>1}]}, :RelatedToKeywordSearchParameter=>{:fields=>[{:name=>:keywords, :type=>"Keyword", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"SearchParameter"}, :RelatedToUrlSearchParameter=>{:fields=>[{:name=>:urls, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:include_sub_urls, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"SearchParameter"}, :SearchParameter=>{:fields=>[{:name=>:search_parameter_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :SeedAdGroupIdSearchParameter=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"SearchParameter"}, :StringAttribute=>{:fields=>[{:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :TargetingIdea=>{:fields=>[{:name=>:data, :type=>"Type_AttributeMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TargetingIdeaPage=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:entries, :type=>"TargetingIdea", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TargetingIdeaSelector=>{:fields=>[{:name=>:search_parameters, :type=>"SearchParameter", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:idea_type, :type=>"IdeaType", :min_occurs=>0, :max_occurs=>1}, {:name=>:request_type, :type=>"RequestType", :min_occurs=>0, :max_occurs=>1}, {:name=>:requested_attribute_types, :type=>"AttributeType", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}, {:name=>:locale_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Type_AttributeMapEntry=>{:fields=>[{:name=>:key, :type=>"AttributeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Attribute", :min_occurs=>0, :max_occurs=>1}]}, :WebpageDescriptor=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:title, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :WebpageDescriptorAttribute=>{:fields=>[{:name=>:value, :type=>"WebpageDescriptor", :min_occurs=>0, :max_occurs=>1}], :base=>"Attribute"}, :AttributeType=>{:fields=>[]}, :"CompetitionSearchParameter.Level"=>{:fields=>[]}, :IdeaType=>{:fields=>[]}, :RequestType=>{:fields=>[]}, :"SiteConstants.AdFormat"=>{:fields=>[]}, :"SiteConstants.AdType"=>{:fields=>[]}, :"SiteConstants.PlacementType"=>{:fields=>[]}}
14
14
  TARGETINGIDEASERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v200909"]
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.5.2 on 2011-10-20 20:37:11.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:08.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v201003/ad_extension_override_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.5.2 on 2011-10-20 20:37:11.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:08.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V201003; module AdExtensionOverrideService
11
11
  class AdExtensionOverrideServiceRegistry
12
- ADEXTENSIONOVERRIDESERVICE_METHODS = {:get=>{:input=>[{:type=>"AdExtensionOverrideSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"AdExtensionOverridePage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"AdExtensionOverrideOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"AdExtensionOverrideReturnValue", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- ADEXTENSIONOVERRIDESERVICE_TYPES = {:AdExtensionOverridePage=>{:fields=>[{:type=>"AdExtensionOverride", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"Page"}, :LocationSyncExtension=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:icon_media_id}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:should_sync_url}], :base=>"AdExtension"}, :Sitelink=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:display_text}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:destination_url}]}, :LocationOverrideInfo=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:radius}, {:type=>"LocationOverrideInfo.RadiusUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_units}]}, :AdExtensionOverrideStats=>{:fields=>[], :base=>"Stats"}, :MobileExtension=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"AdExtension"}, :AdExtensionOverrideReturnValue=>{:fields=>[{:type=>"AdExtensionOverride", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"ListReturnValue"}, :Stats=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Stats.Network", :max_occurs=>1, :min_occurs=>0, :name=>:network}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:average_position}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpc}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpm}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:ctr}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions_many_per_click}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate_many_per_click}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion_many_per_click}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_type}]}, :SitelinksExtension=>{:fields=>[{:type=>"Sitelink", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:sitelinks}], :base=>"AdExtension"}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :ListReturnValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:list_return_value_type}], :abstract=>true}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :AdExtension=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_extension_type}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}]}, :Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :OverrideInfo=>{:fields=>[]}, :AdExtensionOverride=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_id}, {:type=>"AdExtension", :max_occurs=>1, :min_occurs=>0, :name=>:ad_extension}, {:type=>"OverrideInfo", :max_occurs=>1, :min_occurs=>0, :name=>:override_info}, {:type=>"AdExtensionOverride.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"AdExtensionOverride.ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}, {:type=>"AdExtensionOverrideStats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}]}, :LocationExtension=>{:fields=>[{:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:encoded_location}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:company_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}, {:type=>"LocationExtension.Source", :max_occurs=>1, :min_occurs=>0, :name=>:source}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:icon_media_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:image_media_id}], :base=>"AdExtension"}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :abstract=>true}, :AdExtensionOverrideSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:campaign_ids}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_ids}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_extension_ids}, {:type=>"AdExtensionOverride.Status", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:statuses}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :AdExtensionOverrideOperation=>{:fields=>[{:type=>"AdExtensionOverride", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :base=>"ComparableValue"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}}
12
+ ADEXTENSIONOVERRIDESERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"AdExtensionOverrideSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"AdExtensionOverridePage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"AdExtensionOverrideOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"AdExtensionOverrideReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ ADEXTENSIONOVERRIDESERVICE_TYPES = {:AdExtensionOverrideStats=>{:fields=>[], :base=>"Stats"}, :Address=>{:fields=>[{:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :GeoPoint=>{:fields=>[{:name=>:latitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:longitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :LocationExtension=>{:fields=>[{:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:encoded_location, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:source, :type=>"LocationExtension.Source", :min_occurs=>0, :max_occurs=>1}, {:name=>:icon_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:image_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"AdExtension"}, :LocationOverrideInfo=>{:fields=>[{:name=>:radius, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_units, :type=>"LocationOverrideInfo.RadiusUnits", :min_occurs=>0, :max_occurs=>1}]}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :MobileExtension=>{:fields=>[{:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"AdExtension"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :OverrideInfo=>{:fields=>[]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Sitelink=>{:fields=>[{:name=>:display_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:destination_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SitelinksExtension=>{:fields=>[{:name=>:sitelinks, :type=>"Sitelink", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"AdExtension"}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :AdExtensionOverrideSelector=>{:fields=>[{:name=>:campaign_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_extension_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:statuses, :type=>"AdExtensionOverride.Status", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :LocationSyncExtension=>{:fields=>[{:name=>:email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:icon_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:should_sync_url, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdExtension"}, :Stats=>{:fields=>[{:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:network, :type=>"Stats.Network", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_position, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpc, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpm, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:ctr, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions_many_per_click, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate_many_per_click, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion_many_per_click, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdExtension=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_extension_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdExtensionOverride=>{:fields=>[{:name=>:ad_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_extension, :type=>"AdExtension", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_info, :type=>"OverrideInfo", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdExtensionOverride.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"AdExtensionOverride.ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"AdExtensionOverrideStats", :min_occurs=>0, :max_occurs=>1}]}, :AdExtensionOverrideOperation=>{:fields=>[{:name=>:operand, :type=>"AdExtensionOverride", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :AdExtensionOverridePage=>{:fields=>[{:name=>:entries, :type=>"AdExtensionOverride", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :AdExtensionOverrideReturnValue=>{:fields=>[{:name=>:value, :type=>"AdExtensionOverride", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"AdExtensionOverride.ApprovalStatus"=>{:fields=>[]}, :"AdExtensionOverride.Status"=>{:fields=>[]}, :"LocationExtension.Source"=>{:fields=>[]}, :"LocationOverrideInfo.RadiusUnits"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"Stats.Network"=>{:fields=>[]}}
14
14
  ADEXTENSIONOVERRIDESERVICE_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.5.2 on 2011-10-20 20:36:41.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:10.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v201003/ad_group_ad_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.5.2 on 2011-10-20 20:36:41.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:10.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V201003; module AdGroupAdService
11
11
  class AdGroupAdServiceRegistry
12
- ADGROUPADSERVICE_METHODS = {:get=>{:input=>[{:type=>"AdGroupAdSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"AdGroupAdPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"AdGroupAdOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"AdGroupAdReturnValue", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- ADGROUPADSERVICE_TYPES = {:Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :Ad=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:display_url}, {:type=>"Ad.ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:disapproval_reasons}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:trademark_disapproved}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_type}]}, :DemographicTarget=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bid_modifier}], :abstract=>true, :base=>"Target"}, :Image=>{:fields=>[{:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:data}], :base=>"Media"}, :EntityCountLimitExceeded=>{:fields=>[{:type=>"EntityCountLimitExceeded.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:enclosing_id}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:limit}], :base=>"ApiError"}, :ImageAd=>{:fields=>[{:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:image}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}], :base=>"Ad"}, :AdStats=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:percent_served}], :base=>"Stats"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :AdUnionId=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_union_id_type}]}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :abstract=>true}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :PlatformTarget=>{:fields=>[{:type=>"PlatformType", :max_occurs=>1, :min_occurs=>0, :name=>:platform_type}], :base=>"Target"}, :AdGroupAdReturnValue=>{:fields=>[{:type=>"AdGroupAd", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"ListReturnValue"}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :base=>"ComparableValue"}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}]}, :MetroTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:metro_code}], :base=>"GeoTarget"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :TemplateAd=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:template_id}, {:type=>"AdUnionId", :max_occurs=>1, :min_occurs=>0, :name=>:ad_union_id}, {:type=>"TemplateElement", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:template_elements}, {:type=>"Dimensions", :max_occurs=>1, :min_occurs=>0, :name=>:dimensions}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:duration}], :base=>"Ad"}, :CountryTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"GeoTarget"}, :Dimensions=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:width}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:height}]}, :Target=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_type}], :abstract=>true}, :TemplateElementField=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"TemplateElementField.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field_text}, {:type=>"Media", :max_occurs=>1, :min_occurs=>0, :name=>:field_media}]}, :AdGroupAdCountLimitExceeded=>{:fields=>[], :base=>"EntityCountLimitExceeded"}, :Video=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:duration_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:streaming_url}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:ready_to_play_on_the_web}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:industry_standard_commercial_identifier}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:advertising_id}], :base=>"Media"}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :NetworkTarget=>{:fields=>[{:type=>"NetworkCoverageType", :max_occurs=>1, :min_occurs=>0, :name=>:network_coverage_type}], :base=>"Target"}, :AdGroupAdPage=>{:fields=>[{:type=>"AdGroupAd", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"Page"}, :MobileAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:headline}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description}, {:type=>"MarkupLanguageType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:markup_languages}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:mobile_carriers}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:business_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}], :base=>"Ad"}, :StatsSelector=>{:fields=>[{:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector_type}]}, :LanguageTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:language_code}], :base=>"Target"}, :ListReturnValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:list_return_value_type}], :abstract=>true}, :DeprecatedAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"DeprecatedAd.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}], :base=>"Ad"}, :Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry=>{:fields=>[{:type=>"Media.MediaExtendedCapabilityType", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"Media.MediaExtendedCapabilityState", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :AdGroupAdSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:campaign_ids}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_group_ids}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_ids}, {:type=>"AdGroupAd.Status", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:statuses}, {:type=>"AdStatsSelector", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :CityTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"GeoTarget"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :ProximityTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"ProximityTarget.DistanceUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_distance_units}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:radius_in_units}, {:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:allow_service_of_address}], :base=>"GeoTarget"}, :MobileImageAd=>{:fields=>[{:type=>"MarkupLanguageType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:markup_languages}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:mobile_carriers}, {:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:image}], :base=>"Ad"}, :AdExtensionOverrideStats=>{:fields=>[], :base=>"Stats"}, :MobileTarget=>{:fields=>[], :abstract=>true, :base=>"Target"}, :ThirdPartyRedirectAd=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_cookie_targeted}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_user_interest_targeted}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_tagged}, {:type=>"VideoType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:video_types}], :base=>"RichMediaAd"}, :DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :GeoTarget=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:excluded}], :abstract=>true, :base=>"Target"}, :Media_Size_StringMapEntry=>{:fields=>[{:type=>"Media.Size", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :AdGroupAdOperation=>{:fields=>[{:type=>"AdGroupAd", :max_occurs=>1, :min_occurs=>0, :name=>:operand}, {:type=>"ExemptionRequest", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:exemption_requests}], :base=>"Operation"}, :Audio=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:duration_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:streaming_url}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:ready_to_play_on_the_web}], :base=>"Media"}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :TemplateElement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:unique_name}, {:type=>"TemplateElementField", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:fields}]}, :AgeTarget=>{:fields=>[{:type=>"AgeTarget.Age", :max_occurs=>1, :min_occurs=>0, :name=>:age}], :base=>"DemographicTarget"}, :ProvinceTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}], :base=>"GeoTarget"}, :Media=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:media_id}, {:type=>"Media.MediaType", :max_occurs=>1, :min_occurs=>0, :name=>:media_type_db}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:reference_id}, {:type=>"Media_Size_DimensionsMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:dimensions}, {:type=>"Media_Size_StringMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:urls}, {:type=>"Media.MimeType", :max_occurs=>1, :min_occurs=>0, :name=>:mime_type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:source_url}, {:type=>"Media.MediaSubType", :max_occurs=>1, :min_occurs=>0, :name=>:media_sub_type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:file_size}, {:type=>"Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:extended_capabilities}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:creation_time}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:media_type}]}, :Stats=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Stats.Network", :max_occurs=>1, :min_occurs=>0, :name=>:network}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:average_position}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpc}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpm}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:ctr}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions_many_per_click}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate_many_per_click}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion_many_per_click}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_type}]}, :ExemptionRequest=>{:fields=>[{:type=>"PolicyViolationKey", :max_occurs=>1, :min_occurs=>0, :name=>:key}]}, :MobilePlatformTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:platform_name}], :base=>"MobileTarget"}, :TextAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:headline}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description1}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description2}], :base=>"Ad"}, :PolicyViolationKey=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:policy_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:violating_text}]}, :AdGroupAd=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"Ad", :max_occurs=>1, :min_occurs=>0, :name=>:ad}, {:type=>"AdGroupAd.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"AdStats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}]}, :GenderTarget=>{:fields=>[{:type=>"GenderTarget.Gender", :max_occurs=>1, :min_occurs=>0, :name=>:gender}], :base=>"DemographicTarget"}, :Media_Size_DimensionsMapEntry=>{:fields=>[{:type=>"Media.Size", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"Dimensions", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :AdScheduleTarget=>{:fields=>[{:type=>"DayOfWeek", :max_occurs=>1, :min_occurs=>0, :name=>:day_of_week}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:start_minute}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:end_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:end_minute}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:bid_multiplier}], :base=>"Target"}, :AdStatsSelector=>{:fields=>[], :base=>"StatsSelector"}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :LocalBusinessAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:full_business_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:region}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:region_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:business_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description1}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description2}, {:type=>"ProximityTarget", :max_occurs=>1, :min_occurs=>0, :name=>:target}, {:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:business_image}, {:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:icon}], :base=>"Ad"}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}]}, :"PolicyViolationError.Part"=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:length}]}, :PolygonTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:vertices}], :base=>"GeoTarget"}, :RichMediaAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"Dimensions", :max_occurs=>1, :min_occurs=>0, :name=>:dimensions}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:snippet}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:impression_beacon_url}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:certified_vendor_format_id}], :abstract=>true, :base=>"Ad"}, :MobileCarrierTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:carrier_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"MobileTarget"}, :TempAdUnionId=>{:fields=>[], :base=>"AdUnionId"}}
12
+ ADGROUPADSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"AdGroupAdSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"AdGroupAdPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"AdGroupAdOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"AdGroupAdReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ ADGROUPADSERVICE_TYPES = {:AdExtensionOverrideStats=>{:fields=>[], :base=>"Stats"}, :AdGroupAdCountLimitExceeded=>{:fields=>[], :base=>"EntityCountLimitExceeded"}, :AdScheduleTarget=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_multiplier, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :AdStats=>{:fields=>[{:name=>:percent_served, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"Stats"}, :AdStatsSelector=>{:fields=>[], :base=>"StatsSelector"}, :Address=>{:fields=>[{:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AgeTarget=>{:fields=>[{:name=>:age, :type=>"AgeTarget.Age", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget"}, :Audio=>{:fields=>[{:name=>:duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:streaming_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ready_to_play_on_the_web, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :CityTarget=>{:fields=>[{:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :CountryTarget=>{:fields=>[{:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DeprecatedAd=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"DeprecatedAd.Type", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :Dimensions=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :GenderTarget=>{:fields=>[{:name=>:gender, :type=>"GenderTarget.Gender", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget"}, :GeoPoint=>{:fields=>[{:name=>:latitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:longitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Image=>{:fields=>[{:name=>:data, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :LanguageTarget=>{:fields=>[{:name=>:language_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.MediaExtendedCapabilityType", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Media.MediaExtendedCapabilityState", :min_occurs=>0, :max_occurs=>1}]}, :Media_Size_DimensionsMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Dimensions", :min_occurs=>0, :max_occurs=>1}]}, :Media_Size_StringMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :MetroTarget=>{:fields=>[{:name=>:metro_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :MobileAd=>{:fields=>[{:name=>:headline, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:markup_languages, :type=>"MarkupLanguageType", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mobile_carriers, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:business_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :MobileCarrierTarget=>{:fields=>[{:name=>:carrier_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"MobileTarget"}, :MobilePlatformTarget=>{:fields=>[{:name=>:platform_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"MobileTarget"}, :MobileTarget=>{:fields=>[], :abstract=>true, :base=>"Target"}, :NetworkTarget=>{:fields=>[{:name=>:network_coverage_type, :type=>"NetworkCoverageType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :PlatformTarget=>{:fields=>[{:name=>:platform_type, :type=>"PlatformType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :"PolicyViolationError.Part"=>{:fields=>[{:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:length, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :PolicyViolationKey=>{:fields=>[{:name=>:policy_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:violating_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :PolygonTarget=>{:fields=>[{:name=>:vertices, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"GeoTarget"}, :ProvinceTarget=>{:fields=>[{:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :ProximityTarget=>{:fields=>[{:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_distance_units, :type=>"ProximityTarget.DistanceUnits", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_in_units, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:allow_service_of_address, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StatsSelector=>{:fields=>[{:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_selector_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :TempAdUnionId=>{:fields=>[], :base=>"AdUnionId"}, :TextAd=>{:fields=>[{:name=>:headline, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description1, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description2, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :ThirdPartyRedirectAd=>{:fields=>[{:name=>:is_cookie_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_user_interest_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_tagged, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_types, :type=>"VideoType", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"RichMediaAd"}, :Video=>{:fields=>[{:name=>:duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:streaming_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ready_to_play_on_the_web, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:industry_standard_commercial_identifier, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:advertising_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :AdUnionId=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_union_id_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DemographicTarget=>{:fields=>[{:name=>:bid_modifier, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target"}, :ExemptionRequest=>{:fields=>[{:name=>:key, :type=>"PolicyViolationKey", :min_occurs=>0, :max_occurs=>1}]}, :GeoTarget=>{:fields=>[{:name=>:excluded, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :RichMediaAd=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:dimensions, :type=>"Dimensions", :min_occurs=>0, :max_occurs=>1}, {:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:impression_beacon_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:certified_vendor_format_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Ad"}, :Target=>{:fields=>[{:name=>:target_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Media=>{:fields=>[{:name=>:media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_type_db, :type=>"Media.MediaType", :min_occurs=>0, :max_occurs=>1}, {:name=>:reference_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:dimensions, :type=>"Media_Size_DimensionsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:urls, :type=>"Media_Size_StringMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mime_type, :type=>"Media.MimeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:source_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_sub_type, :type=>"Media.MediaSubType", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:extended_capabilities, :type=>"Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:creation_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :MobileImageAd=>{:fields=>[{:name=>:markup_languages, :type=>"MarkupLanguageType", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mobile_carriers, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:image, :type=>"Image", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :Stats=>{:fields=>[{:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:network, :type=>"Stats.Network", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_position, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpc, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpm, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:ctr, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions_many_per_click, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate_many_per_click, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion_many_per_click, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :TemplateElementField=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"TemplateElementField.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_media, :type=>"Media", :min_occurs=>0, :max_occurs=>1}]}, :ImageAd=>{:fields=>[{:name=>:image, :type=>"Image", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :LocalBusinessAd=>{:fields=>[{:name=>:full_business_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:region, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:region_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:business_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description1, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:target, :type=>"ProximityTarget", :min_occurs=>0, :max_occurs=>1}, {:name=>:business_image, :type=>"Image", :min_occurs=>0, :max_occurs=>1}, {:name=>:icon, :type=>"Image", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :TemplateElement=>{:fields=>[{:name=>:unique_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fields, :type=>"TemplateElementField", :min_occurs=>0, :max_occurs=>:unbounded}]}, :AdGroupAdSelector=>{:fields=>[{:name=>:campaign_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_group_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:statuses, :type=>"AdGroupAd.Status", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:stats_selector, :type=>"AdStatsSelector", :min_occurs=>0, :max_occurs=>1}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :TemplateAd=>{:fields=>[{:name=>:template_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_union_id, :type=>"AdUnionId", :min_occurs=>0, :max_occurs=>1}, {:name=>:template_elements, :type=>"TemplateElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:dimensions, :type=>"Dimensions", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :Ad=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"Ad.ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:disapproval_reasons, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trademark_disapproved, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupAd=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad, :type=>"Ad", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdGroupAd.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"AdStats", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupAdOperation=>{:fields=>[{:name=>:operand, :type=>"AdGroupAd", :min_occurs=>0, :max_occurs=>1}, {:name=>:exemption_requests, :type=>"ExemptionRequest", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Operation"}, :AdGroupAdPage=>{:fields=>[{:name=>:entries, :type=>"AdGroupAd", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :AdGroupAdReturnValue=>{:fields=>[{:name=>:value, :type=>"AdGroupAd", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"Ad.ApprovalStatus"=>{:fields=>[]}, :"AdGroupAd.Status"=>{:fields=>[]}, :"AgeTarget.Age"=>{:fields=>[]}, :DayOfWeek=>{:fields=>[]}, :"DeprecatedAd.Type"=>{:fields=>[]}, :"GenderTarget.Gender"=>{:fields=>[]}, :MarkupLanguageType=>{:fields=>[]}, :"Media.MediaExtendedCapabilityState"=>{:fields=>[]}, :"Media.MediaExtendedCapabilityType"=>{:fields=>[]}, :"Media.MediaSubType"=>{:fields=>[]}, :"Media.MediaType"=>{:fields=>[]}, :"Media.MimeType"=>{:fields=>[]}, :"Media.Size"=>{:fields=>[]}, :MinuteOfHour=>{:fields=>[]}, :NetworkCoverageType=>{:fields=>[]}, :Operator=>{:fields=>[]}, :PlatformType=>{:fields=>[]}, :"ProximityTarget.DistanceUnits"=>{:fields=>[]}, :"Stats.Network"=>{:fields=>[]}, :"TemplateElementField.Type"=>{:fields=>[]}, :VideoType=>{:fields=>[]}}
14
14
  ADGROUPADSERVICE_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.5.2 on 2011-10-20 20:36:20.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:13.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v201003/ad_group_criterion_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.5.2 on 2011-10-20 20:36:20.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:13.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V201003; module AdGroupCriterionService
11
11
  class AdGroupCriterionServiceRegistry
12
- ADGROUPCRITERIONSERVICE_METHODS = {:get=>{:input=>[{:type=>"AdGroupCriterionSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"AdGroupCriterionPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"AdGroupCriterionOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"AdGroupCriterionReturnValue", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- ADGROUPCRITERIONSERVICE_TYPES = {:ManualCPCAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpc}, {:type=>"BidSource", :max_occurs=>1, :min_occurs=>0, :name=>:bid_source}, {:type=>"PositionPreferenceAdGroupCriterionBids", :max_occurs=>1, :min_occurs=>0, :name=>:position_preference_bids}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupCriterionBids"}, :ExemptionRequest=>{:fields=>[{:type=>"PolicyViolationKey", :max_occurs=>1, :min_occurs=>0, :name=>:key}]}, :EntityCountLimitExceeded=>{:fields=>[{:type=>"EntityCountLimitExceeded.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:enclosing_id}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:limit}], :base=>"ApiError"}, :DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :AdGroupCriterionReturnValue=>{:fields=>[{:type=>"AdGroupCriterion", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"ListReturnValue"}, :PositionPreferenceAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_max_cpc}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:preferred_position}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bottom_position}]}, :PolicyViolationKey=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:policy_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:violating_text}]}, :AdGroupCriterionBids=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_criterion_bids_type}], :abstract=>true}, :Bid=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:amount}]}, :Stats=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Stats.Network", :max_occurs=>1, :min_occurs=>0, :name=>:network}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:average_position}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpc}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpm}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:ctr}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions_many_per_click}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate_many_per_click}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion_many_per_click}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_type}]}, :Keyword=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:text}, {:type=>"KeywordMatchType", :max_occurs=>1, :min_occurs=>0, :name=>:match_type}], :base=>"Criterion"}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :ListReturnValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:list_return_value_type}], :abstract=>true}, :AdGroupCriterionSelector=>{:fields=>[{:type=>"AdGroupCriterionIdFilter", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:id_filters}, {:type=>"CriterionUse", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_use}, {:type=>"UserStatus", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:user_statuses}, {:type=>"StatsSelector", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :QualityInfo=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_keyword_ad_relevance_acceptable}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_landing_page_quality_acceptable}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_landing_page_latency_acceptable}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:quality_score}]}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :AdGroupCriterionIdFilter=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_id}]}, :BiddableAdGroupCriterion=>{:fields=>[{:type=>"UserStatus", :max_occurs=>1, :min_occurs=>0, :name=>:user_status}, {:type=>"SystemServingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:system_serving_status}, {:type=>"ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:destination_url}, {:type=>"AdGroupCriterionBids", :max_occurs=>1, :min_occurs=>0, :name=>:bids}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:first_page_cpc}, {:type=>"QualityInfo", :max_occurs=>1, :min_occurs=>0, :name=>:quality_info}, {:type=>"Stats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}], :base=>"AdGroupCriterion"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :NegativeAdGroupCriterion=>{:fields=>[], :base=>"AdGroupCriterion"}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :"PolicyViolationError.Part"=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:length}]}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :AdGroupCriterionLimitExceeded=>{:fields=>[{:type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :max_occurs=>1, :min_occurs=>0, :name=>:limit_type}], :base=>"EntityCountLimitExceeded"}, :AdGroupCriterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"Criterion", :max_occurs=>1, :min_occurs=>0, :name=>:criterion}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_criterion_type}]}, :BudgetOptimizerAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_bid}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupCriterionBids"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :ConversionOptimizerAdGroupCriterionBids=>{:fields=>[], :base=>"AdGroupCriterionBids"}, :AdGroupCriterionOperation=>{:fields=>[{:type=>"AdGroupCriterion", :max_occurs=>1, :min_occurs=>0, :name=>:operand}, {:type=>"ExemptionRequest", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:exemption_requests}], :base=>"Operation"}, :StatsSelector=>{:fields=>[{:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector_type}]}, :Placement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}], :base=>"Criterion"}, :Criterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_type}]}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :abstract=>true}, :Vertical=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:path}], :base=>"Criterion"}, :EntityAccessDenied=>{:fields=>[{:type=>"EntityAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :AdGroupCriterionPage=>{:fields=>[{:type=>"AdGroupCriterion", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"Page"}, :ManualCPMAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpm}, {:type=>"BidSource", :max_occurs=>1, :min_occurs=>0, :name=>:bid_source}], :base=>"AdGroupCriterionBids"}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :base=>"ComparableValue"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}}
12
+ ADGROUPCRITERIONSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"AdGroupCriterionSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"AdGroupCriterionPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"AdGroupCriterionOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"AdGroupCriterionReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ ADGROUPCRITERIONSERVICE_TYPES = {:AdGroupCriterionIdFilter=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupCriterionLimitExceeded=>{:fields=>[{:name=>:limit_type, :type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :min_occurs=>0, :max_occurs=>1}], :base=>"EntityCountLimitExceeded"}, :ConversionOptimizerAdGroupCriterionBids=>{:fields=>[], :base=>"AdGroupCriterionBids"}, :DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :EntityAccessDenied=>{:fields=>[{:name=>:reason, :type=>"EntityAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Keyword=>{:fields=>[{:name=>:text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:match_type, :type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NegativeAdGroupCriterion=>{:fields=>[], :base=>"AdGroupCriterion"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Placement=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :"PolicyViolationError.Part"=>{:fields=>[{:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:length, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :PolicyViolationKey=>{:fields=>[{:name=>:policy_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:violating_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :QualityInfo=>{:fields=>[{:name=>:is_keyword_ad_relevance_acceptable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_landing_page_quality_acceptable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_landing_page_latency_acceptable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:quality_score, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StatsSelector=>{:fields=>[{:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_selector_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Vertical=>{:fields=>[{:name=>:path, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Criterion"}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ExemptionRequest=>{:fields=>[{:name=>:key, :type=>"PolicyViolationKey", :min_occurs=>0, :max_occurs=>1}]}, :Stats=>{:fields=>[{:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:network, :type=>"Stats.Network", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_position, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpc, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpm, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:ctr, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions_many_per_click, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate_many_per_click, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion_many_per_click, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Bid=>{:fields=>[{:name=>:amount, :type=>"Money", :min_occurs=>0, :max_occurs=>1}]}, :BudgetOptimizerAdGroupCriterionBids=>{:fields=>[{:name=>:proxy_bid, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterionBids"}, :ManualCPMAdGroupCriterionBids=>{:fields=>[{:name=>:max_cpm, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_source, :type=>"BidSource", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterionBids"}, :PositionPreferenceAdGroupCriterionBids=>{:fields=>[{:name=>:proxy_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:preferred_position, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:bottom_position, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Criterion=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ManualCPCAdGroupCriterionBids=>{:fields=>[{:name=>:max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_source, :type=>"BidSource", :min_occurs=>0, :max_occurs=>1}, {:name=>:position_preference_bids, :type=>"PositionPreferenceAdGroupCriterionBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterionBids"}, :AdGroupCriterionBids=>{:fields=>[{:name=>:ad_group_criterion_bids_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BiddableAdGroupCriterion=>{:fields=>[{:name=>:user_status, :type=>"UserStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:system_serving_status, :type=>"SystemServingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:destination_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:bids, :type=>"AdGroupCriterionBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:first_page_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:quality_info, :type=>"QualityInfo", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"Stats", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterion"}, :AdGroupCriterion=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion, :type=>"Criterion", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupCriterionOperation=>{:fields=>[{:name=>:operand, :type=>"AdGroupCriterion", :min_occurs=>0, :max_occurs=>1}, {:name=>:exemption_requests, :type=>"ExemptionRequest", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Operation"}, :AdGroupCriterionPage=>{:fields=>[{:name=>:entries, :type=>"AdGroupCriterion", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :AdGroupCriterionReturnValue=>{:fields=>[{:name=>:value, :type=>"AdGroupCriterion", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :AdGroupCriterionSelector=>{:fields=>[{:name=>:id_filters, :type=>"AdGroupCriterionIdFilter", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:criterion_use, :type=>"CriterionUse", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_statuses, :type=>"UserStatus", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:stats_selector, :type=>"StatsSelector", :min_occurs=>0, :max_occurs=>1}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"AdGroupCriterionLimitExceeded.CriteriaLimitType"=>{:fields=>[]}, :ApprovalStatus=>{:fields=>[]}, :BidSource=>{:fields=>[]}, :CriterionUse=>{:fields=>[]}, :KeywordMatchType=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"Stats.Network"=>{:fields=>[]}, :SystemServingStatus=>{:fields=>[]}, :UserStatus=>{:fields=>[]}}
14
14
  ADGROUPCRITERIONSERVICE_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.5.2 on 2011-10-20 20:36:31.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:15.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v201003/ad_group_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.5.2 on 2011-10-20 20:36:31.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:15.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V201003; module AdGroupService
11
11
  class AdGroupServiceRegistry
12
- ADGROUPSERVICE_METHODS = {:get=>{:input=>[{:type=>"AdGroupSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"AdGroupPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"AdGroupOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"AdGroupReturnValue", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- ADGROUPSERVICE_TYPES = {:DateRange=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:min}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:max}]}, :AdGroupSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:campaign_ids}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_group_ids}, {:type=>"StatsSelector", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}, :Bid=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:amount}]}, :Stats=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Stats.Network", :max_occurs=>1, :min_occurs=>0, :name=>:network}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:average_position}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpc}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpm}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:ctr}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions_many_per_click}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate_many_per_click}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion_many_per_click}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_type}]}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :ListReturnValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:list_return_value_type}], :abstract=>true}, :ManualCPMAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpm}], :base=>"AdGroupBids"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :AdGroup=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"AdGroup.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"AdGroupBids", :max_occurs=>1, :min_occurs=>0, :name=>:bids}, {:type=>"Stats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :AdGroupOperation=>{:fields=>[{:type=>"AdGroup", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :BudgetOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_keyword_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_site_max_cpc}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupBids"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :Page=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:page_type}], :abstract=>true}, :AdGroupBids=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_bids_type}], :abstract=>true}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :AdGroupPage=>{:fields=>[{:type=>"AdGroup", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}], :base=>"Page"}, :ConversionOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:target_cpa}, {:type=>"ConversionOptimizerBidType", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_optimizer_bid_type}, {:type=>"ConversionDeduplicationMode", :max_occurs=>1, :min_occurs=>0, :name=>:deduplication_mode}], :base=>"AdGroupBids"}, :StatsSelector=>{:fields=>[{:type=>"DateRange", :max_occurs=>1, :min_occurs=>0, :name=>:date_range}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_selector_type}]}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :abstract=>true}, :AdGroupReturnValue=>{:fields=>[{:type=>"AdGroup", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:value}], :base=>"ListReturnValue"}, :ManualCPCAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:keyword_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:keyword_content_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:site_max_cpc}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupBids"}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :base=>"ComparableValue"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}}
12
+ ADGROUPSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"AdGroupSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"AdGroupPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"AdGroupOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"AdGroupReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ ADGROUPSERVICE_TYPES = {:DateRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :StatsSelector=>{:fields=>[{:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_selector_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Stats=>{:fields=>[{:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:network, :type=>"Stats.Network", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_position, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpc, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpm, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:ctr, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions_many_per_click, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate_many_per_click, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion_many_per_click, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Bid=>{:fields=>[{:name=>:amount, :type=>"Money", :min_occurs=>0, :max_occurs=>1}]}, :BudgetOptimizerAdGroupBids=>{:fields=>[{:name=>:proxy_keyword_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:proxy_site_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ConversionOptimizerAdGroupBids=>{:fields=>[{:name=>:target_cpa, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_optimizer_bid_type, :type=>"ConversionOptimizerBidType", :min_occurs=>0, :max_occurs=>1}, {:name=>:deduplication_mode, :type=>"ConversionDeduplicationMode", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ManualCPCAdGroupBids=>{:fields=>[{:name=>:keyword_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:keyword_content_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:site_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ManualCPMAdGroupBids=>{:fields=>[{:name=>:max_cpm, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :AdGroupBids=>{:fields=>[{:name=>:ad_group_bids_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdGroupSelector=>{:fields=>[{:name=>:campaign_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:ad_group_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:stats_selector, :type=>"StatsSelector", :min_occurs=>0, :max_occurs=>1}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :AdGroup=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdGroup.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:bids, :type=>"AdGroupBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"Stats", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupOperation=>{:fields=>[{:name=>:operand, :type=>"AdGroup", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :AdGroupPage=>{:fields=>[{:name=>:entries, :type=>"AdGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :AdGroupReturnValue=>{:fields=>[{:name=>:value, :type=>"AdGroup", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"ListReturnValue"}, :ListReturnValue=>{:fields=>[{:name=>:list_return_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Page=>{:fields=>[{:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:page_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"AdGroup.Status"=>{:fields=>[]}, :ConversionDeduplicationMode=>{:fields=>[]}, :ConversionOptimizerBidType=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"Stats.Network"=>{:fields=>[]}}
14
14
  ADGROUPSERVICE_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.5.2 on 2011-10-20 20:36:24.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:17.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v201003/ad_param_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.5.2 on 2011-10-20 20:36:24.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:17.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V201003; module AdParamService
11
11
  class AdParamServiceRegistry
12
- ADPARAMSERVICE_METHODS = {:get=>{:input=>[{:type=>"AdParamSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"AdParamPage", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"AdParamOperation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}], :output=>{:fields=>[{:type=>"AdParam", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- ADPARAMSERVICE_TYPES = {:PolicyViolationKey=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:policy_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:violating_text}]}, :AdParam=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:insertion_text}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:param_index}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :"PolicyViolationError.Part"=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:length}]}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :AdParamOperation=>{:fields=>[{:type=>"AdParam", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :Paging=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:number_results}]}, :AdParamPage=>{:fields=>[{:type=>"AdParam", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:entries}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:total_num_entries}]}, :AdParamSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:ad_group_ids}, {:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:criteria_id}, {:type=>"Paging", :max_occurs=>1, :min_occurs=>0, :name=>:paging}]}}
12
+ ADPARAMSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"AdParamSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"AdParamPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"AdParamOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"AdParam", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
13
+ ADPARAMSERVICE_TYPES = {:AdParam=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:insertion_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:param_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :AdParamOperation=>{:fields=>[{:name=>:operand, :type=>"AdParam", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :AdParamPage=>{:fields=>[{:name=>:entries, :type=>"AdParam", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:total_num_entries, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :"PolicyViolationError.Part"=>{:fields=>[{:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:length, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :PolicyViolationKey=>{:fields=>[{:name=>:policy_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:violating_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :AdParamSelector=>{:fields=>[{:name=>:ad_group_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:criteria_id, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :Operator=>{:fields=>[]}}
14
14
  ADPARAMSERVICE_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.5.2 on 2011-10-20 20:36:29.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:18.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v201003/bid_landscape_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.5.2 on 2011-10-20 20:36:29.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:18.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V201003; module BidLandscapeService
11
11
  class BidLandscapeServiceRegistry
12
- BIDLANDSCAPESERVICE_METHODS = {:get_bid_landscape=>{:input=>[{:type=>"BidLandscapeSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"BidLandscape", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:rval}], :name=>"get_bid_landscape_response"}}}
13
- BIDLANDSCAPESERVICE_TYPES = {:BidLandscapeSelector=>{:fields=>[{:type=>"BidLandscapeIdFilter", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:id_filters}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:bid_landscape_selector_type}], :abstract=>true}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :BidLandscape=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"BidLandscape.LandscapePoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:landscape_points}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:bid_landscape_type}], :abstract=>true}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :BidLandscapeIdFilter=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_id}]}, :CriterionBidLandscape=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_id}], :base=>"BidLandscape"}, :"BidLandscape.LandscapePoint"=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:bid}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:marginal_cpc}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}]}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :abstract=>true}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :base=>"ComparableValue"}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :CriterionBidLandscapeSelector=>{:fields=>[], :base=>"BidLandscapeSelector"}}
12
+ BIDLANDSCAPESERVICE_METHODS = {:get_bid_landscape=>{:input=>[{:name=>:selector, :type=>"BidLandscapeSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_bid_landscape_response", :fields=>[{:name=>:rval, :type=>"BidLandscape", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
13
+ BIDLANDSCAPESERVICE_TYPES = {:BidLandscapeIdFilter=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :CriterionBidLandscape=>{:fields=>[{:name=>:criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"BidLandscape"}, :CriterionBidLandscapeSelector=>{:fields=>[], :base=>"BidLandscapeSelector"}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :BidLandscapeSelector=>{:fields=>[{:name=>:id_filters, :type=>"BidLandscapeIdFilter", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:bid_landscape_selector_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :"BidLandscape.LandscapePoint"=>{:fields=>[{:name=>:bid, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:marginal_cpc, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :BidLandscape=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:landscape_points, :type=>"BidLandscape.LandscapePoint", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:bid_landscape_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}}
14
14
  BIDLANDSCAPESERVICE_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.5.2 on 2011-10-20 20:36:54.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:20.
7
7
 
8
8
  require 'ads_common/savon_service'
9
9
  require 'adwords_api/v201003/bulk_mutate_job_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.5.2 on 2011-10-20 20:36:54.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:40:20.
7
7
 
8
8
  require 'adwords_api/errors'
9
9
 
10
10
  module AdwordsApi; module V201003; module BulkMutateJobService
11
11
  class BulkMutateJobServiceRegistry
12
- BULKMUTATEJOBSERVICE_METHODS = {:get=>{:input=>[{:type=>"BulkMutateJobSelector", :max_occurs=>1, :min_occurs=>0, :name=>:selector}], :output=>{:fields=>[{:type=>"BulkMutateJob", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:rval}], :name=>"get_response"}}, :mutate=>{:input=>[{:type=>"JobOperation", :max_occurs=>1, :min_occurs=>0, :name=>:operation}], :output=>{:fields=>[{:type=>"BulkMutateJob", :max_occurs=>1, :min_occurs=>0, :name=>:rval}], :name=>"mutate_response"}}}
13
- BULKMUTATEJOBSERVICE_TYPES = {:Audio=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:duration_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:streaming_url}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:ready_to_play_on_the_web}], :base=>"Media"}, :CampaignTargetOperation=>{:fields=>[{:type=>"TargetList", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :FrequencyCap=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"TimeUnit", :max_occurs=>1, :min_occurs=>0, :name=>:time_unit}, {:type=>"Level", :max_occurs=>1, :min_occurs=>0, :name=>:level}]}, :DemographicTarget=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bid_modifier}], :abstract=>true, :base=>"Target"}, :OperationStream=>{:fields=>[{:type=>"EntityId", :max_occurs=>1, :min_occurs=>0, :name=>:scoping_entity_id}, {:type=>"Operation", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operations}]}, :AdGroupCriterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"Criterion", :max_occurs=>1, :min_occurs=>0, :name=>:criterion}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_criterion_type}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :LocationSyncExtension=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:icon_media_id}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:should_sync_url}], :base=>"AdExtension"}, :EntityId=>{:fields=>[{:type=>"EntityId.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :LanguageTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:language_code}], :base=>"Target"}, :Image=>{:fields=>[{:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:data}], :base=>"Media"}, :PlatformTargetList=>{:fields=>[{:type=>"PlatformTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :AdGroupAd=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_id}, {:type=>"Ad", :max_occurs=>1, :min_occurs=>0, :name=>:ad}, {:type=>"AdGroupAd.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"AdStats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}]}, :LongValue=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :AdScheduleTargetList=>{:fields=>[{:type=>"AdScheduleTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :BiddingStrategy=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_strategy_type}], :abstract=>true}, :MobilePlatformTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:platform_name}], :base=>"MobileTarget"}, :ExemptionRequest=>{:fields=>[{:type=>"PolicyViolationKey", :max_occurs=>1, :min_occurs=>0, :name=>:key}]}, :MobileAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:headline}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description}, {:type=>"MarkupLanguageType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:markup_languages}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:mobile_carriers}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:business_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}], :base=>"Ad"}, :Job=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:customer_job_key}, {:type=>"JobContext", :max_occurs=>1, :min_occurs=>0, :name=>:context}, {:type=>"ApiErrorReason", :max_occurs=>1, :min_occurs=>0, :name=>:failure_reason}, {:type=>"JobStats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}, {:type=>"BillingSummary", :max_occurs=>1, :min_occurs=>0, :name=>:billing_summary}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:job_type}], :abstract=>true}, :UnprocessedResult=>{:fields=>[], :base=>"OperationResult"}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :BillingSummary=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:num_units}]}, :TextAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:headline}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description1}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description2}], :base=>"Ad"}, :PlatformTarget=>{:fields=>[{:type=>"PlatformType", :max_occurs=>1, :min_occurs=>0, :name=>:platform_type}], :base=>"Target"}, :ConversionOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:target_cpa}, {:type=>"ConversionOptimizerBidType", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_optimizer_bid_type}, {:type=>"ConversionDeduplicationMode", :max_occurs=>1, :min_occurs=>0, :name=>:deduplication_mode}], :base=>"AdGroupBids"}, :JobOperation=>{:fields=>[{:type=>"Job", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :CampaignOperation=>{:fields=>[{:type=>"BiddingTransition", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_transition}, {:type=>"Campaign", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :BudgetOptimizerAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_bid}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupCriterionBids"}, :Sitelink=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:display_text}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:destination_url}]}, :AdGroupCriterionLimitExceeded=>{:fields=>[{:type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :max_occurs=>1, :min_occurs=>0, :name=>:limit_type}], :base=>"EntityCountLimitExceeded"}, :BulkMutateJobPolicy=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:prerequisite_job_ids}]}, :ProximityTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"ProximityTarget.DistanceUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_distance_units}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:radius_in_units}, {:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:allow_service_of_address}], :base=>"GeoTarget"}, :PositionPreferenceAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_max_cpc}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:preferred_position}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:bottom_position}]}, :LanguageTargetList=>{:fields=>[{:type=>"LanguageTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :AdUnionId=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_union_id_type}]}, :ManualCPMAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpm}], :base=>"AdGroupBids"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:request_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:operations}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:response_time}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:units}]}, :BulkMutateRequest=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:part_index}, {:type=>"OperationStream", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operation_streams}]}, :EntityCountLimitExceeded=>{:fields=>[{:type=>"EntityCountLimitExceeded.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:enclosing_id}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:limit}], :base=>"ApiError"}, :MobileImageAd=>{:fields=>[{:type=>"MarkupLanguageType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:markup_languages}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:mobile_carriers}, {:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:image}], :base=>"Ad"}, :MobileTargetList=>{:fields=>[{:type=>"MobileTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :Address=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address2}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}]}, :CampaignCriterionLimitExceeded=>{:fields=>[{:type=>"CampaignCriterionLimitExceeded.CriteriaLimitType", :max_occurs=>1, :min_occurs=>0, :name=>:limit_type}], :base=>"EntityCountLimitExceeded"}, :ConversionOptimizerBiddingTransition=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:use_saved_bids}], :base=>"BiddingTransition"}, :CityTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"GeoTarget"}, :AdStats=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:percent_served}], :base=>"Stats"}, :LocalBusinessAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:full_business_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:street_address}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:city}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:region}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:region_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:postal_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:business_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description1}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:description2}, {:type=>"ProximityTarget", :max_occurs=>1, :min_occurs=>0, :name=>:target}, {:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:business_image}, {:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:icon}], :base=>"Ad"}, :AdGroup=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"AdGroup.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"AdGroupBids", :max_occurs=>1, :min_occurs=>0, :name=>:bids}, {:type=>"Stats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}]}, :Operand=>{:fields=>[]}, :AdGroupCriterionBids=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_criterion_bids_type}], :abstract=>true}, :PolicyViolationKey=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:policy_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:violating_text}]}, :ManualCPC=>{:fields=>[{:type=>"PositionPreference", :max_occurs=>1, :min_occurs=>0, :name=>:position_preference}], :base=>"BiddingStrategy"}, :GenderTarget=>{:fields=>[{:type=>"GenderTarget.Gender", :max_occurs=>1, :min_occurs=>0, :name=>:gender}], :base=>"DemographicTarget"}, :DeprecatedAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"DeprecatedAd.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}], :base=>"Ad"}, :ContentLabel=>{:fields=>[{:type=>"ContentLabelType", :max_occurs=>1, :min_occurs=>0, :name=>:content_label_type}], :base=>"Criterion"}, :TemplateAd=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:template_id}, {:type=>"AdUnionId", :max_occurs=>1, :min_occurs=>0, :name=>:ad_union_id}, {:type=>"TemplateElement", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:template_elements}, {:type=>"Dimensions", :max_occurs=>1, :min_occurs=>0, :name=>:dimensions}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:duration}], :base=>"Ad"}, :OperationStreamResult=>{:fields=>[{:type=>"OperationResult", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operation_results}]}, :GeoPoint=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:latitude_in_micro_degrees}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:longitude_in_micro_degrees}]}, :AdExtensionOverride=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:ad_id}, {:type=>"AdExtension", :max_occurs=>1, :min_occurs=>0, :name=>:ad_extension}, {:type=>"OverrideInfo", :max_occurs=>1, :min_occurs=>0, :name=>:override_info}, {:type=>"AdExtensionOverride.Status", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"AdExtensionOverride.ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}, {:type=>"AdExtensionOverrideStats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}]}, :AdGroupCriterionOperation=>{:fields=>[{:type=>"AdGroupCriterion", :max_occurs=>1, :min_occurs=>0, :name=>:operand}, {:type=>"ExemptionRequest", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:exemption_requests}], :base=>"Operation"}, :Stats=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Stats.Network", :max_occurs=>1, :min_occurs=>0, :name=>:network}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:clicks}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:impressions}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:average_position}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpc}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:average_cpm}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:ctr}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:conversions_many_per_click}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_rate_many_per_click}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:cost_per_conversion_many_per_click}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:stats_type}]}, :Media_Size_DimensionsMapEntry=>{:fields=>[{:type=>"Media.Size", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"Dimensions", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :FailureResult=>{:fields=>[{:type=>"ApiException", :max_occurs=>1, :min_occurs=>0, :name=>:cause}], :base=>"OperationResult"}, :Budget=>{:fields=>[{:type=>"Budget.BudgetPeriod", :max_occurs=>1, :min_occurs=>0, :name=>:period}, {:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:amount}, {:type=>"Budget.BudgetDeliveryMethod", :max_occurs=>1, :min_occurs=>0, :name=>:delivery_method}]}, :MetroTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:metro_code}], :base=>"GeoTarget"}, :ReturnValueResult=>{:fields=>[{:type=>"Operand", :max_occurs=>1, :min_occurs=>0, :name=>:return_value}], :base=>"OperationResult"}, :AdGroupAdOperation=>{:fields=>[{:type=>"AdGroupAd", :max_occurs=>1, :min_occurs=>0, :name=>:operand}, {:type=>"ExemptionRequest", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:exemption_requests}], :base=>"Operation"}, :MobileExtension=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"AdExtension"}, :ApiErrorReason=>{:fields=>[]}, :BiddingTransition=>{:fields=>[{:type=>"BiddingStrategy", :max_occurs=>1, :min_occurs=>0, :name=>:target_bidding_strategy}, {:type=>"AdGroupBids", :max_occurs=>1, :min_occurs=>0, :name=>:explicit_ad_group_bids}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_transition_type}]}, :MobileTarget=>{:fields=>[], :abstract=>true, :base=>"Target"}, :Bid=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:amount}]}, :JobContext=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:authenticated_user_email}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:effective_customer_id}]}, :BulkMutateJob=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"BulkMutateJobPolicy", :max_occurs=>1, :min_occurs=>0, :name=>:policy}, {:type=>"BulkMutateRequest", :max_occurs=>1, :min_occurs=>0, :name=>:request}, {:type=>"BasicJobStatus", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"BulkMutateJobEvent", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:history}, {:type=>"BulkMutateResult", :max_occurs=>1, :min_occurs=>0, :name=>:result}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_request_parts}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_request_parts_received}], :base=>"Job"}, :ThirdPartyRedirectAd=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_cookie_targeted}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_user_interest_targeted}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_tagged}, {:type=>"VideoType", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:video_types}], :base=>"RichMediaAd"}, :PolygonTarget=>{:fields=>[{:type=>"GeoPoint", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:vertices}], :base=>"GeoTarget"}, :ManualCPCAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:keyword_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:keyword_content_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:site_max_cpc}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupBids"}, :JobSelector=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:customer_job_keys}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:include_history}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:include_stats}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:job_selector_type}], :abstract=>true}, :SitelinksExtension=>{:fields=>[{:type=>"Sitelink", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:sitelinks}], :base=>"AdExtension"}, :BulkMutateJobSelector=>{:fields=>[{:type=>"long", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:job_ids}, {:type=>"BasicJobStatus", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:job_statuses}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:result_part_index}], :base=>"JobSelector"}, :ConversionOptimizerAdGroupCriterionBids=>{:fields=>[], :base=>"AdGroupCriterionBids"}, :Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry=>{:fields=>[{:type=>"Media.MediaExtendedCapabilityType", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"Media.MediaExtendedCapabilityState", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :Target=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_type}], :abstract=>true}, :RichMediaAd=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"Dimensions", :max_occurs=>1, :min_occurs=>0, :name=>:dimensions}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:snippet}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:impression_beacon_url}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:certified_vendor_format_id}], :abstract=>true, :base=>"Ad"}, :LocationOverrideInfo=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:radius}, {:type=>"LocationOverrideInfo.RadiusUnits", :max_occurs=>1, :min_occurs=>0, :name=>:radius_units}]}, :CampaignStats=>{:fields=>[], :base=>"Stats"}, :AdScheduleTarget=>{:fields=>[{:type=>"DayOfWeek", :max_occurs=>1, :min_occurs=>0, :name=>:day_of_week}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:start_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:start_minute}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:end_hour}, {:type=>"MinuteOfHour", :max_occurs=>1, :min_occurs=>0, :name=>:end_minute}, {:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:bid_multiplier}], :base=>"Target"}, :Keyword=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:text}, {:type=>"KeywordMatchType", :max_occurs=>1, :min_occurs=>0, :name=>:match_type}], :base=>"Criterion"}, :AdExtensionOverrideStats=>{:fields=>[], :base=>"Stats"}, :BulkMutateResult=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:part_index}, {:type=>"OperationStreamResult", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:operation_stream_results}]}, :TemplateElementField=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"TemplateElementField.Type", :max_occurs=>1, :min_occurs=>0, :name=>:type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:field_text}, {:type=>"Media", :max_occurs=>1, :min_occurs=>0, :name=>:field_media}]}, :Criterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:criterion_type}]}, :NegativeCampaignCriterion=>{:fields=>[], :base=>"CampaignCriterion"}, :Placement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}], :base=>"Criterion"}, :CampaignCriterionOperation=>{:fields=>[{:type=>"CampaignCriterion", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :CountryTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"GeoTarget"}, :TemplateElement=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:unique_name}, {:type=>"TemplateElementField", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:fields}]}, :OperationResult=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_result_type}], :abstract=>true}, :BiddableAdGroupCriterion=>{:fields=>[{:type=>"UserStatus", :max_occurs=>1, :min_occurs=>0, :name=>:user_status}, {:type=>"SystemServingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:system_serving_status}, {:type=>"ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:destination_url}, {:type=>"AdGroupCriterionBids", :max_occurs=>1, :min_occurs=>0, :name=>:bids}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:first_page_cpc}, {:type=>"QualityInfo", :max_occurs=>1, :min_occurs=>0, :name=>:quality_info}, {:type=>"Stats", :max_occurs=>1, :min_occurs=>0, :name=>:stats}], :base=>"AdGroupCriterion"}, :AdGroupOperation=>{:fields=>[{:type=>"AdGroup", :max_occurs=>1, :min_occurs=>0, :name=>:operand}], :base=>"Operation"}, :DoubleValue=>{:fields=>[{:type=>"double", :max_occurs=>1, :min_occurs=>0, :name=>:number}], :base=>"NumberValue"}, :QualityInfo=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_keyword_ad_relevance_acceptable}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_landing_page_quality_acceptable}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:is_landing_page_latency_acceptable}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:quality_score}]}, :ManualCPM=>{:fields=>[], :base=>"BiddingStrategy"}, :GeoTarget=>{:fields=>[{:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:excluded}], :abstract=>true, :base=>"Target"}, :Dimensions=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:width}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:height}]}, :ComparableValue=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:comparable_value_type}], :abstract=>true}, :DemographicTargetList=>{:fields=>[{:type=>"DemographicTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :OverrideInfo=>{:fields=>[]}, :LocationExtension=>{:fields=>[{:type=>"Address", :max_occurs=>1, :min_occurs=>0, :name=>:address}, {:type=>"GeoPoint", :max_occurs=>1, :min_occurs=>0, :name=>:geo_point}, {:type=>"base64Binary", :max_occurs=>1, :min_occurs=>0, :name=>:encoded_location}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:company_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:phone_number}, {:type=>"LocationExtension.Source", :max_occurs=>1, :min_occurs=>0, :name=>:source}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:icon_media_id}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:image_media_id}], :base=>"AdExtension"}, :Ad=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:url}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:display_url}, {:type=>"Ad.ApprovalStatus", :max_occurs=>1, :min_occurs=>0, :name=>:approval_status}, {:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:disapproval_reasons}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:trademark_disapproved}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_type}]}, :Vertical=>{:fields=>[{:type=>"string", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:path}], :base=>"Criterion"}, :MobileCarrierTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:carrier_name}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:country_code}], :base=>"MobileTarget"}, :Media_Size_StringMapEntry=>{:fields=>[{:type=>"Media.Size", :max_occurs=>1, :min_occurs=>0, :name=>:key}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:value}]}, :AdExtension=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_extension_type}]}, :GeoTargetList=>{:fields=>[{:type=>"GeoTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :BudgetOptimizer=>{:fields=>[{:type=>"Money", :max_occurs=>1, :min_occurs=>0, :name=>:bid_ceiling}], :base=>"BiddingStrategy"}, :TargetList=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:target_list_type}], :abstract=>true}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :BatchFailureResult=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:operation_index_in_batch}], :base=>"OperationResult"}, :TempAdUnionId=>{:fields=>[], :base=>"AdUnionId"}, :BudgetOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_keyword_max_cpc}, {:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:proxy_site_max_cpc}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupBids"}, :JobEvent=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:date_time}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:job_event_type}]}, :Campaign=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"CampaignStatus", :max_occurs=>1, :min_occurs=>0, :name=>:status}, {:type=>"ServingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:serving_status}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:start_date}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:end_date}, {:type=>"Budget", :max_occurs=>1, :min_occurs=>0, :name=>:budget}, {:type=>"BiddingStrategy", :max_occurs=>1, :min_occurs=>0, :name=>:bidding_strategy}, {:type=>"AutoKeywordMatchingStatus", :max_occurs=>1, :min_occurs=>0, :name=>:auto_keyword_matching_status}, {:type=>"CampaignStats", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_stats}, {:type=>"AdServingOptimizationStatus", :max_occurs=>1, :min_occurs=>0, :name=>:ad_serving_optimization_status}, {:type=>"FrequencyCap", :max_occurs=>1, :min_occurs=>0, :name=>:frequency_cap}]}, :NetworkTarget=>{:fields=>[{:type=>"NetworkCoverageType", :max_occurs=>1, :min_occurs=>0, :name=>:network_coverage_type}], :base=>"Target"}, :"PolicyViolationError.Part"=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:index}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:length}]}, :BulkMutateJobEvent=>{:fields=>[{:type=>"BasicJobStatus", :max_occurs=>1, :min_occurs=>0, :name=>:status}], :base=>"JobEvent"}, :Video=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:duration_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:streaming_url}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:ready_to_play_on_the_web}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:industry_standard_commercial_identifier}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:advertising_id}], :base=>"Media"}, :ProvinceTarget=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:province_code}], :base=>"GeoTarget"}, :ManualCPMAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpm}, {:type=>"BidSource", :max_occurs=>1, :min_occurs=>0, :name=>:bid_source}], :base=>"AdGroupCriterionBids"}, :Operation=>{:fields=>[{:type=>"Operator", :max_occurs=>1, :min_occurs=>0, :name=>:operator}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:operation_type}], :abstract=>true}, :JobStats=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:progress_percent}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:pending_time_millis}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:processing_time_millis}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:job_stats_type}]}, :SoapHeader=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:auth_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_customer_id}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:client_email}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:developer_token}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:user_agent}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:validate_only}]}, :BulkMutateJobStats=>{:fields=>[{:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_operations}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_failed_operations}, {:type=>"int", :max_occurs=>1, :min_occurs=>0, :name=>:num_unprocessed_operations}], :base=>"JobStats"}, :EntityAccessDenied=>{:fields=>[{:type=>"EntityAccessDenied.Reason", :max_occurs=>1, :min_occurs=>0, :name=>:reason}], :base=>"ApiError"}, :Media=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:media_id}, {:type=>"Media.MediaType", :max_occurs=>1, :min_occurs=>0, :name=>:media_type_db}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:reference_id}, {:type=>"Media_Size_DimensionsMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:dimensions}, {:type=>"Media_Size_StringMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:urls}, {:type=>"Media.MimeType", :max_occurs=>1, :min_occurs=>0, :name=>:mime_type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:source_url}, {:type=>"Media.MediaSubType", :max_occurs=>1, :min_occurs=>0, :name=>:media_sub_type}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}, {:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:file_size}, {:type=>"Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:extended_capabilities}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:creation_time}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:media_type}]}, :AdGroupBids=>{:fields=>[{:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:ad_group_bids_type}], :abstract=>true}, :LostResult=>{:fields=>[], :base=>"OperationResult"}, :ConversionOptimizer=>{:fields=>[{:type=>"PricingModel", :max_occurs=>1, :min_occurs=>0, :name=>:pricing_model}, {:type=>"ConversionOptimizerBidType", :max_occurs=>1, :min_occurs=>0, :name=>:conversion_optimizer_bid_type}, {:type=>"ConversionDeduplicationMode", :max_occurs=>1, :min_occurs=>0, :name=>:deduplication_mode}], :base=>"BiddingStrategy"}, :AgeTarget=>{:fields=>[{:type=>"AgeTarget.Age", :max_occurs=>1, :min_occurs=>0, :name=>:age}], :base=>"DemographicTarget"}, :NegativeAdGroupCriterion=>{:fields=>[], :base=>"AdGroupCriterion"}, :AdGroupAdCountLimitExceeded=>{:fields=>[], :base=>"EntityCountLimitExceeded"}, :Money=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:micro_amount}], :base=>"ComparableValue"}, :CampaignCriterion=>{:fields=>[{:type=>"long", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_id}, {:type=>"Criterion", :max_occurs=>1, :min_occurs=>0, :name=>:criterion}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:campaign_criterion_type}]}, :NetworkTargetList=>{:fields=>[{:type=>"NetworkTarget", :max_occurs=>:unbounded, :min_occurs=>0, :name=>:targets}], :base=>"TargetList"}, :ManualCPCAdGroupCriterionBids=>{:fields=>[{:type=>"Bid", :max_occurs=>1, :min_occurs=>0, :name=>:max_cpc}, {:type=>"BidSource", :max_occurs=>1, :min_occurs=>0, :name=>:bid_source}, {:type=>"PositionPreferenceAdGroupCriterionBids", :max_occurs=>1, :min_occurs=>0, :name=>:position_preference_bids}, {:type=>"boolean", :max_occurs=>1, :min_occurs=>0, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupCriterionBids"}, :ImageAd=>{:fields=>[{:type=>"Image", :max_occurs=>1, :min_occurs=>0, :name=>:image}, {:type=>"string", :max_occurs=>1, :min_occurs=>0, :name=>:name}], :base=>"Ad"}}
12
+ BULKMUTATEJOBSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"BulkMutateJobSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"BulkMutateJob", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :mutate=>{:input=>[{:name=>:operation, :type=>"JobOperation", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"BulkMutateJob", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ BULKMUTATEJOBSERVICE_TYPES = {:Ad=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:display_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"Ad.ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:disapproval_reasons, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:trademark_disapproved, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdExtension=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_extension_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdExtensionOverride=>{:fields=>[{:name=>:ad_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_extension, :type=>"AdExtension", :min_occurs=>0, :max_occurs=>1}, {:name=>:override_info, :type=>"OverrideInfo", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdExtensionOverride.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"AdExtensionOverride.ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"AdExtensionOverrideStats", :min_occurs=>0, :max_occurs=>1}]}, :AdExtensionOverrideStats=>{:fields=>[], :base=>"Stats"}, :AdGroup=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdGroup.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:bids, :type=>"AdGroupBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"Stats", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupAd=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad, :type=>"Ad", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"AdGroupAd.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"AdStats", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupAdCountLimitExceeded=>{:fields=>[], :base=>"EntityCountLimitExceeded"}, :AdGroupAdOperation=>{:fields=>[{:name=>:operand, :type=>"AdGroupAd", :min_occurs=>0, :max_occurs=>1}, {:name=>:exemption_requests, :type=>"ExemptionRequest", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Operation"}, :AdGroupBids=>{:fields=>[{:name=>:ad_group_bids_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdGroupCriterion=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion, :type=>"Criterion", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AdGroupCriterionBids=>{:fields=>[{:name=>:ad_group_criterion_bids_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdGroupCriterionLimitExceeded=>{:fields=>[{:name=>:limit_type, :type=>"AdGroupCriterionLimitExceeded.CriteriaLimitType", :min_occurs=>0, :max_occurs=>1}], :base=>"EntityCountLimitExceeded"}, :AdGroupCriterionOperation=>{:fields=>[{:name=>:operand, :type=>"AdGroupCriterion", :min_occurs=>0, :max_occurs=>1}, {:name=>:exemption_requests, :type=>"ExemptionRequest", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Operation"}, :AdGroupOperation=>{:fields=>[{:name=>:operand, :type=>"AdGroup", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :AdScheduleTarget=>{:fields=>[{:name=>:day_of_week, :type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_hour, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_minute, :type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_multiplier, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :AdScheduleTargetList=>{:fields=>[{:name=>:targets, :type=>"AdScheduleTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :AdStats=>{:fields=>[{:name=>:percent_served, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"Stats"}, :AdUnionId=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_union_id_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Address=>{:fields=>[{:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :AgeTarget=>{:fields=>[{:name=>:age, :type=>"AgeTarget.Age", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget"}, :ApiErrorReason=>{:fields=>[]}, :Audio=>{:fields=>[{:name=>:duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:streaming_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ready_to_play_on_the_web, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :BatchFailureResult=>{:fields=>[{:name=>:operation_index_in_batch, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"OperationResult"}, :Bid=>{:fields=>[{:name=>:amount, :type=>"Money", :min_occurs=>0, :max_occurs=>1}]}, :BiddableAdGroupCriterion=>{:fields=>[{:name=>:user_status, :type=>"UserStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:system_serving_status, :type=>"SystemServingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:approval_status, :type=>"ApprovalStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:destination_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:bids, :type=>"AdGroupCriterionBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:first_page_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:quality_info, :type=>"QualityInfo", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"Stats", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterion"}, :BiddingStrategy=>{:fields=>[{:name=>:bidding_strategy_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :BiddingTransition=>{:fields=>[{:name=>:target_bidding_strategy, :type=>"BiddingStrategy", :min_occurs=>0, :max_occurs=>1}, {:name=>:explicit_ad_group_bids, :type=>"AdGroupBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:bidding_transition_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :BillingSummary=>{:fields=>[{:name=>:num_operations, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Budget=>{:fields=>[{:name=>:period, :type=>"Budget.BudgetPeriod", :min_occurs=>0, :max_occurs=>1}, {:name=>:amount, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:delivery_method, :type=>"Budget.BudgetDeliveryMethod", :min_occurs=>0, :max_occurs=>1}]}, :BudgetOptimizer=>{:fields=>[{:name=>:bid_ceiling, :type=>"Money", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingStrategy"}, :BudgetOptimizerAdGroupBids=>{:fields=>[{:name=>:proxy_keyword_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:proxy_site_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :BudgetOptimizerAdGroupCriterionBids=>{:fields=>[{:name=>:proxy_bid, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterionBids"}, :BulkMutateJob=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:policy, :type=>"BulkMutateJobPolicy", :min_occurs=>0, :max_occurs=>1}, {:name=>:request, :type=>"BulkMutateRequest", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"BasicJobStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:history, :type=>"BulkMutateJobEvent", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:result, :type=>"BulkMutateResult", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_request_parts, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_request_parts_received, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Job"}, :BulkMutateJobEvent=>{:fields=>[{:name=>:status, :type=>"BasicJobStatus", :min_occurs=>0, :max_occurs=>1}], :base=>"JobEvent"}, :BulkMutateJobPolicy=>{:fields=>[{:name=>:prerequisite_job_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BulkMutateJobSelector=>{:fields=>[{:name=>:job_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:job_statuses, :type=>"BasicJobStatus", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:result_part_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"JobSelector"}, :BulkMutateJobStats=>{:fields=>[{:name=>:num_operations, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_failed_operations, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_unprocessed_operations, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"JobStats"}, :BulkMutateRequest=>{:fields=>[{:name=>:part_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_streams, :type=>"OperationStream", :min_occurs=>0, :max_occurs=>:unbounded}]}, :BulkMutateResult=>{:fields=>[{:name=>:part_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_stream_results, :type=>"OperationStreamResult", :min_occurs=>0, :max_occurs=>:unbounded}]}, :Campaign=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"CampaignStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:serving_status, :type=>"ServingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:budget, :type=>"Budget", :min_occurs=>0, :max_occurs=>1}, {:name=>:bidding_strategy, :type=>"BiddingStrategy", :min_occurs=>0, :max_occurs=>1}, {:name=>:auto_keyword_matching_status, :type=>"AutoKeywordMatchingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_stats, :type=>"CampaignStats", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_serving_optimization_status, :type=>"AdServingOptimizationStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:frequency_cap, :type=>"FrequencyCap", :min_occurs=>0, :max_occurs=>1}]}, :CampaignCriterion=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion, :type=>"Criterion", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CampaignCriterionLimitExceeded=>{:fields=>[{:name=>:limit_type, :type=>"CampaignCriterionLimitExceeded.CriteriaLimitType", :min_occurs=>0, :max_occurs=>1}], :base=>"EntityCountLimitExceeded"}, :CampaignCriterionOperation=>{:fields=>[{:name=>:operand, :type=>"CampaignCriterion", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CampaignOperation=>{:fields=>[{:name=>:bidding_transition, :type=>"BiddingTransition", :min_occurs=>0, :max_occurs=>1}, {:name=>:operand, :type=>"Campaign", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CampaignStats=>{:fields=>[], :base=>"Stats"}, :CampaignTargetOperation=>{:fields=>[{:name=>:operand, :type=>"TargetList", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :CityTarget=>{:fields=>[{:name=>:city_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ContentLabel=>{:fields=>[{:name=>:content_label_type, :type=>"ContentLabelType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :ConversionOptimizer=>{:fields=>[{:name=>:pricing_model, :type=>"PricingModel", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_optimizer_bid_type, :type=>"ConversionOptimizerBidType", :min_occurs=>0, :max_occurs=>1}, {:name=>:deduplication_mode, :type=>"ConversionDeduplicationMode", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingStrategy"}, :ConversionOptimizerAdGroupBids=>{:fields=>[{:name=>:target_cpa, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_optimizer_bid_type, :type=>"ConversionOptimizerBidType", :min_occurs=>0, :max_occurs=>1}, {:name=>:deduplication_mode, :type=>"ConversionDeduplicationMode", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ConversionOptimizerAdGroupCriterionBids=>{:fields=>[], :base=>"AdGroupCriterionBids"}, :ConversionOptimizerBiddingTransition=>{:fields=>[{:name=>:use_saved_bids, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingTransition"}, :CountryTarget=>{:fields=>[{:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :Criterion=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :DemographicTarget=>{:fields=>[{:name=>:bid_modifier, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target"}, :DemographicTargetList=>{:fields=>[{:name=>:targets, :type=>"DemographicTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :DeprecatedAd=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"DeprecatedAd.Type", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :Dimensions=>{:fields=>[{:name=>:width, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:height, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :DoubleValue=>{:fields=>[{:name=>:number, :type=>"double", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :EntityAccessDenied=>{:fields=>[{:name=>:reason, :type=>"EntityAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityCountLimitExceeded=>{:fields=>[{:name=>:reason, :type=>"EntityCountLimitExceeded.Reason", :min_occurs=>0, :max_occurs=>1}, {:name=>:enclosing_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:limit, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :EntityId=>{:fields=>[{:name=>:type, :type=>"EntityId.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :ExemptionRequest=>{:fields=>[{:name=>:key, :type=>"PolicyViolationKey", :min_occurs=>0, :max_occurs=>1}]}, :FailureResult=>{:fields=>[{:name=>:cause, :type=>"ApiException", :min_occurs=>0, :max_occurs=>1}], :base=>"OperationResult"}, :FrequencyCap=>{:fields=>[{:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:time_unit, :type=>"TimeUnit", :min_occurs=>0, :max_occurs=>1}, {:name=>:level, :type=>"Level", :min_occurs=>0, :max_occurs=>1}]}, :GenderTarget=>{:fields=>[{:name=>:gender, :type=>"GenderTarget.Gender", :min_occurs=>0, :max_occurs=>1}], :base=>"DemographicTarget"}, :GeoPoint=>{:fields=>[{:name=>:latitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:longitude_in_micro_degrees, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :GeoTarget=>{:fields=>[{:name=>:excluded, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Target"}, :GeoTargetList=>{:fields=>[{:name=>:targets, :type=>"GeoTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :Image=>{:fields=>[{:name=>:data, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :ImageAd=>{:fields=>[{:name=>:image, :type=>"Image", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :Job=>{:fields=>[{:name=>:customer_job_key, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:context, :type=>"JobContext", :min_occurs=>0, :max_occurs=>1}, {:name=>:failure_reason, :type=>"ApiErrorReason", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"JobStats", :min_occurs=>0, :max_occurs=>1}, {:name=>:billing_summary, :type=>"BillingSummary", :min_occurs=>0, :max_occurs=>1}, {:name=>:job_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :JobContext=>{:fields=>[{:name=>:authenticated_user_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:effective_customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :JobEvent=>{:fields=>[{:name=>:date_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:job_event_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :JobOperation=>{:fields=>[{:name=>:operand, :type=>"Job", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :JobSelector=>{:fields=>[{:name=>:customer_job_keys, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:include_history, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:include_stats, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:job_selector_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :JobStats=>{:fields=>[{:name=>:progress_percent, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:pending_time_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:processing_time_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:job_stats_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Keyword=>{:fields=>[{:name=>:text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:match_type, :type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :LanguageTarget=>{:fields=>[{:name=>:language_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :LanguageTargetList=>{:fields=>[{:name=>:targets, :type=>"LanguageTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :LocalBusinessAd=>{:fields=>[{:name=>:full_business_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:street_address, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:city, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:region, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:region_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:postal_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:business_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description1, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description2, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:target, :type=>"ProximityTarget", :min_occurs=>0, :max_occurs=>1}, {:name=>:business_image, :type=>"Image", :min_occurs=>0, :max_occurs=>1}, {:name=>:icon, :type=>"Image", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :LocationExtension=>{:fields=>[{:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:encoded_location, :type=>"base64Binary", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:source, :type=>"LocationExtension.Source", :min_occurs=>0, :max_occurs=>1}, {:name=>:icon_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:image_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"AdExtension"}, :LocationOverrideInfo=>{:fields=>[{:name=>:radius, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_units, :type=>"LocationOverrideInfo.RadiusUnits", :min_occurs=>0, :max_occurs=>1}]}, :LocationSyncExtension=>{:fields=>[{:name=>:email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:icon_media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:should_sync_url, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdExtension"}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :LostResult=>{:fields=>[], :base=>"OperationResult"}, :ManualCPC=>{:fields=>[{:name=>:position_preference, :type=>"PositionPreference", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingStrategy"}, :ManualCPCAdGroupBids=>{:fields=>[{:name=>:keyword_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:keyword_content_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:site_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ManualCPCAdGroupCriterionBids=>{:fields=>[{:name=>:max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_source, :type=>"BidSource", :min_occurs=>0, :max_occurs=>1}, {:name=>:position_preference_bids, :type=>"PositionPreferenceAdGroupCriterionBids", :min_occurs=>0, :max_occurs=>1}, {:name=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterionBids"}, :ManualCPM=>{:fields=>[], :base=>"BiddingStrategy"}, :ManualCPMAdGroupBids=>{:fields=>[{:name=>:max_cpm, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :ManualCPMAdGroupCriterionBids=>{:fields=>[{:name=>:max_cpm, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:bid_source, :type=>"BidSource", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupCriterionBids"}, :Media=>{:fields=>[{:name=>:media_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_type_db, :type=>"Media.MediaType", :min_occurs=>0, :max_occurs=>1}, {:name=>:reference_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:dimensions, :type=>"Media_Size_DimensionsMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:urls, :type=>"Media_Size_StringMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mime_type, :type=>"Media.MimeType", :min_occurs=>0, :max_occurs=>1}, {:name=>:source_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_sub_type, :type=>"Media.MediaSubType", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:file_size, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:extended_capabilities, :type=>"Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:creation_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:media_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Media_MediaExtendedCapabilityType_Media_MediaExtendedCapabilityStateMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.MediaExtendedCapabilityType", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Media.MediaExtendedCapabilityState", :min_occurs=>0, :max_occurs=>1}]}, :Media_Size_DimensionsMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"Dimensions", :min_occurs=>0, :max_occurs=>1}]}, :Media_Size_StringMapEntry=>{:fields=>[{:name=>:key, :type=>"Media.Size", :min_occurs=>0, :max_occurs=>1}, {:name=>:value, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :MetroTarget=>{:fields=>[{:name=>:metro_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :MobileAd=>{:fields=>[{:name=>:headline, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:markup_languages, :type=>"MarkupLanguageType", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mobile_carriers, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:business_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :MobileCarrierTarget=>{:fields=>[{:name=>:carrier_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"MobileTarget"}, :MobileExtension=>{:fields=>[{:name=>:phone_number, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"AdExtension"}, :MobileImageAd=>{:fields=>[{:name=>:markup_languages, :type=>"MarkupLanguageType", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:mobile_carriers, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:image, :type=>"Image", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :MobilePlatformTarget=>{:fields=>[{:name=>:platform_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"MobileTarget"}, :MobileTarget=>{:fields=>[], :abstract=>true, :base=>"Target"}, :MobileTargetList=>{:fields=>[{:name=>:targets, :type=>"MobileTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NegativeAdGroupCriterion=>{:fields=>[], :base=>"AdGroupCriterion"}, :NegativeCampaignCriterion=>{:fields=>[], :base=>"CampaignCriterion"}, :NetworkTarget=>{:fields=>[{:name=>:network_coverage_type, :type=>"NetworkCoverageType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :NetworkTargetList=>{:fields=>[{:name=>:targets, :type=>"NetworkTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :Operand=>{:fields=>[]}, :Operation=>{:fields=>[{:name=>:operator, :type=>"Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:operation_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OperationResult=>{:fields=>[{:name=>:operation_result_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :OperationStream=>{:fields=>[{:name=>:scoping_entity_id, :type=>"EntityId", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"Operation", :min_occurs=>0, :max_occurs=>:unbounded}]}, :OperationStreamResult=>{:fields=>[{:name=>:operation_results, :type=>"OperationResult", :min_occurs=>0, :max_occurs=>:unbounded}]}, :OverrideInfo=>{:fields=>[]}, :Placement=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :PlatformTarget=>{:fields=>[{:name=>:platform_type, :type=>"PlatformType", :min_occurs=>0, :max_occurs=>1}], :base=>"Target"}, :PlatformTargetList=>{:fields=>[{:name=>:targets, :type=>"PlatformTarget", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"TargetList"}, :"PolicyViolationError.Part"=>{:fields=>[{:name=>:index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:length, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :PolicyViolationKey=>{:fields=>[{:name=>:policy_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:violating_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :PolygonTarget=>{:fields=>[{:name=>:vertices, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"GeoTarget"}, :PositionPreferenceAdGroupCriterionBids=>{:fields=>[{:name=>:proxy_max_cpc, :type=>"Bid", :min_occurs=>0, :max_occurs=>1}, {:name=>:preferred_position, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:bottom_position, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :ProvinceTarget=>{:fields=>[{:name=>:province_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :ProximityTarget=>{:fields=>[{:name=>:geo_point, :type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_distance_units, :type=>"ProximityTarget.DistanceUnits", :min_occurs=>0, :max_occurs=>1}, {:name=>:radius_in_units, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:address, :type=>"Address", :min_occurs=>0, :max_occurs=>1}, {:name=>:allow_service_of_address, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"GeoTarget"}, :QualityInfo=>{:fields=>[{:name=>:is_keyword_ad_relevance_acceptable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_landing_page_quality_acceptable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_landing_page_latency_acceptable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:quality_score, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :ReturnValueResult=>{:fields=>[{:name=>:return_value, :type=>"Operand", :min_occurs=>0, :max_occurs=>1}], :base=>"OperationResult"}, :RichMediaAd=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:dimensions, :type=>"Dimensions", :min_occurs=>0, :max_occurs=>1}, {:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:impression_beacon_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:certified_vendor_format_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :abstract=>true, :base=>"Ad"}, :Sitelink=>{:fields=>[{:name=>:display_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:destination_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :SitelinksExtension=>{:fields=>[{:name=>:sitelinks, :type=>"Sitelink", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"AdExtension"}, :SoapHeader=>{:fields=>[{:name=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_email, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:developer_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_agent, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:validate_only, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operations, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:response_time, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:units, :type=>"long", :min_occurs=>0, :max_occurs=>1}]}, :Stats=>{:fields=>[{:name=>:start_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:network, :type=>"Stats.Network", :min_occurs=>0, :max_occurs=>1}, {:name=>:clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:impressions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_position, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpc, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:average_cpm, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:ctr, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversions_many_per_click, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_rate_many_per_click, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:cost_per_conversion_many_per_click, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :Target=>{:fields=>[{:name=>:target_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :TargetList=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_list_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :TempAdUnionId=>{:fields=>[], :base=>"AdUnionId"}, :TemplateAd=>{:fields=>[{:name=>:template_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_union_id, :type=>"AdUnionId", :min_occurs=>0, :max_occurs=>1}, {:name=>:template_elements, :type=>"TemplateElement", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:dimensions, :type=>"Dimensions", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:duration, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :TemplateElement=>{:fields=>[{:name=>:unique_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:fields, :type=>"TemplateElementField", :min_occurs=>0, :max_occurs=>:unbounded}]}, :TemplateElementField=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"TemplateElementField.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_text, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:field_media, :type=>"Media", :min_occurs=>0, :max_occurs=>1}]}, :TextAd=>{:fields=>[{:name=>:headline, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description1, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:description2, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Ad"}, :ThirdPartyRedirectAd=>{:fields=>[{:name=>:is_cookie_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_user_interest_targeted, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_tagged, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:video_types, :type=>"VideoType", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"RichMediaAd"}, :UnprocessedResult=>{:fields=>[], :base=>"OperationResult"}, :Vertical=>{:fields=>[{:name=>:path, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Criterion"}, :Video=>{:fields=>[{:name=>:duration_millis, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:streaming_url, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:ready_to_play_on_the_web, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:industry_standard_commercial_identifier, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:advertising_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Media"}, :"Ad.ApprovalStatus"=>{:fields=>[]}, :"AdExtensionOverride.ApprovalStatus"=>{:fields=>[]}, :"AdExtensionOverride.Status"=>{:fields=>[]}, :"AdGroup.Status"=>{:fields=>[]}, :"AdGroupAd.Status"=>{:fields=>[]}, :"AdGroupCriterionLimitExceeded.CriteriaLimitType"=>{:fields=>[]}, :AdServingOptimizationStatus=>{:fields=>[]}, :"AgeTarget.Age"=>{:fields=>[]}, :ApprovalStatus=>{:fields=>[]}, :AutoKeywordMatchingStatus=>{:fields=>[]}, :BasicJobStatus=>{:fields=>[]}, :BidSource=>{:fields=>[]}, :"Budget.BudgetDeliveryMethod"=>{:fields=>[]}, :"Budget.BudgetPeriod"=>{:fields=>[]}, :"CampaignCriterionLimitExceeded.CriteriaLimitType"=>{:fields=>[]}, :CampaignStatus=>{:fields=>[]}, :ContentLabelType=>{:fields=>[]}, :ConversionDeduplicationMode=>{:fields=>[]}, :ConversionOptimizerBidType=>{:fields=>[]}, :DayOfWeek=>{:fields=>[]}, :"DeprecatedAd.Type"=>{:fields=>[]}, :"EntityId.Type"=>{:fields=>[]}, :"GenderTarget.Gender"=>{:fields=>[]}, :KeywordMatchType=>{:fields=>[]}, :Level=>{:fields=>[]}, :"LocationExtension.Source"=>{:fields=>[]}, :"LocationOverrideInfo.RadiusUnits"=>{:fields=>[]}, :MarkupLanguageType=>{:fields=>[]}, :"Media.MediaExtendedCapabilityState"=>{:fields=>[]}, :"Media.MediaExtendedCapabilityType"=>{:fields=>[]}, :"Media.MediaSubType"=>{:fields=>[]}, :"Media.MediaType"=>{:fields=>[]}, :"Media.MimeType"=>{:fields=>[]}, :"Media.Size"=>{:fields=>[]}, :MinuteOfHour=>{:fields=>[]}, :NetworkCoverageType=>{:fields=>[]}, :Operator=>{:fields=>[]}, :PlatformType=>{:fields=>[]}, :PositionPreference=>{:fields=>[]}, :PricingModel=>{:fields=>[]}, :"ProximityTarget.DistanceUnits"=>{:fields=>[]}, :ServingStatus=>{:fields=>[]}, :"Stats.Network"=>{:fields=>[]}, :SystemServingStatus=>{:fields=>[]}, :"TemplateElementField.Type"=>{:fields=>[]}, :TimeUnit=>{:fields=>[]}, :UserStatus=>{:fields=>[]}, :VideoType=>{:fields=>[]}}
14
14
  BULKMUTATEJOBSERVICE_NAMESPACES = []
15
15
 
16
16
  def self.get_method_signature(method_name)