adwords4r 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.txt +1 -1
- data/Rakefile +21 -10
- data/examples/campaign.rb +5 -2
- data/examples/get_unit_count.rb +16 -0
- data/lib/adwords4r.rb +4 -5
- data/lib/adwords4r/v2/AccountService.rb +2 -2
- data/lib/adwords4r/v2/AccountServiceDriver.rb +1 -3
- data/lib/adwords4r/v2/AdGroupService.rb +1 -1
- data/lib/adwords4r/v2/AdGroupServiceDriver.rb +1 -3
- data/lib/adwords4r/v2/CampaignService.rb +4 -4
- data/lib/adwords4r/v2/CampaignServiceDriver.rb +1 -3
- data/lib/adwords4r/v2/CreativeService.rb +1 -1
- data/lib/adwords4r/v2/CreativeServiceDriver.rb +1 -3
- data/lib/adwords4r/v2/CriterionService.rb +4 -4
- data/lib/adwords4r/v2/CriterionServiceDriver.rb +1 -3
- data/lib/adwords4r/v2/InfoService.rb +23 -23
- data/lib/adwords4r/v2/InfoServiceDriver.rb +1 -3
- data/lib/adwords4r/v2/KeywordService.rb +3 -3
- data/lib/adwords4r/v2/KeywordServiceDriver.rb +1 -3
- data/lib/adwords4r/v2/ReportService.rb +60 -60
- data/lib/adwords4r/v2/ReportServiceDriver.rb +1 -3
- data/lib/adwords4r/v2/TrafficEstimatorService.rb +24 -24
- data/lib/adwords4r/v2/TrafficEstimatorServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/AccountService.rb +2 -2
- data/lib/adwords4r/v3/AccountServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/AdGroupService.rb +1 -1
- data/lib/adwords4r/v3/AdGroupServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/CampaignService.rb +5 -5
- data/lib/adwords4r/v3/CampaignServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/CreativeService.rb +1 -1
- data/lib/adwords4r/v3/CreativeServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/CriterionService.rb +4 -4
- data/lib/adwords4r/v3/CriterionServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/InfoService.rb +23 -23
- data/lib/adwords4r/v3/InfoServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/KeywordService.rb +3 -3
- data/lib/adwords4r/v3/KeywordServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/KeywordToolService.rb +1 -1
- data/lib/adwords4r/v3/KeywordToolServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/ReportService.rb +60 -60
- data/lib/adwords4r/v3/ReportServiceDriver.rb +1 -3
- data/lib/adwords4r/v3/TrafficEstimatorService.rb +23 -23
- data/lib/adwords4r/v3/TrafficEstimatorServiceDriver.rb +1 -3
- 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
|
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", "
|
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", "
|
389
|
+
["status", "SOAP::SOAPString"],
|
390
390
|
["negative", "SOAP::SOAPBoolean"],
|
391
391
|
["destinationUrl", "SOAP::SOAPString"],
|
392
|
-
["type", "
|
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
|
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", "
|
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", "
|
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", "
|
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", "
|
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", "
|
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", "
|
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", "
|
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", "
|
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", "
|
182
|
-
["internal", "
|
183
|
-
["message", "
|
184
|
-
["trigger", "
|
185
|
-
["violations", "
|
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", "
|
209
|
-
["name", "
|
210
|
-
["aggregationType", "
|
208
|
+
["id", "SOAP::SOAPLong"],
|
209
|
+
["name", "SOAP::SOAPString"],
|
210
|
+
["aggregationType", "SOAP::SOAPString"],
|
211
211
|
["startDate", "DateTime"],
|
212
212
|
["endDate", "DateTime"],
|
213
|
-
["status", "
|
214
|
-
["crossClient", "
|
215
|
-
["clientAccounts", "
|
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", "
|
245
|
-
["name", "
|
246
|
-
["aggregationType", "
|
244
|
+
["id", "SOAP::SOAPLong"],
|
245
|
+
["name", "SOAP::SOAPString"],
|
246
|
+
["aggregationType", "SOAP::SOAPString"],
|
247
247
|
["startDate", "DateTime"],
|
248
248
|
["endDate", "DateTime"],
|
249
|
-
["status", "
|
250
|
-
["crossClient", "
|
251
|
-
["clientAccounts", "
|
252
|
-
["adWordsType", "
|
253
|
-
["keywordStatuses", "
|
254
|
-
["keywordType", "
|
255
|
-
["campaigns", "
|
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", "
|
293
|
-
["name", "
|
294
|
-
["aggregationType", "
|
292
|
+
["id", "SOAP::SOAPLong"],
|
293
|
+
["name", "SOAP::SOAPString"],
|
294
|
+
["aggregationType", "SOAP::SOAPString"],
|
295
295
|
["startDate", "DateTime"],
|
296
296
|
["endDate", "DateTime"],
|
297
|
-
["status", "
|
298
|
-
["crossClient", "
|
299
|
-
["clientAccounts", "
|
300
|
-
["adWordsType", "
|
301
|
-
["campaigns", "
|
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", "
|
335
|
-
["name", "
|
336
|
-
["aggregationType", "
|
334
|
+
["id", "SOAP::SOAPLong"],
|
335
|
+
["name", "SOAP::SOAPString"],
|
336
|
+
["aggregationType", "SOAP::SOAPString"],
|
337
337
|
["startDate", "DateTime"],
|
338
338
|
["endDate", "DateTime"],
|
339
|
-
["status", "
|
340
|
-
["crossClient", "
|
341
|
-
["clientAccounts", "
|
342
|
-
["adWordsType", "
|
343
|
-
["campaigns", "
|
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", "
|
377
|
-
["name", "
|
378
|
-
["aggregationType", "
|
376
|
+
["id", "SOAP::SOAPLong"],
|
377
|
+
["name", "SOAP::SOAPString"],
|
378
|
+
["aggregationType", "SOAP::SOAPString"],
|
379
379
|
["startDate", "DateTime"],
|
380
380
|
["endDate", "DateTime"],
|
381
|
-
["status", "
|
382
|
-
["crossClient", "
|
383
|
-
["clientAccounts", "
|
384
|
-
["keywords", "
|
385
|
-
["keywordStatuses", "
|
386
|
-
["keywordType", "
|
387
|
-
["campaignStatuses", "
|
388
|
-
["campaigns", "
|
389
|
-
["adGroupStatuses", "
|
390
|
-
["adGroups", "
|
391
|
-
["adWordsType", "
|
392
|
-
["customOptions", "
|
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
|
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", "
|
51
|
-
["internal", "
|
52
|
-
["message", "
|
53
|
-
["trigger", "
|
54
|
-
["violations", "
|
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", "
|
78
|
-
["optInSearchNetwork", "
|
79
|
-
["optInContentNetwork", "
|
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", "
|
108
|
-
["maxCpc", "
|
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", "
|
129
|
-
["type", "
|
130
|
-
["text", "
|
131
|
-
["maxCpc", "
|
132
|
-
["negative", "
|
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", "
|
156
|
-
["regions", "
|
157
|
-
["metros", "
|
158
|
-
["cities", "
|
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", ["
|
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", "
|
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", "
|
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", "
|
222
|
+
["id", "SOAP::SOAPLong"],
|
223
223
|
["clicksPerDay", "Float"],
|
224
|
-
["cpc", "
|
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
|
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", "
|
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", "
|
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
|
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
|