adwords4r 11.1.0 → 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/ChangeLog.txt +4 -0
  2. data/Rakefile +76 -70
  3. data/examples/campaign.rb +40 -0
  4. data/examples/{old/framework.rb → framework.rb} +0 -0
  5. data/examples/{old/get_free_usage_this_month.rb → get_free_usage_this_month.rb} +8 -6
  6. data/examples/get_unit_count.rb +21 -0
  7. data/examples/keyword_suggestions.rb +179 -0
  8. data/examples/keyword_tool_demo.rb +31 -0
  9. data/examples/reports.rb +6 -6
  10. data/examples/traffic_estimator.rb +34 -0
  11. data/lib/adwords4r.rb +26 -19
  12. data/lib/adwords4r/credentials.rb +4 -2
  13. data/lib/adwords4r/services.rb +4 -2
  14. data/lib/adwords4r/v11/AccountServiceDriver.rb +3 -3
  15. data/lib/adwords4r/v11/AdGroupServiceDriver.rb +8 -8
  16. data/lib/adwords4r/v11/AdServiceDriver.rb +10 -10
  17. data/lib/adwords4r/v11/CampaignServiceDriver.rb +10 -10
  18. data/lib/adwords4r/v11/CriterionServiceDriver.rb +9 -9
  19. data/lib/adwords4r/v11/InfoServiceDriver.rb +8 -8
  20. data/lib/adwords4r/v11/KeywordToolServiceDriver.rb +2 -2
  21. data/lib/adwords4r/v11/ReportServiceDriver.rb +7 -7
  22. data/lib/adwords4r/v11/SiteSuggestionServiceDriver.rb +4 -4
  23. data/lib/adwords4r/v11/TrafficEstimatorServiceDriver.rb +4 -4
  24. data/lib/adwords4r/{v10 → v12}/AccountService.rb +13 -32
  25. data/lib/adwords4r/{v10 → v12}/AccountServiceDriver.rb +12 -20
  26. data/lib/adwords4r/{v10 → v12}/AccountServiceMappingRegistry.rb +23 -38
  27. data/lib/adwords4r/{v10 → v12}/AdGroupService.rb +43 -37
  28. data/lib/adwords4r/{v10 → v12}/AdGroupServiceDriver.rb +27 -27
  29. data/lib/adwords4r/{v10 → v12}/AdGroupServiceMappingRegistry.rb +46 -42
  30. data/lib/adwords4r/{v10 → v12}/AdService.rb +68 -56
  31. data/lib/adwords4r/{v10 → v12}/AdServiceDriver.rb +33 -33
  32. data/lib/adwords4r/{v10 → v12}/AdServiceMappingRegistry.rb +113 -105
  33. data/lib/adwords4r/{v10 → v12}/CampaignService.rb +99 -44
  34. data/lib/adwords4r/{v10 → v12}/CampaignServiceDriver.rb +41 -33
  35. data/lib/adwords4r/{v10 → v12}/CampaignServiceMappingRegistry.rb +143 -65
  36. data/lib/adwords4r/{v10 → v12}/CriterionService.rb +46 -43
  37. data/lib/adwords4r/{v10 → v12}/CriterionServiceDriver.rb +30 -30
  38. data/lib/adwords4r/{v10 → v12}/CriterionServiceMappingRegistry.rb +67 -65
  39. data/lib/adwords4r/{v10 → v12}/InfoService.rb +19 -19
  40. data/lib/adwords4r/{v10 → v12}/InfoServiceDriver.rb +27 -27
  41. data/lib/adwords4r/{v10 → v12}/InfoServiceMappingRegistry.rb +25 -25
  42. data/lib/adwords4r/{v10 → v12}/KeywordToolService.rb +12 -12
  43. data/lib/adwords4r/{v10 → v12}/KeywordToolServiceDriver.rb +9 -9
  44. data/lib/adwords4r/{v10 → v12}/KeywordToolServiceMappingRegistry.rb +23 -23
  45. data/lib/adwords4r/v12/ReportService.rb +322 -0
  46. data/lib/adwords4r/{v10 → v12}/ReportServiceDriver.rb +29 -21
  47. data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +298 -0
  48. data/lib/adwords4r/{v10 → v12}/SiteSuggestionService.rb +18 -18
  49. data/lib/adwords4r/{v10 → v12}/SiteSuggestionServiceDriver.rb +15 -15
  50. data/lib/adwords4r/{v10 → v12}/SiteSuggestionServiceMappingRegistry.rb +45 -45
  51. data/lib/adwords4r/{v10 → v12}/TrafficEstimatorService.rb +29 -29
  52. data/lib/adwords4r/{v10 → v12}/TrafficEstimatorServiceDriver.rb +15 -15
  53. data/lib/adwords4r/{v10 → v12}/TrafficEstimatorServiceMappingRegistry.rb +55 -55
  54. data/svn-commit.2.tmp +60 -0
  55. data/svn-commit.tmp +60 -0
  56. metadata +41 -38
  57. data/examples/old/campaign.rb +0 -40
  58. data/examples/old/get_unit_count.rb +0 -21
  59. data/examples/old/keyword_tool_demo.rb +0 -30
  60. data/examples/old/traffic_estimator.rb +0 -34
  61. data/lib/adwords4r/v10/ReportService.rb +0 -652
  62. data/lib/adwords4r/v10/ReportServiceMappingRegistry.rb +0 -559
@@ -3,7 +3,7 @@ require 'xsd/qname'
3
3
  module AdWords; module CampaignService
4
4
 
5
5
 
6
- # {https://adwords.google.com/api/adwords/v10}AdSchedule
6
+ # {https://adwords.google.com/api/adwords/v12}AdSchedule
7
7
  # intervals - AdWords::CampaignService::SchedulingInterval
8
8
  # status - AdWords::CampaignService::AdScheduleStatus
9
9
  class AdSchedule
@@ -16,7 +16,7 @@ class AdSchedule
16
16
  end
17
17
  end
18
18
 
19
- # {https://adwords.google.com/api/adwords/v10}ApiError
19
+ # {https://adwords.google.com/api/adwords/v12}ApiError
20
20
  # code - SOAP::SOAPInt
21
21
  # detail - SOAP::SOAPString
22
22
  # field - SOAP::SOAPString
@@ -47,7 +47,7 @@ class ApiError
47
47
  end
48
48
  end
49
49
 
50
- # {https://adwords.google.com/api/adwords/v10}ApiException
50
+ # {https://adwords.google.com/api/adwords/v12}ApiException
51
51
  # code - SOAP::SOAPInt
52
52
  # errors - AdWords::CampaignService::ApiError
53
53
  # internal - SOAP::SOAPBoolean
@@ -69,7 +69,7 @@ class ApiException
69
69
  end
70
70
  end
71
71
 
72
- # {https://adwords.google.com/api/adwords/v10}BudgetOptimizerSettings
72
+ # {https://adwords.google.com/api/adwords/v12}BudgetOptimizerSettings
73
73
  # bidCeiling - SOAP::SOAPLong
74
74
  # enabled - SOAP::SOAPBoolean
75
75
  # takeOnOptimizedBids - SOAP::SOAPBoolean
@@ -85,9 +85,12 @@ class BudgetOptimizerSettings
85
85
  end
86
86
  end
87
87
 
88
- # {https://adwords.google.com/api/adwords/v10}Campaign
88
+ # {https://adwords.google.com/api/adwords/v12}Campaign
89
+ # budgetAmount - SOAP::SOAPLong
89
90
  # budgetOptimizerSettings - AdWords::CampaignService::BudgetOptimizerSettings
90
- # dailyBudget - SOAP::SOAPLong
91
+ # budgetPeriod - AdWords::CampaignService::BudgetPeriod
92
+ # contentTargeting - AdWords::CampaignService::ContentTargeting
93
+ # conversionOptimizerSettings - AdWords::CampaignService::ConversionOptimizerSettings
91
94
  # enableSeparateContentBids - SOAP::SOAPBoolean
92
95
  # endDay - SOAP::SOAPDate
93
96
  # geoTargeting - AdWords::CampaignService::GeoTarget
@@ -99,8 +102,11 @@ end
99
102
  # startDay - SOAP::SOAPDate
100
103
  # status - AdWords::CampaignService::CampaignStatus
101
104
  class Campaign
105
+ attr_accessor :budgetAmount
102
106
  attr_accessor :budgetOptimizerSettings
103
- attr_accessor :dailyBudget
107
+ attr_accessor :budgetPeriod
108
+ attr_accessor :contentTargeting
109
+ attr_accessor :conversionOptimizerSettings
104
110
  attr_accessor :enableSeparateContentBids
105
111
  attr_accessor :endDay
106
112
  attr_accessor :geoTargeting
@@ -112,9 +118,12 @@ class Campaign
112
118
  attr_accessor :startDay
113
119
  attr_accessor :status
114
120
 
115
- def initialize(budgetOptimizerSettings = nil, dailyBudget = nil, enableSeparateContentBids = nil, endDay = nil, geoTargeting = nil, id = nil, languageTargeting = nil, name = nil, networkTargeting = nil, schedule = nil, startDay = nil, status = nil)
121
+ def initialize(budgetAmount = nil, budgetOptimizerSettings = nil, budgetPeriod = nil, contentTargeting = nil, conversionOptimizerSettings = nil, enableSeparateContentBids = nil, endDay = nil, geoTargeting = nil, id = nil, languageTargeting = nil, name = nil, networkTargeting = nil, schedule = nil, startDay = nil, status = nil)
122
+ @budgetAmount = budgetAmount
116
123
  @budgetOptimizerSettings = budgetOptimizerSettings
117
- @dailyBudget = dailyBudget
124
+ @budgetPeriod = budgetPeriod
125
+ @contentTargeting = contentTargeting
126
+ @conversionOptimizerSettings = conversionOptimizerSettings
118
127
  @enableSeparateContentBids = enableSeparateContentBids
119
128
  @endDay = endDay
120
129
  @geoTargeting = geoTargeting
@@ -128,7 +137,7 @@ class Campaign
128
137
  end
129
138
  end
130
139
 
131
- # {https://adwords.google.com/api/adwords/v10}Circle
140
+ # {https://adwords.google.com/api/adwords/v12}Circle
132
141
  # latitudeMicroDegrees - SOAP::SOAPInt
133
142
  # longitudeMicroDegrees - SOAP::SOAPInt
134
143
  # radiusMeters - SOAP::SOAPInt
@@ -144,15 +153,41 @@ class Circle
144
153
  end
145
154
  end
146
155
 
147
- # {https://adwords.google.com/api/adwords/v10}CityTargets
156
+ # {https://adwords.google.com/api/adwords/v12}CityTargets
148
157
  class CityTargets < ::Array
149
158
  end
150
159
 
151
- # {https://adwords.google.com/api/adwords/v10}CountryTargets
160
+ # {https://adwords.google.com/api/adwords/v12}ConversionOptimizerEligibility
161
+ # campaignId - SOAP::SOAPInt
162
+ # eligibleToSwitchOn - SOAP::SOAPBoolean
163
+ class ConversionOptimizerEligibility
164
+ attr_accessor :campaignId
165
+ attr_accessor :eligibleToSwitchOn
166
+
167
+ def initialize(campaignId = nil, eligibleToSwitchOn = nil)
168
+ @campaignId = campaignId
169
+ @eligibleToSwitchOn = eligibleToSwitchOn
170
+ end
171
+ end
172
+
173
+ # {https://adwords.google.com/api/adwords/v12}ConversionOptimizerSettings
174
+ # enabled - SOAP::SOAPBoolean
175
+ # maxCpaBidForAllAdGroups - SOAP::SOAPLong
176
+ class ConversionOptimizerSettings
177
+ attr_accessor :enabled
178
+ attr_accessor :maxCpaBidForAllAdGroups
179
+
180
+ def initialize(enabled = nil, maxCpaBidForAllAdGroups = nil)
181
+ @enabled = enabled
182
+ @maxCpaBidForAllAdGroups = maxCpaBidForAllAdGroups
183
+ end
184
+ end
185
+
186
+ # {https://adwords.google.com/api/adwords/v12}CountryTargets
152
187
  class CountryTargets < ::Array
153
188
  end
154
189
 
155
- # {https://adwords.google.com/api/adwords/v10}GeoTarget
190
+ # {https://adwords.google.com/api/adwords/v12}GeoTarget
156
191
  # cityTargets - AdWords::CampaignService::CityTargets
157
192
  # countryTargets - AdWords::CampaignService::CountryTargets
158
193
  # metroTargets - AdWords::CampaignService::MetroTargets
@@ -177,27 +212,27 @@ class GeoTarget
177
212
  end
178
213
  end
179
214
 
180
- # {https://adwords.google.com/api/adwords/v10}LanguageTarget
215
+ # {https://adwords.google.com/api/adwords/v12}LanguageTarget
181
216
  class LanguageTarget < ::Array
182
217
  end
183
218
 
184
- # {https://adwords.google.com/api/adwords/v10}MetroTargets
219
+ # {https://adwords.google.com/api/adwords/v12}MetroTargets
185
220
  class MetroTargets < ::Array
186
221
  end
187
222
 
188
- # {https://adwords.google.com/api/adwords/v10}NetworkTarget
223
+ # {https://adwords.google.com/api/adwords/v12}NetworkTarget
189
224
  class NetworkTarget < ::Array
190
225
  end
191
226
 
192
- # {https://adwords.google.com/api/adwords/v10}ProximityTargets
227
+ # {https://adwords.google.com/api/adwords/v12}ProximityTargets
193
228
  class ProximityTargets < ::Array
194
229
  end
195
230
 
196
- # {https://adwords.google.com/api/adwords/v10}RegionTargets
231
+ # {https://adwords.google.com/api/adwords/v12}RegionTargets
197
232
  class RegionTargets < ::Array
198
233
  end
199
234
 
200
- # {https://adwords.google.com/api/adwords/v10}SchedulingInterval
235
+ # {https://adwords.google.com/api/adwords/v12}SchedulingInterval
201
236
  # day - AdWords::CampaignService::DayOfWeek
202
237
  # endHour - SOAP::SOAPInt
203
238
  # endMinute - SOAP::SOAPInt
@@ -222,7 +257,7 @@ class SchedulingInterval
222
257
  end
223
258
  end
224
259
 
225
- # {https://adwords.google.com/api/adwords/v10}StatsRecord
260
+ # {https://adwords.google.com/api/adwords/v12}StatsRecord
226
261
  # averagePosition - SOAP::SOAPDouble
227
262
  # clicks - SOAP::SOAPLong
228
263
  # conversionRate - SOAP::SOAPDouble
@@ -250,13 +285,19 @@ class StatsRecord
250
285
  end
251
286
  end
252
287
 
253
- # {https://adwords.google.com/api/adwords/v10}AdScheduleStatus
288
+ # {https://adwords.google.com/api/adwords/v12}AdScheduleStatus
254
289
  class AdScheduleStatus < ::String
255
290
  Disabled = AdScheduleStatus.new("Disabled")
256
291
  Enabled = AdScheduleStatus.new("Enabled")
257
292
  end
258
293
 
259
- # {https://adwords.google.com/api/adwords/v10}CampaignStatus
294
+ # {https://adwords.google.com/api/adwords/v12}BudgetPeriod
295
+ class BudgetPeriod < ::String
296
+ Daily = BudgetPeriod.new("Daily")
297
+ Monthly = BudgetPeriod.new("Monthly")
298
+ end
299
+
300
+ # {https://adwords.google.com/api/adwords/v12}CampaignStatus
260
301
  class CampaignStatus < ::String
261
302
  Active = CampaignStatus.new("Active")
262
303
  Deleted = CampaignStatus.new("Deleted")
@@ -266,7 +307,13 @@ class CampaignStatus < ::String
266
307
  Suspended = CampaignStatus.new("Suspended")
267
308
  end
268
309
 
269
- # {https://adwords.google.com/api/adwords/v10}DayOfWeek
310
+ # {https://adwords.google.com/api/adwords/v12}ContentTargeting
311
+ class ContentTargeting < ::String
312
+ AllPlacements = ContentTargeting.new("AllPlacements")
313
+ SelectedPlacements = ContentTargeting.new("SelectedPlacements")
314
+ end
315
+
316
+ # {https://adwords.google.com/api/adwords/v12}DayOfWeek
270
317
  class DayOfWeek < ::String
271
318
  Friday = DayOfWeek.new("Friday")
272
319
  Monday = DayOfWeek.new("Monday")
@@ -277,14 +324,14 @@ class DayOfWeek < ::String
277
324
  Wednesday = DayOfWeek.new("Wednesday")
278
325
  end
279
326
 
280
- # {https://adwords.google.com/api/adwords/v10}NetworkType
327
+ # {https://adwords.google.com/api/adwords/v12}NetworkType
281
328
  class NetworkType < ::String
282
329
  ContentNetwork = NetworkType.new("ContentNetwork")
283
330
  GoogleSearch = NetworkType.new("GoogleSearch")
284
331
  SearchNetwork = NetworkType.new("SearchNetwork")
285
332
  end
286
333
 
287
- # {https://adwords.google.com/api/adwords/v10}addCampaign
334
+ # {https://adwords.google.com/api/adwords/v12}addCampaign
288
335
  # campaign - AdWords::CampaignService::Campaign
289
336
  class AddCampaign
290
337
  attr_accessor :campaign
@@ -294,15 +341,15 @@ class AddCampaign
294
341
  end
295
342
  end
296
343
 
297
- # {https://adwords.google.com/api/adwords/v10}addCampaignList
344
+ # {https://adwords.google.com/api/adwords/v12}addCampaignList
298
345
  class AddCampaignList < ::Array
299
346
  end
300
347
 
301
- # {https://adwords.google.com/api/adwords/v10}addCampaignListResponse
348
+ # {https://adwords.google.com/api/adwords/v12}addCampaignListResponse
302
349
  class AddCampaignListResponse < ::Array
303
350
  end
304
351
 
305
- # {https://adwords.google.com/api/adwords/v10}addCampaignResponse
352
+ # {https://adwords.google.com/api/adwords/v12}addCampaignResponse
306
353
  # addCampaignReturn - AdWords::CampaignService::Campaign
307
354
  class AddCampaignResponse
308
355
  attr_accessor :addCampaignReturn
@@ -312,7 +359,7 @@ class AddCampaignResponse
312
359
  end
313
360
  end
314
361
 
315
- # {https://adwords.google.com/api/adwords/v10}getAllAdWordsCampaigns
362
+ # {https://adwords.google.com/api/adwords/v12}getAllAdWordsCampaigns
316
363
  # dummy - SOAP::SOAPInt
317
364
  class GetAllAdWordsCampaigns
318
365
  attr_accessor :dummy
@@ -322,11 +369,11 @@ class GetAllAdWordsCampaigns
322
369
  end
323
370
  end
324
371
 
325
- # {https://adwords.google.com/api/adwords/v10}getAllAdWordsCampaignsResponse
372
+ # {https://adwords.google.com/api/adwords/v12}getAllAdWordsCampaignsResponse
326
373
  class GetAllAdWordsCampaignsResponse < ::Array
327
374
  end
328
375
 
329
- # {https://adwords.google.com/api/adwords/v10}getCampaign
376
+ # {https://adwords.google.com/api/adwords/v12}getCampaign
330
377
  # id - SOAP::SOAPInt
331
378
  class GetCampaign
332
379
  attr_accessor :id
@@ -336,15 +383,15 @@ class GetCampaign
336
383
  end
337
384
  end
338
385
 
339
- # {https://adwords.google.com/api/adwords/v10}getCampaignList
386
+ # {https://adwords.google.com/api/adwords/v12}getCampaignList
340
387
  class GetCampaignList < ::Array
341
388
  end
342
389
 
343
- # {https://adwords.google.com/api/adwords/v10}getCampaignListResponse
390
+ # {https://adwords.google.com/api/adwords/v12}getCampaignListResponse
344
391
  class GetCampaignListResponse < ::Array
345
392
  end
346
393
 
347
- # {https://adwords.google.com/api/adwords/v10}getCampaignResponse
394
+ # {https://adwords.google.com/api/adwords/v12}getCampaignResponse
348
395
  # getCampaignReturn - AdWords::CampaignService::Campaign
349
396
  class GetCampaignResponse
350
397
  attr_accessor :getCampaignReturn
@@ -354,7 +401,7 @@ class GetCampaignResponse
354
401
  end
355
402
  end
356
403
 
357
- # {https://adwords.google.com/api/adwords/v10}getCampaignStats
404
+ # {https://adwords.google.com/api/adwords/v12}getCampaignStats
358
405
  # campaignIds - SOAP::SOAPInt
359
406
  # startDay - SOAP::SOAPDate
360
407
  # endDay - SOAP::SOAPDate
@@ -370,11 +417,19 @@ class GetCampaignStats
370
417
  end
371
418
  end
372
419
 
373
- # {https://adwords.google.com/api/adwords/v10}getCampaignStatsResponse
420
+ # {https://adwords.google.com/api/adwords/v12}getCampaignStatsResponse
374
421
  class GetCampaignStatsResponse < ::Array
375
422
  end
376
423
 
377
- # {https://adwords.google.com/api/adwords/v10}getOptimizeAdServing
424
+ # {https://adwords.google.com/api/adwords/v12}getConversionOptimizerEligibility
425
+ class GetConversionOptimizerEligibility < ::Array
426
+ end
427
+
428
+ # {https://adwords.google.com/api/adwords/v12}getConversionOptimizerEligibilityResponse
429
+ class GetConversionOptimizerEligibilityResponse < ::Array
430
+ end
431
+
432
+ # {https://adwords.google.com/api/adwords/v12}getOptimizeAdServing
378
433
  # campaignId - SOAP::SOAPInt
379
434
  class GetOptimizeAdServing
380
435
  attr_accessor :campaignId
@@ -384,7 +439,7 @@ class GetOptimizeAdServing
384
439
  end
385
440
  end
386
441
 
387
- # {https://adwords.google.com/api/adwords/v10}getOptimizeAdServingResponse
442
+ # {https://adwords.google.com/api/adwords/v12}getOptimizeAdServingResponse
388
443
  # getOptimizeAdServingReturn - SOAP::SOAPBoolean
389
444
  class GetOptimizeAdServingResponse
390
445
  attr_accessor :getOptimizeAdServingReturn
@@ -394,7 +449,7 @@ class GetOptimizeAdServingResponse
394
449
  end
395
450
  end
396
451
 
397
- # {https://adwords.google.com/api/adwords/v10}setOptimizeAdServing
452
+ # {https://adwords.google.com/api/adwords/v12}setOptimizeAdServing
398
453
  # campaignId - SOAP::SOAPInt
399
454
  # enable - SOAP::SOAPBoolean
400
455
  class SetOptimizeAdServing
@@ -407,13 +462,13 @@ class SetOptimizeAdServing
407
462
  end
408
463
  end
409
464
 
410
- # {https://adwords.google.com/api/adwords/v10}setOptimizeAdServingResponse
465
+ # {https://adwords.google.com/api/adwords/v12}setOptimizeAdServingResponse
411
466
  class SetOptimizeAdServingResponse
412
467
  def initialize
413
468
  end
414
469
  end
415
470
 
416
- # {https://adwords.google.com/api/adwords/v10}updateCampaign
471
+ # {https://adwords.google.com/api/adwords/v12}updateCampaign
417
472
  # campaign - AdWords::CampaignService::Campaign
418
473
  class UpdateCampaign
419
474
  attr_accessor :campaign
@@ -423,17 +478,17 @@ class UpdateCampaign
423
478
  end
424
479
  end
425
480
 
426
- # {https://adwords.google.com/api/adwords/v10}updateCampaignList
481
+ # {https://adwords.google.com/api/adwords/v12}updateCampaignList
427
482
  class UpdateCampaignList < ::Array
428
483
  end
429
484
 
430
- # {https://adwords.google.com/api/adwords/v10}updateCampaignListResponse
485
+ # {https://adwords.google.com/api/adwords/v12}updateCampaignListResponse
431
486
  class UpdateCampaignListResponse
432
487
  def initialize
433
488
  end
434
489
  end
435
490
 
436
- # {https://adwords.google.com/api/adwords/v10}updateCampaignResponse
491
+ # {https://adwords.google.com/api/adwords/v12}updateCampaignResponse
437
492
  class UpdateCampaignResponse
438
493
  def initialize
439
494
  end
@@ -1,93 +1,101 @@
1
- require 'adwords4r/v10/CampaignService'
2
- require 'adwords4r/v10/CampaignServiceMappingRegistry'
1
+ require 'adwords4r/v12/CampaignService'
2
+ require 'adwords4r/v12/CampaignServiceMappingRegistry'
3
3
  require 'soap/rpc/driver'
4
4
 
5
5
  module AdWords
6
6
  module CampaignService
7
7
 
8
8
  class CampaignInterface < ::SOAP::RPC::Driver
9
- DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v10/CampaignService"
9
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v12/CampaignService"
10
10
 
11
11
  Methods = [
12
12
  [ "",
13
13
  "addCampaign",
14
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "addCampaign"]],
15
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "addCampaignResponse"]] ],
14
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaign"]],
15
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaignResponse"]] ],
16
16
  { :request_style => :document, :request_use => :literal,
17
17
  :response_style => :document, :response_use => :literal,
18
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
18
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
19
19
  ],
20
20
  [ "",
21
21
  "addCampaignList",
22
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "addCampaignList"]],
23
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "addCampaignListResponse"]] ],
22
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaignList"]],
23
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaignListResponse"]] ],
24
24
  { :request_style => :document, :request_use => :literal,
25
25
  :response_style => :document, :response_use => :literal,
26
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
26
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
27
27
  ],
28
28
  [ "",
29
29
  "getAllAdWordsCampaigns",
30
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getAllAdWordsCampaigns"]],
31
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getAllAdWordsCampaignsResponse"]] ],
30
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAllAdWordsCampaigns"]],
31
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAllAdWordsCampaignsResponse"]] ],
32
32
  { :request_style => :document, :request_use => :literal,
33
33
  :response_style => :document, :response_use => :literal,
34
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
34
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
35
35
  ],
36
36
  [ "",
37
37
  "getCampaign",
38
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getCampaign"]],
39
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getCampaignResponse"]] ],
38
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaign"]],
39
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignResponse"]] ],
40
40
  { :request_style => :document, :request_use => :literal,
41
41
  :response_style => :document, :response_use => :literal,
42
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
42
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
43
43
  ],
44
44
  [ "",
45
45
  "getCampaignList",
46
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getCampaignList"]],
47
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getCampaignListResponse"]] ],
46
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignList"]],
47
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignListResponse"]] ],
48
48
  { :request_style => :document, :request_use => :literal,
49
49
  :response_style => :document, :response_use => :literal,
50
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
50
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
51
51
  ],
52
52
  [ "",
53
53
  "getCampaignStats",
54
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getCampaignStats"]],
55
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getCampaignStatsResponse"]] ],
54
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignStats"]],
55
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignStatsResponse"]] ],
56
56
  { :request_style => :document, :request_use => :literal,
57
57
  :response_style => :document, :response_use => :literal,
58
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
58
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
59
+ ],
60
+ [ "",
61
+ "getConversionOptimizerEligibility",
62
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getConversionOptimizerEligibility"]],
63
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getConversionOptimizerEligibilityResponse"]] ],
64
+ { :request_style => :document, :request_use => :literal,
65
+ :response_style => :document, :response_use => :literal,
66
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
59
67
  ],
60
68
  [ "",
61
69
  "getOptimizeAdServing",
62
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getOptimizeAdServing"]],
63
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getOptimizeAdServingResponse"]] ],
70
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getOptimizeAdServing"]],
71
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getOptimizeAdServingResponse"]] ],
64
72
  { :request_style => :document, :request_use => :literal,
65
73
  :response_style => :document, :response_use => :literal,
66
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
74
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
67
75
  ],
68
76
  [ "",
69
77
  "setOptimizeAdServing",
70
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "setOptimizeAdServing"]],
71
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "setOptimizeAdServingResponse"]] ],
78
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "setOptimizeAdServing"]],
79
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "setOptimizeAdServingResponse"]] ],
72
80
  { :request_style => :document, :request_use => :literal,
73
81
  :response_style => :document, :response_use => :literal,
74
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
82
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
75
83
  ],
76
84
  [ "",
77
85
  "updateCampaign",
78
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "updateCampaign"]],
79
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "updateCampaignResponse"]] ],
86
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaign"]],
87
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaignResponse"]] ],
80
88
  { :request_style => :document, :request_use => :literal,
81
89
  :response_style => :document, :response_use => :literal,
82
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
90
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
83
91
  ],
84
92
  [ "",
85
93
  "updateCampaignList",
86
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "updateCampaignList"]],
87
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "updateCampaignListResponse"]] ],
94
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaignList"]],
95
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaignListResponse"]] ],
88
96
  { :request_style => :document, :request_use => :literal,
89
97
  :response_style => :document, :response_use => :literal,
90
- :faults => {"AdWords::CampaignService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
98
+ :faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
91
99
  ]
92
100
  ]
93
101