adwords4r 0.2 → 0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. data/ChangeLog.txt +1 -1
  2. data/Rakefile +21 -10
  3. data/examples/campaign.rb +5 -2
  4. data/examples/get_unit_count.rb +16 -0
  5. data/lib/adwords4r.rb +4 -5
  6. data/lib/adwords4r/v2/AccountService.rb +2 -2
  7. data/lib/adwords4r/v2/AccountServiceDriver.rb +1 -3
  8. data/lib/adwords4r/v2/AdGroupService.rb +1 -1
  9. data/lib/adwords4r/v2/AdGroupServiceDriver.rb +1 -3
  10. data/lib/adwords4r/v2/CampaignService.rb +4 -4
  11. data/lib/adwords4r/v2/CampaignServiceDriver.rb +1 -3
  12. data/lib/adwords4r/v2/CreativeService.rb +1 -1
  13. data/lib/adwords4r/v2/CreativeServiceDriver.rb +1 -3
  14. data/lib/adwords4r/v2/CriterionService.rb +4 -4
  15. data/lib/adwords4r/v2/CriterionServiceDriver.rb +1 -3
  16. data/lib/adwords4r/v2/InfoService.rb +23 -23
  17. data/lib/adwords4r/v2/InfoServiceDriver.rb +1 -3
  18. data/lib/adwords4r/v2/KeywordService.rb +3 -3
  19. data/lib/adwords4r/v2/KeywordServiceDriver.rb +1 -3
  20. data/lib/adwords4r/v2/ReportService.rb +60 -60
  21. data/lib/adwords4r/v2/ReportServiceDriver.rb +1 -3
  22. data/lib/adwords4r/v2/TrafficEstimatorService.rb +24 -24
  23. data/lib/adwords4r/v2/TrafficEstimatorServiceDriver.rb +1 -3
  24. data/lib/adwords4r/v3/AccountService.rb +2 -2
  25. data/lib/adwords4r/v3/AccountServiceDriver.rb +1 -3
  26. data/lib/adwords4r/v3/AdGroupService.rb +1 -1
  27. data/lib/adwords4r/v3/AdGroupServiceDriver.rb +1 -3
  28. data/lib/adwords4r/v3/CampaignService.rb +5 -5
  29. data/lib/adwords4r/v3/CampaignServiceDriver.rb +1 -3
  30. data/lib/adwords4r/v3/CreativeService.rb +1 -1
  31. data/lib/adwords4r/v3/CreativeServiceDriver.rb +1 -3
  32. data/lib/adwords4r/v3/CriterionService.rb +4 -4
  33. data/lib/adwords4r/v3/CriterionServiceDriver.rb +1 -3
  34. data/lib/adwords4r/v3/InfoService.rb +23 -23
  35. data/lib/adwords4r/v3/InfoServiceDriver.rb +1 -3
  36. data/lib/adwords4r/v3/KeywordService.rb +3 -3
  37. data/lib/adwords4r/v3/KeywordServiceDriver.rb +1 -3
  38. data/lib/adwords4r/v3/KeywordToolService.rb +1 -1
  39. data/lib/adwords4r/v3/KeywordToolServiceDriver.rb +1 -3
  40. data/lib/adwords4r/v3/ReportService.rb +60 -60
  41. data/lib/adwords4r/v3/ReportServiceDriver.rb +1 -3
  42. data/lib/adwords4r/v3/TrafficEstimatorService.rb +23 -23
  43. data/lib/adwords4r/v3/TrafficEstimatorServiceDriver.rb +1 -3
  44. metadata +74 -67
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v2/InfoService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV2
5
4
 
6
5
  class InfoServiceInterface < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v2/InfoService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v2/InfoService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -87,4 +86,3 @@ private
87
86
  end
88
87
  end
89
88
 
90
- end
@@ -350,7 +350,7 @@ class Criterion
350
350
  ["exemptionRequest", "SOAP::SOAPString"],
351
351
  ["criterionType", "SOAP::SOAPString"],
352
352
  ["language", "SOAP::SOAPString"],
353
- ["status", "CriterionStatus"],
353
+ ["status", "SOAP::SOAPString"],
354
354
  ["negative", "SOAP::SOAPBoolean"],
355
355
  ["destinationUrl", "SOAP::SOAPString"]
356
356
  ]
@@ -386,10 +386,10 @@ class Keyword
386
386
  ["exemptionRequest", "SOAP::SOAPString"],
387
387
  ["criterionType", "SOAP::SOAPString"],
388
388
  ["language", "SOAP::SOAPString"],
389
- ["status", "CriterionStatus"],
389
+ ["status", "SOAP::SOAPString"],
390
390
  ["negative", "SOAP::SOAPBoolean"],
391
391
  ["destinationUrl", "SOAP::SOAPString"],
392
- ["type", "KeywordType"],
392
+ ["type", "SOAP::SOAPString"],
393
393
  ["minCpc", "SOAP::SOAPLong"],
394
394
  ["maxCpc", "SOAP::SOAPLong"],
395
395
  ["text", "SOAP::SOAPString"]
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v2/KeywordService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV2
5
4
 
6
5
  class KeywordService < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v2/KeywordService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v2/KeywordService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -122,4 +121,3 @@ private
122
121
  end
123
122
  end
124
123
 
125
- end
@@ -22,7 +22,7 @@ class ScheduleReportJobResponse
22
22
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
23
23
  @@schema_qualified = "true"
24
24
  @@schema_element = [
25
- ["scheduleReportJobReturn", "Long"]
25
+ ["scheduleReportJobReturn", "SOAP::SOAPLong"]
26
26
  ]
27
27
 
28
28
  attr_accessor :scheduleReportJobReturn
@@ -38,7 +38,7 @@ class GetReportJobStatus
38
38
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
39
39
  @@schema_qualified = "true"
40
40
  @@schema_element = [
41
- ["reportJobId", "Long"]
41
+ ["reportJobId", "SOAP::SOAPLong"]
42
42
  ]
43
43
 
44
44
  attr_accessor :reportJobId
@@ -54,7 +54,7 @@ class GetReportJobStatusResponse
54
54
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
55
55
  @@schema_qualified = "true"
56
56
  @@schema_element = [
57
- ["getReportJobStatusReturn", "ReportJobStatus"]
57
+ ["getReportJobStatusReturn", "SOAP::SOAPString"]
58
58
  ]
59
59
 
60
60
  attr_accessor :getReportJobStatusReturn
@@ -70,7 +70,7 @@ class GetReportDownloadUrl
70
70
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
71
71
  @@schema_qualified = "true"
72
72
  @@schema_element = [
73
- ["reportJobId", "Long"]
73
+ ["reportJobId", "SOAP::SOAPLong"]
74
74
  ]
75
75
 
76
76
  attr_accessor :reportJobId
@@ -86,7 +86,7 @@ class GetReportDownloadUrlResponse
86
86
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
87
87
  @@schema_qualified = "true"
88
88
  @@schema_element = [
89
- ["getReportDownloadUrlReturn", "String"]
89
+ ["getReportDownloadUrlReturn", "SOAP::SOAPString"]
90
90
  ]
91
91
 
92
92
  attr_accessor :getReportDownloadUrlReturn
@@ -102,7 +102,7 @@ class GetGzipReportDownloadUrl
102
102
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
103
103
  @@schema_qualified = "true"
104
104
  @@schema_element = [
105
- ["reportJobId", "Long"]
105
+ ["reportJobId", "SOAP::SOAPLong"]
106
106
  ]
107
107
 
108
108
  attr_accessor :reportJobId
@@ -118,7 +118,7 @@ class GetGzipReportDownloadUrlResponse
118
118
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
119
119
  @@schema_qualified = "true"
120
120
  @@schema_element = [
121
- ["getGzipReportDownloadUrlReturn", "String"]
121
+ ["getGzipReportDownloadUrlReturn", "SOAP::SOAPString"]
122
122
  ]
123
123
 
124
124
  attr_accessor :getGzipReportDownloadUrlReturn
@@ -152,7 +152,7 @@ class DeleteReport
152
152
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
153
153
  @@schema_qualified = "true"
154
154
  @@schema_element = [
155
- ["reportJobId", "Long"]
155
+ ["reportJobId", "SOAP::SOAPLong"]
156
156
  ]
157
157
 
158
158
  attr_accessor :reportJobId
@@ -178,11 +178,11 @@ class ApiException
178
178
  @@schema_type = "ApiException"
179
179
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
180
180
  @@schema_element = [
181
- ["code", "Int"],
182
- ["internal", "Boolean"],
183
- ["message", "String"],
184
- ["trigger", "String"],
185
- ["violations", "String"]
181
+ ["code", "SOAP::SOAPInt"],
182
+ ["internal", "SOAP::SOAPBoolean"],
183
+ ["message", "SOAP::SOAPString"],
184
+ ["trigger", "SOAP::SOAPString"],
185
+ ["violations", "SOAP::SOAPString"]
186
186
  ]
187
187
 
188
188
  attr_accessor :code
@@ -205,14 +205,14 @@ class ReportJob
205
205
  @@schema_type = "ReportJob"
206
206
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
207
207
  @@schema_element = [
208
- ["id", "Long"],
209
- ["name", "String"],
210
- ["aggregationType", "AggregationType"],
208
+ ["id", "SOAP::SOAPLong"],
209
+ ["name", "SOAP::SOAPString"],
210
+ ["aggregationType", "SOAP::SOAPString"],
211
211
  ["startDate", "DateTime"],
212
212
  ["endDate", "DateTime"],
213
- ["status", "ReportJobStatus"],
214
- ["crossClient", "Boolean"],
215
- ["clientAccounts", "Int[]"]
213
+ ["status", "SOAP::SOAPString"],
214
+ ["crossClient", "SOAP::SOAPBoolean"],
215
+ ["clientAccounts", "SOAP::SOAPInt[]"]
216
216
  ]
217
217
 
218
218
  attr_accessor :id
@@ -241,18 +241,18 @@ class KeywordReportJob
241
241
  @@schema_type = "KeywordReportJob"
242
242
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
243
243
  @@schema_element = [
244
- ["id", "Long"],
245
- ["name", "String"],
246
- ["aggregationType", "AggregationType"],
244
+ ["id", "SOAP::SOAPLong"],
245
+ ["name", "SOAP::SOAPString"],
246
+ ["aggregationType", "SOAP::SOAPString"],
247
247
  ["startDate", "DateTime"],
248
248
  ["endDate", "DateTime"],
249
- ["status", "ReportJobStatus"],
250
- ["crossClient", "Boolean"],
251
- ["clientAccounts", "Int[]"],
252
- ["adWordsType", "AdWordsType"],
253
- ["keywordStatuses", "KeywordStatus[]"],
254
- ["keywordType", "KeywordType"],
255
- ["campaigns", "Int[]"]
249
+ ["status", "SOAP::SOAPString"],
250
+ ["crossClient", "SOAP::SOAPBoolean"],
251
+ ["clientAccounts", "SOAP::SOAPInt[]"],
252
+ ["adWordsType", "SOAP::SOAPString"],
253
+ ["keywordStatuses", "SOAP::SOAPString[]"],
254
+ ["keywordType", "SOAP::SOAPString"],
255
+ ["campaigns", "SOAP::SOAPInt[]"]
256
256
  ]
257
257
 
258
258
  attr_accessor :id
@@ -289,16 +289,16 @@ class AdTextReportJob
289
289
  @@schema_type = "AdTextReportJob"
290
290
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
291
291
  @@schema_element = [
292
- ["id", "Long"],
293
- ["name", "String"],
294
- ["aggregationType", "AggregationType"],
292
+ ["id", "SOAP::SOAPLong"],
293
+ ["name", "SOAP::SOAPString"],
294
+ ["aggregationType", "SOAP::SOAPString"],
295
295
  ["startDate", "DateTime"],
296
296
  ["endDate", "DateTime"],
297
- ["status", "ReportJobStatus"],
298
- ["crossClient", "Boolean"],
299
- ["clientAccounts", "Int[]"],
300
- ["adWordsType", "AdWordsType"],
301
- ["campaigns", "Int[]"]
297
+ ["status", "SOAP::SOAPString"],
298
+ ["crossClient", "SOAP::SOAPBoolean"],
299
+ ["clientAccounts", "SOAP::SOAPInt[]"],
300
+ ["adWordsType", "SOAP::SOAPString"],
301
+ ["campaigns", "SOAP::SOAPInt[]"]
302
302
  ]
303
303
 
304
304
  attr_accessor :id
@@ -331,16 +331,16 @@ class UrlReportJob
331
331
  @@schema_type = "UrlReportJob"
332
332
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
333
333
  @@schema_element = [
334
- ["id", "Long"],
335
- ["name", "String"],
336
- ["aggregationType", "AggregationType"],
334
+ ["id", "SOAP::SOAPLong"],
335
+ ["name", "SOAP::SOAPString"],
336
+ ["aggregationType", "SOAP::SOAPString"],
337
337
  ["startDate", "DateTime"],
338
338
  ["endDate", "DateTime"],
339
- ["status", "ReportJobStatus"],
340
- ["crossClient", "Boolean"],
341
- ["clientAccounts", "Int[]"],
342
- ["adWordsType", "AdWordsType"],
343
- ["campaigns", "Int[]"]
339
+ ["status", "SOAP::SOAPString"],
340
+ ["crossClient", "SOAP::SOAPBoolean"],
341
+ ["clientAccounts", "SOAP::SOAPInt[]"],
342
+ ["adWordsType", "SOAP::SOAPString"],
343
+ ["campaigns", "SOAP::SOAPInt[]"]
344
344
  ]
345
345
 
346
346
  attr_accessor :id
@@ -373,23 +373,23 @@ class CustomReportJob
373
373
  @@schema_type = "CustomReportJob"
374
374
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
375
375
  @@schema_element = [
376
- ["id", "Long"],
377
- ["name", "String"],
378
- ["aggregationType", "AggregationType"],
376
+ ["id", "SOAP::SOAPLong"],
377
+ ["name", "SOAP::SOAPString"],
378
+ ["aggregationType", "SOAP::SOAPString"],
379
379
  ["startDate", "DateTime"],
380
380
  ["endDate", "DateTime"],
381
- ["status", "ReportJobStatus"],
382
- ["crossClient", "Boolean"],
383
- ["clientAccounts", "Int[]"],
384
- ["keywords", "String[]"],
385
- ["keywordStatuses", "KeywordStatus[]"],
386
- ["keywordType", "KeywordType"],
387
- ["campaignStatuses", "CampaignStatus[]"],
388
- ["campaigns", "Int[]"],
389
- ["adGroupStatuses", "AdGroupStatus[]"],
390
- ["adGroups", "Int[]"],
391
- ["adWordsType", "AdWordsType"],
392
- ["customOptions", "CustomReportOption[]"]
381
+ ["status", "SOAP::SOAPString"],
382
+ ["crossClient", "SOAP::SOAPBoolean"],
383
+ ["clientAccounts", "SOAP::SOAPInt[]"],
384
+ ["keywords", "SOAP::SOAPString[]"],
385
+ ["keywordStatuses", "SOAP::SOAPString[]"],
386
+ ["keywordType", "SOAP::SOAPString"],
387
+ ["campaignStatuses", "SOAP::SOAPString[]"],
388
+ ["campaigns", "SOAP::SOAPInt[]"],
389
+ ["adGroupStatuses", "SOAP::SOAPString[]"],
390
+ ["adGroups", "SOAP::SOAPInt[]"],
391
+ ["adWordsType", "SOAP::SOAPString"],
392
+ ["customOptions", "SOAP::SOAPString[]"]
393
393
  ]
394
394
 
395
395
  attr_accessor :id
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v2/ReportService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV2
5
4
 
6
5
  class ReportServiceInterface < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v2/ReportService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v2/ReportService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -80,4 +79,3 @@ private
80
79
  end
81
80
  end
82
81
 
83
- end
@@ -47,11 +47,11 @@ class ApiException
47
47
  @@schema_type = "ApiException"
48
48
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
49
49
  @@schema_element = [
50
- ["code", "Int"],
51
- ["internal", "Boolean"],
52
- ["message", "String"],
53
- ["trigger", "String"],
54
- ["violations", "String"]
50
+ ["code", "SOAP::SOAPInt"],
51
+ ["internal", "SOAP::SOAPBoolean"],
52
+ ["message", "SOAP::SOAPString"],
53
+ ["trigger", "SOAP::SOAPString"],
54
+ ["violations", "SOAP::SOAPString"]
55
55
  ]
56
56
 
57
57
  attr_accessor :code
@@ -74,9 +74,9 @@ class CampaignRequest
74
74
  @@schema_type = "CampaignRequest"
75
75
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
76
76
  @@schema_element = [
77
- ["id", "Int"],
78
- ["optInSearchNetwork", "Boolean"],
79
- ["optInContentNetwork", "Boolean"],
77
+ ["id", "SOAP::SOAPInt"],
78
+ ["optInSearchNetwork", "SOAP::SOAPBoolean"],
79
+ ["optInContentNetwork", "SOAP::SOAPBoolean"],
80
80
  ["geoTargeting", "GeoTarget"],
81
81
  ["languageTargeting", "LanguageTarget"],
82
82
  ["adGroupRequests", "AdGroupRequest[]"]
@@ -104,8 +104,8 @@ class AdGroupRequest
104
104
  @@schema_type = "AdGroupRequest"
105
105
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
106
106
  @@schema_element = [
107
- ["id", "Int"],
108
- ["maxCpc", "Long"],
107
+ ["id", "SOAP::SOAPInt"],
108
+ ["maxCpc", "SOAP::SOAPLong"],
109
109
  ["keywordRequests", "KeywordRequest[]"]
110
110
  ]
111
111
 
@@ -125,11 +125,11 @@ class KeywordRequest
125
125
  @@schema_type = "KeywordRequest"
126
126
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
127
127
  @@schema_element = [
128
- ["id", "Long"],
129
- ["type", "KeywordType"],
130
- ["text", "String"],
131
- ["maxCpc", "Long"],
132
- ["negative", "Boolean"]
128
+ ["id", "SOAP::SOAPLong"],
129
+ ["type", "SOAP::SOAPString"],
130
+ ["text", "SOAP::SOAPString"],
131
+ ["maxCpc", "SOAP::SOAPLong"],
132
+ ["negative", "SOAP::SOAPBoolean"]
133
133
  ]
134
134
 
135
135
  attr_accessor :id
@@ -152,10 +152,10 @@ class GeoTarget
152
152
  @@schema_type = "GeoTarget"
153
153
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
154
154
  @@schema_element = [
155
- ["countries", "String[]"],
156
- ["regions", "String[]"],
157
- ["metros", "String[]"],
158
- ["cities", "String[]"]
155
+ ["countries", "SOAP::SOAPString[]"],
156
+ ["regions", "SOAP::SOAPString[]"],
157
+ ["metros", "SOAP::SOAPString[]"],
158
+ ["cities", "SOAP::SOAPString[]"]
159
159
  ]
160
160
 
161
161
  attr_accessor :countries
@@ -174,7 +174,7 @@ end
174
174
  # {https://adwords.google.com/api/adwords/v2}LanguageTarget
175
175
  class LanguageTarget < ::Array
176
176
  @@schema_element = [
177
- ["languages", ["String[]", XSD::QName.new("https://adwords.google.com/api/adwords/v2", "languages")]]
177
+ ["languages", ["SOAP::SOAPString[]", XSD::QName.new("https://adwords.google.com/api/adwords/v2", "languages")]]
178
178
  ]
179
179
  end
180
180
 
@@ -183,7 +183,7 @@ class CampaignEstimate
183
183
  @@schema_type = "CampaignEstimate"
184
184
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
185
185
  @@schema_element = [
186
- ["id", "Int"],
186
+ ["id", "SOAP::SOAPInt"],
187
187
  ["adGroupEstimates", "AdGroupEstimate[]"]
188
188
  ]
189
189
 
@@ -201,7 +201,7 @@ class AdGroupEstimate
201
201
  @@schema_type = "AdGroupEstimate"
202
202
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
203
203
  @@schema_element = [
204
- ["id", "Int"],
204
+ ["id", "SOAP::SOAPInt"],
205
205
  ["keywordEstimates", "KeywordEstimate[]"]
206
206
  ]
207
207
 
@@ -219,9 +219,9 @@ class KeywordEstimate
219
219
  @@schema_type = "KeywordEstimate"
220
220
  @@schema_ns = "https://adwords.google.com/api/adwords/v2"
221
221
  @@schema_element = [
222
- ["id", "Long"],
222
+ ["id", "SOAP::SOAPLong"],
223
223
  ["clicksPerDay", "Float"],
224
- ["cpc", "Long"],
224
+ ["cpc", "SOAP::SOAPLong"],
225
225
  ["avgPosition", "Float"]
226
226
  ]
227
227
 
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v2/TrafficEstimatorService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV2
5
4
 
6
5
  class TrafficEstimatorInterface < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v2/TrafficEstimatorService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v2/TrafficEstimatorService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -59,4 +58,3 @@ private
59
58
  end
60
59
  end
61
60
 
62
- end
@@ -477,14 +477,14 @@ class CreditCard
477
477
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
478
478
  @@schema_element = [
479
479
  ["cardNumber", "SOAP::SOAPString"],
480
- ["cardType", "CreditCardType"],
480
+ ["cardType", "SOAP::SOAPString"],
481
481
  ["cardVerificationNumber", "SOAP::SOAPString"],
482
482
  ["expirationMonth", "SOAP::SOAPInt"],
483
483
  ["expirationYear", "SOAP::SOAPInt"],
484
484
  ["issueNumber", "SOAP::SOAPString"],
485
485
  ["startMonth", "SOAP::SOAPInt"],
486
486
  ["startYear", "SOAP::SOAPInt"],
487
- ["status", "TaxStatus"],
487
+ ["status", "SOAP::SOAPString"],
488
488
  ["taxNumber", "SOAP::SOAPString"]
489
489
  ]
490
490
 
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v3/AccountService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV3
5
4
 
6
5
  class AccountService < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v3/AccountService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/AccountService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -150,4 +149,3 @@ private
150
149
  end
151
150
  end
152
151
 
153
- end