ysm4r 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Authors.txt +2 -0
- data/ChangeLog.txt +1 -0
- data/License.txt +13 -0
- data/Rakefile +209 -0
- data/Readme.txt +4 -0
- data/clean.sh +3 -0
- data/lib/soapex/driver.rb +13 -0
- data/lib/soapex/error.rb +49 -0
- data/lib/soapex/mapping.rb +31 -0
- data/lib/soapex/wsdl2ruby.rb +166 -0
- data/lib/ysm4r.rb +4 -0
- data/lib/ysm4r/client.rb +120 -0
- data/lib/ysm4r/service.rb +68 -0
- data/lib/ysm4r/v1/AccountService.rb +370 -0
- data/lib/ysm4r/v1/AccountServiceDriver.rb +162 -0
- data/lib/ysm4r/v1/AccountServiceMappingRegistry.rb +509 -0
- data/lib/ysm4r/v1/AdGroupService.rb +649 -0
- data/lib/ysm4r/v1/AdGroupServiceDriver.rb +226 -0
- data/lib/ysm4r/v1/AdGroupServiceMappingRegistry.rb +864 -0
- data/lib/ysm4r/v1/AdService.rb +533 -0
- data/lib/ysm4r/v1/AdServiceDriver.rb +178 -0
- data/lib/ysm4r/v1/AdServiceMappingRegistry.rb +753 -0
- data/lib/ysm4r/v1/BasicReportService.rb +259 -0
- data/lib/ysm4r/v1/BasicReportServiceDriver.rb +98 -0
- data/lib/ysm4r/v1/BasicReportServiceMappingRegistry.rb +389 -0
- data/lib/ysm4r/v1/BidInformationService.rb +69 -0
- data/lib/ysm4r/v1/BidInformationServiceDriver.rb +50 -0
- data/lib/ysm4r/v1/BidInformationServiceMappingRegistry.rb +135 -0
- data/lib/ysm4r/v1/BudgetingService.rb +161 -0
- data/lib/ysm4r/v1/BudgetingServiceDriver.rb +98 -0
- data/lib/ysm4r/v1/BudgetingServiceMappingRegistry.rb +230 -0
- data/lib/ysm4r/v1/CampaignService.rb +644 -0
- data/lib/ysm4r/v1/CampaignServiceDriver.rb +210 -0
- data/lib/ysm4r/v1/CampaignServiceMappingRegistry.rb +909 -0
- data/lib/ysm4r/v1/ExcludedWordsService.rb +294 -0
- data/lib/ysm4r/v1/ExcludedWordsServiceDriver.rb +122 -0
- data/lib/ysm4r/v1/ExcludedWordsServiceMappingRegistry.rb +469 -0
- data/lib/ysm4r/v1/ForecastService.rb +200 -0
- data/lib/ysm4r/v1/ForecastServiceDriver.rb +66 -0
- data/lib/ysm4r/v1/ForecastServiceMappingRegistry.rb +359 -0
- data/lib/ysm4r/v1/KeywordResearchService.rb +290 -0
- data/lib/ysm4r/v1/KeywordResearchServiceDriver.rb +66 -0
- data/lib/ysm4r/v1/KeywordResearchServiceMappingRegistry.rb +548 -0
- data/lib/ysm4r/v1/KeywordService.rb +671 -0
- data/lib/ysm4r/v1/KeywordServiceDriver.rb +218 -0
- data/lib/ysm4r/v1/KeywordServiceMappingRegistry.rb +913 -0
- data/lib/ysm4r/v1/LocationService.rb +53 -0
- data/lib/ysm4r/v1/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v1/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v1/MasterAccountService.rb +289 -0
- data/lib/ysm4r/v1/MasterAccountServiceDriver.rb +74 -0
- data/lib/ysm4r/v1/MasterAccountServiceMappingRegistry.rb +414 -0
- data/lib/ysm4r/v1/UpgradeService.rb +72 -0
- data/lib/ysm4r/v1/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v1/UpgradeServiceMappingRegistry.rb +145 -0
- data/lib/ysm4r/v1/UserManagementService.rb +766 -0
- data/lib/ysm4r/v1/UserManagementServiceDriver.rb +290 -0
- data/lib/ysm4r/v1/UserManagementServiceMappingRegistry.rb +1057 -0
- data/lib/ysm4r/v1/sandbox/LocationService.rb +53 -0
- data/lib/ysm4r/v1/sandbox/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v1/sandbox/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v1/sandbox/UpgradeService.rb +72 -0
- data/lib/ysm4r/v1/sandbox/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v1/sandbox/UpgradeServiceMappingRegistry.rb +145 -0
- data/lib/ysm4r/v2/AccountService.rb +372 -0
- data/lib/ysm4r/v2/AccountServiceDriver.rb +162 -0
- data/lib/ysm4r/v2/AccountServiceMappingRegistry.rb +510 -0
- data/lib/ysm4r/v2/AdGroupService.rb +649 -0
- data/lib/ysm4r/v2/AdGroupServiceDriver.rb +226 -0
- data/lib/ysm4r/v2/AdGroupServiceMappingRegistry.rb +864 -0
- data/lib/ysm4r/v2/AdService.rb +553 -0
- data/lib/ysm4r/v2/AdServiceDriver.rb +186 -0
- data/lib/ysm4r/v2/AdServiceMappingRegistry.rb +774 -0
- data/lib/ysm4r/v2/BasicReportService.rb +272 -0
- data/lib/ysm4r/v2/BasicReportServiceDriver.rb +98 -0
- data/lib/ysm4r/v2/BasicReportServiceMappingRegistry.rb +389 -0
- data/lib/ysm4r/v2/BidInformationService.rb +109 -0
- data/lib/ysm4r/v2/BidInformationServiceDriver.rb +66 -0
- data/lib/ysm4r/v2/BidInformationServiceMappingRegistry.rb +177 -0
- data/lib/ysm4r/v2/BudgetingService.rb +161 -0
- data/lib/ysm4r/v2/BudgetingServiceDriver.rb +98 -0
- data/lib/ysm4r/v2/BudgetingServiceMappingRegistry.rb +230 -0
- data/lib/ysm4r/v2/CampaignService.rb +644 -0
- data/lib/ysm4r/v2/CampaignServiceDriver.rb +210 -0
- data/lib/ysm4r/v2/CampaignServiceMappingRegistry.rb +909 -0
- data/lib/ysm4r/v2/CompanyService.rb +68 -0
- data/lib/ysm4r/v2/CompanyServiceDriver.rb +50 -0
- data/lib/ysm4r/v2/CompanyServiceMappingRegistry.rb +136 -0
- data/lib/ysm4r/v2/ExcludedWordsService.rb +294 -0
- data/lib/ysm4r/v2/ExcludedWordsServiceDriver.rb +122 -0
- data/lib/ysm4r/v2/ExcludedWordsServiceMappingRegistry.rb +469 -0
- data/lib/ysm4r/v2/ForecastService.rb +200 -0
- data/lib/ysm4r/v2/ForecastServiceDriver.rb +66 -0
- data/lib/ysm4r/v2/ForecastServiceMappingRegistry.rb +359 -0
- data/lib/ysm4r/v2/KeywordResearchService.rb +369 -0
- data/lib/ysm4r/v2/KeywordResearchServiceDriver.rb +82 -0
- data/lib/ysm4r/v2/KeywordResearchServiceMappingRegistry.rb +673 -0
- data/lib/ysm4r/v2/KeywordService.rb +691 -0
- data/lib/ysm4r/v2/KeywordServiceDriver.rb +226 -0
- data/lib/ysm4r/v2/KeywordServiceMappingRegistry.rb +934 -0
- data/lib/ysm4r/v2/LocationService.rb +53 -0
- data/lib/ysm4r/v2/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v2/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v2/MasterAccountService.rb +332 -0
- data/lib/ysm4r/v2/MasterAccountServiceDriver.rb +82 -0
- data/lib/ysm4r/v2/MasterAccountServiceMappingRegistry.rb +480 -0
- data/lib/ysm4r/v2/UpgradeService.rb +72 -0
- data/lib/ysm4r/v2/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v2/UpgradeServiceMappingRegistry.rb +145 -0
- data/lib/ysm4r/v2/UserManagementService.rb +766 -0
- data/lib/ysm4r/v2/UserManagementServiceDriver.rb +290 -0
- data/lib/ysm4r/v2/UserManagementServiceMappingRegistry.rb +1057 -0
- data/lib/ysm4r/v2/sandbox/LocationService.rb +53 -0
- data/lib/ysm4r/v2/sandbox/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v2/sandbox/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v2/sandbox/UpgradeService.rb +72 -0
- data/lib/ysm4r/v2/sandbox/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v2/sandbox/UpgradeServiceMappingRegistry.rb +145 -0
- data/setup.rb +1585 -0
- data/test/test_campaign_service.rb +12 -0
- data/test/test_keyword_research_service.rb +15 -0
- data/test/test_master_account_service.rb +18 -0
- data/ysm.properties +6 -0
- metadata +171 -0
@@ -0,0 +1,294 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module YSM::ExcludedWordsService
|
4
|
+
|
5
|
+
|
6
|
+
# {http://marketing.ews.yahooapis.com/V1}ArrayOfExcludedWord
|
7
|
+
class ArrayOfExcludedWord < ::Array
|
8
|
+
end
|
9
|
+
|
10
|
+
# {http://marketing.ews.yahooapis.com/V1}ExcludedWord
|
11
|
+
class ExcludedWord
|
12
|
+
attr_accessor :iD
|
13
|
+
attr_accessor :accountID
|
14
|
+
attr_accessor :adGroupID
|
15
|
+
attr_accessor :createTimestamp
|
16
|
+
attr_accessor :deleteTimestamp
|
17
|
+
attr_accessor :phraseSearchText
|
18
|
+
attr_accessor :text
|
19
|
+
|
20
|
+
def initialize(iD = nil, accountID = nil, adGroupID = nil, createTimestamp = nil, deleteTimestamp = nil, phraseSearchText = nil, text = nil)
|
21
|
+
@iD = iD
|
22
|
+
@accountID = accountID
|
23
|
+
@adGroupID = adGroupID
|
24
|
+
@createTimestamp = createTimestamp
|
25
|
+
@deleteTimestamp = deleteTimestamp
|
26
|
+
@phraseSearchText = phraseSearchText
|
27
|
+
@text = text
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# {http://marketing.ews.yahooapis.com/V1}ApiFault
|
32
|
+
class ApiFault < ::StandardError
|
33
|
+
attr_accessor :code
|
34
|
+
attr_accessor :message
|
35
|
+
|
36
|
+
def initialize(code = nil, message = nil)
|
37
|
+
@code = code
|
38
|
+
@message = message
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# {http://marketing.ews.yahooapis.com/V1}ArrayOfLong
|
43
|
+
class ArrayOfLong < ::Array
|
44
|
+
end
|
45
|
+
|
46
|
+
# {http://marketing.ews.yahooapis.com/V1}ArrayOfBasicResponse
|
47
|
+
class ArrayOfBasicResponse < ::Array
|
48
|
+
end
|
49
|
+
|
50
|
+
# {http://marketing.ews.yahooapis.com/V1}BasicResponse
|
51
|
+
class BasicResponse
|
52
|
+
attr_accessor :errors
|
53
|
+
attr_accessor :operationSucceeded
|
54
|
+
|
55
|
+
def initialize(errors = nil, operationSucceeded = nil)
|
56
|
+
@errors = errors
|
57
|
+
@operationSucceeded = operationSucceeded
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# {http://marketing.ews.yahooapis.com/V1}ArrayOfError
|
62
|
+
class ArrayOfError < ::Array
|
63
|
+
end
|
64
|
+
|
65
|
+
# {http://marketing.ews.yahooapis.com/V1}Error
|
66
|
+
class Error
|
67
|
+
attr_accessor :code
|
68
|
+
attr_accessor :message
|
69
|
+
|
70
|
+
def initialize(code = nil, message = nil)
|
71
|
+
@code = code
|
72
|
+
@message = message
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# {http://marketing.ews.yahooapis.com/V1}ArrayOfExcludedWordResponse
|
77
|
+
class ArrayOfExcludedWordResponse < ::Array
|
78
|
+
end
|
79
|
+
|
80
|
+
# {http://marketing.ews.yahooapis.com/V1}ExcludedWordResponse
|
81
|
+
class ExcludedWordResponse
|
82
|
+
attr_accessor :errors
|
83
|
+
attr_accessor :excludedWord
|
84
|
+
attr_accessor :operationSucceeded
|
85
|
+
|
86
|
+
def initialize(errors = nil, excludedWord = nil, operationSucceeded = nil)
|
87
|
+
@errors = errors
|
88
|
+
@excludedWord = excludedWord
|
89
|
+
@operationSucceeded = operationSucceeded
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
# {http://schemas.xmlsoap.org/ws/2002/07/secext}Security
|
94
|
+
class Security
|
95
|
+
attr_accessor :usernameToken
|
96
|
+
|
97
|
+
def initialize(usernameToken = nil)
|
98
|
+
@usernameToken = usernameToken
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# {http://schemas.xmlsoap.org/ws/2002/07/secext}UsernameToken
|
103
|
+
class UsernameToken
|
104
|
+
attr_accessor :username
|
105
|
+
attr_accessor :password
|
106
|
+
|
107
|
+
def initialize(username = nil, password = nil)
|
108
|
+
@username = username
|
109
|
+
@password = password
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# {http://marketing.ews.yahooapis.com/V1}getExcludedWordsByAdGroupID
|
114
|
+
class GetExcludedWordsByAdGroupID
|
115
|
+
attr_accessor :adGroupID
|
116
|
+
|
117
|
+
def initialize(adGroupID = nil)
|
118
|
+
@adGroupID = adGroupID
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
# {http://marketing.ews.yahooapis.com/V1}getExcludedWordsByAdGroupIDResponse
|
123
|
+
class GetExcludedWordsByAdGroupIDResponse
|
124
|
+
attr_accessor :out
|
125
|
+
|
126
|
+
def initialize(out = nil)
|
127
|
+
@out = out
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# {http://marketing.ews.yahooapis.com/V1}getExcludedWord
|
132
|
+
class GetExcludedWord
|
133
|
+
attr_accessor :excludedWordID
|
134
|
+
|
135
|
+
def initialize(excludedWordID = nil)
|
136
|
+
@excludedWordID = excludedWordID
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
# {http://marketing.ews.yahooapis.com/V1}getExcludedWordResponse
|
141
|
+
class GetExcludedWordResponse
|
142
|
+
attr_accessor :out
|
143
|
+
|
144
|
+
def initialize(out = nil)
|
145
|
+
@out = out
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# {http://marketing.ews.yahooapis.com/V1}deleteExcludedWords
|
150
|
+
class DeleteExcludedWords
|
151
|
+
attr_accessor :excludedWordIDs
|
152
|
+
|
153
|
+
def initialize(excludedWordIDs = nil)
|
154
|
+
@excludedWordIDs = excludedWordIDs
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
# {http://marketing.ews.yahooapis.com/V1}deleteExcludedWordsResponse
|
159
|
+
class DeleteExcludedWordsResponse
|
160
|
+
attr_accessor :out
|
161
|
+
|
162
|
+
def initialize(out = nil)
|
163
|
+
@out = out
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# {http://marketing.ews.yahooapis.com/V1}addExcludedWordsToAccount
|
168
|
+
class AddExcludedWordsToAccount
|
169
|
+
attr_accessor :excludedWords
|
170
|
+
|
171
|
+
def initialize(excludedWords = nil)
|
172
|
+
@excludedWords = excludedWords
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
# {http://marketing.ews.yahooapis.com/V1}addExcludedWordsToAccountResponse
|
177
|
+
class AddExcludedWordsToAccountResponse
|
178
|
+
attr_accessor :out
|
179
|
+
|
180
|
+
def initialize(out = nil)
|
181
|
+
@out = out
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# {http://marketing.ews.yahooapis.com/V1}addExcludedWordToAccount
|
186
|
+
class AddExcludedWordToAccount
|
187
|
+
attr_accessor :excludedWord
|
188
|
+
|
189
|
+
def initialize(excludedWord = nil)
|
190
|
+
@excludedWord = excludedWord
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
# {http://marketing.ews.yahooapis.com/V1}addExcludedWordToAccountResponse
|
195
|
+
class AddExcludedWordToAccountResponse
|
196
|
+
attr_accessor :out
|
197
|
+
|
198
|
+
def initialize(out = nil)
|
199
|
+
@out = out
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
# {http://marketing.ews.yahooapis.com/V1}getExcludedWords
|
204
|
+
class GetExcludedWords
|
205
|
+
attr_accessor :excludedWordIDs
|
206
|
+
|
207
|
+
def initialize(excludedWordIDs = nil)
|
208
|
+
@excludedWordIDs = excludedWordIDs
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
# {http://marketing.ews.yahooapis.com/V1}getExcludedWordsResponse
|
213
|
+
class GetExcludedWordsResponse
|
214
|
+
attr_accessor :out
|
215
|
+
|
216
|
+
def initialize(out = nil)
|
217
|
+
@out = out
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
# {http://marketing.ews.yahooapis.com/V1}getExcludedWordsByAccountID
|
222
|
+
class GetExcludedWordsByAccountID
|
223
|
+
attr_accessor :accountID
|
224
|
+
|
225
|
+
def initialize(accountID = nil)
|
226
|
+
@accountID = accountID
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
# {http://marketing.ews.yahooapis.com/V1}getExcludedWordsByAccountIDResponse
|
231
|
+
class GetExcludedWordsByAccountIDResponse
|
232
|
+
attr_accessor :out
|
233
|
+
|
234
|
+
def initialize(out = nil)
|
235
|
+
@out = out
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
# {http://marketing.ews.yahooapis.com/V1}deleteExcludedWord
|
240
|
+
class DeleteExcludedWord
|
241
|
+
attr_accessor :excludedWordID
|
242
|
+
|
243
|
+
def initialize(excludedWordID = nil)
|
244
|
+
@excludedWordID = excludedWordID
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
# {http://marketing.ews.yahooapis.com/V1}deleteExcludedWordResponse
|
249
|
+
class DeleteExcludedWordResponse
|
250
|
+
attr_accessor :out
|
251
|
+
|
252
|
+
def initialize(out = nil)
|
253
|
+
@out = out
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
# {http://marketing.ews.yahooapis.com/V1}addExcludedWordsToAdGroup
|
258
|
+
class AddExcludedWordsToAdGroup
|
259
|
+
attr_accessor :excludedWords
|
260
|
+
|
261
|
+
def initialize(excludedWords = nil)
|
262
|
+
@excludedWords = excludedWords
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
# {http://marketing.ews.yahooapis.com/V1}addExcludedWordsToAdGroupResponse
|
267
|
+
class AddExcludedWordsToAdGroupResponse
|
268
|
+
attr_accessor :out
|
269
|
+
|
270
|
+
def initialize(out = nil)
|
271
|
+
@out = out
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
# {http://marketing.ews.yahooapis.com/V1}addExcludedWordToAdGroup
|
276
|
+
class AddExcludedWordToAdGroup
|
277
|
+
attr_accessor :excludedWord
|
278
|
+
|
279
|
+
def initialize(excludedWord = nil)
|
280
|
+
@excludedWord = excludedWord
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
# {http://marketing.ews.yahooapis.com/V1}addExcludedWordToAdGroupResponse
|
285
|
+
class AddExcludedWordToAdGroupResponse
|
286
|
+
attr_accessor :out
|
287
|
+
|
288
|
+
def initialize(out = nil)
|
289
|
+
@out = out
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
|
294
|
+
end
|
@@ -0,0 +1,122 @@
|
|
1
|
+
require 'ysm4r/v1/ExcludedWordsServiceMappingRegistry'
|
2
|
+
|
3
|
+
|
4
|
+
module YSM::ExcludedWordsService
|
5
|
+
require 'soap/rpc/driver'
|
6
|
+
|
7
|
+
class ExcludedWordsService < ::SOAP::RPC::Driver
|
8
|
+
DefaultEndpointUrl = "https://USE_ADDRESS_RETURNED_BY_LOCATION_SERVICE/services/V1/ExcludedWordsService"
|
9
|
+
|
10
|
+
Methods = [
|
11
|
+
[ "",
|
12
|
+
"getExcludedWordsByAdGroupID",
|
13
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "getExcludedWordsByAdGroupID"]],
|
14
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "getExcludedWordsByAdGroupIDResponse"]] ],
|
15
|
+
{ :request_style => :document, :request_use => :literal,
|
16
|
+
:response_style => :document, :response_use => :literal,
|
17
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
18
|
+
],
|
19
|
+
[ "",
|
20
|
+
"getExcludedWord",
|
21
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "getExcludedWord"]],
|
22
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "getExcludedWordResponse"]] ],
|
23
|
+
{ :request_style => :document, :request_use => :literal,
|
24
|
+
:response_style => :document, :response_use => :literal,
|
25
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
26
|
+
],
|
27
|
+
[ "",
|
28
|
+
"deleteExcludedWords",
|
29
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "deleteExcludedWords"]],
|
30
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "deleteExcludedWordsResponse"]] ],
|
31
|
+
{ :request_style => :document, :request_use => :literal,
|
32
|
+
:response_style => :document, :response_use => :literal,
|
33
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
34
|
+
],
|
35
|
+
[ "",
|
36
|
+
"addExcludedWordsToAccount",
|
37
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "addExcludedWordsToAccount"]],
|
38
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "addExcludedWordsToAccountResponse"]] ],
|
39
|
+
{ :request_style => :document, :request_use => :literal,
|
40
|
+
:response_style => :document, :response_use => :literal,
|
41
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
42
|
+
],
|
43
|
+
[ "",
|
44
|
+
"addExcludedWordToAccount",
|
45
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "addExcludedWordToAccount"]],
|
46
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "addExcludedWordToAccountResponse"]] ],
|
47
|
+
{ :request_style => :document, :request_use => :literal,
|
48
|
+
:response_style => :document, :response_use => :literal,
|
49
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
50
|
+
],
|
51
|
+
[ "",
|
52
|
+
"getExcludedWords",
|
53
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "getExcludedWords"]],
|
54
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "getExcludedWordsResponse"]] ],
|
55
|
+
{ :request_style => :document, :request_use => :literal,
|
56
|
+
:response_style => :document, :response_use => :literal,
|
57
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
58
|
+
],
|
59
|
+
[ "",
|
60
|
+
"getExcludedWordsByAccountID",
|
61
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "getExcludedWordsByAccountID"]],
|
62
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "getExcludedWordsByAccountIDResponse"]] ],
|
63
|
+
{ :request_style => :document, :request_use => :literal,
|
64
|
+
:response_style => :document, :response_use => :literal,
|
65
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
66
|
+
],
|
67
|
+
[ "",
|
68
|
+
"deleteExcludedWord",
|
69
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "deleteExcludedWord"]],
|
70
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "deleteExcludedWordResponse"]] ],
|
71
|
+
{ :request_style => :document, :request_use => :literal,
|
72
|
+
:response_style => :document, :response_use => :literal,
|
73
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
74
|
+
],
|
75
|
+
[ "",
|
76
|
+
"addExcludedWordsToAdGroup",
|
77
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "addExcludedWordsToAdGroup"]],
|
78
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "addExcludedWordsToAdGroupResponse"]] ],
|
79
|
+
{ :request_style => :document, :request_use => :literal,
|
80
|
+
:response_style => :document, :response_use => :literal,
|
81
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
82
|
+
],
|
83
|
+
[ "",
|
84
|
+
"addExcludedWordToAdGroup",
|
85
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "addExcludedWordToAdGroup"]],
|
86
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V1", "addExcludedWordToAdGroupResponse"]] ],
|
87
|
+
{ :request_style => :document, :request_use => :literal,
|
88
|
+
:response_style => :document, :response_use => :literal,
|
89
|
+
:faults => {"YSM::ExcludedWordsService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V1", :use=>"literal"}} }
|
90
|
+
]
|
91
|
+
]
|
92
|
+
|
93
|
+
def initialize(endpoint_url = nil)
|
94
|
+
endpoint_url ||= DefaultEndpointUrl
|
95
|
+
super(endpoint_url, nil)
|
96
|
+
self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
|
97
|
+
self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
|
98
|
+
init_methods
|
99
|
+
end
|
100
|
+
|
101
|
+
private
|
102
|
+
|
103
|
+
def init_methods
|
104
|
+
Methods.each do |definitions|
|
105
|
+
opt = definitions.last
|
106
|
+
if opt[:request_style] == :document
|
107
|
+
add_document_operation(*definitions)
|
108
|
+
else
|
109
|
+
add_rpc_operation(*definitions)
|
110
|
+
qname = definitions[0]
|
111
|
+
name = definitions[2]
|
112
|
+
if qname.name != name and qname.name.capitalize == name.capitalize
|
113
|
+
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
114
|
+
__send__(name, *arg)
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
end
|
@@ -0,0 +1,469 @@
|
|
1
|
+
require 'ysm4r/v1/ExcludedWordsService'
|
2
|
+
require 'soap/mapping'
|
3
|
+
|
4
|
+
module YSM; module ExcludedWordsService
|
5
|
+
|
6
|
+
module DefaultMappingRegistry
|
7
|
+
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
8
|
+
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
9
|
+
|
10
|
+
EncodedRegistry.set(
|
11
|
+
YSM::ExcludedWordsService::ArrayOfExcludedWord,
|
12
|
+
::SOAP::SOAPArray,
|
13
|
+
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
|
14
|
+
{ :type => XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "ExcludedWord") }
|
15
|
+
)
|
16
|
+
|
17
|
+
EncodedRegistry.register(
|
18
|
+
:class => YSM::ExcludedWordsService::ExcludedWord,
|
19
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
20
|
+
:schema_type => "ExcludedWord",
|
21
|
+
:schema_element => [
|
22
|
+
["iD", ["SOAP::SOAPLong", XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "ID")], [0, 1]],
|
23
|
+
["accountID", "SOAP::SOAPString", [0, 1]],
|
24
|
+
["adGroupID", "SOAP::SOAPLong", [0, 1]],
|
25
|
+
["createTimestamp", "SOAP::SOAPDateTime", [0, 1]],
|
26
|
+
["deleteTimestamp", "SOAP::SOAPDateTime", [0, 1]],
|
27
|
+
["phraseSearchText", "SOAP::SOAPString", [0, 1]],
|
28
|
+
["text", "SOAP::SOAPString", [0, 1]]
|
29
|
+
]
|
30
|
+
)
|
31
|
+
|
32
|
+
EncodedRegistry.register(
|
33
|
+
:class => YSM::ExcludedWordsService::ApiFault,
|
34
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
35
|
+
:schema_type => "ApiFault",
|
36
|
+
:schema_element => [
|
37
|
+
["code", "SOAP::SOAPString", [0, 1]],
|
38
|
+
["message", "SOAP::SOAPString", [0, 1]]
|
39
|
+
]
|
40
|
+
)
|
41
|
+
|
42
|
+
EncodedRegistry.set(
|
43
|
+
YSM::ExcludedWordsService::ArrayOfLong,
|
44
|
+
::SOAP::SOAPArray,
|
45
|
+
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
|
46
|
+
{ :type => XSD::QName.new("http://www.w3.org/2001/XMLSchema", "long") }
|
47
|
+
)
|
48
|
+
|
49
|
+
EncodedRegistry.set(
|
50
|
+
YSM::ExcludedWordsService::ArrayOfBasicResponse,
|
51
|
+
::SOAP::SOAPArray,
|
52
|
+
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
|
53
|
+
{ :type => XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "BasicResponse") }
|
54
|
+
)
|
55
|
+
|
56
|
+
EncodedRegistry.register(
|
57
|
+
:class => YSM::ExcludedWordsService::BasicResponse,
|
58
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
59
|
+
:schema_type => "BasicResponse",
|
60
|
+
:schema_element => [
|
61
|
+
["errors", "YSM::ExcludedWordsService::ArrayOfError", [0, 1]],
|
62
|
+
["operationSucceeded", "SOAP::SOAPBoolean", [0, 1]]
|
63
|
+
]
|
64
|
+
)
|
65
|
+
|
66
|
+
EncodedRegistry.set(
|
67
|
+
YSM::ExcludedWordsService::ArrayOfError,
|
68
|
+
::SOAP::SOAPArray,
|
69
|
+
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
|
70
|
+
{ :type => XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "Error") }
|
71
|
+
)
|
72
|
+
|
73
|
+
EncodedRegistry.register(
|
74
|
+
:class => YSM::ExcludedWordsService::Error,
|
75
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
76
|
+
:schema_type => "Error",
|
77
|
+
:schema_element => [
|
78
|
+
["code", "SOAP::SOAPString", [0, 1]],
|
79
|
+
["message", "SOAP::SOAPString", [0, 1]]
|
80
|
+
]
|
81
|
+
)
|
82
|
+
|
83
|
+
EncodedRegistry.set(
|
84
|
+
YSM::ExcludedWordsService::ArrayOfExcludedWordResponse,
|
85
|
+
::SOAP::SOAPArray,
|
86
|
+
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
|
87
|
+
{ :type => XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "ExcludedWordResponse") }
|
88
|
+
)
|
89
|
+
|
90
|
+
EncodedRegistry.register(
|
91
|
+
:class => YSM::ExcludedWordsService::ExcludedWordResponse,
|
92
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
93
|
+
:schema_type => "ExcludedWordResponse",
|
94
|
+
:schema_element => [
|
95
|
+
["errors", "YSM::ExcludedWordsService::ArrayOfError", [0, 1]],
|
96
|
+
["excludedWord", "YSM::ExcludedWordsService::ExcludedWord", [0, 1]],
|
97
|
+
["operationSucceeded", "SOAP::SOAPBoolean", [0, 1]]
|
98
|
+
]
|
99
|
+
)
|
100
|
+
|
101
|
+
EncodedRegistry.register(
|
102
|
+
:class => YSM::ExcludedWordsService::Security,
|
103
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
104
|
+
:schema_type => "Security",
|
105
|
+
:schema_element => [
|
106
|
+
["usernameToken", ["YSM::ExcludedWordsService::UsernameToken", XSD::QName.new(nil, "UsernameToken")]]
|
107
|
+
]
|
108
|
+
)
|
109
|
+
|
110
|
+
EncodedRegistry.register(
|
111
|
+
:class => YSM::ExcludedWordsService::UsernameToken,
|
112
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
113
|
+
:schema_type => "UsernameToken",
|
114
|
+
:schema_element => [
|
115
|
+
["username", ["SOAP::SOAPString", XSD::QName.new(nil, "Username")]],
|
116
|
+
["password", ["SOAP::SOAPString", XSD::QName.new(nil, "Password")]]
|
117
|
+
]
|
118
|
+
)
|
119
|
+
|
120
|
+
LiteralRegistry.register(
|
121
|
+
:class => YSM::ExcludedWordsService::ArrayOfExcludedWord,
|
122
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
123
|
+
:schema_type => "ArrayOfExcludedWord",
|
124
|
+
:schema_element => [
|
125
|
+
["ExcludedWord", ["YSM::ExcludedWordsService::ExcludedWord[]", XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "ExcludedWord")], [0, nil]]
|
126
|
+
]
|
127
|
+
)
|
128
|
+
|
129
|
+
LiteralRegistry.register(
|
130
|
+
:class => YSM::ExcludedWordsService::ExcludedWord,
|
131
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
132
|
+
:schema_type => "ExcludedWord",
|
133
|
+
:schema_qualified => false,
|
134
|
+
:schema_element => [
|
135
|
+
["iD", ["SOAP::SOAPLong", XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "ID")], [0, 1]],
|
136
|
+
["accountID", "SOAP::SOAPString", [0, 1]],
|
137
|
+
["adGroupID", "SOAP::SOAPLong", [0, 1]],
|
138
|
+
["createTimestamp", "SOAP::SOAPDateTime", [0, 1]],
|
139
|
+
["deleteTimestamp", "SOAP::SOAPDateTime", [0, 1]],
|
140
|
+
["phraseSearchText", "SOAP::SOAPString", [0, 1]],
|
141
|
+
["text", "SOAP::SOAPString", [0, 1]]
|
142
|
+
]
|
143
|
+
)
|
144
|
+
|
145
|
+
LiteralRegistry.register(
|
146
|
+
:class => YSM::ExcludedWordsService::ApiFault,
|
147
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
148
|
+
:schema_type => "ApiFault",
|
149
|
+
:schema_qualified => false,
|
150
|
+
:schema_element => [
|
151
|
+
["code", "SOAP::SOAPString", [0, 1]],
|
152
|
+
["message", "SOAP::SOAPString", [0, 1]]
|
153
|
+
]
|
154
|
+
)
|
155
|
+
|
156
|
+
LiteralRegistry.register(
|
157
|
+
:class => YSM::ExcludedWordsService::ArrayOfLong,
|
158
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
159
|
+
:schema_type => "ArrayOfLong",
|
160
|
+
:schema_element => [
|
161
|
+
["long", ["SOAP::SOAPLong[]", XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "long")], [0, nil]]
|
162
|
+
]
|
163
|
+
)
|
164
|
+
|
165
|
+
LiteralRegistry.register(
|
166
|
+
:class => YSM::ExcludedWordsService::ArrayOfBasicResponse,
|
167
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
168
|
+
:schema_type => "ArrayOfBasicResponse",
|
169
|
+
:schema_element => [
|
170
|
+
["BasicResponse", ["YSM::ExcludedWordsService::BasicResponse[]", XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "BasicResponse")], [0, nil]]
|
171
|
+
]
|
172
|
+
)
|
173
|
+
|
174
|
+
LiteralRegistry.register(
|
175
|
+
:class => YSM::ExcludedWordsService::BasicResponse,
|
176
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
177
|
+
:schema_type => "BasicResponse",
|
178
|
+
:schema_qualified => false,
|
179
|
+
:schema_element => [
|
180
|
+
["errors", "YSM::ExcludedWordsService::ArrayOfError", [0, 1]],
|
181
|
+
["operationSucceeded", "SOAP::SOAPBoolean", [0, 1]]
|
182
|
+
]
|
183
|
+
)
|
184
|
+
|
185
|
+
LiteralRegistry.register(
|
186
|
+
:class => YSM::ExcludedWordsService::ArrayOfError,
|
187
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
188
|
+
:schema_type => "ArrayOfError",
|
189
|
+
:schema_element => [
|
190
|
+
["Error", ["YSM::ExcludedWordsService::Error[]", XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "Error")], [0, nil]]
|
191
|
+
]
|
192
|
+
)
|
193
|
+
|
194
|
+
LiteralRegistry.register(
|
195
|
+
:class => YSM::ExcludedWordsService::Error,
|
196
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
197
|
+
:schema_type => "Error",
|
198
|
+
:schema_qualified => false,
|
199
|
+
:schema_element => [
|
200
|
+
["code", "SOAP::SOAPString", [0, 1]],
|
201
|
+
["message", "SOAP::SOAPString", [0, 1]]
|
202
|
+
]
|
203
|
+
)
|
204
|
+
|
205
|
+
LiteralRegistry.register(
|
206
|
+
:class => YSM::ExcludedWordsService::ArrayOfExcludedWordResponse,
|
207
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
208
|
+
:schema_type => "ArrayOfExcludedWordResponse",
|
209
|
+
:schema_element => [
|
210
|
+
["ExcludedWordResponse", ["YSM::ExcludedWordsService::ExcludedWordResponse[]", XSD::QName.new("http://marketing.ews.yahooapis.com/V1", "ExcludedWordResponse")], [0, nil]]
|
211
|
+
]
|
212
|
+
)
|
213
|
+
|
214
|
+
LiteralRegistry.register(
|
215
|
+
:class => YSM::ExcludedWordsService::ExcludedWordResponse,
|
216
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
217
|
+
:schema_type => "ExcludedWordResponse",
|
218
|
+
:schema_qualified => false,
|
219
|
+
:schema_element => [
|
220
|
+
["errors", "YSM::ExcludedWordsService::ArrayOfError", [0, 1]],
|
221
|
+
["excludedWord", "YSM::ExcludedWordsService::ExcludedWord", [0, 1]],
|
222
|
+
["operationSucceeded", "SOAP::SOAPBoolean", [0, 1]]
|
223
|
+
]
|
224
|
+
)
|
225
|
+
|
226
|
+
LiteralRegistry.register(
|
227
|
+
:class => YSM::ExcludedWordsService::Security,
|
228
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
229
|
+
:schema_type => "Security",
|
230
|
+
:schema_qualified => false,
|
231
|
+
:schema_element => [
|
232
|
+
["usernameToken", ["YSM::ExcludedWordsService::UsernameToken", XSD::QName.new(nil, "UsernameToken")]]
|
233
|
+
]
|
234
|
+
)
|
235
|
+
|
236
|
+
LiteralRegistry.register(
|
237
|
+
:class => YSM::ExcludedWordsService::UsernameToken,
|
238
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
239
|
+
:schema_type => "UsernameToken",
|
240
|
+
:schema_qualified => false,
|
241
|
+
:schema_element => [
|
242
|
+
["username", ["SOAP::SOAPString", XSD::QName.new(nil, "Username")]],
|
243
|
+
["password", ["SOAP::SOAPString", XSD::QName.new(nil, "Password")]]
|
244
|
+
]
|
245
|
+
)
|
246
|
+
|
247
|
+
LiteralRegistry.register(
|
248
|
+
:class => YSM::ExcludedWordsService::GetExcludedWordsByAdGroupID,
|
249
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
250
|
+
:schema_name => "getExcludedWordsByAdGroupID",
|
251
|
+
:schema_qualified => true,
|
252
|
+
:schema_element => [
|
253
|
+
["adGroupID", "SOAP::SOAPLong"]
|
254
|
+
]
|
255
|
+
)
|
256
|
+
|
257
|
+
LiteralRegistry.register(
|
258
|
+
:class => YSM::ExcludedWordsService::GetExcludedWordsByAdGroupIDResponse,
|
259
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
260
|
+
:schema_name => "getExcludedWordsByAdGroupIDResponse",
|
261
|
+
:schema_qualified => true,
|
262
|
+
:schema_element => [
|
263
|
+
["out", "YSM::ExcludedWordsService::ArrayOfExcludedWord"]
|
264
|
+
]
|
265
|
+
)
|
266
|
+
|
267
|
+
LiteralRegistry.register(
|
268
|
+
:class => YSM::ExcludedWordsService::ApiFault,
|
269
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
270
|
+
:schema_name => "ApiFault",
|
271
|
+
:schema_qualified => true,
|
272
|
+
:schema_element => [
|
273
|
+
["code", "SOAP::SOAPString", [0, 1]],
|
274
|
+
["message", "SOAP::SOAPString", [0, 1]]
|
275
|
+
]
|
276
|
+
)
|
277
|
+
|
278
|
+
LiteralRegistry.register(
|
279
|
+
:class => YSM::ExcludedWordsService::GetExcludedWord,
|
280
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
281
|
+
:schema_name => "getExcludedWord",
|
282
|
+
:schema_qualified => true,
|
283
|
+
:schema_element => [
|
284
|
+
["excludedWordID", "SOAP::SOAPLong"]
|
285
|
+
]
|
286
|
+
)
|
287
|
+
|
288
|
+
LiteralRegistry.register(
|
289
|
+
:class => YSM::ExcludedWordsService::GetExcludedWordResponse,
|
290
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
291
|
+
:schema_name => "getExcludedWordResponse",
|
292
|
+
:schema_qualified => true,
|
293
|
+
:schema_element => [
|
294
|
+
["out", "YSM::ExcludedWordsService::ExcludedWord"]
|
295
|
+
]
|
296
|
+
)
|
297
|
+
|
298
|
+
LiteralRegistry.register(
|
299
|
+
:class => YSM::ExcludedWordsService::DeleteExcludedWords,
|
300
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
301
|
+
:schema_name => "deleteExcludedWords",
|
302
|
+
:schema_qualified => true,
|
303
|
+
:schema_element => [
|
304
|
+
["excludedWordIDs", "YSM::ExcludedWordsService::ArrayOfLong"]
|
305
|
+
]
|
306
|
+
)
|
307
|
+
|
308
|
+
LiteralRegistry.register(
|
309
|
+
:class => YSM::ExcludedWordsService::DeleteExcludedWordsResponse,
|
310
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
311
|
+
:schema_name => "deleteExcludedWordsResponse",
|
312
|
+
:schema_qualified => true,
|
313
|
+
:schema_element => [
|
314
|
+
["out", "YSM::ExcludedWordsService::ArrayOfBasicResponse"]
|
315
|
+
]
|
316
|
+
)
|
317
|
+
|
318
|
+
LiteralRegistry.register(
|
319
|
+
:class => YSM::ExcludedWordsService::AddExcludedWordsToAccount,
|
320
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
321
|
+
:schema_name => "addExcludedWordsToAccount",
|
322
|
+
:schema_qualified => true,
|
323
|
+
:schema_element => [
|
324
|
+
["excludedWords", "YSM::ExcludedWordsService::ArrayOfExcludedWord"]
|
325
|
+
]
|
326
|
+
)
|
327
|
+
|
328
|
+
LiteralRegistry.register(
|
329
|
+
:class => YSM::ExcludedWordsService::AddExcludedWordsToAccountResponse,
|
330
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
331
|
+
:schema_name => "addExcludedWordsToAccountResponse",
|
332
|
+
:schema_qualified => true,
|
333
|
+
:schema_element => [
|
334
|
+
["out", "YSM::ExcludedWordsService::ArrayOfExcludedWordResponse"]
|
335
|
+
]
|
336
|
+
)
|
337
|
+
|
338
|
+
LiteralRegistry.register(
|
339
|
+
:class => YSM::ExcludedWordsService::AddExcludedWordToAccount,
|
340
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
341
|
+
:schema_name => "addExcludedWordToAccount",
|
342
|
+
:schema_qualified => true,
|
343
|
+
:schema_element => [
|
344
|
+
["excludedWord", "YSM::ExcludedWordsService::ExcludedWord"]
|
345
|
+
]
|
346
|
+
)
|
347
|
+
|
348
|
+
LiteralRegistry.register(
|
349
|
+
:class => YSM::ExcludedWordsService::AddExcludedWordToAccountResponse,
|
350
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
351
|
+
:schema_name => "addExcludedWordToAccountResponse",
|
352
|
+
:schema_qualified => true,
|
353
|
+
:schema_element => [
|
354
|
+
["out", "YSM::ExcludedWordsService::ExcludedWordResponse"]
|
355
|
+
]
|
356
|
+
)
|
357
|
+
|
358
|
+
LiteralRegistry.register(
|
359
|
+
:class => YSM::ExcludedWordsService::GetExcludedWords,
|
360
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
361
|
+
:schema_name => "getExcludedWords",
|
362
|
+
:schema_qualified => true,
|
363
|
+
:schema_element => [
|
364
|
+
["excludedWordIDs", "YSM::ExcludedWordsService::ArrayOfLong"]
|
365
|
+
]
|
366
|
+
)
|
367
|
+
|
368
|
+
LiteralRegistry.register(
|
369
|
+
:class => YSM::ExcludedWordsService::GetExcludedWordsResponse,
|
370
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
371
|
+
:schema_name => "getExcludedWordsResponse",
|
372
|
+
:schema_qualified => true,
|
373
|
+
:schema_element => [
|
374
|
+
["out", "YSM::ExcludedWordsService::ArrayOfExcludedWord"]
|
375
|
+
]
|
376
|
+
)
|
377
|
+
|
378
|
+
LiteralRegistry.register(
|
379
|
+
:class => YSM::ExcludedWordsService::GetExcludedWordsByAccountID,
|
380
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
381
|
+
:schema_name => "getExcludedWordsByAccountID",
|
382
|
+
:schema_qualified => true,
|
383
|
+
:schema_element => [
|
384
|
+
["accountID", "SOAP::SOAPString"]
|
385
|
+
]
|
386
|
+
)
|
387
|
+
|
388
|
+
LiteralRegistry.register(
|
389
|
+
:class => YSM::ExcludedWordsService::GetExcludedWordsByAccountIDResponse,
|
390
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
391
|
+
:schema_name => "getExcludedWordsByAccountIDResponse",
|
392
|
+
:schema_qualified => true,
|
393
|
+
:schema_element => [
|
394
|
+
["out", "YSM::ExcludedWordsService::ArrayOfExcludedWord"]
|
395
|
+
]
|
396
|
+
)
|
397
|
+
|
398
|
+
LiteralRegistry.register(
|
399
|
+
:class => YSM::ExcludedWordsService::DeleteExcludedWord,
|
400
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
401
|
+
:schema_name => "deleteExcludedWord",
|
402
|
+
:schema_qualified => true,
|
403
|
+
:schema_element => [
|
404
|
+
["excludedWordID", "SOAP::SOAPLong"]
|
405
|
+
]
|
406
|
+
)
|
407
|
+
|
408
|
+
LiteralRegistry.register(
|
409
|
+
:class => YSM::ExcludedWordsService::DeleteExcludedWordResponse,
|
410
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
411
|
+
:schema_name => "deleteExcludedWordResponse",
|
412
|
+
:schema_qualified => true,
|
413
|
+
:schema_element => [
|
414
|
+
["out", "YSM::ExcludedWordsService::BasicResponse"]
|
415
|
+
]
|
416
|
+
)
|
417
|
+
|
418
|
+
LiteralRegistry.register(
|
419
|
+
:class => YSM::ExcludedWordsService::AddExcludedWordsToAdGroup,
|
420
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
421
|
+
:schema_name => "addExcludedWordsToAdGroup",
|
422
|
+
:schema_qualified => true,
|
423
|
+
:schema_element => [
|
424
|
+
["excludedWords", "YSM::ExcludedWordsService::ArrayOfExcludedWord"]
|
425
|
+
]
|
426
|
+
)
|
427
|
+
|
428
|
+
LiteralRegistry.register(
|
429
|
+
:class => YSM::ExcludedWordsService::AddExcludedWordsToAdGroupResponse,
|
430
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
431
|
+
:schema_name => "addExcludedWordsToAdGroupResponse",
|
432
|
+
:schema_qualified => true,
|
433
|
+
:schema_element => [
|
434
|
+
["out", "YSM::ExcludedWordsService::ArrayOfExcludedWordResponse"]
|
435
|
+
]
|
436
|
+
)
|
437
|
+
|
438
|
+
LiteralRegistry.register(
|
439
|
+
:class => YSM::ExcludedWordsService::AddExcludedWordToAdGroup,
|
440
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
441
|
+
:schema_name => "addExcludedWordToAdGroup",
|
442
|
+
:schema_qualified => true,
|
443
|
+
:schema_element => [
|
444
|
+
["excludedWord", "YSM::ExcludedWordsService::ExcludedWord"]
|
445
|
+
]
|
446
|
+
)
|
447
|
+
|
448
|
+
LiteralRegistry.register(
|
449
|
+
:class => YSM::ExcludedWordsService::AddExcludedWordToAdGroupResponse,
|
450
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V1",
|
451
|
+
:schema_name => "addExcludedWordToAdGroupResponse",
|
452
|
+
:schema_qualified => true,
|
453
|
+
:schema_element => [
|
454
|
+
["out", "YSM::ExcludedWordsService::ExcludedWordResponse"]
|
455
|
+
]
|
456
|
+
)
|
457
|
+
|
458
|
+
LiteralRegistry.register(
|
459
|
+
:class => YSM::ExcludedWordsService::Security,
|
460
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
461
|
+
:schema_name => "Security",
|
462
|
+
:schema_qualified => true,
|
463
|
+
:schema_element => [
|
464
|
+
["usernameToken", ["YSM::ExcludedWordsService::UsernameToken", XSD::QName.new(nil, "UsernameToken")]]
|
465
|
+
]
|
466
|
+
)
|
467
|
+
end
|
468
|
+
|
469
|
+
end; end
|