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.
Files changed (63) hide show
  1. data/.gemtest +0 -0
  2. data/History.txt +6 -0
  3. data/Manifest.txt +41 -19
  4. data/README.txt +1 -1
  5. data/Rakefile.rb +2 -2
  6. data/VERSION +1 -1
  7. data/devel/gen_wsdl_drivers.rb +1 -1
  8. data/devel/wsdl.yml +16 -13
  9. data/lib/AdIntelligenceService.rb +787 -0
  10. data/lib/AdIntelligenceServiceClient.rb +160 -0
  11. data/lib/AdIntelligenceServiceDriver.rb +115 -0
  12. data/lib/AdIntelligenceServiceMappingRegistry.rb +1378 -0
  13. data/lib/AdministrationService.rb +85 -0
  14. data/lib/AdministrationServiceClient.rb +46 -0
  15. data/lib/AdministrationServiceDriver.rb +8 -8
  16. data/lib/AdministrationServiceMappingRegistry.rb +8 -7
  17. data/lib/CampaignManagementService.rb +3413 -0
  18. data/lib/CampaignManagementServiceClient.rb +1330 -0
  19. data/lib/CampaignManagementServiceDriver.rb +335 -359
  20. data/lib/CampaignManagementServiceMappingRegistry.rb +2288 -2259
  21. data/lib/CustomerBillingService.rb +419 -0
  22. data/lib/CustomerBillingServiceClient.rb +148 -0
  23. data/lib/CustomerBillingServiceDriver.rb +17 -9
  24. data/lib/CustomerBillingServiceMappingRegistry.rb +50 -32
  25. data/lib/CustomerManagementService.rb +1502 -0
  26. data/lib/CustomerManagementServiceClient.rb +368 -0
  27. data/lib/CustomerManagementServiceDriver.rb +59 -19
  28. data/lib/CustomerManagementServiceMappingRegistry.rb +373 -145
  29. data/lib/NotificationService.rb +427 -0
  30. data/lib/NotificationServiceClient.rb +48 -0
  31. data/lib/NotificationServiceDriver.rb +59 -0
  32. data/lib/NotificationServiceMappingRegistry.rb +756 -0
  33. data/lib/OptimizerService.rb +265 -0
  34. data/lib/OptimizerServiceClient.rb +48 -0
  35. data/lib/OptimizerServiceDriver.rb +59 -0
  36. data/lib/OptimizerServiceMappingRegistry.rb +469 -0
  37. data/lib/ReportingService.rb +2376 -0
  38. data/lib/ReportingServiceClient.rb +48 -0
  39. data/lib/ReportingServiceDriver.rb +8 -8
  40. data/lib/ReportingServiceMappingRegistry.rb +1718 -1476
  41. data/lib/ad_intelligence_service.rb +9 -0
  42. data/lib/adcenter_client.rb +30 -23
  43. data/lib/adcenter_service.rb +15 -1
  44. data/lib/adcenter_wrapper_entities.rb +8179 -8164
  45. data/lib/administration_service.rb +1 -0
  46. data/lib/campaign_management_service.rb +2 -0
  47. data/lib/custom_assertions.rb +1 -0
  48. data/lib/customer_billing_service.rb +2 -0
  49. data/lib/customer_management_service.rb +4 -0
  50. data/lib/notification_management.rb +2 -0
  51. data/lib/notification_service.rb +7 -0
  52. data/lib/optimizer_service.rb +7 -0
  53. data/lib/reporting_service.rb +2 -0
  54. data/lib/secure_data_management_service.rb +2 -0
  55. data/tasks/doctask.rake +1 -1
  56. data/test/adcenter_client_test.rb +2 -1
  57. data/test/administration_service_test.rb +2 -2
  58. data/test/customer_management_service_test.rb +2 -2
  59. data/test/report_service_test.rb +16 -6
  60. metadata +54 -35
  61. data/lib/SecureDataManagementServiceDriver.rb +0 -51
  62. data/lib/SecureDataManagementServiceMappingRegistry.rb +0 -380
  63. data/lib/defaultDriver.rb +0 -67
@@ -0,0 +1,59 @@
1
+ require 'NotificationService.rb'
2
+ require 'NotificationServiceMappingRegistry.rb'
3
+ require 'soap/rpc/driver'
4
+
5
+ module AdCenterWrapper
6
+
7
+ class INotificationService < ::SOAP::RPC::Driver
8
+ DefaultEndpointUrl = "https://sharedservices.adcenterapi.microsoft.com/Api/Notification/v8/NotificationService.svc"
9
+
10
+ Methods = [
11
+ [ "GetNotifications",
12
+ "getNotifications",
13
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/notifications", "GetNotificationsRequest"]],
14
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/notifications/Entities", "GetNotificationsResponse"]] ],
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/notifications", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/notifications", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
18
+ ],
19
+ [ "GetArchivedNotifications",
20
+ "getArchivedNotifications",
21
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/notifications", "GetArchivedNotificationsRequest"]],
22
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/notifications/Entities", "GetArchivedNotificationsResponse"]] ],
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/notifications", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/notifications", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
26
+ ]
27
+ ]
28
+
29
+ def initialize(endpoint_url = nil)
30
+ endpoint_url ||= DefaultEndpointUrl
31
+ super(endpoint_url, nil)
32
+ self.mapping_registry = NotificationServiceMappingRegistry::EncodedRegistry
33
+ self.literal_mapping_registry = NotificationServiceMappingRegistry::LiteralRegistry
34
+ init_methods
35
+ end
36
+
37
+ private
38
+
39
+ def init_methods
40
+ Methods.each do |definitions|
41
+ opt = definitions.last
42
+ if opt[:request_style] == :document
43
+ add_document_operation(*definitions)
44
+ else
45
+ add_rpc_operation(*definitions)
46
+ qname = definitions[0]
47
+ name = definitions[2]
48
+ if qname.name != name and qname.name.capitalize == name.capitalize
49
+ ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
50
+ __send__(name, *arg)
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
57
+
58
+
59
+ end
@@ -0,0 +1,756 @@
1
+ require 'adcenter_wrapper_entities'
2
+ require 'NotificationService.rb'
3
+ require 'soap/mapping'
4
+
5
+ module AdCenterWrapper
6
+
7
+ module NotificationServiceMappingRegistry
8
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
9
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
10
+ NsAdapiMicrosoftCom = "https://adapi.microsoft.com"
11
+ NsC_Exception = "https://adcenter.microsoft.com/api/customermanagement/Exception"
12
+ NsEntities = "https://adcenter.microsoft.com/api/notifications/Entities"
13
+ NsNotifications = "https://adcenter.microsoft.com/api/notifications"
14
+
15
+ EncodedRegistry.register(
16
+ :class => AdCenterWrapper::ArrayOfNotification,
17
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfNotification"),
18
+ :schema_element => [
19
+ ["notification", ["AdCenterWrapper::Notification[]", XSD::QName.new(NsEntities, "Notification")], [0, nil]]
20
+ ]
21
+ )
22
+
23
+ EncodedRegistry.register(
24
+ :class => AdCenterWrapper::Notification,
25
+ :schema_type => XSD::QName.new(NsEntities, "Notification"),
26
+ :schema_element => [
27
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
28
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
29
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]]
30
+ ]
31
+ )
32
+
33
+ EncodedRegistry.register(
34
+ :class => AdCenterWrapper::CreditCardPendingExpirationNotification,
35
+ :schema_type => XSD::QName.new(NsEntities, "CreditCardPendingExpirationNotification"),
36
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
37
+ :schema_element => [
38
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
39
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
40
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
41
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
42
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
43
+ ["cardType", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CardType")], [0, 1]],
44
+ ["lastFourDigits", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "LastFourDigits")], [0, 1]],
45
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
46
+ ]
47
+ )
48
+
49
+ EncodedRegistry.register(
50
+ :class => AdCenterWrapper::AccountNotification,
51
+ :schema_type => XSD::QName.new(NsEntities, "AccountNotification"),
52
+ :schema_basetype => XSD::QName.new(NsEntities, "Notification"),
53
+ :schema_element => [
54
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
55
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
56
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
57
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
58
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]]
59
+ ]
60
+ )
61
+
62
+ EncodedRegistry.register(
63
+ :class => AdCenterWrapper::ExpiredCreditCardNotification,
64
+ :schema_type => XSD::QName.new(NsEntities, "ExpiredCreditCardNotification"),
65
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
66
+ :schema_element => [
67
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
68
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
69
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
70
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
71
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
72
+ ["cardType", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CardType")], [0, 1]],
73
+ ["lastFourDigits", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "LastFourDigits")], [0, 1]],
74
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
75
+ ]
76
+ )
77
+
78
+ EncodedRegistry.register(
79
+ :class => AdCenterWrapper::ExpiredInsertionOrderNotification,
80
+ :schema_type => XSD::QName.new(NsEntities, "ExpiredInsertionOrderNotification"),
81
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
82
+ :schema_element => [
83
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
84
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
85
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
86
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
87
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
88
+ ["billToCustomerName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "BillToCustomerName")], [0, 1]]
89
+ ]
90
+ )
91
+
92
+ EncodedRegistry.register(
93
+ :class => AdCenterWrapper::BudgetDepletedNotification,
94
+ :schema_type => XSD::QName.new(NsEntities, "BudgetDepletedNotification"),
95
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
96
+ :schema_element => [
97
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
98
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
99
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
100
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
101
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
102
+ ["affectedCampaigns", ["AdCenterWrapper::ArrayOfBudgetDepletedCampaignInfo", XSD::QName.new(NsEntities, "AffectedCampaigns")], [0, 1]],
103
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
104
+ ]
105
+ )
106
+
107
+ EncodedRegistry.register(
108
+ :class => AdCenterWrapper::ArrayOfBudgetDepletedCampaignInfo,
109
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfBudgetDepletedCampaignInfo"),
110
+ :schema_element => [
111
+ ["budgetDepletedCampaignInfo", ["AdCenterWrapper::BudgetDepletedCampaignInfo[]", XSD::QName.new(NsEntities, "BudgetDepletedCampaignInfo")], [0, nil]]
112
+ ]
113
+ )
114
+
115
+ EncodedRegistry.register(
116
+ :class => AdCenterWrapper::BudgetDepletedCampaignInfo,
117
+ :schema_type => XSD::QName.new(NsEntities, "BudgetDepletedCampaignInfo"),
118
+ :schema_basetype => XSD::QName.new(NsEntities, "CampaignInfo"),
119
+ :schema_element => [
120
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CampaignId")], [0, 1]],
121
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CampaignName")], [0, 1]],
122
+ ["budgetAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BudgetAmount")], [0, 1]],
123
+ ["currencyCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CurrencyCode")], [0, 1]],
124
+ ["budgetDepletedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "BudgetDepletedDate")], [0, 1]]
125
+ ]
126
+ )
127
+
128
+ EncodedRegistry.register(
129
+ :class => AdCenterWrapper::CampaignInfo,
130
+ :schema_type => XSD::QName.new(NsEntities, "CampaignInfo"),
131
+ :schema_element => [
132
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CampaignId")], [0, 1]],
133
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CampaignName")], [0, 1]],
134
+ ["budgetAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BudgetAmount")], [0, 1]]
135
+ ]
136
+ )
137
+
138
+ EncodedRegistry.register(
139
+ :class => AdCenterWrapper::EditorialRejectionNotification,
140
+ :schema_type => XSD::QName.new(NsEntities, "EditorialRejectionNotification"),
141
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
142
+ :schema_element => [
143
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
144
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
145
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
146
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
147
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]]
148
+ ]
149
+ )
150
+
151
+ EncodedRegistry.register(
152
+ :class => AdCenterWrapper::LowBudgetBalanceNotification,
153
+ :schema_type => XSD::QName.new(NsEntities, "LowBudgetBalanceNotification"),
154
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
155
+ :schema_element => [
156
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
157
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
158
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
159
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
160
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
161
+ ["customerId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CustomerId")], [0, 1]],
162
+ ["affectedCampaigns", ["AdCenterWrapper::ArrayOfLowBudgetBalanceCampaignInfo", XSD::QName.new(NsEntities, "AffectedCampaigns")], [0, 1]],
163
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
164
+ ]
165
+ )
166
+
167
+ EncodedRegistry.register(
168
+ :class => AdCenterWrapper::ArrayOfLowBudgetBalanceCampaignInfo,
169
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfLowBudgetBalanceCampaignInfo"),
170
+ :schema_element => [
171
+ ["lowBudgetBalanceCampaignInfo", ["AdCenterWrapper::LowBudgetBalanceCampaignInfo[]", XSD::QName.new(NsEntities, "LowBudgetBalanceCampaignInfo")], [0, nil]]
172
+ ]
173
+ )
174
+
175
+ EncodedRegistry.register(
176
+ :class => AdCenterWrapper::LowBudgetBalanceCampaignInfo,
177
+ :schema_type => XSD::QName.new(NsEntities, "LowBudgetBalanceCampaignInfo"),
178
+ :schema_basetype => XSD::QName.new(NsEntities, "CampaignInfo"),
179
+ :schema_element => [
180
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CampaignId")], [0, 1]],
181
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CampaignName")], [0, 1]],
182
+ ["budgetAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BudgetAmount")], [0, 1]],
183
+ ["estimatedBudgetBalance", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "EstimatedBudgetBalance")], [0, 1]],
184
+ ["estimatedImpressions", ["SOAP::SOAPInt", XSD::QName.new(NsEntities, "EstimatedImpressions")], [0, 1]]
185
+ ]
186
+ )
187
+
188
+ EncodedRegistry.register(
189
+ :class => AdCenterWrapper::AdApiFaultDetail,
190
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
191
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
192
+ :schema_element => [
193
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
194
+ ["errors", ["AdCenterWrapper::ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
195
+ ]
196
+ )
197
+
198
+ EncodedRegistry.register(
199
+ :class => AdCenterWrapper::ApplicationFault,
200
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
201
+ :schema_element => [
202
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
203
+ ]
204
+ )
205
+
206
+ EncodedRegistry.register(
207
+ :class => AdCenterWrapper::ArrayOfAdApiError,
208
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
209
+ :schema_element => [
210
+ ["adApiError", ["AdCenterWrapper::AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
211
+ ]
212
+ )
213
+
214
+ EncodedRegistry.register(
215
+ :class => AdCenterWrapper::AdApiError,
216
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
217
+ :schema_element => [
218
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
219
+ ["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
220
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
221
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
222
+ ]
223
+ )
224
+
225
+ EncodedRegistry.register(
226
+ :class => AdCenterWrapper::ApiFault,
227
+ :schema_type => XSD::QName.new(NsC_Exception, "ApiFault"),
228
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
229
+ :schema_element => [
230
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
231
+ ["operationErrors", ["AdCenterWrapper::ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]]
232
+ ]
233
+ )
234
+
235
+ EncodedRegistry.register(
236
+ :class => AdCenterWrapper::ArrayOfOperationError,
237
+ :schema_type => XSD::QName.new(NsC_Exception, "ArrayOfOperationError"),
238
+ :schema_element => [
239
+ ["operationError", ["AdCenterWrapper::OperationError[]", XSD::QName.new(NsC_Exception, "OperationError")], [0, nil]]
240
+ ]
241
+ )
242
+
243
+ EncodedRegistry.register(
244
+ :class => AdCenterWrapper::OperationError,
245
+ :schema_type => XSD::QName.new(NsC_Exception, "OperationError"),
246
+ :schema_element => [
247
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
248
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
249
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
250
+ ]
251
+ )
252
+
253
+ LiteralRegistry.register(
254
+ :class => AdCenterWrapper::ArrayOfNotification,
255
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfNotification"),
256
+ :schema_element => [
257
+ ["notification", ["AdCenterWrapper::Notification[]", XSD::QName.new(NsEntities, "Notification")], [0, nil]]
258
+ ]
259
+ )
260
+
261
+ LiteralRegistry.register(
262
+ :class => AdCenterWrapper::Notification,
263
+ :schema_type => XSD::QName.new(NsEntities, "Notification"),
264
+ :schema_element => [
265
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
266
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
267
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]]
268
+ ]
269
+ )
270
+
271
+ LiteralRegistry.register(
272
+ :class => AdCenterWrapper::CreditCardPendingExpirationNotification,
273
+ :schema_type => XSD::QName.new(NsEntities, "CreditCardPendingExpirationNotification"),
274
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
275
+ :schema_element => [
276
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
277
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
278
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
279
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
280
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
281
+ ["cardType", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CardType")], [0, 1]],
282
+ ["lastFourDigits", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "LastFourDigits")], [0, 1]],
283
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
284
+ ]
285
+ )
286
+
287
+ LiteralRegistry.register(
288
+ :class => AdCenterWrapper::AccountNotification,
289
+ :schema_type => XSD::QName.new(NsEntities, "AccountNotification"),
290
+ :schema_basetype => XSD::QName.new(NsEntities, "Notification"),
291
+ :schema_element => [
292
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
293
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
294
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
295
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
296
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]]
297
+ ]
298
+ )
299
+
300
+ LiteralRegistry.register(
301
+ :class => AdCenterWrapper::ExpiredCreditCardNotification,
302
+ :schema_type => XSD::QName.new(NsEntities, "ExpiredCreditCardNotification"),
303
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
304
+ :schema_element => [
305
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
306
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
307
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
308
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
309
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
310
+ ["cardType", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CardType")], [0, 1]],
311
+ ["lastFourDigits", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "LastFourDigits")], [0, 1]],
312
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
313
+ ]
314
+ )
315
+
316
+ LiteralRegistry.register(
317
+ :class => AdCenterWrapper::ExpiredInsertionOrderNotification,
318
+ :schema_type => XSD::QName.new(NsEntities, "ExpiredInsertionOrderNotification"),
319
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
320
+ :schema_element => [
321
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
322
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
323
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
324
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
325
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
326
+ ["billToCustomerName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "BillToCustomerName")], [0, 1]]
327
+ ]
328
+ )
329
+
330
+ LiteralRegistry.register(
331
+ :class => AdCenterWrapper::BudgetDepletedNotification,
332
+ :schema_type => XSD::QName.new(NsEntities, "BudgetDepletedNotification"),
333
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
334
+ :schema_element => [
335
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
336
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
337
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
338
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
339
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
340
+ ["affectedCampaigns", ["AdCenterWrapper::ArrayOfBudgetDepletedCampaignInfo", XSD::QName.new(NsEntities, "AffectedCampaigns")], [0, 1]],
341
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
342
+ ]
343
+ )
344
+
345
+ LiteralRegistry.register(
346
+ :class => AdCenterWrapper::ArrayOfBudgetDepletedCampaignInfo,
347
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfBudgetDepletedCampaignInfo"),
348
+ :schema_element => [
349
+ ["budgetDepletedCampaignInfo", ["AdCenterWrapper::BudgetDepletedCampaignInfo[]", XSD::QName.new(NsEntities, "BudgetDepletedCampaignInfo")], [0, nil]]
350
+ ]
351
+ )
352
+
353
+ LiteralRegistry.register(
354
+ :class => AdCenterWrapper::BudgetDepletedCampaignInfo,
355
+ :schema_type => XSD::QName.new(NsEntities, "BudgetDepletedCampaignInfo"),
356
+ :schema_basetype => XSD::QName.new(NsEntities, "CampaignInfo"),
357
+ :schema_element => [
358
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CampaignId")], [0, 1]],
359
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CampaignName")], [0, 1]],
360
+ ["budgetAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BudgetAmount")], [0, 1]],
361
+ ["currencyCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CurrencyCode")], [0, 1]],
362
+ ["budgetDepletedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "BudgetDepletedDate")], [0, 1]]
363
+ ]
364
+ )
365
+
366
+ LiteralRegistry.register(
367
+ :class => AdCenterWrapper::CampaignInfo,
368
+ :schema_type => XSD::QName.new(NsEntities, "CampaignInfo"),
369
+ :schema_element => [
370
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CampaignId")], [0, 1]],
371
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CampaignName")], [0, 1]],
372
+ ["budgetAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BudgetAmount")], [0, 1]]
373
+ ]
374
+ )
375
+
376
+ LiteralRegistry.register(
377
+ :class => AdCenterWrapper::EditorialRejectionNotification,
378
+ :schema_type => XSD::QName.new(NsEntities, "EditorialRejectionNotification"),
379
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
380
+ :schema_element => [
381
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
382
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
383
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
384
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
385
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]]
386
+ ]
387
+ )
388
+
389
+ LiteralRegistry.register(
390
+ :class => AdCenterWrapper::LowBudgetBalanceNotification,
391
+ :schema_type => XSD::QName.new(NsEntities, "LowBudgetBalanceNotification"),
392
+ :schema_basetype => XSD::QName.new(NsEntities, "AccountNotification"),
393
+ :schema_element => [
394
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
395
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
396
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
397
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
398
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
399
+ ["customerId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CustomerId")], [0, 1]],
400
+ ["affectedCampaigns", ["AdCenterWrapper::ArrayOfLowBudgetBalanceCampaignInfo", XSD::QName.new(NsEntities, "AffectedCampaigns")], [0, 1]],
401
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
402
+ ]
403
+ )
404
+
405
+ LiteralRegistry.register(
406
+ :class => AdCenterWrapper::ArrayOfLowBudgetBalanceCampaignInfo,
407
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfLowBudgetBalanceCampaignInfo"),
408
+ :schema_element => [
409
+ ["lowBudgetBalanceCampaignInfo", ["AdCenterWrapper::LowBudgetBalanceCampaignInfo[]", XSD::QName.new(NsEntities, "LowBudgetBalanceCampaignInfo")], [0, nil]]
410
+ ]
411
+ )
412
+
413
+ LiteralRegistry.register(
414
+ :class => AdCenterWrapper::LowBudgetBalanceCampaignInfo,
415
+ :schema_type => XSD::QName.new(NsEntities, "LowBudgetBalanceCampaignInfo"),
416
+ :schema_basetype => XSD::QName.new(NsEntities, "CampaignInfo"),
417
+ :schema_element => [
418
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CampaignId")], [0, 1]],
419
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CampaignName")], [0, 1]],
420
+ ["budgetAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BudgetAmount")], [0, 1]],
421
+ ["estimatedBudgetBalance", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "EstimatedBudgetBalance")], [0, 1]],
422
+ ["estimatedImpressions", ["SOAP::SOAPInt", XSD::QName.new(NsEntities, "EstimatedImpressions")], [0, 1]]
423
+ ]
424
+ )
425
+
426
+ LiteralRegistry.register(
427
+ :class => AdCenterWrapper::AdApiFaultDetail,
428
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
429
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
430
+ :schema_element => [
431
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
432
+ ["errors", ["AdCenterWrapper::ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
433
+ ]
434
+ )
435
+
436
+ LiteralRegistry.register(
437
+ :class => AdCenterWrapper::ApplicationFault,
438
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
439
+ :schema_element => [
440
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
441
+ ]
442
+ )
443
+
444
+ LiteralRegistry.register(
445
+ :class => AdCenterWrapper::ArrayOfAdApiError,
446
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
447
+ :schema_element => [
448
+ ["adApiError", ["AdCenterWrapper::AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
449
+ ]
450
+ )
451
+
452
+ LiteralRegistry.register(
453
+ :class => AdCenterWrapper::AdApiError,
454
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
455
+ :schema_element => [
456
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
457
+ ["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
458
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
459
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
460
+ ]
461
+ )
462
+
463
+ LiteralRegistry.register(
464
+ :class => AdCenterWrapper::ApiFault,
465
+ :schema_type => XSD::QName.new(NsC_Exception, "ApiFault"),
466
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
467
+ :schema_element => [
468
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
469
+ ["operationErrors", ["AdCenterWrapper::ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]]
470
+ ]
471
+ )
472
+
473
+ LiteralRegistry.register(
474
+ :class => AdCenterWrapper::ArrayOfOperationError,
475
+ :schema_type => XSD::QName.new(NsC_Exception, "ArrayOfOperationError"),
476
+ :schema_element => [
477
+ ["operationError", ["AdCenterWrapper::OperationError[]", XSD::QName.new(NsC_Exception, "OperationError")], [0, nil]]
478
+ ]
479
+ )
480
+
481
+ LiteralRegistry.register(
482
+ :class => AdCenterWrapper::OperationError,
483
+ :schema_type => XSD::QName.new(NsC_Exception, "OperationError"),
484
+ :schema_element => [
485
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
486
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
487
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
488
+ ]
489
+ )
490
+
491
+ LiteralRegistry.register(
492
+ :class => AdCenterWrapper::GetNotificationsRequest,
493
+ :schema_name => XSD::QName.new(NsNotifications, "GetNotificationsRequest"),
494
+ :schema_element => [
495
+ ["notificationTypes", [nil, XSD::QName.new(NsNotifications, "NotificationTypes")], [0, 1]],
496
+ ["topN", ["SOAP::SOAPInt", XSD::QName.new(NsNotifications, "TopN")], [0, 1]]
497
+ ]
498
+ )
499
+
500
+ LiteralRegistry.register(
501
+ :class => AdCenterWrapper::GetArchivedNotificationsRequest,
502
+ :schema_name => XSD::QName.new(NsNotifications, "GetArchivedNotificationsRequest"),
503
+ :schema_element => [
504
+ ["notificationTypes", [nil, XSD::QName.new(NsNotifications, "NotificationTypes")], [0, 1]],
505
+ ["topN", ["SOAP::SOAPInt", XSD::QName.new(NsNotifications, "TopN")], [0, 1]],
506
+ ["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsNotifications, "StartDate")], [0, 1]],
507
+ ["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsNotifications, "EndDate")], [0, 1]]
508
+ ]
509
+ )
510
+
511
+ LiteralRegistry.register(
512
+ :class => AdCenterWrapper::GetNotificationsResponse,
513
+ :schema_name => XSD::QName.new(NsEntities, "GetNotificationsResponse"),
514
+ :schema_element => [
515
+ ["notifications", ["AdCenterWrapper::ArrayOfNotification", XSD::QName.new(NsEntities, "Notifications")], [0, 1]]
516
+ ]
517
+ )
518
+
519
+ LiteralRegistry.register(
520
+ :class => AdCenterWrapper::ArrayOfNotification,
521
+ :schema_name => XSD::QName.new(NsEntities, "ArrayOfNotification"),
522
+ :schema_element => [
523
+ ["notification", ["AdCenterWrapper::Notification[]", XSD::QName.new(NsEntities, "Notification")], [0, nil]]
524
+ ]
525
+ )
526
+
527
+ LiteralRegistry.register(
528
+ :class => AdCenterWrapper::Notification,
529
+ :schema_name => XSD::QName.new(NsEntities, "Notification"),
530
+ :schema_element => [
531
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
532
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
533
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]]
534
+ ]
535
+ )
536
+
537
+ LiteralRegistry.register(
538
+ :class => AdCenterWrapper::CreditCardPendingExpirationNotification,
539
+ :schema_name => XSD::QName.new(NsEntities, "CreditCardPendingExpirationNotification"),
540
+ :schema_element => [
541
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
542
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
543
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
544
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
545
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
546
+ ["cardType", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CardType")], [0, 1]],
547
+ ["lastFourDigits", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "LastFourDigits")], [0, 1]],
548
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
549
+ ]
550
+ )
551
+
552
+ LiteralRegistry.register(
553
+ :class => AdCenterWrapper::AccountNotification,
554
+ :schema_name => XSD::QName.new(NsEntities, "AccountNotification"),
555
+ :schema_element => [
556
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
557
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
558
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
559
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
560
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]]
561
+ ]
562
+ )
563
+
564
+ LiteralRegistry.register(
565
+ :class => AdCenterWrapper::ExpiredCreditCardNotification,
566
+ :schema_name => XSD::QName.new(NsEntities, "ExpiredCreditCardNotification"),
567
+ :schema_element => [
568
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
569
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
570
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
571
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
572
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
573
+ ["cardType", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CardType")], [0, 1]],
574
+ ["lastFourDigits", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "LastFourDigits")], [0, 1]],
575
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
576
+ ]
577
+ )
578
+
579
+ LiteralRegistry.register(
580
+ :class => AdCenterWrapper::ExpiredInsertionOrderNotification,
581
+ :schema_name => XSD::QName.new(NsEntities, "ExpiredInsertionOrderNotification"),
582
+ :schema_element => [
583
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
584
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
585
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
586
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
587
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
588
+ ["billToCustomerName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "BillToCustomerName")], [0, 1]]
589
+ ]
590
+ )
591
+
592
+ LiteralRegistry.register(
593
+ :class => AdCenterWrapper::BudgetDepletedNotification,
594
+ :schema_name => XSD::QName.new(NsEntities, "BudgetDepletedNotification"),
595
+ :schema_element => [
596
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
597
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
598
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
599
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
600
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
601
+ ["affectedCampaigns", ["AdCenterWrapper::ArrayOfBudgetDepletedCampaignInfo", XSD::QName.new(NsEntities, "AffectedCampaigns")], [0, 1]],
602
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
603
+ ]
604
+ )
605
+
606
+ LiteralRegistry.register(
607
+ :class => AdCenterWrapper::ArrayOfBudgetDepletedCampaignInfo,
608
+ :schema_name => XSD::QName.new(NsEntities, "ArrayOfBudgetDepletedCampaignInfo"),
609
+ :schema_element => [
610
+ ["budgetDepletedCampaignInfo", ["AdCenterWrapper::BudgetDepletedCampaignInfo[]", XSD::QName.new(NsEntities, "BudgetDepletedCampaignInfo")], [0, nil]]
611
+ ]
612
+ )
613
+
614
+ LiteralRegistry.register(
615
+ :class => AdCenterWrapper::BudgetDepletedCampaignInfo,
616
+ :schema_name => XSD::QName.new(NsEntities, "BudgetDepletedCampaignInfo"),
617
+ :schema_element => [
618
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CampaignId")], [0, 1]],
619
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CampaignName")], [0, 1]],
620
+ ["budgetAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BudgetAmount")], [0, 1]],
621
+ ["currencyCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CurrencyCode")], [0, 1]],
622
+ ["budgetDepletedDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "BudgetDepletedDate")], [0, 1]]
623
+ ]
624
+ )
625
+
626
+ LiteralRegistry.register(
627
+ :class => AdCenterWrapper::CampaignInfo,
628
+ :schema_name => XSD::QName.new(NsEntities, "CampaignInfo"),
629
+ :schema_element => [
630
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CampaignId")], [0, 1]],
631
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CampaignName")], [0, 1]],
632
+ ["budgetAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BudgetAmount")], [0, 1]]
633
+ ]
634
+ )
635
+
636
+ LiteralRegistry.register(
637
+ :class => AdCenterWrapper::EditorialRejectionNotification,
638
+ :schema_name => XSD::QName.new(NsEntities, "EditorialRejectionNotification"),
639
+ :schema_element => [
640
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
641
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
642
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
643
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
644
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]]
645
+ ]
646
+ )
647
+
648
+ LiteralRegistry.register(
649
+ :class => AdCenterWrapper::LowBudgetBalanceNotification,
650
+ :schema_name => XSD::QName.new(NsEntities, "LowBudgetBalanceNotification"),
651
+ :schema_element => [
652
+ ["notificationId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "NotificationId")], [0, 1]],
653
+ ["notificationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "NotificationDate")], [0, 1]],
654
+ ["notificationType", [nil, XSD::QName.new(NsEntities, "NotificationType")], [0, 1]],
655
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
656
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
657
+ ["customerId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CustomerId")], [0, 1]],
658
+ ["affectedCampaigns", ["AdCenterWrapper::ArrayOfLowBudgetBalanceCampaignInfo", XSD::QName.new(NsEntities, "AffectedCampaigns")], [0, 1]],
659
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]]
660
+ ]
661
+ )
662
+
663
+ LiteralRegistry.register(
664
+ :class => AdCenterWrapper::ArrayOfLowBudgetBalanceCampaignInfo,
665
+ :schema_name => XSD::QName.new(NsEntities, "ArrayOfLowBudgetBalanceCampaignInfo"),
666
+ :schema_element => [
667
+ ["lowBudgetBalanceCampaignInfo", ["AdCenterWrapper::LowBudgetBalanceCampaignInfo[]", XSD::QName.new(NsEntities, "LowBudgetBalanceCampaignInfo")], [0, nil]]
668
+ ]
669
+ )
670
+
671
+ LiteralRegistry.register(
672
+ :class => AdCenterWrapper::LowBudgetBalanceCampaignInfo,
673
+ :schema_name => XSD::QName.new(NsEntities, "LowBudgetBalanceCampaignInfo"),
674
+ :schema_element => [
675
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "CampaignId")], [0, 1]],
676
+ ["campaignName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CampaignName")], [0, 1]],
677
+ ["budgetAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BudgetAmount")], [0, 1]],
678
+ ["estimatedBudgetBalance", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "EstimatedBudgetBalance")], [0, 1]],
679
+ ["estimatedImpressions", ["SOAP::SOAPInt", XSD::QName.new(NsEntities, "EstimatedImpressions")], [0, 1]]
680
+ ]
681
+ )
682
+
683
+ LiteralRegistry.register(
684
+ :class => AdCenterWrapper::GetArchivedNotificationsResponse,
685
+ :schema_name => XSD::QName.new(NsEntities, "GetArchivedNotificationsResponse"),
686
+ :schema_element => [
687
+ ["notifications", ["AdCenterWrapper::ArrayOfNotification", XSD::QName.new(NsEntities, "Notifications")], [0, 1]]
688
+ ]
689
+ )
690
+
691
+ LiteralRegistry.register(
692
+ :class => AdCenterWrapper::AdApiFaultDetail,
693
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
694
+ :schema_element => [
695
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
696
+ ["errors", ["AdCenterWrapper::ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
697
+ ]
698
+ )
699
+
700
+ LiteralRegistry.register(
701
+ :class => AdCenterWrapper::ApplicationFault,
702
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
703
+ :schema_element => [
704
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
705
+ ]
706
+ )
707
+
708
+ LiteralRegistry.register(
709
+ :class => AdCenterWrapper::ArrayOfAdApiError,
710
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
711
+ :schema_element => [
712
+ ["adApiError", ["AdCenterWrapper::AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
713
+ ]
714
+ )
715
+
716
+ LiteralRegistry.register(
717
+ :class => AdCenterWrapper::AdApiError,
718
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
719
+ :schema_element => [
720
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
721
+ ["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
722
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
723
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
724
+ ]
725
+ )
726
+
727
+ LiteralRegistry.register(
728
+ :class => AdCenterWrapper::ApiFault,
729
+ :schema_name => XSD::QName.new(NsC_Exception, "ApiFault"),
730
+ :schema_element => [
731
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
732
+ ["operationErrors", ["AdCenterWrapper::ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]]
733
+ ]
734
+ )
735
+
736
+ LiteralRegistry.register(
737
+ :class => AdCenterWrapper::ArrayOfOperationError,
738
+ :schema_name => XSD::QName.new(NsC_Exception, "ArrayOfOperationError"),
739
+ :schema_element => [
740
+ ["operationError", ["AdCenterWrapper::OperationError[]", XSD::QName.new(NsC_Exception, "OperationError")], [0, nil]]
741
+ ]
742
+ )
743
+
744
+ LiteralRegistry.register(
745
+ :class => AdCenterWrapper::OperationError,
746
+ :schema_name => XSD::QName.new(NsC_Exception, "OperationError"),
747
+ :schema_element => [
748
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
749
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
750
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
751
+ ]
752
+ )
753
+
754
+ end
755
+
756
+ end