adwords4r 11.1.0 → 12.0.0
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.
- data/ChangeLog.txt +4 -0
- data/Rakefile +76 -70
- data/examples/campaign.rb +40 -0
- data/examples/{old/framework.rb → framework.rb} +0 -0
- data/examples/{old/get_free_usage_this_month.rb → get_free_usage_this_month.rb} +8 -6
- data/examples/get_unit_count.rb +21 -0
- data/examples/keyword_suggestions.rb +179 -0
- data/examples/keyword_tool_demo.rb +31 -0
- data/examples/reports.rb +6 -6
- data/examples/traffic_estimator.rb +34 -0
- data/lib/adwords4r.rb +26 -19
- data/lib/adwords4r/credentials.rb +4 -2
- data/lib/adwords4r/services.rb +4 -2
- data/lib/adwords4r/v11/AccountServiceDriver.rb +3 -3
- data/lib/adwords4r/v11/AdGroupServiceDriver.rb +8 -8
- data/lib/adwords4r/v11/AdServiceDriver.rb +10 -10
- data/lib/adwords4r/v11/CampaignServiceDriver.rb +10 -10
- data/lib/adwords4r/v11/CriterionServiceDriver.rb +9 -9
- data/lib/adwords4r/v11/InfoServiceDriver.rb +8 -8
- data/lib/adwords4r/v11/KeywordToolServiceDriver.rb +2 -2
- data/lib/adwords4r/v11/ReportServiceDriver.rb +7 -7
- data/lib/adwords4r/v11/SiteSuggestionServiceDriver.rb +4 -4
- data/lib/adwords4r/v11/TrafficEstimatorServiceDriver.rb +4 -4
- data/lib/adwords4r/{v10 → v12}/AccountService.rb +13 -32
- data/lib/adwords4r/{v10 → v12}/AccountServiceDriver.rb +12 -20
- data/lib/adwords4r/{v10 → v12}/AccountServiceMappingRegistry.rb +23 -38
- data/lib/adwords4r/{v10 → v12}/AdGroupService.rb +43 -37
- data/lib/adwords4r/{v10 → v12}/AdGroupServiceDriver.rb +27 -27
- data/lib/adwords4r/{v10 → v12}/AdGroupServiceMappingRegistry.rb +46 -42
- data/lib/adwords4r/{v10 → v12}/AdService.rb +68 -56
- data/lib/adwords4r/{v10 → v12}/AdServiceDriver.rb +33 -33
- data/lib/adwords4r/{v10 → v12}/AdServiceMappingRegistry.rb +113 -105
- data/lib/adwords4r/{v10 → v12}/CampaignService.rb +99 -44
- data/lib/adwords4r/{v10 → v12}/CampaignServiceDriver.rb +41 -33
- data/lib/adwords4r/{v10 → v12}/CampaignServiceMappingRegistry.rb +143 -65
- data/lib/adwords4r/{v10 → v12}/CriterionService.rb +46 -43
- data/lib/adwords4r/{v10 → v12}/CriterionServiceDriver.rb +30 -30
- data/lib/adwords4r/{v10 → v12}/CriterionServiceMappingRegistry.rb +67 -65
- data/lib/adwords4r/{v10 → v12}/InfoService.rb +19 -19
- data/lib/adwords4r/{v10 → v12}/InfoServiceDriver.rb +27 -27
- data/lib/adwords4r/{v10 → v12}/InfoServiceMappingRegistry.rb +25 -25
- data/lib/adwords4r/{v10 → v12}/KeywordToolService.rb +12 -12
- data/lib/adwords4r/{v10 → v12}/KeywordToolServiceDriver.rb +9 -9
- data/lib/adwords4r/{v10 → v12}/KeywordToolServiceMappingRegistry.rb +23 -23
- data/lib/adwords4r/v12/ReportService.rb +322 -0
- data/lib/adwords4r/{v10 → v12}/ReportServiceDriver.rb +29 -21
- data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +298 -0
- data/lib/adwords4r/{v10 → v12}/SiteSuggestionService.rb +18 -18
- data/lib/adwords4r/{v10 → v12}/SiteSuggestionServiceDriver.rb +15 -15
- data/lib/adwords4r/{v10 → v12}/SiteSuggestionServiceMappingRegistry.rb +45 -45
- data/lib/adwords4r/{v10 → v12}/TrafficEstimatorService.rb +29 -29
- data/lib/adwords4r/{v10 → v12}/TrafficEstimatorServiceDriver.rb +15 -15
- data/lib/adwords4r/{v10 → v12}/TrafficEstimatorServiceMappingRegistry.rb +55 -55
- data/svn-commit.2.tmp +60 -0
- data/svn-commit.tmp +60 -0
- metadata +41 -38
- data/examples/old/campaign.rb +0 -40
- data/examples/old/get_unit_count.rb +0 -21
- data/examples/old/keyword_tool_demo.rb +0 -30
- data/examples/old/traffic_estimator.rb +0 -34
- data/lib/adwords4r/v10/ReportService.rb +0 -652
- data/lib/adwords4r/v10/ReportServiceMappingRegistry.rb +0 -559
@@ -3,7 +3,7 @@ require 'xsd/qname'
|
|
3
3
|
module AdWords; module InfoService
|
4
4
|
|
5
5
|
|
6
|
-
# {https://adwords.google.com/api/adwords/
|
6
|
+
# {https://adwords.google.com/api/adwords/v12}ApiError
|
7
7
|
# code - SOAP::SOAPInt
|
8
8
|
# detail - SOAP::SOAPString
|
9
9
|
# field - SOAP::SOAPString
|
@@ -34,7 +34,7 @@ class ApiError
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
-
# {https://adwords.google.com/api/adwords/
|
37
|
+
# {https://adwords.google.com/api/adwords/v12}ApiException
|
38
38
|
# code - SOAP::SOAPInt
|
39
39
|
# errors - AdWords::InfoService::ApiError
|
40
40
|
# internal - SOAP::SOAPBoolean
|
@@ -56,7 +56,7 @@ class ApiException
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
# {https://adwords.google.com/api/adwords/
|
59
|
+
# {https://adwords.google.com/api/adwords/v12}ClientUsageRecord
|
60
60
|
# clientEmail - SOAP::SOAPString
|
61
61
|
# quotaUnits - SOAP::SOAPLong
|
62
62
|
class ClientUsageRecord
|
@@ -69,13 +69,13 @@ class ClientUsageRecord
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
# {https://adwords.google.com/api/adwords/
|
72
|
+
# {https://adwords.google.com/api/adwords/v12}getFreeUsageQuotaThisMonth
|
73
73
|
class GetFreeUsageQuotaThisMonth
|
74
74
|
def initialize
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
# {https://adwords.google.com/api/adwords/
|
78
|
+
# {https://adwords.google.com/api/adwords/v12}getFreeUsageQuotaThisMonthResponse
|
79
79
|
# getFreeUsageQuotaThisMonthReturn - SOAP::SOAPLong
|
80
80
|
class GetFreeUsageQuotaThisMonthResponse
|
81
81
|
attr_accessor :getFreeUsageQuotaThisMonthReturn
|
@@ -85,7 +85,7 @@ class GetFreeUsageQuotaThisMonthResponse
|
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
88
|
-
# {https://adwords.google.com/api/adwords/
|
88
|
+
# {https://adwords.google.com/api/adwords/v12}getMethodCost
|
89
89
|
# service - SOAP::SOAPString
|
90
90
|
# method - SOAP::SOAPString
|
91
91
|
# date - SOAP::SOAPDate
|
@@ -101,7 +101,7 @@ class GetMethodCost
|
|
101
101
|
end
|
102
102
|
end
|
103
103
|
|
104
|
-
# {https://adwords.google.com/api/adwords/
|
104
|
+
# {https://adwords.google.com/api/adwords/v12}getMethodCostResponse
|
105
105
|
# getMethodCostReturn - SOAP::SOAPInt
|
106
106
|
class GetMethodCostResponse
|
107
107
|
attr_accessor :getMethodCostReturn
|
@@ -111,7 +111,7 @@ class GetMethodCostResponse
|
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
|
-
# {https://adwords.google.com/api/adwords/
|
114
|
+
# {https://adwords.google.com/api/adwords/v12}getOperationCount
|
115
115
|
# startDate - SOAP::SOAPDate
|
116
116
|
# endDate - SOAP::SOAPDate
|
117
117
|
class GetOperationCount
|
@@ -124,7 +124,7 @@ class GetOperationCount
|
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
127
|
-
# {https://adwords.google.com/api/adwords/
|
127
|
+
# {https://adwords.google.com/api/adwords/v12}getOperationCountResponse
|
128
128
|
# getOperationCountReturn - SOAP::SOAPLong
|
129
129
|
class GetOperationCountResponse
|
130
130
|
attr_accessor :getOperationCountReturn
|
@@ -134,13 +134,13 @@ class GetOperationCountResponse
|
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
137
|
-
# {https://adwords.google.com/api/adwords/
|
137
|
+
# {https://adwords.google.com/api/adwords/v12}getOperationsQuotaThisMonth
|
138
138
|
class GetOperationsQuotaThisMonth
|
139
139
|
def initialize
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
143
|
-
# {https://adwords.google.com/api/adwords/
|
143
|
+
# {https://adwords.google.com/api/adwords/v12}getOperationsQuotaThisMonthResponse
|
144
144
|
# getOperationsQuotaThisMonthReturn - SOAP::SOAPLong
|
145
145
|
class GetOperationsQuotaThisMonthResponse
|
146
146
|
attr_accessor :getOperationsQuotaThisMonthReturn
|
@@ -150,7 +150,7 @@ class GetOperationsQuotaThisMonthResponse
|
|
150
150
|
end
|
151
151
|
end
|
152
152
|
|
153
|
-
# {https://adwords.google.com/api/adwords/
|
153
|
+
# {https://adwords.google.com/api/adwords/v12}getUnitCount
|
154
154
|
# startDate - SOAP::SOAPDate
|
155
155
|
# endDate - SOAP::SOAPDate
|
156
156
|
class GetUnitCount
|
@@ -163,7 +163,7 @@ class GetUnitCount
|
|
163
163
|
end
|
164
164
|
end
|
165
165
|
|
166
|
-
# {https://adwords.google.com/api/adwords/
|
166
|
+
# {https://adwords.google.com/api/adwords/v12}getUnitCountForClients
|
167
167
|
# clientEmails - SOAP::SOAPString
|
168
168
|
# startDate - SOAP::SOAPDate
|
169
169
|
# endDate - SOAP::SOAPDate
|
@@ -179,11 +179,11 @@ class GetUnitCountForClients
|
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
182
|
-
# {https://adwords.google.com/api/adwords/
|
182
|
+
# {https://adwords.google.com/api/adwords/v12}getUnitCountForClientsResponse
|
183
183
|
class GetUnitCountForClientsResponse < ::Array
|
184
184
|
end
|
185
185
|
|
186
|
-
# {https://adwords.google.com/api/adwords/
|
186
|
+
# {https://adwords.google.com/api/adwords/v12}getUnitCountForMethod
|
187
187
|
# service - SOAP::SOAPString
|
188
188
|
# method - SOAP::SOAPString
|
189
189
|
# startDate - SOAP::SOAPDate
|
@@ -202,7 +202,7 @@ class GetUnitCountForMethod
|
|
202
202
|
end
|
203
203
|
end
|
204
204
|
|
205
|
-
# {https://adwords.google.com/api/adwords/
|
205
|
+
# {https://adwords.google.com/api/adwords/v12}getUnitCountForMethodResponse
|
206
206
|
# getUnitCountForMethodReturn - SOAP::SOAPLong
|
207
207
|
class GetUnitCountForMethodResponse
|
208
208
|
attr_accessor :getUnitCountForMethodReturn
|
@@ -212,7 +212,7 @@ class GetUnitCountForMethodResponse
|
|
212
212
|
end
|
213
213
|
end
|
214
214
|
|
215
|
-
# {https://adwords.google.com/api/adwords/
|
215
|
+
# {https://adwords.google.com/api/adwords/v12}getUnitCountResponse
|
216
216
|
# getUnitCountReturn - SOAP::SOAPLong
|
217
217
|
class GetUnitCountResponse
|
218
218
|
attr_accessor :getUnitCountReturn
|
@@ -222,13 +222,13 @@ class GetUnitCountResponse
|
|
222
222
|
end
|
223
223
|
end
|
224
224
|
|
225
|
-
# {https://adwords.google.com/api/adwords/
|
225
|
+
# {https://adwords.google.com/api/adwords/v12}getUsageQuotaThisMonth
|
226
226
|
class GetUsageQuotaThisMonth
|
227
227
|
def initialize
|
228
228
|
end
|
229
229
|
end
|
230
230
|
|
231
|
-
# {https://adwords.google.com/api/adwords/
|
231
|
+
# {https://adwords.google.com/api/adwords/v12}getUsageQuotaThisMonthResponse
|
232
232
|
# getUsageQuotaThisMonthReturn - SOAP::SOAPLong
|
233
233
|
class GetUsageQuotaThisMonthResponse
|
234
234
|
attr_accessor :getUsageQuotaThisMonthReturn
|
@@ -1,77 +1,77 @@
|
|
1
|
-
require 'adwords4r/
|
2
|
-
require 'adwords4r/
|
1
|
+
require 'adwords4r/v12/InfoService'
|
2
|
+
require 'adwords4r/v12/InfoServiceMappingRegistry'
|
3
3
|
require 'soap/rpc/driver'
|
4
4
|
|
5
5
|
module AdWords
|
6
6
|
module InfoService
|
7
7
|
|
8
8
|
class InfoInterface < ::SOAP::RPC::Driver
|
9
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/
|
9
|
+
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v12/InfoService"
|
10
10
|
|
11
11
|
Methods = [
|
12
12
|
[ "",
|
13
13
|
"getFreeUsageQuotaThisMonth",
|
14
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
15
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
14
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getFreeUsageQuotaThisMonth"]],
|
15
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getFreeUsageQuotaThisMonthResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
18
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"getMethodCost",
|
22
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
23
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
22
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getMethodCost"]],
|
23
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getMethodCostResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
26
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"getOperationCount",
|
30
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
31
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
30
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getOperationCount"]],
|
31
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getOperationCountResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
34
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"getOperationsQuotaThisMonth",
|
38
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
39
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
38
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getOperationsQuotaThisMonth"]],
|
39
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getOperationsQuotaThisMonthResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
42
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
43
43
|
],
|
44
44
|
[ "",
|
45
45
|
"getUnitCount",
|
46
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
47
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
46
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getUnitCount"]],
|
47
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getUnitCountResponse"]] ],
|
48
48
|
{ :request_style => :document, :request_use => :literal,
|
49
49
|
:response_style => :document, :response_use => :literal,
|
50
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
50
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
51
51
|
],
|
52
52
|
[ "",
|
53
53
|
"getUnitCountForClients",
|
54
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
55
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
54
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getUnitCountForClients"]],
|
55
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getUnitCountForClientsResponse"]] ],
|
56
56
|
{ :request_style => :document, :request_use => :literal,
|
57
57
|
:response_style => :document, :response_use => :literal,
|
58
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
58
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
59
59
|
],
|
60
60
|
[ "",
|
61
61
|
"getUnitCountForMethod",
|
62
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
63
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
62
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getUnitCountForMethod"]],
|
63
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getUnitCountForMethodResponse"]] ],
|
64
64
|
{ :request_style => :document, :request_use => :literal,
|
65
65
|
:response_style => :document, :response_use => :literal,
|
66
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
66
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
67
67
|
],
|
68
68
|
[ "",
|
69
69
|
"getUsageQuotaThisMonth",
|
70
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
71
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
70
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getUsageQuotaThisMonth"]],
|
71
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getUsageQuotaThisMonthResponse"]] ],
|
72
72
|
{ :request_style => :document, :request_use => :literal,
|
73
73
|
:response_style => :document, :response_use => :literal,
|
74
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
74
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
75
75
|
]
|
76
76
|
]
|
77
77
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'adwords4r/
|
1
|
+
require 'adwords4r/v12/InfoService'
|
2
2
|
require 'soap/mapping'
|
3
3
|
|
4
4
|
module AdWords; module InfoService
|
@@ -6,11 +6,11 @@ module AdWords; module InfoService
|
|
6
6
|
module DefaultMappingRegistry
|
7
7
|
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
8
8
|
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
9
|
-
|
9
|
+
NsV12 = "https://adwords.google.com/api/adwords/v12"
|
10
10
|
|
11
11
|
EncodedRegistry.register(
|
12
12
|
:class => AdWords::InfoService::ApiError,
|
13
|
-
:schema_type => XSD::QName.new(
|
13
|
+
:schema_type => XSD::QName.new(NsV12, "ApiError"),
|
14
14
|
:schema_element => [
|
15
15
|
["code", "SOAP::SOAPInt"],
|
16
16
|
["detail", "SOAP::SOAPString"],
|
@@ -25,7 +25,7 @@ module DefaultMappingRegistry
|
|
25
25
|
|
26
26
|
EncodedRegistry.register(
|
27
27
|
:class => AdWords::InfoService::ApiException,
|
28
|
-
:schema_type => XSD::QName.new(
|
28
|
+
:schema_type => XSD::QName.new(NsV12, "ApiException"),
|
29
29
|
:schema_element => [
|
30
30
|
["code", "SOAP::SOAPInt"],
|
31
31
|
["errors", "AdWords::InfoService::ApiError[]", [1, nil]],
|
@@ -37,7 +37,7 @@ module DefaultMappingRegistry
|
|
37
37
|
|
38
38
|
EncodedRegistry.register(
|
39
39
|
:class => AdWords::InfoService::ClientUsageRecord,
|
40
|
-
:schema_type => XSD::QName.new(
|
40
|
+
:schema_type => XSD::QName.new(NsV12, "ClientUsageRecord"),
|
41
41
|
:schema_element => [
|
42
42
|
["clientEmail", "SOAP::SOAPString"],
|
43
43
|
["quotaUnits", "SOAP::SOAPLong"]
|
@@ -46,7 +46,7 @@ module DefaultMappingRegistry
|
|
46
46
|
|
47
47
|
LiteralRegistry.register(
|
48
48
|
:class => AdWords::InfoService::ApiError,
|
49
|
-
:schema_type => XSD::QName.new(
|
49
|
+
:schema_type => XSD::QName.new(NsV12, "ApiError"),
|
50
50
|
:schema_element => [
|
51
51
|
["code", "SOAP::SOAPInt"],
|
52
52
|
["detail", "SOAP::SOAPString"],
|
@@ -61,7 +61,7 @@ module DefaultMappingRegistry
|
|
61
61
|
|
62
62
|
LiteralRegistry.register(
|
63
63
|
:class => AdWords::InfoService::ApiException,
|
64
|
-
:schema_type => XSD::QName.new(
|
64
|
+
:schema_type => XSD::QName.new(NsV12, "ApiException"),
|
65
65
|
:schema_element => [
|
66
66
|
["code", "SOAP::SOAPInt"],
|
67
67
|
["errors", "AdWords::InfoService::ApiError[]", [1, nil]],
|
@@ -73,7 +73,7 @@ module DefaultMappingRegistry
|
|
73
73
|
|
74
74
|
LiteralRegistry.register(
|
75
75
|
:class => AdWords::InfoService::ClientUsageRecord,
|
76
|
-
:schema_type => XSD::QName.new(
|
76
|
+
:schema_type => XSD::QName.new(NsV12, "ClientUsageRecord"),
|
77
77
|
:schema_element => [
|
78
78
|
["clientEmail", "SOAP::SOAPString"],
|
79
79
|
["quotaUnits", "SOAP::SOAPLong"]
|
@@ -82,7 +82,7 @@ module DefaultMappingRegistry
|
|
82
82
|
|
83
83
|
LiteralRegistry.register(
|
84
84
|
:class => AdWords::InfoService::ApiException,
|
85
|
-
:schema_name => XSD::QName.new(
|
85
|
+
:schema_name => XSD::QName.new(NsV12, "fault"),
|
86
86
|
:schema_element => [
|
87
87
|
["code", "SOAP::SOAPInt"],
|
88
88
|
["errors", "AdWords::InfoService::ApiError[]", [1, nil]],
|
@@ -94,13 +94,13 @@ module DefaultMappingRegistry
|
|
94
94
|
|
95
95
|
LiteralRegistry.register(
|
96
96
|
:class => AdWords::InfoService::GetFreeUsageQuotaThisMonth,
|
97
|
-
:schema_name => XSD::QName.new(
|
97
|
+
:schema_name => XSD::QName.new(NsV12, "getFreeUsageQuotaThisMonth"),
|
98
98
|
:schema_element => []
|
99
99
|
)
|
100
100
|
|
101
101
|
LiteralRegistry.register(
|
102
102
|
:class => AdWords::InfoService::GetFreeUsageQuotaThisMonthResponse,
|
103
|
-
:schema_name => XSD::QName.new(
|
103
|
+
:schema_name => XSD::QName.new(NsV12, "getFreeUsageQuotaThisMonthResponse"),
|
104
104
|
:schema_element => [
|
105
105
|
["getFreeUsageQuotaThisMonthReturn", "SOAP::SOAPLong"]
|
106
106
|
]
|
@@ -108,7 +108,7 @@ module DefaultMappingRegistry
|
|
108
108
|
|
109
109
|
LiteralRegistry.register(
|
110
110
|
:class => AdWords::InfoService::GetMethodCost,
|
111
|
-
:schema_name => XSD::QName.new(
|
111
|
+
:schema_name => XSD::QName.new(NsV12, "getMethodCost"),
|
112
112
|
:schema_element => [
|
113
113
|
["service", "SOAP::SOAPString"],
|
114
114
|
["method", "SOAP::SOAPString"],
|
@@ -118,7 +118,7 @@ module DefaultMappingRegistry
|
|
118
118
|
|
119
119
|
LiteralRegistry.register(
|
120
120
|
:class => AdWords::InfoService::GetMethodCostResponse,
|
121
|
-
:schema_name => XSD::QName.new(
|
121
|
+
:schema_name => XSD::QName.new(NsV12, "getMethodCostResponse"),
|
122
122
|
:schema_element => [
|
123
123
|
["getMethodCostReturn", "SOAP::SOAPInt"]
|
124
124
|
]
|
@@ -126,7 +126,7 @@ module DefaultMappingRegistry
|
|
126
126
|
|
127
127
|
LiteralRegistry.register(
|
128
128
|
:class => AdWords::InfoService::GetOperationCount,
|
129
|
-
:schema_name => XSD::QName.new(
|
129
|
+
:schema_name => XSD::QName.new(NsV12, "getOperationCount"),
|
130
130
|
:schema_element => [
|
131
131
|
["startDate", "SOAP::SOAPDate"],
|
132
132
|
["endDate", "SOAP::SOAPDate"]
|
@@ -135,7 +135,7 @@ module DefaultMappingRegistry
|
|
135
135
|
|
136
136
|
LiteralRegistry.register(
|
137
137
|
:class => AdWords::InfoService::GetOperationCountResponse,
|
138
|
-
:schema_name => XSD::QName.new(
|
138
|
+
:schema_name => XSD::QName.new(NsV12, "getOperationCountResponse"),
|
139
139
|
:schema_element => [
|
140
140
|
["getOperationCountReturn", "SOAP::SOAPLong"]
|
141
141
|
]
|
@@ -143,13 +143,13 @@ module DefaultMappingRegistry
|
|
143
143
|
|
144
144
|
LiteralRegistry.register(
|
145
145
|
:class => AdWords::InfoService::GetOperationsQuotaThisMonth,
|
146
|
-
:schema_name => XSD::QName.new(
|
146
|
+
:schema_name => XSD::QName.new(NsV12, "getOperationsQuotaThisMonth"),
|
147
147
|
:schema_element => []
|
148
148
|
)
|
149
149
|
|
150
150
|
LiteralRegistry.register(
|
151
151
|
:class => AdWords::InfoService::GetOperationsQuotaThisMonthResponse,
|
152
|
-
:schema_name => XSD::QName.new(
|
152
|
+
:schema_name => XSD::QName.new(NsV12, "getOperationsQuotaThisMonthResponse"),
|
153
153
|
:schema_element => [
|
154
154
|
["getOperationsQuotaThisMonthReturn", "SOAP::SOAPLong"]
|
155
155
|
]
|
@@ -157,7 +157,7 @@ module DefaultMappingRegistry
|
|
157
157
|
|
158
158
|
LiteralRegistry.register(
|
159
159
|
:class => AdWords::InfoService::GetUnitCount,
|
160
|
-
:schema_name => XSD::QName.new(
|
160
|
+
:schema_name => XSD::QName.new(NsV12, "getUnitCount"),
|
161
161
|
:schema_element => [
|
162
162
|
["startDate", "SOAP::SOAPDate"],
|
163
163
|
["endDate", "SOAP::SOAPDate"]
|
@@ -166,7 +166,7 @@ module DefaultMappingRegistry
|
|
166
166
|
|
167
167
|
LiteralRegistry.register(
|
168
168
|
:class => AdWords::InfoService::GetUnitCountForClients,
|
169
|
-
:schema_name => XSD::QName.new(
|
169
|
+
:schema_name => XSD::QName.new(NsV12, "getUnitCountForClients"),
|
170
170
|
:schema_element => [
|
171
171
|
["clientEmails", "SOAP::SOAPString[]", [1, nil]],
|
172
172
|
["startDate", "SOAP::SOAPDate"],
|
@@ -176,7 +176,7 @@ module DefaultMappingRegistry
|
|
176
176
|
|
177
177
|
LiteralRegistry.register(
|
178
178
|
:class => AdWords::InfoService::GetUnitCountForClientsResponse,
|
179
|
-
:schema_name => XSD::QName.new(
|
179
|
+
:schema_name => XSD::QName.new(NsV12, "getUnitCountForClientsResponse"),
|
180
180
|
:schema_element => [
|
181
181
|
["getUnitCountForClientsReturn", "AdWords::InfoService::ClientUsageRecord[]", [1, nil]]
|
182
182
|
]
|
@@ -184,7 +184,7 @@ module DefaultMappingRegistry
|
|
184
184
|
|
185
185
|
LiteralRegistry.register(
|
186
186
|
:class => AdWords::InfoService::GetUnitCountForMethod,
|
187
|
-
:schema_name => XSD::QName.new(
|
187
|
+
:schema_name => XSD::QName.new(NsV12, "getUnitCountForMethod"),
|
188
188
|
:schema_element => [
|
189
189
|
["service", "SOAP::SOAPString"],
|
190
190
|
["method", "SOAP::SOAPString"],
|
@@ -195,7 +195,7 @@ module DefaultMappingRegistry
|
|
195
195
|
|
196
196
|
LiteralRegistry.register(
|
197
197
|
:class => AdWords::InfoService::GetUnitCountForMethodResponse,
|
198
|
-
:schema_name => XSD::QName.new(
|
198
|
+
:schema_name => XSD::QName.new(NsV12, "getUnitCountForMethodResponse"),
|
199
199
|
:schema_element => [
|
200
200
|
["getUnitCountForMethodReturn", "SOAP::SOAPLong"]
|
201
201
|
]
|
@@ -203,7 +203,7 @@ module DefaultMappingRegistry
|
|
203
203
|
|
204
204
|
LiteralRegistry.register(
|
205
205
|
:class => AdWords::InfoService::GetUnitCountResponse,
|
206
|
-
:schema_name => XSD::QName.new(
|
206
|
+
:schema_name => XSD::QName.new(NsV12, "getUnitCountResponse"),
|
207
207
|
:schema_element => [
|
208
208
|
["getUnitCountReturn", "SOAP::SOAPLong"]
|
209
209
|
]
|
@@ -211,13 +211,13 @@ module DefaultMappingRegistry
|
|
211
211
|
|
212
212
|
LiteralRegistry.register(
|
213
213
|
:class => AdWords::InfoService::GetUsageQuotaThisMonth,
|
214
|
-
:schema_name => XSD::QName.new(
|
214
|
+
:schema_name => XSD::QName.new(NsV12, "getUsageQuotaThisMonth"),
|
215
215
|
:schema_element => []
|
216
216
|
)
|
217
217
|
|
218
218
|
LiteralRegistry.register(
|
219
219
|
:class => AdWords::InfoService::GetUsageQuotaThisMonthResponse,
|
220
|
-
:schema_name => XSD::QName.new(
|
220
|
+
:schema_name => XSD::QName.new(NsV12, "getUsageQuotaThisMonthResponse"),
|
221
221
|
:schema_element => [
|
222
222
|
["getUsageQuotaThisMonthReturn", "SOAP::SOAPLong"]
|
223
223
|
]
|