forked from yahoojp-marketing/ydn-api-documents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CampaignMigrationService.wsdl
307 lines (307 loc) · 14.3 KB
/
CampaignMigrationService.wsdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://im.yahooapis.jp/V201911/CampaignMigration"
xmlns:tns="http://im.yahooapis.jp/V201911/CampaignMigration"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema elementFormDefault="qualified"
targetNamespace="http://im.yahooapis.jp/V201911"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://im.yahooapis.jp/V201911">
<complexType name="SoapHeader">
<sequence>
<element maxOccurs="1" minOccurs="1" name="license" type="xsd:string"/>
<element maxOccurs="1" minOccurs="1" name="apiAccountId" type="xsd:string"/>
<element maxOccurs="1" minOccurs="1" name="apiAccountPassword" type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="accountId" type="xsd:long"/>
<element maxOccurs="1" minOccurs="0" name="onBehalfOfAccountId" type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="onBehalfOfPassword" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="SoapResponseHeader">
<sequence>
<element maxOccurs="1" minOccurs="0" name="service" type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="timeTakenSeconds" type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="requestTime" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="Paging">
<sequence>
<element maxOccurs="1" minOccurs="1" name="startIndex" type="xsd:int"/>
<element maxOccurs="1" minOccurs="1" name="numberResults" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="Error">
<sequence>
<element maxOccurs="1" minOccurs="0" name="code" type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="message" type="xsd:string"/>
<element maxOccurs="unbounded" minOccurs="0" name="detail" type="tns:ErrorDetail"/>
</sequence>
</complexType>
<complexType name="ErrorDetail">
<sequence>
<element maxOccurs="1" minOccurs="0" name="requestKey" type="xsd:string"/>
<element maxOccurs="unbounded" minOccurs="0" name="requestValue" type="xsd:string"/>
</sequence>
</complexType>
<complexType abstract="true" name="Page">
<sequence>
<element maxOccurs="1" minOccurs="0" name="totalNumEntries" type="xsd:int"/>
<element maxOccurs="1" minOccurs="0" name="Page.Type" type="xsd:string"/>
</sequence>
</complexType>
<complexType abstract="true" name="ReturnValue">
<sequence>
<element maxOccurs="1" minOccurs="0" name="operationSucceeded" type="xsd:boolean"/>
<element maxOccurs="unbounded" minOccurs="0" name="error" type="tns:Error"/>
</sequence>
</complexType>
<complexType abstract="true" name="ListReturnValue">
<sequence>
<element maxOccurs="1" minOccurs="0" name="ListReturnValue.Type" type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="Operation.Type" type="xsd:string"/>
</sequence>
</complexType>
</schema>
<schema elementFormDefault="qualified"
targetNamespace="http://im.yahooapis.jp/V201911/CampaignMigration"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:adv="http://im.yahooapis.jp/V201911"
xmlns:tns="http://im.yahooapis.jp/V201911/CampaignMigration">
<xsd:import namespace="http://im.yahooapis.jp/V201911"/>
<annotation>
<appinfo>
<version>201911</version>
</appinfo>
</annotation>
<complexType name="CampaignDownloadSelector">
<sequence>
<element maxOccurs="1" minOccurs="0" name="accountId" type="xsd:long"/>
<element maxOccurs="1" minOccurs="0" name="lang" type="tns:MigrationLang"/>
</sequence>
</complexType>
<complexType name="CampaignDownloadUrlValue">
<sequence>
<element maxOccurs="1" minOccurs="0" name="accountId" type="xsd:long"/>
<element maxOccurs="1" minOccurs="1" name="downloadScope" type="tns:MigrationScope"/>
<element maxOccurs="1" minOccurs="1" name="lang" type="tns:MigrationLang"/>
<element maxOccurs="1" minOccurs="1" name="downloadUrl" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="MigrationStatusSelector">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="migrationJobIds" type="xsd:long"/>
<element maxOccurs="1" minOccurs="0" name="accountId" type="xsd:long"/>
</sequence>
</complexType>
<complexType name="MigrationJob">
<sequence>
<element maxOccurs="1" minOccurs="1" name="migrationJobId" type="xsd:long"/>
<element maxOccurs="1" minOccurs="0" name="accountId" type="xsd:long"/>
<element maxOccurs="1" minOccurs="1" name="migrationScope" type="tns:MigrationScope"/>
<element maxOccurs="1" minOccurs="1" name="migrationJobStatus" type="tns:MigrationJobStatus"/>
<element maxOccurs="1" minOccurs="1" name="migrationJobSubmitDate" type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="migrationJobEndDate" type="xsd:string"/>
<element maxOccurs="1" minOccurs="1" name="totalCount" type="xsd:long"/>
<element maxOccurs="1" minOccurs="1" name="inProgressCount" type="xsd:long"/>
<element maxOccurs="1" minOccurs="1" name="succeededCount" type="xsd:long"/>
<element maxOccurs="1" minOccurs="1" name="failedCount" type="xsd:long"/>
<element maxOccurs="1" minOccurs="1" name="downloadOriginalFileUrl" type="xsd:string"/>
<element maxOccurs="1" minOccurs="0" name="downloadErrorFileUrl" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="MigrationJobValues">
<complexContent>
<extension base="adv:ReturnValue">
<sequence>
<element maxOccurs="1" minOccurs="0" name="migrationJob" type="tns:MigrationJob"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="MigrationStatusPage">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="values" type="tns:MigrationJobValues"/>
</sequence>
</complexType>
<complexType name="CampaignUploadSelector">
<sequence>
<element maxOccurs="1" minOccurs="0" name="accountId" type="xsd:long"/>
</sequence>
</complexType>
<complexType name="UploadUrlValue">
<sequence>
<element maxOccurs="1" minOccurs="0" name="accountId" type="xsd:long"/>
<element maxOccurs="1" minOccurs="1" name="uploadUrl" type="xsd:string"/>
</sequence>
</complexType>
<simpleType name="MigrationJobStatus">
<restriction base="xsd:string">
<enumeration value="NOT_STARTED"/>
<enumeration value="IN_PROGRESS"/>
<enumeration value="COMPLETED"/>
<enumeration value="FILE_FORMAT_ERROR"/>
<enumeration value="INVALID_CSV_VALUE_ERROR"/>
<enumeration value="UNKNOWN_CSV_FIELD_ERROR"/>
<enumeration value="SYSTEM_ERROR"/>
</restriction>
</simpleType>
<simpleType name="MigrationLang">
<restriction base="xsd:string">
<enumeration value="JA"/>
<enumeration value="EN"/>
</restriction>
</simpleType>
<simpleType name="MigrationScope">
<restriction base="xsd:string">
<enumeration value="SINGLE_ACCOUNT"/>
<enumeration value="ALL_ACCOUNT"/>
</restriction>
</simpleType>
<element name="getCampaignDownloadUrl">
<complexType>
<sequence>
<element maxOccurs="1" minOccurs="1" name="selector" type="tns:CampaignDownloadSelector"/>
</sequence>
</complexType>
</element>
<element name="getCampaignDownloadUrlResponse">
<complexType>
<sequence>
<element maxOccurs="1" minOccurs="0" name="rval" type="tns:CampaignDownloadUrlValue"/>
<element maxOccurs="unbounded" minOccurs="0" name="error" type="adv:Error"/>
</sequence>
</complexType>
</element>
<element name="getMigrationStatus">
<complexType>
<sequence>
<element maxOccurs="1" minOccurs="1" name="selector" type="tns:MigrationStatusSelector"/>
</sequence>
</complexType>
</element>
<element name="getMigrationStatusResponse">
<complexType>
<sequence>
<element maxOccurs="1" minOccurs="0" name="rval" type="tns:MigrationStatusPage"/>
<element maxOccurs="unbounded" minOccurs="0" name="error" type="adv:Error"/>
</sequence>
</complexType>
</element>
<element name="getUploadUrl">
<complexType>
<sequence>
<element maxOccurs="1" minOccurs="1" name="selector" type="tns:CampaignUploadSelector"/>
</sequence>
</complexType>
</element>
<element name="getUploadUrlResponse">
<complexType>
<sequence>
<element maxOccurs="1" minOccurs="0" name="rval" type="tns:UploadUrlValue"/>
<element maxOccurs="unbounded" minOccurs="0" name="error" type="adv:Error"/>
</sequence>
</complexType>
</element>
<element name="RequestHeader" type="adv:SoapHeader"/>
<element name="ResponseHeader" type="adv:SoapResponseHeader"/>
<element name="ApiExceptionFault" type="xsd:string"/>
</schema>
</wsdl:types>
<wsdl:message name="RequestHeader">
<wsdl:part element="tns:RequestHeader" name="RequestHeader"/>
</wsdl:message>
<wsdl:message name="ResponseHeader">
<wsdl:part element="tns:ResponseHeader" name="ResponseHeader"/>
</wsdl:message>
<wsdl:message name="getCampaignDownloadUrlRequest">
<wsdl:part element="tns:getCampaignDownloadUrl" name="parameters"/>
</wsdl:message>
<wsdl:message name="getCampaignDownloadUrlResponse">
<wsdl:part element="tns:getCampaignDownloadUrlResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="getMigrationStatusRequest">
<wsdl:part element="tns:getMigrationStatus" name="parameters"/>
</wsdl:message>
<wsdl:message name="getMigrationStatusResponse">
<wsdl:part element="tns:getMigrationStatusResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="getUploadUrlRequest">
<wsdl:part element="tns:getUploadUrl" name="parameters"/>
</wsdl:message>
<wsdl:message name="getUploadUrlResponse">
<wsdl:part element="tns:getUploadUrlResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="ApiException">
<wsdl:part element="tns:ApiExceptionFault" name="ApiException"/>
</wsdl:message>
<wsdl:portType name="CampaignMigrationServiceInterface">
<wsdl:operation name="getCampaignDownloadUrl">
<wsdl:input message="tns:getCampaignDownloadUrlRequest" name="getCampaignDownloadUrlRequest"/>
<wsdl:output message="tns:getCampaignDownloadUrlResponse" name="getCampaignDownloadUrlResponse"/>
<wsdl:fault message="tns:ApiException" name="ApiException"/>
</wsdl:operation>
<wsdl:operation name="getMigrationStatus">
<wsdl:input message="tns:getMigrationStatusRequest" name="getMigrationStatusRequest"/>
<wsdl:output message="tns:getMigrationStatusResponse" name="getMigrationStatusResponse"/>
<wsdl:fault message="tns:ApiException" name="ApiException"/>
</wsdl:operation>
<wsdl:operation name="getUploadUrl">
<wsdl:input message="tns:getUploadUrlRequest" name="getUploadUrlRequest"/>
<wsdl:output message="tns:getUploadUrlResponse" name="getUploadUrlResponse"/>
<wsdl:fault message="tns:ApiException" name="ApiException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CampaignMigrationServiceSoapBinding" type="tns:CampaignMigrationServiceInterface">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getCampaignDownloadUrl">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getCampaignDownloadUrlRequest">
<wsdlsoap:header message="tns:RequestHeader" part="RequestHeader" use="literal"/>
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getCampaignDownloadUrlResponse">
<wsdlsoap:header message="tns:ResponseHeader" part="ResponseHeader" use="literal"/>
<wsdlsoap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ApiException">
<wsdlsoap:fault name="ApiException" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getMigrationStatus">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getMigrationStatusRequest">
<wsdlsoap:header message="tns:RequestHeader" part="RequestHeader" use="literal"/>
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getMigrationStatusResponse">
<wsdlsoap:header message="tns:ResponseHeader" part="ResponseHeader" use="literal"/>
<wsdlsoap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ApiException">
<wsdlsoap:fault name="ApiException" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getUploadUrl">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getUploadUrlRequest">
<wsdlsoap:header message="tns:RequestHeader" part="RequestHeader" use="literal"/>
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getUploadUrlResponse">
<wsdlsoap:header message="tns:ResponseHeader" part="ResponseHeader" use="literal"/>
<wsdlsoap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ApiException">
<wsdlsoap:fault name="ApiException" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CampaignMigrationService">
<wsdl:port binding="tns:CampaignMigrationServiceSoapBinding" name="CampaignMigrationService">
<wsdlsoap:address location="https://location.im.yahooapis.jp/services/V201911/CampaignMigrationService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>