adwords4r 0.5 → 0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. data/ChangeLog.txt +4 -0
  2. data/Rakefile +10 -10
  3. data/Readme.txt +78 -74
  4. data/Todo.txt +12 -0
  5. data/adwords.properties +2 -0
  6. data/examples/campaign.rb +1 -2
  7. data/examples/keyword_tool_demo.rb +27 -0
  8. data/examples/sandbox.rb +30 -0
  9. data/lib/adwords4r.rb +7 -1
  10. data/lib/adwords4r/credentials.rb +5 -3
  11. data/lib/adwords4r/services.rb +2 -2
  12. data/lib/adwords4r/v4/CreativeService.rb +0 -33
  13. data/lib/adwords4r/{v3 → v5}/AccountService.rb +311 -86
  14. data/lib/adwords4r/{v3 → v5}/AccountServiceDriver.rb +69 -34
  15. data/lib/adwords4r/{v3 → v5}/AdGroupService.rb +90 -58
  16. data/lib/adwords4r/{v3 → v5}/AdGroupServiceDriver.rb +18 -18
  17. data/lib/adwords4r/{v3 → v5}/CampaignService.rb +121 -89
  18. data/lib/adwords4r/{v3 → v5}/CampaignServiceDriver.rb +22 -22
  19. data/lib/adwords4r/{v3 → v5}/CreativeService.rb +84 -81
  20. data/lib/adwords4r/{v2 → v5}/CreativeServiceDriver.rb +20 -20
  21. data/lib/adwords4r/{v3 → v5}/CriterionService.rb +96 -64
  22. data/lib/adwords4r/{v3 → v5}/CriterionServiceDriver.rb +18 -18
  23. data/lib/adwords4r/{v3 → v5}/InfoService.rb +70 -34
  24. data/lib/adwords4r/{v2 → v5}/InfoServiceDriver.rb +16 -16
  25. data/lib/adwords4r/{v3 → v5}/KeywordToolService.rb +62 -26
  26. data/lib/adwords4r/{v3 → v5}/KeywordToolServiceDriver.rb +6 -6
  27. data/lib/adwords4r/v5/ReportService.rb +788 -0
  28. data/lib/adwords4r/{v2 → v5}/ReportServiceDriver.rb +14 -14
  29. data/lib/adwords4r/{v3 → v5}/TrafficEstimatorService.rb +95 -50
  30. data/lib/adwords4r/{v2 → v5}/TrafficEstimatorServiceDriver.rb +8 -8
  31. metadata +23 -46
  32. data/examples/report_demo.rb +0 -42
  33. data/lib/adwords4r/registry.rb +0 -31
  34. data/lib/adwords4r/v2/AccountService.rb +0 -628
  35. data/lib/adwords4r/v2/AccountServiceDriver.rb +0 -153
  36. data/lib/adwords4r/v2/AdGroupService.rb +0 -317
  37. data/lib/adwords4r/v2/AdGroupServiceDriver.rb +0 -97
  38. data/lib/adwords4r/v2/CampaignService.rb +0 -517
  39. data/lib/adwords4r/v2/CampaignServiceDriver.rb +0 -111
  40. data/lib/adwords4r/v2/CreativeService.rb +0 -401
  41. data/lib/adwords4r/v2/CriterionService.rb +0 -415
  42. data/lib/adwords4r/v2/CriterionServiceDriver.rb +0 -97
  43. data/lib/adwords4r/v2/InfoService.rb +0 -260
  44. data/lib/adwords4r/v2/KeywordService.rb +0 -543
  45. data/lib/adwords4r/v2/KeywordServiceDriver.rb +0 -125
  46. data/lib/adwords4r/v2/ReportService.rb +0 -569
  47. data/lib/adwords4r/v2/TrafficEstimatorService.rb +0 -251
  48. data/lib/adwords4r/v2/default.rb +0 -364
  49. data/lib/adwords4r/v2/defaultDriver.rb +0 -102
  50. data/lib/adwords4r/v3/CreativeServiceDriver.rb +0 -104
  51. data/lib/adwords4r/v3/InfoServiceDriver.rb +0 -90
  52. data/lib/adwords4r/v3/KeywordService.rb +0 -543
  53. data/lib/adwords4r/v3/KeywordServiceDriver.rb +0 -125
  54. data/lib/adwords4r/v3/ReportService.rb +0 -569
  55. data/lib/adwords4r/v3/ReportServiceDriver.rb +0 -83
  56. data/lib/adwords4r/v3/TrafficEstimatorServiceDriver.rb +0 -62
  57. data/scripts/publish.rb +0 -16
@@ -1,111 +0,0 @@
1
- module AdWords
2
- require 'adwords4r/v2/CampaignService'
3
-
4
- require 'soap/rpc/driver'
5
-
6
- class CampaignService < ::SOAP::RPC::Driver
7
- DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v2/CampaignService"
8
- MappingRegistry = ::SOAP::Mapping::Registry.new
9
-
10
- Methods = [
11
- [ "",
12
- "getCampaign",
13
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getCampaign"], true],
14
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getCampaignResponse"], true] ],
15
- { :request_style => :document, :request_use => :literal,
16
- :response_style => :document, :response_use => :literal }
17
- ],
18
- [ "",
19
- "getCampaignList",
20
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getCampaignList"], true],
21
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getCampaignListResponse"], true] ],
22
- { :request_style => :document, :request_use => :literal,
23
- :response_style => :document, :response_use => :literal }
24
- ],
25
- [ "",
26
- "getAllAdWordsCampaigns",
27
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getAllAdWordsCampaigns"], true],
28
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getAllAdWordsCampaignsResponse"], true] ],
29
- { :request_style => :document, :request_use => :literal,
30
- :response_style => :document, :response_use => :literal }
31
- ],
32
- [ "",
33
- "addCampaign",
34
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "addCampaign"], true],
35
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "addCampaignResponse"], true] ],
36
- { :request_style => :document, :request_use => :literal,
37
- :response_style => :document, :response_use => :literal }
38
- ],
39
- [ "",
40
- "addCampaignList",
41
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "addCampaignList"], true],
42
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "addCampaignListResponse"], true] ],
43
- { :request_style => :document, :request_use => :literal,
44
- :response_style => :document, :response_use => :literal }
45
- ],
46
- [ "",
47
- "updateCampaign",
48
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "updateCampaign"], true],
49
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "updateCampaignResponse"], true] ],
50
- { :request_style => :document, :request_use => :literal,
51
- :response_style => :document, :response_use => :literal }
52
- ],
53
- [ "",
54
- "updateCampaignList",
55
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "updateCampaignList"], true],
56
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "updateCampaignListResponse"], true] ],
57
- { :request_style => :document, :request_use => :literal,
58
- :response_style => :document, :response_use => :literal }
59
- ],
60
- [ "",
61
- "getOptimizeAdServing",
62
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getOptimizeAdServing"], true],
63
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getOptimizeAdServingResponse"], true] ],
64
- { :request_style => :document, :request_use => :literal,
65
- :response_style => :document, :response_use => :literal }
66
- ],
67
- [ "",
68
- "setOptimizeAdServing",
69
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "setOptimizeAdServing"], true],
70
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "setOptimizeAdServingResponse"], true] ],
71
- { :request_style => :document, :request_use => :literal,
72
- :response_style => :document, :response_use => :literal }
73
- ],
74
- [ "",
75
- "getCampaignStats",
76
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getCampaignStats"], true],
77
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getCampaignStatsResponse"], true] ],
78
- { :request_style => :document, :request_use => :literal,
79
- :response_style => :document, :response_use => :literal }
80
- ]
81
- ]
82
-
83
- def initialize(endpoint_url = nil)
84
- endpoint_url ||= DefaultEndpointUrl
85
- super(endpoint_url, nil)
86
- self.mapping_registry = MappingRegistry
87
- init_methods
88
- end
89
-
90
- private
91
-
92
- def init_methods
93
- Methods.each do |definitions|
94
- opt = definitions.last
95
- if opt[:request_style] == :document
96
- add_document_operation(*definitions)
97
- else
98
- add_rpc_operation(*definitions)
99
- qname = definitions[0]
100
- name = definitions[2]
101
- if qname.name != name and qname.name.capitalize == name.capitalize
102
- ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
103
- __send__(name, *arg)
104
- end
105
- end
106
- end
107
- end
108
- end
109
- end
110
-
111
- end
@@ -1,401 +0,0 @@
1
- module AdWords
2
- require 'xsd/qname'
3
-
4
- # {https://adwords.google.com/api/adwords/v2}getAllCreatives
5
- class GetAllCreatives
6
- @@schema_type = "getAllCreatives"
7
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
8
- @@schema_qualified = "true"
9
- @@schema_element = [
10
- ["adGroupId", "SOAP::SOAPInt"]
11
- ]
12
-
13
- attr_accessor :adGroupId
14
-
15
- def initialize(adGroupId = nil)
16
- @adGroupId = adGroupId
17
- end
18
- end
19
-
20
- # {https://adwords.google.com/api/adwords/v2}getAllCreativesResponse
21
- class GetAllCreativesResponse < ::Array
22
- @@schema_element = [
23
- ["getAllCreativesReturn", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/v2", "getAllCreativesReturn")]]
24
- ]
25
- end
26
-
27
- # {https://adwords.google.com/api/adwords/v2}getActiveCreatives
28
- class GetActiveCreatives
29
- @@schema_type = "getActiveCreatives"
30
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
31
- @@schema_qualified = "true"
32
- @@schema_element = [
33
- ["adGroupId", "SOAP::SOAPInt"]
34
- ]
35
-
36
- attr_accessor :adGroupId
37
-
38
- def initialize(adGroupId = nil)
39
- @adGroupId = adGroupId
40
- end
41
- end
42
-
43
- # {https://adwords.google.com/api/adwords/v2}getActiveCreativesResponse
44
- class GetActiveCreativesResponse < ::Array
45
- @@schema_element = [
46
- ["getActiveCreativesReturn", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/v2", "getActiveCreativesReturn")]]
47
- ]
48
- end
49
-
50
- # {https://adwords.google.com/api/adwords/v2}getCreative
51
- class GetCreative
52
- @@schema_type = "getCreative"
53
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
54
- @@schema_qualified = "true"
55
- @@schema_element = [
56
- ["adGroupId", "SOAP::SOAPInt"],
57
- ["creativeId", "SOAP::SOAPInt"]
58
- ]
59
-
60
- attr_accessor :adGroupId
61
- attr_accessor :creativeId
62
-
63
- def initialize(adGroupId = nil, creativeId = nil)
64
- @adGroupId = adGroupId
65
- @creativeId = creativeId
66
- end
67
- end
68
-
69
- # {https://adwords.google.com/api/adwords/v2}getCreativeResponse
70
- class GetCreativeResponse
71
- @@schema_type = "getCreativeResponse"
72
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
73
- @@schema_qualified = "true"
74
- @@schema_element = [
75
- ["getCreativeReturn", "Creative"]
76
- ]
77
-
78
- attr_accessor :getCreativeReturn
79
-
80
- def initialize(getCreativeReturn = nil)
81
- @getCreativeReturn = getCreativeReturn
82
- end
83
- end
84
-
85
- # {https://adwords.google.com/api/adwords/v2}addCreative
86
- class AddCreative
87
- @@schema_type = "addCreative"
88
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
89
- @@schema_qualified = "true"
90
- @@schema_element = [
91
- ["creative", "Creative"]
92
- ]
93
-
94
- attr_accessor :creative
95
-
96
- def initialize(creative = nil)
97
- @creative = creative
98
- end
99
- end
100
-
101
- # {https://adwords.google.com/api/adwords/v2}addCreativeResponse
102
- class AddCreativeResponse
103
- @@schema_type = "addCreativeResponse"
104
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
105
- @@schema_qualified = "true"
106
- @@schema_element = [
107
- ["addCreativeReturn", "Creative"]
108
- ]
109
-
110
- attr_accessor :addCreativeReturn
111
-
112
- def initialize(addCreativeReturn = nil)
113
- @addCreativeReturn = addCreativeReturn
114
- end
115
- end
116
-
117
- # {https://adwords.google.com/api/adwords/v2}addCreativeList
118
- class AddCreativeList < ::Array
119
- @@schema_element = [
120
- ["creatives", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/v2", "creatives")]]
121
- ]
122
- end
123
-
124
- # {https://adwords.google.com/api/adwords/v2}addCreativeListResponse
125
- class AddCreativeListResponse < ::Array
126
- @@schema_element = [
127
- ["addCreativeListReturn", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/v2", "addCreativeListReturn")]]
128
- ]
129
- end
130
-
131
- # {https://adwords.google.com/api/adwords/v2}deleteCreative
132
- class DeleteCreative
133
- @@schema_type = "deleteCreative"
134
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
135
- @@schema_qualified = "true"
136
- @@schema_element = [
137
- ["adGroupId", "SOAP::SOAPInt"],
138
- ["creativeId", "SOAP::SOAPInt"]
139
- ]
140
-
141
- attr_accessor :adGroupId
142
- attr_accessor :creativeId
143
-
144
- def initialize(adGroupId = nil, creativeId = nil)
145
- @adGroupId = adGroupId
146
- @creativeId = creativeId
147
- end
148
- end
149
-
150
- # {https://adwords.google.com/api/adwords/v2}deleteCreativeResponse
151
- class DeleteCreativeResponse
152
- @@schema_type = "deleteCreativeResponse"
153
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
154
- @@schema_qualified = "true"
155
- @@schema_element = []
156
-
157
- def initialize
158
- end
159
- end
160
-
161
- # {https://adwords.google.com/api/adwords/v2}deleteCreativeList
162
- class DeleteCreativeList
163
- @@schema_type = "deleteCreativeList"
164
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
165
- @@schema_qualified = "true"
166
- @@schema_element = [
167
- ["adGroupIds", "SOAP::SOAPInt[]"],
168
- ["creativeIds", "SOAP::SOAPInt[]"]
169
- ]
170
-
171
- attr_accessor :adGroupIds
172
- attr_accessor :creativeIds
173
-
174
- def initialize(adGroupIds = [], creativeIds = [])
175
- @adGroupIds = adGroupIds
176
- @creativeIds = creativeIds
177
- end
178
- end
179
-
180
- # {https://adwords.google.com/api/adwords/v2}deleteCreativeListResponse
181
- class DeleteCreativeListResponse
182
- @@schema_type = "deleteCreativeListResponse"
183
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
184
- @@schema_qualified = "true"
185
- @@schema_element = []
186
-
187
- def initialize
188
- end
189
- end
190
-
191
- # {https://adwords.google.com/api/adwords/v2}activateCreative
192
- class ActivateCreative
193
- @@schema_type = "activateCreative"
194
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
195
- @@schema_qualified = "true"
196
- @@schema_element = [
197
- ["adGroupId", "SOAP::SOAPInt"],
198
- ["creativeId", "SOAP::SOAPInt"]
199
- ]
200
-
201
- attr_accessor :adGroupId
202
- attr_accessor :creativeId
203
-
204
- def initialize(adGroupId = nil, creativeId = nil)
205
- @adGroupId = adGroupId
206
- @creativeId = creativeId
207
- end
208
- end
209
-
210
- # {https://adwords.google.com/api/adwords/v2}activateCreativeResponse
211
- class ActivateCreativeResponse
212
- @@schema_type = "activateCreativeResponse"
213
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
214
- @@schema_qualified = "true"
215
- @@schema_element = []
216
-
217
- def initialize
218
- end
219
- end
220
-
221
- # {https://adwords.google.com/api/adwords/v2}activateCreativeList
222
- class ActivateCreativeList
223
- @@schema_type = "activateCreativeList"
224
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
225
- @@schema_qualified = "true"
226
- @@schema_element = [
227
- ["adGroupIds", "SOAP::SOAPInt[]"],
228
- ["creativeIds", "SOAP::SOAPInt[]"]
229
- ]
230
-
231
- attr_accessor :adGroupIds
232
- attr_accessor :creativeIds
233
-
234
- def initialize(adGroupIds = [], creativeIds = [])
235
- @adGroupIds = adGroupIds
236
- @creativeIds = creativeIds
237
- end
238
- end
239
-
240
- # {https://adwords.google.com/api/adwords/v2}activateCreativeListResponse
241
- class ActivateCreativeListResponse
242
- @@schema_type = "activateCreativeListResponse"
243
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
244
- @@schema_qualified = "true"
245
- @@schema_element = []
246
-
247
- def initialize
248
- end
249
- end
250
-
251
- # {https://adwords.google.com/api/adwords/v2}Image
252
- class Image
253
- @@schema_type = "Image"
254
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
255
- @@schema_element = [
256
- ["name", "SOAP::SOAPString"],
257
- ["data", "SOAP::SOAPBase64"],
258
- ["width", "SOAP::SOAPInt"],
259
- ["height", "SOAP::SOAPInt"],
260
- ["type", "SOAP::SOAPString"],
261
- ["mimeType", "SOAP::SOAPString"],
262
- ["imageUrl", "SOAP::SOAPString"],
263
- ["thumbnailUrl", "SOAP::SOAPString"]
264
- ]
265
-
266
- attr_accessor :name
267
- attr_accessor :data
268
- attr_accessor :width
269
- attr_accessor :height
270
- attr_accessor :type
271
- attr_accessor :mimeType
272
- attr_accessor :imageUrl
273
- attr_accessor :thumbnailUrl
274
-
275
- def initialize(name = nil, data = nil, width = nil, height = nil, type = nil, mimeType = nil, imageUrl = nil, thumbnailUrl = nil)
276
- @name = name
277
- @data = data
278
- @width = width
279
- @height = height
280
- @type = type
281
- @mimeType = mimeType
282
- @imageUrl = imageUrl
283
- @thumbnailUrl = thumbnailUrl
284
- end
285
- end
286
-
287
- # {https://adwords.google.com/api/adwords/v2}Creative
288
- class Creative
289
- @@schema_type = "Creative"
290
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
291
- @@schema_element = [
292
- ["id", "SOAP::SOAPInt"],
293
- ["adGroupId", "SOAP::SOAPInt"],
294
- ["headline", "SOAP::SOAPString"],
295
- ["description1", "SOAP::SOAPString"],
296
- ["description2", "SOAP::SOAPString"],
297
- ["destinationUrl", "SOAP::SOAPString"],
298
- ["displayUrl", "SOAP::SOAPString"],
299
- ["deleted", "SOAP::SOAPBoolean"],
300
- ["disapproved", "SOAP::SOAPBoolean"],
301
- ["image", "Image"],
302
- ["exemptionRequest", "SOAP::SOAPString"]
303
- ]
304
-
305
- attr_accessor :id
306
- attr_accessor :adGroupId
307
- attr_accessor :headline
308
- attr_accessor :description1
309
- attr_accessor :description2
310
- attr_accessor :destinationUrl
311
- attr_accessor :displayUrl
312
- attr_accessor :deleted
313
- attr_accessor :disapproved
314
- attr_accessor :image
315
- attr_accessor :exemptionRequest
316
-
317
- def initialize(id = nil, adGroupId = nil, headline = nil, description1 = nil, description2 = nil, destinationUrl = nil, displayUrl = nil, deleted = nil, disapproved = nil, image = nil, exemptionRequest = nil)
318
- @id = id
319
- @adGroupId = adGroupId
320
- @headline = headline
321
- @description1 = description1
322
- @description2 = description2
323
- @destinationUrl = destinationUrl
324
- @displayUrl = displayUrl
325
- @deleted = deleted
326
- @disapproved = disapproved
327
- @image = image
328
- @exemptionRequest = exemptionRequest
329
- end
330
- end
331
-
332
- # {https://adwords.google.com/api/adwords/v2}AdPolicyViolation
333
- class AdPolicyViolation
334
- @@schema_type = "AdPolicyViolation"
335
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
336
- @@schema_element = [
337
- ["index", "SOAP::SOAPInt"],
338
- ["line", "SOAP::SOAPInt"],
339
- ["textIndex", "SOAP::SOAPInt"],
340
- ["textLength", "SOAP::SOAPInt"],
341
- ["trigger", "SOAP::SOAPString"],
342
- ["detail", "SOAP::SOAPString"],
343
- ["isExemptable", "SOAP::SOAPBoolean"]
344
- ]
345
-
346
- attr_accessor :index
347
- attr_accessor :line
348
- attr_accessor :textIndex
349
- attr_accessor :textLength
350
- attr_accessor :trigger
351
- attr_accessor :detail
352
- attr_accessor :isExemptable
353
-
354
- def initialize(index = nil, line = nil, textIndex = nil, textLength = nil, trigger = nil, detail = nil, isExemptable = nil)
355
- @index = index
356
- @line = line
357
- @textIndex = textIndex
358
- @textLength = textLength
359
- @trigger = trigger
360
- @detail = detail
361
- @isExemptable = isExemptable
362
- end
363
- end
364
-
365
- # {https://adwords.google.com/api/adwords/v2}ApiException
366
- class ApiException
367
- @@schema_type = "ApiException"
368
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
369
- @@schema_element = [
370
- ["code", "SOAP::SOAPInt"],
371
- ["internal", "SOAP::SOAPBoolean"],
372
- ["message", "SOAP::SOAPString"],
373
- ["trigger", "SOAP::SOAPString"],
374
- ["violations", "SOAP::SOAPString"]
375
- ]
376
-
377
- attr_accessor :code
378
- attr_accessor :internal
379
- attr_accessor :message
380
- attr_accessor :trigger
381
- attr_accessor :violations
382
-
383
- def initialize(code = nil, internal = nil, message = nil, trigger = nil, violations = nil)
384
- @code = code
385
- @internal = internal
386
- @message = message
387
- @trigger = trigger
388
- @violations = violations
389
- end
390
- end
391
-
392
- # {https://adwords.google.com/api/adwords/v2}ImageType
393
- class ImageType < ::String
394
- @@schema_type = "ImageType"
395
- @@schema_ns = "https://adwords.google.com/api/adwords/v2"
396
-
397
- DynamicImage = ImageType.new("dynamicImage")
398
- Flash = ImageType.new("flash")
399
- Image = ImageType.new("image")
400
- end
401
- end