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,265 @@
1
+ require 'xsd/qname'
2
+
3
+ module AdCenterWrapper
4
+
5
+
6
+ # {https://adcenter.microsoft.com/v8}ArrayOfBatchError
7
+ class ArrayOfBatchError < ::Array
8
+ end
9
+
10
+ # {https://adcenter.microsoft.com/v8}BatchError
11
+ # code - AdCenterWrapper::ErrorCodes
12
+ # details - SOAP::SOAPString
13
+ # errorCode - SOAP::SOAPString
14
+ # index - SOAP::SOAPInt
15
+ # message - SOAP::SOAPString
16
+ class BatchError
17
+ attr_accessor :code
18
+ attr_accessor :details
19
+ attr_accessor :errorCode
20
+ attr_accessor :index
21
+ attr_accessor :message
22
+
23
+ def initialize(code = nil, details = nil, errorCode = nil, index = nil, message = nil)
24
+ @code = code
25
+ @details = details
26
+ @errorCode = errorCode
27
+ @index = index
28
+ @message = message
29
+ end
30
+ end
31
+
32
+ # {https://adcenter.microsoft.com/v8}ArrayOfOperationError
33
+ class ArrayOfOperationError < ::Array
34
+ end
35
+
36
+ # {https://adcenter.microsoft.com/v8}OperationError
37
+ # code - AdCenterWrapper::ErrorCodes
38
+ # details - SOAP::SOAPString
39
+ # errorCode - SOAP::SOAPString
40
+ # message - SOAP::SOAPString
41
+ class OperationError
42
+ attr_accessor :code
43
+ attr_accessor :details
44
+ attr_accessor :errorCode
45
+ attr_accessor :message
46
+
47
+ def initialize(code = nil, details = nil, errorCode = nil, message = nil)
48
+ @code = code
49
+ @details = details
50
+ @errorCode = errorCode
51
+ @message = message
52
+ end
53
+ end
54
+
55
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.Optimizer.Api.DataContracts.Entities}ArrayOfBudgetOpportunity
56
+ class ArrayOfBudgetOpportunity < ::Array
57
+ end
58
+
59
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.Optimizer.Api.DataContracts.Entities}Opportunity
60
+ # expirationDate - SOAP::SOAPDateTime
61
+ # opportunityKey - SOAP::SOAPString
62
+ class Opportunity
63
+ attr_accessor :expirationDate
64
+ attr_accessor :opportunityKey
65
+
66
+ def initialize(expirationDate = nil, opportunityKey = nil)
67
+ @expirationDate = expirationDate
68
+ @opportunityKey = opportunityKey
69
+ end
70
+ end
71
+
72
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.Optimizer.Api.DataContracts.Entities}BudgetOpportunity
73
+ # expirationDate - SOAP::SOAPDateTime
74
+ # opportunityKey - SOAP::SOAPString
75
+ # budgetDepletionDate - SOAP::SOAPDateTime
76
+ # budgetType - AdCenterWrapper::BudgetLimitType
77
+ # campaignId - SOAP::SOAPLong
78
+ # currentBudget - SOAP::SOAPDouble
79
+ # increaseInClicks - SOAP::SOAPInt
80
+ # increaseInImpressions - SOAP::SOAPInt
81
+ # percentageIncreaseInClicks - SOAP::SOAPInt
82
+ # percentageIncreaseInImpressions - SOAP::SOAPInt
83
+ # recommendedBudget - SOAP::SOAPDouble
84
+ class BudgetOpportunity < Opportunity
85
+ attr_accessor :expirationDate
86
+ attr_accessor :opportunityKey
87
+ attr_accessor :budgetDepletionDate
88
+ attr_accessor :budgetType
89
+ attr_accessor :campaignId
90
+ attr_accessor :currentBudget
91
+ attr_accessor :increaseInClicks
92
+ attr_accessor :increaseInImpressions
93
+ attr_accessor :percentageIncreaseInClicks
94
+ attr_accessor :percentageIncreaseInImpressions
95
+ attr_accessor :recommendedBudget
96
+
97
+ def initialize(expirationDate = nil, opportunityKey = nil, budgetDepletionDate = nil, budgetType = nil, campaignId = nil, currentBudget = nil, increaseInClicks = nil, increaseInImpressions = nil, percentageIncreaseInClicks = nil, percentageIncreaseInImpressions = nil, recommendedBudget = nil)
98
+ @expirationDate = expirationDate
99
+ @opportunityKey = opportunityKey
100
+ @budgetDepletionDate = budgetDepletionDate
101
+ @budgetType = budgetType
102
+ @campaignId = campaignId
103
+ @currentBudget = currentBudget
104
+ @increaseInClicks = increaseInClicks
105
+ @increaseInImpressions = increaseInImpressions
106
+ @percentageIncreaseInClicks = percentageIncreaseInClicks
107
+ @percentageIncreaseInImpressions = percentageIncreaseInImpressions
108
+ @recommendedBudget = recommendedBudget
109
+ end
110
+ end
111
+
112
+ # {https://adapi.microsoft.com}ApplicationFault
113
+ # trackingId - SOAP::SOAPString
114
+ class ApplicationFault
115
+ attr_accessor :trackingId
116
+
117
+ def initialize(trackingId = nil)
118
+ @trackingId = trackingId
119
+ end
120
+ end
121
+
122
+ # {https://adcenter.microsoft.com/v8}ApiFaultDetail
123
+ # trackingId - SOAP::SOAPString
124
+ # batchErrors - AdCenterWrapper::ArrayOfBatchError
125
+ # operationErrors - AdCenterWrapper::ArrayOfOperationError
126
+ class ApiFaultDetail < ::StandardError
127
+ attr_accessor :trackingId
128
+ attr_accessor :batchErrors
129
+ attr_accessor :operationErrors
130
+
131
+ def initialize(trackingId = nil, batchErrors = nil, operationErrors = nil)
132
+ @trackingId = trackingId
133
+ @batchErrors = batchErrors
134
+ @operationErrors = operationErrors
135
+ end
136
+ end
137
+
138
+ # {https://adapi.microsoft.com}AdApiFaultDetail
139
+ # trackingId - SOAP::SOAPString
140
+ # errors - AdCenterWrapper::ArrayOfAdApiError
141
+ class AdApiFaultDetail < ::StandardError
142
+ attr_accessor :trackingId
143
+ attr_accessor :errors
144
+
145
+ def initialize(trackingId = nil, errors = nil)
146
+ @trackingId = trackingId
147
+ @errors = errors
148
+ end
149
+ end
150
+
151
+ # {https://adapi.microsoft.com}ArrayOfAdApiError
152
+ class ArrayOfAdApiError < ::Array
153
+ end
154
+
155
+ # {https://adapi.microsoft.com}AdApiError
156
+ # code - SOAP::SOAPInt
157
+ # detail - SOAP::SOAPString
158
+ # errorCode - SOAP::SOAPString
159
+ # message - SOAP::SOAPString
160
+ class AdApiError
161
+ attr_accessor :code
162
+ attr_accessor :detail
163
+ attr_accessor :errorCode
164
+ attr_accessor :message
165
+
166
+ def initialize(code = nil, detail = nil, errorCode = nil, message = nil)
167
+ @code = code
168
+ @detail = detail
169
+ @errorCode = errorCode
170
+ @message = message
171
+ end
172
+ end
173
+
174
+ # {http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring
175
+ class ArrayOfstring < ::Array
176
+ end
177
+
178
+ # # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.Optimizer.Api.DataContracts}BudgetLimitType
179
+ # class BudgetLimitType < ::String
180
+ # DailyBudgetAccelerated = BudgetLimitType.new("DailyBudgetAccelerated")
181
+ # DailyBudgetStandard = BudgetLimitType.new("DailyBudgetStandard")
182
+ # MonthlyBudgetSpendUntilDepleted = BudgetLimitType.new("MonthlyBudgetSpendUntilDepleted")
183
+ # end
184
+
185
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Shared.Api}ErrorCodes
186
+ class ErrorCodes < ::String
187
+ APIExecutionError = ErrorCodes.new("APIExecutionError")
188
+ AccountIdHasToBeSpecified = ErrorCodes.new("AccountIdHasToBeSpecified")
189
+ ApiInputValidationError = ErrorCodes.new("ApiInputValidationError")
190
+ CampaignBudgetAmountIsAboveLimit = ErrorCodes.new("CampaignBudgetAmountIsAboveLimit")
191
+ CampaignBudgetAmountIsBelowConfiguredLimit = ErrorCodes.new("CampaignBudgetAmountIsBelowConfiguredLimit")
192
+ CampaignBudgetAmountIsLessThanSpendAmount = ErrorCodes.new("CampaignBudgetAmountIsLessThanSpendAmount")
193
+ CampaignBudgetLessThanAdGroupBudget = ErrorCodes.new("CampaignBudgetLessThanAdGroupBudget")
194
+ CampaignDailyTargetBudgetAmountIsInvalid = ErrorCodes.new("CampaignDailyTargetBudgetAmountIsInvalid")
195
+ ConcurrentRequestOverLimit = ErrorCodes.new("ConcurrentRequestOverLimit")
196
+ CustomerIdHasToBeSpecified = ErrorCodes.new("CustomerIdHasToBeSpecified")
197
+ EntityNotExistent = ErrorCodes.new("EntityNotExistent")
198
+ FilterListOverLimit = ErrorCodes.new("FilterListOverLimit")
199
+ FutureFeatureCode = ErrorCodes.new("FutureFeatureCode")
200
+ IncrementalBudgetAmountRequiredForDayTarget = ErrorCodes.new("IncrementalBudgetAmountRequiredForDayTarget")
201
+ InternalError = ErrorCodes.new("InternalError")
202
+ InvalidAccount = ErrorCodes.new("InvalidAccount")
203
+ InvalidAccountId = ErrorCodes.new("InvalidAccountId")
204
+ InvalidCredentials = ErrorCodes.new("InvalidCredentials")
205
+ InvalidCustomerId = ErrorCodes.new("InvalidCustomerId")
206
+ InvalidDateObject = ErrorCodes.new("InvalidDateObject")
207
+ InvalidOpportunityKey = ErrorCodes.new("InvalidOpportunityKey")
208
+ InvalidOpportunityKeysList = ErrorCodes.new("InvalidOpportunityKeysList")
209
+ InvalidVersion = ErrorCodes.new("InvalidVersion")
210
+ NameTooLong = ErrorCodes.new("NameTooLong")
211
+ NullArrayArgument = ErrorCodes.new("NullArrayArgument")
212
+ NullParameter = ErrorCodes.new("NullParameter")
213
+ NullRequest = ErrorCodes.new("NullRequest")
214
+ OperationNotSupported = ErrorCodes.new("OperationNotSupported")
215
+ OpportunityAlreadyApplied = ErrorCodes.new("OpportunityAlreadyApplied")
216
+ OpportunityExpired = ErrorCodes.new("OpportunityExpired")
217
+ OpportunityKeysArrayExceedsLimit = ErrorCodes.new("OpportunityKeysArrayExceedsLimit")
218
+ OpportunityKeysArrayShouldNotBeNullOrEmpty = ErrorCodes.new("OpportunityKeysArrayShouldNotBeNullOrEmpty")
219
+ QuotaNotAvailable = ErrorCodes.new("QuotaNotAvailable")
220
+ RequestMissingHeaders = ErrorCodes.new("RequestMissingHeaders")
221
+ TimestampNotMatch = ErrorCodes.new("TimestampNotMatch")
222
+ UserIsNotAuthorized = ErrorCodes.new("UserIsNotAuthorized")
223
+ end
224
+
225
+ # {https://adcenter.microsoft.com/v8}GetBudgetOpportunitiesRequest
226
+ # accountId - SOAP::SOAPLong
227
+ class GetBudgetOpportunitiesRequest
228
+ attr_accessor :accountId
229
+
230
+ def initialize(accountId = nil)
231
+ @accountId = accountId
232
+ end
233
+ end
234
+
235
+ # {https://adcenter.microsoft.com/v8}GetBudgetOpportunitiesResponse
236
+ # opportunities - AdCenterWrapper::ArrayOfBudgetOpportunity
237
+ class GetBudgetOpportunitiesResponse
238
+ attr_accessor :opportunities
239
+
240
+ def initialize(opportunities = nil)
241
+ @opportunities = opportunities
242
+ end
243
+ end
244
+
245
+ # {https://adcenter.microsoft.com/v8}ApplyBudgetOpportunitiesRequest
246
+ # accountId - SOAP::SOAPLong
247
+ # opportunityKeys - AdCenterWrapper::ArrayOfstring
248
+ class ApplyBudgetOpportunitiesRequest
249
+ attr_accessor :accountId
250
+ attr_accessor :opportunityKeys
251
+
252
+ def initialize(accountId = nil, opportunityKeys = nil)
253
+ @accountId = accountId
254
+ @opportunityKeys = opportunityKeys
255
+ end
256
+ end
257
+
258
+ # {https://adcenter.microsoft.com/v8}ApplyBudgetOpportunitiesResponse
259
+ class ApplyBudgetOpportunitiesResponse
260
+ def initialize
261
+ end
262
+ end
263
+
264
+
265
+ end
@@ -0,0 +1,48 @@
1
+ #!/usr/bin/env ruby
2
+ require 'OptimizerServiceDriver.rb'
3
+
4
+
5
+ module AdCenterWrapper
6
+
7
+ endpoint_url = ARGV.shift
8
+ obj = IOptimizerService.new(endpoint_url)
9
+
10
+ # run ruby with -d to see SOAP wiredumps.
11
+ obj.wiredump_dev = STDERR if $DEBUG
12
+
13
+ # SYNOPSIS
14
+ # GetBudgetOpportunities(parameters)
15
+ #
16
+ # ARGS
17
+ # parameters GetBudgetOpportunitiesRequest - {https://adcenter.microsoft.com/v8}GetBudgetOpportunitiesRequest
18
+ #
19
+ # RETURNS
20
+ # parameters GetBudgetOpportunitiesResponse - {https://adcenter.microsoft.com/v8}GetBudgetOpportunitiesResponse
21
+ #
22
+ # RAISES
23
+ # detail ApiFaultDetail - {https://adcenter.microsoft.com/v8}ApiFaultDetail
24
+ # detail AdApiFaultDetail - {https://adapi.microsoft.com}AdApiFaultDetail
25
+ #
26
+ parameters = nil
27
+ puts obj.getBudgetOpportunities(parameters)
28
+
29
+ # SYNOPSIS
30
+ # ApplyBudgetOpportunities(parameters)
31
+ #
32
+ # ARGS
33
+ # parameters ApplyBudgetOpportunitiesRequest - {https://adcenter.microsoft.com/v8}ApplyBudgetOpportunitiesRequest
34
+ #
35
+ # RETURNS
36
+ # parameters ApplyBudgetOpportunitiesResponse - {https://adcenter.microsoft.com/v8}ApplyBudgetOpportunitiesResponse
37
+ #
38
+ # RAISES
39
+ # detail AdApiFaultDetail - {https://adapi.microsoft.com}AdApiFaultDetail
40
+ # detail ApiFaultDetail - {https://adcenter.microsoft.com/v8}ApiFaultDetail
41
+ #
42
+ parameters = nil
43
+ puts obj.applyBudgetOpportunities(parameters)
44
+
45
+
46
+
47
+
48
+ end
@@ -0,0 +1,59 @@
1
+ require 'OptimizerService.rb'
2
+ require 'OptimizerServiceMappingRegistry.rb'
3
+ require 'soap/rpc/driver'
4
+
5
+ module AdCenterWrapper
6
+
7
+ class IOptimizerService < ::SOAP::RPC::Driver
8
+ DefaultEndpointUrl = "https://adcenterapi.microsoft.com/Api/Advertiser/V8/Optimizer/OptimizerService.svc"
9
+
10
+ Methods = [
11
+ [ "GetBudgetOpportunities",
12
+ "getBudgetOpportunities",
13
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetBudgetOpportunitiesRequest"]],
14
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetBudgetOpportunitiesResponse"]] ],
15
+ { :request_style => :document, :request_use => :literal,
16
+ :response_style => :document, :response_use => :literal,
17
+ :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"AdApiFaultDetailFault"}, "AdCenterWrapper::ApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"ApiFaultDetailFault"}} }
18
+ ],
19
+ [ "ApplyBudgetOpportunities",
20
+ "applyBudgetOpportunities",
21
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "ApplyBudgetOpportunitiesRequest"]],
22
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "ApplyBudgetOpportunitiesResponse"]] ],
23
+ { :request_style => :document, :request_use => :literal,
24
+ :response_style => :document, :response_use => :literal,
25
+ :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"AdApiFaultDetailFault"}, "AdCenterWrapper::ApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"ApiFaultDetailFault"}} }
26
+ ]
27
+ ]
28
+
29
+ def initialize(endpoint_url = nil)
30
+ endpoint_url ||= DefaultEndpointUrl
31
+ super(endpoint_url, nil)
32
+ self.mapping_registry = OptimizerServiceMappingRegistry::EncodedRegistry
33
+ self.literal_mapping_registry = OptimizerServiceMappingRegistry::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,469 @@
1
+ require 'adcenter_wrapper_entities'
2
+ require 'OptimizerService.rb'
3
+ require 'soap/mapping'
4
+
5
+ module AdCenterWrapper
6
+
7
+ module OptimizerServiceMappingRegistry
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
+ NsMicrosoftAdCenterAdvertiserOptimizerApiDataContracts = "http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.Optimizer.Api.DataContracts"
13
+ NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities = "http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.Optimizer.Api.DataContracts.Entities"
14
+ NsMicrosoftAdCenterSharedApi = "http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Shared.Api"
15
+ NsV8 = "https://adcenter.microsoft.com/v8"
16
+
17
+ EncodedRegistry.register(
18
+ :class => AdCenterWrapper::ApiFaultDetail,
19
+ :schema_type => XSD::QName.new(NsV8, "ApiFaultDetail"),
20
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
21
+ :schema_element => [
22
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
23
+ ["batchErrors", ["AdCenterWrapper::ArrayOfBatchError", XSD::QName.new(NsV8, "BatchErrors")], [0, 1]],
24
+ ["operationErrors", ["AdCenterWrapper::ArrayOfOperationError", XSD::QName.new(NsV8, "OperationErrors")], [0, 1]]
25
+ ]
26
+ )
27
+
28
+ EncodedRegistry.register(
29
+ :class => AdCenterWrapper::ArrayOfBatchError,
30
+ :schema_type => XSD::QName.new(NsV8, "ArrayOfBatchError"),
31
+ :schema_element => [
32
+ ["batchError", ["AdCenterWrapper::BatchError[]", XSD::QName.new(NsV8, "BatchError")], [0, nil]]
33
+ ]
34
+ )
35
+
36
+ EncodedRegistry.register(
37
+ :class => AdCenterWrapper::BatchError,
38
+ :schema_type => XSD::QName.new(NsV8, "BatchError"),
39
+ :schema_element => [
40
+ ["code", ["AdCenterWrapper::ErrorCodes", XSD::QName.new(NsV8, "Code")], [0, 1]],
41
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Details")], [0, 1]],
42
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsV8, "ErrorCode")], [0, 1]],
43
+ ["index", ["SOAP::SOAPInt", XSD::QName.new(NsV8, "Index")], [0, 1]],
44
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Message")], [0, 1]]
45
+ ]
46
+ )
47
+
48
+ EncodedRegistry.register(
49
+ :class => AdCenterWrapper::ArrayOfOperationError,
50
+ :schema_type => XSD::QName.new(NsV8, "ArrayOfOperationError"),
51
+ :schema_element => [
52
+ ["operationError", ["AdCenterWrapper::OperationError[]", XSD::QName.new(NsV8, "OperationError")], [0, nil]]
53
+ ]
54
+ )
55
+
56
+ EncodedRegistry.register(
57
+ :class => AdCenterWrapper::OperationError,
58
+ :schema_type => XSD::QName.new(NsV8, "OperationError"),
59
+ :schema_element => [
60
+ ["code", ["AdCenterWrapper::ErrorCodes", XSD::QName.new(NsV8, "Code")], [0, 1]],
61
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Details")], [0, 1]],
62
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsV8, "ErrorCode")], [0, 1]],
63
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Message")], [0, 1]]
64
+ ]
65
+ )
66
+
67
+ EncodedRegistry.register(
68
+ :class => AdCenterWrapper::ArrayOfBudgetOpportunity,
69
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "ArrayOfBudgetOpportunity"),
70
+ :schema_element => [
71
+ ["budgetOpportunity", ["AdCenterWrapper::BudgetOpportunity[]", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetOpportunity")], [0, nil]]
72
+ ]
73
+ )
74
+
75
+ EncodedRegistry.register(
76
+ :class => AdCenterWrapper::BudgetOpportunity,
77
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetOpportunity"),
78
+ :schema_basetype => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "Opportunity"),
79
+ :schema_element => [
80
+ ["expirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "ExpirationDate")], [0, 1]],
81
+ ["opportunityKey", ["SOAP::SOAPString", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "OpportunityKey")], [0, 1]],
82
+ ["budgetDepletionDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetDepletionDate")], [0, 1]],
83
+ ["budgetType", ["AdCenterWrapper::BudgetLimitType", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetType")], [0, 1]],
84
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "CampaignId")], [0, 1]],
85
+ ["currentBudget", ["SOAP::SOAPDouble", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "CurrentBudget")], [0, 1]],
86
+ ["increaseInClicks", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "IncreaseInClicks")], [0, 1]],
87
+ ["increaseInImpressions", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "IncreaseInImpressions")], [0, 1]],
88
+ ["percentageIncreaseInClicks", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "PercentageIncreaseInClicks")], [0, 1]],
89
+ ["percentageIncreaseInImpressions", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "PercentageIncreaseInImpressions")], [0, 1]],
90
+ ["recommendedBudget", ["SOAP::SOAPDouble", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "RecommendedBudget")], [0, 1]]
91
+ ]
92
+ )
93
+
94
+ EncodedRegistry.register(
95
+ :class => AdCenterWrapper::Opportunity,
96
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "Opportunity"),
97
+ :schema_element => [
98
+ ["expirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "ExpirationDate")], [0, 1]],
99
+ ["opportunityKey", ["SOAP::SOAPString", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "OpportunityKey")], [0, 1]]
100
+ ]
101
+ )
102
+
103
+ EncodedRegistry.register(
104
+ :class => AdCenterWrapper::ApplicationFault,
105
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
106
+ :schema_element => [
107
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
108
+ ]
109
+ )
110
+
111
+ EncodedRegistry.register(
112
+ :class => AdCenterWrapper::AdApiFaultDetail,
113
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
114
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
115
+ :schema_element => [
116
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
117
+ ["errors", ["AdCenterWrapper::ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
118
+ ]
119
+ )
120
+
121
+ EncodedRegistry.register(
122
+ :class => AdCenterWrapper::ArrayOfAdApiError,
123
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
124
+ :schema_element => [
125
+ ["adApiError", ["AdCenterWrapper::AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
126
+ ]
127
+ )
128
+
129
+ EncodedRegistry.register(
130
+ :class => AdCenterWrapper::AdApiError,
131
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
132
+ :schema_element => [
133
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
134
+ ["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
135
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
136
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
137
+ ]
138
+ )
139
+
140
+ EncodedRegistry.register(
141
+ :class => AdCenterWrapper::ArrayOfstring,
142
+ :schema_type => XSD::QName.new(NsArrays, "ArrayOfstring"),
143
+ :schema_element => [
144
+ ["string", "SOAP::SOAPString[]", [0, nil]]
145
+ ]
146
+ )
147
+
148
+ EncodedRegistry.register(
149
+ :class => AdCenterWrapper::BudgetLimitType,
150
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContracts, "BudgetLimitType")
151
+ )
152
+
153
+ EncodedRegistry.register(
154
+ :class => AdCenterWrapper::ErrorCodes,
155
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterSharedApi, "ErrorCodes")
156
+ )
157
+
158
+ LiteralRegistry.register(
159
+ :class => AdCenterWrapper::ApiFaultDetail,
160
+ :schema_type => XSD::QName.new(NsV8, "ApiFaultDetail"),
161
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
162
+ :schema_element => [
163
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
164
+ ["batchErrors", ["AdCenterWrapper::ArrayOfBatchError", XSD::QName.new(NsV8, "BatchErrors")], [0, 1]],
165
+ ["operationErrors", ["AdCenterWrapper::ArrayOfOperationError", XSD::QName.new(NsV8, "OperationErrors")], [0, 1]]
166
+ ]
167
+ )
168
+
169
+ LiteralRegistry.register(
170
+ :class => AdCenterWrapper::ArrayOfBatchError,
171
+ :schema_type => XSD::QName.new(NsV8, "ArrayOfBatchError"),
172
+ :schema_element => [
173
+ ["batchError", ["AdCenterWrapper::BatchError[]", XSD::QName.new(NsV8, "BatchError")], [0, nil]]
174
+ ]
175
+ )
176
+
177
+ LiteralRegistry.register(
178
+ :class => AdCenterWrapper::BatchError,
179
+ :schema_type => XSD::QName.new(NsV8, "BatchError"),
180
+ :schema_element => [
181
+ ["code", ["AdCenterWrapper::ErrorCodes", XSD::QName.new(NsV8, "Code")], [0, 1]],
182
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Details")], [0, 1]],
183
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsV8, "ErrorCode")], [0, 1]],
184
+ ["index", ["SOAP::SOAPInt", XSD::QName.new(NsV8, "Index")], [0, 1]],
185
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Message")], [0, 1]]
186
+ ]
187
+ )
188
+
189
+ LiteralRegistry.register(
190
+ :class => AdCenterWrapper::ArrayOfOperationError,
191
+ :schema_type => XSD::QName.new(NsV8, "ArrayOfOperationError"),
192
+ :schema_element => [
193
+ ["operationError", ["AdCenterWrapper::OperationError[]", XSD::QName.new(NsV8, "OperationError")], [0, nil]]
194
+ ]
195
+ )
196
+
197
+ LiteralRegistry.register(
198
+ :class => AdCenterWrapper::OperationError,
199
+ :schema_type => XSD::QName.new(NsV8, "OperationError"),
200
+ :schema_element => [
201
+ ["code", ["AdCenterWrapper::ErrorCodes", XSD::QName.new(NsV8, "Code")], [0, 1]],
202
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Details")], [0, 1]],
203
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsV8, "ErrorCode")], [0, 1]],
204
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Message")], [0, 1]]
205
+ ]
206
+ )
207
+
208
+ LiteralRegistry.register(
209
+ :class => AdCenterWrapper::ArrayOfBudgetOpportunity,
210
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "ArrayOfBudgetOpportunity"),
211
+ :schema_element => [
212
+ ["budgetOpportunity", ["AdCenterWrapper::BudgetOpportunity[]", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetOpportunity")], [0, nil]]
213
+ ]
214
+ )
215
+
216
+ LiteralRegistry.register(
217
+ :class => AdCenterWrapper::BudgetOpportunity,
218
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetOpportunity"),
219
+ :schema_basetype => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "Opportunity"),
220
+ :schema_element => [
221
+ ["expirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "ExpirationDate")], [0, 1]],
222
+ ["opportunityKey", ["SOAP::SOAPString", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "OpportunityKey")], [0, 1]],
223
+ ["budgetDepletionDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetDepletionDate")], [0, 1]],
224
+ ["budgetType", ["AdCenterWrapper::BudgetLimitType", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetType")], [0, 1]],
225
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "CampaignId")], [0, 1]],
226
+ ["currentBudget", ["SOAP::SOAPDouble", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "CurrentBudget")], [0, 1]],
227
+ ["increaseInClicks", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "IncreaseInClicks")], [0, 1]],
228
+ ["increaseInImpressions", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "IncreaseInImpressions")], [0, 1]],
229
+ ["percentageIncreaseInClicks", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "PercentageIncreaseInClicks")], [0, 1]],
230
+ ["percentageIncreaseInImpressions", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "PercentageIncreaseInImpressions")], [0, 1]],
231
+ ["recommendedBudget", ["SOAP::SOAPDouble", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "RecommendedBudget")], [0, 1]]
232
+ ]
233
+ )
234
+
235
+ LiteralRegistry.register(
236
+ :class => AdCenterWrapper::Opportunity,
237
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "Opportunity"),
238
+ :schema_element => [
239
+ ["expirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "ExpirationDate")], [0, 1]],
240
+ ["opportunityKey", ["SOAP::SOAPString", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "OpportunityKey")], [0, 1]]
241
+ ]
242
+ )
243
+
244
+ LiteralRegistry.register(
245
+ :class => AdCenterWrapper::ApplicationFault,
246
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
247
+ :schema_element => [
248
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
249
+ ]
250
+ )
251
+
252
+ LiteralRegistry.register(
253
+ :class => AdCenterWrapper::AdApiFaultDetail,
254
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
255
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
256
+ :schema_element => [
257
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
258
+ ["errors", ["AdCenterWrapper::ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
259
+ ]
260
+ )
261
+
262
+ LiteralRegistry.register(
263
+ :class => AdCenterWrapper::ArrayOfAdApiError,
264
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
265
+ :schema_element => [
266
+ ["adApiError", ["AdCenterWrapper::AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
267
+ ]
268
+ )
269
+
270
+ LiteralRegistry.register(
271
+ :class => AdCenterWrapper::AdApiError,
272
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
273
+ :schema_element => [
274
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
275
+ ["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
276
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
277
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
278
+ ]
279
+ )
280
+
281
+ LiteralRegistry.register(
282
+ :class => AdCenterWrapper::ArrayOfstring,
283
+ :schema_type => XSD::QName.new(NsArrays, "ArrayOfstring"),
284
+ :schema_element => [
285
+ ["string", "SOAP::SOAPString[]", [0, nil]]
286
+ ]
287
+ )
288
+
289
+ LiteralRegistry.register(
290
+ :class => AdCenterWrapper::BudgetLimitType,
291
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContracts, "BudgetLimitType")
292
+ )
293
+
294
+ LiteralRegistry.register(
295
+ :class => AdCenterWrapper::ErrorCodes,
296
+ :schema_type => XSD::QName.new(NsMicrosoftAdCenterSharedApi, "ErrorCodes")
297
+ )
298
+
299
+ LiteralRegistry.register(
300
+ :class => AdCenterWrapper::GetBudgetOpportunitiesRequest,
301
+ :schema_name => XSD::QName.new(NsV8, "GetBudgetOpportunitiesRequest"),
302
+ :schema_element => [
303
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsV8, "AccountId")], [0, 1]]
304
+ ]
305
+ )
306
+
307
+ LiteralRegistry.register(
308
+ :class => AdCenterWrapper::GetBudgetOpportunitiesResponse,
309
+ :schema_name => XSD::QName.new(NsV8, "GetBudgetOpportunitiesResponse"),
310
+ :schema_element => [
311
+ ["opportunities", ["AdCenterWrapper::ArrayOfBudgetOpportunity", XSD::QName.new(NsV8, "Opportunities")], [0, 1]]
312
+ ]
313
+ )
314
+
315
+ LiteralRegistry.register(
316
+ :class => AdCenterWrapper::ApiFaultDetail,
317
+ :schema_name => XSD::QName.new(NsV8, "ApiFaultDetail"),
318
+ :schema_element => [
319
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
320
+ ["batchErrors", ["AdCenterWrapper::ArrayOfBatchError", XSD::QName.new(NsV8, "BatchErrors")], [0, 1]],
321
+ ["operationErrors", ["AdCenterWrapper::ArrayOfOperationError", XSD::QName.new(NsV8, "OperationErrors")], [0, 1]]
322
+ ]
323
+ )
324
+
325
+ LiteralRegistry.register(
326
+ :class => AdCenterWrapper::ArrayOfBatchError,
327
+ :schema_name => XSD::QName.new(NsV8, "ArrayOfBatchError"),
328
+ :schema_element => [
329
+ ["batchError", ["AdCenterWrapper::BatchError[]", XSD::QName.new(NsV8, "BatchError")], [0, nil]]
330
+ ]
331
+ )
332
+
333
+ LiteralRegistry.register(
334
+ :class => AdCenterWrapper::BatchError,
335
+ :schema_name => XSD::QName.new(NsV8, "BatchError"),
336
+ :schema_element => [
337
+ ["code", ["AdCenterWrapper::ErrorCodes", XSD::QName.new(NsV8, "Code")], [0, 1]],
338
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Details")], [0, 1]],
339
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsV8, "ErrorCode")], [0, 1]],
340
+ ["index", ["SOAP::SOAPInt", XSD::QName.new(NsV8, "Index")], [0, 1]],
341
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Message")], [0, 1]]
342
+ ]
343
+ )
344
+
345
+ LiteralRegistry.register(
346
+ :class => AdCenterWrapper::ArrayOfOperationError,
347
+ :schema_name => XSD::QName.new(NsV8, "ArrayOfOperationError"),
348
+ :schema_element => [
349
+ ["operationError", ["AdCenterWrapper::OperationError[]", XSD::QName.new(NsV8, "OperationError")], [0, nil]]
350
+ ]
351
+ )
352
+
353
+ LiteralRegistry.register(
354
+ :class => AdCenterWrapper::OperationError,
355
+ :schema_name => XSD::QName.new(NsV8, "OperationError"),
356
+ :schema_element => [
357
+ ["code", ["AdCenterWrapper::ErrorCodes", XSD::QName.new(NsV8, "Code")], [0, 1]],
358
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Details")], [0, 1]],
359
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsV8, "ErrorCode")], [0, 1]],
360
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsV8, "Message")], [0, 1]]
361
+ ]
362
+ )
363
+
364
+ LiteralRegistry.register(
365
+ :class => AdCenterWrapper::ApplyBudgetOpportunitiesRequest,
366
+ :schema_name => XSD::QName.new(NsV8, "ApplyBudgetOpportunitiesRequest"),
367
+ :schema_element => [
368
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsV8, "AccountId")], [0, 1]],
369
+ ["opportunityKeys", ["AdCenterWrapper::ArrayOfstring", XSD::QName.new(NsV8, "OpportunityKeys")], [0, 1]]
370
+ ]
371
+ )
372
+
373
+ LiteralRegistry.register(
374
+ :class => AdCenterWrapper::ApplyBudgetOpportunitiesResponse,
375
+ :schema_name => XSD::QName.new(NsV8, "ApplyBudgetOpportunitiesResponse"),
376
+ :schema_element => []
377
+ )
378
+
379
+ LiteralRegistry.register(
380
+ :class => AdCenterWrapper::ArrayOfBudgetOpportunity,
381
+ :schema_name => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "ArrayOfBudgetOpportunity"),
382
+ :schema_element => [
383
+ ["budgetOpportunity", ["AdCenterWrapper::BudgetOpportunity[]", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetOpportunity")], [0, nil]]
384
+ ]
385
+ )
386
+
387
+ LiteralRegistry.register(
388
+ :class => AdCenterWrapper::BudgetOpportunity,
389
+ :schema_name => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetOpportunity"),
390
+ :schema_element => [
391
+ ["expirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "ExpirationDate")], [0, 1]],
392
+ ["opportunityKey", ["SOAP::SOAPString", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "OpportunityKey")], [0, 1]],
393
+ ["budgetDepletionDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetDepletionDate")], [0, 1]],
394
+ ["budgetType", ["AdCenterWrapper::BudgetLimitType", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "BudgetType")], [0, 1]],
395
+ ["campaignId", ["SOAP::SOAPLong", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "CampaignId")], [0, 1]],
396
+ ["currentBudget", ["SOAP::SOAPDouble", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "CurrentBudget")], [0, 1]],
397
+ ["increaseInClicks", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "IncreaseInClicks")], [0, 1]],
398
+ ["increaseInImpressions", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "IncreaseInImpressions")], [0, 1]],
399
+ ["percentageIncreaseInClicks", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "PercentageIncreaseInClicks")], [0, 1]],
400
+ ["percentageIncreaseInImpressions", ["SOAP::SOAPInt", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "PercentageIncreaseInImpressions")], [0, 1]],
401
+ ["recommendedBudget", ["SOAP::SOAPDouble", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "RecommendedBudget")], [0, 1]]
402
+ ]
403
+ )
404
+
405
+ LiteralRegistry.register(
406
+ :class => AdCenterWrapper::Opportunity,
407
+ :schema_name => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "Opportunity"),
408
+ :schema_element => [
409
+ ["expirationDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "ExpirationDate")], [0, 1]],
410
+ ["opportunityKey", ["SOAP::SOAPString", XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContractsEntities, "OpportunityKey")], [0, 1]]
411
+ ]
412
+ )
413
+
414
+ LiteralRegistry.register(
415
+ :class => AdCenterWrapper::BudgetLimitType,
416
+ :schema_name => XSD::QName.new(NsMicrosoftAdCenterAdvertiserOptimizerApiDataContracts, "BudgetLimitType")
417
+ )
418
+
419
+ LiteralRegistry.register(
420
+ :class => AdCenterWrapper::ApplicationFault,
421
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
422
+ :schema_element => [
423
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
424
+ ]
425
+ )
426
+
427
+ LiteralRegistry.register(
428
+ :class => AdCenterWrapper::AdApiFaultDetail,
429
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
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::ArrayOfAdApiError,
438
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
439
+ :schema_element => [
440
+ ["adApiError", ["AdCenterWrapper::AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
441
+ ]
442
+ )
443
+
444
+ LiteralRegistry.register(
445
+ :class => AdCenterWrapper::AdApiError,
446
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
447
+ :schema_element => [
448
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
449
+ ["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
450
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
451
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
452
+ ]
453
+ )
454
+
455
+ LiteralRegistry.register(
456
+ :class => AdCenterWrapper::ErrorCodes,
457
+ :schema_name => XSD::QName.new(NsMicrosoftAdCenterSharedApi, "ErrorCodes")
458
+ )
459
+
460
+ LiteralRegistry.register(
461
+ :class => AdCenterWrapper::ArrayOfstring,
462
+ :schema_name => XSD::QName.new(NsArrays, "ArrayOfstring"),
463
+ :schema_element => [
464
+ ["string", "SOAP::SOAPString[]", [0, nil]]
465
+ ]
466
+ )
467
+ end
468
+
469
+ end