ysm4r 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. data/Authors.txt +2 -0
  2. data/ChangeLog.txt +1 -0
  3. data/License.txt +13 -0
  4. data/Rakefile +209 -0
  5. data/Readme.txt +4 -0
  6. data/clean.sh +3 -0
  7. data/lib/soapex/driver.rb +13 -0
  8. data/lib/soapex/error.rb +49 -0
  9. data/lib/soapex/mapping.rb +31 -0
  10. data/lib/soapex/wsdl2ruby.rb +166 -0
  11. data/lib/ysm4r.rb +4 -0
  12. data/lib/ysm4r/client.rb +120 -0
  13. data/lib/ysm4r/service.rb +68 -0
  14. data/lib/ysm4r/v1/AccountService.rb +370 -0
  15. data/lib/ysm4r/v1/AccountServiceDriver.rb +162 -0
  16. data/lib/ysm4r/v1/AccountServiceMappingRegistry.rb +509 -0
  17. data/lib/ysm4r/v1/AdGroupService.rb +649 -0
  18. data/lib/ysm4r/v1/AdGroupServiceDriver.rb +226 -0
  19. data/lib/ysm4r/v1/AdGroupServiceMappingRegistry.rb +864 -0
  20. data/lib/ysm4r/v1/AdService.rb +533 -0
  21. data/lib/ysm4r/v1/AdServiceDriver.rb +178 -0
  22. data/lib/ysm4r/v1/AdServiceMappingRegistry.rb +753 -0
  23. data/lib/ysm4r/v1/BasicReportService.rb +259 -0
  24. data/lib/ysm4r/v1/BasicReportServiceDriver.rb +98 -0
  25. data/lib/ysm4r/v1/BasicReportServiceMappingRegistry.rb +389 -0
  26. data/lib/ysm4r/v1/BidInformationService.rb +69 -0
  27. data/lib/ysm4r/v1/BidInformationServiceDriver.rb +50 -0
  28. data/lib/ysm4r/v1/BidInformationServiceMappingRegistry.rb +135 -0
  29. data/lib/ysm4r/v1/BudgetingService.rb +161 -0
  30. data/lib/ysm4r/v1/BudgetingServiceDriver.rb +98 -0
  31. data/lib/ysm4r/v1/BudgetingServiceMappingRegistry.rb +230 -0
  32. data/lib/ysm4r/v1/CampaignService.rb +644 -0
  33. data/lib/ysm4r/v1/CampaignServiceDriver.rb +210 -0
  34. data/lib/ysm4r/v1/CampaignServiceMappingRegistry.rb +909 -0
  35. data/lib/ysm4r/v1/ExcludedWordsService.rb +294 -0
  36. data/lib/ysm4r/v1/ExcludedWordsServiceDriver.rb +122 -0
  37. data/lib/ysm4r/v1/ExcludedWordsServiceMappingRegistry.rb +469 -0
  38. data/lib/ysm4r/v1/ForecastService.rb +200 -0
  39. data/lib/ysm4r/v1/ForecastServiceDriver.rb +66 -0
  40. data/lib/ysm4r/v1/ForecastServiceMappingRegistry.rb +359 -0
  41. data/lib/ysm4r/v1/KeywordResearchService.rb +290 -0
  42. data/lib/ysm4r/v1/KeywordResearchServiceDriver.rb +66 -0
  43. data/lib/ysm4r/v1/KeywordResearchServiceMappingRegistry.rb +548 -0
  44. data/lib/ysm4r/v1/KeywordService.rb +671 -0
  45. data/lib/ysm4r/v1/KeywordServiceDriver.rb +218 -0
  46. data/lib/ysm4r/v1/KeywordServiceMappingRegistry.rb +913 -0
  47. data/lib/ysm4r/v1/LocationService.rb +53 -0
  48. data/lib/ysm4r/v1/LocationServiceDriver.rb +50 -0
  49. data/lib/ysm4r/v1/LocationServiceMappingRegistry.rb +111 -0
  50. data/lib/ysm4r/v1/MasterAccountService.rb +289 -0
  51. data/lib/ysm4r/v1/MasterAccountServiceDriver.rb +74 -0
  52. data/lib/ysm4r/v1/MasterAccountServiceMappingRegistry.rb +414 -0
  53. data/lib/ysm4r/v1/UpgradeService.rb +72 -0
  54. data/lib/ysm4r/v1/UpgradeServiceDriver.rb +58 -0
  55. data/lib/ysm4r/v1/UpgradeServiceMappingRegistry.rb +145 -0
  56. data/lib/ysm4r/v1/UserManagementService.rb +766 -0
  57. data/lib/ysm4r/v1/UserManagementServiceDriver.rb +290 -0
  58. data/lib/ysm4r/v1/UserManagementServiceMappingRegistry.rb +1057 -0
  59. data/lib/ysm4r/v1/sandbox/LocationService.rb +53 -0
  60. data/lib/ysm4r/v1/sandbox/LocationServiceDriver.rb +50 -0
  61. data/lib/ysm4r/v1/sandbox/LocationServiceMappingRegistry.rb +111 -0
  62. data/lib/ysm4r/v1/sandbox/UpgradeService.rb +72 -0
  63. data/lib/ysm4r/v1/sandbox/UpgradeServiceDriver.rb +58 -0
  64. data/lib/ysm4r/v1/sandbox/UpgradeServiceMappingRegistry.rb +145 -0
  65. data/lib/ysm4r/v2/AccountService.rb +372 -0
  66. data/lib/ysm4r/v2/AccountServiceDriver.rb +162 -0
  67. data/lib/ysm4r/v2/AccountServiceMappingRegistry.rb +510 -0
  68. data/lib/ysm4r/v2/AdGroupService.rb +649 -0
  69. data/lib/ysm4r/v2/AdGroupServiceDriver.rb +226 -0
  70. data/lib/ysm4r/v2/AdGroupServiceMappingRegistry.rb +864 -0
  71. data/lib/ysm4r/v2/AdService.rb +553 -0
  72. data/lib/ysm4r/v2/AdServiceDriver.rb +186 -0
  73. data/lib/ysm4r/v2/AdServiceMappingRegistry.rb +774 -0
  74. data/lib/ysm4r/v2/BasicReportService.rb +272 -0
  75. data/lib/ysm4r/v2/BasicReportServiceDriver.rb +98 -0
  76. data/lib/ysm4r/v2/BasicReportServiceMappingRegistry.rb +389 -0
  77. data/lib/ysm4r/v2/BidInformationService.rb +109 -0
  78. data/lib/ysm4r/v2/BidInformationServiceDriver.rb +66 -0
  79. data/lib/ysm4r/v2/BidInformationServiceMappingRegistry.rb +177 -0
  80. data/lib/ysm4r/v2/BudgetingService.rb +161 -0
  81. data/lib/ysm4r/v2/BudgetingServiceDriver.rb +98 -0
  82. data/lib/ysm4r/v2/BudgetingServiceMappingRegistry.rb +230 -0
  83. data/lib/ysm4r/v2/CampaignService.rb +644 -0
  84. data/lib/ysm4r/v2/CampaignServiceDriver.rb +210 -0
  85. data/lib/ysm4r/v2/CampaignServiceMappingRegistry.rb +909 -0
  86. data/lib/ysm4r/v2/CompanyService.rb +68 -0
  87. data/lib/ysm4r/v2/CompanyServiceDriver.rb +50 -0
  88. data/lib/ysm4r/v2/CompanyServiceMappingRegistry.rb +136 -0
  89. data/lib/ysm4r/v2/ExcludedWordsService.rb +294 -0
  90. data/lib/ysm4r/v2/ExcludedWordsServiceDriver.rb +122 -0
  91. data/lib/ysm4r/v2/ExcludedWordsServiceMappingRegistry.rb +469 -0
  92. data/lib/ysm4r/v2/ForecastService.rb +200 -0
  93. data/lib/ysm4r/v2/ForecastServiceDriver.rb +66 -0
  94. data/lib/ysm4r/v2/ForecastServiceMappingRegistry.rb +359 -0
  95. data/lib/ysm4r/v2/KeywordResearchService.rb +369 -0
  96. data/lib/ysm4r/v2/KeywordResearchServiceDriver.rb +82 -0
  97. data/lib/ysm4r/v2/KeywordResearchServiceMappingRegistry.rb +673 -0
  98. data/lib/ysm4r/v2/KeywordService.rb +691 -0
  99. data/lib/ysm4r/v2/KeywordServiceDriver.rb +226 -0
  100. data/lib/ysm4r/v2/KeywordServiceMappingRegistry.rb +934 -0
  101. data/lib/ysm4r/v2/LocationService.rb +53 -0
  102. data/lib/ysm4r/v2/LocationServiceDriver.rb +50 -0
  103. data/lib/ysm4r/v2/LocationServiceMappingRegistry.rb +111 -0
  104. data/lib/ysm4r/v2/MasterAccountService.rb +332 -0
  105. data/lib/ysm4r/v2/MasterAccountServiceDriver.rb +82 -0
  106. data/lib/ysm4r/v2/MasterAccountServiceMappingRegistry.rb +480 -0
  107. data/lib/ysm4r/v2/UpgradeService.rb +72 -0
  108. data/lib/ysm4r/v2/UpgradeServiceDriver.rb +58 -0
  109. data/lib/ysm4r/v2/UpgradeServiceMappingRegistry.rb +145 -0
  110. data/lib/ysm4r/v2/UserManagementService.rb +766 -0
  111. data/lib/ysm4r/v2/UserManagementServiceDriver.rb +290 -0
  112. data/lib/ysm4r/v2/UserManagementServiceMappingRegistry.rb +1057 -0
  113. data/lib/ysm4r/v2/sandbox/LocationService.rb +53 -0
  114. data/lib/ysm4r/v2/sandbox/LocationServiceDriver.rb +50 -0
  115. data/lib/ysm4r/v2/sandbox/LocationServiceMappingRegistry.rb +111 -0
  116. data/lib/ysm4r/v2/sandbox/UpgradeService.rb +72 -0
  117. data/lib/ysm4r/v2/sandbox/UpgradeServiceDriver.rb +58 -0
  118. data/lib/ysm4r/v2/sandbox/UpgradeServiceMappingRegistry.rb +145 -0
  119. data/setup.rb +1585 -0
  120. data/test/test_campaign_service.rb +12 -0
  121. data/test/test_keyword_research_service.rb +15 -0
  122. data/test/test_master_account_service.rb +18 -0
  123. data/ysm.properties +6 -0
  124. metadata +171 -0
@@ -0,0 +1,691 @@
1
+ require 'xsd/qname'
2
+
3
+ module YSM::KeywordService
4
+
5
+
6
+ # {http://marketing.ews.yahooapis.com/V2}Keyword
7
+ class Keyword
8
+ attr_accessor :iD
9
+ attr_accessor :accountID
10
+ attr_accessor :adGroupID
11
+ attr_accessor :advancedMatchON
12
+ attr_accessor :alternateText
13
+ attr_accessor :canonicalSearchText
14
+ attr_accessor :createTimestamp
15
+ attr_accessor :deleteTimestamp
16
+ attr_accessor :editorialStatus
17
+ attr_accessor :lastUpdateTimestamp
18
+ attr_accessor :phraseSearchText
19
+ attr_accessor :sponsoredSearchMaxBid
20
+ attr_accessor :sponsoredSearchMaxBidTimestamp
21
+ attr_accessor :status
22
+ attr_accessor :text
23
+ attr_accessor :update
24
+ attr_accessor :url
25
+ attr_accessor :watchON
26
+
27
+ def initialize(iD = nil, accountID = nil, adGroupID = nil, advancedMatchON = nil, alternateText = nil, canonicalSearchText = nil, createTimestamp = nil, deleteTimestamp = nil, editorialStatus = nil, lastUpdateTimestamp = nil, phraseSearchText = nil, sponsoredSearchMaxBid = nil, sponsoredSearchMaxBidTimestamp = nil, status = nil, text = nil, update = nil, url = nil, watchON = nil)
28
+ @iD = iD
29
+ @accountID = accountID
30
+ @adGroupID = adGroupID
31
+ @advancedMatchON = advancedMatchON
32
+ @alternateText = alternateText
33
+ @canonicalSearchText = canonicalSearchText
34
+ @createTimestamp = createTimestamp
35
+ @deleteTimestamp = deleteTimestamp
36
+ @editorialStatus = editorialStatus
37
+ @lastUpdateTimestamp = lastUpdateTimestamp
38
+ @phraseSearchText = phraseSearchText
39
+ @sponsoredSearchMaxBid = sponsoredSearchMaxBid
40
+ @sponsoredSearchMaxBidTimestamp = sponsoredSearchMaxBidTimestamp
41
+ @status = status
42
+ @text = text
43
+ @update = update
44
+ @url = url
45
+ @watchON = watchON
46
+ end
47
+ end
48
+
49
+ # {http://marketing.ews.yahooapis.com/V2}KeywordResponse
50
+ class KeywordResponse
51
+ attr_accessor :editorialReasons
52
+ attr_accessor :errors
53
+ attr_accessor :keyword
54
+ attr_accessor :operationSucceeded
55
+
56
+ def initialize(editorialReasons = nil, errors = nil, keyword = nil, operationSucceeded = nil)
57
+ @editorialReasons = editorialReasons
58
+ @errors = errors
59
+ @keyword = keyword
60
+ @operationSucceeded = operationSucceeded
61
+ end
62
+ end
63
+
64
+ # {http://marketing.ews.yahooapis.com/V2}KeywordEditorialReasons
65
+ class KeywordEditorialReasons
66
+ attr_accessor :alternateTextEditorialReasons
67
+ attr_accessor :keywordEditorialReasons
68
+ attr_accessor :keywordID
69
+ attr_accessor :phraseSearchTextEditorialReasons
70
+ attr_accessor :textEditorialReasons
71
+ attr_accessor :urlContentEditorialReasons
72
+ attr_accessor :urlEditorialReasons
73
+ attr_accessor :urlStringEditorialReasons
74
+
75
+ def initialize(alternateTextEditorialReasons = nil, keywordEditorialReasons = nil, keywordID = nil, phraseSearchTextEditorialReasons = nil, textEditorialReasons = nil, urlContentEditorialReasons = nil, urlEditorialReasons = nil, urlStringEditorialReasons = nil)
76
+ @alternateTextEditorialReasons = alternateTextEditorialReasons
77
+ @keywordEditorialReasons = keywordEditorialReasons
78
+ @keywordID = keywordID
79
+ @phraseSearchTextEditorialReasons = phraseSearchTextEditorialReasons
80
+ @textEditorialReasons = textEditorialReasons
81
+ @urlContentEditorialReasons = urlContentEditorialReasons
82
+ @urlEditorialReasons = urlEditorialReasons
83
+ @urlStringEditorialReasons = urlStringEditorialReasons
84
+ end
85
+ end
86
+
87
+ # {http://marketing.ews.yahooapis.com/V2}ArrayOfInt
88
+ class ArrayOfInt < ::Array
89
+ end
90
+
91
+ # {http://marketing.ews.yahooapis.com/V2}ArrayOfError
92
+ class ArrayOfError < ::Array
93
+ end
94
+
95
+ # {http://marketing.ews.yahooapis.com/V2}Error
96
+ class Error
97
+ attr_accessor :code
98
+ attr_accessor :message
99
+
100
+ def initialize(code = nil, message = nil)
101
+ @code = code
102
+ @message = message
103
+ end
104
+ end
105
+
106
+ # {http://marketing.ews.yahooapis.com/V2}ApiFault
107
+ class ApiFault < ::StandardError
108
+ attr_accessor :code
109
+ attr_accessor :message
110
+
111
+ def initialize(code = nil, message = nil)
112
+ @code = code
113
+ @message = message
114
+ end
115
+ end
116
+
117
+ # {http://marketing.ews.yahooapis.com/V2}ArrayOfLong
118
+ class ArrayOfLong < ::Array
119
+ end
120
+
121
+ # {http://marketing.ews.yahooapis.com/V2}ArrayOfKeyword
122
+ class ArrayOfKeyword < ::Array
123
+ end
124
+
125
+ # {http://marketing.ews.yahooapis.com/V2}UpdateForKeyword
126
+ class UpdateForKeyword
127
+ attr_accessor :iD
128
+ attr_accessor :accountID
129
+ attr_accessor :alternateText
130
+ attr_accessor :canonicalSearchText
131
+ attr_accessor :createTimestamp
132
+ attr_accessor :editorialStatus
133
+ attr_accessor :lastUpdateTimestamp
134
+ attr_accessor :phraseSearchText
135
+ attr_accessor :text
136
+ attr_accessor :url
137
+
138
+ def initialize(iD = nil, accountID = nil, alternateText = nil, canonicalSearchText = nil, createTimestamp = nil, editorialStatus = nil, lastUpdateTimestamp = nil, phraseSearchText = nil, text = nil, url = nil)
139
+ @iD = iD
140
+ @accountID = accountID
141
+ @alternateText = alternateText
142
+ @canonicalSearchText = canonicalSearchText
143
+ @createTimestamp = createTimestamp
144
+ @editorialStatus = editorialStatus
145
+ @lastUpdateTimestamp = lastUpdateTimestamp
146
+ @phraseSearchText = phraseSearchText
147
+ @text = text
148
+ @url = url
149
+ end
150
+ end
151
+
152
+ # {http://marketing.ews.yahooapis.com/V2}ArrayOfBasicResponse
153
+ class ArrayOfBasicResponse < ::Array
154
+ end
155
+
156
+ # {http://marketing.ews.yahooapis.com/V2}BasicResponse
157
+ class BasicResponse
158
+ attr_accessor :errors
159
+ attr_accessor :operationSucceeded
160
+
161
+ def initialize(errors = nil, operationSucceeded = nil)
162
+ @errors = errors
163
+ @operationSucceeded = operationSucceeded
164
+ end
165
+ end
166
+
167
+ # {http://marketing.ews.yahooapis.com/V2}KeywordOptimizationGuidelines
168
+ class KeywordOptimizationGuidelines
169
+ attr_accessor :accountID
170
+ attr_accessor :adGroupID
171
+ attr_accessor :createTimestamp
172
+ attr_accessor :keywordID
173
+ attr_accessor :lastUpdateTimestamp
174
+ attr_accessor :sponsoredSearchMaxBid
175
+
176
+ def initialize(accountID = nil, adGroupID = nil, createTimestamp = nil, keywordID = nil, lastUpdateTimestamp = nil, sponsoredSearchMaxBid = nil)
177
+ @accountID = accountID
178
+ @adGroupID = adGroupID
179
+ @createTimestamp = createTimestamp
180
+ @keywordID = keywordID
181
+ @lastUpdateTimestamp = lastUpdateTimestamp
182
+ @sponsoredSearchMaxBid = sponsoredSearchMaxBid
183
+ end
184
+ end
185
+
186
+ # {http://marketing.ews.yahooapis.com/V2}KeywordOptimizationGuidelinesResponse
187
+ class KeywordOptimizationGuidelinesResponse
188
+ attr_accessor :errors
189
+ attr_accessor :keywordOptimizationGuidelines
190
+ attr_accessor :operationSucceeded
191
+
192
+ def initialize(errors = nil, keywordOptimizationGuidelines = nil, operationSucceeded = nil)
193
+ @errors = errors
194
+ @keywordOptimizationGuidelines = keywordOptimizationGuidelines
195
+ @operationSucceeded = operationSucceeded
196
+ end
197
+ end
198
+
199
+ # {http://marketing.ews.yahooapis.com/V2}ArrayOfKeywordResponse
200
+ class ArrayOfKeywordResponse < ::Array
201
+ end
202
+
203
+ # {http://schemas.xmlsoap.org/ws/2002/07/secext}Security
204
+ class Security
205
+ attr_accessor :usernameToken
206
+
207
+ def initialize(usernameToken = nil)
208
+ @usernameToken = usernameToken
209
+ end
210
+ end
211
+
212
+ # {http://schemas.xmlsoap.org/ws/2002/07/secext}UsernameToken
213
+ class UsernameToken
214
+ attr_accessor :username
215
+ attr_accessor :password
216
+
217
+ def initialize(username = nil, password = nil)
218
+ @username = username
219
+ @password = password
220
+ end
221
+ end
222
+
223
+ # {http://marketing.ews.yahooapis.com/V2}KeywordStatus
224
+ class KeywordStatus < ::String
225
+ Deleted = KeywordStatus.new("Deleted")
226
+ Off = KeywordStatus.new("Off")
227
+ On = KeywordStatus.new("On")
228
+ end
229
+
230
+ # {http://marketing.ews.yahooapis.com/V2}EditorialStatus
231
+ class EditorialStatus < ::String
232
+ Approved = EditorialStatus.new("Approved")
233
+ Pending = EditorialStatus.new("Pending")
234
+ Rejected = EditorialStatus.new("Rejected")
235
+ Suspended = EditorialStatus.new("Suspended")
236
+ end
237
+
238
+ # {http://marketing.ews.yahooapis.com/V2}addKeyword
239
+ class AddKeyword
240
+ attr_accessor :keyword
241
+
242
+ def initialize(keyword = nil)
243
+ @keyword = keyword
244
+ end
245
+ end
246
+
247
+ # {http://marketing.ews.yahooapis.com/V2}addKeywordResponse
248
+ class AddKeywordResponse
249
+ attr_accessor :out
250
+
251
+ def initialize(out = nil)
252
+ @out = out
253
+ end
254
+ end
255
+
256
+ # {http://marketing.ews.yahooapis.com/V2}getKeywords
257
+ class GetKeywords
258
+ attr_accessor :keywordIDs
259
+
260
+ def initialize(keywordIDs = nil)
261
+ @keywordIDs = keywordIDs
262
+ end
263
+ end
264
+
265
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordsResponse
266
+ class GetKeywordsResponse
267
+ attr_accessor :out
268
+
269
+ def initialize(out = nil)
270
+ @out = out
271
+ end
272
+ end
273
+
274
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordsByAdGroupID
275
+ class GetKeywordsByAdGroupID
276
+ attr_accessor :adGroupID
277
+ attr_accessor :includeDeleted
278
+ attr_accessor :startElement
279
+ attr_accessor :numElements
280
+
281
+ def initialize(adGroupID = nil, includeDeleted = nil, startElement = nil, numElements = nil)
282
+ @adGroupID = adGroupID
283
+ @includeDeleted = includeDeleted
284
+ @startElement = startElement
285
+ @numElements = numElements
286
+ end
287
+ end
288
+
289
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordsByAdGroupIDResponse
290
+ class GetKeywordsByAdGroupIDResponse
291
+ attr_accessor :out
292
+
293
+ def initialize(out = nil)
294
+ @out = out
295
+ end
296
+ end
297
+
298
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordsByAdGroupIDByEditorialStatus
299
+ class GetKeywordsByAdGroupIDByEditorialStatus
300
+ attr_accessor :adGroupID
301
+ attr_accessor :update
302
+ attr_accessor :status
303
+ attr_accessor :includeDeleted
304
+
305
+ def initialize(adGroupID = nil, update = nil, status = nil, includeDeleted = nil)
306
+ @adGroupID = adGroupID
307
+ @update = update
308
+ @status = status
309
+ @includeDeleted = includeDeleted
310
+ end
311
+ end
312
+
313
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordsByAdGroupIDByEditorialStatusResponse
314
+ class GetKeywordsByAdGroupIDByEditorialStatusResponse
315
+ attr_accessor :out
316
+
317
+ def initialize(out = nil)
318
+ @out = out
319
+ end
320
+ end
321
+
322
+ # {http://marketing.ews.yahooapis.com/V2}getUpdateForKeyword
323
+ class GetUpdateForKeyword
324
+ attr_accessor :keywordID
325
+
326
+ def initialize(keywordID = nil)
327
+ @keywordID = keywordID
328
+ end
329
+ end
330
+
331
+ # {http://marketing.ews.yahooapis.com/V2}getUpdateForKeywordResponse
332
+ class GetUpdateForKeywordResponse
333
+ attr_accessor :out
334
+
335
+ def initialize(out = nil)
336
+ @out = out
337
+ end
338
+ end
339
+
340
+ # {http://marketing.ews.yahooapis.com/V2}deleteKeywords
341
+ class DeleteKeywords
342
+ attr_accessor :keywordIDs
343
+
344
+ def initialize(keywordIDs = nil)
345
+ @keywordIDs = keywordIDs
346
+ end
347
+ end
348
+
349
+ # {http://marketing.ews.yahooapis.com/V2}deleteKeywordsResponse
350
+ class DeleteKeywordsResponse
351
+ attr_accessor :out
352
+
353
+ def initialize(out = nil)
354
+ @out = out
355
+ end
356
+ end
357
+
358
+ # {http://marketing.ews.yahooapis.com/V2}updateKeyword
359
+ class UpdateKeyword
360
+ attr_accessor :keyword
361
+ attr_accessor :updateAll
362
+
363
+ def initialize(keyword = nil, updateAll = nil)
364
+ @keyword = keyword
365
+ @updateAll = updateAll
366
+ end
367
+ end
368
+
369
+ # {http://marketing.ews.yahooapis.com/V2}updateKeywordResponse
370
+ class UpdateKeywordResponse
371
+ attr_accessor :out
372
+
373
+ def initialize(out = nil)
374
+ @out = out
375
+ end
376
+ end
377
+
378
+ # {http://marketing.ews.yahooapis.com/V2}setKeywordSponsoredSearchMaxBid
379
+ class SetKeywordSponsoredSearchMaxBid
380
+ attr_accessor :keywordID
381
+ attr_accessor :maxBid
382
+
383
+ def initialize(keywordID = nil, maxBid = nil)
384
+ @keywordID = keywordID
385
+ @maxBid = maxBid
386
+ end
387
+ end
388
+
389
+ # {http://marketing.ews.yahooapis.com/V2}setKeywordSponsoredSearchMaxBidResponse
390
+ class SetKeywordSponsoredSearchMaxBidResponse
391
+ attr_accessor :out
392
+
393
+ def initialize(out = nil)
394
+ @out = out
395
+ end
396
+ end
397
+
398
+ # {http://marketing.ews.yahooapis.com/V2}getOptimizationGuidelinesForKeyword
399
+ class GetOptimizationGuidelinesForKeyword
400
+ attr_accessor :keywordID
401
+
402
+ def initialize(keywordID = nil)
403
+ @keywordID = keywordID
404
+ end
405
+ end
406
+
407
+ # {http://marketing.ews.yahooapis.com/V2}getOptimizationGuidelinesForKeywordResponse
408
+ class GetOptimizationGuidelinesForKeywordResponse
409
+ attr_accessor :out
410
+
411
+ def initialize(out = nil)
412
+ @out = out
413
+ end
414
+ end
415
+
416
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordsByAccountID
417
+ class GetKeywordsByAccountID
418
+ attr_accessor :accountID
419
+ attr_accessor :includeDeleted
420
+ attr_accessor :startElement
421
+ attr_accessor :numElements
422
+
423
+ def initialize(accountID = nil, includeDeleted = nil, startElement = nil, numElements = nil)
424
+ @accountID = accountID
425
+ @includeDeleted = includeDeleted
426
+ @startElement = startElement
427
+ @numElements = numElements
428
+ end
429
+ end
430
+
431
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordsByAccountIDResponse
432
+ class GetKeywordsByAccountIDResponse
433
+ attr_accessor :out
434
+
435
+ def initialize(out = nil)
436
+ @out = out
437
+ end
438
+ end
439
+
440
+ # {http://marketing.ews.yahooapis.com/V2}getEditorialReasonsForKeyword
441
+ class GetEditorialReasonsForKeyword
442
+ attr_accessor :keywordID
443
+
444
+ def initialize(keywordID = nil)
445
+ @keywordID = keywordID
446
+ end
447
+ end
448
+
449
+ # {http://marketing.ews.yahooapis.com/V2}getEditorialReasonsForKeywordResponse
450
+ class GetEditorialReasonsForKeywordResponse
451
+ attr_accessor :out
452
+
453
+ def initialize(out = nil)
454
+ @out = out
455
+ end
456
+ end
457
+
458
+ # {http://marketing.ews.yahooapis.com/V2}deleteKeyword
459
+ class DeleteKeyword
460
+ attr_accessor :keywordID
461
+
462
+ def initialize(keywordID = nil)
463
+ @keywordID = keywordID
464
+ end
465
+ end
466
+
467
+ # {http://marketing.ews.yahooapis.com/V2}deleteKeywordResponse
468
+ class DeleteKeywordResponse
469
+ attr_accessor :out
470
+
471
+ def initialize(out = nil)
472
+ @out = out
473
+ end
474
+ end
475
+
476
+ # {http://marketing.ews.yahooapis.com/V2}setKeywordUrl
477
+ class SetKeywordUrl
478
+ attr_accessor :keywordID
479
+ attr_accessor :url
480
+
481
+ def initialize(keywordID = nil, url = nil)
482
+ @keywordID = keywordID
483
+ @url = url
484
+ end
485
+ end
486
+
487
+ # {http://marketing.ews.yahooapis.com/V2}setKeywordUrlResponse
488
+ class SetKeywordUrlResponse
489
+ attr_accessor :out
490
+
491
+ def initialize(out = nil)
492
+ @out = out
493
+ end
494
+ end
495
+
496
+ # {http://marketing.ews.yahooapis.com/V2}getStatusForKeyword
497
+ class GetStatusForKeyword
498
+ attr_accessor :keywordID
499
+
500
+ def initialize(keywordID = nil)
501
+ @keywordID = keywordID
502
+ end
503
+ end
504
+
505
+ # {http://marketing.ews.yahooapis.com/V2}getStatusForKeywordResponse
506
+ class GetStatusForKeywordResponse
507
+ attr_accessor :out
508
+
509
+ def initialize(out = nil)
510
+ @out = out
511
+ end
512
+ end
513
+
514
+ # {http://marketing.ews.yahooapis.com/V2}setOptimizationGuidelinesForKeyword
515
+ class SetOptimizationGuidelinesForKeyword
516
+ attr_accessor :optimizationGuidelines
517
+
518
+ def initialize(optimizationGuidelines = nil)
519
+ @optimizationGuidelines = optimizationGuidelines
520
+ end
521
+ end
522
+
523
+ # {http://marketing.ews.yahooapis.com/V2}setOptimizationGuidelinesForKeywordResponse
524
+ class SetOptimizationGuidelinesForKeywordResponse
525
+ attr_accessor :out
526
+
527
+ def initialize(out = nil)
528
+ @out = out
529
+ end
530
+ end
531
+
532
+ # {http://marketing.ews.yahooapis.com/V2}updateStatusForKeywords
533
+ class UpdateStatusForKeywords
534
+ attr_accessor :keywordIDs
535
+ attr_accessor :status
536
+
537
+ def initialize(keywordIDs = nil, status = nil)
538
+ @keywordIDs = keywordIDs
539
+ @status = status
540
+ end
541
+ end
542
+
543
+ # {http://marketing.ews.yahooapis.com/V2}updateStatusForKeywordsResponse
544
+ class UpdateStatusForKeywordsResponse
545
+ attr_accessor :out
546
+
547
+ def initialize(out = nil)
548
+ @out = out
549
+ end
550
+ end
551
+
552
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordSponsoredSearchMaxBid
553
+ class GetKeywordSponsoredSearchMaxBid
554
+ attr_accessor :keywordID
555
+
556
+ def initialize(keywordID = nil)
557
+ @keywordID = keywordID
558
+ end
559
+ end
560
+
561
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordSponsoredSearchMaxBidResponse
562
+ class GetKeywordSponsoredSearchMaxBidResponse
563
+ attr_accessor :out
564
+
565
+ def initialize(out = nil)
566
+ @out = out
567
+ end
568
+ end
569
+
570
+ # {http://marketing.ews.yahooapis.com/V2}updateStatusForKeyword
571
+ class UpdateStatusForKeyword
572
+ attr_accessor :keywordID
573
+ attr_accessor :status
574
+
575
+ def initialize(keywordID = nil, status = nil)
576
+ @keywordID = keywordID
577
+ @status = status
578
+ end
579
+ end
580
+
581
+ # {http://marketing.ews.yahooapis.com/V2}updateStatusForKeywordResponse
582
+ class UpdateStatusForKeywordResponse
583
+ attr_accessor :out
584
+
585
+ def initialize(out = nil)
586
+ @out = out
587
+ end
588
+ end
589
+
590
+ # {http://marketing.ews.yahooapis.com/V2}getKeyword
591
+ class GetKeyword
592
+ attr_accessor :keywordID
593
+
594
+ def initialize(keywordID = nil)
595
+ @keywordID = keywordID
596
+ end
597
+ end
598
+
599
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordResponse
600
+ class GetKeywordResponse
601
+ attr_accessor :out
602
+
603
+ def initialize(out = nil)
604
+ @out = out
605
+ end
606
+ end
607
+
608
+ # {http://marketing.ews.yahooapis.com/V2}updateKeywords
609
+ class UpdateKeywords
610
+ attr_accessor :keywords
611
+ attr_accessor :updateAll
612
+
613
+ def initialize(keywords = nil, updateAll = nil)
614
+ @keywords = keywords
615
+ @updateAll = updateAll
616
+ end
617
+ end
618
+
619
+ # {http://marketing.ews.yahooapis.com/V2}updateKeywordsResponse
620
+ class UpdateKeywordsResponse
621
+ attr_accessor :out
622
+
623
+ def initialize(out = nil)
624
+ @out = out
625
+ end
626
+ end
627
+
628
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordsByAdGroupIDByStatus
629
+ class GetKeywordsByAdGroupIDByStatus
630
+ attr_accessor :adGroupID
631
+ attr_accessor :status
632
+ attr_accessor :startElement
633
+ attr_accessor :numElements
634
+
635
+ def initialize(adGroupID = nil, status = nil, startElement = nil, numElements = nil)
636
+ @adGroupID = adGroupID
637
+ @status = status
638
+ @startElement = startElement
639
+ @numElements = numElements
640
+ end
641
+ end
642
+
643
+ # {http://marketing.ews.yahooapis.com/V2}getKeywordsByAdGroupIDByStatusResponse
644
+ class GetKeywordsByAdGroupIDByStatusResponse
645
+ attr_accessor :out
646
+
647
+ def initialize(out = nil)
648
+ @out = out
649
+ end
650
+ end
651
+
652
+ # {http://marketing.ews.yahooapis.com/V2}addKeywords
653
+ class AddKeywords
654
+ attr_accessor :keywords
655
+
656
+ def initialize(keywords = nil)
657
+ @keywords = keywords
658
+ end
659
+ end
660
+
661
+ # {http://marketing.ews.yahooapis.com/V2}addKeywordsResponse
662
+ class AddKeywordsResponse
663
+ attr_accessor :out
664
+
665
+ def initialize(out = nil)
666
+ @out = out
667
+ end
668
+ end
669
+
670
+ # {http://marketing.ews.yahooapis.com/V2}getEditorialReasonText
671
+ class GetEditorialReasonText
672
+ attr_accessor :editorialReasonCode
673
+ attr_accessor :locale
674
+
675
+ def initialize(editorialReasonCode = nil, locale = nil)
676
+ @editorialReasonCode = editorialReasonCode
677
+ @locale = locale
678
+ end
679
+ end
680
+
681
+ # {http://marketing.ews.yahooapis.com/V2}getEditorialReasonTextResponse
682
+ class GetEditorialReasonTextResponse
683
+ attr_accessor :out
684
+
685
+ def initialize(out = nil)
686
+ @out = out
687
+ end
688
+ end
689
+
690
+
691
+ end