n8-adcenter-client 0.1.0 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +23 -0
- data/.gemtest +0 -0
- data/History.txt +12 -0
- data/Manifest.txt +44 -0
- data/README.txt +82 -0
- data/Rakefile.rb +30 -0
- data/TODO +12 -0
- data/VERSION +1 -0
- data/bin/get_adcenter_account_info.rb +45 -0
- data/devel/gen_wsdl_drivers.rb +26 -0
- data/devel/wsdl.yml +19 -0
- data/lib/AdministrationServiceDriver.rb +59 -0
- data/lib/AdministrationServiceMappingRegistry.rb +153 -0
- data/lib/CampaignManagementServiceDriver.rb +699 -0
- data/lib/CampaignManagementServiceMappingRegistry.rb +5140 -0
- data/lib/CustomerBillingServiceDriver.rb +107 -0
- data/lib/CustomerBillingServiceMappingRegistry.rb +698 -0
- data/lib/CustomerManagementServiceDriver.rb +219 -0
- data/lib/CustomerManagementServiceMappingRegistry.rb +1703 -0
- data/lib/ReportingServiceDriver.rb +59 -0
- data/lib/ReportingServiceMappingRegistry.rb +3410 -0
- data/lib/SecureDataManagementServiceDriver.rb +51 -0
- data/lib/SecureDataManagementServiceMappingRegistry.rb +380 -0
- data/lib/adcenter_client.rb +112 -0
- data/lib/adcenter_service.rb +74 -0
- data/lib/adcenter_wrapper_entities.rb +8185 -0
- data/lib/administration_service.rb +9 -0
- data/lib/campaign_management_service.rb +7 -0
- data/lib/custom_assertions.rb +5 -0
- data/lib/custom_exceptions.rb +1 -0
- data/lib/customer_billing_service.rb +7 -0
- data/lib/customer_management_service.rb +9 -0
- data/lib/defaultDriver.rb +67 -0
- data/lib/defaultMappingRegistry.rb +529 -0
- data/lib/notification_management.rb +7 -0
- data/lib/reporting_service.rb +7 -0
- data/lib/secure_data_management_service.rb +7 -0
- data/tasks/doctask.rake +9 -0
- data/tasks/testtask.rake +13 -0
- data/test/adcenter_client_test.rb +14 -0
- data/test/administration_service_test.rb +19 -0
- data/test/customer_management_service_test.rb +20 -0
- data/test/report_service_test.rb +44 -0
- data/test/test_credentials.yml-sample +7 -0
- data/test/test_helper.rb +9 -0
- metadata +99 -11
@@ -0,0 +1,107 @@
|
|
1
|
+
require 'CustomerBillingService.rb'
|
2
|
+
require 'CustomerBillingServiceMappingRegistry.rb'
|
3
|
+
require 'soap/rpc/driver'
|
4
|
+
|
5
|
+
module AdCenterWrapper
|
6
|
+
|
7
|
+
class ICustomerBillingService < ::SOAP::RPC::Driver
|
8
|
+
DefaultEndpointUrl = "https://sharedservices.adcenterapi.microsoft.com/Api/Billing/v8/CustomerBillingService.svc"
|
9
|
+
|
10
|
+
Methods = [
|
11
|
+
[ "GetInvoicesInfo",
|
12
|
+
"getInvoicesInfo",
|
13
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesInfoRequest"]],
|
14
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesInfoResponse"]] ],
|
15
|
+
{ :request_style => :document, :request_use => :literal,
|
16
|
+
:response_style => :document, :response_use => :literal,
|
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
|
+
],
|
19
|
+
[ "GetInvoices",
|
20
|
+
"getInvoices",
|
21
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesRequest"]],
|
22
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesResponse"]] ],
|
23
|
+
{ :request_style => :document, :request_use => :literal,
|
24
|
+
:response_style => :document, :response_use => :literal,
|
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
|
+
],
|
27
|
+
[ "GetDisplayInvoices",
|
28
|
+
"getDisplayInvoices",
|
29
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetDisplayInvoicesRequest"]],
|
30
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetDisplayInvoicesResponse"]] ],
|
31
|
+
{ :request_style => :document, :request_use => :literal,
|
32
|
+
:response_style => :document, :response_use => :literal,
|
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
|
+
],
|
35
|
+
[ "AddInsertionOrder",
|
36
|
+
"addInsertionOrder",
|
37
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "AddInsertionOrderRequest"]],
|
38
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "AddInsertionOrderResponse"]] ],
|
39
|
+
{ :request_style => :document, :request_use => :literal,
|
40
|
+
:response_style => :document, :response_use => :literal,
|
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
|
+
],
|
43
|
+
[ "UpdateInsertionOrder",
|
44
|
+
"updateInsertionOrder",
|
45
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "UpdateInsertionOrderRequest"]],
|
46
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "UpdateInsertionOrderResponse"]] ],
|
47
|
+
{ :request_style => :document, :request_use => :literal,
|
48
|
+
:response_style => :document, :response_use => :literal,
|
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
|
+
],
|
51
|
+
[ "GetInsertionOrdersByAccount",
|
52
|
+
"getInsertionOrdersByAccount",
|
53
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInsertionOrdersByAccountRequest"]],
|
54
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInsertionOrdersByAccountResponse"]] ],
|
55
|
+
{ :request_style => :document, :request_use => :literal,
|
56
|
+
:response_style => :document, :response_use => :literal,
|
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
|
+
],
|
59
|
+
[ "GetKOHIOInvoices",
|
60
|
+
"getKOHIOInvoices",
|
61
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetKOHIOInvoicesRequest"]],
|
62
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetKOHIOInvoicesResponse"]] ],
|
63
|
+
{ :request_style => :document, :request_use => :literal,
|
64
|
+
:response_style => :document, :response_use => :literal,
|
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"}} }
|
74
|
+
]
|
75
|
+
]
|
76
|
+
|
77
|
+
def initialize(endpoint_url = nil)
|
78
|
+
endpoint_url ||= DefaultEndpointUrl
|
79
|
+
super(endpoint_url, nil)
|
80
|
+
self.mapping_registry = CustomerBillingServiceMappingRegistry::EncodedRegistry
|
81
|
+
self.literal_mapping_registry = CustomerBillingServiceMappingRegistry::LiteralRegistry
|
82
|
+
init_methods
|
83
|
+
end
|
84
|
+
|
85
|
+
private
|
86
|
+
|
87
|
+
def init_methods
|
88
|
+
Methods.each do |definitions|
|
89
|
+
opt = definitions.last
|
90
|
+
if opt[:request_style] == :document
|
91
|
+
add_document_operation(*definitions)
|
92
|
+
else
|
93
|
+
add_rpc_operation(*definitions)
|
94
|
+
qname = definitions[0]
|
95
|
+
name = definitions[2]
|
96
|
+
if qname.name != name and qname.name.capitalize == name.capitalize
|
97
|
+
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
98
|
+
__send__(name, *arg)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
|
107
|
+
end
|
@@ -0,0 +1,698 @@
|
|
1
|
+
require 'adcenter_wrapper_entities'
|
2
|
+
require 'CustomerBillingService.rb'
|
3
|
+
require 'soap/mapping'
|
4
|
+
|
5
|
+
module AdCenterWrapper
|
6
|
+
|
7
|
+
module CustomerBillingServiceMappingRegistry
|
8
|
+
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
9
|
+
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
10
|
+
NsAdapiMicrosoftCom = "https://adapi.microsoft.com"
|
11
|
+
NsArrays = "http://schemas.microsoft.com/2003/10/Serialization/Arrays"
|
12
|
+
NsC_Exception = "https://adcenter.microsoft.com/api/customermanagement/Exception"
|
13
|
+
NsCustomerbilling = "https://adcenter.microsoft.com/api/customerbilling"
|
14
|
+
NsEntities = "https://adcenter.microsoft.com/api/customermanagement/Entities"
|
15
|
+
|
16
|
+
EncodedRegistry.register(
|
17
|
+
:class => AdCenterWrapper::ArrayOflong,
|
18
|
+
:schema_type => XSD::QName.new(NsArrays, "ArrayOflong"),
|
19
|
+
:schema_element => [
|
20
|
+
["long", "SOAP::SOAPLong[]", [0, nil]]
|
21
|
+
]
|
22
|
+
)
|
23
|
+
|
24
|
+
EncodedRegistry.register(
|
25
|
+
:class => AdCenterWrapper::ArrayOfstring,
|
26
|
+
:schema_type => XSD::QName.new(NsArrays, "ArrayOfstring"),
|
27
|
+
:schema_element => [
|
28
|
+
["string", "SOAP::SOAPString[]", [0, nil]]
|
29
|
+
]
|
30
|
+
)
|
31
|
+
|
32
|
+
EncodedRegistry.register(
|
33
|
+
:class => AdCenterWrapper::ArrayOfInvoiceInfo,
|
34
|
+
:schema_type => XSD::QName.new(NsEntities, "ArrayOfInvoiceInfo"),
|
35
|
+
:schema_element => [
|
36
|
+
["invoiceInfo", ["AdCenterWrapper::InvoiceInfo[]", XSD::QName.new(NsEntities, "InvoiceInfo")], [0, nil]]
|
37
|
+
]
|
38
|
+
)
|
39
|
+
|
40
|
+
EncodedRegistry.register(
|
41
|
+
:class => AdCenterWrapper::InvoiceInfo,
|
42
|
+
:schema_type => XSD::QName.new(NsEntities, "InvoiceInfo"),
|
43
|
+
:schema_element => [
|
44
|
+
["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
|
45
|
+
["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]],
|
46
|
+
["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
|
47
|
+
["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "Amount")], [0, 1]],
|
48
|
+
["currencyCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CurrencyCode")], [0, 1]],
|
49
|
+
["invoiceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "InvoiceDate")], [0, 1]],
|
50
|
+
["invoiceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InvoiceId")], [0, 1]]
|
51
|
+
]
|
52
|
+
)
|
53
|
+
|
54
|
+
EncodedRegistry.register(
|
55
|
+
:class => AdCenterWrapper::ArrayOfInvoice,
|
56
|
+
:schema_type => XSD::QName.new(NsEntities, "ArrayOfInvoice"),
|
57
|
+
:schema_element => [
|
58
|
+
["invoice", ["AdCenterWrapper::Invoice[]", XSD::QName.new(NsEntities, "Invoice")], [0, nil]]
|
59
|
+
]
|
60
|
+
)
|
61
|
+
|
62
|
+
EncodedRegistry.register(
|
63
|
+
:class => AdCenterWrapper::Invoice,
|
64
|
+
:schema_type => XSD::QName.new(NsEntities, "Invoice"),
|
65
|
+
:schema_element => [
|
66
|
+
["data", ["SOAP::SOAPBase64", XSD::QName.new(NsEntities, "Data")], [0, 1]],
|
67
|
+
["id", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "Id")], [0, 1]],
|
68
|
+
["type", ["AdCenterWrapper::DataType", XSD::QName.new(NsEntities, "Type")], [0, 1]]
|
69
|
+
]
|
70
|
+
)
|
71
|
+
|
72
|
+
EncodedRegistry.register(
|
73
|
+
:class => AdCenterWrapper::InsertionOrder,
|
74
|
+
:schema_type => XSD::QName.new(NsEntities, "InsertionOrder"),
|
75
|
+
:schema_element => [
|
76
|
+
["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
|
77
|
+
["balanceAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BalanceAmount")], [0, 1]],
|
78
|
+
["bookingCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "BookingCountryCode")], [0, 1]],
|
79
|
+
["comment", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "Comment")], [0, 1]],
|
80
|
+
["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "EndDate")], [0, 1]],
|
81
|
+
["insertionOrderId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InsertionOrderId")], [0, 1]],
|
82
|
+
["lastModifiedByUserId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "LastModifiedByUserId")], [0, 1]],
|
83
|
+
["lastModifiedTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "LastModifiedTime")], [0, 1]],
|
84
|
+
["notificationThreshold", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "NotificationThreshold")], [0, 1]],
|
85
|
+
["referenceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "ReferenceId")], [0, 1]],
|
86
|
+
["spendCapAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "SpendCapAmount")], [0, 1]],
|
87
|
+
["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "StartDate")], [0, 1]]
|
88
|
+
]
|
89
|
+
)
|
90
|
+
|
91
|
+
EncodedRegistry.register(
|
92
|
+
:class => AdCenterWrapper::ArrayOfInsertionOrder,
|
93
|
+
:schema_type => XSD::QName.new(NsEntities, "ArrayOfInsertionOrder"),
|
94
|
+
:schema_element => [
|
95
|
+
["insertionOrder", ["AdCenterWrapper::InsertionOrder[]", XSD::QName.new(NsEntities, "InsertionOrder")], [0, nil]]
|
96
|
+
]
|
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
|
+
|
110
|
+
EncodedRegistry.register(
|
111
|
+
:class => AdCenterWrapper::ApiFault,
|
112
|
+
:schema_type => XSD::QName.new(NsC_Exception, "ApiFault"),
|
113
|
+
:schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
|
114
|
+
:schema_element => [
|
115
|
+
["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
|
116
|
+
["operationErrors", ["AdCenterWrapper::ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]]
|
117
|
+
]
|
118
|
+
)
|
119
|
+
|
120
|
+
EncodedRegistry.register(
|
121
|
+
:class => AdCenterWrapper::ArrayOfOperationError,
|
122
|
+
:schema_type => XSD::QName.new(NsC_Exception, "ArrayOfOperationError"),
|
123
|
+
:schema_element => [
|
124
|
+
["operationError", ["AdCenterWrapper::OperationError[]", XSD::QName.new(NsC_Exception, "OperationError")], [0, nil]]
|
125
|
+
]
|
126
|
+
)
|
127
|
+
|
128
|
+
EncodedRegistry.register(
|
129
|
+
:class => AdCenterWrapper::OperationError,
|
130
|
+
:schema_type => XSD::QName.new(NsC_Exception, "OperationError"),
|
131
|
+
:schema_element => [
|
132
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
|
133
|
+
["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
|
134
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
|
135
|
+
]
|
136
|
+
)
|
137
|
+
|
138
|
+
EncodedRegistry.register(
|
139
|
+
:class => AdCenterWrapper::ArrayOfBatchError,
|
140
|
+
:schema_type => XSD::QName.new(NsC_Exception, "ArrayOfBatchError"),
|
141
|
+
:schema_element => [
|
142
|
+
["batchError", ["AdCenterWrapper::BatchError[]", XSD::QName.new(NsC_Exception, "BatchError")], [0, nil]]
|
143
|
+
]
|
144
|
+
)
|
145
|
+
|
146
|
+
EncodedRegistry.register(
|
147
|
+
:class => AdCenterWrapper::BatchError,
|
148
|
+
:schema_type => XSD::QName.new(NsC_Exception, "BatchError"),
|
149
|
+
:schema_element => [
|
150
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
|
151
|
+
["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
|
152
|
+
["index", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Index")], [0, 1]],
|
153
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
|
154
|
+
]
|
155
|
+
)
|
156
|
+
|
157
|
+
EncodedRegistry.register(
|
158
|
+
:class => AdCenterWrapper::ApplicationFault,
|
159
|
+
:schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
|
160
|
+
:schema_element => [
|
161
|
+
["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
|
162
|
+
]
|
163
|
+
)
|
164
|
+
|
165
|
+
EncodedRegistry.register(
|
166
|
+
:class => AdCenterWrapper::AdApiFaultDetail,
|
167
|
+
:schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
|
168
|
+
:schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
|
169
|
+
:schema_element => [
|
170
|
+
["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
|
171
|
+
["errors", ["AdCenterWrapper::ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
|
172
|
+
]
|
173
|
+
)
|
174
|
+
|
175
|
+
EncodedRegistry.register(
|
176
|
+
:class => AdCenterWrapper::ArrayOfAdApiError,
|
177
|
+
:schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
|
178
|
+
:schema_element => [
|
179
|
+
["adApiError", ["AdCenterWrapper::AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
|
180
|
+
]
|
181
|
+
)
|
182
|
+
|
183
|
+
EncodedRegistry.register(
|
184
|
+
:class => AdCenterWrapper::AdApiError,
|
185
|
+
:schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
|
186
|
+
:schema_element => [
|
187
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
|
188
|
+
["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
|
189
|
+
["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
|
190
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
|
191
|
+
]
|
192
|
+
)
|
193
|
+
|
194
|
+
EncodedRegistry.register(
|
195
|
+
:class => AdCenterWrapper::DataType,
|
196
|
+
:schema_type => XSD::QName.new(NsEntities, "DataType")
|
197
|
+
)
|
198
|
+
|
199
|
+
LiteralRegistry.register(
|
200
|
+
:class => AdCenterWrapper::ArrayOflong,
|
201
|
+
:schema_type => XSD::QName.new(NsArrays, "ArrayOflong"),
|
202
|
+
:schema_element => [
|
203
|
+
["long", "SOAP::SOAPLong[]", [0, nil]]
|
204
|
+
]
|
205
|
+
)
|
206
|
+
|
207
|
+
LiteralRegistry.register(
|
208
|
+
:class => AdCenterWrapper::ArrayOfstring,
|
209
|
+
:schema_type => XSD::QName.new(NsArrays, "ArrayOfstring"),
|
210
|
+
:schema_element => [
|
211
|
+
["string", "SOAP::SOAPString[]", [0, nil]]
|
212
|
+
]
|
213
|
+
)
|
214
|
+
|
215
|
+
LiteralRegistry.register(
|
216
|
+
:class => AdCenterWrapper::ArrayOfInvoiceInfo,
|
217
|
+
:schema_type => XSD::QName.new(NsEntities, "ArrayOfInvoiceInfo"),
|
218
|
+
:schema_element => [
|
219
|
+
["invoiceInfo", ["AdCenterWrapper::InvoiceInfo[]", XSD::QName.new(NsEntities, "InvoiceInfo")], [0, nil]]
|
220
|
+
]
|
221
|
+
)
|
222
|
+
|
223
|
+
LiteralRegistry.register(
|
224
|
+
:class => AdCenterWrapper::InvoiceInfo,
|
225
|
+
:schema_type => XSD::QName.new(NsEntities, "InvoiceInfo"),
|
226
|
+
:schema_element => [
|
227
|
+
["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
|
228
|
+
["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]],
|
229
|
+
["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
|
230
|
+
["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "Amount")], [0, 1]],
|
231
|
+
["currencyCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CurrencyCode")], [0, 1]],
|
232
|
+
["invoiceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "InvoiceDate")], [0, 1]],
|
233
|
+
["invoiceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InvoiceId")], [0, 1]]
|
234
|
+
]
|
235
|
+
)
|
236
|
+
|
237
|
+
LiteralRegistry.register(
|
238
|
+
:class => AdCenterWrapper::ArrayOfInvoice,
|
239
|
+
:schema_type => XSD::QName.new(NsEntities, "ArrayOfInvoice"),
|
240
|
+
:schema_element => [
|
241
|
+
["invoice", ["AdCenterWrapper::Invoice[]", XSD::QName.new(NsEntities, "Invoice")], [0, nil]]
|
242
|
+
]
|
243
|
+
)
|
244
|
+
|
245
|
+
LiteralRegistry.register(
|
246
|
+
:class => AdCenterWrapper::Invoice,
|
247
|
+
:schema_type => XSD::QName.new(NsEntities, "Invoice"),
|
248
|
+
:schema_element => [
|
249
|
+
["data", ["SOAP::SOAPBase64", XSD::QName.new(NsEntities, "Data")], [0, 1]],
|
250
|
+
["id", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "Id")], [0, 1]],
|
251
|
+
["type", ["AdCenterWrapper::DataType", XSD::QName.new(NsEntities, "Type")], [0, 1]]
|
252
|
+
]
|
253
|
+
)
|
254
|
+
|
255
|
+
LiteralRegistry.register(
|
256
|
+
:class => AdCenterWrapper::InsertionOrder,
|
257
|
+
:schema_type => XSD::QName.new(NsEntities, "InsertionOrder"),
|
258
|
+
:schema_element => [
|
259
|
+
["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
|
260
|
+
["balanceAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BalanceAmount")], [0, 1]],
|
261
|
+
["bookingCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "BookingCountryCode")], [0, 1]],
|
262
|
+
["comment", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "Comment")], [0, 1]],
|
263
|
+
["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "EndDate")], [0, 1]],
|
264
|
+
["insertionOrderId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InsertionOrderId")], [0, 1]],
|
265
|
+
["lastModifiedByUserId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "LastModifiedByUserId")], [0, 1]],
|
266
|
+
["lastModifiedTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "LastModifiedTime")], [0, 1]],
|
267
|
+
["notificationThreshold", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "NotificationThreshold")], [0, 1]],
|
268
|
+
["referenceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "ReferenceId")], [0, 1]],
|
269
|
+
["spendCapAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "SpendCapAmount")], [0, 1]],
|
270
|
+
["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "StartDate")], [0, 1]]
|
271
|
+
]
|
272
|
+
)
|
273
|
+
|
274
|
+
LiteralRegistry.register(
|
275
|
+
:class => AdCenterWrapper::ArrayOfInsertionOrder,
|
276
|
+
:schema_type => XSD::QName.new(NsEntities, "ArrayOfInsertionOrder"),
|
277
|
+
:schema_element => [
|
278
|
+
["insertionOrder", ["AdCenterWrapper::InsertionOrder[]", XSD::QName.new(NsEntities, "InsertionOrder")], [0, nil]]
|
279
|
+
]
|
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
|
+
|
293
|
+
LiteralRegistry.register(
|
294
|
+
:class => AdCenterWrapper::ApiFault,
|
295
|
+
:schema_type => XSD::QName.new(NsC_Exception, "ApiFault"),
|
296
|
+
:schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
|
297
|
+
:schema_element => [
|
298
|
+
["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
|
299
|
+
["operationErrors", ["AdCenterWrapper::ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]]
|
300
|
+
]
|
301
|
+
)
|
302
|
+
|
303
|
+
LiteralRegistry.register(
|
304
|
+
:class => AdCenterWrapper::ArrayOfOperationError,
|
305
|
+
:schema_type => XSD::QName.new(NsC_Exception, "ArrayOfOperationError"),
|
306
|
+
:schema_element => [
|
307
|
+
["operationError", ["AdCenterWrapper::OperationError[]", XSD::QName.new(NsC_Exception, "OperationError")], [0, nil]]
|
308
|
+
]
|
309
|
+
)
|
310
|
+
|
311
|
+
LiteralRegistry.register(
|
312
|
+
:class => AdCenterWrapper::OperationError,
|
313
|
+
:schema_type => XSD::QName.new(NsC_Exception, "OperationError"),
|
314
|
+
:schema_element => [
|
315
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
|
316
|
+
["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
|
317
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
|
318
|
+
]
|
319
|
+
)
|
320
|
+
|
321
|
+
LiteralRegistry.register(
|
322
|
+
:class => AdCenterWrapper::ArrayOfBatchError,
|
323
|
+
:schema_type => XSD::QName.new(NsC_Exception, "ArrayOfBatchError"),
|
324
|
+
:schema_element => [
|
325
|
+
["batchError", ["AdCenterWrapper::BatchError[]", XSD::QName.new(NsC_Exception, "BatchError")], [0, nil]]
|
326
|
+
]
|
327
|
+
)
|
328
|
+
|
329
|
+
LiteralRegistry.register(
|
330
|
+
:class => AdCenterWrapper::BatchError,
|
331
|
+
:schema_type => XSD::QName.new(NsC_Exception, "BatchError"),
|
332
|
+
:schema_element => [
|
333
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
|
334
|
+
["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
|
335
|
+
["index", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Index")], [0, 1]],
|
336
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
|
337
|
+
]
|
338
|
+
)
|
339
|
+
|
340
|
+
LiteralRegistry.register(
|
341
|
+
:class => AdCenterWrapper::ApplicationFault,
|
342
|
+
:schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
|
343
|
+
:schema_element => [
|
344
|
+
["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
|
345
|
+
]
|
346
|
+
)
|
347
|
+
|
348
|
+
LiteralRegistry.register(
|
349
|
+
:class => AdCenterWrapper::AdApiFaultDetail,
|
350
|
+
:schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
|
351
|
+
:schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
|
352
|
+
:schema_element => [
|
353
|
+
["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
|
354
|
+
["errors", ["AdCenterWrapper::ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
|
355
|
+
]
|
356
|
+
)
|
357
|
+
|
358
|
+
LiteralRegistry.register(
|
359
|
+
:class => AdCenterWrapper::ArrayOfAdApiError,
|
360
|
+
:schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
|
361
|
+
:schema_element => [
|
362
|
+
["adApiError", ["AdCenterWrapper::AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
|
363
|
+
]
|
364
|
+
)
|
365
|
+
|
366
|
+
LiteralRegistry.register(
|
367
|
+
:class => AdCenterWrapper::AdApiError,
|
368
|
+
:schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
|
369
|
+
:schema_element => [
|
370
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
|
371
|
+
["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
|
372
|
+
["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
|
373
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
|
374
|
+
]
|
375
|
+
)
|
376
|
+
|
377
|
+
LiteralRegistry.register(
|
378
|
+
:class => AdCenterWrapper::DataType,
|
379
|
+
:schema_type => XSD::QName.new(NsEntities, "DataType")
|
380
|
+
)
|
381
|
+
|
382
|
+
LiteralRegistry.register(
|
383
|
+
:class => AdCenterWrapper::GetInvoicesInfoRequest,
|
384
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetInvoicesInfoRequest"),
|
385
|
+
:schema_element => [
|
386
|
+
["accountIds", ["AdCenterWrapper::ArrayOflong", XSD::QName.new(NsCustomerbilling, "AccountIds")], [0, 1]],
|
387
|
+
["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsCustomerbilling, "StartDate")], [0, 1]],
|
388
|
+
["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsCustomerbilling, "EndDate")], [0, 1]]
|
389
|
+
]
|
390
|
+
)
|
391
|
+
|
392
|
+
LiteralRegistry.register(
|
393
|
+
:class => AdCenterWrapper::GetInvoicesInfoResponse,
|
394
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetInvoicesInfoResponse"),
|
395
|
+
:schema_element => [
|
396
|
+
["invoicesInfo", ["AdCenterWrapper::ArrayOfInvoiceInfo", XSD::QName.new(NsCustomerbilling, "InvoicesInfo")], [0, 1]]
|
397
|
+
]
|
398
|
+
)
|
399
|
+
|
400
|
+
LiteralRegistry.register(
|
401
|
+
:class => AdCenterWrapper::GetInvoicesRequest,
|
402
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetInvoicesRequest"),
|
403
|
+
:schema_element => [
|
404
|
+
["invoiceIds", ["AdCenterWrapper::ArrayOflong", XSD::QName.new(NsCustomerbilling, "InvoiceIds")], [0, 1]],
|
405
|
+
["type", ["AdCenterWrapper::DataType", XSD::QName.new(NsCustomerbilling, "Type")], [0, 1]]
|
406
|
+
]
|
407
|
+
)
|
408
|
+
|
409
|
+
LiteralRegistry.register(
|
410
|
+
:class => AdCenterWrapper::GetInvoicesResponse,
|
411
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetInvoicesResponse"),
|
412
|
+
:schema_element => [
|
413
|
+
["invoices", ["AdCenterWrapper::ArrayOfInvoice", XSD::QName.new(NsCustomerbilling, "Invoices")], [0, 1]]
|
414
|
+
]
|
415
|
+
)
|
416
|
+
|
417
|
+
LiteralRegistry.register(
|
418
|
+
:class => AdCenterWrapper::GetDisplayInvoicesRequest,
|
419
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetDisplayInvoicesRequest"),
|
420
|
+
:schema_element => [
|
421
|
+
["invoiceIds", ["AdCenterWrapper::ArrayOflong", XSD::QName.new(NsCustomerbilling, "InvoiceIds")], [0, 1]],
|
422
|
+
["type", ["AdCenterWrapper::DataType", XSD::QName.new(NsCustomerbilling, "Type")], [0, 1]]
|
423
|
+
]
|
424
|
+
)
|
425
|
+
|
426
|
+
LiteralRegistry.register(
|
427
|
+
:class => AdCenterWrapper::GetDisplayInvoicesResponse,
|
428
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetDisplayInvoicesResponse"),
|
429
|
+
:schema_element => [
|
430
|
+
["invoices", ["AdCenterWrapper::ArrayOfInvoice", XSD::QName.new(NsCustomerbilling, "Invoices")], [0, 1]]
|
431
|
+
]
|
432
|
+
)
|
433
|
+
|
434
|
+
LiteralRegistry.register(
|
435
|
+
:class => AdCenterWrapper::AddInsertionOrderRequest,
|
436
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "AddInsertionOrderRequest"),
|
437
|
+
:schema_element => [
|
438
|
+
["insertionOrder", ["AdCenterWrapper::InsertionOrder", XSD::QName.new(NsCustomerbilling, "InsertionOrder")], [0, 1]]
|
439
|
+
]
|
440
|
+
)
|
441
|
+
|
442
|
+
LiteralRegistry.register(
|
443
|
+
:class => AdCenterWrapper::AddInsertionOrderResponse,
|
444
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "AddInsertionOrderResponse"),
|
445
|
+
:schema_element => [
|
446
|
+
["insertionOrderId", ["SOAP::SOAPLong", XSD::QName.new(NsCustomerbilling, "InsertionOrderId")], [0, 1]],
|
447
|
+
["createTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsCustomerbilling, "CreateTime")], [0, 1]]
|
448
|
+
]
|
449
|
+
)
|
450
|
+
|
451
|
+
LiteralRegistry.register(
|
452
|
+
:class => AdCenterWrapper::UpdateInsertionOrderRequest,
|
453
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "UpdateInsertionOrderRequest"),
|
454
|
+
:schema_element => [
|
455
|
+
["insertionOrder", ["AdCenterWrapper::InsertionOrder", XSD::QName.new(NsCustomerbilling, "InsertionOrder")], [0, 1]]
|
456
|
+
]
|
457
|
+
)
|
458
|
+
|
459
|
+
LiteralRegistry.register(
|
460
|
+
:class => AdCenterWrapper::UpdateInsertionOrderResponse,
|
461
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "UpdateInsertionOrderResponse"),
|
462
|
+
:schema_element => [
|
463
|
+
["lastModifiedTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsCustomerbilling, "LastModifiedTime")], [0, 1]]
|
464
|
+
]
|
465
|
+
)
|
466
|
+
|
467
|
+
LiteralRegistry.register(
|
468
|
+
:class => AdCenterWrapper::GetInsertionOrdersByAccountRequest,
|
469
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetInsertionOrdersByAccountRequest"),
|
470
|
+
:schema_element => [
|
471
|
+
["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsCustomerbilling, "AccountId")], [0, 1]],
|
472
|
+
["insertionOrderIds", ["AdCenterWrapper::ArrayOflong", XSD::QName.new(NsCustomerbilling, "InsertionOrderIds")], [0, 1]]
|
473
|
+
]
|
474
|
+
)
|
475
|
+
|
476
|
+
LiteralRegistry.register(
|
477
|
+
:class => AdCenterWrapper::GetInsertionOrdersByAccountResponse,
|
478
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetInsertionOrdersByAccountResponse"),
|
479
|
+
:schema_element => [
|
480
|
+
["insertionOrders", ["AdCenterWrapper::ArrayOfInsertionOrder", XSD::QName.new(NsCustomerbilling, "InsertionOrders")], [0, 1]]
|
481
|
+
]
|
482
|
+
)
|
483
|
+
|
484
|
+
LiteralRegistry.register(
|
485
|
+
:class => AdCenterWrapper::GetKOHIOInvoicesRequest,
|
486
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetKOHIOInvoicesRequest"),
|
487
|
+
:schema_element => [
|
488
|
+
["invoiceIds", ["AdCenterWrapper::ArrayOfstring", XSD::QName.new(NsCustomerbilling, "InvoiceIds")], [0, 1]]
|
489
|
+
]
|
490
|
+
)
|
491
|
+
|
492
|
+
LiteralRegistry.register(
|
493
|
+
:class => AdCenterWrapper::GetKOHIOInvoicesResponse,
|
494
|
+
:schema_name => XSD::QName.new(NsCustomerbilling, "GetKOHIOInvoicesResponse"),
|
495
|
+
:schema_element => [
|
496
|
+
["invoices", ["AdCenterWrapper::ArrayOfInvoice", XSD::QName.new(NsCustomerbilling, "Invoices")], [0, 1]]
|
497
|
+
]
|
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
|
+
|
517
|
+
LiteralRegistry.register(
|
518
|
+
:class => AdCenterWrapper::ArrayOflong,
|
519
|
+
:schema_name => XSD::QName.new(NsArrays, "ArrayOflong"),
|
520
|
+
:schema_element => [
|
521
|
+
["long", "SOAP::SOAPLong[]", [0, nil]]
|
522
|
+
]
|
523
|
+
)
|
524
|
+
|
525
|
+
LiteralRegistry.register(
|
526
|
+
:class => AdCenterWrapper::ArrayOfstring,
|
527
|
+
:schema_name => XSD::QName.new(NsArrays, "ArrayOfstring"),
|
528
|
+
:schema_element => [
|
529
|
+
["string", "SOAP::SOAPString[]", [0, nil]]
|
530
|
+
]
|
531
|
+
)
|
532
|
+
|
533
|
+
LiteralRegistry.register(
|
534
|
+
:class => AdCenterWrapper::ArrayOfInvoiceInfo,
|
535
|
+
:schema_name => XSD::QName.new(NsEntities, "ArrayOfInvoiceInfo"),
|
536
|
+
:schema_element => [
|
537
|
+
["invoiceInfo", ["AdCenterWrapper::InvoiceInfo[]", XSD::QName.new(NsEntities, "InvoiceInfo")], [0, nil]]
|
538
|
+
]
|
539
|
+
)
|
540
|
+
|
541
|
+
LiteralRegistry.register(
|
542
|
+
:class => AdCenterWrapper::InvoiceInfo,
|
543
|
+
:schema_name => XSD::QName.new(NsEntities, "InvoiceInfo"),
|
544
|
+
:schema_element => [
|
545
|
+
["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
|
546
|
+
["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]],
|
547
|
+
["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
|
548
|
+
["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "Amount")], [0, 1]],
|
549
|
+
["currencyCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CurrencyCode")], [0, 1]],
|
550
|
+
["invoiceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "InvoiceDate")], [0, 1]],
|
551
|
+
["invoiceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InvoiceId")], [0, 1]]
|
552
|
+
]
|
553
|
+
)
|
554
|
+
|
555
|
+
LiteralRegistry.register(
|
556
|
+
:class => AdCenterWrapper::DataType,
|
557
|
+
:schema_name => XSD::QName.new(NsEntities, "DataType")
|
558
|
+
)
|
559
|
+
|
560
|
+
LiteralRegistry.register(
|
561
|
+
:class => AdCenterWrapper::ArrayOfInvoice,
|
562
|
+
:schema_name => XSD::QName.new(NsEntities, "ArrayOfInvoice"),
|
563
|
+
:schema_element => [
|
564
|
+
["invoice", ["AdCenterWrapper::Invoice[]", XSD::QName.new(NsEntities, "Invoice")], [0, nil]]
|
565
|
+
]
|
566
|
+
)
|
567
|
+
|
568
|
+
LiteralRegistry.register(
|
569
|
+
:class => AdCenterWrapper::Invoice,
|
570
|
+
:schema_name => XSD::QName.new(NsEntities, "Invoice"),
|
571
|
+
:schema_element => [
|
572
|
+
["data", ["SOAP::SOAPBase64", XSD::QName.new(NsEntities, "Data")], [0, 1]],
|
573
|
+
["id", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "Id")], [0, 1]],
|
574
|
+
["type", ["AdCenterWrapper::DataType", XSD::QName.new(NsEntities, "Type")], [0, 1]]
|
575
|
+
]
|
576
|
+
)
|
577
|
+
|
578
|
+
LiteralRegistry.register(
|
579
|
+
:class => AdCenterWrapper::InsertionOrder,
|
580
|
+
:schema_name => XSD::QName.new(NsEntities, "InsertionOrder"),
|
581
|
+
:schema_element => [
|
582
|
+
["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
|
583
|
+
["balanceAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BalanceAmount")], [0, 1]],
|
584
|
+
["bookingCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "BookingCountryCode")], [0, 1]],
|
585
|
+
["comment", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "Comment")], [0, 1]],
|
586
|
+
["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "EndDate")], [0, 1]],
|
587
|
+
["insertionOrderId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InsertionOrderId")], [0, 1]],
|
588
|
+
["lastModifiedByUserId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "LastModifiedByUserId")], [0, 1]],
|
589
|
+
["lastModifiedTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "LastModifiedTime")], [0, 1]],
|
590
|
+
["notificationThreshold", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "NotificationThreshold")], [0, 1]],
|
591
|
+
["referenceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "ReferenceId")], [0, 1]],
|
592
|
+
["spendCapAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "SpendCapAmount")], [0, 1]],
|
593
|
+
["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "StartDate")], [0, 1]]
|
594
|
+
]
|
595
|
+
)
|
596
|
+
|
597
|
+
LiteralRegistry.register(
|
598
|
+
:class => AdCenterWrapper::ArrayOfInsertionOrder,
|
599
|
+
:schema_name => XSD::QName.new(NsEntities, "ArrayOfInsertionOrder"),
|
600
|
+
:schema_element => [
|
601
|
+
["insertionOrder", ["AdCenterWrapper::InsertionOrder[]", XSD::QName.new(NsEntities, "InsertionOrder")], [0, nil]]
|
602
|
+
]
|
603
|
+
)
|
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
|
+
|
615
|
+
LiteralRegistry.register(
|
616
|
+
:class => AdCenterWrapper::ApiFault,
|
617
|
+
:schema_name => XSD::QName.new(NsC_Exception, "ApiFault"),
|
618
|
+
:schema_element => [
|
619
|
+
["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
|
620
|
+
["operationErrors", ["AdCenterWrapper::ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]]
|
621
|
+
]
|
622
|
+
)
|
623
|
+
|
624
|
+
LiteralRegistry.register(
|
625
|
+
:class => AdCenterWrapper::ArrayOfOperationError,
|
626
|
+
:schema_name => XSD::QName.new(NsC_Exception, "ArrayOfOperationError"),
|
627
|
+
:schema_element => [
|
628
|
+
["operationError", ["AdCenterWrapper::OperationError[]", XSD::QName.new(NsC_Exception, "OperationError")], [0, nil]]
|
629
|
+
]
|
630
|
+
)
|
631
|
+
|
632
|
+
LiteralRegistry.register(
|
633
|
+
:class => AdCenterWrapper::OperationError,
|
634
|
+
:schema_name => XSD::QName.new(NsC_Exception, "OperationError"),
|
635
|
+
:schema_element => [
|
636
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
|
637
|
+
["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
|
638
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
|
639
|
+
]
|
640
|
+
)
|
641
|
+
|
642
|
+
LiteralRegistry.register(
|
643
|
+
:class => AdCenterWrapper::ArrayOfBatchError,
|
644
|
+
:schema_name => XSD::QName.new(NsC_Exception, "ArrayOfBatchError"),
|
645
|
+
:schema_element => [
|
646
|
+
["batchError", ["AdCenterWrapper::BatchError[]", XSD::QName.new(NsC_Exception, "BatchError")], [0, nil]]
|
647
|
+
]
|
648
|
+
)
|
649
|
+
|
650
|
+
LiteralRegistry.register(
|
651
|
+
:class => AdCenterWrapper::BatchError,
|
652
|
+
:schema_name => XSD::QName.new(NsC_Exception, "BatchError"),
|
653
|
+
:schema_element => [
|
654
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
|
655
|
+
["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
|
656
|
+
["index", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Index")], [0, 1]],
|
657
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
|
658
|
+
]
|
659
|
+
)
|
660
|
+
|
661
|
+
LiteralRegistry.register(
|
662
|
+
:class => AdCenterWrapper::ApplicationFault,
|
663
|
+
:schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
|
664
|
+
:schema_element => [
|
665
|
+
["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
|
666
|
+
]
|
667
|
+
)
|
668
|
+
|
669
|
+
LiteralRegistry.register(
|
670
|
+
:class => AdCenterWrapper::AdApiFaultDetail,
|
671
|
+
:schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
|
672
|
+
:schema_element => [
|
673
|
+
["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
|
674
|
+
["errors", ["AdCenterWrapper::ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
|
675
|
+
]
|
676
|
+
)
|
677
|
+
|
678
|
+
LiteralRegistry.register(
|
679
|
+
:class => AdCenterWrapper::ArrayOfAdApiError,
|
680
|
+
:schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
|
681
|
+
:schema_element => [
|
682
|
+
["adApiError", ["AdCenterWrapper::AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
|
683
|
+
]
|
684
|
+
)
|
685
|
+
|
686
|
+
LiteralRegistry.register(
|
687
|
+
:class => AdCenterWrapper::AdApiError,
|
688
|
+
:schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
|
689
|
+
:schema_element => [
|
690
|
+
["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
|
691
|
+
["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
|
692
|
+
["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
|
693
|
+
["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
|
694
|
+
]
|
695
|
+
)
|
696
|
+
end
|
697
|
+
|
698
|
+
end
|