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