ysm4r 0.1

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 (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,671 @@
1
+ require 'xsd/qname'
2
+
3
+ module YSM::KeywordService
4
+
5
+
6
+ # {http://marketing.ews.yahooapis.com/V1}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/V1}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/V1}ArrayOfError
65
+ class ArrayOfError < ::Array
66
+ end
67
+
68
+ # {http://marketing.ews.yahooapis.com/V1}Error
69
+ class Error
70
+ attr_accessor :code
71
+ attr_accessor :message
72
+
73
+ def initialize(code = nil, message = nil)
74
+ @code = code
75
+ @message = message
76
+ end
77
+ end
78
+
79
+ # {http://marketing.ews.yahooapis.com/V1}KeywordEditorialReasons
80
+ class KeywordEditorialReasons
81
+ attr_accessor :alternateTextEditorialReasons
82
+ attr_accessor :keywordEditorialReasons
83
+ attr_accessor :keywordID
84
+ attr_accessor :phraseSearchTextEditorialReasons
85
+ attr_accessor :textEditorialReasons
86
+ attr_accessor :urlContentEditorialReasons
87
+ attr_accessor :urlEditorialReasons
88
+ attr_accessor :urlStringEditorialReasons
89
+
90
+ def initialize(alternateTextEditorialReasons = nil, keywordEditorialReasons = nil, keywordID = nil, phraseSearchTextEditorialReasons = nil, textEditorialReasons = nil, urlContentEditorialReasons = nil, urlEditorialReasons = nil, urlStringEditorialReasons = nil)
91
+ @alternateTextEditorialReasons = alternateTextEditorialReasons
92
+ @keywordEditorialReasons = keywordEditorialReasons
93
+ @keywordID = keywordID
94
+ @phraseSearchTextEditorialReasons = phraseSearchTextEditorialReasons
95
+ @textEditorialReasons = textEditorialReasons
96
+ @urlContentEditorialReasons = urlContentEditorialReasons
97
+ @urlEditorialReasons = urlEditorialReasons
98
+ @urlStringEditorialReasons = urlStringEditorialReasons
99
+ end
100
+ end
101
+
102
+ # {http://marketing.ews.yahooapis.com/V1}ArrayOfInt
103
+ class ArrayOfInt < ::Array
104
+ end
105
+
106
+ # {http://marketing.ews.yahooapis.com/V1}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/V1}ArrayOfLong
118
+ class ArrayOfLong < ::Array
119
+ end
120
+
121
+ # {http://marketing.ews.yahooapis.com/V1}ArrayOfKeyword
122
+ class ArrayOfKeyword < ::Array
123
+ end
124
+
125
+ # {http://marketing.ews.yahooapis.com/V1}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/V1}ArrayOfBasicResponse
153
+ class ArrayOfBasicResponse < ::Array
154
+ end
155
+
156
+ # {http://marketing.ews.yahooapis.com/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}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/V1}getStatusForKeyword
477
+ class GetStatusForKeyword
478
+ attr_accessor :keywordID
479
+
480
+ def initialize(keywordID = nil)
481
+ @keywordID = keywordID
482
+ end
483
+ end
484
+
485
+ # {http://marketing.ews.yahooapis.com/V1}getStatusForKeywordResponse
486
+ class GetStatusForKeywordResponse
487
+ attr_accessor :out
488
+
489
+ def initialize(out = nil)
490
+ @out = out
491
+ end
492
+ end
493
+
494
+ # {http://marketing.ews.yahooapis.com/V1}setOptimizationGuidelinesForKeyword
495
+ class SetOptimizationGuidelinesForKeyword
496
+ attr_accessor :optimizationGuidelines
497
+
498
+ def initialize(optimizationGuidelines = nil)
499
+ @optimizationGuidelines = optimizationGuidelines
500
+ end
501
+ end
502
+
503
+ # {http://marketing.ews.yahooapis.com/V1}setOptimizationGuidelinesForKeywordResponse
504
+ class SetOptimizationGuidelinesForKeywordResponse
505
+ attr_accessor :out
506
+
507
+ def initialize(out = nil)
508
+ @out = out
509
+ end
510
+ end
511
+
512
+ # {http://marketing.ews.yahooapis.com/V1}updateStatusForKeywords
513
+ class UpdateStatusForKeywords
514
+ attr_accessor :keywordIDs
515
+ attr_accessor :status
516
+
517
+ def initialize(keywordIDs = nil, status = nil)
518
+ @keywordIDs = keywordIDs
519
+ @status = status
520
+ end
521
+ end
522
+
523
+ # {http://marketing.ews.yahooapis.com/V1}updateStatusForKeywordsResponse
524
+ class UpdateStatusForKeywordsResponse
525
+ attr_accessor :out
526
+
527
+ def initialize(out = nil)
528
+ @out = out
529
+ end
530
+ end
531
+
532
+ # {http://marketing.ews.yahooapis.com/V1}getKeywordSponsoredSearchMaxBid
533
+ class GetKeywordSponsoredSearchMaxBid
534
+ attr_accessor :keywordID
535
+
536
+ def initialize(keywordID = nil)
537
+ @keywordID = keywordID
538
+ end
539
+ end
540
+
541
+ # {http://marketing.ews.yahooapis.com/V1}getKeywordSponsoredSearchMaxBidResponse
542
+ class GetKeywordSponsoredSearchMaxBidResponse
543
+ attr_accessor :out
544
+
545
+ def initialize(out = nil)
546
+ @out = out
547
+ end
548
+ end
549
+
550
+ # {http://marketing.ews.yahooapis.com/V1}updateStatusForKeyword
551
+ class UpdateStatusForKeyword
552
+ attr_accessor :keywordID
553
+ attr_accessor :status
554
+
555
+ def initialize(keywordID = nil, status = nil)
556
+ @keywordID = keywordID
557
+ @status = status
558
+ end
559
+ end
560
+
561
+ # {http://marketing.ews.yahooapis.com/V1}updateStatusForKeywordResponse
562
+ class UpdateStatusForKeywordResponse
563
+ attr_accessor :out
564
+
565
+ def initialize(out = nil)
566
+ @out = out
567
+ end
568
+ end
569
+
570
+ # {http://marketing.ews.yahooapis.com/V1}getKeyword
571
+ class GetKeyword
572
+ attr_accessor :keywordID
573
+
574
+ def initialize(keywordID = nil)
575
+ @keywordID = keywordID
576
+ end
577
+ end
578
+
579
+ # {http://marketing.ews.yahooapis.com/V1}getKeywordResponse
580
+ class GetKeywordResponse
581
+ attr_accessor :out
582
+
583
+ def initialize(out = nil)
584
+ @out = out
585
+ end
586
+ end
587
+
588
+ # {http://marketing.ews.yahooapis.com/V1}updateKeywords
589
+ class UpdateKeywords
590
+ attr_accessor :keywords
591
+ attr_accessor :updateAll
592
+
593
+ def initialize(keywords = nil, updateAll = nil)
594
+ @keywords = keywords
595
+ @updateAll = updateAll
596
+ end
597
+ end
598
+
599
+ # {http://marketing.ews.yahooapis.com/V1}updateKeywordsResponse
600
+ class UpdateKeywordsResponse
601
+ attr_accessor :out
602
+
603
+ def initialize(out = nil)
604
+ @out = out
605
+ end
606
+ end
607
+
608
+ # {http://marketing.ews.yahooapis.com/V1}getKeywordsByAdGroupIDByStatus
609
+ class GetKeywordsByAdGroupIDByStatus
610
+ attr_accessor :adGroupID
611
+ attr_accessor :status
612
+ attr_accessor :startElement
613
+ attr_accessor :numElements
614
+
615
+ def initialize(adGroupID = nil, status = nil, startElement = nil, numElements = nil)
616
+ @adGroupID = adGroupID
617
+ @status = status
618
+ @startElement = startElement
619
+ @numElements = numElements
620
+ end
621
+ end
622
+
623
+ # {http://marketing.ews.yahooapis.com/V1}getKeywordsByAdGroupIDByStatusResponse
624
+ class GetKeywordsByAdGroupIDByStatusResponse
625
+ attr_accessor :out
626
+
627
+ def initialize(out = nil)
628
+ @out = out
629
+ end
630
+ end
631
+
632
+ # {http://marketing.ews.yahooapis.com/V1}addKeywords
633
+ class AddKeywords
634
+ attr_accessor :keywords
635
+
636
+ def initialize(keywords = nil)
637
+ @keywords = keywords
638
+ end
639
+ end
640
+
641
+ # {http://marketing.ews.yahooapis.com/V1}addKeywordsResponse
642
+ class AddKeywordsResponse
643
+ attr_accessor :out
644
+
645
+ def initialize(out = nil)
646
+ @out = out
647
+ end
648
+ end
649
+
650
+ # {http://marketing.ews.yahooapis.com/V1}getEditorialReasonText
651
+ class GetEditorialReasonText
652
+ attr_accessor :editorialReasonCode
653
+ attr_accessor :locale
654
+
655
+ def initialize(editorialReasonCode = nil, locale = nil)
656
+ @editorialReasonCode = editorialReasonCode
657
+ @locale = locale
658
+ end
659
+ end
660
+
661
+ # {http://marketing.ews.yahooapis.com/V1}getEditorialReasonTextResponse
662
+ class GetEditorialReasonTextResponse
663
+ attr_accessor :out
664
+
665
+ def initialize(out = nil)
666
+ @out = out
667
+ end
668
+ end
669
+
670
+
671
+ end