google-adwords-api 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. data/ChangeLog +8 -0
  2. data/README +22 -20
  3. data/adwords_api.yml +40 -0
  4. data/examples/v201109/account_management/create_account.rb +0 -1
  5. data/examples/v201109/account_management/get_account_alerts.rb +0 -1
  6. data/examples/v201109/account_management/get_account_changes.rb +0 -1
  7. data/examples/v201109/account_management/get_account_hierarchy.rb +0 -1
  8. data/examples/v201109/account_management/get_client_customer_id.rb +0 -1
  9. data/examples/v201109/account_management/get_client_unit_usage.rb +0 -1
  10. data/examples/v201109/basic_operations/add_ad_group.rb +0 -1
  11. data/examples/v201109/basic_operations/add_campaign.rb +0 -1
  12. data/examples/v201109/basic_operations/add_keywords.rb +0 -1
  13. data/examples/v201109/basic_operations/add_text_ads.rb +0 -1
  14. data/examples/v201109/basic_operations/delete_ad.rb +0 -1
  15. data/examples/v201109/basic_operations/delete_ad_group.rb +0 -1
  16. data/examples/v201109/basic_operations/delete_campaign.rb +0 -1
  17. data/examples/v201109/basic_operations/delete_keyword.rb +0 -1
  18. data/examples/v201109/basic_operations/get_ad_groups.rb +0 -1
  19. data/examples/v201109/basic_operations/get_campaigns.rb +0 -1
  20. data/examples/v201109/basic_operations/get_keywords.rb +0 -1
  21. data/examples/v201109/basic_operations/get_text_ads.rb +0 -1
  22. data/examples/v201109/basic_operations/pause_ad.rb +0 -1
  23. data/examples/v201109/basic_operations/update_ad_group.rb +0 -1
  24. data/examples/v201109/basic_operations/update_campaign.rb +0 -1
  25. data/examples/v201109/basic_operations/update_keyword.rb +0 -1
  26. data/examples/v201109/campaign_management/add_experiment.rb +0 -1
  27. data/examples/v201109/campaign_management/add_keywords_in_bulk.rb +0 -1
  28. data/examples/v201109/campaign_management/add_location_extension.rb +0 -1
  29. data/examples/v201109/campaign_management/add_location_extension_override.rb +0 -1
  30. data/examples/v201109/campaign_management/get_all_disapproved_ads.rb +0 -1
  31. data/examples/v201109/campaign_management/promote_experiment.rb +0 -1
  32. data/examples/v201109/campaign_management/set_ad_parameters.rb +0 -1
  33. data/examples/v201109/campaign_management/validate_text_ad.rb +0 -1
  34. data/examples/v201109/error_handling/handle_captcha_challenge.rb +94 -0
  35. data/examples/v201109/error_handling/handle_partial_failures.rb +0 -1
  36. data/examples/v201109/error_handling/handle_policy_violation_error.rb +0 -1
  37. data/examples/v201109/error_handling/handle_two_factor_authorization_error.rb +0 -1
  38. data/examples/v201109/misc/get_all_images_and_videos.rb +0 -1
  39. data/examples/v201109/misc/upload_image.rb +0 -1
  40. data/examples/v201109/misc/use_oauth.rb +0 -1
  41. data/examples/v201109/optimization/estimate_keyword_traffic.rb +0 -1
  42. data/examples/v201109/optimization/get_keyword_bid_simulations.rb +0 -1
  43. data/examples/v201109/optimization/get_keyword_ideas.rb +0 -1
  44. data/examples/v201109/optimization/get_placement_ideas.rb +0 -1
  45. data/examples/v201109/remarketing/add_audience.rb +0 -1
  46. data/examples/v201109/remarketing/add_conversion_tracker.rb +0 -1
  47. data/examples/v201109/reporting/download_criteria_report.rb +0 -1
  48. data/examples/v201109/reporting/download_defined_report.rb +0 -1
  49. data/examples/v201109/reporting/get_defined_reports.rb +0 -1
  50. data/examples/v201109/reporting/get_report_fields.rb +0 -1
  51. data/examples/v201109/reporting/parallel_report_download.rb +0 -1
  52. data/examples/v201109/targeting/add_campaign_targeting_criteria.rb +0 -1
  53. data/examples/v201109/targeting/get_campaign_targeting_criteria.rb +0 -1
  54. data/examples/v201109/targeting/get_targetable_languages_and_carriers.rb +0 -1
  55. data/examples/v201109/targeting/lookup_location.rb +0 -1
  56. data/lib/adwords_api.rb +1 -1
  57. data/lib/adwords_api/api_config.rb +36 -20
  58. data/lib/adwords_api/credential_handler.rb +5 -2
  59. data/lib/adwords_api/report_utils.rb +7 -5
  60. data/lib/adwords_api/v201109/ad_extension_override_service.rb +8 -10
  61. data/lib/adwords_api/v201109/ad_extension_override_service_registry.rb +6 -8
  62. data/lib/adwords_api/v201109/ad_group_ad_service.rb +8 -10
  63. data/lib/adwords_api/v201109/ad_group_ad_service_registry.rb +6 -8
  64. data/lib/adwords_api/v201109/ad_group_criterion_service.rb +8 -10
  65. data/lib/adwords_api/v201109/ad_group_criterion_service_registry.rb +6 -8
  66. data/lib/adwords_api/v201109/ad_group_service.rb +8 -10
  67. data/lib/adwords_api/v201109/ad_group_service_registry.rb +6 -8
  68. data/lib/adwords_api/v201109/ad_param_service.rb +8 -10
  69. data/lib/adwords_api/v201109/ad_param_service_registry.rb +6 -8
  70. data/lib/adwords_api/v201109/alert_service.rb +4 -6
  71. data/lib/adwords_api/v201109/alert_service_registry.rb +6 -8
  72. data/lib/adwords_api/v201109/bulk_mutate_job_service.rb +8 -10
  73. data/lib/adwords_api/v201109/bulk_mutate_job_service_registry.rb +6 -8
  74. data/lib/adwords_api/v201109/campaign_ad_extension_service.rb +8 -10
  75. data/lib/adwords_api/v201109/campaign_ad_extension_service_registry.rb +6 -8
  76. data/lib/adwords_api/v201109/campaign_criterion_service.rb +8 -10
  77. data/lib/adwords_api/v201109/campaign_criterion_service_registry.rb +6 -8
  78. data/lib/adwords_api/v201109/campaign_service.rb +8 -10
  79. data/lib/adwords_api/v201109/campaign_service_registry.rb +6 -8
  80. data/lib/adwords_api/v201109/campaign_target_service.rb +8 -10
  81. data/lib/adwords_api/v201109/campaign_target_service_registry.rb +6 -8
  82. data/lib/adwords_api/v201109/constant_data_service.rb +4 -6
  83. data/lib/adwords_api/v201109/constant_data_service_registry.rb +6 -8
  84. data/lib/adwords_api/v201109/conversion_tracker_service.rb +8 -10
  85. data/lib/adwords_api/v201109/conversion_tracker_service_registry.rb +6 -8
  86. data/lib/adwords_api/v201109/create_account_service.rb +4 -6
  87. data/lib/adwords_api/v201109/create_account_service_registry.rb +6 -8
  88. data/lib/adwords_api/v201109/customer_sync_service.rb +4 -6
  89. data/lib/adwords_api/v201109/customer_sync_service_registry.rb +6 -8
  90. data/lib/adwords_api/v201109/data_service.rb +8 -10
  91. data/lib/adwords_api/v201109/data_service_registry.rb +6 -8
  92. data/lib/adwords_api/v201109/experiment_service.rb +8 -10
  93. data/lib/adwords_api/v201109/experiment_service_registry.rb +6 -8
  94. data/lib/adwords_api/v201109/geo_location_service.rb +4 -6
  95. data/lib/adwords_api/v201109/geo_location_service_registry.rb +6 -8
  96. data/lib/adwords_api/v201109/info_service.rb +4 -6
  97. data/lib/adwords_api/v201109/info_service_registry.rb +6 -8
  98. data/lib/adwords_api/v201109/location_criterion_service.rb +4 -6
  99. data/lib/adwords_api/v201109/location_criterion_service_registry.rb +6 -8
  100. data/lib/adwords_api/v201109/media_service.rb +8 -10
  101. data/lib/adwords_api/v201109/media_service_registry.rb +6 -8
  102. data/lib/adwords_api/v201109/mutate_job_service.rb +8 -10
  103. data/lib/adwords_api/v201109/mutate_job_service_registry.rb +6 -8
  104. data/lib/adwords_api/v201109/report_definition_service.rb +8 -10
  105. data/lib/adwords_api/v201109/report_definition_service_registry.rb +6 -8
  106. data/lib/adwords_api/v201109/serviced_account_service.rb +4 -6
  107. data/lib/adwords_api/v201109/serviced_account_service_registry.rb +6 -8
  108. data/lib/adwords_api/v201109/targeting_idea_service.rb +8 -10
  109. data/lib/adwords_api/v201109/targeting_idea_service_registry.rb +6 -8
  110. data/lib/adwords_api/v201109/traffic_estimator_service.rb +4 -6
  111. data/lib/adwords_api/v201109/traffic_estimator_service_registry.rb +6 -8
  112. data/lib/adwords_api/v201109/user_list_service.rb +8 -10
  113. data/lib/adwords_api/v201109/user_list_service_registry.rb +6 -8
  114. data/lib/adwords_api/version.rb +26 -0
  115. data/test/adwords_api/test_api_config.rb +2 -2
  116. data/test/adwords_api/test_report_utils.rb +1 -1
  117. data/test/adwords_api/test_utils.rb +1 -1
  118. data/test/bugs/test_issue_00000031.rb +0 -1
  119. data/test/suite_unittests.rb +32 -0
  120. metadata +130 -132
  121. data/Rakefile +0 -92
  122. data/examples/v201109/optimization/get_keyword_opportunities.rb +0 -96
  123. data/lib/adwords_api/v201109/bulk_opportunity_service.rb +0 -34
  124. data/lib/adwords_api/v201109/bulk_opportunity_service_registry.rb +0 -46
@@ -1,18 +1,16 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:04:47.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:43.
9
7
 
10
8
  require 'adwords_api/errors'
11
9
 
12
10
  module AdwordsApi; module V201109; module CampaignService
13
11
  class CampaignServiceRegistry
14
- CAMPAIGNSERVICE_METHODS = {:mutate=>{:input=>[{:type=>"CampaignOperation", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:operations}], :output=>{:fields=>[{:type=>"CampaignReturnValue", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"mutate_response"}}, :get=>{:input=>[{:type=>"Selector", :min_occurs=>0, :max_occurs=>1, :name=>:service_selector}], :output=>{:fields=>[{:type=>"CampaignPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_response"}}}
15
- CAMPAIGNSERVICE_TYPES = {:ManualCPCAdGroupBids=>{:fields=>[{:type=>"Bid", :min_occurs=>0, :max_occurs=>1, :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=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupBids"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:service_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:method_name}, {:type=>"long", :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}]}, :Predicate=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:field}, {:type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}, {:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :Paging=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_index}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:number_results}]}, :ManualCPM=>{:fields=>[], :base=>"BiddingStrategy"}, :CampaignOperation=>{:fields=>[{:type=>"BiddingTransition", :min_occurs=>0, :max_occurs=>1, :name=>:bidding_transition}, {:type=>"Campaign", :min_occurs=>0, :max_occurs=>1, :name=>:operand}], :base=>"Operation"}, :Bid=>{:fields=>[{:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:amount}]}, :ConversionOptimizerBiddingTransition=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:use_saved_bids}], :base=>"BiddingTransition"}, :CampaignStatus=>{:fields=>[]}, :Operation=>{:fields=>[{:type=>"Operator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:operation_type}], :abstract=>true}, :ManualCPMAdGroupBids=>{:fields=>[{:type=>"Bid", :min_occurs=>0, :max_occurs=>1, :name=>:max_cpm}], :base=>"AdGroupBids"}, :NetworkSetting=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:target_google_search}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:target_search_network}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:target_content_network}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:target_content_contextual}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:target_partner_search_network}]}, :Level=>{:fields=>[]}, :"ConversionOptimizerEligibility.RejectionReason"=>{:fields=>[]}, :CampaignPage=>{:fields=>[{:type=>"Budget", :min_occurs=>0, :max_occurs=>1, :name=>:total_budget}, {:type=>"Campaign", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:entries}], :base=>"Page"}, :Budget=>{:fields=>[{:type=>"Budget.BudgetPeriod", :min_occurs=>0, :max_occurs=>1, :name=>:period}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:amount}, {:type=>"Budget.BudgetDeliveryMethod", :min_occurs=>0, :max_occurs=>1, :name=>:delivery_method}]}, :NumberValue=>{:fields=>[], :base=>"ComparableValue", :abstract=>true}, :ConversionOptimizerEligibility=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:eligible}, {:type=>"ConversionOptimizerEligibility.RejectionReason", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rejection_reasons}]}, :Operator=>{:fields=>[]}, :ConversionDeduplicationMode=>{:fields=>[]}, :"Budget.BudgetDeliveryMethod"=>{:fields=>[]}, :AdGroupBids=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:ad_group_bids_type}], :abstract=>true}, :Selector=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:fields}, {:type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:predicates}, {:type=>"DateRange", :min_occurs=>0, :max_occurs=>1, :name=>:date_range}, {:type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:ordering}, {:type=>"Paging", :min_occurs=>0, :max_occurs=>1, :name=>:paging}]}, :ComparableValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:comparable_value_type}], :abstract=>true}, :PercentCPA=>{:fields=>[], :base=>"BiddingStrategy"}, :PricingModel=>{:fields=>[]}, :"GeoTargetTypeSetting.NegativeGeoTargetType"=>{:fields=>[]}, :CampaignReturnValue=>{:fields=>[{:type=>"Campaign", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:value}], :base=>"ListReturnValue"}, :BudgetOptimizer=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:enhanced_cpc_enabled}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:bid_ceiling}], :base=>"BiddingStrategy"}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1, :name=>:reason}], :base=>"ApiError"}, :FrequencyCap=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:impressions}, {:type=>"TimeUnit", :min_occurs=>0, :max_occurs=>1, :name=>:time_unit}, {:type=>"Level", :min_occurs=>0, :max_occurs=>1, :name=>:level}]}, :SortOrder=>{:fields=>[]}, :ConversionOptimizerBidType=>{:fields=>[]}, :"Budget.BudgetPeriod"=>{:fields=>[]}, :BiddingStrategy=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:bidding_strategy_type}], :abstract=>true}, :PercentCPAAdGroupBids=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:percent_cpa}], :base=>"AdGroupBids"}, :DoubleValue=>{:fields=>[{:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:number}], :base=>"NumberValue"}, :ServingStatus=>{:fields=>[]}, :"GeoTargetTypeSetting.PositiveGeoTargetType"=>{:fields=>[]}, :AdServingOptimizationStatus=>{:fields=>[]}, :BudgetOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :min_occurs=>0, :max_occurs=>1, :name=>:proxy_keyword_max_cpc}, {:type=>"Bid", :min_occurs=>0, :max_occurs=>1, :name=>:proxy_site_max_cpc}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:enhanced_cpc_enabled}], :base=>"AdGroupBids"}, :OrderBy=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:field}, {:type=>"SortOrder", :min_occurs=>0, :max_occurs=>1, :name=>:sort_order}]}, :GeoTargetTypeSetting=>{:fields=>[{:type=>"GeoTargetTypeSetting.PositiveGeoTargetType", :min_occurs=>0, :max_occurs=>1, :name=>:positive_geo_target_type}, {:type=>"GeoTargetTypeSetting.NegativeGeoTargetType", :min_occurs=>0, :max_occurs=>1, :name=>:negative_geo_target_type}], :base=>"Setting"}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1, :name=>:reason}], :base=>"ApiError"}, :"Predicate.Operator"=>{:fields=>[]}, :BiddingTransition=>{:fields=>[{:type=>"BiddingStrategy", :min_occurs=>0, :max_occurs=>1, :name=>:target_bidding_strategy}, {:type=>"AdGroupBids", :min_occurs=>0, :max_occurs=>1, :name=>:explicit_ad_group_bids}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:bidding_transition_type}]}, :Stats=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:start_date}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:end_date}, {:type=>"Stats.Network", :min_occurs=>0, :max_occurs=>1, :name=>:network}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:clicks}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:impressions}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:cost}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:average_position}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:average_cpc}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:average_cpm}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:ctr}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:conversions}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:conversion_rate}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:cost_per_conversion}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:conversions_many_per_click}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:conversion_rate_many_per_click}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:cost_per_conversion_many_per_click}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:view_through_conversions}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:total_conv_value}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:value_per_conv}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:value_per_conv_many_per_click}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:invalid_clicks}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:invalid_click_rate}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:num_calls}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:num_missed_calls}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:num_received_calls}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:call_duration_secs}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:avg_call_duration_secs}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:stats_type}]}, :RealTimeBiddingSetting=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:opt_in}], :base=>"Setting"}, :DateRange=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:min}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:max}]}, :CampaignStats=>{:fields=>[], :base=>"Stats"}, :TimeUnit=>{:fields=>[]}, :Page=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_num_entries}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:page_type}], :abstract=>true}, :ConversionOptimizerAdGroupBids=>{:fields=>[{:type=>"Bid", :min_occurs=>0, :max_occurs=>1, :name=>:target_cpa}, {:type=>"ConversionOptimizerBidType", :min_occurs=>0, :max_occurs=>1, :name=>:conversion_optimizer_bid_type}, {:type=>"ConversionDeduplicationMode", :min_occurs=>0, :max_occurs=>1, :name=>:deduplication_mode}], :base=>"AdGroupBids"}, :SoapHeader=>{:fields=>[{: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=>:developer_token}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_agent}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:validate_only}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:partial_failure}]}, :Money=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:micro_amount}], :base=>"ComparableValue"}, :ManualCPC=>{:fields=>[{:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:enhanced_cpc_enabled}], :base=>"BiddingStrategy"}, :"Stats.Network"=>{:fields=>[]}, :ListReturnValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:list_return_value_type}], :abstract=>true}, :Campaign=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:name}, {:type=>"CampaignStatus", :min_occurs=>0, :max_occurs=>1, :name=>:status}, {:type=>"ServingStatus", :min_occurs=>0, :max_occurs=>1, :name=>:serving_status}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:start_date}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:end_date}, {:type=>"Budget", :min_occurs=>0, :max_occurs=>1, :name=>:budget}, {:type=>"BiddingStrategy", :min_occurs=>0, :max_occurs=>1, :name=>:bidding_strategy}, {:type=>"ConversionOptimizerEligibility", :min_occurs=>0, :max_occurs=>1, :name=>:conversion_optimizer_eligibility}, {:type=>"CampaignStats", :min_occurs=>0, :max_occurs=>1, :name=>:campaign_stats}, {:type=>"AdServingOptimizationStatus", :min_occurs=>0, :max_occurs=>1, :name=>:ad_serving_optimization_status}, {:type=>"FrequencyCap", :min_occurs=>0, :max_occurs=>1, :name=>:frequency_cap}, {:type=>"Setting", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:settings}, {:type=>"NetworkSetting", :min_occurs=>0, :max_occurs=>1, :name=>:network_setting}]}, :Setting=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:setting_type}], :abstract=>true}, :LongValue=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:number}], :base=>"NumberValue"}, :ConversionOptimizer=>{:fields=>[{:type=>"PricingModel", :min_occurs=>0, :max_occurs=>1, :name=>:pricing_model}, {:type=>"ConversionOptimizerBidType", :min_occurs=>0, :max_occurs=>1, :name=>:conversion_optimizer_bid_type}, {:type=>"ConversionDeduplicationMode", :min_occurs=>0, :max_occurs=>1, :name=>:deduplication_mode}], :base=>"BiddingStrategy"}}
12
+ CAMPAIGNSERVICE_METHODS = {:get=>{:input=>[{:name=>:service_selector, :type=>"Selector", :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 = {:CampaignStats=>{:fields=>[], :base=>"Stats"}, :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"}, :ConversionOptimizerBiddingTransition=>{:fields=>[{:name=>:use_saved_bids, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingTransition"}, :ConversionOptimizerEligibility=>{:fields=>[{:name=>:eligible, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:rejection_reasons, :type=>"ConversionOptimizerEligibility.RejectionReason", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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}]}, :GeoTargetTypeSetting=>{:fields=>[{:name=>:positive_geo_target_type, :type=>"GeoTargetTypeSetting.PositiveGeoTargetType", :min_occurs=>0, :max_occurs=>1}, {:name=>:negative_geo_target_type, :type=>"GeoTargetTypeSetting.NegativeGeoTargetType", :min_occurs=>0, :max_occurs=>1}], :base=>"Setting"}, :LongValue=>{:fields=>[{:name=>:number, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"NumberValue"}, :ManualCPC=>{:fields=>[{:name=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BiddingStrategy"}, :ManualCPM=>{:fields=>[], :base=>"BiddingStrategy"}, :Money=>{:fields=>[{:name=>:micro_amount, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"ComparableValue"}, :NetworkSetting=>{:fields=>[{:name=>:target_google_search, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_search_network, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_content_network, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_content_contextual, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:target_partner_search_network, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :NumberValue=>{:fields=>[], :abstract=>true, :base=>"ComparableValue"}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :PercentCPA=>{:fields=>[], :base=>"BiddingStrategy"}, :PercentCPAAdGroupBids=>{:fields=>[{:name=>:percent_cpa, :type=>"int", :min_occurs=>0, :max_occurs=>1}], :base=>"AdGroupBids"}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :RealTimeBiddingSetting=>{:fields=>[{:name=>:opt_in, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"Setting"}, :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=>: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}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :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}]}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :Setting=>{:fields=>[{:name=>:setting_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=>:view_through_conversions, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:total_conv_value, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:value_per_conv, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:value_per_conv_many_per_click, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:invalid_clicks, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:invalid_click_rate, :type=>"double", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_calls, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_missed_calls, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_received_calls, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:call_duration_secs, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:avg_call_duration_secs, :type=>"double", :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=>:enhanced_cpc_enabled, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {: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"}, :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}, :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=>:conversion_optimizer_eligibility, :type=>"ConversionOptimizerEligibility", :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}, {:name=>:settings, :type=>"Setting", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:network_setting, :type=>"NetworkSetting", :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"}, :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=>[]}, :"Budget.BudgetDeliveryMethod"=>{:fields=>[]}, :"Budget.BudgetPeriod"=>{:fields=>[]}, :CampaignStatus=>{:fields=>[]}, :ConversionDeduplicationMode=>{:fields=>[]}, :ConversionOptimizerBidType=>{:fields=>[]}, :"ConversionOptimizerEligibility.RejectionReason"=>{:fields=>[]}, :"GeoTargetTypeSetting.NegativeGeoTargetType"=>{:fields=>[]}, :"GeoTargetTypeSetting.PositiveGeoTargetType"=>{:fields=>[]}, :Level=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :PricingModel=>{:fields=>[]}, :ServingStatus=>{:fields=>[]}, :SortOrder=>{:fields=>[]}, :"Stats.Network"=>{:fields=>[]}, :TimeUnit=>{:fields=>[]}}
16
14
  CAMPAIGNSERVICE_NAMESPACES = []
17
15
 
18
16
  def self.get_method_signature(method_name)
@@ -1,11 +1,9 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:06:07.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:46.
9
7
 
10
8
  require 'ads_common/savon_service'
11
9
  require 'adwords_api/v201109/campaign_target_service_registry'
@@ -17,14 +15,14 @@ module AdwordsApi; module V201109; module CampaignTargetService
17
15
  super(api, endpoint, namespace, :v201109)
18
16
  end
19
17
 
20
- def mutate(*args, &block)
21
- return execute_action('mutate', args, &block)
22
- end
23
-
24
18
  def get(*args, &block)
25
19
  return execute_action('get', args, &block)
26
20
  end
27
21
 
22
+ def mutate(*args, &block)
23
+ return execute_action('mutate', args, &block)
24
+ end
25
+
28
26
  private
29
27
 
30
28
  def get_service_registry()
@@ -1,18 +1,16 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:06:07.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:46.
9
7
 
10
8
  require 'adwords_api/errors'
11
9
 
12
10
  module AdwordsApi; module V201109; module CampaignTargetService
13
11
  class CampaignTargetServiceRegistry
14
- CAMPAIGNTARGETSERVICE_METHODS = {:mutate=>{:input=>[{:type=>"CampaignTargetOperation", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:operations}], :output=>{:fields=>[{:type=>"CampaignTargetReturnValue", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"mutate_response"}}, :get=>{:input=>[{:type=>"CampaignTargetSelector", :min_occurs=>0, :max_occurs=>1, :name=>:selector}], :output=>{:fields=>[{:type=>"CampaignTargetPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_response"}}}
15
- CAMPAIGNTARGETSERVICE_TYPES = {:TargetList=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:campaign_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:target_list_type}], :abstract=>true}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:service_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:method_name}, {:type=>"long", :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}]}, :MinuteOfHour=>{:fields=>[]}, :Operation=>{:fields=>[{:type=>"Operator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:operation_type}], :abstract=>true}, :CampaignTargetSelector=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:campaign_ids}]}, :DayOfWeek=>{:fields=>[]}, :AdScheduleTarget=>{:fields=>[{:type=>"DayOfWeek", :min_occurs=>0, :max_occurs=>1, :name=>:day_of_week}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_hour}, {:type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1, :name=>:start_minute}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:end_hour}, {:type=>"MinuteOfHour", :min_occurs=>0, :max_occurs=>1, :name=>:end_minute}, {:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:bid_multiplier}], :base=>"Target"}, :Operator=>{:fields=>[]}, :CampaignTargetPage=>{:fields=>[{:type=>"TargetList", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:entries}], :base=>"Page"}, :AdScheduleTargetList=>{:fields=>[{:type=>"AdScheduleTarget", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:targets}], :base=>"TargetList"}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1, :name=>:reason}], :base=>"ApiError"}, :CampaignTargetReturnValue=>{:fields=>[{:type=>"TargetList", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:value}], :base=>"ListReturnValue"}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1, :name=>:reason}], :base=>"ApiError"}, :CampaignTargetOperation=>{:fields=>[{:type=>"TargetList", :min_occurs=>0, :max_occurs=>1, :name=>:operand}], :base=>"Operation"}, :Page=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_num_entries}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:page_type}], :abstract=>true}, :Target=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:target_type}], :abstract=>true}, :SoapHeader=>{:fields=>[{: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=>:developer_token}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_agent}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:validate_only}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:partial_failure}]}, :ListReturnValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:list_return_value_type}], :abstract=>true}}
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"}, :EntityNotFound=>{:fields=>[{:name=>:reason, :type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :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=>: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}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :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}]}, :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"}, :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}, :DayOfWeek=>{:fields=>[]}, :MinuteOfHour=>{:fields=>[]}, :Operator=>{:fields=>[]}}
16
14
  CAMPAIGNTARGETSERVICE_NAMESPACES = []
17
15
 
18
16
  def self.get_method_signature(method_name)
@@ -1,11 +1,9 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:04:17.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:43:07.
9
7
 
10
8
  require 'ads_common/savon_service'
11
9
  require 'adwords_api/v201109/constant_data_service_registry'
@@ -1,18 +1,16 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:04:17.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:43:07.
9
7
 
10
8
  require 'adwords_api/errors'
11
9
 
12
10
  module AdwordsApi; module V201109; module ConstantDataService
13
11
  class ConstantDataServiceRegistry
14
- CONSTANTDATASERVICE_METHODS = {:get_carrier_criterion=>{:input=>[], :output=>{:fields=>[{:type=>"Carrier", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"get_carrier_criterion_response"}}, :get_language_criterion=>{:input=>[], :output=>{:fields=>[{:type=>"Language", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"get_language_criterion_response"}}}
15
- CONSTANTDATASERVICE_TYPES = {:Product=>{:fields=>[{:type=>"ProductCondition", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:conditions}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:text}], :base=>"Criterion"}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:service_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:method_name}, {:type=>"long", :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}]}, :ProductConditionOperand=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:operand}]}, :Criterion=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"Criterion.Type", :min_occurs=>0, :max_occurs=>1, :name=>:type}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:criterion_type}]}, :Carrier=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:country_code}], :base=>"Criterion"}, :"CriterionUserList.MembershipStatus"=>{:fields=>[]}, :CriterionUserInterest=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:user_interest_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_interest_name}], :base=>"Criterion"}, :Keyword=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:text}, {:type=>"KeywordMatchType", :min_occurs=>0, :max_occurs=>1, :name=>:match_type}], :base=>"Criterion"}, :CriterionUserList=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:user_list_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_list_name}, {:type=>"CriterionUserList.MembershipStatus", :min_occurs=>0, :max_occurs=>1, :name=>:user_list_membership_status}], :base=>"Criterion"}, :KeywordMatchType=>{:fields=>[]}, :Language=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:name}], :base=>"Criterion"}, :Vertical=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:path}], :base=>"Criterion"}, :OperatingSystemVersion=>{:fields=>[], :base=>"Criterion"}, :ProductCondition=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:argument}, {:type=>"ProductConditionOperand", :min_occurs=>0, :max_occurs=>1, :name=>:operand}]}, :SoapHeader=>{:fields=>[{: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=>:developer_token}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_agent}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:validate_only}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:partial_failure}]}, :"Criterion.Type"=>{:fields=>[]}, :Placement=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:url}], :base=>"Criterion"}}
12
+ CONSTANTDATASERVICE_METHODS = {:get_carrier_criterion=>{:input=>[], :output=>{:name=>"get_carrier_criterion_response", :fields=>[{:name=>:rval, :type=>"Carrier", :min_occurs=>0, :max_occurs=>:unbounded}]}}, :get_language_criterion=>{:input=>[], :output=>{:name=>"get_language_criterion_response", :fields=>[{:name=>:rval, :type=>"Language", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
13
+ CONSTANTDATASERVICE_TYPES = {:Carrier=>{:fields=>[{:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:country_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :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"}, :Language=>{:fields=>[{:name=>:code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :OperatingSystemVersion=>{:fields=>[], :base=>"Criterion"}, :Placement=>{:fields=>[{:name=>:url, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :ProductConditionOperand=>{:fields=>[{:name=>:operand, :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=>: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}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :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}]}, :CriterionUserInterest=>{:fields=>[{:name=>:user_interest_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_interest_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :CriterionUserList=>{:fields=>[{:name=>:user_list_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_list_membership_status, :type=>"CriterionUserList.MembershipStatus", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Vertical=>{:fields=>[{:name=>:path, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Criterion"}, :ProductCondition=>{:fields=>[{:name=>:argument, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operand, :type=>"ProductConditionOperand", :min_occurs=>0, :max_occurs=>1}]}, :Product=>{:fields=>[{:name=>:conditions, :type=>"ProductCondition", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:text, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Criterion"}, :Criterion=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:type, :type=>"Criterion.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:criterion_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :"Criterion.Type"=>{:fields=>[]}, :KeywordMatchType=>{:fields=>[]}, :"CriterionUserList.MembershipStatus"=>{:fields=>[]}}
16
14
  CONSTANTDATASERVICE_NAMESPACES = []
17
15
 
18
16
  def self.get_method_signature(method_name)
@@ -1,11 +1,9 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:05:58.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:48.
9
7
 
10
8
  require 'ads_common/savon_service'
11
9
  require 'adwords_api/v201109/conversion_tracker_service_registry'
@@ -17,14 +15,14 @@ module AdwordsApi; module V201109; module ConversionTrackerService
17
15
  super(api, endpoint, namespace, :v201109)
18
16
  end
19
17
 
20
- def mutate(*args, &block)
21
- return execute_action('mutate', args, &block)
22
- end
23
-
24
18
  def get(*args, &block)
25
19
  return execute_action('get', args, &block)
26
20
  end
27
21
 
22
+ def mutate(*args, &block)
23
+ return execute_action('mutate', args, &block)
24
+ end
25
+
28
26
  private
29
27
 
30
28
  def get_service_registry()
@@ -1,18 +1,16 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:05:58.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:48.
9
7
 
10
8
  require 'adwords_api/errors'
11
9
 
12
10
  module AdwordsApi; module V201109; module ConversionTrackerService
13
11
  class ConversionTrackerServiceRegistry
14
- CONVERSIONTRACKERSERVICE_METHODS = {:mutate=>{:input=>[{:type=>"ConversionTrackerOperation", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:operations}], :output=>{:fields=>[{:type=>"ConversionTrackerReturnValue", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"mutate_response"}}, :get=>{:input=>[{:type=>"Selector", :min_occurs=>0, :max_occurs=>1, :name=>:service_selector}], :output=>{:fields=>[{:type=>"ConversionTrackerPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_response"}}}
15
- CONVERSIONTRACKERSERVICE_TYPES = {:"AdWordsConversionTracker.MarkupLanguage"=>{:fields=>[]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:service_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:method_name}, {:type=>"long", :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}]}, :Predicate=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:field}, {:type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}, {:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :Paging=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_index}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:number_results}]}, :ConversionTrackerPage=>{:fields=>[{:type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:entries}], :base=>"NoStatsPage"}, :"AdWordsConversionTracker.TextFormat"=>{:fields=>[]}, :Operation=>{:fields=>[{:type=>"Operator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:operation_type}], :abstract=>true}, :AdWordsConversionTracker=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:snippet}, {:type=>"AdWordsConversionTracker.MarkupLanguage", :min_occurs=>0, :max_occurs=>1, :name=>:markup_language}, {:type=>"AdWordsConversionTracker.HttpProtocol", :min_occurs=>0, :max_occurs=>1, :name=>:http_protocol}, {:type=>"AdWordsConversionTracker.TextFormat", :min_occurs=>0, :max_occurs=>1, :name=>:text_format}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:conversion_page_language}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:background_color}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_revenue_value}], :base=>"ConversionTracker"}, :NumberValue=>{:fields=>[], :base=>"ComparableValue", :abstract=>true}, :Operator=>{:fields=>[]}, :"ConversionTracker.Category"=>{:fields=>[]}, :Selector=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:fields}, {:type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:predicates}, {:type=>"DateRange", :min_occurs=>0, :max_occurs=>1, :name=>:date_range}, {:type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:ordering}, {:type=>"Paging", :min_occurs=>0, :max_occurs=>1, :name=>:paging}]}, :ConversionTrackerStats=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:num_conversion_events}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:conversion_value}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:most_recent_conversion_date}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:num_converted_clicks}]}, :ComparableValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:comparable_value_type}], :abstract=>true}, :SortOrder=>{:fields=>[]}, :"ConversionTracker.Status"=>{:fields=>[]}, :ConversionTracker=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:name}, {:type=>"ConversionTracker.Status", :min_occurs=>0, :max_occurs=>1, :name=>:status}, {:type=>"ConversionTracker.Category", :min_occurs=>0, :max_occurs=>1, :name=>:category}, {:type=>"ConversionTrackerStats", :min_occurs=>0, :max_occurs=>1, :name=>:stats}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:viewthrough_lookback_window}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:viewthrough_conversion_de_dup_search}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:is_product_ads_chargeable}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:product_ads_chargeable_conversion_window}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:conversion_tracker_type}], :abstract=>true}, :DoubleValue=>{:fields=>[{:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:number}], :base=>"NumberValue"}, :NoStatsPage=>{:fields=>[], :base=>"Page", :abstract=>true}, :OrderBy=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:field}, {:type=>"SortOrder", :min_occurs=>0, :max_occurs=>1, :name=>:sort_order}]}, :"Predicate.Operator"=>{:fields=>[]}, :ConversionTrackerOperation=>{:fields=>[{:type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>1, :name=>:operand}], :base=>"Operation"}, :DateRange=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:min}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:max}]}, :"AdWordsConversionTracker.HttpProtocol"=>{:fields=>[]}, :Page=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_num_entries}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:page_type}], :abstract=>true}, :SoapHeader=>{:fields=>[{: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=>:developer_token}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_agent}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:validate_only}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:partial_failure}]}, :Money=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:micro_amount}], :base=>"ComparableValue"}, :ListReturnValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:list_return_value_type}], :abstract=>true}, :ConversionTrackerReturnValue=>{:fields=>[{:type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:value}], :base=>"ListReturnValue"}, :LongValue=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:number}], :base=>"NumberValue"}}
12
+ CONVERSIONTRACKERSERVICE_METHODS = {:get=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"ConversionTrackerPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"ConversionTrackerOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"ConversionTrackerReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ CONVERSIONTRACKERSERVICE_TYPES = {:AdWordsConversionTracker=>{:fields=>[{:name=>:snippet, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:markup_language, :type=>"AdWordsConversionTracker.MarkupLanguage", :min_occurs=>0, :max_occurs=>1}, {:name=>:http_protocol, :type=>"AdWordsConversionTracker.HttpProtocol", :min_occurs=>0, :max_occurs=>1}, {:name=>:text_format, :type=>"AdWordsConversionTracker.TextFormat", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_page_language, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:background_color, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:user_revenue_value, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"ConversionTracker"}, :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"}, :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"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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=>: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}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :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}]}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ConversionTrackerStats=>{:fields=>[{:name=>:num_conversion_events, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_value, :type=>"Money", :min_occurs=>0, :max_occurs=>1}, {:name=>:most_recent_conversion_date, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:num_converted_clicks, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :ConversionTracker=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ConversionTracker.Status", :min_occurs=>0, :max_occurs=>1}, {:name=>:category, :type=>"ConversionTracker.Category", :min_occurs=>0, :max_occurs=>1}, {:name=>:stats, :type=>"ConversionTrackerStats", :min_occurs=>0, :max_occurs=>1}, {:name=>:viewthrough_lookback_window, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:viewthrough_conversion_de_dup_search, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:is_product_ads_chargeable, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:product_ads_chargeable_conversion_window, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:conversion_tracker_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :ConversionTrackerOperation=>{:fields=>[{:name=>:operand, :type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :ConversionTrackerReturnValue=>{:fields=>[{:name=>:value, :type=>"ConversionTracker", :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}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :ConversionTrackerPage=>{:fields=>[{:name=>:entries, :type=>"ConversionTracker", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"NoStatsPage"}, :NoStatsPage=>{:fields=>[], :abstract=>true, :base=>"Page"}, :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}, :"AdWordsConversionTracker.HttpProtocol"=>{:fields=>[]}, :"AdWordsConversionTracker.MarkupLanguage"=>{:fields=>[]}, :"AdWordsConversionTracker.TextFormat"=>{:fields=>[]}, :"ConversionTracker.Category"=>{:fields=>[]}, :"ConversionTracker.Status"=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}}
16
14
  CONVERSIONTRACKERSERVICE_NAMESPACES = []
17
15
 
18
16
  def self.get_method_signature(method_name)
@@ -1,11 +1,9 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:04:14.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:43:17.
9
7
 
10
8
  require 'ads_common/savon_service'
11
9
  require 'adwords_api/v201109/create_account_service_registry'
@@ -1,18 +1,16 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:04:14.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:43:17.
9
7
 
10
8
  require 'adwords_api/errors'
11
9
 
12
10
  module AdwordsApi; module V201109; module CreateAccountService
13
11
  class CreateAccountServiceRegistry
14
- CREATEACCOUNTSERVICE_METHODS = {:mutate=>{:input=>[{:type=>"CreateAccountOperation", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:operations}], :output=>{:fields=>[{:type=>"Account", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"mutate_response"}}}
15
- CREATEACCOUNTSERVICE_TYPES = {:SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:service_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:method_name}, {:type=>"long", :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}], :ns=>0}, :Operation=>{:fields=>[{:type=>"Operator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:operation_type}], :ns=>0, :abstract=>true}, :Operator=>{:fields=>[], :ns=>0}, :Account=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:customer_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:login}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:company_name}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:can_manage_clients}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:currency_code}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:date_time_zone}]}, :CreateAccountOperation=>{:fields=>[{:type=>"Account", :min_occurs=>0, :max_occurs=>1, :name=>:operand}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:descriptive_name}], :base=>"Operation"}, :SoapHeader=>{:fields=>[{: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=>:developer_token}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_agent}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:validate_only}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:partial_failure}], :ns=>0}}
12
+ CREATEACCOUNTSERVICE_METHODS = {:mutate=>{:input=>[{:name=>:operations, :type=>"CreateAccountOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"Account", :min_occurs=>0, :max_occurs=>:unbounded}]}}}
13
+ CREATEACCOUNTSERVICE_TYPES = {: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=>: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}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :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}, :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, :ns=>0}, :Operator=>{:fields=>[], :ns=>0}, :Account=>{:fields=>[{:name=>:customer_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:login, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:company_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:can_manage_clients, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}, {:name=>:currency_code, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:date_time_zone, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CreateAccountOperation=>{:fields=>[{:name=>:operand, :type=>"Account", :min_occurs=>0, :max_occurs=>1}, {:name=>:descriptive_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}}
16
14
  CREATEACCOUNTSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201109"]
17
15
 
18
16
  def self.get_method_signature(method_name)
@@ -1,11 +1,9 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:06:05.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:49.
9
7
 
10
8
  require 'ads_common/savon_service'
11
9
  require 'adwords_api/v201109/customer_sync_service_registry'
@@ -1,18 +1,16 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:06:05.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:49.
9
7
 
10
8
  require 'adwords_api/errors'
11
9
 
12
10
  module AdwordsApi; module V201109; module CustomerSyncService
13
11
  class CustomerSyncServiceRegistry
14
- CUSTOMERSYNCSERVICE_METHODS = {:get=>{:input=>[{:type=>"CustomerSyncSelector", :min_occurs=>0, :max_occurs=>1, :name=>:selector}], :output=>{:fields=>[{:type=>"CustomerChangeData", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_response"}}}
15
- CUSTOMERSYNCSERVICE_TYPES = {:ChangeStatus=>{:fields=>[]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:service_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:method_name}, {:type=>"long", :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}], :ns=>0}, :DateTimeRange=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:min}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:max}], :ns=>0}, :AdGroupChangeData=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:ad_group_id}, {:type=>"ChangeStatus", :min_occurs=>0, :max_occurs=>1, :name=>:ad_group_change_status}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:changed_ads}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:changed_criteria}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:deleted_criteria}]}, :CampaignChangeData=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:campaign_id}, {:type=>"ChangeStatus", :min_occurs=>0, :max_occurs=>1, :name=>:campaign_change_status}, {:type=>"AdGroupChangeData", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:changed_ad_groups}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:added_campaign_criteria}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:deleted_campaign_criteria}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:added_ad_extensions}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:deleted_ad_extensions}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:campaign_targeting_changed}]}, :CustomerChangeData=>{:fields=>[{:type=>"CampaignChangeData", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:changed_campaigns}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:last_change_timestamp}]}, :CustomerSyncSelector=>{:fields=>[{:type=>"DateTimeRange", :min_occurs=>0, :max_occurs=>1, :name=>:date_time_range}, {:type=>"long", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:campaign_ids}]}, :SoapHeader=>{:fields=>[{: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=>:developer_token}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_agent}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:validate_only}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:partial_failure}], :ns=>0}}
12
+ CUSTOMERSYNCSERVICE_METHODS = {:get=>{:input=>[{:name=>:selector, :type=>"CustomerSyncSelector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"CustomerChangeData", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ CUSTOMERSYNCSERVICE_TYPES = {:DateTimeRange=>{:fields=>[{:name=>:min, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:max, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :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=>: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}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :ns=>0}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :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}, :AdGroupChangeData=>{:fields=>[{:name=>:ad_group_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_change_status, :type=>"ChangeStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:changed_ads, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:changed_criteria, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:deleted_criteria, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :CampaignChangeData=>{:fields=>[{:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_change_status, :type=>"ChangeStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:changed_ad_groups, :type=>"AdGroupChangeData", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:added_campaign_criteria, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:deleted_campaign_criteria, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:added_ad_extensions, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:deleted_ad_extensions, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:campaign_targeting_changed, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :CustomerChangeData=>{:fields=>[{:name=>:changed_campaigns, :type=>"CampaignChangeData", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:last_change_timestamp, :type=>"string", :min_occurs=>0, :max_occurs=>1}]}, :CustomerSyncSelector=>{:fields=>[{:name=>:date_time_range, :type=>"DateTimeRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_ids, :type=>"long", :min_occurs=>0, :max_occurs=>:unbounded}]}, :ChangeStatus=>{:fields=>[]}}
16
14
  CUSTOMERSYNCSERVICE_NAMESPACES = ["https://adwords.google.com/api/adwords/cm/v201109"]
17
15
 
18
16
  def self.get_method_signature(method_name)
@@ -1,11 +1,9 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:05:23.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:50.
9
7
 
10
8
  require 'ads_common/savon_service'
11
9
  require 'adwords_api/v201109/data_service_registry'
@@ -17,14 +15,14 @@ module AdwordsApi; module V201109; module DataService
17
15
  super(api, endpoint, namespace, :v201109)
18
16
  end
19
17
 
20
- def get_criterion_bid_landscape(*args, &block)
21
- return execute_action('get_criterion_bid_landscape', args, &block)
22
- end
23
-
24
18
  def get_ad_group_bid_landscape(*args, &block)
25
19
  return execute_action('get_ad_group_bid_landscape', args, &block)
26
20
  end
27
21
 
22
+ def get_criterion_bid_landscape(*args, &block)
23
+ return execute_action('get_criterion_bid_landscape', args, &block)
24
+ end
25
+
28
26
  private
29
27
 
30
28
  def get_service_registry()
@@ -1,18 +1,16 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:05:23.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:50.
9
7
 
10
8
  require 'adwords_api/errors'
11
9
 
12
10
  module AdwordsApi; module V201109; module DataService
13
11
  class DataServiceRegistry
14
- DATASERVICE_METHODS = {:get_criterion_bid_landscape=>{:input=>[{:type=>"Selector", :min_occurs=>0, :max_occurs=>1, :name=>:service_selector}], :output=>{:fields=>[{:type=>"CriterionBidLandscapePage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_criterion_bid_landscape_response"}}, :get_ad_group_bid_landscape=>{:input=>[{:type=>"Selector", :min_occurs=>0, :max_occurs=>1, :name=>:service_selector}], :output=>{:fields=>[{:type=>"AdGroupBidLandscapePage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_ad_group_bid_landscape_response"}}}
15
- DATASERVICE_TYPES = {:"BidLandscape.LandscapePoint"=>{:fields=>[{:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:bid}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:clicks}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:cost}, {:type=>"Money", :min_occurs=>0, :max_occurs=>1, :name=>:marginal_cpc}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:impressions}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:service_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:method_name}, {:type=>"long", :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}]}, :Predicate=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:field}, {:type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}, {:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :Paging=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_index}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:number_results}]}, :DataEntry=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:data_entry_type}], :abstract=>true}, :AdGroupBidLandscapePage=>{:fields=>[{:type=>"AdGroupBidLandscape", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:entries}], :base=>"NoStatsPage"}, :BidLandscape=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:campaign_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:ad_group_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:start_date}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:end_date}, {:type=>"BidLandscape.LandscapePoint", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:landscape_points}], :base=>"DataEntry", :abstract=>true}, :NumberValue=>{:fields=>[], :base=>"ComparableValue", :abstract=>true}, :Selector=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:fields}, {:type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:predicates}, {:type=>"DateRange", :min_occurs=>0, :max_occurs=>1, :name=>:date_range}, {:type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:ordering}, {:type=>"Paging", :min_occurs=>0, :max_occurs=>1, :name=>:paging}]}, :ComparableValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:comparable_value_type}], :abstract=>true}, :CriterionBidLandscapePage=>{:fields=>[{:type=>"CriterionBidLandscape", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:entries}], :base=>"NoStatsPage"}, :SortOrder=>{:fields=>[]}, :DoubleValue=>{:fields=>[{:type=>"double", :min_occurs=>0, :max_occurs=>1, :name=>:number}], :base=>"NumberValue"}, :NoStatsPage=>{:fields=>[], :base=>"Page", :abstract=>true}, :OrderBy=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:field}, {:type=>"SortOrder", :min_occurs=>0, :max_occurs=>1, :name=>:sort_order}]}, :CriterionBidLandscape=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:criterion_id}], :base=>"BidLandscape"}, :"Predicate.Operator"=>{:fields=>[]}, :DateRange=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:min}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:max}]}, :Page=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_num_entries}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:page_type}], :abstract=>true}, :SoapHeader=>{:fields=>[{: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=>:developer_token}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_agent}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:validate_only}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:partial_failure}]}, :Money=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:micro_amount}], :base=>"ComparableValue"}, :"AdGroupBidLandscape.Type"=>{:fields=>[]}, :LongValue=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:number}], :base=>"NumberValue"}, :AdGroupBidLandscape=>{:fields=>[{:type=>"AdGroupBidLandscape.Type", :min_occurs=>0, :max_occurs=>1, :name=>:type}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:landscape_current}], :base=>"BidLandscape"}}
12
+ DATASERVICE_METHODS = {:get_ad_group_bid_landscape=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_ad_group_bid_landscape_response", :fields=>[{:name=>:rval, :type=>"AdGroupBidLandscapePage", :min_occurs=>0, :max_occurs=>1}]}}, :get_criterion_bid_landscape=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_criterion_bid_landscape_response", :fields=>[{:name=>:rval, :type=>"CriterionBidLandscapePage", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ DATASERVICE_TYPES = {:AdGroupBidLandscape=>{:fields=>[{:name=>:type, :type=>"AdGroupBidLandscape.Type", :min_occurs=>0, :max_occurs=>1}, {:name=>:landscape_current, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}], :base=>"BidLandscape"}, :CriterionBidLandscape=>{:fields=>[{:name=>:criterion_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}], :base=>"BidLandscape"}, :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"}, :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"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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=>: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}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :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}]}, :ComparableValue=>{:fields=>[{:name=>:comparable_value_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :"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}], :abstract=>true, :base=>"DataEntry"}, :DataEntry=>{:fields=>[{:name=>:data_entry_type, :type=>"string", :min_occurs=>0, :max_occurs=>1}], :abstract=>true}, :AdGroupBidLandscapePage=>{:fields=>[{:name=>:entries, :type=>"AdGroupBidLandscape", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"NoStatsPage"}, :CriterionBidLandscapePage=>{:fields=>[{:name=>:entries, :type=>"CriterionBidLandscape", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"NoStatsPage"}, :NoStatsPage=>{:fields=>[], :abstract=>true, :base=>"Page"}, :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}, :"AdGroupBidLandscape.Type"=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}}
16
14
  DATASERVICE_NAMESPACES = []
17
15
 
18
16
  def self.get_method_signature(method_name)
@@ -1,11 +1,9 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:04:28.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:51.
9
7
 
10
8
  require 'ads_common/savon_service'
11
9
  require 'adwords_api/v201109/experiment_service_registry'
@@ -17,14 +15,14 @@ module AdwordsApi; module V201109; module ExperimentService
17
15
  super(api, endpoint, namespace, :v201109)
18
16
  end
19
17
 
20
- def mutate(*args, &block)
21
- return execute_action('mutate', args, &block)
22
- end
23
-
24
18
  def get(*args, &block)
25
19
  return execute_action('get', args, &block)
26
20
  end
27
21
 
22
+ def mutate(*args, &block)
23
+ return execute_action('mutate', args, &block)
24
+ end
25
+
28
26
  private
29
27
 
30
28
  def get_service_registry()
@@ -1,18 +1,16 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:04:28.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:51.
9
7
 
10
8
  require 'adwords_api/errors'
11
9
 
12
10
  module AdwordsApi; module V201109; module ExperimentService
13
11
  class ExperimentServiceRegistry
14
- EXPERIMENTSERVICE_METHODS = {:mutate=>{:input=>[{:type=>"ExperimentOperation", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:operations}], :output=>{:fields=>[{:type=>"ExperimentReturnValue", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"mutate_response"}}, :get=>{:input=>[{:type=>"Selector", :min_occurs=>0, :max_occurs=>1, :name=>:service_selector}], :output=>{:fields=>[{:type=>"ExperimentPage", :min_occurs=>0, :max_occurs=>1, :name=>:rval}], :name=>"get_response"}}}
15
- EXPERIMENTSERVICE_TYPES = {:Experiment=>{:fields=>[{:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:control_id}, {:type=>"long", :min_occurs=>0, :max_occurs=>1, :name=>:campaign_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:name}, {:type=>"ExperimentStatus", :min_occurs=>0, :max_occurs=>1, :name=>:status}, {:type=>"ExperimentServingStatus", :min_occurs=>0, :max_occurs=>1, :name=>:serving_status}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:query_percentage}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:start_date_time}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:end_date_time}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:last_modified_date_time}, {:type=>"ExperimentSummaryStats", :min_occurs=>0, :max_occurs=>1, :name=>:experiment_summary_stats}]}, :SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:service_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:method_name}, {:type=>"long", :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}]}, :Predicate=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:field}, {:type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}, {:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:values}]}, :Paging=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:start_index}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:number_results}]}, :Operation=>{:fields=>[{:type=>"Operator", :min_occurs=>0, :max_occurs=>1, :name=>:operator}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:operation_type}], :abstract=>true}, :ExperimentOperation=>{:fields=>[{:type=>"Experiment", :min_occurs=>0, :max_occurs=>1, :name=>:operand}], :base=>"Operation"}, :Operator=>{:fields=>[]}, :Selector=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:fields}, {:type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:predicates}, {:type=>"DateRange", :min_occurs=>0, :max_occurs=>1, :name=>:date_range}, {:type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:ordering}, {:type=>"Paging", :min_occurs=>0, :max_occurs=>1, :name=>:paging}]}, :ExperimentReturnValue=>{:fields=>[{:type=>"Experiment", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:value}], :base=>"ListReturnValue"}, :OperationAccessDenied=>{:fields=>[{:type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1, :name=>:reason}], :base=>"ApiError"}, :SortOrder=>{:fields=>[]}, :ExperimentPage=>{:fields=>[{:type=>"Experiment", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:entries}], :base=>"Page"}, :OrderBy=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:field}, {:type=>"SortOrder", :min_occurs=>0, :max_occurs=>1, :name=>:sort_order}]}, :EntityNotFound=>{:fields=>[{:type=>"EntityNotFound.Reason", :min_occurs=>0, :max_occurs=>1, :name=>:reason}], :base=>"ApiError"}, :"Predicate.Operator"=>{:fields=>[]}, :ExperimentServingStatus=>{:fields=>[]}, :DateRange=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:min}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:max}]}, :Page=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:total_num_entries}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:page_type}], :abstract=>true}, :SoapHeader=>{:fields=>[{: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=>:developer_token}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_agent}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:validate_only}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:partial_failure}]}, :ExperimentSummaryStats=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:ad_groups_count}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:ad_group_criteria_count}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:ad_group_ads_count}]}, :ExperimentStatus=>{:fields=>[]}, :ListReturnValue=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:list_return_value_type}], :abstract=>true}}
12
+ EXPERIMENTSERVICE_METHODS = {:get=>{:input=>[{:name=>:service_selector, :type=>"Selector", :min_occurs=>0, :max_occurs=>1}], :output=>{:name=>"get_response", :fields=>[{:name=>:rval, :type=>"ExperimentPage", :min_occurs=>0, :max_occurs=>1}]}}, :mutate=>{:input=>[{:name=>:operations, :type=>"ExperimentOperation", :min_occurs=>0, :max_occurs=>:unbounded}], :output=>{:name=>"mutate_response", :fields=>[{:name=>:rval, :type=>"ExperimentReturnValue", :min_occurs=>0, :max_occurs=>1}]}}}
13
+ EXPERIMENTSERVICE_TYPES = {: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"}, :ExperimentSummaryStats=>{:fields=>[{:name=>:ad_groups_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_criteria_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:ad_group_ads_count, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :OperationAccessDenied=>{:fields=>[{:name=>:reason, :type=>"OperationAccessDenied.Reason", :min_occurs=>0, :max_occurs=>1}], :base=>"ApiError"}, :OrderBy=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:sort_order, :type=>"SortOrder", :min_occurs=>0, :max_occurs=>1}]}, :Paging=>{:fields=>[{:name=>:start_index, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:number_results, :type=>"int", :min_occurs=>0, :max_occurs=>1}]}, :Predicate=>{:fields=>[{:name=>:field, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:operator, :type=>"Predicate.Operator", :min_occurs=>0, :max_occurs=>1}, {:name=>:values, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}]}, :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=>: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}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :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}]}, :Experiment=>{:fields=>[{:name=>:id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:control_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:campaign_id, :type=>"long", :min_occurs=>0, :max_occurs=>1}, {:name=>:name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:status, :type=>"ExperimentStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:serving_status, :type=>"ExperimentServingStatus", :min_occurs=>0, :max_occurs=>1}, {:name=>:query_percentage, :type=>"int", :min_occurs=>0, :max_occurs=>1}, {:name=>:start_date_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:end_date_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:last_modified_date_time, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:experiment_summary_stats, :type=>"ExperimentSummaryStats", :min_occurs=>0, :max_occurs=>1}]}, :ExperimentOperation=>{:fields=>[{:name=>:operand, :type=>"Experiment", :min_occurs=>0, :max_occurs=>1}], :base=>"Operation"}, :ExperimentReturnValue=>{:fields=>[{:name=>:value, :type=>"Experiment", :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}, :Selector=>{:fields=>[{:name=>:fields, :type=>"string", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:predicates, :type=>"Predicate", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:date_range, :type=>"DateRange", :min_occurs=>0, :max_occurs=>1}, {:name=>:ordering, :type=>"OrderBy", :min_occurs=>0, :max_occurs=>:unbounded}, {:name=>:paging, :type=>"Paging", :min_occurs=>0, :max_occurs=>1}]}, :ExperimentPage=>{:fields=>[{:name=>:entries, :type=>"Experiment", :min_occurs=>0, :max_occurs=>:unbounded}], :base=>"Page"}, :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}, :ExperimentServingStatus=>{:fields=>[]}, :ExperimentStatus=>{:fields=>[]}, :Operator=>{:fields=>[]}, :"Predicate.Operator"=>{:fields=>[]}, :SortOrder=>{:fields=>[]}}
16
14
  EXPERIMENTSERVICE_NAMESPACES = []
17
15
 
18
16
  def self.get_method_signature(method_name)
@@ -1,11 +1,9 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:04:15.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:53.
9
7
 
10
8
  require 'ads_common/savon_service'
11
9
  require 'adwords_api/v201109/geo_location_service_registry'
@@ -1,18 +1,16 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:04:15.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:53.
9
7
 
10
8
  require 'adwords_api/errors'
11
9
 
12
10
  module AdwordsApi; module V201109; module GeoLocationService
13
11
  class GeoLocationServiceRegistry
14
- GEOLOCATIONSERVICE_METHODS = {:get=>{:input=>[{:type=>"GeoLocationSelector", :min_occurs=>0, :max_occurs=>1, :name=>:selector}], :output=>{:fields=>[{:type=>"GeoLocation", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:rval}], :name=>"get_response"}}}
15
- GEOLOCATIONSERVICE_TYPES = {:SoapResponseHeader=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:request_id}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:service_name}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:method_name}, {:type=>"long", :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}]}, :InvalidGeoLocation=>{:fields=>[], :base=>"GeoLocation"}, :GeoLocation=>{:fields=>[{:type=>"GeoPoint", :min_occurs=>0, :max_occurs=>1, :name=>:geo_point}, {:type=>"Address", :min_occurs=>0, :max_occurs=>1, :name=>:address}, {:type=>"base64Binary", :min_occurs=>0, :max_occurs=>1, :name=>:encoded_location}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:geo_location_type}]}, :Address=>{:fields=>[{:type=>"string", :min_occurs=>0, :max_occurs=>1, :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}]}, :GeoLocationSelector=>{:fields=>[{:type=>"Address", :min_occurs=>0, :max_occurs=>:unbounded, :name=>:addresses}]}, :SoapHeader=>{:fields=>[{: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=>:developer_token}, {:type=>"string", :min_occurs=>0, :max_occurs=>1, :name=>:user_agent}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:validate_only}, {:type=>"boolean", :min_occurs=>0, :max_occurs=>1, :name=>:partial_failure}]}, :GeoPoint=>{:fields=>[{:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:latitude_in_micro_degrees}, {:type=>"int", :min_occurs=>0, :max_occurs=>1, :name=>:longitude_in_micro_degrees}]}}
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=>:auth_token, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:client_customer_id, :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}, {:name=>:partial_failure, :type=>"boolean", :min_occurs=>0, :max_occurs=>1}]}, :SoapResponseHeader=>{:fields=>[{:name=>:request_id, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:service_name, :type=>"string", :min_occurs=>0, :max_occurs=>1}, {:name=>:method_name, :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}]}}
16
14
  GEOLOCATIONSERVICE_NAMESPACES = []
17
15
 
18
16
  def self.get_method_signature(method_name)
@@ -1,11 +1,9 @@
1
- # Encoding: utf-8
2
- #
1
+ #!/usr/bin/ruby
3
2
  # This is auto-generated code, changes will be overwritten.
3
+ # Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
4
+ # License:: Licensed under the Apache License,Version 2.0 (the "License").
4
5
  #
5
- # Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
6
- # License:: Licensed under the Apache License, Version 2.0.
7
- #
8
- # Code generated by AdsCommon library 0.6.2 on 2012-01-23 14:06:17.
6
+ # Code generated by AdsCommon library 0.6.0 on 2011-12-02 16:42:54.
9
7
 
10
8
  require 'ads_common/savon_service'
11
9
  require 'adwords_api/v201109/info_service_registry'