adwords4r 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -252,7 +252,7 @@ class AdGroup
252
252
  ["maxCpc", "SOAP::SOAPLong"],
253
253
  ["maxCpm", "SOAP::SOAPLong"],
254
254
  ["name", "SOAP::SOAPString"],
255
- ["status", "AdGroupStatus"]
255
+ ["status", "SOAP::SOAPString"]
256
256
  ]
257
257
 
258
258
  attr_accessor :campaignId
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v3/AdGroupService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV3
5
4
 
6
5
  class AdGroupService < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v3/AdGroupService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/AdGroupService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -94,4 +93,3 @@ private
94
93
  end
95
94
  end
96
95
 
97
- end
@@ -270,7 +270,7 @@ class Criterion
270
270
  ["id", "SOAP::SOAPLong"],
271
271
  ["language", "SOAP::SOAPString"],
272
272
  ["negative", "SOAP::SOAPBoolean"],
273
- ["status", "CriterionStatus"]
273
+ ["status", "SOAP::SOAPString"]
274
274
  ]
275
275
 
276
276
  attr_accessor :adGroupId
@@ -306,11 +306,11 @@ class Keyword
306
306
  ["id", "SOAP::SOAPLong"],
307
307
  ["language", "SOAP::SOAPString"],
308
308
  ["negative", "SOAP::SOAPBoolean"],
309
- ["status", "CriterionStatus"],
309
+ ["status", "SOAP::SOAPString"],
310
310
  ["maxCpc", "SOAP::SOAPLong"],
311
311
  ["minCpc", "SOAP::SOAPLong"],
312
312
  ["text", "SOAP::SOAPString"],
313
- ["type", "KeywordType"]
313
+ ["type", "SOAP::SOAPString"]
314
314
  ]
315
315
 
316
316
  attr_accessor :adGroupId
@@ -376,7 +376,7 @@ end
376
376
  # {https://adwords.google.com/api/adwords/v3}NetworkTarget
377
377
  class NetworkTarget < ::Array
378
378
  @@schema_element = [
379
- ["networkTypes", ["NetworkType[]", XSD::QName.new("https://adwords.google.com/api/adwords/v3", "networkTypes")]]
379
+ ["networkTypes", ["SOAP::SOAPString[]", XSD::QName.new("https://adwords.google.com/api/adwords/v3", "networkTypes")]]
380
380
  ]
381
381
  end
382
382
 
@@ -394,7 +394,7 @@ class Campaign
394
394
  ["name", "SOAP::SOAPString"],
395
395
  ["networkTargeting", "NetworkTarget"],
396
396
  ["startDate", "SOAP::SOAPDateTime"],
397
- ["status", "CampaignStatus"]
397
+ ["status", "SOAP::SOAPString"]
398
398
  ]
399
399
 
400
400
  attr_accessor :dailyBudget
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v3/CampaignService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV3
5
4
 
6
5
  class CampaignService < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v3/CampaignService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/CampaignService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -108,4 +107,3 @@ private
108
107
  end
109
108
  end
110
109
 
111
- end
@@ -258,7 +258,7 @@ class Image
258
258
  ["mimeType", "SOAP::SOAPString"],
259
259
  ["name", "SOAP::SOAPString"],
260
260
  ["thumbnailUrl", "SOAP::SOAPString"],
261
- ["type", "ImageType"],
261
+ ["type", "SOAP::SOAPString"],
262
262
  ["width", "SOAP::SOAPInt"]
263
263
  ]
264
264
 
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v3/CreativeService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV3
5
4
 
6
5
  class CreativeService < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v3/CreativeService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/CreativeService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -101,4 +100,3 @@ private
101
100
  end
102
101
  end
103
102
 
104
- end
@@ -215,7 +215,7 @@ class Criterion
215
215
  ["id", "SOAP::SOAPLong"],
216
216
  ["language", "SOAP::SOAPString"],
217
217
  ["negative", "SOAP::SOAPBoolean"],
218
- ["status", "CriterionStatus"]
218
+ ["status", "SOAP::SOAPString"]
219
219
  ]
220
220
 
221
221
  attr_accessor :adGroupId
@@ -251,11 +251,11 @@ class Keyword
251
251
  ["id", "SOAP::SOAPLong"],
252
252
  ["language", "SOAP::SOAPString"],
253
253
  ["negative", "SOAP::SOAPBoolean"],
254
- ["status", "CriterionStatus"],
254
+ ["status", "SOAP::SOAPString"],
255
255
  ["maxCpc", "SOAP::SOAPLong"],
256
256
  ["minCpc", "SOAP::SOAPLong"],
257
257
  ["text", "SOAP::SOAPString"],
258
- ["type", "KeywordType"]
258
+ ["type", "SOAP::SOAPString"]
259
259
  ]
260
260
 
261
261
  attr_accessor :adGroupId
@@ -299,7 +299,7 @@ class Website
299
299
  ["id", "SOAP::SOAPLong"],
300
300
  ["language", "SOAP::SOAPString"],
301
301
  ["negative", "SOAP::SOAPBoolean"],
302
- ["status", "CriterionStatus"],
302
+ ["status", "SOAP::SOAPString"],
303
303
  ["maxCpm", "SOAP::SOAPLong"],
304
304
  ["url", "SOAP::SOAPString"]
305
305
  ]
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v3/CriterionService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV3
5
4
 
6
5
  class CriterionService < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v3/CriterionService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/CriterionService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -94,4 +93,3 @@ private
94
93
  end
95
94
  end
96
95
 
97
- end
@@ -6,8 +6,8 @@ class GetOperationCount
6
6
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
7
7
  @@schema_qualified = "true"
8
8
  @@schema_element = [
9
- ["startDate", "Date"],
10
- ["endDate", "Date"]
9
+ ["startDate", "SOAP::SOAPDate"],
10
+ ["endDate", "SOAP::SOAPDate"]
11
11
  ]
12
12
 
13
13
  attr_accessor :startDate
@@ -25,7 +25,7 @@ class GetOperationCountResponse
25
25
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
26
26
  @@schema_qualified = "true"
27
27
  @@schema_element = [
28
- ["getOperationCountReturn", "Long"]
28
+ ["getOperationCountReturn", "SOAP::SOAPLong"]
29
29
  ]
30
30
 
31
31
  attr_accessor :getOperationCountReturn
@@ -52,7 +52,7 @@ class GetOperationsQuotaThisMonthResponse
52
52
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
53
53
  @@schema_qualified = "true"
54
54
  @@schema_element = [
55
- ["getOperationsQuotaThisMonthReturn", "Long"]
55
+ ["getOperationsQuotaThisMonthReturn", "SOAP::SOAPLong"]
56
56
  ]
57
57
 
58
58
  attr_accessor :getOperationsQuotaThisMonthReturn
@@ -79,7 +79,7 @@ class GetUsageQuotaThisMonthResponse
79
79
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
80
80
  @@schema_qualified = "true"
81
81
  @@schema_element = [
82
- ["getUsageQuotaThisMonthReturn", "Long"]
82
+ ["getUsageQuotaThisMonthReturn", "SOAP::SOAPLong"]
83
83
  ]
84
84
 
85
85
  attr_accessor :getUsageQuotaThisMonthReturn
@@ -106,7 +106,7 @@ class GetFreeUsageQuotaThisMonthResponse
106
106
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
107
107
  @@schema_qualified = "true"
108
108
  @@schema_element = [
109
- ["getFreeUsageQuotaThisMonthReturn", "Long"]
109
+ ["getFreeUsageQuotaThisMonthReturn", "SOAP::SOAPLong"]
110
110
  ]
111
111
 
112
112
  attr_accessor :getFreeUsageQuotaThisMonthReturn
@@ -122,9 +122,9 @@ class GetMethodCost
122
122
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
123
123
  @@schema_qualified = "true"
124
124
  @@schema_element = [
125
- ["service", "String"],
126
- ["method", "String"],
127
- ["date", "Date"]
125
+ ["service", "SOAP::SOAPString"],
126
+ ["method", "SOAP::SOAPString"],
127
+ ["date", "SOAP::SOAPDate"]
128
128
  ]
129
129
 
130
130
  attr_accessor :service
@@ -144,7 +144,7 @@ class GetMethodCostResponse
144
144
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
145
145
  @@schema_qualified = "true"
146
146
  @@schema_element = [
147
- ["getMethodCostReturn", "Int"]
147
+ ["getMethodCostReturn", "SOAP::SOAPInt"]
148
148
  ]
149
149
 
150
150
  attr_accessor :getMethodCostReturn
@@ -160,8 +160,8 @@ class GetUnitCount
160
160
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
161
161
  @@schema_qualified = "true"
162
162
  @@schema_element = [
163
- ["startDate", "Date"],
164
- ["endDate", "Date"]
163
+ ["startDate", "SOAP::SOAPDate"],
164
+ ["endDate", "SOAP::SOAPDate"]
165
165
  ]
166
166
 
167
167
  attr_accessor :startDate
@@ -179,7 +179,7 @@ class GetUnitCountResponse
179
179
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
180
180
  @@schema_qualified = "true"
181
181
  @@schema_element = [
182
- ["getUnitCountReturn", "Long"]
182
+ ["getUnitCountReturn", "SOAP::SOAPLong"]
183
183
  ]
184
184
 
185
185
  attr_accessor :getUnitCountReturn
@@ -195,10 +195,10 @@ class GetUnitCountForMethod
195
195
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
196
196
  @@schema_qualified = "true"
197
197
  @@schema_element = [
198
- ["service", "String"],
199
- ["method", "String"],
200
- ["startDate", "Date"],
201
- ["endDate", "Date"]
198
+ ["service", "SOAP::SOAPString"],
199
+ ["method", "SOAP::SOAPString"],
200
+ ["startDate", "SOAP::SOAPDate"],
201
+ ["endDate", "SOAP::SOAPDate"]
202
202
  ]
203
203
 
204
204
  attr_accessor :service
@@ -220,7 +220,7 @@ class GetUnitCountForMethodResponse
220
220
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
221
221
  @@schema_qualified = "true"
222
222
  @@schema_element = [
223
- ["getUnitCountForMethodReturn", "Long"]
223
+ ["getUnitCountForMethodReturn", "SOAP::SOAPLong"]
224
224
  ]
225
225
 
226
226
  attr_accessor :getUnitCountForMethodReturn
@@ -235,11 +235,11 @@ class ApiException
235
235
  @@schema_type = "ApiException"
236
236
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
237
237
  @@schema_element = [
238
- ["code", "Int"],
239
- ["internal", "Boolean"],
240
- ["message", "String"],
241
- ["trigger", "String"],
242
- ["violations", "String"]
238
+ ["code", "SOAP::SOAPInt"],
239
+ ["internal", "SOAP::SOAPBoolean"],
240
+ ["message", "SOAP::SOAPString"],
241
+ ["trigger", "SOAP::SOAPString"],
242
+ ["violations", "SOAP::SOAPString"]
243
243
  ]
244
244
 
245
245
  attr_accessor :code
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v3/InfoService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV3
5
4
 
6
5
  class InfoServiceInterface < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v3/InfoService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/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/v3/KeywordService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV3
5
4
 
6
5
  class KeywordService < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v3/KeywordService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/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
@@ -116,7 +116,7 @@ class SeedKeyword
116
116
  @@schema_element = [
117
117
  ["negative", "SOAP::SOAPBoolean"],
118
118
  ["text", "SOAP::SOAPString"],
119
- ["type", "KeywordType"]
119
+ ["type", "SOAP::SOAPString"]
120
120
  ]
121
121
 
122
122
  attr_accessor :negative
@@ -1,10 +1,9 @@
1
1
  require 'adwords4r/v3/KeywordToolService'
2
2
 
3
3
  require 'soap/rpc/driver'
4
- module AdWordsV3
5
4
 
6
5
  class KeywordToolInterface < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v3/KeywordToolService"
6
+ DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/KeywordToolService"
8
7
  MappingRegistry = ::SOAP::Mapping::Registry.new
9
8
 
10
9
  Methods = [
@@ -52,4 +51,3 @@ private
52
51
  end
53
52
  end
54
53
 
55
- end
@@ -22,7 +22,7 @@ class ScheduleReportJobResponse
22
22
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
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/v3"
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/v3"
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/v3"
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/v3"
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/v3"
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/v3"
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/v3"
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/v3"
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/v3"
207
207
  @@schema_element = [
208
- ["aggregationType", "AggregationType"],
209
- ["clientAccounts", "Int[]"],
210
- ["crossClient", "Boolean"],
208
+ ["aggregationType", "SOAP::SOAPString"],
209
+ ["clientAccounts", "SOAP::SOAPInt[]"],
210
+ ["crossClient", "SOAP::SOAPBoolean"],
211
211
  ["endDate", "DateTime"],
212
- ["id", "Long"],
213
- ["name", "String"],
212
+ ["id", "SOAP::SOAPLong"],
213
+ ["name", "SOAP::SOAPString"],
214
214
  ["startDate", "DateTime"],
215
- ["status", "ReportJobStatus"]
215
+ ["status", "SOAP::SOAPString"]
216
216
  ]
217
217
 
218
218
  attr_accessor :aggregationType
@@ -241,18 +241,18 @@ class KeywordReportJob
241
241
  @@schema_type = "KeywordReportJob"
242
242
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
243
243
  @@schema_element = [
244
- ["aggregationType", "AggregationType"],
245
- ["clientAccounts", "Int[]"],
246
- ["crossClient", "Boolean"],
244
+ ["aggregationType", "SOAP::SOAPString"],
245
+ ["clientAccounts", "SOAP::SOAPInt[]"],
246
+ ["crossClient", "SOAP::SOAPBoolean"],
247
247
  ["endDate", "DateTime"],
248
- ["id", "Long"],
249
- ["name", "String"],
248
+ ["id", "SOAP::SOAPLong"],
249
+ ["name", "SOAP::SOAPString"],
250
250
  ["startDate", "DateTime"],
251
- ["status", "ReportJobStatus"],
252
- ["adWordsType", "AdWordsType"],
253
- ["campaigns", "Int[]"],
254
- ["keywordStatuses", "KeywordStatus[]"],
255
- ["keywordType", "KeywordType"]
251
+ ["status", "SOAP::SOAPString"],
252
+ ["adWordsType", "SOAP::SOAPString"],
253
+ ["campaigns", "SOAP::SOAPInt[]"],
254
+ ["keywordStatuses", "SOAP::SOAPString[]"],
255
+ ["keywordType", "SOAP::SOAPString"]
256
256
  ]
257
257
 
258
258
  attr_accessor :aggregationType
@@ -289,16 +289,16 @@ class AdTextReportJob
289
289
  @@schema_type = "AdTextReportJob"
290
290
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
291
291
  @@schema_element = [
292
- ["aggregationType", "AggregationType"],
293
- ["clientAccounts", "Int[]"],
294
- ["crossClient", "Boolean"],
292
+ ["aggregationType", "SOAP::SOAPString"],
293
+ ["clientAccounts", "SOAP::SOAPInt[]"],
294
+ ["crossClient", "SOAP::SOAPBoolean"],
295
295
  ["endDate", "DateTime"],
296
- ["id", "Long"],
297
- ["name", "String"],
296
+ ["id", "SOAP::SOAPLong"],
297
+ ["name", "SOAP::SOAPString"],
298
298
  ["startDate", "DateTime"],
299
- ["status", "ReportJobStatus"],
300
- ["adWordsType", "AdWordsType"],
301
- ["campaigns", "Int[]"]
299
+ ["status", "SOAP::SOAPString"],
300
+ ["adWordsType", "SOAP::SOAPString"],
301
+ ["campaigns", "SOAP::SOAPInt[]"]
302
302
  ]
303
303
 
304
304
  attr_accessor :aggregationType
@@ -331,16 +331,16 @@ class UrlReportJob
331
331
  @@schema_type = "UrlReportJob"
332
332
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
333
333
  @@schema_element = [
334
- ["aggregationType", "AggregationType"],
335
- ["clientAccounts", "Int[]"],
336
- ["crossClient", "Boolean"],
334
+ ["aggregationType", "SOAP::SOAPString"],
335
+ ["clientAccounts", "SOAP::SOAPInt[]"],
336
+ ["crossClient", "SOAP::SOAPBoolean"],
337
337
  ["endDate", "DateTime"],
338
- ["id", "Long"],
339
- ["name", "String"],
338
+ ["id", "SOAP::SOAPLong"],
339
+ ["name", "SOAP::SOAPString"],
340
340
  ["startDate", "DateTime"],
341
- ["status", "ReportJobStatus"],
342
- ["adWordsType", "AdWordsType"],
343
- ["campaigns", "Int[]"]
341
+ ["status", "SOAP::SOAPString"],
342
+ ["adWordsType", "SOAP::SOAPString"],
343
+ ["campaigns", "SOAP::SOAPInt[]"]
344
344
  ]
345
345
 
346
346
  attr_accessor :aggregationType
@@ -373,23 +373,23 @@ class CustomReportJob
373
373
  @@schema_type = "CustomReportJob"
374
374
  @@schema_ns = "https://adwords.google.com/api/adwords/v3"
375
375
  @@schema_element = [
376
- ["aggregationType", "AggregationType"],
377
- ["clientAccounts", "Int[]"],
378
- ["crossClient", "Boolean"],
376
+ ["aggregationType", "SOAP::SOAPString"],
377
+ ["clientAccounts", "SOAP::SOAPInt[]"],
378
+ ["crossClient", "SOAP::SOAPBoolean"],
379
379
  ["endDate", "DateTime"],
380
- ["id", "Long"],
381
- ["name", "String"],
380
+ ["id", "SOAP::SOAPLong"],
381
+ ["name", "SOAP::SOAPString"],
382
382
  ["startDate", "DateTime"],
383
- ["status", "ReportJobStatus"],
384
- ["adGroupStatuses", "AdGroupStatus[]"],
385
- ["adGroups", "Int[]"],
386
- ["adWordsType", "AdWordsType"],
387
- ["campaignStatuses", "CampaignStatus[]"],
388
- ["campaigns", "Int[]"],
389
- ["customOptions", "CustomReportOption[]"],
390
- ["keywordStatuses", "KeywordStatus[]"],
391
- ["keywordType", "KeywordType"],
392
- ["keywords", "String[]"]
383
+ ["status", "SOAP::SOAPString"],
384
+ ["adGroupStatuses", "SOAP::SOAPString[]"],
385
+ ["adGroups", "SOAP::SOAPInt[]"],
386
+ ["adWordsType", "SOAP::SOAPString"],
387
+ ["campaignStatuses", "SOAP::SOAPString[]"],
388
+ ["campaigns", "SOAP::SOAPInt[]"],
389
+ ["customOptions", "SOAP::SOAPString[]"],
390
+ ["keywordStatuses", "SOAP::SOAPString[]"],
391
+ ["keywordType", "SOAP::SOAPString"],
392
+ ["keywords", "SOAP::SOAPString[]"]
393
393
  ]
394
394
 
395
395
  attr_accessor :aggregationType