adwords4r 13.0.1 → 15.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. data/Authors.txt +2 -1
  2. data/ChangeLog.txt +28 -0
  3. data/Copying.txt +1 -1
  4. data/{Licence.txt → License.txt} +1 -1
  5. data/Rakefile +49 -54
  6. data/Readme.txt +78 -24
  7. data/adwords.properties +1 -1
  8. data/examples/account_info.rb +20 -26
  9. data/examples/create_all.rb +51 -53
  10. data/examples/create_all_v200902.rb +204 -0
  11. data/examples/keyword_suggestions.rb +35 -38
  12. data/examples/multiple_versions.rb +167 -0
  13. data/examples/reports.rb +37 -75
  14. data/lib/adwords4r.rb +123 -123
  15. data/lib/adwords4r/adwordslogger.rb +56 -0
  16. data/lib/adwords4r/apiextensions.rb +79 -0
  17. data/lib/adwords4r/authtoken.rb +56 -0
  18. data/lib/adwords4r/credentials.rb +115 -19
  19. data/lib/adwords4r/services.rb +139 -14
  20. data/lib/adwords4r/soap4rpatches.rb +129 -0
  21. data/lib/adwords4r/v13/AccountService.rb +11 -11
  22. data/lib/adwords4r/v13/AccountServiceDriver.rb +7 -5
  23. data/lib/adwords4r/v13/AccountServiceMappingRegistry.rb +56 -56
  24. data/lib/adwords4r/v13/AdGroupService.rb +9 -9
  25. data/lib/adwords4r/v13/AdGroupServiceDriver.rb +11 -9
  26. data/lib/adwords4r/v13/AdGroupServiceMappingRegistry.rb +47 -47
  27. data/lib/adwords4r/v13/AdService.rb +37 -37
  28. data/lib/adwords4r/v13/AdServiceDriver.rb +12 -10
  29. data/lib/adwords4r/v13/AdServiceMappingRegistry.rb +148 -148
  30. data/lib/adwords4r/v13/CampaignService.rb +46 -25
  31. data/lib/adwords4r/v13/CampaignServiceDriver.rb +23 -13
  32. data/lib/adwords4r/v13/CampaignServiceMappingRegistry.rb +169 -135
  33. data/lib/adwords4r/v13/CriterionService.rb +19 -19
  34. data/lib/adwords4r/v13/CriterionServiceDriver.rb +11 -9
  35. data/lib/adwords4r/v13/CriterionServiceMappingRegistry.rb +90 -90
  36. data/lib/adwords4r/v13/InfoService.rb +3 -3
  37. data/lib/adwords4r/v13/InfoServiceDriver.rb +10 -8
  38. data/lib/adwords4r/v13/InfoServiceMappingRegistry.rb +29 -29
  39. data/lib/adwords4r/v13/KeywordToolService.rb +10 -10
  40. data/lib/adwords4r/v13/KeywordToolServiceDriver.rb +4 -2
  41. data/lib/adwords4r/v13/KeywordToolServiceMappingRegistry.rb +37 -37
  42. data/lib/adwords4r/v13/ReportService.rb +13 -13
  43. data/lib/adwords4r/v13/ReportServiceDriver.rb +9 -7
  44. data/lib/adwords4r/v13/ReportServiceMappingRegistry.rb +54 -54
  45. data/lib/adwords4r/v13/SiteSuggestionService.rb +15 -15
  46. data/lib/adwords4r/v13/SiteSuggestionServiceDriver.rb +6 -4
  47. data/lib/adwords4r/v13/SiteSuggestionServiceMappingRegistry.rb +57 -57
  48. data/lib/adwords4r/v13/TrafficEstimatorService.rb +17 -17
  49. data/lib/adwords4r/v13/TrafficEstimatorServiceDriver.rb +6 -4
  50. data/lib/adwords4r/v13/TrafficEstimatorServiceMappingRegistry.rb +96 -96
  51. data/lib/adwords4r/v200902/AdGroupAdService.rb +2021 -0
  52. data/lib/adwords4r/v200902/AdGroupAdServiceDriver.rb +63 -0
  53. data/lib/adwords4r/v200902/AdGroupAdServiceMappingRegistry.rb +2234 -0
  54. data/lib/adwords4r/v200902/AdGroupCriterionService.rb +1209 -0
  55. data/lib/adwords4r/v200902/AdGroupCriterionServiceDriver.rb +63 -0
  56. data/lib/adwords4r/v200902/AdGroupCriterionServiceMappingRegistry.rb +1434 -0
  57. data/lib/adwords4r/v200902/AdGroupService.rb +968 -0
  58. data/lib/adwords4r/{v12/KeywordToolServiceDriver.rb → v200902/AdGroupServiceDriver.rb} +15 -13
  59. data/lib/adwords4r/v200902/AdGroupServiceMappingRegistry.rb +1114 -0
  60. data/lib/adwords4r/v200902/CampaignCriterionService.rb +741 -0
  61. data/lib/adwords4r/v200902/CampaignCriterionServiceDriver.rb +63 -0
  62. data/lib/adwords4r/v200902/CampaignCriterionServiceMappingRegistry.rb +904 -0
  63. data/lib/adwords4r/v200902/CampaignService.rb +1249 -0
  64. data/lib/adwords4r/v200902/CampaignServiceDriver.rb +63 -0
  65. data/lib/adwords4r/v200902/CampaignServiceMappingRegistry.rb +1466 -0
  66. data/lib/adwords4r/v200902/CampaignTargetService.rb +1156 -0
  67. data/lib/adwords4r/v200902/CampaignTargetServiceDriver.rb +63 -0
  68. data/lib/adwords4r/v200902/CampaignTargetServiceMappingRegistry.rb +1304 -0
  69. data/setup.rb +0 -0
  70. metadata +57 -65
  71. data/lib/adwords4r/v12/AccountService.rb +0 -215
  72. data/lib/adwords4r/v12/AccountServiceDriver.rb +0 -69
  73. data/lib/adwords4r/v12/AccountServiceMappingRegistry.rb +0 -243
  74. data/lib/adwords4r/v12/AdGroupService.rb +0 -263
  75. data/lib/adwords4r/v12/AdGroupServiceDriver.rb +0 -109
  76. data/lib/adwords4r/v12/AdGroupServiceMappingRegistry.rb +0 -280
  77. data/lib/adwords4r/v12/AdService.rb +0 -769
  78. data/lib/adwords4r/v12/AdServiceDriver.rb +0 -125
  79. data/lib/adwords4r/v12/AdServiceMappingRegistry.rb +0 -813
  80. data/lib/adwords4r/v12/CampaignService.rb +0 -498
  81. data/lib/adwords4r/v12/CampaignServiceDriver.rb +0 -133
  82. data/lib/adwords4r/v12/CampaignServiceMappingRegistry.rb +0 -642
  83. data/lib/adwords4r/v12/CriterionService.rb +0 -445
  84. data/lib/adwords4r/v12/CriterionServiceDriver.rb +0 -117
  85. data/lib/adwords4r/v12/CriterionServiceMappingRegistry.rb +0 -509
  86. data/lib/adwords4r/v12/InfoService.rb +0 -242
  87. data/lib/adwords4r/v12/InfoServiceDriver.rb +0 -109
  88. data/lib/adwords4r/v12/InfoServiceMappingRegistry.rb +0 -228
  89. data/lib/adwords4r/v12/KeywordToolService.rb +0 -205
  90. data/lib/adwords4r/v12/KeywordToolServiceMappingRegistry.rb +0 -227
  91. data/lib/adwords4r/v12/ReportService.rb +0 -322
  92. data/lib/adwords4r/v12/ReportServiceDriver.rb +0 -101
  93. data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +0 -298
  94. data/lib/adwords4r/v12/SiteSuggestionService.rb +0 -242
  95. data/lib/adwords4r/v12/SiteSuggestionServiceDriver.rb +0 -77
  96. data/lib/adwords4r/v12/SiteSuggestionServiceMappingRegistry.rb +0 -271
  97. data/lib/adwords4r/v12/TrafficEstimatorService.rb +0 -312
  98. data/lib/adwords4r/v12/TrafficEstimatorServiceDriver.rb +0 -77
  99. data/lib/adwords4r/v12/TrafficEstimatorServiceMappingRegistry.rb +0 -483
@@ -1,11 +1,11 @@
1
1
  require 'xsd/qname'
2
2
 
3
- module AdWords; module CampaignService
3
+ module AdWords; module V13; module CampaignService
4
4
 
5
5
 
6
6
  # {https://adwords.google.com/api/adwords/v13}AdSchedule
7
- # intervals - AdWords::CampaignService::SchedulingInterval
8
- # status - AdWords::CampaignService::AdScheduleStatus
7
+ # intervals - AdWords::V13::CampaignService::SchedulingInterval
8
+ # status - AdWords::V13::CampaignService::AdScheduleStatus
9
9
  class AdSchedule
10
10
  attr_accessor :intervals
11
11
  attr_accessor :status
@@ -49,7 +49,7 @@ end
49
49
 
50
50
  # {https://adwords.google.com/api/adwords/v13}ApiException
51
51
  # code - SOAP::SOAPInt
52
- # errors - AdWords::CampaignService::ApiError
52
+ # errors - AdWords::V13::CampaignService::ApiError
53
53
  # internal - SOAP::SOAPBoolean
54
54
  # message - SOAP::SOAPString
55
55
  # trigger - SOAP::SOAPString
@@ -87,19 +87,19 @@ end
87
87
 
88
88
  # {https://adwords.google.com/api/adwords/v13}Campaign
89
89
  # budgetAmount - SOAP::SOAPLong
90
- # budgetOptimizerSettings - AdWords::CampaignService::BudgetOptimizerSettings
91
- # budgetPeriod - AdWords::CampaignService::BudgetPeriod
92
- # contentTargeting - AdWords::CampaignService::ContentTargeting
93
- # conversionOptimizerSettings - AdWords::CampaignService::ConversionOptimizerSettings
90
+ # budgetOptimizerSettings - AdWords::V13::CampaignService::BudgetOptimizerSettings
91
+ # budgetPeriod - AdWords::V13::CampaignService::BudgetPeriod
92
+ # contentTargeting - AdWords::V13::CampaignService::ContentTargeting
93
+ # conversionOptimizerSettings - AdWords::V13::CampaignService::ConversionOptimizerSettings
94
94
  # endDay - SOAP::SOAPDate
95
- # geoTargeting - AdWords::CampaignService::GeoTarget
95
+ # geoTargeting - AdWords::V13::CampaignService::GeoTarget
96
96
  # id - SOAP::SOAPInt
97
- # languageTargeting - AdWords::CampaignService::LanguageTarget
97
+ # languageTargeting - AdWords::V13::CampaignService::LanguageTarget
98
98
  # name - SOAP::SOAPString
99
- # networkTargeting - AdWords::CampaignService::NetworkTarget
100
- # schedule - AdWords::CampaignService::AdSchedule
99
+ # networkTargeting - AdWords::V13::CampaignService::NetworkTarget
100
+ # schedule - AdWords::V13::CampaignService::AdSchedule
101
101
  # startDay - SOAP::SOAPDate
102
- # status - AdWords::CampaignService::CampaignStatus
102
+ # status - AdWords::V13::CampaignService::CampaignStatus
103
103
  class Campaign
104
104
  attr_accessor :budgetAmount
105
105
  attr_accessor :budgetOptimizerSettings
@@ -136,7 +136,7 @@ end
136
136
 
137
137
  # {https://adwords.google.com/api/adwords/v13}CampaignBudget
138
138
  # budgetAmount - SOAP::SOAPLong
139
- # budgetPeriod - AdWords::CampaignService::BudgetPeriod
139
+ # budgetPeriod - AdWords::V13::CampaignService::BudgetPeriod
140
140
  class CampaignBudget
141
141
  attr_accessor :budgetAmount
142
142
  attr_accessor :budgetPeriod
@@ -216,11 +216,11 @@ class CountryTargets
216
216
  end
217
217
 
218
218
  # {https://adwords.google.com/api/adwords/v13}GeoTarget
219
- # cityTargets - AdWords::CampaignService::CityTargets
220
- # countryTargets - AdWords::CampaignService::CountryTargets
221
- # metroTargets - AdWords::CampaignService::MetroTargets
222
- # proximityTargets - AdWords::CampaignService::ProximityTargets
223
- # regionTargets - AdWords::CampaignService::RegionTargets
219
+ # cityTargets - AdWords::V13::CampaignService::CityTargets
220
+ # countryTargets - AdWords::V13::CampaignService::CountryTargets
221
+ # metroTargets - AdWords::V13::CampaignService::MetroTargets
222
+ # proximityTargets - AdWords::V13::CampaignService::ProximityTargets
223
+ # regionTargets - AdWords::V13::CampaignService::RegionTargets
224
224
  # targetAll - SOAP::SOAPBoolean
225
225
  class GeoTarget
226
226
  attr_accessor :cityTargets
@@ -265,6 +265,19 @@ end
265
265
  class ProximityTargets < ::Array
266
266
  end
267
267
 
268
+ # {https://adwords.google.com/api/adwords/v13}RecommendedBudget
269
+ # budget - AdWords::V13::CampaignService::CampaignBudget
270
+ # campaignId - SOAP::SOAPInt
271
+ class RecommendedBudget
272
+ attr_accessor :budget
273
+ attr_accessor :campaignId
274
+
275
+ def initialize(budget = nil, campaignId = nil)
276
+ @budget = budget
277
+ @campaignId = campaignId
278
+ end
279
+ end
280
+
268
281
  # {https://adwords.google.com/api/adwords/v13}RegionTargets
269
282
  # excludedRegions - SOAP::SOAPString
270
283
  # regions - SOAP::SOAPString
@@ -279,7 +292,7 @@ class RegionTargets
279
292
  end
280
293
 
281
294
  # {https://adwords.google.com/api/adwords/v13}SchedulingInterval
282
- # day - AdWords::CampaignService::DayOfWeek
295
+ # day - AdWords::V13::CampaignService::DayOfWeek
283
296
  # endHour - SOAP::SOAPInt
284
297
  # endMinute - SOAP::SOAPInt
285
298
  # multiplier - SOAP::SOAPDouble
@@ -378,7 +391,7 @@ class NetworkType < ::String
378
391
  end
379
392
 
380
393
  # {https://adwords.google.com/api/adwords/v13}addCampaign
381
- # campaign - AdWords::CampaignService::Campaign
394
+ # campaign - AdWords::V13::CampaignService::Campaign
382
395
  class AddCampaign
383
396
  attr_accessor :campaign
384
397
 
@@ -396,7 +409,7 @@ class AddCampaignListResponse < ::Array
396
409
  end
397
410
 
398
411
  # {https://adwords.google.com/api/adwords/v13}addCampaignResponse
399
- # addCampaignReturn - AdWords::CampaignService::Campaign
412
+ # addCampaignReturn - AdWords::V13::CampaignService::Campaign
400
413
  class AddCampaignResponse
401
414
  attr_accessor :addCampaignReturn
402
415
 
@@ -448,7 +461,7 @@ class GetCampaignListResponse < ::Array
448
461
  end
449
462
 
450
463
  # {https://adwords.google.com/api/adwords/v13}getCampaignResponse
451
- # getCampaignReturn - AdWords::CampaignService::Campaign
464
+ # getCampaignReturn - AdWords::V13::CampaignService::Campaign
452
465
  class GetCampaignResponse
453
466
  attr_accessor :getCampaignReturn
454
467
 
@@ -513,6 +526,14 @@ end
513
526
  class GetRecommendedBudgetListResponse < ::Array
514
527
  end
515
528
 
529
+ # {https://adwords.google.com/api/adwords/v13}getRecommendedBudgets
530
+ class GetRecommendedBudgets < ::Array
531
+ end
532
+
533
+ # {https://adwords.google.com/api/adwords/v13}getRecommendedBudgetsResponse
534
+ class GetRecommendedBudgetsResponse < ::Array
535
+ end
536
+
516
537
  # {https://adwords.google.com/api/adwords/v13}setOptimizeAdServing
517
538
  # campaignId - SOAP::SOAPInt
518
539
  # enable - SOAP::SOAPBoolean
@@ -533,7 +554,7 @@ class SetOptimizeAdServingResponse
533
554
  end
534
555
 
535
556
  # {https://adwords.google.com/api/adwords/v13}updateCampaign
536
- # campaign - AdWords::CampaignService::Campaign
557
+ # campaign - AdWords::V13::CampaignService::Campaign
537
558
  class UpdateCampaign
538
559
  attr_accessor :campaign
539
560
 
@@ -559,4 +580,4 @@ class UpdateCampaignResponse
559
580
  end
560
581
 
561
582
 
562
- end; end
583
+ end; end; end
@@ -3,6 +3,7 @@ require 'adwords4r/v13/CampaignServiceMappingRegistry'
3
3
  require 'soap/rpc/driver'
4
4
 
5
5
  module AdWords
6
+ module V13
6
7
  module CampaignService
7
8
 
8
9
  class CampaignInterface < ::SOAP::RPC::Driver
@@ -15,7 +16,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
15
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "addCampaignResponse"]] ],
16
17
  { :request_style => :document, :request_use => :literal,
17
18
  :response_style => :document, :response_use => :literal,
18
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
19
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
19
20
  ],
20
21
  [ "",
21
22
  "addCampaignList",
@@ -23,7 +24,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
23
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "addCampaignListResponse"]] ],
24
25
  { :request_style => :document, :request_use => :literal,
25
26
  :response_style => :document, :response_use => :literal,
26
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
27
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
27
28
  ],
28
29
  [ "",
29
30
  "getActiveAdWordsCampaigns",
@@ -31,7 +32,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
31
32
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getActiveAdWordsCampaignsResponse"]] ],
32
33
  { :request_style => :document, :request_use => :literal,
33
34
  :response_style => :document, :response_use => :literal,
34
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
35
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
35
36
  ],
36
37
  [ "",
37
38
  "getAllAdWordsCampaigns",
@@ -39,7 +40,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
39
40
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getAllAdWordsCampaignsResponse"]] ],
40
41
  { :request_style => :document, :request_use => :literal,
41
42
  :response_style => :document, :response_use => :literal,
42
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
43
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
43
44
  ],
44
45
  [ "",
45
46
  "getCampaign",
@@ -47,7 +48,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
47
48
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getCampaignResponse"]] ],
48
49
  { :request_style => :document, :request_use => :literal,
49
50
  :response_style => :document, :response_use => :literal,
50
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
51
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
51
52
  ],
52
53
  [ "",
53
54
  "getCampaignList",
@@ -55,7 +56,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
55
56
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getCampaignListResponse"]] ],
56
57
  { :request_style => :document, :request_use => :literal,
57
58
  :response_style => :document, :response_use => :literal,
58
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
59
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
59
60
  ],
60
61
  [ "",
61
62
  "getCampaignStats",
@@ -63,7 +64,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
63
64
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getCampaignStatsResponse"]] ],
64
65
  { :request_style => :document, :request_use => :literal,
65
66
  :response_style => :document, :response_use => :literal,
66
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
67
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
67
68
  ],
68
69
  [ "",
69
70
  "getConversionOptimizerEligibility",
@@ -71,7 +72,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
71
72
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getConversionOptimizerEligibilityResponse"]] ],
72
73
  { :request_style => :document, :request_use => :literal,
73
74
  :response_style => :document, :response_use => :literal,
74
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
75
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
75
76
  ],
76
77
  [ "",
77
78
  "getOptimizeAdServing",
@@ -79,7 +80,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
79
80
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getOptimizeAdServingResponse"]] ],
80
81
  { :request_style => :document, :request_use => :literal,
81
82
  :response_style => :document, :response_use => :literal,
82
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
83
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
83
84
  ],
84
85
  [ "",
85
86
  "getRecommendedBudgetList",
@@ -87,7 +88,15 @@ class CampaignInterface < ::SOAP::RPC::Driver
87
88
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getRecommendedBudgetListResponse"]] ],
88
89
  { :request_style => :document, :request_use => :literal,
89
90
  :response_style => :document, :response_use => :literal,
90
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
91
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
92
+ ],
93
+ [ "",
94
+ "getRecommendedBudgets",
95
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getRecommendedBudgets"]],
96
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getRecommendedBudgetsResponse"]] ],
97
+ { :request_style => :document, :request_use => :literal,
98
+ :response_style => :document, :response_use => :literal,
99
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
91
100
  ],
92
101
  [ "",
93
102
  "setOptimizeAdServing",
@@ -95,7 +104,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
95
104
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "setOptimizeAdServingResponse"]] ],
96
105
  { :request_style => :document, :request_use => :literal,
97
106
  :response_style => :document, :response_use => :literal,
98
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
107
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
99
108
  ],
100
109
  [ "",
101
110
  "updateCampaign",
@@ -103,7 +112,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
103
112
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "updateCampaignResponse"]] ],
104
113
  { :request_style => :document, :request_use => :literal,
105
114
  :response_style => :document, :response_use => :literal,
106
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
115
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
107
116
  ],
108
117
  [ "",
109
118
  "updateCampaignList",
@@ -111,7 +120,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
111
120
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "updateCampaignListResponse"]] ],
112
121
  { :request_style => :document, :request_use => :literal,
113
122
  :response_style => :document, :response_use => :literal,
114
- :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
123
+ :faults => {"AdWords::V13::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
115
124
  ]
116
125
  ]
117
126
 
@@ -147,3 +156,4 @@ end
147
156
 
148
157
  end
149
158
  end
159
+ end
@@ -1,7 +1,7 @@
1
1
  require 'adwords4r/v13/CampaignService'
2
2
  require 'soap/mapping'
3
3
 
4
- module AdWords; module CampaignService
4
+ module AdWords; module V13; module CampaignService
5
5
 
6
6
  module DefaultMappingRegistry
7
7
  EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
@@ -9,16 +9,16 @@ module DefaultMappingRegistry
9
9
  NsV13 = "https://adwords.google.com/api/adwords/v13"
10
10
 
11
11
  EncodedRegistry.register(
12
- :class => AdWords::CampaignService::AdSchedule,
12
+ :class => AdWords::V13::CampaignService::AdSchedule,
13
13
  :schema_type => XSD::QName.new(NsV13, "AdSchedule"),
14
14
  :schema_element => [
15
- ["intervals", "AdWords::CampaignService::SchedulingInterval[]", [1, nil]],
16
- ["status", "AdWords::CampaignService::AdScheduleStatus"]
15
+ ["intervals", "AdWords::V13::CampaignService::SchedulingInterval[]", [1, nil]],
16
+ ["status", "AdWords::V13::CampaignService::AdScheduleStatus"]
17
17
  ]
18
18
  )
19
19
 
20
20
  EncodedRegistry.register(
21
- :class => AdWords::CampaignService::ApiError,
21
+ :class => AdWords::V13::CampaignService::ApiError,
22
22
  :schema_type => XSD::QName.new(NsV13, "ApiError"),
23
23
  :schema_element => [
24
24
  ["code", "SOAP::SOAPInt"],
@@ -33,11 +33,11 @@ module DefaultMappingRegistry
33
33
  )
34
34
 
35
35
  EncodedRegistry.register(
36
- :class => AdWords::CampaignService::ApiException,
36
+ :class => AdWords::V13::CampaignService::ApiException,
37
37
  :schema_type => XSD::QName.new(NsV13, "ApiException"),
38
38
  :schema_element => [
39
39
  ["code", "SOAP::SOAPInt"],
40
- ["errors", "AdWords::CampaignService::ApiError[]", [1, nil]],
40
+ ["errors", "AdWords::V13::CampaignService::ApiError[]", [1, nil]],
41
41
  ["internal", "SOAP::SOAPBoolean"],
42
42
  ["message", "SOAP::SOAPString"],
43
43
  ["trigger", "SOAP::SOAPString"]
@@ -45,7 +45,7 @@ module DefaultMappingRegistry
45
45
  )
46
46
 
47
47
  EncodedRegistry.register(
48
- :class => AdWords::CampaignService::BudgetOptimizerSettings,
48
+ :class => AdWords::V13::CampaignService::BudgetOptimizerSettings,
49
49
  :schema_type => XSD::QName.new(NsV13, "BudgetOptimizerSettings"),
50
50
  :schema_element => [
51
51
  ["bidCeiling", "SOAP::SOAPLong", [0, 1]],
@@ -55,37 +55,37 @@ module DefaultMappingRegistry
55
55
  )
56
56
 
57
57
  EncodedRegistry.register(
58
- :class => AdWords::CampaignService::Campaign,
58
+ :class => AdWords::V13::CampaignService::Campaign,
59
59
  :schema_type => XSD::QName.new(NsV13, "Campaign"),
60
60
  :schema_element => [
61
61
  ["budgetAmount", "SOAP::SOAPLong", [0, 1]],
62
- ["budgetOptimizerSettings", "AdWords::CampaignService::BudgetOptimizerSettings"],
63
- ["budgetPeriod", "AdWords::CampaignService::BudgetPeriod", [0, 1]],
64
- ["contentTargeting", "AdWords::CampaignService::ContentTargeting"],
65
- ["conversionOptimizerSettings", "AdWords::CampaignService::ConversionOptimizerSettings", [0, 1]],
62
+ ["budgetOptimizerSettings", "AdWords::V13::CampaignService::BudgetOptimizerSettings"],
63
+ ["budgetPeriod", "AdWords::V13::CampaignService::BudgetPeriod", [0, 1]],
64
+ ["contentTargeting", "AdWords::V13::CampaignService::ContentTargeting"],
65
+ ["conversionOptimizerSettings", "AdWords::V13::CampaignService::ConversionOptimizerSettings", [0, 1]],
66
66
  ["endDay", "SOAP::SOAPDate", [0, 1]],
67
- ["geoTargeting", "AdWords::CampaignService::GeoTarget"],
67
+ ["geoTargeting", "AdWords::V13::CampaignService::GeoTarget"],
68
68
  ["id", "SOAP::SOAPInt"],
69
- ["languageTargeting", "AdWords::CampaignService::LanguageTarget"],
69
+ ["languageTargeting", "AdWords::V13::CampaignService::LanguageTarget"],
70
70
  ["name", "SOAP::SOAPString"],
71
- ["networkTargeting", "AdWords::CampaignService::NetworkTarget"],
72
- ["schedule", "AdWords::CampaignService::AdSchedule"],
71
+ ["networkTargeting", "AdWords::V13::CampaignService::NetworkTarget"],
72
+ ["schedule", "AdWords::V13::CampaignService::AdSchedule"],
73
73
  ["startDay", "SOAP::SOAPDate", [0, 1]],
74
- ["status", "AdWords::CampaignService::CampaignStatus"]
74
+ ["status", "AdWords::V13::CampaignService::CampaignStatus"]
75
75
  ]
76
76
  )
77
77
 
78
78
  EncodedRegistry.register(
79
- :class => AdWords::CampaignService::CampaignBudget,
79
+ :class => AdWords::V13::CampaignService::CampaignBudget,
80
80
  :schema_type => XSD::QName.new(NsV13, "CampaignBudget"),
81
81
  :schema_element => [
82
82
  ["budgetAmount", "SOAP::SOAPLong", [0, 1]],
83
- ["budgetPeriod", "AdWords::CampaignService::BudgetPeriod", [0, 1]]
83
+ ["budgetPeriod", "AdWords::V13::CampaignService::BudgetPeriod", [0, 1]]
84
84
  ]
85
85
  )
86
86
 
87
87
  EncodedRegistry.register(
88
- :class => AdWords::CampaignService::Circle,
88
+ :class => AdWords::V13::CampaignService::Circle,
89
89
  :schema_type => XSD::QName.new(NsV13, "Circle"),
90
90
  :schema_element => [
91
91
  ["latitudeMicroDegrees", "SOAP::SOAPInt"],
@@ -95,7 +95,7 @@ module DefaultMappingRegistry
95
95
  )
96
96
 
97
97
  EncodedRegistry.register(
98
- :class => AdWords::CampaignService::CityTargets,
98
+ :class => AdWords::V13::CampaignService::CityTargets,
99
99
  :schema_type => XSD::QName.new(NsV13, "CityTargets"),
100
100
  :schema_element => [
101
101
  ["cities", "SOAP::SOAPString[]", [0, nil]],
@@ -104,7 +104,7 @@ module DefaultMappingRegistry
104
104
  )
105
105
 
106
106
  EncodedRegistry.register(
107
- :class => AdWords::CampaignService::ConversionOptimizerEligibility,
107
+ :class => AdWords::V13::CampaignService::ConversionOptimizerEligibility,
108
108
  :schema_type => XSD::QName.new(NsV13, "ConversionOptimizerEligibility"),
109
109
  :schema_element => [
110
110
  ["campaignId", "SOAP::SOAPInt"],
@@ -113,7 +113,7 @@ module DefaultMappingRegistry
113
113
  )
114
114
 
115
115
  EncodedRegistry.register(
116
- :class => AdWords::CampaignService::ConversionOptimizerSettings,
116
+ :class => AdWords::V13::CampaignService::ConversionOptimizerSettings,
117
117
  :schema_type => XSD::QName.new(NsV13, "ConversionOptimizerSettings"),
118
118
  :schema_element => [
119
119
  ["enabled", "SOAP::SOAPBoolean", [0, 1]],
@@ -122,7 +122,7 @@ module DefaultMappingRegistry
122
122
  )
123
123
 
124
124
  EncodedRegistry.register(
125
- :class => AdWords::CampaignService::CountryTargets,
125
+ :class => AdWords::V13::CampaignService::CountryTargets,
126
126
  :schema_type => XSD::QName.new(NsV13, "CountryTargets"),
127
127
  :schema_element => [
128
128
  ["countries", "SOAP::SOAPString[]", [0, nil]],
@@ -131,20 +131,20 @@ module DefaultMappingRegistry
131
131
  )
132
132
 
133
133
  EncodedRegistry.register(
134
- :class => AdWords::CampaignService::GeoTarget,
134
+ :class => AdWords::V13::CampaignService::GeoTarget,
135
135
  :schema_type => XSD::QName.new(NsV13, "GeoTarget"),
136
136
  :schema_element => [
137
- ["cityTargets", "AdWords::CampaignService::CityTargets", [0, 1]],
138
- ["countryTargets", "AdWords::CampaignService::CountryTargets", [0, 1]],
139
- ["metroTargets", "AdWords::CampaignService::MetroTargets", [0, 1]],
140
- ["proximityTargets", "AdWords::CampaignService::ProximityTargets", [0, 1]],
141
- ["regionTargets", "AdWords::CampaignService::RegionTargets", [0, 1]],
137
+ ["cityTargets", "AdWords::V13::CampaignService::CityTargets", [0, 1]],
138
+ ["countryTargets", "AdWords::V13::CampaignService::CountryTargets", [0, 1]],
139
+ ["metroTargets", "AdWords::V13::CampaignService::MetroTargets", [0, 1]],
140
+ ["proximityTargets", "AdWords::V13::CampaignService::ProximityTargets", [0, 1]],
141
+ ["regionTargets", "AdWords::V13::CampaignService::RegionTargets", [0, 1]],
142
142
  ["targetAll", "SOAP::SOAPBoolean"]
143
143
  ]
144
144
  )
145
145
 
146
146
  EncodedRegistry.register(
147
- :class => AdWords::CampaignService::LanguageTarget,
147
+ :class => AdWords::V13::CampaignService::LanguageTarget,
148
148
  :schema_type => XSD::QName.new(NsV13, "LanguageTarget"),
149
149
  :schema_element => [
150
150
  ["languages", "SOAP::SOAPString[]", [1, nil]]
@@ -152,7 +152,7 @@ module DefaultMappingRegistry
152
152
  )
153
153
 
154
154
  EncodedRegistry.register(
155
- :class => AdWords::CampaignService::MetroTargets,
155
+ :class => AdWords::V13::CampaignService::MetroTargets,
156
156
  :schema_type => XSD::QName.new(NsV13, "MetroTargets"),
157
157
  :schema_element => [
158
158
  ["excludedMetros", "SOAP::SOAPString[]", [0, nil]],
@@ -161,23 +161,32 @@ module DefaultMappingRegistry
161
161
  )
162
162
 
163
163
  EncodedRegistry.register(
164
- :class => AdWords::CampaignService::NetworkTarget,
164
+ :class => AdWords::V13::CampaignService::NetworkTarget,
165
165
  :schema_type => XSD::QName.new(NsV13, "NetworkTarget"),
166
166
  :schema_element => [
167
- ["networkTypes", "AdWords::CampaignService::NetworkType[]", [0, nil]]
167
+ ["networkTypes", "AdWords::V13::CampaignService::NetworkType[]", [0, nil]]
168
168
  ]
169
169
  )
170
170
 
171
171
  EncodedRegistry.register(
172
- :class => AdWords::CampaignService::ProximityTargets,
172
+ :class => AdWords::V13::CampaignService::ProximityTargets,
173
173
  :schema_type => XSD::QName.new(NsV13, "ProximityTargets"),
174
174
  :schema_element => [
175
- ["circles", "AdWords::CampaignService::Circle[]", [1, nil]]
175
+ ["circles", "AdWords::V13::CampaignService::Circle[]", [1, nil]]
176
176
  ]
177
177
  )
178
178
 
179
179
  EncodedRegistry.register(
180
- :class => AdWords::CampaignService::RegionTargets,
180
+ :class => AdWords::V13::CampaignService::RecommendedBudget,
181
+ :schema_type => XSD::QName.new(NsV13, "RecommendedBudget"),
182
+ :schema_element => [
183
+ ["budget", "AdWords::V13::CampaignService::CampaignBudget"],
184
+ ["campaignId", "SOAP::SOAPInt"]
185
+ ]
186
+ )
187
+
188
+ EncodedRegistry.register(
189
+ :class => AdWords::V13::CampaignService::RegionTargets,
181
190
  :schema_type => XSD::QName.new(NsV13, "RegionTargets"),
182
191
  :schema_element => [
183
192
  ["excludedRegions", "SOAP::SOAPString[]", [0, nil]],
@@ -186,10 +195,10 @@ module DefaultMappingRegistry
186
195
  )
187
196
 
188
197
  EncodedRegistry.register(
189
- :class => AdWords::CampaignService::SchedulingInterval,
198
+ :class => AdWords::V13::CampaignService::SchedulingInterval,
190
199
  :schema_type => XSD::QName.new(NsV13, "SchedulingInterval"),
191
200
  :schema_element => [
192
- ["day", "AdWords::CampaignService::DayOfWeek"],
201
+ ["day", "AdWords::V13::CampaignService::DayOfWeek"],
193
202
  ["endHour", "SOAP::SOAPInt"],
194
203
  ["endMinute", "SOAP::SOAPInt"],
195
204
  ["multiplier", "SOAP::SOAPDouble"],
@@ -199,7 +208,7 @@ module DefaultMappingRegistry
199
208
  )
200
209
 
201
210
  EncodedRegistry.register(
202
- :class => AdWords::CampaignService::StatsRecord,
211
+ :class => AdWords::V13::CampaignService::StatsRecord,
203
212
  :schema_type => XSD::QName.new(NsV13, "StatsRecord"),
204
213
  :schema_element => [
205
214
  ["averagePosition", "SOAP::SOAPDouble"],
@@ -213,46 +222,46 @@ module DefaultMappingRegistry
213
222
  )
214
223
 
215
224
  EncodedRegistry.register(
216
- :class => AdWords::CampaignService::AdScheduleStatus,
225
+ :class => AdWords::V13::CampaignService::AdScheduleStatus,
217
226
  :schema_type => XSD::QName.new(NsV13, "AdScheduleStatus")
218
227
  )
219
228
 
220
229
  EncodedRegistry.register(
221
- :class => AdWords::CampaignService::BudgetPeriod,
230
+ :class => AdWords::V13::CampaignService::BudgetPeriod,
222
231
  :schema_type => XSD::QName.new(NsV13, "BudgetPeriod")
223
232
  )
224
233
 
225
234
  EncodedRegistry.register(
226
- :class => AdWords::CampaignService::CampaignStatus,
235
+ :class => AdWords::V13::CampaignService::CampaignStatus,
227
236
  :schema_type => XSD::QName.new(NsV13, "CampaignStatus")
228
237
  )
229
238
 
230
239
  EncodedRegistry.register(
231
- :class => AdWords::CampaignService::ContentTargeting,
240
+ :class => AdWords::V13::CampaignService::ContentTargeting,
232
241
  :schema_type => XSD::QName.new(NsV13, "ContentTargeting")
233
242
  )
234
243
 
235
244
  EncodedRegistry.register(
236
- :class => AdWords::CampaignService::DayOfWeek,
245
+ :class => AdWords::V13::CampaignService::DayOfWeek,
237
246
  :schema_type => XSD::QName.new(NsV13, "DayOfWeek")
238
247
  )
239
248
 
240
249
  EncodedRegistry.register(
241
- :class => AdWords::CampaignService::NetworkType,
250
+ :class => AdWords::V13::CampaignService::NetworkType,
242
251
  :schema_type => XSD::QName.new(NsV13, "NetworkType")
243
252
  )
244
253
 
245
254
  LiteralRegistry.register(
246
- :class => AdWords::CampaignService::AdSchedule,
255
+ :class => AdWords::V13::CampaignService::AdSchedule,
247
256
  :schema_type => XSD::QName.new(NsV13, "AdSchedule"),
248
257
  :schema_element => [
249
- ["intervals", "AdWords::CampaignService::SchedulingInterval[]", [1, nil]],
250
- ["status", "AdWords::CampaignService::AdScheduleStatus"]
258
+ ["intervals", "AdWords::V13::CampaignService::SchedulingInterval[]", [1, nil]],
259
+ ["status", "AdWords::V13::CampaignService::AdScheduleStatus"]
251
260
  ]
252
261
  )
253
262
 
254
263
  LiteralRegistry.register(
255
- :class => AdWords::CampaignService::ApiError,
264
+ :class => AdWords::V13::CampaignService::ApiError,
256
265
  :schema_type => XSD::QName.new(NsV13, "ApiError"),
257
266
  :schema_element => [
258
267
  ["code", "SOAP::SOAPInt"],
@@ -267,11 +276,11 @@ module DefaultMappingRegistry
267
276
  )
268
277
 
269
278
  LiteralRegistry.register(
270
- :class => AdWords::CampaignService::ApiException,
279
+ :class => AdWords::V13::CampaignService::ApiException,
271
280
  :schema_type => XSD::QName.new(NsV13, "ApiException"),
272
281
  :schema_element => [
273
282
  ["code", "SOAP::SOAPInt"],
274
- ["errors", "AdWords::CampaignService::ApiError[]", [1, nil]],
283
+ ["errors", "AdWords::V13::CampaignService::ApiError[]", [1, nil]],
275
284
  ["internal", "SOAP::SOAPBoolean"],
276
285
  ["message", "SOAP::SOAPString"],
277
286
  ["trigger", "SOAP::SOAPString"]
@@ -279,7 +288,7 @@ module DefaultMappingRegistry
279
288
  )
280
289
 
281
290
  LiteralRegistry.register(
282
- :class => AdWords::CampaignService::BudgetOptimizerSettings,
291
+ :class => AdWords::V13::CampaignService::BudgetOptimizerSettings,
283
292
  :schema_type => XSD::QName.new(NsV13, "BudgetOptimizerSettings"),
284
293
  :schema_element => [
285
294
  ["bidCeiling", "SOAP::SOAPLong", [0, 1]],
@@ -289,37 +298,37 @@ module DefaultMappingRegistry
289
298
  )
290
299
 
291
300
  LiteralRegistry.register(
292
- :class => AdWords::CampaignService::Campaign,
301
+ :class => AdWords::V13::CampaignService::Campaign,
293
302
  :schema_type => XSD::QName.new(NsV13, "Campaign"),
294
303
  :schema_element => [
295
304
  ["budgetAmount", "SOAP::SOAPLong", [0, 1]],
296
- ["budgetOptimizerSettings", "AdWords::CampaignService::BudgetOptimizerSettings"],
297
- ["budgetPeriod", "AdWords::CampaignService::BudgetPeriod", [0, 1]],
298
- ["contentTargeting", "AdWords::CampaignService::ContentTargeting"],
299
- ["conversionOptimizerSettings", "AdWords::CampaignService::ConversionOptimizerSettings", [0, 1]],
305
+ ["budgetOptimizerSettings", "AdWords::V13::CampaignService::BudgetOptimizerSettings"],
306
+ ["budgetPeriod", "AdWords::V13::CampaignService::BudgetPeriod", [0, 1]],
307
+ ["contentTargeting", "AdWords::V13::CampaignService::ContentTargeting"],
308
+ ["conversionOptimizerSettings", "AdWords::V13::CampaignService::ConversionOptimizerSettings", [0, 1]],
300
309
  ["endDay", "SOAP::SOAPDate", [0, 1]],
301
- ["geoTargeting", "AdWords::CampaignService::GeoTarget"],
310
+ ["geoTargeting", "AdWords::V13::CampaignService::GeoTarget"],
302
311
  ["id", "SOAP::SOAPInt"],
303
- ["languageTargeting", "AdWords::CampaignService::LanguageTarget"],
312
+ ["languageTargeting", "AdWords::V13::CampaignService::LanguageTarget"],
304
313
  ["name", "SOAP::SOAPString"],
305
- ["networkTargeting", "AdWords::CampaignService::NetworkTarget"],
306
- ["schedule", "AdWords::CampaignService::AdSchedule"],
314
+ ["networkTargeting", "AdWords::V13::CampaignService::NetworkTarget"],
315
+ ["schedule", "AdWords::V13::CampaignService::AdSchedule"],
307
316
  ["startDay", "SOAP::SOAPDate", [0, 1]],
308
- ["status", "AdWords::CampaignService::CampaignStatus"]
317
+ ["status", "AdWords::V13::CampaignService::CampaignStatus"]
309
318
  ]
310
319
  )
311
320
 
312
321
  LiteralRegistry.register(
313
- :class => AdWords::CampaignService::CampaignBudget,
322
+ :class => AdWords::V13::CampaignService::CampaignBudget,
314
323
  :schema_type => XSD::QName.new(NsV13, "CampaignBudget"),
315
324
  :schema_element => [
316
325
  ["budgetAmount", "SOAP::SOAPLong", [0, 1]],
317
- ["budgetPeriod", "AdWords::CampaignService::BudgetPeriod", [0, 1]]
326
+ ["budgetPeriod", "AdWords::V13::CampaignService::BudgetPeriod", [0, 1]]
318
327
  ]
319
328
  )
320
329
 
321
330
  LiteralRegistry.register(
322
- :class => AdWords::CampaignService::Circle,
331
+ :class => AdWords::V13::CampaignService::Circle,
323
332
  :schema_type => XSD::QName.new(NsV13, "Circle"),
324
333
  :schema_element => [
325
334
  ["latitudeMicroDegrees", "SOAP::SOAPInt"],
@@ -329,7 +338,7 @@ module DefaultMappingRegistry
329
338
  )
330
339
 
331
340
  LiteralRegistry.register(
332
- :class => AdWords::CampaignService::CityTargets,
341
+ :class => AdWords::V13::CampaignService::CityTargets,
333
342
  :schema_type => XSD::QName.new(NsV13, "CityTargets"),
334
343
  :schema_element => [
335
344
  ["cities", "SOAP::SOAPString[]", [0, nil]],
@@ -338,7 +347,7 @@ module DefaultMappingRegistry
338
347
  )
339
348
 
340
349
  LiteralRegistry.register(
341
- :class => AdWords::CampaignService::ConversionOptimizerEligibility,
350
+ :class => AdWords::V13::CampaignService::ConversionOptimizerEligibility,
342
351
  :schema_type => XSD::QName.new(NsV13, "ConversionOptimizerEligibility"),
343
352
  :schema_element => [
344
353
  ["campaignId", "SOAP::SOAPInt"],
@@ -347,7 +356,7 @@ module DefaultMappingRegistry
347
356
  )
348
357
 
349
358
  LiteralRegistry.register(
350
- :class => AdWords::CampaignService::ConversionOptimizerSettings,
359
+ :class => AdWords::V13::CampaignService::ConversionOptimizerSettings,
351
360
  :schema_type => XSD::QName.new(NsV13, "ConversionOptimizerSettings"),
352
361
  :schema_element => [
353
362
  ["enabled", "SOAP::SOAPBoolean", [0, 1]],
@@ -356,7 +365,7 @@ module DefaultMappingRegistry
356
365
  )
357
366
 
358
367
  LiteralRegistry.register(
359
- :class => AdWords::CampaignService::CountryTargets,
368
+ :class => AdWords::V13::CampaignService::CountryTargets,
360
369
  :schema_type => XSD::QName.new(NsV13, "CountryTargets"),
361
370
  :schema_element => [
362
371
  ["countries", "SOAP::SOAPString[]", [0, nil]],
@@ -365,20 +374,20 @@ module DefaultMappingRegistry
365
374
  )
366
375
 
367
376
  LiteralRegistry.register(
368
- :class => AdWords::CampaignService::GeoTarget,
377
+ :class => AdWords::V13::CampaignService::GeoTarget,
369
378
  :schema_type => XSD::QName.new(NsV13, "GeoTarget"),
370
379
  :schema_element => [
371
- ["cityTargets", "AdWords::CampaignService::CityTargets", [0, 1]],
372
- ["countryTargets", "AdWords::CampaignService::CountryTargets", [0, 1]],
373
- ["metroTargets", "AdWords::CampaignService::MetroTargets", [0, 1]],
374
- ["proximityTargets", "AdWords::CampaignService::ProximityTargets", [0, 1]],
375
- ["regionTargets", "AdWords::CampaignService::RegionTargets", [0, 1]],
380
+ ["cityTargets", "AdWords::V13::CampaignService::CityTargets", [0, 1]],
381
+ ["countryTargets", "AdWords::V13::CampaignService::CountryTargets", [0, 1]],
382
+ ["metroTargets", "AdWords::V13::CampaignService::MetroTargets", [0, 1]],
383
+ ["proximityTargets", "AdWords::V13::CampaignService::ProximityTargets", [0, 1]],
384
+ ["regionTargets", "AdWords::V13::CampaignService::RegionTargets", [0, 1]],
376
385
  ["targetAll", "SOAP::SOAPBoolean"]
377
386
  ]
378
387
  )
379
388
 
380
389
  LiteralRegistry.register(
381
- :class => AdWords::CampaignService::LanguageTarget,
390
+ :class => AdWords::V13::CampaignService::LanguageTarget,
382
391
  :schema_type => XSD::QName.new(NsV13, "LanguageTarget"),
383
392
  :schema_element => [
384
393
  ["languages", "SOAP::SOAPString[]", [1, nil]]
@@ -386,7 +395,7 @@ module DefaultMappingRegistry
386
395
  )
387
396
 
388
397
  LiteralRegistry.register(
389
- :class => AdWords::CampaignService::MetroTargets,
398
+ :class => AdWords::V13::CampaignService::MetroTargets,
390
399
  :schema_type => XSD::QName.new(NsV13, "MetroTargets"),
391
400
  :schema_element => [
392
401
  ["excludedMetros", "SOAP::SOAPString[]", [0, nil]],
@@ -395,23 +404,32 @@ module DefaultMappingRegistry
395
404
  )
396
405
 
397
406
  LiteralRegistry.register(
398
- :class => AdWords::CampaignService::NetworkTarget,
407
+ :class => AdWords::V13::CampaignService::NetworkTarget,
399
408
  :schema_type => XSD::QName.new(NsV13, "NetworkTarget"),
400
409
  :schema_element => [
401
- ["networkTypes", "AdWords::CampaignService::NetworkType[]", [0, nil]]
410
+ ["networkTypes", "AdWords::V13::CampaignService::NetworkType[]", [0, nil]]
402
411
  ]
403
412
  )
404
413
 
405
414
  LiteralRegistry.register(
406
- :class => AdWords::CampaignService::ProximityTargets,
415
+ :class => AdWords::V13::CampaignService::ProximityTargets,
407
416
  :schema_type => XSD::QName.new(NsV13, "ProximityTargets"),
408
417
  :schema_element => [
409
- ["circles", "AdWords::CampaignService::Circle[]", [1, nil]]
418
+ ["circles", "AdWords::V13::CampaignService::Circle[]", [1, nil]]
419
+ ]
420
+ )
421
+
422
+ LiteralRegistry.register(
423
+ :class => AdWords::V13::CampaignService::RecommendedBudget,
424
+ :schema_type => XSD::QName.new(NsV13, "RecommendedBudget"),
425
+ :schema_element => [
426
+ ["budget", "AdWords::V13::CampaignService::CampaignBudget"],
427
+ ["campaignId", "SOAP::SOAPInt"]
410
428
  ]
411
429
  )
412
430
 
413
431
  LiteralRegistry.register(
414
- :class => AdWords::CampaignService::RegionTargets,
432
+ :class => AdWords::V13::CampaignService::RegionTargets,
415
433
  :schema_type => XSD::QName.new(NsV13, "RegionTargets"),
416
434
  :schema_element => [
417
435
  ["excludedRegions", "SOAP::SOAPString[]", [0, nil]],
@@ -420,10 +438,10 @@ module DefaultMappingRegistry
420
438
  )
421
439
 
422
440
  LiteralRegistry.register(
423
- :class => AdWords::CampaignService::SchedulingInterval,
441
+ :class => AdWords::V13::CampaignService::SchedulingInterval,
424
442
  :schema_type => XSD::QName.new(NsV13, "SchedulingInterval"),
425
443
  :schema_element => [
426
- ["day", "AdWords::CampaignService::DayOfWeek"],
444
+ ["day", "AdWords::V13::CampaignService::DayOfWeek"],
427
445
  ["endHour", "SOAP::SOAPInt"],
428
446
  ["endMinute", "SOAP::SOAPInt"],
429
447
  ["multiplier", "SOAP::SOAPDouble"],
@@ -433,7 +451,7 @@ module DefaultMappingRegistry
433
451
  )
434
452
 
435
453
  LiteralRegistry.register(
436
- :class => AdWords::CampaignService::StatsRecord,
454
+ :class => AdWords::V13::CampaignService::StatsRecord,
437
455
  :schema_type => XSD::QName.new(NsV13, "StatsRecord"),
438
456
  :schema_element => [
439
457
  ["averagePosition", "SOAP::SOAPDouble"],
@@ -447,73 +465,73 @@ module DefaultMappingRegistry
447
465
  )
448
466
 
449
467
  LiteralRegistry.register(
450
- :class => AdWords::CampaignService::AdScheduleStatus,
468
+ :class => AdWords::V13::CampaignService::AdScheduleStatus,
451
469
  :schema_type => XSD::QName.new(NsV13, "AdScheduleStatus")
452
470
  )
453
471
 
454
472
  LiteralRegistry.register(
455
- :class => AdWords::CampaignService::BudgetPeriod,
473
+ :class => AdWords::V13::CampaignService::BudgetPeriod,
456
474
  :schema_type => XSD::QName.new(NsV13, "BudgetPeriod")
457
475
  )
458
476
 
459
477
  LiteralRegistry.register(
460
- :class => AdWords::CampaignService::CampaignStatus,
478
+ :class => AdWords::V13::CampaignService::CampaignStatus,
461
479
  :schema_type => XSD::QName.new(NsV13, "CampaignStatus")
462
480
  )
463
481
 
464
482
  LiteralRegistry.register(
465
- :class => AdWords::CampaignService::ContentTargeting,
483
+ :class => AdWords::V13::CampaignService::ContentTargeting,
466
484
  :schema_type => XSD::QName.new(NsV13, "ContentTargeting")
467
485
  )
468
486
 
469
487
  LiteralRegistry.register(
470
- :class => AdWords::CampaignService::DayOfWeek,
488
+ :class => AdWords::V13::CampaignService::DayOfWeek,
471
489
  :schema_type => XSD::QName.new(NsV13, "DayOfWeek")
472
490
  )
473
491
 
474
492
  LiteralRegistry.register(
475
- :class => AdWords::CampaignService::NetworkType,
493
+ :class => AdWords::V13::CampaignService::NetworkType,
476
494
  :schema_type => XSD::QName.new(NsV13, "NetworkType")
477
495
  )
478
496
 
479
497
  LiteralRegistry.register(
480
- :class => AdWords::CampaignService::AddCampaign,
498
+ :class => AdWords::V13::CampaignService::AddCampaign,
481
499
  :schema_name => XSD::QName.new(NsV13, "addCampaign"),
482
500
  :schema_element => [
483
- ["campaign", "AdWords::CampaignService::Campaign"]
501
+ ["campaign", "AdWords::V13::CampaignService::Campaign"]
484
502
  ]
485
503
  )
486
504
 
487
505
  LiteralRegistry.register(
488
- :class => AdWords::CampaignService::AddCampaignList,
506
+ :class => AdWords::V13::CampaignService::AddCampaignList,
489
507
  :schema_name => XSD::QName.new(NsV13, "addCampaignList"),
490
508
  :schema_element => [
491
- ["campaigns", "AdWords::CampaignService::Campaign[]", [1, nil]]
509
+ ["campaigns", "AdWords::V13::CampaignService::Campaign[]", [1, nil]]
492
510
  ]
493
511
  )
494
512
 
495
513
  LiteralRegistry.register(
496
- :class => AdWords::CampaignService::AddCampaignListResponse,
514
+ :class => AdWords::V13::CampaignService::AddCampaignListResponse,
497
515
  :schema_name => XSD::QName.new(NsV13, "addCampaignListResponse"),
498
516
  :schema_element => [
499
- ["addCampaignListReturn", "AdWords::CampaignService::Campaign[]", [1, nil]]
517
+ ["addCampaignListReturn", "AdWords::V13::CampaignService::Campaign[]", [1, nil]]
500
518
  ]
501
519
  )
502
520
 
503
521
  LiteralRegistry.register(
504
- :class => AdWords::CampaignService::AddCampaignResponse,
522
+ :class => AdWords::V13::CampaignService::AddCampaignResponse,
505
523
  :schema_name => XSD::QName.new(NsV13, "addCampaignResponse"),
506
524
  :schema_element => [
507
- ["addCampaignReturn", "AdWords::CampaignService::Campaign"]
525
+ ["addCampaignReturn", "AdWords::V13::CampaignService::Campaign"]
508
526
  ]
509
527
  )
510
528
 
511
529
  LiteralRegistry.register(
512
- :class => AdWords::CampaignService::ApiException,
530
+ :class => AdWords::V13::CampaignService::ApiException,
513
531
  :schema_name => XSD::QName.new(NsV13, "fault"),
514
532
  :schema_element => [
515
533
  ["code", "SOAP::SOAPInt"],
516
- ["errors", "AdWords::CampaignService::ApiError[]", [1, nil]],
534
+ ["errors", "AdWords::V13::CampaignService::ApiError[]", [1, nil]],
517
535
  ["internal", "SOAP::SOAPBoolean"],
518
536
  ["message", "SOAP::SOAPString"],
519
537
  ["trigger", "SOAP::SOAPString"]
@@ -521,21 +539,21 @@ module DefaultMappingRegistry
521
539
  )
522
540
 
523
541
  LiteralRegistry.register(
524
- :class => AdWords::CampaignService::GetActiveAdWordsCampaigns,
542
+ :class => AdWords::V13::CampaignService::GetActiveAdWordsCampaigns,
525
543
  :schema_name => XSD::QName.new(NsV13, "getActiveAdWordsCampaigns"),
526
544
  :schema_element => []
527
545
  )
528
546
 
529
547
  LiteralRegistry.register(
530
- :class => AdWords::CampaignService::GetActiveAdWordsCampaignsResponse,
548
+ :class => AdWords::V13::CampaignService::GetActiveAdWordsCampaignsResponse,
531
549
  :schema_name => XSD::QName.new(NsV13, "getActiveAdWordsCampaignsResponse"),
532
550
  :schema_element => [
533
- ["getActiveAdWordsCampaignsReturn", "AdWords::CampaignService::Campaign[]", [1, nil]]
551
+ ["getActiveAdWordsCampaignsReturn", "AdWords::V13::CampaignService::Campaign[]", [1, nil]]
534
552
  ]
535
553
  )
536
554
 
537
555
  LiteralRegistry.register(
538
- :class => AdWords::CampaignService::GetAllAdWordsCampaigns,
556
+ :class => AdWords::V13::CampaignService::GetAllAdWordsCampaigns,
539
557
  :schema_name => XSD::QName.new(NsV13, "getAllAdWordsCampaigns"),
540
558
  :schema_element => [
541
559
  ["dummy", "SOAP::SOAPInt"]
@@ -543,15 +561,15 @@ module DefaultMappingRegistry
543
561
  )
544
562
 
545
563
  LiteralRegistry.register(
546
- :class => AdWords::CampaignService::GetAllAdWordsCampaignsResponse,
564
+ :class => AdWords::V13::CampaignService::GetAllAdWordsCampaignsResponse,
547
565
  :schema_name => XSD::QName.new(NsV13, "getAllAdWordsCampaignsResponse"),
548
566
  :schema_element => [
549
- ["getAllAdWordsCampaignsReturn", "AdWords::CampaignService::Campaign[]", [1, nil]]
567
+ ["getAllAdWordsCampaignsReturn", "AdWords::V13::CampaignService::Campaign[]", [1, nil]]
550
568
  ]
551
569
  )
552
570
 
553
571
  LiteralRegistry.register(
554
- :class => AdWords::CampaignService::GetCampaign,
572
+ :class => AdWords::V13::CampaignService::GetCampaign,
555
573
  :schema_name => XSD::QName.new(NsV13, "getCampaign"),
556
574
  :schema_element => [
557
575
  ["id", "SOAP::SOAPInt"]
@@ -559,7 +577,7 @@ module DefaultMappingRegistry
559
577
  )
560
578
 
561
579
  LiteralRegistry.register(
562
- :class => AdWords::CampaignService::GetCampaignList,
580
+ :class => AdWords::V13::CampaignService::GetCampaignList,
563
581
  :schema_name => XSD::QName.new(NsV13, "getCampaignList"),
564
582
  :schema_element => [
565
583
  ["ids", "SOAP::SOAPInt[]", [1, nil]]
@@ -567,23 +585,23 @@ module DefaultMappingRegistry
567
585
  )
568
586
 
569
587
  LiteralRegistry.register(
570
- :class => AdWords::CampaignService::GetCampaignListResponse,
588
+ :class => AdWords::V13::CampaignService::GetCampaignListResponse,
571
589
  :schema_name => XSD::QName.new(NsV13, "getCampaignListResponse"),
572
590
  :schema_element => [
573
- ["getCampaignListReturn", "AdWords::CampaignService::Campaign[]", [1, nil]]
591
+ ["getCampaignListReturn", "AdWords::V13::CampaignService::Campaign[]", [1, nil]]
574
592
  ]
575
593
  )
576
594
 
577
595
  LiteralRegistry.register(
578
- :class => AdWords::CampaignService::GetCampaignResponse,
596
+ :class => AdWords::V13::CampaignService::GetCampaignResponse,
579
597
  :schema_name => XSD::QName.new(NsV13, "getCampaignResponse"),
580
598
  :schema_element => [
581
- ["getCampaignReturn", "AdWords::CampaignService::Campaign"]
599
+ ["getCampaignReturn", "AdWords::V13::CampaignService::Campaign"]
582
600
  ]
583
601
  )
584
602
 
585
603
  LiteralRegistry.register(
586
- :class => AdWords::CampaignService::GetCampaignStats,
604
+ :class => AdWords::V13::CampaignService::GetCampaignStats,
587
605
  :schema_name => XSD::QName.new(NsV13, "getCampaignStats"),
588
606
  :schema_element => [
589
607
  ["campaignIds", "SOAP::SOAPInt[]", [1, nil]],
@@ -593,15 +611,15 @@ module DefaultMappingRegistry
593
611
  )
594
612
 
595
613
  LiteralRegistry.register(
596
- :class => AdWords::CampaignService::GetCampaignStatsResponse,
614
+ :class => AdWords::V13::CampaignService::GetCampaignStatsResponse,
597
615
  :schema_name => XSD::QName.new(NsV13, "getCampaignStatsResponse"),
598
616
  :schema_element => [
599
- ["getCampaignStatsReturn", "AdWords::CampaignService::StatsRecord[]", [1, nil]]
617
+ ["getCampaignStatsReturn", "AdWords::V13::CampaignService::StatsRecord[]", [1, nil]]
600
618
  ]
601
619
  )
602
620
 
603
621
  LiteralRegistry.register(
604
- :class => AdWords::CampaignService::GetConversionOptimizerEligibility,
622
+ :class => AdWords::V13::CampaignService::GetConversionOptimizerEligibility,
605
623
  :schema_name => XSD::QName.new(NsV13, "getConversionOptimizerEligibility"),
606
624
  :schema_element => [
607
625
  ["campaignIds", "SOAP::SOAPInt[]", [1, nil]]
@@ -609,15 +627,15 @@ module DefaultMappingRegistry
609
627
  )
610
628
 
611
629
  LiteralRegistry.register(
612
- :class => AdWords::CampaignService::GetConversionOptimizerEligibilityResponse,
630
+ :class => AdWords::V13::CampaignService::GetConversionOptimizerEligibilityResponse,
613
631
  :schema_name => XSD::QName.new(NsV13, "getConversionOptimizerEligibilityResponse"),
614
632
  :schema_element => [
615
- ["getConversionOptimizerEligibilityReturn", "AdWords::CampaignService::ConversionOptimizerEligibility[]", [1, nil]]
633
+ ["getConversionOptimizerEligibilityReturn", "AdWords::V13::CampaignService::ConversionOptimizerEligibility[]", [1, nil]]
616
634
  ]
617
635
  )
618
636
 
619
637
  LiteralRegistry.register(
620
- :class => AdWords::CampaignService::GetOptimizeAdServing,
638
+ :class => AdWords::V13::CampaignService::GetOptimizeAdServing,
621
639
  :schema_name => XSD::QName.new(NsV13, "getOptimizeAdServing"),
622
640
  :schema_element => [
623
641
  ["campaignId", "SOAP::SOAPInt"]
@@ -625,7 +643,7 @@ module DefaultMappingRegistry
625
643
  )
626
644
 
627
645
  LiteralRegistry.register(
628
- :class => AdWords::CampaignService::GetOptimizeAdServingResponse,
646
+ :class => AdWords::V13::CampaignService::GetOptimizeAdServingResponse,
629
647
  :schema_name => XSD::QName.new(NsV13, "getOptimizeAdServingResponse"),
630
648
  :schema_element => [
631
649
  ["getOptimizeAdServingReturn", "SOAP::SOAPBoolean"]
@@ -633,7 +651,7 @@ module DefaultMappingRegistry
633
651
  )
634
652
 
635
653
  LiteralRegistry.register(
636
- :class => AdWords::CampaignService::GetRecommendedBudgetList,
654
+ :class => AdWords::V13::CampaignService::GetRecommendedBudgetList,
637
655
  :schema_name => XSD::QName.new(NsV13, "getRecommendedBudgetList"),
638
656
  :schema_element => [
639
657
  ["campaignIds", "SOAP::SOAPInt[]", [1, nil]]
@@ -641,15 +659,31 @@ module DefaultMappingRegistry
641
659
  )
642
660
 
643
661
  LiteralRegistry.register(
644
- :class => AdWords::CampaignService::GetRecommendedBudgetListResponse,
662
+ :class => AdWords::V13::CampaignService::GetRecommendedBudgetListResponse,
645
663
  :schema_name => XSD::QName.new(NsV13, "getRecommendedBudgetListResponse"),
646
664
  :schema_element => [
647
- ["getRecommendedBudgetListReturn", "AdWords::CampaignService::CampaignBudget[]", [1, nil]]
665
+ ["getRecommendedBudgetListReturn", "AdWords::V13::CampaignService::CampaignBudget[]", [1, nil]]
666
+ ]
667
+ )
668
+
669
+ LiteralRegistry.register(
670
+ :class => AdWords::V13::CampaignService::GetRecommendedBudgets,
671
+ :schema_name => XSD::QName.new(NsV13, "getRecommendedBudgets"),
672
+ :schema_element => [
673
+ ["campaignIds", "SOAP::SOAPInt[]", [1, nil]]
674
+ ]
675
+ )
676
+
677
+ LiteralRegistry.register(
678
+ :class => AdWords::V13::CampaignService::GetRecommendedBudgetsResponse,
679
+ :schema_name => XSD::QName.new(NsV13, "getRecommendedBudgetsResponse"),
680
+ :schema_element => [
681
+ ["getRecommendedBudgetsReturn", "AdWords::V13::CampaignService::RecommendedBudget[]", [1, nil]]
648
682
  ]
649
683
  )
650
684
 
651
685
  LiteralRegistry.register(
652
- :class => AdWords::CampaignService::SetOptimizeAdServing,
686
+ :class => AdWords::V13::CampaignService::SetOptimizeAdServing,
653
687
  :schema_name => XSD::QName.new(NsV13, "setOptimizeAdServing"),
654
688
  :schema_element => [
655
689
  ["campaignId", "SOAP::SOAPInt"],
@@ -658,39 +692,39 @@ module DefaultMappingRegistry
658
692
  )
659
693
 
660
694
  LiteralRegistry.register(
661
- :class => AdWords::CampaignService::SetOptimizeAdServingResponse,
695
+ :class => AdWords::V13::CampaignService::SetOptimizeAdServingResponse,
662
696
  :schema_name => XSD::QName.new(NsV13, "setOptimizeAdServingResponse"),
663
697
  :schema_element => []
664
698
  )
665
699
 
666
700
  LiteralRegistry.register(
667
- :class => AdWords::CampaignService::UpdateCampaign,
701
+ :class => AdWords::V13::CampaignService::UpdateCampaign,
668
702
  :schema_name => XSD::QName.new(NsV13, "updateCampaign"),
669
703
  :schema_element => [
670
- ["campaign", "AdWords::CampaignService::Campaign"]
704
+ ["campaign", "AdWords::V13::CampaignService::Campaign"]
671
705
  ]
672
706
  )
673
707
 
674
708
  LiteralRegistry.register(
675
- :class => AdWords::CampaignService::UpdateCampaignList,
709
+ :class => AdWords::V13::CampaignService::UpdateCampaignList,
676
710
  :schema_name => XSD::QName.new(NsV13, "updateCampaignList"),
677
711
  :schema_element => [
678
- ["campaigns", "AdWords::CampaignService::Campaign[]", [1, nil]]
712
+ ["campaigns", "AdWords::V13::CampaignService::Campaign[]", [1, nil]]
679
713
  ]
680
714
  )
681
715
 
682
716
  LiteralRegistry.register(
683
- :class => AdWords::CampaignService::UpdateCampaignListResponse,
717
+ :class => AdWords::V13::CampaignService::UpdateCampaignListResponse,
684
718
  :schema_name => XSD::QName.new(NsV13, "updateCampaignListResponse"),
685
719
  :schema_element => []
686
720
  )
687
721
 
688
722
  LiteralRegistry.register(
689
- :class => AdWords::CampaignService::UpdateCampaignResponse,
723
+ :class => AdWords::V13::CampaignService::UpdateCampaignResponse,
690
724
  :schema_name => XSD::QName.new(NsV13, "updateCampaignResponse"),
691
725
  :schema_element => []
692
726
  )
693
727
 
694
728
  end
695
729
 
696
- end; end
730
+ end; end; end