adwords4r 11.1.0 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -1,559 +0,0 @@
|
|
1
|
-
require 'adwords4r/v10/ReportService'
|
2
|
-
require 'soap/mapping'
|
3
|
-
|
4
|
-
module AdWords; module ReportService
|
5
|
-
|
6
|
-
module DefaultMappingRegistry
|
7
|
-
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
8
|
-
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
9
|
-
NsV10 = "https://adwords.google.com/api/adwords/v10"
|
10
|
-
|
11
|
-
EncodedRegistry.register(
|
12
|
-
:class => AdWords::ReportService::AccountReportJob,
|
13
|
-
:schema_type => XSD::QName.new(NsV10, "AccountReportJob"),
|
14
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
15
|
-
:schema_element => [
|
16
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
17
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
18
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
19
|
-
["endDay", "SOAP::SOAPDate"],
|
20
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
21
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
22
|
-
["startDay", "SOAP::SOAPDate"],
|
23
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
24
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]]
|
25
|
-
]
|
26
|
-
)
|
27
|
-
|
28
|
-
EncodedRegistry.register(
|
29
|
-
:class => AdWords::ReportService::AdGroupReportJob,
|
30
|
-
:schema_type => XSD::QName.new(NsV10, "AdGroupReportJob"),
|
31
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
32
|
-
:schema_element => [
|
33
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
34
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
35
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
36
|
-
["endDay", "SOAP::SOAPDate"],
|
37
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
38
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
39
|
-
["startDay", "SOAP::SOAPDate"],
|
40
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
41
|
-
["adGroupStatuses", "AdWords::ReportService::AdGroupStatus[]", [0, nil]],
|
42
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
43
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
44
|
-
]
|
45
|
-
)
|
46
|
-
|
47
|
-
EncodedRegistry.register(
|
48
|
-
:class => AdWords::ReportService::AdImageReportJob,
|
49
|
-
:schema_type => XSD::QName.new(NsV10, "AdImageReportJob"),
|
50
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
51
|
-
:schema_element => [
|
52
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
53
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
54
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
55
|
-
["endDay", "SOAP::SOAPDate"],
|
56
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
57
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
58
|
-
["startDay", "SOAP::SOAPDate"],
|
59
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
60
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
61
|
-
]
|
62
|
-
)
|
63
|
-
|
64
|
-
EncodedRegistry.register(
|
65
|
-
:class => AdWords::ReportService::AdTextReportJob,
|
66
|
-
:schema_type => XSD::QName.new(NsV10, "AdTextReportJob"),
|
67
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
68
|
-
:schema_element => [
|
69
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
70
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
71
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
72
|
-
["endDay", "SOAP::SOAPDate"],
|
73
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
74
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
75
|
-
["startDay", "SOAP::SOAPDate"],
|
76
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
77
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
78
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
79
|
-
]
|
80
|
-
)
|
81
|
-
|
82
|
-
EncodedRegistry.register(
|
83
|
-
:class => AdWords::ReportService::ApiError,
|
84
|
-
:schema_type => XSD::QName.new(NsV10, "ApiError"),
|
85
|
-
:schema_element => [
|
86
|
-
["code", "SOAP::SOAPInt"],
|
87
|
-
["detail", "SOAP::SOAPString"],
|
88
|
-
["field", "SOAP::SOAPString", [0, 1]],
|
89
|
-
["index", "SOAP::SOAPInt"],
|
90
|
-
["isExemptable", "SOAP::SOAPBoolean"],
|
91
|
-
["textIndex", "SOAP::SOAPInt", [0, 1]],
|
92
|
-
["textLength", "SOAP::SOAPInt", [0, 1]],
|
93
|
-
["trigger", "SOAP::SOAPString", [0, 1]]
|
94
|
-
]
|
95
|
-
)
|
96
|
-
|
97
|
-
EncodedRegistry.register(
|
98
|
-
:class => AdWords::ReportService::ApiException,
|
99
|
-
:schema_type => XSD::QName.new(NsV10, "ApiException"),
|
100
|
-
:schema_element => [
|
101
|
-
["code", "SOAP::SOAPInt"],
|
102
|
-
["errors", "AdWords::ReportService::ApiError[]", [1, nil]],
|
103
|
-
["internal", "SOAP::SOAPBoolean"],
|
104
|
-
["message", "SOAP::SOAPString"],
|
105
|
-
["trigger", "SOAP::SOAPString"]
|
106
|
-
]
|
107
|
-
)
|
108
|
-
|
109
|
-
EncodedRegistry.register(
|
110
|
-
:class => AdWords::ReportService::CampaignReportJob,
|
111
|
-
:schema_type => XSD::QName.new(NsV10, "CampaignReportJob"),
|
112
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
113
|
-
:schema_element => [
|
114
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
115
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
116
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
117
|
-
["endDay", "SOAP::SOAPDate"],
|
118
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
119
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
120
|
-
["startDay", "SOAP::SOAPDate"],
|
121
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
122
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
123
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
124
|
-
]
|
125
|
-
)
|
126
|
-
|
127
|
-
EncodedRegistry.register(
|
128
|
-
:class => AdWords::ReportService::CustomReportJob,
|
129
|
-
:schema_type => XSD::QName.new(NsV10, "CustomReportJob"),
|
130
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
131
|
-
:schema_element => [
|
132
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
133
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
134
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
135
|
-
["endDay", "SOAP::SOAPDate"],
|
136
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
137
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
138
|
-
["startDay", "SOAP::SOAPDate"],
|
139
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
140
|
-
["adGroupStatuses", "AdWords::ReportService::AdGroupStatus[]", [0, nil]],
|
141
|
-
["adGroups", "SOAP::SOAPInt[]", [0, nil]],
|
142
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
143
|
-
["campaignStatuses", "AdWords::ReportService::CampaignStatus[]", [0, nil]],
|
144
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]],
|
145
|
-
["customOptions", "AdWords::ReportService::CustomReportOption[]", [1, nil]],
|
146
|
-
["includeZeroImpression", "SOAP::SOAPBoolean", [0, 1]],
|
147
|
-
["keywordStatuses", "AdWords::ReportService::KeywordStatus[]", [0, nil]],
|
148
|
-
["keywordType", "AdWords::ReportService::KeywordType", [0, 1]],
|
149
|
-
["keywords", "SOAP::SOAPString[]", [0, nil]]
|
150
|
-
]
|
151
|
-
)
|
152
|
-
|
153
|
-
EncodedRegistry.register(
|
154
|
-
:class => AdWords::ReportService::KeywordReportJob,
|
155
|
-
:schema_type => XSD::QName.new(NsV10, "KeywordReportJob"),
|
156
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
157
|
-
:schema_element => [
|
158
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
159
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
160
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
161
|
-
["endDay", "SOAP::SOAPDate"],
|
162
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
163
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
164
|
-
["startDay", "SOAP::SOAPDate"],
|
165
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
166
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
167
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]],
|
168
|
-
["includeZeroImpression", "SOAP::SOAPBoolean", [0, 1]],
|
169
|
-
["keywordStatuses", "AdWords::ReportService::KeywordStatus[]", [0, nil]],
|
170
|
-
["keywordType", "AdWords::ReportService::KeywordType", [0, 1]]
|
171
|
-
]
|
172
|
-
)
|
173
|
-
|
174
|
-
EncodedRegistry.register(
|
175
|
-
:class => AdWords::ReportService::UrlReportJob,
|
176
|
-
:schema_type => XSD::QName.new(NsV10, "UrlReportJob"),
|
177
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
178
|
-
:schema_element => [
|
179
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
180
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
181
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
182
|
-
["endDay", "SOAP::SOAPDate"],
|
183
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
184
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
185
|
-
["startDay", "SOAP::SOAPDate"],
|
186
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
187
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
188
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
189
|
-
]
|
190
|
-
)
|
191
|
-
|
192
|
-
EncodedRegistry.register(
|
193
|
-
:class => AdWords::ReportService::AdGroupStatus,
|
194
|
-
:schema_type => XSD::QName.new(NsV10, "AdGroupStatus")
|
195
|
-
)
|
196
|
-
|
197
|
-
EncodedRegistry.register(
|
198
|
-
:class => AdWords::ReportService::AdWordsType,
|
199
|
-
:schema_type => XSD::QName.new(NsV10, "AdWordsType")
|
200
|
-
)
|
201
|
-
|
202
|
-
EncodedRegistry.register(
|
203
|
-
:class => AdWords::ReportService::AggregationType,
|
204
|
-
:schema_type => XSD::QName.new(NsV10, "AggregationType")
|
205
|
-
)
|
206
|
-
|
207
|
-
EncodedRegistry.register(
|
208
|
-
:class => AdWords::ReportService::CampaignStatus,
|
209
|
-
:schema_type => XSD::QName.new(NsV10, "CampaignStatus")
|
210
|
-
)
|
211
|
-
|
212
|
-
EncodedRegistry.register(
|
213
|
-
:class => AdWords::ReportService::CustomReportOption,
|
214
|
-
:schema_type => XSD::QName.new(NsV10, "CustomReportOption")
|
215
|
-
)
|
216
|
-
|
217
|
-
EncodedRegistry.register(
|
218
|
-
:class => AdWords::ReportService::KeywordStatus,
|
219
|
-
:schema_type => XSD::QName.new(NsV10, "KeywordStatus")
|
220
|
-
)
|
221
|
-
|
222
|
-
EncodedRegistry.register(
|
223
|
-
:class => AdWords::ReportService::KeywordType,
|
224
|
-
:schema_type => XSD::QName.new(NsV10, "KeywordType")
|
225
|
-
)
|
226
|
-
|
227
|
-
EncodedRegistry.register(
|
228
|
-
:class => AdWords::ReportService::ReportJobStatus,
|
229
|
-
:schema_type => XSD::QName.new(NsV10, "ReportJobStatus")
|
230
|
-
)
|
231
|
-
|
232
|
-
LiteralRegistry.register(
|
233
|
-
:class => AdWords::ReportService::AccountReportJob,
|
234
|
-
:schema_type => XSD::QName.new(NsV10, "AccountReportJob"),
|
235
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
236
|
-
:schema_element => [
|
237
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
238
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
239
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
240
|
-
["endDay", "SOAP::SOAPDate"],
|
241
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
242
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
243
|
-
["startDay", "SOAP::SOAPDate"],
|
244
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
245
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]]
|
246
|
-
]
|
247
|
-
)
|
248
|
-
|
249
|
-
LiteralRegistry.register(
|
250
|
-
:class => AdWords::ReportService::AdGroupReportJob,
|
251
|
-
:schema_type => XSD::QName.new(NsV10, "AdGroupReportJob"),
|
252
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
253
|
-
:schema_element => [
|
254
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
255
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
256
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
257
|
-
["endDay", "SOAP::SOAPDate"],
|
258
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
259
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
260
|
-
["startDay", "SOAP::SOAPDate"],
|
261
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
262
|
-
["adGroupStatuses", "AdWords::ReportService::AdGroupStatus[]", [0, nil]],
|
263
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
264
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
265
|
-
]
|
266
|
-
)
|
267
|
-
|
268
|
-
LiteralRegistry.register(
|
269
|
-
:class => AdWords::ReportService::AdImageReportJob,
|
270
|
-
:schema_type => XSD::QName.new(NsV10, "AdImageReportJob"),
|
271
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
272
|
-
:schema_element => [
|
273
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
274
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
275
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
276
|
-
["endDay", "SOAP::SOAPDate"],
|
277
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
278
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
279
|
-
["startDay", "SOAP::SOAPDate"],
|
280
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
281
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
282
|
-
]
|
283
|
-
)
|
284
|
-
|
285
|
-
LiteralRegistry.register(
|
286
|
-
:class => AdWords::ReportService::AdTextReportJob,
|
287
|
-
:schema_type => XSD::QName.new(NsV10, "AdTextReportJob"),
|
288
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
289
|
-
:schema_element => [
|
290
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
291
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
292
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
293
|
-
["endDay", "SOAP::SOAPDate"],
|
294
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
295
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
296
|
-
["startDay", "SOAP::SOAPDate"],
|
297
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
298
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
299
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
300
|
-
]
|
301
|
-
)
|
302
|
-
|
303
|
-
LiteralRegistry.register(
|
304
|
-
:class => AdWords::ReportService::ApiError,
|
305
|
-
:schema_type => XSD::QName.new(NsV10, "ApiError"),
|
306
|
-
:schema_element => [
|
307
|
-
["code", "SOAP::SOAPInt"],
|
308
|
-
["detail", "SOAP::SOAPString"],
|
309
|
-
["field", "SOAP::SOAPString", [0, 1]],
|
310
|
-
["index", "SOAP::SOAPInt"],
|
311
|
-
["isExemptable", "SOAP::SOAPBoolean"],
|
312
|
-
["textIndex", "SOAP::SOAPInt", [0, 1]],
|
313
|
-
["textLength", "SOAP::SOAPInt", [0, 1]],
|
314
|
-
["trigger", "SOAP::SOAPString", [0, 1]]
|
315
|
-
]
|
316
|
-
)
|
317
|
-
|
318
|
-
LiteralRegistry.register(
|
319
|
-
:class => AdWords::ReportService::ApiException,
|
320
|
-
:schema_type => XSD::QName.new(NsV10, "ApiException"),
|
321
|
-
:schema_element => [
|
322
|
-
["code", "SOAP::SOAPInt"],
|
323
|
-
["errors", "AdWords::ReportService::ApiError[]", [1, nil]],
|
324
|
-
["internal", "SOAP::SOAPBoolean"],
|
325
|
-
["message", "SOAP::SOAPString"],
|
326
|
-
["trigger", "SOAP::SOAPString"]
|
327
|
-
]
|
328
|
-
)
|
329
|
-
|
330
|
-
LiteralRegistry.register(
|
331
|
-
:class => AdWords::ReportService::CampaignReportJob,
|
332
|
-
:schema_type => XSD::QName.new(NsV10, "CampaignReportJob"),
|
333
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
334
|
-
:schema_element => [
|
335
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
336
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
337
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
338
|
-
["endDay", "SOAP::SOAPDate"],
|
339
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
340
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
341
|
-
["startDay", "SOAP::SOAPDate"],
|
342
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
343
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
344
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
345
|
-
]
|
346
|
-
)
|
347
|
-
|
348
|
-
LiteralRegistry.register(
|
349
|
-
:class => AdWords::ReportService::CustomReportJob,
|
350
|
-
:schema_type => XSD::QName.new(NsV10, "CustomReportJob"),
|
351
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
352
|
-
:schema_element => [
|
353
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
354
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
355
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
356
|
-
["endDay", "SOAP::SOAPDate"],
|
357
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
358
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
359
|
-
["startDay", "SOAP::SOAPDate"],
|
360
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
361
|
-
["adGroupStatuses", "AdWords::ReportService::AdGroupStatus[]", [0, nil]],
|
362
|
-
["adGroups", "SOAP::SOAPInt[]", [0, nil]],
|
363
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
364
|
-
["campaignStatuses", "AdWords::ReportService::CampaignStatus[]", [0, nil]],
|
365
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]],
|
366
|
-
["customOptions", "AdWords::ReportService::CustomReportOption[]", [1, nil]],
|
367
|
-
["includeZeroImpression", "SOAP::SOAPBoolean", [0, 1]],
|
368
|
-
["keywordStatuses", "AdWords::ReportService::KeywordStatus[]", [0, nil]],
|
369
|
-
["keywordType", "AdWords::ReportService::KeywordType", [0, 1]],
|
370
|
-
["keywords", "SOAP::SOAPString[]", [0, nil]]
|
371
|
-
]
|
372
|
-
)
|
373
|
-
|
374
|
-
LiteralRegistry.register(
|
375
|
-
:class => AdWords::ReportService::KeywordReportJob,
|
376
|
-
:schema_type => XSD::QName.new(NsV10, "KeywordReportJob"),
|
377
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
378
|
-
:schema_element => [
|
379
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
380
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
381
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
382
|
-
["endDay", "SOAP::SOAPDate"],
|
383
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
384
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
385
|
-
["startDay", "SOAP::SOAPDate"],
|
386
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
387
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
388
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]],
|
389
|
-
["includeZeroImpression", "SOAP::SOAPBoolean", [0, 1]],
|
390
|
-
["keywordStatuses", "AdWords::ReportService::KeywordStatus[]", [0, nil]],
|
391
|
-
["keywordType", "AdWords::ReportService::KeywordType", [0, 1]]
|
392
|
-
]
|
393
|
-
)
|
394
|
-
|
395
|
-
LiteralRegistry.register(
|
396
|
-
:class => AdWords::ReportService::UrlReportJob,
|
397
|
-
:schema_type => XSD::QName.new(NsV10, "UrlReportJob"),
|
398
|
-
:schema_basetype => XSD::QName.new(NsV10, "ReportJob"),
|
399
|
-
:schema_element => [
|
400
|
-
["aggregationType", "AdWords::ReportService::AggregationType", [0, 1]],
|
401
|
-
["clientEmails", "SOAP::SOAPString[]", [0, nil]],
|
402
|
-
["crossClient", "SOAP::SOAPBoolean", [0, 1]],
|
403
|
-
["endDay", "SOAP::SOAPDate"],
|
404
|
-
["id", "SOAP::SOAPLong", [0, 1]],
|
405
|
-
["name", "SOAP::SOAPString", [0, 1]],
|
406
|
-
["startDay", "SOAP::SOAPDate"],
|
407
|
-
["status", "AdWords::ReportService::ReportJobStatus", [0, 1]],
|
408
|
-
["adWordsType", "AdWords::ReportService::AdWordsType", [0, 1]],
|
409
|
-
["campaigns", "SOAP::SOAPInt[]", [0, nil]]
|
410
|
-
]
|
411
|
-
)
|
412
|
-
|
413
|
-
LiteralRegistry.register(
|
414
|
-
:class => AdWords::ReportService::AdGroupStatus,
|
415
|
-
:schema_type => XSD::QName.new(NsV10, "AdGroupStatus")
|
416
|
-
)
|
417
|
-
|
418
|
-
LiteralRegistry.register(
|
419
|
-
:class => AdWords::ReportService::AdWordsType,
|
420
|
-
:schema_type => XSD::QName.new(NsV10, "AdWordsType")
|
421
|
-
)
|
422
|
-
|
423
|
-
LiteralRegistry.register(
|
424
|
-
:class => AdWords::ReportService::AggregationType,
|
425
|
-
:schema_type => XSD::QName.new(NsV10, "AggregationType")
|
426
|
-
)
|
427
|
-
|
428
|
-
LiteralRegistry.register(
|
429
|
-
:class => AdWords::ReportService::CampaignStatus,
|
430
|
-
:schema_type => XSD::QName.new(NsV10, "CampaignStatus")
|
431
|
-
)
|
432
|
-
|
433
|
-
LiteralRegistry.register(
|
434
|
-
:class => AdWords::ReportService::CustomReportOption,
|
435
|
-
:schema_type => XSD::QName.new(NsV10, "CustomReportOption")
|
436
|
-
)
|
437
|
-
|
438
|
-
LiteralRegistry.register(
|
439
|
-
:class => AdWords::ReportService::KeywordStatus,
|
440
|
-
:schema_type => XSD::QName.new(NsV10, "KeywordStatus")
|
441
|
-
)
|
442
|
-
|
443
|
-
LiteralRegistry.register(
|
444
|
-
:class => AdWords::ReportService::KeywordType,
|
445
|
-
:schema_type => XSD::QName.new(NsV10, "KeywordType")
|
446
|
-
)
|
447
|
-
|
448
|
-
LiteralRegistry.register(
|
449
|
-
:class => AdWords::ReportService::ReportJobStatus,
|
450
|
-
:schema_type => XSD::QName.new(NsV10, "ReportJobStatus")
|
451
|
-
)
|
452
|
-
|
453
|
-
LiteralRegistry.register(
|
454
|
-
:class => AdWords::ReportService::DeleteReport,
|
455
|
-
:schema_name => XSD::QName.new(NsV10, "deleteReport"),
|
456
|
-
:schema_element => [
|
457
|
-
["reportJobId", "SOAP::SOAPLong"]
|
458
|
-
]
|
459
|
-
)
|
460
|
-
|
461
|
-
LiteralRegistry.register(
|
462
|
-
:class => AdWords::ReportService::DeleteReportResponse,
|
463
|
-
:schema_name => XSD::QName.new(NsV10, "deleteReportResponse"),
|
464
|
-
:schema_element => []
|
465
|
-
)
|
466
|
-
|
467
|
-
LiteralRegistry.register(
|
468
|
-
:class => AdWords::ReportService::ApiException,
|
469
|
-
:schema_name => XSD::QName.new(NsV10, "fault"),
|
470
|
-
:schema_element => [
|
471
|
-
["code", "SOAP::SOAPInt"],
|
472
|
-
["errors", "AdWords::ReportService::ApiError[]", [1, nil]],
|
473
|
-
["internal", "SOAP::SOAPBoolean"],
|
474
|
-
["message", "SOAP::SOAPString"],
|
475
|
-
["trigger", "SOAP::SOAPString"]
|
476
|
-
]
|
477
|
-
)
|
478
|
-
|
479
|
-
LiteralRegistry.register(
|
480
|
-
:class => AdWords::ReportService::GetAllJobs,
|
481
|
-
:schema_name => XSD::QName.new(NsV10, "getAllJobs"),
|
482
|
-
:schema_element => []
|
483
|
-
)
|
484
|
-
|
485
|
-
LiteralRegistry.register(
|
486
|
-
:class => AdWords::ReportService::GetAllJobsResponse,
|
487
|
-
:schema_name => XSD::QName.new(NsV10, "getAllJobsResponse"),
|
488
|
-
:schema_element => [
|
489
|
-
["getAllJobsReturn", "AdWords::ReportService::ReportJob[]", [1, nil]]
|
490
|
-
]
|
491
|
-
)
|
492
|
-
|
493
|
-
LiteralRegistry.register(
|
494
|
-
:class => AdWords::ReportService::GetGzipReportDownloadUrl,
|
495
|
-
:schema_name => XSD::QName.new(NsV10, "getGzipReportDownloadUrl"),
|
496
|
-
:schema_element => [
|
497
|
-
["reportJobId", "SOAP::SOAPLong"]
|
498
|
-
]
|
499
|
-
)
|
500
|
-
|
501
|
-
LiteralRegistry.register(
|
502
|
-
:class => AdWords::ReportService::GetGzipReportDownloadUrlResponse,
|
503
|
-
:schema_name => XSD::QName.new(NsV10, "getGzipReportDownloadUrlResponse"),
|
504
|
-
:schema_element => [
|
505
|
-
["getGzipReportDownloadUrlReturn", "SOAP::SOAPString"]
|
506
|
-
]
|
507
|
-
)
|
508
|
-
|
509
|
-
LiteralRegistry.register(
|
510
|
-
:class => AdWords::ReportService::GetReportDownloadUrl,
|
511
|
-
:schema_name => XSD::QName.new(NsV10, "getReportDownloadUrl"),
|
512
|
-
:schema_element => [
|
513
|
-
["reportJobId", "SOAP::SOAPLong"]
|
514
|
-
]
|
515
|
-
)
|
516
|
-
|
517
|
-
LiteralRegistry.register(
|
518
|
-
:class => AdWords::ReportService::GetReportDownloadUrlResponse,
|
519
|
-
:schema_name => XSD::QName.new(NsV10, "getReportDownloadUrlResponse"),
|
520
|
-
:schema_element => [
|
521
|
-
["getReportDownloadUrlReturn", "SOAP::SOAPString"]
|
522
|
-
]
|
523
|
-
)
|
524
|
-
|
525
|
-
LiteralRegistry.register(
|
526
|
-
:class => AdWords::ReportService::GetReportJobStatus,
|
527
|
-
:schema_name => XSD::QName.new(NsV10, "getReportJobStatus"),
|
528
|
-
:schema_element => [
|
529
|
-
["reportJobId", "SOAP::SOAPLong"]
|
530
|
-
]
|
531
|
-
)
|
532
|
-
|
533
|
-
LiteralRegistry.register(
|
534
|
-
:class => AdWords::ReportService::GetReportJobStatusResponse,
|
535
|
-
:schema_name => XSD::QName.new(NsV10, "getReportJobStatusResponse"),
|
536
|
-
:schema_element => [
|
537
|
-
["getReportJobStatusReturn", "AdWords::ReportService::ReportJobStatus"]
|
538
|
-
]
|
539
|
-
)
|
540
|
-
|
541
|
-
LiteralRegistry.register(
|
542
|
-
:class => AdWords::ReportService::ScheduleReportJob,
|
543
|
-
:schema_name => XSD::QName.new(NsV10, "scheduleReportJob"),
|
544
|
-
:schema_element => [
|
545
|
-
["job", "AdWords::ReportService::ReportJob"]
|
546
|
-
]
|
547
|
-
)
|
548
|
-
|
549
|
-
LiteralRegistry.register(
|
550
|
-
:class => AdWords::ReportService::ScheduleReportJobResponse,
|
551
|
-
:schema_name => XSD::QName.new(NsV10, "scheduleReportJobResponse"),
|
552
|
-
:schema_element => [
|
553
|
-
["scheduleReportJobReturn", "SOAP::SOAPLong"]
|
554
|
-
]
|
555
|
-
)
|
556
|
-
|
557
|
-
end
|
558
|
-
|
559
|
-
end; end
|