adcenter-client 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/.autotest +23 -0
  2. data/History.txt +6 -0
  3. data/Manifest.txt +55 -0
  4. data/README.txt +78 -0
  5. data/Rakefile.rb +31 -0
  6. data/TODO +12 -0
  7. data/bin/gen_wsdl_drivers.rb +26 -0
  8. data/bin/wsdl.yml +16 -0
  9. data/lib/AdministrationService.rb +79 -0
  10. data/lib/AdministrationServiceClient.rb +40 -0
  11. data/lib/AdministrationServiceDriver.rb +55 -0
  12. data/lib/AdministrationServiceMappingRegistry.rb +148 -0
  13. data/lib/CampaignManagementService.rb +3458 -0
  14. data/lib/CampaignManagementServiceClient.rb +1370 -0
  15. data/lib/CampaignManagementServiceDriver.rb +719 -0
  16. data/lib/CampaignManagementServiceMappingRegistry.rb +5107 -0
  17. data/lib/CustomerBillingService.rb +390 -0
  18. data/lib/CustomerBillingServiceClient.rb +126 -0
  19. data/lib/CustomerBillingServiceDriver.rb +95 -0
  20. data/lib/CustomerBillingServiceMappingRegistry.rb +676 -0
  21. data/lib/CustomerManagementService.rb +1284 -0
  22. data/lib/CustomerManagementServiceClient.rb +282 -0
  23. data/lib/CustomerManagementServiceDriver.rb +175 -0
  24. data/lib/CustomerManagementServiceMappingRegistry.rb +1471 -0
  25. data/lib/NotificationManagementClient.rb +89 -0
  26. data/lib/ReportingService.rb +2121 -0
  27. data/lib/ReportingServiceClient.rb +42 -0
  28. data/lib/ReportingServiceDriver.rb +55 -0
  29. data/lib/ReportingServiceMappingRegistry.rb +3164 -0
  30. data/lib/SecureDataManagementService.rb +203 -0
  31. data/lib/SecureDataManagementServiceClient.rb +26 -0
  32. data/lib/SecureDataManagementServiceDriver.rb +47 -0
  33. data/lib/SecureDataManagementServiceMappingRegistry.rb +376 -0
  34. data/lib/adcenter_client.rb +103 -0
  35. data/lib/adcenter_service.rb +70 -0
  36. data/lib/administration_service.rb +7 -0
  37. data/lib/campaign_management_service.rb +7 -0
  38. data/lib/custom_assertions.rb +5 -0
  39. data/lib/custom_exceptions.rb +1 -0
  40. data/lib/customer_billing_service.rb +7 -0
  41. data/lib/customer_management_service.rb +9 -0
  42. data/lib/default.rb +636 -0
  43. data/lib/defaultDriver.rb +63 -0
  44. data/lib/defaultMappingRegistry.rb +525 -0
  45. data/lib/notification_management.rb +7 -0
  46. data/lib/reporting_service.rb +7 -0
  47. data/lib/secure_data_management_service.rb +7 -0
  48. data/tasks/doctask.rake +9 -0
  49. data/tasks/testtask.rake +13 -0
  50. data/test/adcenter_client_test.rb +13 -0
  51. data/test/administration_service_test.rb +19 -0
  52. data/test/customer_management_service_test.rb +20 -0
  53. data/test/report_service_test.rb +34 -0
  54. data/test/test_credentials.yml-sample +7 -0
  55. data/test/test_helper.rb +8 -0
  56. metadata +188 -0
@@ -0,0 +1,1284 @@
1
+ require 'xsd/qname'
2
+
3
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}ArrayOfAccountInfo
4
+ class ArrayOfAccountInfo < ::Array
5
+ end
6
+
7
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}AccountInfo
8
+ # id - SOAP::SOAPLong
9
+ # name - SOAP::SOAPString
10
+ # number - SOAP::SOAPString
11
+ # status - AccountLifeCycleStatus
12
+ class AccountInfo
13
+ attr_accessor :id
14
+ attr_accessor :name
15
+ attr_accessor :number
16
+ attr_accessor :status
17
+
18
+ def initialize(id = nil, name = nil, number = nil, status = nil)
19
+ @id = id
20
+ @name = name
21
+ @number = number
22
+ @status = status
23
+ end
24
+ end
25
+
26
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}Account
27
+ # accountType - AccountType
28
+ # billToCustomerId - SOAP::SOAPLong
29
+ # countryCode - SOAP::SOAPString
30
+ # currencyType - CurrencyType
31
+ # financialStatus - AccountFinancialStatus
32
+ # id - SOAP::SOAPLong
33
+ # language - LanguageType
34
+ # lastModifiedByUserId - SOAP::SOAPLong
35
+ # lastModifiedTime - SOAP::SOAPDateTime
36
+ # name - SOAP::SOAPString
37
+ # number - SOAP::SOAPString
38
+ # parentCustomerId - SOAP::SOAPLong
39
+ # paymentMethodId - SOAP::SOAPLong
40
+ # paymentMethodType - PaymentMethodType
41
+ # primaryUserId - SOAP::SOAPLong
42
+ # status - AccountLifeCycleStatus
43
+ # timeStamp - SOAP::SOAPBase64
44
+ # timeZone - TimeZoneType
45
+ class Account
46
+ attr_accessor :accountType
47
+ attr_accessor :billToCustomerId
48
+ attr_accessor :countryCode
49
+ attr_accessor :currencyType
50
+ attr_accessor :financialStatus
51
+ attr_accessor :id
52
+ attr_accessor :language
53
+ attr_accessor :lastModifiedByUserId
54
+ attr_accessor :lastModifiedTime
55
+ attr_accessor :name
56
+ attr_accessor :number
57
+ attr_accessor :parentCustomerId
58
+ attr_accessor :paymentMethodId
59
+ attr_accessor :paymentMethodType
60
+ attr_accessor :primaryUserId
61
+ attr_accessor :status
62
+ attr_accessor :timeStamp
63
+ attr_accessor :timeZone
64
+
65
+ def initialize(accountType = nil, billToCustomerId = nil, countryCode = nil, currencyType = nil, financialStatus = nil, id = nil, language = nil, lastModifiedByUserId = nil, lastModifiedTime = nil, name = nil, number = nil, parentCustomerId = nil, paymentMethodId = nil, paymentMethodType = nil, primaryUserId = nil, status = nil, timeStamp = nil, timeZone = nil)
66
+ @accountType = accountType
67
+ @billToCustomerId = billToCustomerId
68
+ @countryCode = countryCode
69
+ @currencyType = currencyType
70
+ @financialStatus = financialStatus
71
+ @id = id
72
+ @language = language
73
+ @lastModifiedByUserId = lastModifiedByUserId
74
+ @lastModifiedTime = lastModifiedTime
75
+ @name = name
76
+ @number = number
77
+ @parentCustomerId = parentCustomerId
78
+ @paymentMethodId = paymentMethodId
79
+ @paymentMethodType = paymentMethodType
80
+ @primaryUserId = primaryUserId
81
+ @status = status
82
+ @timeStamp = timeStamp
83
+ @timeZone = timeZone
84
+ end
85
+ end
86
+
87
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}PublisherAccount
88
+ # accountType - AccountType
89
+ # billToCustomerId - SOAP::SOAPLong
90
+ # countryCode - SOAP::SOAPString
91
+ # currencyType - CurrencyType
92
+ # financialStatus - AccountFinancialStatus
93
+ # id - SOAP::SOAPLong
94
+ # language - LanguageType
95
+ # lastModifiedByUserId - SOAP::SOAPLong
96
+ # lastModifiedTime - SOAP::SOAPDateTime
97
+ # name - SOAP::SOAPString
98
+ # number - SOAP::SOAPString
99
+ # parentCustomerId - SOAP::SOAPLong
100
+ # paymentMethodId - SOAP::SOAPLong
101
+ # paymentMethodType - PaymentMethodType
102
+ # primaryUserId - SOAP::SOAPLong
103
+ # status - AccountLifeCycleStatus
104
+ # timeStamp - SOAP::SOAPBase64
105
+ # timeZone - TimeZoneType
106
+ class PublisherAccount < Account
107
+ attr_accessor :accountType
108
+ attr_accessor :billToCustomerId
109
+ attr_accessor :countryCode
110
+ attr_accessor :currencyType
111
+ attr_accessor :financialStatus
112
+ attr_accessor :id
113
+ attr_accessor :language
114
+ attr_accessor :lastModifiedByUserId
115
+ attr_accessor :lastModifiedTime
116
+ attr_accessor :name
117
+ attr_accessor :number
118
+ attr_accessor :parentCustomerId
119
+ attr_accessor :paymentMethodId
120
+ attr_accessor :paymentMethodType
121
+ attr_accessor :primaryUserId
122
+ attr_accessor :status
123
+ attr_accessor :timeStamp
124
+ attr_accessor :timeZone
125
+
126
+ def initialize(accountType = nil, billToCustomerId = nil, countryCode = nil, currencyType = nil, financialStatus = nil, id = nil, language = nil, lastModifiedByUserId = nil, lastModifiedTime = nil, name = nil, number = nil, parentCustomerId = nil, paymentMethodId = nil, paymentMethodType = nil, primaryUserId = nil, status = nil, timeStamp = nil, timeZone = nil)
127
+ @accountType = accountType
128
+ @billToCustomerId = billToCustomerId
129
+ @countryCode = countryCode
130
+ @currencyType = currencyType
131
+ @financialStatus = financialStatus
132
+ @id = id
133
+ @language = language
134
+ @lastModifiedByUserId = lastModifiedByUserId
135
+ @lastModifiedTime = lastModifiedTime
136
+ @name = name
137
+ @number = number
138
+ @parentCustomerId = parentCustomerId
139
+ @paymentMethodId = paymentMethodId
140
+ @paymentMethodType = paymentMethodType
141
+ @primaryUserId = primaryUserId
142
+ @status = status
143
+ @timeStamp = timeStamp
144
+ @timeZone = timeZone
145
+ end
146
+ end
147
+
148
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}AdvertiserAccount
149
+ # accountType - AccountType
150
+ # billToCustomerId - SOAP::SOAPLong
151
+ # countryCode - SOAP::SOAPString
152
+ # currencyType - CurrencyType
153
+ # financialStatus - AccountFinancialStatus
154
+ # id - SOAP::SOAPLong
155
+ # language - LanguageType
156
+ # lastModifiedByUserId - SOAP::SOAPLong
157
+ # lastModifiedTime - SOAP::SOAPDateTime
158
+ # name - SOAP::SOAPString
159
+ # number - SOAP::SOAPString
160
+ # parentCustomerId - SOAP::SOAPLong
161
+ # paymentMethodId - SOAP::SOAPLong
162
+ # paymentMethodType - PaymentMethodType
163
+ # primaryUserId - SOAP::SOAPLong
164
+ # status - AccountLifeCycleStatus
165
+ # timeStamp - SOAP::SOAPBase64
166
+ # timeZone - TimeZoneType
167
+ # agencyContactName - SOAP::SOAPString
168
+ # agencyCustomerId - SOAP::SOAPLong
169
+ # salesHouseCustomerId - SOAP::SOAPLong
170
+ class AdvertiserAccount < Account
171
+ attr_accessor :accountType
172
+ attr_accessor :billToCustomerId
173
+ attr_accessor :countryCode
174
+ attr_accessor :currencyType
175
+ attr_accessor :financialStatus
176
+ attr_accessor :id
177
+ attr_accessor :language
178
+ attr_accessor :lastModifiedByUserId
179
+ attr_accessor :lastModifiedTime
180
+ attr_accessor :name
181
+ attr_accessor :number
182
+ attr_accessor :parentCustomerId
183
+ attr_accessor :paymentMethodId
184
+ attr_accessor :paymentMethodType
185
+ attr_accessor :primaryUserId
186
+ attr_accessor :status
187
+ attr_accessor :timeStamp
188
+ attr_accessor :timeZone
189
+ attr_accessor :agencyContactName
190
+ attr_accessor :agencyCustomerId
191
+ attr_accessor :salesHouseCustomerId
192
+
193
+ def initialize(accountType = nil, billToCustomerId = nil, countryCode = nil, currencyType = nil, financialStatus = nil, id = nil, language = nil, lastModifiedByUserId = nil, lastModifiedTime = nil, name = nil, number = nil, parentCustomerId = nil, paymentMethodId = nil, paymentMethodType = nil, primaryUserId = nil, status = nil, timeStamp = nil, timeZone = nil, agencyContactName = nil, agencyCustomerId = nil, salesHouseCustomerId = nil)
194
+ @accountType = accountType
195
+ @billToCustomerId = billToCustomerId
196
+ @countryCode = countryCode
197
+ @currencyType = currencyType
198
+ @financialStatus = financialStatus
199
+ @id = id
200
+ @language = language
201
+ @lastModifiedByUserId = lastModifiedByUserId
202
+ @lastModifiedTime = lastModifiedTime
203
+ @name = name
204
+ @number = number
205
+ @parentCustomerId = parentCustomerId
206
+ @paymentMethodId = paymentMethodId
207
+ @paymentMethodType = paymentMethodType
208
+ @primaryUserId = primaryUserId
209
+ @status = status
210
+ @timeStamp = timeStamp
211
+ @timeZone = timeZone
212
+ @agencyContactName = agencyContactName
213
+ @agencyCustomerId = agencyCustomerId
214
+ @salesHouseCustomerId = salesHouseCustomerId
215
+ end
216
+ end
217
+
218
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}Customer
219
+ # customerAddress - Address
220
+ # financialStatus - CustomerFinancialStatus
221
+ # id - SOAP::SOAPLong
222
+ # industry - Industry
223
+ # lastModifiedByUserId - SOAP::SOAPLong
224
+ # lastModifiedTime - SOAP::SOAPDateTime
225
+ # market - Market
226
+ # name - SOAP::SOAPString
227
+ # serviceLevel - ServiceLevel
228
+ # status - CustomerLifeCycleStatus
229
+ # timeStamp - SOAP::SOAPBase64
230
+ class Customer
231
+ attr_accessor :customerAddress
232
+ attr_accessor :financialStatus
233
+ attr_accessor :id
234
+ attr_accessor :industry
235
+ attr_accessor :lastModifiedByUserId
236
+ attr_accessor :lastModifiedTime
237
+ attr_accessor :market
238
+ attr_accessor :name
239
+ attr_accessor :serviceLevel
240
+ attr_accessor :status
241
+ attr_accessor :timeStamp
242
+
243
+ def initialize(customerAddress = nil, financialStatus = nil, id = nil, industry = nil, lastModifiedByUserId = nil, lastModifiedTime = nil, market = nil, name = nil, serviceLevel = nil, status = nil, timeStamp = nil)
244
+ @customerAddress = customerAddress
245
+ @financialStatus = financialStatus
246
+ @id = id
247
+ @industry = industry
248
+ @lastModifiedByUserId = lastModifiedByUserId
249
+ @lastModifiedTime = lastModifiedTime
250
+ @market = market
251
+ @name = name
252
+ @serviceLevel = serviceLevel
253
+ @status = status
254
+ @timeStamp = timeStamp
255
+ end
256
+ end
257
+
258
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}Address
259
+ # city - SOAP::SOAPString
260
+ # countryCode - SOAP::SOAPString
261
+ # id - SOAP::SOAPLong
262
+ # line1 - SOAP::SOAPString
263
+ # line2 - SOAP::SOAPString
264
+ # line3 - SOAP::SOAPString
265
+ # line4 - SOAP::SOAPString
266
+ # postalCode - SOAP::SOAPString
267
+ # stateOrProvince - SOAP::SOAPString
268
+ # timeStamp - SOAP::SOAPBase64
269
+ class Address
270
+ attr_accessor :city
271
+ attr_accessor :countryCode
272
+ attr_accessor :id
273
+ attr_accessor :line1
274
+ attr_accessor :line2
275
+ attr_accessor :line3
276
+ attr_accessor :line4
277
+ attr_accessor :postalCode
278
+ attr_accessor :stateOrProvince
279
+ attr_accessor :timeStamp
280
+
281
+ def initialize(city = nil, countryCode = nil, id = nil, line1 = nil, line2 = nil, line3 = nil, line4 = nil, postalCode = nil, stateOrProvince = nil, timeStamp = nil)
282
+ @city = city
283
+ @countryCode = countryCode
284
+ @id = id
285
+ @line1 = line1
286
+ @line2 = line2
287
+ @line3 = line3
288
+ @line4 = line4
289
+ @postalCode = postalCode
290
+ @stateOrProvince = stateOrProvince
291
+ @timeStamp = timeStamp
292
+ end
293
+ end
294
+
295
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}User
296
+ # contactInfo - ContactInfo
297
+ # customerAppScope - ApplicationType
298
+ # customerId - SOAP::SOAPLong
299
+ # id - SOAP::SOAPLong
300
+ # jobTitle - SOAP::SOAPString
301
+ # lastModifiedByUserId - SOAP::SOAPLong
302
+ # lastModifiedTime - SOAP::SOAPDateTime
303
+ # lcid - LCID
304
+ # name - PersonName
305
+ # password - SOAP::SOAPString
306
+ # secretAnswer - SOAP::SOAPString
307
+ # secretQuestion - SecretQuestion
308
+ # status - UserStatus
309
+ # timeStamp - SOAP::SOAPBase64
310
+ # userName - SOAP::SOAPString
311
+ class User
312
+ attr_accessor :contactInfo
313
+ attr_accessor :customerAppScope
314
+ attr_accessor :customerId
315
+ attr_accessor :id
316
+ attr_accessor :jobTitle
317
+ attr_accessor :lastModifiedByUserId
318
+ attr_accessor :lastModifiedTime
319
+ attr_accessor :lcid
320
+ attr_accessor :name
321
+ attr_accessor :password
322
+ attr_accessor :secretAnswer
323
+ attr_accessor :secretQuestion
324
+ attr_accessor :status
325
+ attr_accessor :timeStamp
326
+ attr_accessor :userName
327
+
328
+ def initialize(contactInfo = nil, customerAppScope = nil, customerId = nil, id = nil, jobTitle = nil, lastModifiedByUserId = nil, lastModifiedTime = nil, lcid = nil, name = nil, password = nil, secretAnswer = nil, secretQuestion = nil, status = nil, timeStamp = nil, userName = nil)
329
+ @contactInfo = contactInfo
330
+ @customerAppScope = customerAppScope
331
+ @customerId = customerId
332
+ @id = id
333
+ @jobTitle = jobTitle
334
+ @lastModifiedByUserId = lastModifiedByUserId
335
+ @lastModifiedTime = lastModifiedTime
336
+ @lcid = lcid
337
+ @name = name
338
+ @password = password
339
+ @secretAnswer = secretAnswer
340
+ @secretQuestion = secretQuestion
341
+ @status = status
342
+ @timeStamp = timeStamp
343
+ @userName = userName
344
+ end
345
+ end
346
+
347
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}ContactInfo
348
+ # address - Address
349
+ # contactByPhone - SOAP::SOAPBoolean
350
+ # contactByPostalMail - SOAP::SOAPBoolean
351
+ # email - SOAP::SOAPString
352
+ # emailFormat - EmailFormat
353
+ # fax - SOAP::SOAPString
354
+ # homePhone - SOAP::SOAPString
355
+ # id - SOAP::SOAPLong
356
+ # mobile - SOAP::SOAPString
357
+ # phone1 - SOAP::SOAPString
358
+ # phone2 - SOAP::SOAPString
359
+ class ContactInfo
360
+ attr_accessor :address
361
+ attr_accessor :contactByPhone
362
+ attr_accessor :contactByPostalMail
363
+ attr_accessor :email
364
+ attr_accessor :emailFormat
365
+ attr_accessor :fax
366
+ attr_accessor :homePhone
367
+ attr_accessor :id
368
+ attr_accessor :mobile
369
+ attr_accessor :phone1
370
+ attr_accessor :phone2
371
+
372
+ def initialize(address = nil, contactByPhone = nil, contactByPostalMail = nil, email = nil, emailFormat = nil, fax = nil, homePhone = nil, id = nil, mobile = nil, phone1 = nil, phone2 = nil)
373
+ @address = address
374
+ @contactByPhone = contactByPhone
375
+ @contactByPostalMail = contactByPostalMail
376
+ @email = email
377
+ @emailFormat = emailFormat
378
+ @fax = fax
379
+ @homePhone = homePhone
380
+ @id = id
381
+ @mobile = mobile
382
+ @phone1 = phone1
383
+ @phone2 = phone2
384
+ end
385
+ end
386
+
387
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}PersonName
388
+ # firstName - SOAP::SOAPString
389
+ # lastName - SOAP::SOAPString
390
+ # middleInitial - SOAP::SOAPString
391
+ class PersonName
392
+ attr_accessor :firstName
393
+ attr_accessor :lastName
394
+ attr_accessor :middleInitial
395
+
396
+ def initialize(firstName = nil, lastName = nil, middleInitial = nil)
397
+ @firstName = firstName
398
+ @lastName = lastName
399
+ @middleInitial = middleInitial
400
+ end
401
+ end
402
+
403
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}ArrayOfCustomerInfo
404
+ class ArrayOfCustomerInfo < ::Array
405
+ end
406
+
407
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}CustomerInfo
408
+ # id - SOAP::SOAPLong
409
+ # name - SOAP::SOAPString
410
+ class CustomerInfo
411
+ attr_accessor :id
412
+ attr_accessor :name
413
+
414
+ def initialize(id = nil, name = nil)
415
+ @id = id
416
+ @name = name
417
+ end
418
+ end
419
+
420
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}ArrayOfUserInfo
421
+ class ArrayOfUserInfo < ::Array
422
+ end
423
+
424
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}UserInfo
425
+ # id - SOAP::SOAPLong
426
+ # userName - SOAP::SOAPString
427
+ class UserInfo
428
+ attr_accessor :id
429
+ attr_accessor :userName
430
+
431
+ def initialize(id = nil, userName = nil)
432
+ @id = id
433
+ @userName = userName
434
+ end
435
+ end
436
+
437
+ # {http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong
438
+ class ArrayOflong < ::Array
439
+ end
440
+
441
+ # {http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfint
442
+ class ArrayOfint < ::Array
443
+ end
444
+
445
+ # {https://adcenter.microsoft.com/api/customermanagement/Exception}ArrayOfOperationError
446
+ class ArrayOfOperationError < ::Array
447
+ end
448
+
449
+ # # {https://adcenter.microsoft.com/api/customermanagement/Exception}OperationError
450
+ # # code - SOAP::SOAPInt
451
+ # # details - SOAP::SOAPString
452
+ # # message - SOAP::SOAPString
453
+ # class OperationError
454
+ # attr_accessor :code
455
+ # attr_accessor :details
456
+ # attr_accessor :message
457
+ #
458
+ # def initialize(code = nil, details = nil, message = nil)
459
+ # @code = code
460
+ # @details = details
461
+ # @message = message
462
+ # end
463
+ # end
464
+
465
+ # # {https://adapi.microsoft.com}ApplicationFault
466
+ # # trackingId - SOAP::SOAPString
467
+ # class ApplicationFault
468
+ # attr_accessor :trackingId
469
+ #
470
+ # def initialize(trackingId = nil)
471
+ # @trackingId = trackingId
472
+ # end
473
+ # end
474
+
475
+ # # {https://adcenter.microsoft.com/api/customermanagement/Exception}ApiFault
476
+ # # trackingId - SOAP::SOAPString
477
+ # # operationErrors - ArrayOfOperationError
478
+ # class ApiFault < ::StandardError
479
+ # attr_accessor :trackingId
480
+ # attr_accessor :operationErrors
481
+ #
482
+ # def initialize(trackingId = nil, operationErrors = nil)
483
+ # @trackingId = trackingId
484
+ # @operationErrors = operationErrors
485
+ # end
486
+ # end
487
+
488
+ # # {https://adapi.microsoft.com}AdApiFaultDetail
489
+ # # trackingId - SOAP::SOAPString
490
+ # # errors - ArrayOfAdApiError
491
+ # class AdApiFaultDetail < ::StandardError
492
+ # attr_accessor :trackingId
493
+ # attr_accessor :errors
494
+ #
495
+ # def initialize(trackingId = nil, errors = nil)
496
+ # @trackingId = trackingId
497
+ # @errors = errors
498
+ # end
499
+ # end
500
+
501
+ # {https://adapi.microsoft.com}ArrayOfAdApiError
502
+ class ArrayOfAdApiError < ::Array
503
+ end
504
+
505
+ # # {https://adapi.microsoft.com}AdApiError
506
+ # # code - SOAP::SOAPInt
507
+ # # detail - SOAP::SOAPString
508
+ # # errorCode - SOAP::SOAPString
509
+ # # message - SOAP::SOAPString
510
+ # class AdApiError
511
+ # attr_accessor :code
512
+ # attr_accessor :detail
513
+ # attr_accessor :errorCode
514
+ # attr_accessor :message
515
+ #
516
+ # def initialize(code = nil, detail = nil, errorCode = nil, message = nil)
517
+ # @code = code
518
+ # @detail = detail
519
+ # @errorCode = errorCode
520
+ # @message = message
521
+ # end
522
+ # end
523
+
524
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}AccountLifeCycleStatus
525
+ class AccountLifeCycleStatus < ::String
526
+ Active = AccountLifeCycleStatus.new("Active")
527
+ Draft = AccountLifeCycleStatus.new("Draft")
528
+ Inactive = AccountLifeCycleStatus.new("Inactive")
529
+ Pause = AccountLifeCycleStatus.new("Pause")
530
+ end
531
+
532
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}AccountType
533
+ class AccountType < ::String
534
+ Advertiser = AccountType.new("Advertiser")
535
+ Publisher = AccountType.new("Publisher")
536
+ end
537
+
538
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}CurrencyType
539
+ class CurrencyType < ::String
540
+ AlgerianDinar = CurrencyType.new("AlgerianDinar")
541
+ ArgentinePeso = CurrencyType.new("ArgentinePeso")
542
+ ArmenianDram = CurrencyType.new("ArmenianDram")
543
+ AustralianDollar = CurrencyType.new("AustralianDollar")
544
+ AzerbaijanianManat = CurrencyType.new("AzerbaijanianManat")
545
+ BahrainiDinar = CurrencyType.new("BahrainiDinar")
546
+ Baht = CurrencyType.new("Baht")
547
+ Balboa = CurrencyType.new("Balboa")
548
+ BelarussianRuble = CurrencyType.new("BelarussianRuble")
549
+ BelizeDollar = CurrencyType.new("BelizeDollar")
550
+ Bolivar = CurrencyType.new("Bolivar")
551
+ Boliviano = CurrencyType.new("Boliviano")
552
+ BrazilianReal = CurrencyType.new("BrazilianReal")
553
+ BruneiDollar = CurrencyType.new("BruneiDollar")
554
+ CanadianDollar = CurrencyType.new("CanadianDollar")
555
+ ChileanPeso = CurrencyType.new("ChileanPeso")
556
+ ColombianPeso = CurrencyType.new("ColombianPeso")
557
+ CordobaOro = CurrencyType.new("CordobaOro")
558
+ CostaRicanColon = CurrencyType.new("CostaRicanColon")
559
+ Croatiankuna = CurrencyType.new("Croatiankuna")
560
+ CzechKoruna = CurrencyType.new("CzechKoruna")
561
+ DanishKrone = CurrencyType.new("DanishKrone")
562
+ Denar = CurrencyType.new("Denar")
563
+ DominicanPeso = CurrencyType.new("DominicanPeso")
564
+ Dong = CurrencyType.new("Dong")
565
+ EgyptianPound = CurrencyType.new("EgyptianPound")
566
+ Euro = CurrencyType.new("Euro")
567
+ Forint = CurrencyType.new("Forint")
568
+ Guarani = CurrencyType.new("Guarani")
569
+ HongKongDollar = CurrencyType.new("HongKongDollar")
570
+ Hryvnia = CurrencyType.new("Hryvnia")
571
+ IcelandKrona = CurrencyType.new("IcelandKrona")
572
+ IndianRupee = CurrencyType.new("IndianRupee")
573
+ IranianRial = CurrencyType.new("IranianRial")
574
+ IraqiDinar = CurrencyType.new("IraqiDinar")
575
+ JamaicanDollar = CurrencyType.new("JamaicanDollar")
576
+ JapaneseYen = CurrencyType.new("JapaneseYen")
577
+ JordanianDinar = CurrencyType.new("JordanianDinar")
578
+ KenyanShilling = CurrencyType.new("KenyanShilling")
579
+ Kroon = CurrencyType.new("Kroon")
580
+ KuwaitiDinar = CurrencyType.new("KuwaitiDinar")
581
+ Lari = CurrencyType.new("Lari")
582
+ LatvianLats = CurrencyType.new("LatvianLats")
583
+ LebanesePound = CurrencyType.new("LebanesePound")
584
+ Lek = CurrencyType.new("Lek")
585
+ Lempira = CurrencyType.new("Lempira")
586
+ Leu = CurrencyType.new("Leu")
587
+ Lev = CurrencyType.new("Lev")
588
+ LibyanDinar = CurrencyType.new("LibyanDinar")
589
+ LithuanianLitus = CurrencyType.new("LithuanianLitus")
590
+ MalaysianRinggit = CurrencyType.new("MalaysianRinggit")
591
+ MexicanPeso = CurrencyType.new("MexicanPeso")
592
+ MoroccanDirham = CurrencyType.new("MoroccanDirham")
593
+ NewIsraeliSheqel = CurrencyType.new("NewIsraeliSheqel")
594
+ NewTaiwanDollar = CurrencyType.new("NewTaiwanDollar")
595
+ NewZealandDollar = CurrencyType.new("NewZealandDollar")
596
+ NorwegianKrone = CurrencyType.new("NorwegianKrone")
597
+ NuevoSol = CurrencyType.new("NuevoSol")
598
+ PakistanRupee = CurrencyType.new("PakistanRupee")
599
+ Pataca = CurrencyType.new("Pataca")
600
+ PesoUruguayo = CurrencyType.new("PesoUruguayo")
601
+ PhilippinePeso = CurrencyType.new("PhilippinePeso")
602
+ QatariRial = CurrencyType.new("QatariRial")
603
+ Quetzal = CurrencyType.new("Quetzal")
604
+ RialOmani = CurrencyType.new("RialOmani")
605
+ Rufiyaa = CurrencyType.new("Rufiyaa")
606
+ Rupiah = CurrencyType.new("Rupiah")
607
+ RussianRuble = CurrencyType.new("RussianRuble")
608
+ SaudiRiyal = CurrencyType.new("SaudiRiyal")
609
+ SingaporeDollar = CurrencyType.new("SingaporeDollar")
610
+ SlovakKoruna = CurrencyType.new("SlovakKoruna")
611
+ Som = CurrencyType.new("Som")
612
+ SouthAfricanRand = CurrencyType.new("SouthAfricanRand")
613
+ SwedishKrona = CurrencyType.new("SwedishKrona")
614
+ SwissFranc = CurrencyType.new("SwissFranc")
615
+ SyrianPound = CurrencyType.new("SyrianPound")
616
+ Tenge = CurrencyType.new("Tenge")
617
+ Tolar = CurrencyType.new("Tolar")
618
+ TrinidadandTobagoDollar = CurrencyType.new("TrinidadandTobagoDollar")
619
+ Tugrik = CurrencyType.new("Tugrik")
620
+ TunisianDinar = CurrencyType.new("TunisianDinar")
621
+ TurkishLira = CurrencyType.new("TurkishLira")
622
+ UAEDirham = CurrencyType.new("UAEDirham")
623
+ UKPound = CurrencyType.new("UKPound")
624
+ USDollar = CurrencyType.new("USDollar")
625
+ UzbekistanSum = CurrencyType.new("UzbekistanSum")
626
+ Won = CurrencyType.new("Won")
627
+ YemeniRial = CurrencyType.new("YemeniRial")
628
+ YuanRenminbi = CurrencyType.new("YuanRenminbi")
629
+ YugoslavianNewDinar = CurrencyType.new("YugoslavianNewDinar")
630
+ ZimbabweDollar = CurrencyType.new("ZimbabweDollar")
631
+ Zloty = CurrencyType.new("Zloty")
632
+ end
633
+
634
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}AccountFinancialStatus
635
+ class AccountFinancialStatus < ::String
636
+ ClearFinancialStatus = AccountFinancialStatus.new("ClearFinancialStatus")
637
+ CreditWarning = AccountFinancialStatus.new("CreditWarning")
638
+ Hold = AccountFinancialStatus.new("Hold")
639
+ PendingCreditCheck = AccountFinancialStatus.new("PendingCreditCheck")
640
+ Proposed = AccountFinancialStatus.new("Proposed")
641
+ SoldToOnly = AccountFinancialStatus.new("SoldToOnly")
642
+ TaxOnHold = AccountFinancialStatus.new("TaxOnHold")
643
+ UserHold = AccountFinancialStatus.new("UserHold")
644
+ WriteOff = AccountFinancialStatus.new("WriteOff")
645
+ end
646
+
647
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}LanguageType
648
+ class LanguageType < ::String
649
+ Danish = LanguageType.new("Danish")
650
+ Dutch = LanguageType.new("Dutch")
651
+ English = LanguageType.new("English")
652
+ Finnish = LanguageType.new("Finnish")
653
+ French = LanguageType.new("French")
654
+ German = LanguageType.new("German")
655
+ Italian = LanguageType.new("Italian")
656
+ Japanese = LanguageType.new("Japanese")
657
+ Norwegian = LanguageType.new("Norwegian")
658
+ Portuguese = LanguageType.new("Portuguese")
659
+ Spanish = LanguageType.new("Spanish")
660
+ Swedish = LanguageType.new("Swedish")
661
+ end
662
+
663
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}PaymentMethodType
664
+ class PaymentMethodType < ::String
665
+ Check = PaymentMethodType.new("Check")
666
+ CreditCard = PaymentMethodType.new("CreditCard")
667
+ ElectronicFundsTransfer = PaymentMethodType.new("ElectronicFundsTransfer")
668
+ Invoice = PaymentMethodType.new("Invoice")
669
+ end
670
+
671
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}TimeZoneType
672
+ class TimeZoneType < ::String
673
+ AbuDhabiMuscat = TimeZoneType.new("AbuDhabiMuscat")
674
+ Adelaide = TimeZoneType.new("Adelaide")
675
+ Alaska = TimeZoneType.new("Alaska")
676
+ AlmatyNovosibirsk = TimeZoneType.new("AlmatyNovosibirsk")
677
+ AmsterdamBerlinBernRomeStockholmVienna = TimeZoneType.new("AmsterdamBerlinBernRomeStockholmVienna")
678
+ Arizona = TimeZoneType.new("Arizona")
679
+ AstanaDhaka = TimeZoneType.new("AstanaDhaka")
680
+ AthensBuckarestIstanbul = TimeZoneType.new("AthensBuckarestIstanbul")
681
+ AtlanticTimeCanada = TimeZoneType.new("AtlanticTimeCanada")
682
+ AucklandWellington = TimeZoneType.new("AucklandWellington")
683
+ Azores = TimeZoneType.new("Azores")
684
+ Baghdad = TimeZoneType.new("Baghdad")
685
+ BakuTbilisiYerevan = TimeZoneType.new("BakuTbilisiYerevan")
686
+ BangkokHanoiJakarta = TimeZoneType.new("BangkokHanoiJakarta")
687
+ BeijingChongqingHongKongUrumqi = TimeZoneType.new("BeijingChongqingHongKongUrumqi")
688
+ BelgradeBratislavaBudapestLjubljanaPrague = TimeZoneType.new("BelgradeBratislavaBudapestLjubljanaPrague")
689
+ BogotaLimaQuito = TimeZoneType.new("BogotaLimaQuito")
690
+ Brasilia = TimeZoneType.new("Brasilia")
691
+ Brisbane = TimeZoneType.new("Brisbane")
692
+ BrusselsCopenhagenMadridParis = TimeZoneType.new("BrusselsCopenhagenMadridParis")
693
+ Bucharest = TimeZoneType.new("Bucharest")
694
+ BuenosAiresGeorgetown = TimeZoneType.new("BuenosAiresGeorgetown")
695
+ Cairo = TimeZoneType.new("Cairo")
696
+ CanberraMelbourneSydney = TimeZoneType.new("CanberraMelbourneSydney")
697
+ CapeVerdeIsland = TimeZoneType.new("CapeVerdeIsland")
698
+ CaracasLaPaz = TimeZoneType.new("CaracasLaPaz")
699
+ CasablancaMonrovia = TimeZoneType.new("CasablancaMonrovia")
700
+ CentralAmerica = TimeZoneType.new("CentralAmerica")
701
+ CentralTimeUSCanada = TimeZoneType.new("CentralTimeUSCanada")
702
+ ChennaiKolkataMumbaiNewDelhi = TimeZoneType.new("ChennaiKolkataMumbaiNewDelhi")
703
+ ChihuahuaLaPazMazatlan = TimeZoneType.new("ChihuahuaLaPazMazatlan")
704
+ Darwin = TimeZoneType.new("Darwin")
705
+ EasternTimeUSCanada = TimeZoneType.new("EasternTimeUSCanada")
706
+ Ekaterinburg = TimeZoneType.new("Ekaterinburg")
707
+ FijiKamchatkaMarshallIsland = TimeZoneType.new("FijiKamchatkaMarshallIsland")
708
+ Greenland = TimeZoneType.new("Greenland")
709
+ GreenwichMeanTimeDublinEdinburghLisbonLondon = TimeZoneType.new("GreenwichMeanTimeDublinEdinburghLisbonLondon")
710
+ GuadalajaraMexicoCityMonterrey = TimeZoneType.new("GuadalajaraMexicoCityMonterrey")
711
+ GuamPortMoresby = TimeZoneType.new("GuamPortMoresby")
712
+ HararePretoria = TimeZoneType.new("HararePretoria")
713
+ Hawaii = TimeZoneType.new("Hawaii")
714
+ HelsinkiKyivRigaSofiaTallinnVilnius = TimeZoneType.new("HelsinkiKyivRigaSofiaTallinnVilnius")
715
+ Hobart = TimeZoneType.new("Hobart")
716
+ IndianaEast = TimeZoneType.new("IndianaEast")
717
+ InternationalDatelineWest = TimeZoneType.new("InternationalDatelineWest")
718
+ IrkutskUlaanBataar = TimeZoneType.new("IrkutskUlaanBataar")
719
+ IslamabadKarachiTashkent = TimeZoneType.new("IslamabadKarachiTashkent")
720
+ Jerusalem = TimeZoneType.new("Jerusalem")
721
+ Kabul = TimeZoneType.new("Kabul")
722
+ Kathmandu = TimeZoneType.new("Kathmandu")
723
+ Krasnoyarsk = TimeZoneType.new("Krasnoyarsk")
724
+ KualaLumpurSingapore = TimeZoneType.new("KualaLumpurSingapore")
725
+ KuwaitRiyadh = TimeZoneType.new("KuwaitRiyadh")
726
+ MagadanSolomonIslandNewCaledonia = TimeZoneType.new("MagadanSolomonIslandNewCaledonia")
727
+ MidAtlantic = TimeZoneType.new("MidAtlantic")
728
+ MidwayIslandAndSamoa = TimeZoneType.new("MidwayIslandAndSamoa")
729
+ MoscowStPetersburgVolgograd = TimeZoneType.new("MoscowStPetersburgVolgograd")
730
+ MountainTimeUSCanada = TimeZoneType.new("MountainTimeUSCanada")
731
+ Nairobi = TimeZoneType.new("Nairobi")
732
+ Newfoundland = TimeZoneType.new("Newfoundland")
733
+ Nukualofa = TimeZoneType.new("Nukualofa")
734
+ OsakaSapporoTokyo = TimeZoneType.new("OsakaSapporoTokyo")
735
+ PacificTimeUSCanadaTijuana = TimeZoneType.new("PacificTimeUSCanadaTijuana")
736
+ Perth = TimeZoneType.new("Perth")
737
+ Rangoon = TimeZoneType.new("Rangoon")
738
+ Santiago = TimeZoneType.new("Santiago")
739
+ SarajevoSkopjeWarsawZagreb = TimeZoneType.new("SarajevoSkopjeWarsawZagreb")
740
+ Saskatchewan = TimeZoneType.new("Saskatchewan")
741
+ Seoul = TimeZoneType.new("Seoul")
742
+ SriJayawardenepura = TimeZoneType.new("SriJayawardenepura")
743
+ Taipei = TimeZoneType.new("Taipei")
744
+ Tehran = TimeZoneType.new("Tehran")
745
+ Vladivostok = TimeZoneType.new("Vladivostok")
746
+ WestCentralAfrica = TimeZoneType.new("WestCentralAfrica")
747
+ Yakutsk = TimeZoneType.new("Yakutsk")
748
+ end
749
+
750
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}CustomerFinancialStatus
751
+ class CustomerFinancialStatus < ::String
752
+ ClearFinancialStatus = CustomerFinancialStatus.new("ClearFinancialStatus")
753
+ CreditHold = CustomerFinancialStatus.new("CreditHold")
754
+ CreditWarning = CustomerFinancialStatus.new("CreditWarning")
755
+ PendingCreditCheck = CustomerFinancialStatus.new("PendingCreditCheck")
756
+ ProposalsOnly = CustomerFinancialStatus.new("ProposalsOnly")
757
+ SoldToOnly = CustomerFinancialStatus.new("SoldToOnly")
758
+ end
759
+
760
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}Industry
761
+ class Industry < ::String
762
+ AgencySalesHouse = Industry.new("AgencySalesHouse")
763
+ Automotive = Industry.new("Automotive")
764
+ ConsumerPackagedGoods = Industry.new("ConsumerPackagedGoods")
765
+ Education = Industry.new("Education")
766
+ Entertainment = Industry.new("Entertainment")
767
+ FinancialServices = Industry.new("FinancialServices")
768
+ FoodServices = Industry.new("FoodServices")
769
+ Gaming = Industry.new("Gaming")
770
+ GovernmentNonprofitPolitical = Industry.new("GovernmentNonprofitPolitical")
771
+ Healthcare = Industry.new("Healthcare")
772
+ Internal = Industry.new("Internal")
773
+ NA = Industry.new("NA")
774
+ Other = Industry.new("Other")
775
+ PublishingAndWebMedia = Industry.new("PublishingAndWebMedia")
776
+ RealEstate = Industry.new("RealEstate")
777
+ Retail = Industry.new("Retail")
778
+ Services = Industry.new("Services")
779
+ Technology = Industry.new("Technology")
780
+ Telecommunications = Industry.new("Telecommunications")
781
+ TravelHospitality = Industry.new("TravelHospitality")
782
+ end
783
+
784
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}Market
785
+ class Market < ::String
786
+ CanadaEN = Market.new("CanadaEN")
787
+ CanadaFR = Market.new("CanadaFR")
788
+ France = Market.new("France")
789
+ Singapore = Market.new("Singapore")
790
+ UK = Market.new("UK")
791
+ US = Market.new("US")
792
+ Undefined = Market.new("Undefined")
793
+ end
794
+
795
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}ServiceLevel
796
+ class ServiceLevel < ::String
797
+ Internal = ServiceLevel.new("Internal")
798
+ Premium = ServiceLevel.new("Premium")
799
+ Select = ServiceLevel.new("Select")
800
+ SelfServe = ServiceLevel.new("SelfServe")
801
+ SelfServeTrusted = ServiceLevel.new("SelfServeTrusted")
802
+ end
803
+
804
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}CustomerLifeCycleStatus
805
+ class CustomerLifeCycleStatus < ::String
806
+ Active = CustomerLifeCycleStatus.new("Active")
807
+ Inactive = CustomerLifeCycleStatus.new("Inactive")
808
+ end
809
+
810
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}EmailFormat
811
+ class EmailFormat < ::String
812
+ Html = EmailFormat.new("Html")
813
+ Text = EmailFormat.new("Text")
814
+ end
815
+
816
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}ApplicationType
817
+ class ApplicationType < ::String
818
+ Advertiser = ApplicationType.new("Advertiser")
819
+ Publisher = ApplicationType.new("Publisher")
820
+ end
821
+
822
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}LCID
823
+ class LCID < ::String
824
+ EnglishCanada = LCID.new("EnglishCanada")
825
+ EnglishSingapore = LCID.new("EnglishSingapore")
826
+ EnglishUK = LCID.new("EnglishUK")
827
+ EnglishUS = LCID.new("EnglishUS")
828
+ FrenchCanada = LCID.new("FrenchCanada")
829
+ FrenchFrance = LCID.new("FrenchFrance")
830
+ end
831
+
832
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}SecretQuestion
833
+ class SecretQuestion < ::String
834
+ Anniversary = SecretQuestion.new("Anniversary")
835
+ FatherMiddleName = SecretQuestion.new("FatherMiddleName")
836
+ FavoriteMovie = SecretQuestion.new("FavoriteMovie")
837
+ FavoritePetsName = SecretQuestion.new("FavoritePetsName")
838
+ FavoriteSportsTeam = SecretQuestion.new("FavoriteSportsTeam")
839
+ FavoriteTeacherName = SecretQuestion.new("FavoriteTeacherName")
840
+ FirstChildMiddleName = SecretQuestion.new("FirstChildMiddleName")
841
+ HighSchoolName = SecretQuestion.new("HighSchoolName")
842
+ None = SecretQuestion.new("None")
843
+ SpouseMiddleName = SecretQuestion.new("SpouseMiddleName")
844
+ end
845
+
846
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}UserStatus
847
+ class UserStatus < ::String
848
+ Active = UserStatus.new("Active")
849
+ Deleted = UserStatus.new("Deleted")
850
+ Inactive = UserStatus.new("Inactive")
851
+ New = UserStatus.new("New")
852
+ end
853
+
854
+ # {https://adcenter.microsoft.com/api/customermanagement/Entities}UserRole
855
+ class UserRole < ::String
856
+ AdvertiserCampaignManager = UserRole.new("AdvertiserCampaignManager")
857
+ ClientAdmin = UserRole.new("ClientAdmin")
858
+ ClientManager = UserRole.new("ClientManager")
859
+ ClientViewer = UserRole.new("ClientViewer")
860
+ PublisherAccountManager = UserRole.new("PublisherAccountManager")
861
+ PublisherAdViewer = UserRole.new("PublisherAdViewer")
862
+ PublisherAdmin = UserRole.new("PublisherAdmin")
863
+ PublisherListManager = UserRole.new("PublisherListManager")
864
+ PublisherReportUser = UserRole.new("PublisherReportUser")
865
+ SuperAdmin = UserRole.new("SuperAdmin")
866
+ end
867
+
868
+ # {https://adcenter.microsoft.com/api/customermanagement}GetAccountsInfoRequest
869
+ # customerId - SOAP::SOAPLong
870
+ class GetAccountsInfoRequest
871
+ attr_accessor :customerId
872
+
873
+ def initialize(customerId = nil)
874
+ @customerId = customerId
875
+ end
876
+ end
877
+
878
+ # {https://adcenter.microsoft.com/api/customermanagement}GetAccountsInfoResponse
879
+ # accountsInfo - ArrayOfAccountInfo
880
+ class GetAccountsInfoResponse
881
+ attr_accessor :accountsInfo
882
+
883
+ def initialize(accountsInfo = nil)
884
+ @accountsInfo = accountsInfo
885
+ end
886
+ end
887
+
888
+ # {https://adcenter.microsoft.com/api/customermanagement}AddAccountRequest
889
+ # account - Account
890
+ class AddAccountRequest
891
+ attr_accessor :account
892
+
893
+ def initialize(account = nil)
894
+ @account = account
895
+ end
896
+ end
897
+
898
+ # {https://adcenter.microsoft.com/api/customermanagement}AddAccountResponse
899
+ # accountId - SOAP::SOAPLong
900
+ # accountNumber - SOAP::SOAPString
901
+ # createTime - SOAP::SOAPDateTime
902
+ class AddAccountResponse
903
+ attr_accessor :accountId
904
+ attr_accessor :accountNumber
905
+ attr_accessor :createTime
906
+
907
+ def initialize(accountId = nil, accountNumber = nil, createTime = nil)
908
+ @accountId = accountId
909
+ @accountNumber = accountNumber
910
+ @createTime = createTime
911
+ end
912
+ end
913
+
914
+ # {https://adcenter.microsoft.com/api/customermanagement}UpdateAccountRequest
915
+ # account - Account
916
+ class UpdateAccountRequest
917
+ attr_accessor :account
918
+
919
+ def initialize(account = nil)
920
+ @account = account
921
+ end
922
+ end
923
+
924
+ # {https://adcenter.microsoft.com/api/customermanagement}UpdateAccountResponse
925
+ # lastModifiedTime - SOAP::SOAPDateTime
926
+ class UpdateAccountResponse
927
+ attr_accessor :lastModifiedTime
928
+
929
+ def initialize(lastModifiedTime = nil)
930
+ @lastModifiedTime = lastModifiedTime
931
+ end
932
+ end
933
+
934
+ # {https://adcenter.microsoft.com/api/customermanagement}GetCustomerRequest
935
+ # customerId - SOAP::SOAPLong
936
+ class GetCustomerRequest
937
+ attr_accessor :customerId
938
+
939
+ def initialize(customerId = nil)
940
+ @customerId = customerId
941
+ end
942
+ end
943
+
944
+ # {https://adcenter.microsoft.com/api/customermanagement}GetCustomerResponse
945
+ # customer - Customer
946
+ class GetCustomerResponse
947
+ attr_accessor :customer
948
+
949
+ def initialize(customer = nil)
950
+ @customer = customer
951
+ end
952
+ end
953
+
954
+ # {https://adcenter.microsoft.com/api/customermanagement}UpdateCustomerRequest
955
+ # customer - Customer
956
+ class UpdateCustomerRequest
957
+ attr_accessor :customer
958
+
959
+ def initialize(customer = nil)
960
+ @customer = customer
961
+ end
962
+ end
963
+
964
+ # {https://adcenter.microsoft.com/api/customermanagement}UpdateCustomerResponse
965
+ # lastModifiedTime - SOAP::SOAPDateTime
966
+ class UpdateCustomerResponse
967
+ attr_accessor :lastModifiedTime
968
+
969
+ def initialize(lastModifiedTime = nil)
970
+ @lastModifiedTime = lastModifiedTime
971
+ end
972
+ end
973
+
974
+ # {https://adcenter.microsoft.com/api/customermanagement}SignupCustomerRequest
975
+ # customer - Customer
976
+ # user - User
977
+ # account - Account
978
+ # parentCustomerId - SOAP::SOAPLong
979
+ # applicationScope - ApplicationType
980
+ class SignupCustomerRequest
981
+ attr_accessor :customer
982
+ attr_accessor :user
983
+ attr_accessor :account
984
+ attr_accessor :parentCustomerId
985
+ attr_accessor :applicationScope
986
+
987
+ def initialize(customer = nil, user = nil, account = nil, parentCustomerId = nil, applicationScope = nil)
988
+ @customer = customer
989
+ @user = user
990
+ @account = account
991
+ @parentCustomerId = parentCustomerId
992
+ @applicationScope = applicationScope
993
+ end
994
+ end
995
+
996
+ # {https://adcenter.microsoft.com/api/customermanagement}SignupCustomerResponse
997
+ # customerId - SOAP::SOAPLong
998
+ # customerNumber - SOAP::SOAPString
999
+ # userId - SOAP::SOAPLong
1000
+ # accountId - SOAP::SOAPLong
1001
+ # accountNumber - SOAP::SOAPString
1002
+ # createTime - SOAP::SOAPDateTime
1003
+ class SignupCustomerResponse
1004
+ attr_accessor :customerId
1005
+ attr_accessor :customerNumber
1006
+ attr_accessor :userId
1007
+ attr_accessor :accountId
1008
+ attr_accessor :accountNumber
1009
+ attr_accessor :createTime
1010
+
1011
+ def initialize(customerId = nil, customerNumber = nil, userId = nil, accountId = nil, accountNumber = nil, createTime = nil)
1012
+ @customerId = customerId
1013
+ @customerNumber = customerNumber
1014
+ @userId = userId
1015
+ @accountId = accountId
1016
+ @accountNumber = accountNumber
1017
+ @createTime = createTime
1018
+ end
1019
+ end
1020
+
1021
+ # {https://adcenter.microsoft.com/api/customermanagement}GetAccountRequest
1022
+ # accountId - SOAP::SOAPLong
1023
+ class GetAccountRequest
1024
+ attr_accessor :accountId
1025
+
1026
+ def initialize(accountId = nil)
1027
+ @accountId = accountId
1028
+ end
1029
+ end
1030
+
1031
+ # {https://adcenter.microsoft.com/api/customermanagement}GetAccountResponse
1032
+ # account - Account
1033
+ class GetAccountResponse
1034
+ attr_accessor :account
1035
+
1036
+ def initialize(account = nil)
1037
+ @account = account
1038
+ end
1039
+ end
1040
+
1041
+ # {https://adcenter.microsoft.com/api/customermanagement}GetCustomersInfoRequest
1042
+ # customerNameFilter - SOAP::SOAPString
1043
+ # topN - SOAP::SOAPInt
1044
+ # applicationScope - ApplicationType
1045
+ class GetCustomersInfoRequest
1046
+ attr_accessor :customerNameFilter
1047
+ attr_accessor :topN
1048
+ attr_accessor :applicationScope
1049
+
1050
+ def initialize(customerNameFilter = nil, topN = nil, applicationScope = nil)
1051
+ @customerNameFilter = customerNameFilter
1052
+ @topN = topN
1053
+ @applicationScope = applicationScope
1054
+ end
1055
+ end
1056
+
1057
+ # {https://adcenter.microsoft.com/api/customermanagement}GetCustomersInfoResponse
1058
+ # customersInfo - ArrayOfCustomerInfo
1059
+ class GetCustomersInfoResponse
1060
+ attr_accessor :customersInfo
1061
+
1062
+ def initialize(customersInfo = nil)
1063
+ @customersInfo = customersInfo
1064
+ end
1065
+ end
1066
+
1067
+ # {https://adcenter.microsoft.com/api/customermanagement}AddUserRequest
1068
+ # user - User
1069
+ # role - UserRole
1070
+ # accountIds - ArrayOflong
1071
+ class AddUserRequest
1072
+ attr_accessor :user
1073
+ attr_accessor :role
1074
+ attr_accessor :accountIds
1075
+
1076
+ def initialize(user = nil, role = nil, accountIds = nil)
1077
+ @user = user
1078
+ @role = role
1079
+ @accountIds = accountIds
1080
+ end
1081
+ end
1082
+
1083
+ # {https://adcenter.microsoft.com/api/customermanagement}AddUserResponse
1084
+ # id - SOAP::SOAPLong
1085
+ # createTime - SOAP::SOAPDateTime
1086
+ class AddUserResponse
1087
+ attr_accessor :id
1088
+ attr_accessor :createTime
1089
+
1090
+ def initialize(id = nil, createTime = nil)
1091
+ @id = id
1092
+ @createTime = createTime
1093
+ end
1094
+ end
1095
+
1096
+ # {https://adcenter.microsoft.com/api/customermanagement}DeleteAccountRequest
1097
+ # accountId - SOAP::SOAPLong
1098
+ # timeStamp - SOAP::SOAPBase64
1099
+ class DeleteAccountRequest
1100
+ attr_accessor :accountId
1101
+ attr_accessor :timeStamp
1102
+
1103
+ def initialize(accountId = nil, timeStamp = nil)
1104
+ @accountId = accountId
1105
+ @timeStamp = timeStamp
1106
+ end
1107
+ end
1108
+
1109
+ # {https://adcenter.microsoft.com/api/customermanagement}DeleteAccountResponse
1110
+ class DeleteAccountResponse
1111
+ def initialize
1112
+ end
1113
+ end
1114
+
1115
+ # {https://adcenter.microsoft.com/api/customermanagement}DeleteCustomerRequest
1116
+ # customerId - SOAP::SOAPLong
1117
+ # timeStamp - SOAP::SOAPBase64
1118
+ class DeleteCustomerRequest
1119
+ attr_accessor :customerId
1120
+ attr_accessor :timeStamp
1121
+
1122
+ def initialize(customerId = nil, timeStamp = nil)
1123
+ @customerId = customerId
1124
+ @timeStamp = timeStamp
1125
+ end
1126
+ end
1127
+
1128
+ # {https://adcenter.microsoft.com/api/customermanagement}DeleteCustomerResponse
1129
+ class DeleteCustomerResponse
1130
+ def initialize
1131
+ end
1132
+ end
1133
+
1134
+ # {https://adcenter.microsoft.com/api/customermanagement}UpdateUserRequest
1135
+ # user - User
1136
+ class UpdateUserRequest
1137
+ attr_accessor :user
1138
+
1139
+ def initialize(user = nil)
1140
+ @user = user
1141
+ end
1142
+ end
1143
+
1144
+ # {https://adcenter.microsoft.com/api/customermanagement}UpdateUserResponse
1145
+ # lastModifiedTime - SOAP::SOAPDateTime
1146
+ class UpdateUserResponse
1147
+ attr_accessor :lastModifiedTime
1148
+
1149
+ def initialize(lastModifiedTime = nil)
1150
+ @lastModifiedTime = lastModifiedTime
1151
+ end
1152
+ end
1153
+
1154
+ # {https://adcenter.microsoft.com/api/customermanagement}UpdateUserRolesRequest
1155
+ # customerId - SOAP::SOAPLong
1156
+ # userId - SOAP::SOAPLong
1157
+ # newRoleId - SOAP::SOAPInt
1158
+ # newAccountIds - ArrayOflong
1159
+ # newCustomerIds - ArrayOflong
1160
+ # deleteRoleId - SOAP::SOAPInt
1161
+ # deleteAccountIds - ArrayOflong
1162
+ # deleteCustomerIds - ArrayOflong
1163
+ class UpdateUserRolesRequest
1164
+ attr_accessor :customerId
1165
+ attr_accessor :userId
1166
+ attr_accessor :newRoleId
1167
+ attr_accessor :newAccountIds
1168
+ attr_accessor :newCustomerIds
1169
+ attr_accessor :deleteRoleId
1170
+ attr_accessor :deleteAccountIds
1171
+ attr_accessor :deleteCustomerIds
1172
+
1173
+ def initialize(customerId = nil, userId = nil, newRoleId = nil, newAccountIds = nil, newCustomerIds = nil, deleteRoleId = nil, deleteAccountIds = nil, deleteCustomerIds = nil)
1174
+ @customerId = customerId
1175
+ @userId = userId
1176
+ @newRoleId = newRoleId
1177
+ @newAccountIds = newAccountIds
1178
+ @newCustomerIds = newCustomerIds
1179
+ @deleteRoleId = deleteRoleId
1180
+ @deleteAccountIds = deleteAccountIds
1181
+ @deleteCustomerIds = deleteCustomerIds
1182
+ end
1183
+ end
1184
+
1185
+ # {https://adcenter.microsoft.com/api/customermanagement}UpdateUserRolesResponse
1186
+ # lastModifiedTime - SOAP::SOAPDateTime
1187
+ class UpdateUserRolesResponse
1188
+ attr_accessor :lastModifiedTime
1189
+
1190
+ def initialize(lastModifiedTime = nil)
1191
+ @lastModifiedTime = lastModifiedTime
1192
+ end
1193
+ end
1194
+
1195
+ # {https://adcenter.microsoft.com/api/customermanagement}GetUserRequest
1196
+ # userId - SOAP::SOAPLong
1197
+ class GetUserRequest
1198
+ attr_accessor :userId
1199
+
1200
+ def initialize(userId = nil)
1201
+ @userId = userId
1202
+ end
1203
+ end
1204
+
1205
+ # {https://adcenter.microsoft.com/api/customermanagement}GetUserResponse
1206
+ # user - User
1207
+ # roles - ArrayOfint
1208
+ # accounts - ArrayOflong
1209
+ # customers - ArrayOflong
1210
+ class GetUserResponse
1211
+ attr_accessor :user
1212
+ attr_accessor :roles
1213
+ attr_accessor :accounts
1214
+ attr_accessor :customers
1215
+
1216
+ def initialize(user = nil, roles = nil, accounts = nil, customers = nil)
1217
+ @user = user
1218
+ @roles = roles
1219
+ @accounts = accounts
1220
+ @customers = customers
1221
+ end
1222
+ end
1223
+
1224
+ # {https://adcenter.microsoft.com/api/customermanagement}DeleteUserRequest
1225
+ # userId - SOAP::SOAPLong
1226
+ # timeStamp - SOAP::SOAPBase64
1227
+ class DeleteUserRequest
1228
+ attr_accessor :userId
1229
+ attr_accessor :timeStamp
1230
+
1231
+ def initialize(userId = nil, timeStamp = nil)
1232
+ @userId = userId
1233
+ @timeStamp = timeStamp
1234
+ end
1235
+ end
1236
+
1237
+ # {https://adcenter.microsoft.com/api/customermanagement}DeleteUserResponse
1238
+ class DeleteUserResponse
1239
+ def initialize
1240
+ end
1241
+ end
1242
+
1243
+ # {https://adcenter.microsoft.com/api/customermanagement}GetUsersInfoRequest
1244
+ # customerId - SOAP::SOAPLong
1245
+ # statusFilter - UserStatus
1246
+ class GetUsersInfoRequest
1247
+ attr_accessor :customerId
1248
+ attr_accessor :statusFilter
1249
+
1250
+ def initialize(customerId = nil, statusFilter = nil)
1251
+ @customerId = customerId
1252
+ @statusFilter = statusFilter
1253
+ end
1254
+ end
1255
+
1256
+ # {https://adcenter.microsoft.com/api/customermanagement}GetUsersInfoResponse
1257
+ # usersInfo - ArrayOfUserInfo
1258
+ class GetUsersInfoResponse
1259
+ attr_accessor :usersInfo
1260
+
1261
+ def initialize(usersInfo = nil)
1262
+ @usersInfo = usersInfo
1263
+ end
1264
+ end
1265
+
1266
+ # {https://adcenter.microsoft.com/api/customermanagement}GetCustomerPilotFeatureRequest
1267
+ # customerId - SOAP::SOAPLong
1268
+ class GetCustomerPilotFeatureRequest
1269
+ attr_accessor :customerId
1270
+
1271
+ def initialize(customerId = nil)
1272
+ @customerId = customerId
1273
+ end
1274
+ end
1275
+
1276
+ # {https://adcenter.microsoft.com/api/customermanagement}GetCustomerPilotFeatureResponse
1277
+ # featurePilotFlags - ArrayOfint
1278
+ class GetCustomerPilotFeatureResponse
1279
+ attr_accessor :featurePilotFlags
1280
+
1281
+ def initialize(featurePilotFlags = nil)
1282
+ @featurePilotFlags = featurePilotFlags
1283
+ end
1284
+ end