adcenter-client 7.0.3 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,85 @@
1
+ require 'xsd/qname'
2
+
3
+ module AdCenterWrapper
4
+
5
+
6
+ # {https://adapi.microsoft.com}ApplicationFault
7
+ # trackingId - SOAP::SOAPString
8
+ class ApplicationFault
9
+ attr_accessor :trackingId
10
+
11
+ def initialize(trackingId = nil)
12
+ @trackingId = trackingId
13
+ end
14
+ end
15
+
16
+ # {https://adapi.microsoft.com}AdApiFaultDetail
17
+ # trackingId - SOAP::SOAPString
18
+ # errors - AdCenterWrapper::ArrayOfAdApiError
19
+ class AdApiFaultDetail < ::StandardError
20
+ attr_accessor :trackingId
21
+ attr_accessor :errors
22
+
23
+ def initialize(trackingId = nil, errors = nil)
24
+ @trackingId = trackingId
25
+ @errors = errors
26
+ end
27
+ end
28
+
29
+ # {https://adapi.microsoft.com}ArrayOfAdApiError
30
+ class ArrayOfAdApiError < ::Array
31
+ end
32
+
33
+ # {https://adapi.microsoft.com}AdApiError
34
+ # code - SOAP::SOAPInt
35
+ # detail - SOAP::SOAPString
36
+ # errorCode - SOAP::SOAPString
37
+ # message - SOAP::SOAPString
38
+ class AdApiError
39
+ attr_accessor :code
40
+ attr_accessor :detail
41
+ attr_accessor :errorCode
42
+ attr_accessor :message
43
+
44
+ def initialize(code = nil, detail = nil, errorCode = nil, message = nil)
45
+ @code = code
46
+ @detail = detail
47
+ @errorCode = errorCode
48
+ @message = message
49
+ end
50
+ end
51
+
52
+ # {https://adcenter.microsoft.com/v8}GetAssignedQuotaRequest
53
+ class GetAssignedQuotaRequest
54
+ def initialize
55
+ end
56
+ end
57
+
58
+ # {https://adcenter.microsoft.com/v8}GetAssignedQuotaResponse
59
+ # assignedQuota - SOAP::SOAPLong
60
+ class GetAssignedQuotaResponse
61
+ attr_accessor :assignedQuota
62
+
63
+ def initialize(assignedQuota = nil)
64
+ @assignedQuota = assignedQuota
65
+ end
66
+ end
67
+
68
+ # {https://adcenter.microsoft.com/v8}GetRemainingQuotaRequest
69
+ class GetRemainingQuotaRequest
70
+ def initialize
71
+ end
72
+ end
73
+
74
+ # {https://adcenter.microsoft.com/v8}GetRemainingQuotaResponse
75
+ # remainingQuota - SOAP::SOAPLong
76
+ class GetRemainingQuotaResponse
77
+ attr_accessor :remainingQuota
78
+
79
+ def initialize(remainingQuota = nil)
80
+ @remainingQuota = remainingQuota
81
+ end
82
+ end
83
+
84
+
85
+ end
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env ruby
2
+ require 'AdministrationServiceDriver.rb'
3
+
4
+
5
+ module AdCenterWrapper
6
+
7
+ endpoint_url = ARGV.shift
8
+ obj = IAdministrationService.new(endpoint_url)
9
+
10
+ # run ruby with -d to see SOAP wiredumps.
11
+ obj.wiredump_dev = STDERR if $DEBUG
12
+
13
+ # SYNOPSIS
14
+ # GetAssignedQuota(parameters)
15
+ #
16
+ # ARGS
17
+ # parameters GetAssignedQuotaRequest - {https://adcenter.microsoft.com/v8}GetAssignedQuotaRequest
18
+ #
19
+ # RETURNS
20
+ # parameters GetAssignedQuotaResponse - {https://adcenter.microsoft.com/v8}GetAssignedQuotaResponse
21
+ #
22
+ # RAISES
23
+ # detail AdApiFaultDetail - {https://adapi.microsoft.com}AdApiFaultDetail
24
+ #
25
+ parameters = nil
26
+ puts obj.getAssignedQuota(parameters)
27
+
28
+ # SYNOPSIS
29
+ # GetRemainingQuota(parameters)
30
+ #
31
+ # ARGS
32
+ # parameters GetRemainingQuotaRequest - {https://adcenter.microsoft.com/v8}GetRemainingQuotaRequest
33
+ #
34
+ # RETURNS
35
+ # parameters GetRemainingQuotaResponse - {https://adcenter.microsoft.com/v8}GetRemainingQuotaResponse
36
+ #
37
+ # RAISES
38
+ # detail AdApiFaultDetail - {https://adapi.microsoft.com}AdApiFaultDetail
39
+ #
40
+ parameters = nil
41
+ puts obj.getRemainingQuota(parameters)
42
+
43
+
44
+
45
+
46
+ end
@@ -1,28 +1,28 @@
1
- require 'adcenter_wrapper_entities'
1
+ require 'AdministrationService.rb'
2
2
  require 'AdministrationServiceMappingRegistry.rb'
3
3
  require 'soap/rpc/driver'
4
4
 
5
5
  module AdCenterWrapper
6
6
 
7
7
  class IAdministrationService < ::SOAP::RPC::Driver
8
- DefaultEndpointUrl = "https://adcenterapi.microsoft.com/Api/Advertiser/V7/Administration/AdministrationService.svc"
8
+ DefaultEndpointUrl = "https://adcenterapi.microsoft.com/Api/Advertiser/V8/Administration/AdministrationService.svc"
9
9
 
10
10
  Methods = [
11
11
  [ "GetAssignedQuota",
12
12
  "getAssignedQuota",
13
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v7", "GetAssignedQuotaRequest"]],
14
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v7", "GetAssignedQuotaResponse"]] ],
13
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetAssignedQuotaRequest"]],
14
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetAssignedQuotaResponse"]] ],
15
15
  { :request_style => :document, :request_use => :literal,
16
16
  :response_style => :document, :response_use => :literal,
17
- :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"AdApiFaultDetailFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v7"}} }
17
+ :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
18
18
  ],
19
19
  [ "GetRemainingQuota",
20
20
  "getRemainingQuota",
21
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v7", "GetRemainingQuotaRequest"]],
22
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v7", "GetRemainingQuotaResponse"]] ],
21
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetRemainingQuotaRequest"]],
22
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/v8", "GetRemainingQuotaResponse"]] ],
23
23
  { :request_style => :document, :request_use => :literal,
24
24
  :response_style => :document, :response_use => :literal,
25
- :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"AdApiFaultDetailFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v7"}} }
25
+ :faults => {"AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/v8", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
26
26
  ]
27
27
  ]
28
28
 
@@ -1,4 +1,5 @@
1
1
  require 'adcenter_wrapper_entities'
2
+ require 'AdministrationService.rb'
2
3
  require 'soap/mapping'
3
4
 
4
5
  module AdCenterWrapper
@@ -7,7 +8,7 @@ module AdministrationServiceMappingRegistry
7
8
  EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
8
9
  LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
9
10
  NsAdapiMicrosoftCom = "https://adapi.microsoft.com"
10
- NsV7 = "https://adcenter.microsoft.com/v7"
11
+ NsV8 = "https://adcenter.microsoft.com/v8"
11
12
 
12
13
  EncodedRegistry.register(
13
14
  :class => AdCenterWrapper::AdApiFaultDetail,
@@ -85,29 +86,29 @@ module AdministrationServiceMappingRegistry
85
86
 
86
87
  LiteralRegistry.register(
87
88
  :class => AdCenterWrapper::GetAssignedQuotaRequest,
88
- :schema_name => XSD::QName.new(NsV7, "GetAssignedQuotaRequest"),
89
+ :schema_name => XSD::QName.new(NsV8, "GetAssignedQuotaRequest"),
89
90
  :schema_element => []
90
91
  )
91
92
 
92
93
  LiteralRegistry.register(
93
94
  :class => AdCenterWrapper::GetAssignedQuotaResponse,
94
- :schema_name => XSD::QName.new(NsV7, "GetAssignedQuotaResponse"),
95
+ :schema_name => XSD::QName.new(NsV8, "GetAssignedQuotaResponse"),
95
96
  :schema_element => [
96
- ["assignedQuota", ["SOAP::SOAPLong", XSD::QName.new(NsV7, "AssignedQuota")], [0, 1]]
97
+ ["assignedQuota", ["SOAP::SOAPLong", XSD::QName.new(NsV8, "AssignedQuota")], [0, 1]]
97
98
  ]
98
99
  )
99
100
 
100
101
  LiteralRegistry.register(
101
102
  :class => AdCenterWrapper::GetRemainingQuotaRequest,
102
- :schema_name => XSD::QName.new(NsV7, "GetRemainingQuotaRequest"),
103
+ :schema_name => XSD::QName.new(NsV8, "GetRemainingQuotaRequest"),
103
104
  :schema_element => []
104
105
  )
105
106
 
106
107
  LiteralRegistry.register(
107
108
  :class => AdCenterWrapper::GetRemainingQuotaResponse,
108
- :schema_name => XSD::QName.new(NsV7, "GetRemainingQuotaResponse"),
109
+ :schema_name => XSD::QName.new(NsV8, "GetRemainingQuotaResponse"),
109
110
  :schema_element => [
110
- ["remainingQuota", ["SOAP::SOAPLong", XSD::QName.new(NsV7, "RemainingQuota")], [0, 1]]
111
+ ["remainingQuota", ["SOAP::SOAPLong", XSD::QName.new(NsV8, "RemainingQuota")], [0, 1]]
111
112
  ]
112
113
  )
113
114
 
@@ -0,0 +1,3413 @@
1
+ require 'xsd/qname'
2
+
3
+ module AdCenterWrapper
4
+
5
+
6
+ # {https://adcenter.microsoft.com/v8}Ad
7
+ # editorialStatus - AdCenterWrapper::AdEditorialStatus
8
+ # id - SOAP::SOAPLong
9
+ # status - AdCenterWrapper::AdStatus
10
+ # type - AdCenterWrapper::AdType
11
+ class Ad
12
+ attr_accessor :editorialStatus
13
+ attr_accessor :id
14
+ attr_accessor :status
15
+ attr_accessor :type
16
+
17
+ def initialize(editorialStatus = nil, id = nil, status = nil, type = nil)
18
+ @editorialStatus = editorialStatus
19
+ @id = id
20
+ @status = status
21
+ @type = type
22
+ end
23
+ end
24
+
25
+ # {https://adcenter.microsoft.com/v8}MobileAd
26
+ # editorialStatus - AdCenterWrapper::AdEditorialStatus
27
+ # id - SOAP::SOAPLong
28
+ # status - AdCenterWrapper::AdStatus
29
+ # type - AdCenterWrapper::AdType
30
+ # businessName - SOAP::SOAPString
31
+ # destinationUrl - SOAP::SOAPString
32
+ # displayUrl - SOAP::SOAPString
33
+ # phoneNumber - SOAP::SOAPString
34
+ # text - SOAP::SOAPString
35
+ # title - SOAP::SOAPString
36
+ class MobileAd < Ad
37
+ attr_accessor :editorialStatus
38
+ attr_accessor :id
39
+ attr_accessor :status
40
+ attr_accessor :type
41
+ attr_accessor :businessName
42
+ attr_accessor :destinationUrl
43
+ attr_accessor :displayUrl
44
+ attr_accessor :phoneNumber
45
+ attr_accessor :text
46
+ attr_accessor :title
47
+
48
+ def initialize(editorialStatus = nil, id = nil, status = nil, type = nil, businessName = nil, destinationUrl = nil, displayUrl = nil, phoneNumber = nil, text = nil, title = nil)
49
+ @editorialStatus = editorialStatus
50
+ @id = id
51
+ @status = status
52
+ @type = type
53
+ @businessName = businessName
54
+ @destinationUrl = destinationUrl
55
+ @displayUrl = displayUrl
56
+ @phoneNumber = phoneNumber
57
+ @text = text
58
+ @title = title
59
+ end
60
+ end
61
+
62
+ # {https://adcenter.microsoft.com/v8}TextAd
63
+ # editorialStatus - AdCenterWrapper::AdEditorialStatus
64
+ # id - SOAP::SOAPLong
65
+ # status - AdCenterWrapper::AdStatus
66
+ # type - AdCenterWrapper::AdType
67
+ # destinationUrl - SOAP::SOAPString
68
+ # displayUrl - SOAP::SOAPString
69
+ # text - SOAP::SOAPString
70
+ # title - SOAP::SOAPString
71
+ class TextAd < Ad
72
+ attr_accessor :editorialStatus
73
+ attr_accessor :id
74
+ attr_accessor :status
75
+ attr_accessor :type
76
+ attr_accessor :destinationUrl
77
+ attr_accessor :displayUrl
78
+ attr_accessor :text
79
+ attr_accessor :title
80
+
81
+ def initialize(editorialStatus = nil, id = nil, status = nil, type = nil, destinationUrl = nil, displayUrl = nil, text = nil, title = nil)
82
+ @editorialStatus = editorialStatus
83
+ @id = id
84
+ @status = status
85
+ @type = type
86
+ @destinationUrl = destinationUrl
87
+ @displayUrl = displayUrl
88
+ @text = text
89
+ @title = title
90
+ end
91
+ end
92
+
93
+ # {https://adcenter.microsoft.com/v8}ArrayOfAd
94
+ class ArrayOfAd < ::Array
95
+ end
96
+
97
+ # {https://adcenter.microsoft.com/v8}ArrayOfBatchError
98
+ class ArrayOfBatchError < ::Array
99
+ end
100
+
101
+ # {https://adcenter.microsoft.com/v8}BatchError
102
+ # code - SOAP::SOAPInt
103
+ # details - SOAP::SOAPString
104
+ # errorCode - SOAP::SOAPString
105
+ # index - SOAP::SOAPInt
106
+ # message - SOAP::SOAPString
107
+ class BatchError
108
+ attr_accessor :code
109
+ attr_accessor :details
110
+ attr_accessor :errorCode
111
+ attr_accessor :index
112
+ attr_accessor :message
113
+
114
+ def initialize(code = nil, details = nil, errorCode = nil, index = nil, message = nil)
115
+ @code = code
116
+ @details = details
117
+ @errorCode = errorCode
118
+ @index = index
119
+ @message = message
120
+ end
121
+ end
122
+
123
+ # {https://adcenter.microsoft.com/v8}ArrayOfOperationError
124
+ class ArrayOfOperationError < ::Array
125
+ end
126
+
127
+ # {https://adcenter.microsoft.com/v8}OperationError
128
+ # code - SOAP::SOAPInt
129
+ # details - SOAP::SOAPString
130
+ # errorCode - SOAP::SOAPString
131
+ # message - SOAP::SOAPString
132
+ class OperationError
133
+ attr_accessor :code
134
+ attr_accessor :details
135
+ attr_accessor :errorCode
136
+ attr_accessor :message
137
+
138
+ def initialize(code = nil, details = nil, errorCode = nil, message = nil)
139
+ @code = code
140
+ @details = details
141
+ @errorCode = errorCode
142
+ @message = message
143
+ end
144
+ end
145
+
146
+ # {https://adcenter.microsoft.com/v8}ArrayOfEditorialError
147
+ class ArrayOfEditorialError < ::Array
148
+ end
149
+
150
+ # {https://adcenter.microsoft.com/v8}EditorialError
151
+ # appealable - SOAP::SOAPBoolean
152
+ # code - SOAP::SOAPInt
153
+ # disapprovedText - SOAP::SOAPString
154
+ # errorCode - SOAP::SOAPString
155
+ # index - SOAP::SOAPInt
156
+ # message - SOAP::SOAPString
157
+ # publisherCountry - SOAP::SOAPString
158
+ class EditorialError
159
+ attr_accessor :appealable
160
+ attr_accessor :code
161
+ attr_accessor :disapprovedText
162
+ attr_accessor :errorCode
163
+ attr_accessor :index
164
+ attr_accessor :message
165
+ attr_accessor :publisherCountry
166
+
167
+ def initialize(appealable = nil, code = nil, disapprovedText = nil, errorCode = nil, index = nil, message = nil, publisherCountry = nil)
168
+ @appealable = appealable
169
+ @code = code
170
+ @disapprovedText = disapprovedText
171
+ @errorCode = errorCode
172
+ @index = index
173
+ @message = message
174
+ @publisherCountry = publisherCountry
175
+ end
176
+ end
177
+
178
+ # {https://adcenter.microsoft.com/v8}ArrayOfKeyword
179
+ class ArrayOfKeyword < ::Array
180
+ end
181
+
182
+ # {https://adcenter.microsoft.com/v8}Keyword
183
+ # broadMatchBid - AdCenterWrapper::Bid
184
+ # contentMatchBid - AdCenterWrapper::Bid
185
+ # editorialStatus - AdCenterWrapper::KeywordEditorialStatus
186
+ # exactMatchBid - AdCenterWrapper::Bid
187
+ # id - SOAP::SOAPLong
188
+ # negativeKeywords - AdCenterWrapper::ArrayOfstring
189
+ # param1 - SOAP::SOAPString
190
+ # param2 - SOAP::SOAPString
191
+ # param3 - SOAP::SOAPString
192
+ # phraseMatchBid - AdCenterWrapper::Bid
193
+ # status - AdCenterWrapper::KeywordStatus
194
+ # text - SOAP::SOAPString
195
+ class Keyword
196
+ attr_accessor :broadMatchBid
197
+ attr_accessor :contentMatchBid
198
+ attr_accessor :editorialStatus
199
+ attr_accessor :exactMatchBid
200
+ attr_accessor :id
201
+ attr_accessor :negativeKeywords
202
+ attr_accessor :param1
203
+ attr_accessor :param2
204
+ attr_accessor :param3
205
+ attr_accessor :phraseMatchBid
206
+ attr_accessor :status
207
+ attr_accessor :text
208
+
209
+ def initialize(broadMatchBid = nil, contentMatchBid = nil, editorialStatus = nil, exactMatchBid = nil, id = nil, negativeKeywords = nil, param1 = nil, param2 = nil, param3 = nil, phraseMatchBid = nil, status = nil, text = nil)
210
+ @broadMatchBid = broadMatchBid
211
+ @contentMatchBid = contentMatchBid
212
+ @editorialStatus = editorialStatus
213
+ @exactMatchBid = exactMatchBid
214
+ @id = id
215
+ @negativeKeywords = negativeKeywords
216
+ @param1 = param1
217
+ @param2 = param2
218
+ @param3 = param3
219
+ @phraseMatchBid = phraseMatchBid
220
+ @status = status
221
+ @text = text
222
+ end
223
+ end
224
+
225
+ # {https://adcenter.microsoft.com/v8}Bid
226
+ # amount - SOAP::SOAPDouble
227
+ class Bid
228
+ attr_accessor :amount
229
+
230
+ def initialize(amount = nil)
231
+ @amount = amount
232
+ end
233
+ end
234
+
235
+ # {https://adcenter.microsoft.com/v8}ArrayOfBusiness
236
+ class ArrayOfBusiness < ::Array
237
+ end
238
+
239
+ # {https://adcenter.microsoft.com/v8}Business
240
+ # addressLine1 - SOAP::SOAPString
241
+ # addressLine2 - SOAP::SOAPString
242
+ # businessImageIcon - AdCenterWrapper::BusinessImageIcon
243
+ # city - SOAP::SOAPString
244
+ # countryOrRegion - SOAP::SOAPString
245
+ # description - SOAP::SOAPString
246
+ # email - SOAP::SOAPString
247
+ # geoCodeStatus - AdCenterWrapper::BusinessGeoCodeStatus
248
+ # hrsOfOperation - AdCenterWrapper::ArrayOfHoursOfOperation
249
+ # id - SOAP::SOAPLong
250
+ # isOpen24Hours - SOAP::SOAPBoolean
251
+ # latitudeDegrees - SOAP::SOAPDouble
252
+ # longitudeDegrees - SOAP::SOAPDouble
253
+ # name - SOAP::SOAPString
254
+ # otherPaymentTypeDesc - SOAP::SOAPString
255
+ # payment - AdCenterWrapper::ArrayOfPaymentType
256
+ # phone - SOAP::SOAPString
257
+ # stateOrProvince - SOAP::SOAPString
258
+ # status - AdCenterWrapper::BusinessStatus
259
+ # uRL - SOAP::SOAPString
260
+ # zipOrPostalCode - SOAP::SOAPString
261
+ class Business
262
+ attr_accessor :addressLine1
263
+ attr_accessor :addressLine2
264
+ attr_accessor :businessImageIcon
265
+ attr_accessor :city
266
+ attr_accessor :countryOrRegion
267
+ attr_accessor :description
268
+ attr_accessor :email
269
+ attr_accessor :geoCodeStatus
270
+ attr_accessor :hrsOfOperation
271
+ attr_accessor :id
272
+ attr_accessor :isOpen24Hours
273
+ attr_accessor :latitudeDegrees
274
+ attr_accessor :longitudeDegrees
275
+ attr_accessor :name
276
+ attr_accessor :otherPaymentTypeDesc
277
+ attr_accessor :payment
278
+ attr_accessor :phone
279
+ attr_accessor :stateOrProvince
280
+ attr_accessor :status
281
+ attr_accessor :uRL
282
+ attr_accessor :zipOrPostalCode
283
+
284
+ def initialize(addressLine1 = nil, addressLine2 = nil, businessImageIcon = nil, city = nil, countryOrRegion = nil, description = nil, email = nil, geoCodeStatus = nil, hrsOfOperation = nil, id = nil, isOpen24Hours = nil, latitudeDegrees = nil, longitudeDegrees = nil, name = nil, otherPaymentTypeDesc = nil, payment = nil, phone = nil, stateOrProvince = nil, status = nil, uRL = nil, zipOrPostalCode = nil)
285
+ @addressLine1 = addressLine1
286
+ @addressLine2 = addressLine2
287
+ @businessImageIcon = businessImageIcon
288
+ @city = city
289
+ @countryOrRegion = countryOrRegion
290
+ @description = description
291
+ @email = email
292
+ @geoCodeStatus = geoCodeStatus
293
+ @hrsOfOperation = hrsOfOperation
294
+ @id = id
295
+ @isOpen24Hours = isOpen24Hours
296
+ @latitudeDegrees = latitudeDegrees
297
+ @longitudeDegrees = longitudeDegrees
298
+ @name = name
299
+ @otherPaymentTypeDesc = otherPaymentTypeDesc
300
+ @payment = payment
301
+ @phone = phone
302
+ @stateOrProvince = stateOrProvince
303
+ @status = status
304
+ @uRL = uRL
305
+ @zipOrPostalCode = zipOrPostalCode
306
+ end
307
+ end
308
+
309
+ # {https://adcenter.microsoft.com/v8}BusinessImageIcon
310
+ # customIconAssetId - SOAP::SOAPLong
311
+ # standardBusinessIcon - AdCenterWrapper::StandardBusinessIcon
312
+ class BusinessImageIcon
313
+ attr_accessor :customIconAssetId
314
+ attr_accessor :standardBusinessIcon
315
+
316
+ def initialize(customIconAssetId = nil, standardBusinessIcon = nil)
317
+ @customIconAssetId = customIconAssetId
318
+ @standardBusinessIcon = standardBusinessIcon
319
+ end
320
+ end
321
+
322
+ # {https://adcenter.microsoft.com/v8}ArrayOfHoursOfOperation
323
+ class ArrayOfHoursOfOperation < ::Array
324
+ end
325
+
326
+ # {https://adcenter.microsoft.com/v8}HoursOfOperation
327
+ # day - AdCenterWrapper::Day
328
+ # openTime1 - AdCenterWrapper::DayTimeInterval
329
+ # openTime2 - AdCenterWrapper::DayTimeInterval
330
+ class HoursOfOperation
331
+ attr_accessor :day
332
+ attr_accessor :openTime1
333
+ attr_accessor :openTime2
334
+
335
+ def initialize(day = nil, openTime1 = nil, openTime2 = nil)
336
+ @day = day
337
+ @openTime1 = openTime1
338
+ @openTime2 = openTime2
339
+ end
340
+ end
341
+
342
+ # {https://adcenter.microsoft.com/v8}DayTimeInterval
343
+ # m_begin - AdCenterWrapper::TimeOfTheDay
344
+ # m_end - AdCenterWrapper::TimeOfTheDay
345
+ class DayTimeInterval
346
+ def m_begin
347
+ @v_begin
348
+ end
349
+
350
+ def m_begin=(value)
351
+ @v_begin = value
352
+ end
353
+
354
+ def m_end
355
+ @v_end
356
+ end
357
+
358
+ def m_end=(value)
359
+ @v_end = value
360
+ end
361
+
362
+ def initialize(v_begin = nil, v_end = nil)
363
+ @v_begin = v_begin
364
+ @v_end = v_end
365
+ end
366
+ end
367
+
368
+ # {https://adcenter.microsoft.com/v8}TimeOfTheDay
369
+ # hour - SOAP::SOAPShort
370
+ # minute - SOAP::SOAPShort
371
+ class TimeOfTheDay
372
+ attr_accessor :hour
373
+ attr_accessor :minute
374
+
375
+ def initialize(hour = nil, minute = nil)
376
+ @hour = hour
377
+ @minute = minute
378
+ end
379
+ end
380
+
381
+ # {https://adcenter.microsoft.com/v8}ArrayOfPaymentType
382
+ class ArrayOfPaymentType < ::Array
383
+ end
384
+
385
+ # {https://adcenter.microsoft.com/v8}ArrayOfBusinessInfo
386
+ class ArrayOfBusinessInfo < ::Array
387
+ end
388
+
389
+ # {https://adcenter.microsoft.com/v8}BusinessInfo
390
+ # id - SOAP::SOAPLong
391
+ # name - SOAP::SOAPString
392
+ class BusinessInfo
393
+ attr_accessor :id
394
+ attr_accessor :name
395
+
396
+ def initialize(id = nil, name = nil)
397
+ @id = id
398
+ @name = name
399
+ end
400
+ end
401
+
402
+ # {https://adcenter.microsoft.com/v8}ArrayOfSitePlacement
403
+ class ArrayOfSitePlacement < ::Array
404
+ end
405
+
406
+ # {https://adcenter.microsoft.com/v8}SitePlacement
407
+ # bid - AdCenterWrapper::Bid
408
+ # id - SOAP::SOAPLong
409
+ # placementId - SOAP::SOAPLong
410
+ # status - AdCenterWrapper::SitePlacementStatus
411
+ # url - SOAP::SOAPString
412
+ class SitePlacement
413
+ attr_accessor :bid
414
+ attr_accessor :id
415
+ attr_accessor :placementId
416
+ attr_accessor :status
417
+ attr_accessor :url
418
+
419
+ def initialize(bid = nil, id = nil, placementId = nil, status = nil, url = nil)
420
+ @bid = bid
421
+ @id = id
422
+ @placementId = placementId
423
+ @status = status
424
+ @url = url
425
+ end
426
+ end
427
+
428
+ # {https://adcenter.microsoft.com/v8}ArrayOfArrayOfPlacementDetail
429
+ class ArrayOfArrayOfPlacementDetail < ::Array
430
+ end
431
+
432
+ # {https://adcenter.microsoft.com/v8}ArrayOfPlacementDetail
433
+ class ArrayOfPlacementDetail < ::Array
434
+ end
435
+
436
+ # {https://adcenter.microsoft.com/v8}PlacementDetail
437
+ # impressionsRangePerDay - AdCenterWrapper::ImpressionsPerDayRange
438
+ # pathName - SOAP::SOAPString
439
+ # placementId - SOAP::SOAPLong
440
+ # supportedMediaTypes - AdCenterWrapper::ArrayOfMediaType
441
+ class PlacementDetail
442
+ attr_accessor :impressionsRangePerDay
443
+ attr_accessor :pathName
444
+ attr_accessor :placementId
445
+ attr_accessor :supportedMediaTypes
446
+
447
+ def initialize(impressionsRangePerDay = nil, pathName = nil, placementId = nil, supportedMediaTypes = nil)
448
+ @impressionsRangePerDay = impressionsRangePerDay
449
+ @pathName = pathName
450
+ @placementId = placementId
451
+ @supportedMediaTypes = supportedMediaTypes
452
+ end
453
+ end
454
+
455
+ # {https://adcenter.microsoft.com/v8}ImpressionsPerDayRange
456
+ # maximum - SOAP::SOAPInt
457
+ # minimum - SOAP::SOAPInt
458
+ class ImpressionsPerDayRange
459
+ attr_accessor :maximum
460
+ attr_accessor :minimum
461
+
462
+ def initialize(maximum = nil, minimum = nil)
463
+ @maximum = maximum
464
+ @minimum = minimum
465
+ end
466
+ end
467
+
468
+ # {https://adcenter.microsoft.com/v8}ArrayOfMediaType
469
+ class ArrayOfMediaType < ::Array
470
+ end
471
+
472
+ # {https://adcenter.microsoft.com/v8}MediaType
473
+ # dimensions - AdCenterWrapper::ArrayOfDimension
474
+ # name - SOAP::SOAPString
475
+ class MediaType
476
+ attr_accessor :dimensions
477
+ attr_accessor :name
478
+
479
+ def initialize(dimensions = nil, name = nil)
480
+ @dimensions = dimensions
481
+ @name = name
482
+ end
483
+ end
484
+
485
+ # {https://adcenter.microsoft.com/v8}ArrayOfDimension
486
+ class ArrayOfDimension < ::Array
487
+ end
488
+
489
+ # {https://adcenter.microsoft.com/v8}Dimension
490
+ # height - SOAP::SOAPInt
491
+ # width - SOAP::SOAPInt
492
+ class Dimension
493
+ attr_accessor :height
494
+ attr_accessor :width
495
+
496
+ def initialize(height = nil, width = nil)
497
+ @height = height
498
+ @width = width
499
+ end
500
+ end
501
+
502
+ # {https://adcenter.microsoft.com/v8}ArrayOfEditorialReasonCollection
503
+ class ArrayOfEditorialReasonCollection < ::Array
504
+ end
505
+
506
+ # {https://adcenter.microsoft.com/v8}EditorialReasonCollection
507
+ # adOrKeywordId - SOAP::SOAPLong
508
+ # reasons - AdCenterWrapper::ArrayOfEditorialReason
509
+ class EditorialReasonCollection
510
+ attr_accessor :adOrKeywordId
511
+ attr_accessor :reasons
512
+
513
+ def initialize(adOrKeywordId = nil, reasons = nil)
514
+ @adOrKeywordId = adOrKeywordId
515
+ @reasons = reasons
516
+ end
517
+ end
518
+
519
+ # {https://adcenter.microsoft.com/v8}ArrayOfEditorialReason
520
+ class ArrayOfEditorialReason < ::Array
521
+ end
522
+
523
+ # {https://adcenter.microsoft.com/v8}EditorialReason
524
+ # location - AdCenterWrapper::AdComponent
525
+ # publisherCountries - AdCenterWrapper::ArrayOfstring
526
+ # reasonCode - SOAP::SOAPInt
527
+ # term - SOAP::SOAPString
528
+ class EditorialReason
529
+ attr_accessor :location
530
+ attr_accessor :publisherCountries
531
+ attr_accessor :reasonCode
532
+ attr_accessor :term
533
+
534
+ def initialize(location = nil, publisherCountries = nil, reasonCode = nil, term = nil)
535
+ @location = location
536
+ @publisherCountries = publisherCountries
537
+ @reasonCode = reasonCode
538
+ @term = term
539
+ end
540
+ end
541
+
542
+ # {https://adcenter.microsoft.com/v8}ArrayOfCampaignScope
543
+ class ArrayOfCampaignScope < ::Array
544
+ end
545
+
546
+ # {https://adcenter.microsoft.com/v8}CampaignScope
547
+ # campaignId - SOAP::SOAPLong
548
+ # parentAccountId - SOAP::SOAPLong
549
+ class CampaignScope
550
+ attr_accessor :campaignId
551
+ attr_accessor :parentAccountId
552
+
553
+ def initialize(campaignId = nil, parentAccountId = nil)
554
+ @campaignId = campaignId
555
+ @parentAccountId = parentAccountId
556
+ end
557
+ end
558
+
559
+ # {https://adcenter.microsoft.com/v8}ArrayOfAdExtension
560
+ class ArrayOfAdExtension < ::Array
561
+ end
562
+
563
+ # {https://adcenter.microsoft.com/v8}AdExtension
564
+ # campaignId - SOAP::SOAPLong
565
+ # enableLocationExtension - SOAP::SOAPBoolean
566
+ # phoneExtension - AdCenterWrapper::PhoneExtension
567
+ class AdExtension
568
+ attr_accessor :campaignId
569
+ attr_accessor :enableLocationExtension
570
+ attr_accessor :phoneExtension
571
+
572
+ def initialize(campaignId = nil, enableLocationExtension = nil, phoneExtension = nil)
573
+ @campaignId = campaignId
574
+ @enableLocationExtension = enableLocationExtension
575
+ @phoneExtension = phoneExtension
576
+ end
577
+ end
578
+
579
+ # {https://adcenter.microsoft.com/v8}PhoneExtension
580
+ # country - SOAP::SOAPString
581
+ # enableClickToCallOnly - SOAP::SOAPBoolean
582
+ # enablePhoneExtension - SOAP::SOAPBoolean
583
+ # phone - SOAP::SOAPString
584
+ class PhoneExtension
585
+ attr_accessor :country
586
+ attr_accessor :enableClickToCallOnly
587
+ attr_accessor :enablePhoneExtension
588
+ attr_accessor :phone
589
+
590
+ def initialize(country = nil, enableClickToCallOnly = nil, enablePhoneExtension = nil, phone = nil)
591
+ @country = country
592
+ @enableClickToCallOnly = enableClickToCallOnly
593
+ @enablePhoneExtension = enablePhoneExtension
594
+ @phone = phone
595
+ end
596
+ end
597
+
598
+ # {https://adcenter.microsoft.com/v8}ArrayOfCampaign
599
+ class ArrayOfCampaign < ::Array
600
+ end
601
+
602
+ # {https://adcenter.microsoft.com/v8}Campaign
603
+ # budgetType - AdCenterWrapper::BudgetLimitType
604
+ # conversionTrackingEnabled - SOAP::SOAPBoolean
605
+ # dailyBudget - SOAP::SOAPDouble
606
+ # daylightSaving - SOAP::SOAPBoolean
607
+ # description - SOAP::SOAPString
608
+ # id - SOAP::SOAPLong
609
+ # monthlyBudget - SOAP::SOAPDouble
610
+ # name - SOAP::SOAPString
611
+ # status - AdCenterWrapper::CampaignStatus
612
+ # timeZone - SOAP::SOAPString
613
+ class Campaign
614
+ attr_accessor :budgetType
615
+ attr_accessor :conversionTrackingEnabled
616
+ attr_accessor :dailyBudget
617
+ attr_accessor :daylightSaving
618
+ attr_accessor :description
619
+ attr_accessor :id
620
+ attr_accessor :monthlyBudget
621
+ attr_accessor :name
622
+ attr_accessor :status
623
+ attr_accessor :timeZone
624
+
625
+ def initialize(budgetType = nil, conversionTrackingEnabled = nil, dailyBudget = nil, daylightSaving = nil, description = nil, id = nil, monthlyBudget = nil, name = nil, status = nil, timeZone = nil)
626
+ @budgetType = budgetType
627
+ @conversionTrackingEnabled = conversionTrackingEnabled
628
+ @dailyBudget = dailyBudget
629
+ @daylightSaving = daylightSaving
630
+ @description = description
631
+ @id = id
632
+ @monthlyBudget = monthlyBudget
633
+ @name = name
634
+ @status = status
635
+ @timeZone = timeZone
636
+ end
637
+ end
638
+
639
+ # {https://adcenter.microsoft.com/v8}ArrayOfCampaignNegativeKeywords
640
+ class ArrayOfCampaignNegativeKeywords < ::Array
641
+ end
642
+
643
+ # {https://adcenter.microsoft.com/v8}CampaignNegativeKeywords
644
+ # campaignId - SOAP::SOAPLong
645
+ # negativeKeywords - AdCenterWrapper::ArrayOfstring
646
+ class CampaignNegativeKeywords
647
+ attr_accessor :campaignId
648
+ attr_accessor :negativeKeywords
649
+
650
+ def initialize(campaignId = nil, negativeKeywords = nil)
651
+ @campaignId = campaignId
652
+ @negativeKeywords = negativeKeywords
653
+ end
654
+ end
655
+
656
+ # {https://adcenter.microsoft.com/v8}ArrayOfCampaignNegativeSites
657
+ class ArrayOfCampaignNegativeSites < ::Array
658
+ end
659
+
660
+ # {https://adcenter.microsoft.com/v8}CampaignNegativeSites
661
+ # campaignId - SOAP::SOAPLong
662
+ # negativeSites - AdCenterWrapper::ArrayOfstring
663
+ class CampaignNegativeSites
664
+ attr_accessor :campaignId
665
+ attr_accessor :negativeSites
666
+
667
+ def initialize(campaignId = nil, negativeSites = nil)
668
+ @campaignId = campaignId
669
+ @negativeSites = negativeSites
670
+ end
671
+ end
672
+
673
+ # {https://adcenter.microsoft.com/v8}ArrayOfAdGroup
674
+ class ArrayOfAdGroup < ::Array
675
+ end
676
+
677
+ # {https://adcenter.microsoft.com/v8}AdGroup
678
+ # adDistribution - (any)
679
+ # biddingModel - AdCenterWrapper::BiddingModel
680
+ # broadMatchBid - AdCenterWrapper::Bid
681
+ # contentMatchBid - AdCenterWrapper::Bid
682
+ # endDate - AdCenterWrapper::Date
683
+ # exactMatchBid - AdCenterWrapper::Bid
684
+ # id - SOAP::SOAPLong
685
+ # language - SOAP::SOAPString
686
+ # name - SOAP::SOAPString
687
+ # network - AdCenterWrapper::Network
688
+ # phraseMatchBid - AdCenterWrapper::Bid
689
+ # pricingModel - AdCenterWrapper::PricingModel
690
+ # publisherCountries - AdCenterWrapper::ArrayOfPublisherCountry
691
+ # startDate - AdCenterWrapper::Date
692
+ # status - AdCenterWrapper::AdGroupStatus
693
+ class AdGroup
694
+ attr_accessor :adDistribution
695
+ attr_accessor :biddingModel
696
+ attr_accessor :broadMatchBid
697
+ attr_accessor :contentMatchBid
698
+ attr_accessor :endDate
699
+ attr_accessor :exactMatchBid
700
+ attr_accessor :id
701
+ attr_accessor :language
702
+ attr_accessor :name
703
+ attr_accessor :network
704
+ attr_accessor :phraseMatchBid
705
+ attr_accessor :pricingModel
706
+ attr_accessor :publisherCountries
707
+ attr_accessor :startDate
708
+ attr_accessor :status
709
+
710
+ def initialize(adDistribution = nil, biddingModel = nil, broadMatchBid = nil, contentMatchBid = nil, endDate = nil, exactMatchBid = nil, id = nil, language = nil, name = nil, network = nil, phraseMatchBid = nil, pricingModel = nil, publisherCountries = nil, startDate = nil, status = nil)
711
+ @adDistribution = adDistribution
712
+ @biddingModel = biddingModel
713
+ @broadMatchBid = broadMatchBid
714
+ @contentMatchBid = contentMatchBid
715
+ @endDate = endDate
716
+ @exactMatchBid = exactMatchBid
717
+ @id = id
718
+ @language = language
719
+ @name = name
720
+ @network = network
721
+ @phraseMatchBid = phraseMatchBid
722
+ @pricingModel = pricingModel
723
+ @publisherCountries = publisherCountries
724
+ @startDate = startDate
725
+ @status = status
726
+ end
727
+ end
728
+
729
+ # {https://adcenter.microsoft.com/v8}Date
730
+ # day - SOAP::SOAPInt
731
+ # month - SOAP::SOAPInt
732
+ # year - SOAP::SOAPInt
733
+ class Date
734
+ attr_accessor :day
735
+ attr_accessor :month
736
+ attr_accessor :year
737
+
738
+ def initialize(day = nil, month = nil, year = nil)
739
+ @day = day
740
+ @month = month
741
+ @year = year
742
+ end
743
+ end
744
+
745
+ # {https://adcenter.microsoft.com/v8}ArrayOfPublisherCountry
746
+ class ArrayOfPublisherCountry < ::Array
747
+ end
748
+
749
+ # {https://adcenter.microsoft.com/v8}PublisherCountry
750
+ # country - SOAP::SOAPString
751
+ # isOptedIn - SOAP::SOAPBoolean
752
+ class PublisherCountry
753
+ attr_accessor :country
754
+ attr_accessor :isOptedIn
755
+
756
+ def initialize(country = nil, isOptedIn = nil)
757
+ @country = country
758
+ @isOptedIn = isOptedIn
759
+ end
760
+ end
761
+
762
+ # {https://adcenter.microsoft.com/v8}ArrayOfAdGroupNegativeKeywords
763
+ class ArrayOfAdGroupNegativeKeywords < ::Array
764
+ end
765
+
766
+ # {https://adcenter.microsoft.com/v8}AdGroupNegativeKeywords
767
+ # adGroupId - SOAP::SOAPLong
768
+ # negativeKeywords - AdCenterWrapper::ArrayOfstring
769
+ class AdGroupNegativeKeywords
770
+ attr_accessor :adGroupId
771
+ attr_accessor :negativeKeywords
772
+
773
+ def initialize(adGroupId = nil, negativeKeywords = nil)
774
+ @adGroupId = adGroupId
775
+ @negativeKeywords = negativeKeywords
776
+ end
777
+ end
778
+
779
+ # {https://adcenter.microsoft.com/v8}ArrayOfAdGroupNegativeSites
780
+ class ArrayOfAdGroupNegativeSites < ::Array
781
+ end
782
+
783
+ # {https://adcenter.microsoft.com/v8}AdGroupNegativeSites
784
+ # adGroupId - SOAP::SOAPLong
785
+ # negativeSites - AdCenterWrapper::ArrayOfstring
786
+ class AdGroupNegativeSites
787
+ attr_accessor :adGroupId
788
+ attr_accessor :negativeSites
789
+
790
+ def initialize(adGroupId = nil, negativeSites = nil)
791
+ @adGroupId = adGroupId
792
+ @negativeSites = negativeSites
793
+ end
794
+ end
795
+
796
+ # {https://adcenter.microsoft.com/v8}Target
797
+ # age - AdCenterWrapper::AgeTarget
798
+ # day - AdCenterWrapper::DayTarget
799
+ # device - AdCenterWrapper::DeviceTarget
800
+ # gender - AdCenterWrapper::GenderTarget
801
+ # hour - AdCenterWrapper::HourTarget
802
+ # id - SOAP::SOAPLong
803
+ # isLibraryTarget - SOAP::SOAPBoolean
804
+ # location - AdCenterWrapper::LocationTarget
805
+ # name - SOAP::SOAPString
806
+ class Target
807
+ attr_accessor :age
808
+ attr_accessor :day
809
+ attr_accessor :device
810
+ attr_accessor :gender
811
+ attr_accessor :hour
812
+ attr_accessor :id
813
+ attr_accessor :isLibraryTarget
814
+ attr_accessor :location
815
+ attr_accessor :name
816
+
817
+ def initialize(age = nil, day = nil, device = nil, gender = nil, hour = nil, id = nil, isLibraryTarget = nil, location = nil, name = nil)
818
+ @age = age
819
+ @day = day
820
+ @device = device
821
+ @gender = gender
822
+ @hour = hour
823
+ @id = id
824
+ @isLibraryTarget = isLibraryTarget
825
+ @location = location
826
+ @name = name
827
+ end
828
+ end
829
+
830
+ # {https://adcenter.microsoft.com/v8}AgeTarget
831
+ # bids - AdCenterWrapper::ArrayOfAgeTargetBid
832
+ class AgeTarget
833
+ attr_accessor :bids
834
+
835
+ def initialize(bids = nil)
836
+ @bids = bids
837
+ end
838
+ end
839
+
840
+ # {https://adcenter.microsoft.com/v8}ArrayOfAgeTargetBid
841
+ class ArrayOfAgeTargetBid < ::Array
842
+ end
843
+
844
+ # {https://adcenter.microsoft.com/v8}AgeTargetBid
845
+ # age - AdCenterWrapper::AgeRange
846
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
847
+ class AgeTargetBid
848
+ attr_accessor :age
849
+ attr_accessor :incrementalBid
850
+
851
+ def initialize(age = nil, incrementalBid = nil)
852
+ @age = age
853
+ @incrementalBid = incrementalBid
854
+ end
855
+ end
856
+
857
+ # {https://adcenter.microsoft.com/v8}DayTarget
858
+ # bids - AdCenterWrapper::ArrayOfDayTargetBid
859
+ # targetAllDays - SOAP::SOAPBoolean
860
+ class DayTarget
861
+ attr_accessor :bids
862
+ attr_accessor :targetAllDays
863
+
864
+ def initialize(bids = nil, targetAllDays = nil)
865
+ @bids = bids
866
+ @targetAllDays = targetAllDays
867
+ end
868
+ end
869
+
870
+ # {https://adcenter.microsoft.com/v8}ArrayOfDayTargetBid
871
+ class ArrayOfDayTargetBid < ::Array
872
+ end
873
+
874
+ # {https://adcenter.microsoft.com/v8}DayTargetBid
875
+ # day - AdCenterWrapper::Day
876
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
877
+ class DayTargetBid
878
+ attr_accessor :day
879
+ attr_accessor :incrementalBid
880
+
881
+ def initialize(day = nil, incrementalBid = nil)
882
+ @day = day
883
+ @incrementalBid = incrementalBid
884
+ end
885
+ end
886
+
887
+ # {https://adcenter.microsoft.com/v8}DeviceTarget
888
+ # devices - AdCenterWrapper::ArrayOfDeviceType
889
+ class DeviceTarget
890
+ attr_accessor :devices
891
+
892
+ def initialize(devices = nil)
893
+ @devices = devices
894
+ end
895
+ end
896
+
897
+ # {https://adcenter.microsoft.com/v8}ArrayOfDeviceType
898
+ class ArrayOfDeviceType < ::Array
899
+ end
900
+
901
+ # {https://adcenter.microsoft.com/v8}GenderTarget
902
+ # bids - AdCenterWrapper::ArrayOfGenderTargetBid
903
+ class GenderTarget
904
+ attr_accessor :bids
905
+
906
+ def initialize(bids = nil)
907
+ @bids = bids
908
+ end
909
+ end
910
+
911
+ # {https://adcenter.microsoft.com/v8}ArrayOfGenderTargetBid
912
+ class ArrayOfGenderTargetBid < ::Array
913
+ end
914
+
915
+ # {https://adcenter.microsoft.com/v8}GenderTargetBid
916
+ # gender - AdCenterWrapper::GenderType
917
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
918
+ class GenderTargetBid
919
+ attr_accessor :gender
920
+ attr_accessor :incrementalBid
921
+
922
+ def initialize(gender = nil, incrementalBid = nil)
923
+ @gender = gender
924
+ @incrementalBid = incrementalBid
925
+ end
926
+ end
927
+
928
+ # {https://adcenter.microsoft.com/v8}HourTarget
929
+ # bids - AdCenterWrapper::ArrayOfHourTargetBid
930
+ # targetAllHours - SOAP::SOAPBoolean
931
+ class HourTarget
932
+ attr_accessor :bids
933
+ attr_accessor :targetAllHours
934
+
935
+ def initialize(bids = nil, targetAllHours = nil)
936
+ @bids = bids
937
+ @targetAllHours = targetAllHours
938
+ end
939
+ end
940
+
941
+ # {https://adcenter.microsoft.com/v8}ArrayOfHourTargetBid
942
+ class ArrayOfHourTargetBid < ::Array
943
+ end
944
+
945
+ # {https://adcenter.microsoft.com/v8}HourTargetBid
946
+ # hour - AdCenterWrapper::HourRange
947
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
948
+ class HourTargetBid
949
+ attr_accessor :hour
950
+ attr_accessor :incrementalBid
951
+
952
+ def initialize(hour = nil, incrementalBid = nil)
953
+ @hour = hour
954
+ @incrementalBid = incrementalBid
955
+ end
956
+ end
957
+
958
+ # {https://adcenter.microsoft.com/v8}LocationTarget
959
+ # businessTarget - AdCenterWrapper::BusinessTarget
960
+ # cityTarget - AdCenterWrapper::CityTarget
961
+ # countryTarget - AdCenterWrapper::CountryTarget
962
+ # hasPhysicalIntent - SOAP::SOAPBoolean
963
+ # metroAreaTarget - AdCenterWrapper::MetroAreaTarget
964
+ # radiusTarget - AdCenterWrapper::RadiusTarget
965
+ # stateTarget - AdCenterWrapper::StateTarget
966
+ # targetAllLocations - SOAP::SOAPBoolean
967
+ class LocationTarget
968
+ attr_accessor :businessTarget
969
+ attr_accessor :cityTarget
970
+ attr_accessor :countryTarget
971
+ attr_accessor :hasPhysicalIntent
972
+ attr_accessor :metroAreaTarget
973
+ attr_accessor :radiusTarget
974
+ attr_accessor :stateTarget
975
+ attr_accessor :targetAllLocations
976
+
977
+ def initialize(businessTarget = nil, cityTarget = nil, countryTarget = nil, hasPhysicalIntent = nil, metroAreaTarget = nil, radiusTarget = nil, stateTarget = nil, targetAllLocations = nil)
978
+ @businessTarget = businessTarget
979
+ @cityTarget = cityTarget
980
+ @countryTarget = countryTarget
981
+ @hasPhysicalIntent = hasPhysicalIntent
982
+ @metroAreaTarget = metroAreaTarget
983
+ @radiusTarget = radiusTarget
984
+ @stateTarget = stateTarget
985
+ @targetAllLocations = targetAllLocations
986
+ end
987
+ end
988
+
989
+ # {https://adcenter.microsoft.com/v8}BusinessTarget
990
+ # bids - AdCenterWrapper::ArrayOfBusinessTargetBid
991
+ class BusinessTarget
992
+ attr_accessor :bids
993
+
994
+ def initialize(bids = nil)
995
+ @bids = bids
996
+ end
997
+ end
998
+
999
+ # {https://adcenter.microsoft.com/v8}ArrayOfBusinessTargetBid
1000
+ class ArrayOfBusinessTargetBid < ::Array
1001
+ end
1002
+
1003
+ # {https://adcenter.microsoft.com/v8}BusinessTargetBid
1004
+ # businessId - SOAP::SOAPLong
1005
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
1006
+ # radius - SOAP::SOAPInt
1007
+ class BusinessTargetBid
1008
+ attr_accessor :businessId
1009
+ attr_accessor :incrementalBid
1010
+ attr_accessor :radius
1011
+
1012
+ def initialize(businessId = nil, incrementalBid = nil, radius = nil)
1013
+ @businessId = businessId
1014
+ @incrementalBid = incrementalBid
1015
+ @radius = radius
1016
+ end
1017
+ end
1018
+
1019
+ # {https://adcenter.microsoft.com/v8}CityTarget
1020
+ # bids - AdCenterWrapper::ArrayOfCityTargetBid
1021
+ class CityTarget
1022
+ attr_accessor :bids
1023
+
1024
+ def initialize(bids = nil)
1025
+ @bids = bids
1026
+ end
1027
+ end
1028
+
1029
+ # {https://adcenter.microsoft.com/v8}ArrayOfCityTargetBid
1030
+ class ArrayOfCityTargetBid < ::Array
1031
+ end
1032
+
1033
+ # {https://adcenter.microsoft.com/v8}CityTargetBid
1034
+ # city - SOAP::SOAPString
1035
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
1036
+ class CityTargetBid
1037
+ attr_accessor :city
1038
+ attr_accessor :incrementalBid
1039
+
1040
+ def initialize(city = nil, incrementalBid = nil)
1041
+ @city = city
1042
+ @incrementalBid = incrementalBid
1043
+ end
1044
+ end
1045
+
1046
+ # {https://adcenter.microsoft.com/v8}CountryTarget
1047
+ # bids - AdCenterWrapper::ArrayOfCountryTargetBid
1048
+ class CountryTarget
1049
+ attr_accessor :bids
1050
+
1051
+ def initialize(bids = nil)
1052
+ @bids = bids
1053
+ end
1054
+ end
1055
+
1056
+ # {https://adcenter.microsoft.com/v8}ArrayOfCountryTargetBid
1057
+ class ArrayOfCountryTargetBid < ::Array
1058
+ end
1059
+
1060
+ # {https://adcenter.microsoft.com/v8}CountryTargetBid
1061
+ # countryAndRegion - SOAP::SOAPString
1062
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
1063
+ class CountryTargetBid
1064
+ attr_accessor :countryAndRegion
1065
+ attr_accessor :incrementalBid
1066
+
1067
+ def initialize(countryAndRegion = nil, incrementalBid = nil)
1068
+ @countryAndRegion = countryAndRegion
1069
+ @incrementalBid = incrementalBid
1070
+ end
1071
+ end
1072
+
1073
+ # {https://adcenter.microsoft.com/v8}MetroAreaTarget
1074
+ # bids - AdCenterWrapper::ArrayOfMetroAreaTargetBid
1075
+ class MetroAreaTarget
1076
+ attr_accessor :bids
1077
+
1078
+ def initialize(bids = nil)
1079
+ @bids = bids
1080
+ end
1081
+ end
1082
+
1083
+ # {https://adcenter.microsoft.com/v8}ArrayOfMetroAreaTargetBid
1084
+ class ArrayOfMetroAreaTargetBid < ::Array
1085
+ end
1086
+
1087
+ # {https://adcenter.microsoft.com/v8}MetroAreaTargetBid
1088
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
1089
+ # metroArea - SOAP::SOAPString
1090
+ class MetroAreaTargetBid
1091
+ attr_accessor :incrementalBid
1092
+ attr_accessor :metroArea
1093
+
1094
+ def initialize(incrementalBid = nil, metroArea = nil)
1095
+ @incrementalBid = incrementalBid
1096
+ @metroArea = metroArea
1097
+ end
1098
+ end
1099
+
1100
+ # {https://adcenter.microsoft.com/v8}RadiusTarget
1101
+ # bids - AdCenterWrapper::ArrayOfRadiusTargetBid
1102
+ class RadiusTarget
1103
+ attr_accessor :bids
1104
+
1105
+ def initialize(bids = nil)
1106
+ @bids = bids
1107
+ end
1108
+ end
1109
+
1110
+ # {https://adcenter.microsoft.com/v8}ArrayOfRadiusTargetBid
1111
+ class ArrayOfRadiusTargetBid < ::Array
1112
+ end
1113
+
1114
+ # {https://adcenter.microsoft.com/v8}RadiusTargetBid
1115
+ # id - SOAP::SOAPLong
1116
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
1117
+ # latitudeDegrees - SOAP::SOAPDouble
1118
+ # longitudeDegrees - SOAP::SOAPDouble
1119
+ # name - SOAP::SOAPString
1120
+ # radius - SOAP::SOAPInt
1121
+ class RadiusTargetBid
1122
+ attr_accessor :id
1123
+ attr_accessor :incrementalBid
1124
+ attr_accessor :latitudeDegrees
1125
+ attr_accessor :longitudeDegrees
1126
+ attr_accessor :name
1127
+ attr_accessor :radius
1128
+
1129
+ def initialize(id = nil, incrementalBid = nil, latitudeDegrees = nil, longitudeDegrees = nil, name = nil, radius = nil)
1130
+ @id = id
1131
+ @incrementalBid = incrementalBid
1132
+ @latitudeDegrees = latitudeDegrees
1133
+ @longitudeDegrees = longitudeDegrees
1134
+ @name = name
1135
+ @radius = radius
1136
+ end
1137
+ end
1138
+
1139
+ # {https://adcenter.microsoft.com/v8}StateTarget
1140
+ # bids - AdCenterWrapper::ArrayOfStateTargetBid
1141
+ class StateTarget
1142
+ attr_accessor :bids
1143
+
1144
+ def initialize(bids = nil)
1145
+ @bids = bids
1146
+ end
1147
+ end
1148
+
1149
+ # {https://adcenter.microsoft.com/v8}ArrayOfStateTargetBid
1150
+ class ArrayOfStateTargetBid < ::Array
1151
+ end
1152
+
1153
+ # {https://adcenter.microsoft.com/v8}StateTargetBid
1154
+ # incrementalBid - AdCenterWrapper::IncrementalBidPercentage
1155
+ # state - SOAP::SOAPString
1156
+ class StateTargetBid
1157
+ attr_accessor :incrementalBid
1158
+ attr_accessor :state
1159
+
1160
+ def initialize(incrementalBid = nil, state = nil)
1161
+ @incrementalBid = incrementalBid
1162
+ @state = state
1163
+ end
1164
+ end
1165
+
1166
+ # {https://adcenter.microsoft.com/v8}ArrayOfTarget
1167
+ class ArrayOfTarget < ::Array
1168
+ end
1169
+
1170
+ # {https://adcenter.microsoft.com/v8}ArrayOfTargetAssociation
1171
+ class ArrayOfTargetAssociation < ::Array
1172
+ end
1173
+
1174
+ # {https://adcenter.microsoft.com/v8}TargetAssociation
1175
+ # deviceOSTarget - AdCenterWrapper::DeviceOSTarget
1176
+ # id - SOAP::SOAPLong
1177
+ class TargetAssociation
1178
+ attr_accessor :deviceOSTarget
1179
+ attr_accessor :id
1180
+
1181
+ def initialize(deviceOSTarget = nil, id = nil)
1182
+ @deviceOSTarget = deviceOSTarget
1183
+ @id = id
1184
+ end
1185
+ end
1186
+
1187
+ # {https://adcenter.microsoft.com/v8}DeviceOSTarget
1188
+ # deviceOSList - AdCenterWrapper::ArrayOfDeviceOS
1189
+ class DeviceOSTarget
1190
+ attr_accessor :deviceOSList
1191
+
1192
+ def initialize(deviceOSList = nil)
1193
+ @deviceOSList = deviceOSList
1194
+ end
1195
+ end
1196
+
1197
+ # {https://adcenter.microsoft.com/v8}ArrayOfDeviceOS
1198
+ class ArrayOfDeviceOS < ::Array
1199
+ end
1200
+
1201
+ # {https://adcenter.microsoft.com/v8}DeviceOS
1202
+ # deviceName - SOAP::SOAPString
1203
+ # oSName - SOAP::SOAPString
1204
+ class DeviceOS
1205
+ attr_accessor :deviceName
1206
+ attr_accessor :oSName
1207
+
1208
+ def initialize(deviceName = nil, oSName = nil)
1209
+ @deviceName = deviceName
1210
+ @oSName = oSName
1211
+ end
1212
+ end
1213
+
1214
+ # {https://adcenter.microsoft.com/v8}ArrayOfTargetInfo
1215
+ class ArrayOfTargetInfo < ::Array
1216
+ end
1217
+
1218
+ # {https://adcenter.microsoft.com/v8}TargetInfo
1219
+ # id - SOAP::SOAPLong
1220
+ # name - SOAP::SOAPString
1221
+ class TargetInfo
1222
+ attr_accessor :id
1223
+ attr_accessor :name
1224
+
1225
+ def initialize(id = nil, name = nil)
1226
+ @id = id
1227
+ @name = name
1228
+ end
1229
+ end
1230
+
1231
+ # {https://adapi.microsoft.com}ApplicationFault
1232
+ # trackingId - SOAP::SOAPString
1233
+ class ApplicationFault
1234
+ attr_accessor :trackingId
1235
+
1236
+ def initialize(trackingId = nil)
1237
+ @trackingId = trackingId
1238
+ end
1239
+ end
1240
+
1241
+ # {https://adcenter.microsoft.com/v8}ApiFaultDetail
1242
+ # trackingId - SOAP::SOAPString
1243
+ # batchErrors - AdCenterWrapper::ArrayOfBatchError
1244
+ # operationErrors - AdCenterWrapper::ArrayOfOperationError
1245
+ class ApiFaultDetail < ::StandardError
1246
+ attr_accessor :trackingId
1247
+ attr_accessor :batchErrors
1248
+ attr_accessor :operationErrors
1249
+
1250
+ def initialize(trackingId = nil, batchErrors = nil, operationErrors = nil)
1251
+ @trackingId = trackingId
1252
+ @batchErrors = batchErrors
1253
+ @operationErrors = operationErrors
1254
+ end
1255
+ end
1256
+
1257
+ # {https://adcenter.microsoft.com/v8}EditorialApiFaultDetail
1258
+ # trackingId - SOAP::SOAPString
1259
+ # batchErrors - AdCenterWrapper::ArrayOfBatchError
1260
+ # editorialErrors - AdCenterWrapper::ArrayOfEditorialError
1261
+ # operationErrors - AdCenterWrapper::ArrayOfOperationError
1262
+ class EditorialApiFaultDetail < ::StandardError
1263
+ attr_accessor :trackingId
1264
+ attr_accessor :batchErrors
1265
+ attr_accessor :editorialErrors
1266
+ attr_accessor :operationErrors
1267
+
1268
+ def initialize(trackingId = nil, batchErrors = nil, editorialErrors = nil, operationErrors = nil)
1269
+ @trackingId = trackingId
1270
+ @batchErrors = batchErrors
1271
+ @editorialErrors = editorialErrors
1272
+ @operationErrors = operationErrors
1273
+ end
1274
+ end
1275
+
1276
+ # {https://adcenter.microsoft.com/v8}AnalyticsApiFaultDetail
1277
+ # trackingId - SOAP::SOAPString
1278
+ # goalErrors - AdCenterWrapper::ArrayOfGoalError
1279
+ # operationErrors - AdCenterWrapper::ArrayOfOperationError
1280
+ class AnalyticsApiFaultDetail < ::StandardError
1281
+ attr_accessor :trackingId
1282
+ attr_accessor :goalErrors
1283
+ attr_accessor :operationErrors
1284
+
1285
+ def initialize(trackingId = nil, goalErrors = nil, operationErrors = nil)
1286
+ @trackingId = trackingId
1287
+ @goalErrors = goalErrors
1288
+ @operationErrors = operationErrors
1289
+ end
1290
+ end
1291
+
1292
+ # {https://adapi.microsoft.com}AdApiFaultDetail
1293
+ # trackingId - SOAP::SOAPString
1294
+ # errors - AdCenterWrapper::ArrayOfAdApiError
1295
+ class AdApiFaultDetail < ::StandardError
1296
+ attr_accessor :trackingId
1297
+ attr_accessor :errors
1298
+
1299
+ def initialize(trackingId = nil, errors = nil)
1300
+ @trackingId = trackingId
1301
+ @errors = errors
1302
+ end
1303
+ end
1304
+
1305
+ # {https://adapi.microsoft.com}ArrayOfAdApiError
1306
+ class ArrayOfAdApiError < ::Array
1307
+ end
1308
+
1309
+ # {https://adapi.microsoft.com}AdApiError
1310
+ # code - SOAP::SOAPInt
1311
+ # detail - SOAP::SOAPString
1312
+ # errorCode - SOAP::SOAPString
1313
+ # message - SOAP::SOAPString
1314
+ class AdApiError
1315
+ attr_accessor :code
1316
+ attr_accessor :detail
1317
+ attr_accessor :errorCode
1318
+ attr_accessor :message
1319
+
1320
+ def initialize(code = nil, detail = nil, errorCode = nil, message = nil)
1321
+ @code = code
1322
+ @detail = detail
1323
+ @errorCode = errorCode
1324
+ @message = message
1325
+ end
1326
+ end
1327
+
1328
+ # {http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong
1329
+ class ArrayOflong < ::Array
1330
+ end
1331
+
1332
+ # {http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring
1333
+ class ArrayOfstring < ::Array
1334
+ end
1335
+
1336
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfGoal
1337
+ class ArrayOfGoal < ::Array
1338
+ end
1339
+
1340
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}Goal
1341
+ # costModel - (any)
1342
+ # daysApplicableForConversion - AdCenterWrapper::DaysApplicableForConversion
1343
+ # id - SOAP::SOAPLong
1344
+ # name - SOAP::SOAPString
1345
+ # revenueModel - AdCenterWrapper::RevenueModel
1346
+ # steps - AdCenterWrapper::ArrayOfStep
1347
+ # yEventId - SOAP::SOAPInt
1348
+ class Goal
1349
+ attr_accessor :costModel
1350
+ attr_accessor :daysApplicableForConversion
1351
+ attr_accessor :id
1352
+ attr_accessor :name
1353
+ attr_accessor :revenueModel
1354
+ attr_accessor :steps
1355
+ attr_accessor :yEventId
1356
+
1357
+ def initialize(costModel = nil, daysApplicableForConversion = nil, id = nil, name = nil, revenueModel = nil, steps = nil, yEventId = nil)
1358
+ @costModel = costModel
1359
+ @daysApplicableForConversion = daysApplicableForConversion
1360
+ @id = id
1361
+ @name = name
1362
+ @revenueModel = revenueModel
1363
+ @steps = steps
1364
+ @yEventId = yEventId
1365
+ end
1366
+ end
1367
+
1368
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}RevenueModel
1369
+ # constantRevenueValue - SOAP::SOAPDouble
1370
+ # type - AdCenterWrapper::RevenueModelType
1371
+ class RevenueModel
1372
+ attr_accessor :constantRevenueValue
1373
+ attr_accessor :type
1374
+
1375
+ def initialize(constantRevenueValue = nil, type = nil)
1376
+ @constantRevenueValue = constantRevenueValue
1377
+ @type = type
1378
+ end
1379
+ end
1380
+
1381
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfStep
1382
+ class ArrayOfStep < ::Array
1383
+ end
1384
+
1385
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}Step
1386
+ # id - SOAP::SOAPLong
1387
+ # name - SOAP::SOAPString
1388
+ # positionNumber - SOAP::SOAPInt
1389
+ # script - SOAP::SOAPString
1390
+ # type - AdCenterWrapper::StepType
1391
+ class Step
1392
+ attr_accessor :id
1393
+ attr_accessor :name
1394
+ attr_accessor :positionNumber
1395
+ attr_accessor :script
1396
+ attr_accessor :type
1397
+
1398
+ def initialize(id = nil, name = nil, positionNumber = nil, script = nil, type = nil)
1399
+ @id = id
1400
+ @name = name
1401
+ @positionNumber = positionNumber
1402
+ @script = script
1403
+ @type = type
1404
+ end
1405
+ end
1406
+
1407
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfGoalResult
1408
+ class ArrayOfGoalResult < ::Array
1409
+ end
1410
+
1411
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}GoalResult
1412
+ # goalId - SOAP::SOAPLong
1413
+ # stepIds - AdCenterWrapper::ArrayOflong
1414
+ class GoalResult
1415
+ attr_accessor :goalId
1416
+ attr_accessor :stepIds
1417
+
1418
+ def initialize(goalId = nil, stepIds = nil)
1419
+ @goalId = goalId
1420
+ @stepIds = stepIds
1421
+ end
1422
+ end
1423
+
1424
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfGoalError
1425
+ class ArrayOfGoalError < ::Array
1426
+ end
1427
+
1428
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}GoalError
1429
+ # batchErrors - AdCenterWrapper::ArrayOfBatchError
1430
+ # index - SOAP::SOAPInt
1431
+ # stepErrors - AdCenterWrapper::ArrayOfBatchError
1432
+ class GoalError
1433
+ attr_accessor :batchErrors
1434
+ attr_accessor :index
1435
+ attr_accessor :stepErrors
1436
+
1437
+ def initialize(batchErrors = nil, index = nil, stepErrors = nil)
1438
+ @batchErrors = batchErrors
1439
+ @index = index
1440
+ @stepErrors = stepErrors
1441
+ end
1442
+ end
1443
+
1444
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfAccountAnalyticsType
1445
+ class ArrayOfAccountAnalyticsType < ::Array
1446
+ end
1447
+
1448
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}AccountAnalyticsType
1449
+ # accountId - SOAP::SOAPLong
1450
+ # type - AdCenterWrapper::AnalyticsType
1451
+ class AccountAnalyticsType
1452
+ attr_accessor :accountId
1453
+ attr_accessor :type
1454
+
1455
+ def initialize(accountId = nil, type = nil)
1456
+ @accountId = accountId
1457
+ @type = type
1458
+ end
1459
+ end
1460
+
1461
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfAnalyticsType
1462
+ class ArrayOfAnalyticsType < ::Array
1463
+ end
1464
+
1465
+ # {https://adcenter.microsoft.com/v8}AdEditorialStatus
1466
+ class AdEditorialStatus < ::String
1467
+ Active = AdEditorialStatus.new("Active")
1468
+ Disapproved = AdEditorialStatus.new("Disapproved")
1469
+ Inactive = AdEditorialStatus.new("Inactive")
1470
+ end
1471
+
1472
+ # {https://adcenter.microsoft.com/v8}AdStatus
1473
+ class AdStatus < ::String
1474
+ Active = AdStatus.new("Active")
1475
+ Deleted = AdStatus.new("Deleted")
1476
+ Inactive = AdStatus.new("Inactive")
1477
+ Paused = AdStatus.new("Paused")
1478
+ end
1479
+
1480
+ # {https://adcenter.microsoft.com/v8}AdType
1481
+ class AdType < ::String
1482
+ Image = AdType.new("Image")
1483
+ Mobile = AdType.new("Mobile")
1484
+ RichSearch = AdType.new("RichSearch")
1485
+ Text = AdType.new("Text")
1486
+ end
1487
+
1488
+ # {https://adcenter.microsoft.com/v8}KeywordEditorialStatus
1489
+ class KeywordEditorialStatus < ::String
1490
+ Active = KeywordEditorialStatus.new("Active")
1491
+ Disapproved = KeywordEditorialStatus.new("Disapproved")
1492
+ Inactive = KeywordEditorialStatus.new("Inactive")
1493
+ end
1494
+
1495
+ # {https://adcenter.microsoft.com/v8}KeywordStatus
1496
+ class KeywordStatus < ::String
1497
+ Active = KeywordStatus.new("Active")
1498
+ Deleted = KeywordStatus.new("Deleted")
1499
+ Inactive = KeywordStatus.new("Inactive")
1500
+ Paused = KeywordStatus.new("Paused")
1501
+ end
1502
+
1503
+ # {https://adcenter.microsoft.com/v8}StandardBusinessIcon
1504
+ class StandardBusinessIcon < ::String
1505
+ Accommodations = StandardBusinessIcon.new("Accommodations")
1506
+ BankOrFinanceOrCurrencyExchange = StandardBusinessIcon.new("BankOrFinanceOrCurrencyExchange")
1507
+ BankOrFinanceOrCurrencyExchangeEUR = StandardBusinessIcon.new("BankOrFinanceOrCurrencyExchangeEUR")
1508
+ BankOrFinanceOrCurrencyExchangeUK = StandardBusinessIcon.new("BankOrFinanceOrCurrencyExchangeUK")
1509
+ CafeOrCoffeeShop = StandardBusinessIcon.new("CafeOrCoffeeShop")
1510
+ CarDealerOrServiceOrRental = StandardBusinessIcon.new("CarDealerOrServiceOrRental")
1511
+ FlowersOrGarden = StandardBusinessIcon.new("FlowersOrGarden")
1512
+ GroceryOrDepartmentStore = StandardBusinessIcon.new("GroceryOrDepartmentStore")
1513
+ HairdresserOrBarberOrTailor = StandardBusinessIcon.new("HairdresserOrBarberOrTailor")
1514
+ HardwareOrRepair = StandardBusinessIcon.new("HardwareOrRepair")
1515
+ HousewaresOrRealEstateOrHomeRepair = StandardBusinessIcon.new("HousewaresOrRealEstateOrHomeRepair")
1516
+ MoviesOrVideo = StandardBusinessIcon.new("MoviesOrVideo")
1517
+ PhonesOrServiceProvider = StandardBusinessIcon.new("PhonesOrServiceProvider")
1518
+ PubOrBarOrLiquor = StandardBusinessIcon.new("PubOrBarOrLiquor")
1519
+ RestaurantOrDining = StandardBusinessIcon.new("RestaurantOrDining")
1520
+ ShoppingOrBoutique = StandardBusinessIcon.new("ShoppingOrBoutique")
1521
+ end
1522
+
1523
+ # {https://adcenter.microsoft.com/v8}BusinessGeoCodeStatus
1524
+ class BusinessGeoCodeStatus < ::String
1525
+ Complete = BusinessGeoCodeStatus.new("Complete")
1526
+ Failed = BusinessGeoCodeStatus.new("Failed")
1527
+ Invalid = BusinessGeoCodeStatus.new("Invalid")
1528
+ Pending = BusinessGeoCodeStatus.new("Pending")
1529
+ end
1530
+
1531
+ # {https://adcenter.microsoft.com/v8}Day
1532
+ class Day < ::String
1533
+ Friday = Day.new("Friday")
1534
+ Monday = Day.new("Monday")
1535
+ Saturday = Day.new("Saturday")
1536
+ Sunday = Day.new("Sunday")
1537
+ Thursday = Day.new("Thursday")
1538
+ Tuesday = Day.new("Tuesday")
1539
+ Wednesday = Day.new("Wednesday")
1540
+ end
1541
+
1542
+ # {https://adcenter.microsoft.com/v8}PaymentType
1543
+ class PaymentType < ::String
1544
+ AmericanExpress = PaymentType.new("AmericanExpress")
1545
+ Cash = PaymentType.new("Cash")
1546
+ CashOnDelivery = PaymentType.new("CashOnDelivery")
1547
+ DinersClub = PaymentType.new("DinersClub")
1548
+ DirectDebit = PaymentType.new("DirectDebit")
1549
+ Invoice = PaymentType.new("Invoice")
1550
+ MasterCard = PaymentType.new("MasterCard")
1551
+ Other = PaymentType.new("Other")
1552
+ PayPal = PaymentType.new("PayPal")
1553
+ TravellersCheck = PaymentType.new("TravellersCheck")
1554
+ Visa = PaymentType.new("Visa")
1555
+ end
1556
+
1557
+ # {https://adcenter.microsoft.com/v8}BusinessStatus
1558
+ class BusinessStatus < ::String
1559
+ Active = BusinessStatus.new("Active")
1560
+ Inactive = BusinessStatus.new("Inactive")
1561
+ Pending = BusinessStatus.new("Pending")
1562
+ end
1563
+
1564
+ # {https://adcenter.microsoft.com/v8}SitePlacementStatus
1565
+ class SitePlacementStatus < ::String
1566
+ Active = SitePlacementStatus.new("Active")
1567
+ Deleted = SitePlacementStatus.new("Deleted")
1568
+ Inactive = SitePlacementStatus.new("Inactive")
1569
+ Paused = SitePlacementStatus.new("Paused")
1570
+ end
1571
+
1572
+ # {https://adcenter.microsoft.com/v8}DownloadEntityFilter
1573
+ # contains list of DownloadEntityFilter::*
1574
+ class DownloadEntityFilter < ::Array
1575
+ AdGroupNegativeKeywords = "AdGroupNegativeKeywords"
1576
+ AdGroupNegativeSites = "AdGroupNegativeSites"
1577
+ AdGroupTargets = "AdGroupTargets"
1578
+ CampaignNegativeKeywords = "CampaignNegativeKeywords"
1579
+ CampaignNegativeSites = "CampaignNegativeSites"
1580
+ CampaignTargets = "CampaignTargets"
1581
+ end
1582
+
1583
+ # {https://adcenter.microsoft.com/v8}DownloadStatus
1584
+ # contains list of DownloadStatus::*
1585
+ class DownloadStatus < ::Array
1586
+ Failed = "Failed"
1587
+ InProgress = "InProgress"
1588
+ Success = "Success"
1589
+ end
1590
+
1591
+ # # {https://adcenter.microsoft.com/v8}BudgetLimitType
1592
+ # class BudgetLimitType < ::String
1593
+ # DailyBudgetAccelerated = BudgetLimitType.new("DailyBudgetAccelerated")
1594
+ # DailyBudgetStandard = BudgetLimitType.new("DailyBudgetStandard")
1595
+ # MonthlyBudgetSpendUntilDepleted = BudgetLimitType.new("MonthlyBudgetSpendUntilDepleted")
1596
+ # end
1597
+
1598
+ # {https://adcenter.microsoft.com/v8}CampaignStatus
1599
+ class CampaignStatus < ::String
1600
+ Active = CampaignStatus.new("Active")
1601
+ BudgetAndManualPaused = CampaignStatus.new("BudgetAndManualPaused")
1602
+ BudgetPaused = CampaignStatus.new("BudgetPaused")
1603
+ Deleted = CampaignStatus.new("Deleted")
1604
+ Paused = CampaignStatus.new("Paused")
1605
+ end
1606
+
1607
+ # {https://adcenter.microsoft.com/v8}AdDistribution
1608
+ # contains list of AdDistribution::*
1609
+ class AdDistribution < ::Array
1610
+ Content = "Content"
1611
+ Search = "Search"
1612
+ end
1613
+
1614
+ # {https://adcenter.microsoft.com/v8}BiddingModel
1615
+ class BiddingModel < ::String
1616
+ Keyword = BiddingModel.new("Keyword")
1617
+ SitePlacement = BiddingModel.new("SitePlacement")
1618
+ end
1619
+
1620
+ # {https://adcenter.microsoft.com/v8}Network
1621
+ class Network < ::String
1622
+ OwnedAndOperatedAndSyndicatedSearch = Network.new("OwnedAndOperatedAndSyndicatedSearch")
1623
+ OwnedAndOperatedOnly = Network.new("OwnedAndOperatedOnly")
1624
+ SyndicatedSearchOnly = Network.new("SyndicatedSearchOnly")
1625
+ end
1626
+
1627
+ # {https://adcenter.microsoft.com/v8}PricingModel
1628
+ class PricingModel < ::String
1629
+ Cpc = PricingModel.new("Cpc")
1630
+ Cpm = PricingModel.new("Cpm")
1631
+ end
1632
+
1633
+ # {https://adcenter.microsoft.com/v8}AdGroupStatus
1634
+ class AdGroupStatus < ::String
1635
+ Active = AdGroupStatus.new("Active")
1636
+ Deleted = AdGroupStatus.new("Deleted")
1637
+ Draft = AdGroupStatus.new("Draft")
1638
+ Paused = AdGroupStatus.new("Paused")
1639
+ end
1640
+
1641
+ # {https://adcenter.microsoft.com/v8}AgeRange
1642
+ class AgeRange < ::String
1643
+ EighteenToTwentyFive = AgeRange.new("EighteenToTwentyFive")
1644
+ FiftyToSixtyFive = AgeRange.new("FiftyToSixtyFive")
1645
+ SixtyFiveAndAbove = AgeRange.new("SixtyFiveAndAbove")
1646
+ ThirtyFiveToFifty = AgeRange.new("ThirtyFiveToFifty")
1647
+ TwentyFiveToThirtyFive = AgeRange.new("TwentyFiveToThirtyFive")
1648
+ end
1649
+
1650
+ # {https://adcenter.microsoft.com/v8}IncrementalBidPercentage
1651
+ class IncrementalBidPercentage < ::String
1652
+ EightyPercent = IncrementalBidPercentage.new("EightyPercent")
1653
+ FiftyPercent = IncrementalBidPercentage.new("FiftyPercent")
1654
+ FortyPercent = IncrementalBidPercentage.new("FortyPercent")
1655
+ NegativeEightyPercent = IncrementalBidPercentage.new("NegativeEightyPercent")
1656
+ NegativeFiftyPercent = IncrementalBidPercentage.new("NegativeFiftyPercent")
1657
+ NegativeFortyPercent = IncrementalBidPercentage.new("NegativeFortyPercent")
1658
+ NegativeNinetyPercent = IncrementalBidPercentage.new("NegativeNinetyPercent")
1659
+ NegativeOneHundredPercent = IncrementalBidPercentage.new("NegativeOneHundredPercent")
1660
+ NegativeSeventyPercent = IncrementalBidPercentage.new("NegativeSeventyPercent")
1661
+ NegativeSixtyPercent = IncrementalBidPercentage.new("NegativeSixtyPercent")
1662
+ NegativeTenPercent = IncrementalBidPercentage.new("NegativeTenPercent")
1663
+ NegativeThirtyPercent = IncrementalBidPercentage.new("NegativeThirtyPercent")
1664
+ NegativeTwentyPercent = IncrementalBidPercentage.new("NegativeTwentyPercent")
1665
+ NinetyPercent = IncrementalBidPercentage.new("NinetyPercent")
1666
+ OneHundredPercent = IncrementalBidPercentage.new("OneHundredPercent")
1667
+ SeventyPercent = IncrementalBidPercentage.new("SeventyPercent")
1668
+ SixtyPercent = IncrementalBidPercentage.new("SixtyPercent")
1669
+ TenPercent = IncrementalBidPercentage.new("TenPercent")
1670
+ ThirtyPercent = IncrementalBidPercentage.new("ThirtyPercent")
1671
+ TwentyPercent = IncrementalBidPercentage.new("TwentyPercent")
1672
+ ZeroPercent = IncrementalBidPercentage.new("ZeroPercent")
1673
+ end
1674
+
1675
+ # {https://adcenter.microsoft.com/v8}DeviceType
1676
+ class DeviceType < ::String
1677
+ Computers = DeviceType.new("Computers")
1678
+ Smartphones = DeviceType.new("Smartphones")
1679
+ end
1680
+
1681
+ # {https://adcenter.microsoft.com/v8}GenderType
1682
+ class GenderType < ::String
1683
+ Female = GenderType.new("Female")
1684
+ Male = GenderType.new("Male")
1685
+ end
1686
+
1687
+ # {https://adcenter.microsoft.com/v8}HourRange
1688
+ class HourRange < ::String
1689
+ ElevenAMToTwoPM = HourRange.new("ElevenAMToTwoPM")
1690
+ ElevenPMToThreeAM = HourRange.new("ElevenPMToThreeAM")
1691
+ SevenAMToElevenAM = HourRange.new("SevenAMToElevenAM")
1692
+ SixPMToElevenPM = HourRange.new("SixPMToElevenPM")
1693
+ ThreeAMToSevenAM = HourRange.new("ThreeAMToSevenAM")
1694
+ TwoPMToSixPM = HourRange.new("TwoPMToSixPM")
1695
+ end
1696
+
1697
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}AdComponent
1698
+ class AdComponent < ::String
1699
+ Ad = AdComponent.new("Ad")
1700
+ AdDescription = AdComponent.new("AdDescription")
1701
+ AdTitle = AdComponent.new("AdTitle")
1702
+ AdTitleDescription = AdComponent.new("AdTitleDescription")
1703
+ AltText = AdComponent.new("AltText")
1704
+ Asset = AdComponent.new("Asset")
1705
+ Association = AdComponent.new("Association")
1706
+ Audio = AdComponent.new("Audio")
1707
+ BiddingKeyword = AdComponent.new("BiddingKeyword")
1708
+ BusinessName = AdComponent.new("BusinessName")
1709
+ CAsset = AdComponent.new("CAsset")
1710
+ CashbackTextParam = AdComponent.new("CashbackTextParam")
1711
+ Destination = AdComponent.new("Destination")
1712
+ DestinationUrl = AdComponent.new("DestinationUrl")
1713
+ DisplayUrl = AdComponent.new("DisplayUrl")
1714
+ Flash = AdComponent.new("Flash")
1715
+ Image = AdComponent.new("Image")
1716
+ Keyword = AdComponent.new("Keyword")
1717
+ KeywordParam1 = AdComponent.new("KeywordParam1")
1718
+ KeywordParam2 = AdComponent.new("KeywordParam2")
1719
+ KeywordParam3 = AdComponent.new("KeywordParam3")
1720
+ LandingUrl = AdComponent.new("LandingUrl")
1721
+ Order = AdComponent.new("Order")
1722
+ PhoneNumber = AdComponent.new("PhoneNumber")
1723
+ Script = AdComponent.new("Script")
1724
+ SiteDomain = AdComponent.new("SiteDomain")
1725
+ Unknown = AdComponent.new("Unknown")
1726
+ Video = AdComponent.new("Video")
1727
+ end
1728
+
1729
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}CostModel
1730
+ # contains list of CostModel::*
1731
+ class CostModel < ::Array
1732
+ NonAdvertising = "NonAdvertising"
1733
+ None = "None"
1734
+ Shipped = "Shipped"
1735
+ Taxed = "Taxed"
1736
+ end
1737
+
1738
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}DaysApplicableForConversion
1739
+ class DaysApplicableForConversion < ::String
1740
+ Fifteen = DaysApplicableForConversion.new("Fifteen")
1741
+ FortyFive = DaysApplicableForConversion.new("FortyFive")
1742
+ Seven = DaysApplicableForConversion.new("Seven")
1743
+ Thirty = DaysApplicableForConversion.new("Thirty")
1744
+ end
1745
+
1746
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}RevenueModelType
1747
+ class RevenueModelType < ::String
1748
+ Constant = RevenueModelType.new("Constant")
1749
+ None = RevenueModelType.new("None")
1750
+ Variable = RevenueModelType.new("Variable")
1751
+ end
1752
+
1753
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}StepType
1754
+ class StepType < ::String
1755
+ Browse = StepType.new("Browse")
1756
+ Conversion = StepType.new("Conversion")
1757
+ Lead = StepType.new("Lead")
1758
+ Prospect = StepType.new("Prospect")
1759
+ end
1760
+
1761
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}AnalyticsType
1762
+ class AnalyticsType < ::String
1763
+ CampaignLevel = AnalyticsType.new("CampaignLevel")
1764
+ Disabled = AnalyticsType.new("Disabled")
1765
+ Enabled = AnalyticsType.new("Enabled")
1766
+ end
1767
+
1768
+ # {https://adcenter.microsoft.com/v8}GetAdsByEditorialStatusRequest
1769
+ # adGroupId - SOAP::SOAPLong
1770
+ # editorialStatus - AdCenterWrapper::AdEditorialStatus
1771
+ class GetAdsByEditorialStatusRequest
1772
+ attr_accessor :adGroupId
1773
+ attr_accessor :editorialStatus
1774
+
1775
+ def initialize(adGroupId = nil, editorialStatus = nil)
1776
+ @adGroupId = adGroupId
1777
+ @editorialStatus = editorialStatus
1778
+ end
1779
+ end
1780
+
1781
+ # {https://adcenter.microsoft.com/v8}GetAdsByEditorialStatusResponse
1782
+ # ads - AdCenterWrapper::ArrayOfAd
1783
+ class GetAdsByEditorialStatusResponse
1784
+ attr_accessor :ads
1785
+
1786
+ def initialize(ads = nil)
1787
+ @ads = ads
1788
+ end
1789
+ end
1790
+
1791
+ # {https://adcenter.microsoft.com/v8}GetAdsByIdsRequest
1792
+ # adGroupId - SOAP::SOAPLong
1793
+ # adIds - AdCenterWrapper::ArrayOflong
1794
+ class GetAdsByIdsRequest
1795
+ attr_accessor :adGroupId
1796
+ attr_accessor :adIds
1797
+
1798
+ def initialize(adGroupId = nil, adIds = nil)
1799
+ @adGroupId = adGroupId
1800
+ @adIds = adIds
1801
+ end
1802
+ end
1803
+
1804
+ # {https://adcenter.microsoft.com/v8}GetAdsByIdsResponse
1805
+ # ads - AdCenterWrapper::ArrayOfAd
1806
+ class GetAdsByIdsResponse
1807
+ attr_accessor :ads
1808
+
1809
+ def initialize(ads = nil)
1810
+ @ads = ads
1811
+ end
1812
+ end
1813
+
1814
+ # {https://adcenter.microsoft.com/v8}GetAdsByAdGroupIdRequest
1815
+ # adGroupId - SOAP::SOAPLong
1816
+ class GetAdsByAdGroupIdRequest
1817
+ attr_accessor :adGroupId
1818
+
1819
+ def initialize(adGroupId = nil)
1820
+ @adGroupId = adGroupId
1821
+ end
1822
+ end
1823
+
1824
+ # {https://adcenter.microsoft.com/v8}GetAdsByAdGroupIdResponse
1825
+ # ads - AdCenterWrapper::ArrayOfAd
1826
+ class GetAdsByAdGroupIdResponse
1827
+ attr_accessor :ads
1828
+
1829
+ def initialize(ads = nil)
1830
+ @ads = ads
1831
+ end
1832
+ end
1833
+
1834
+ # {https://adcenter.microsoft.com/v8}UpdateAdsRequest
1835
+ # adGroupId - SOAP::SOAPLong
1836
+ # ads - AdCenterWrapper::ArrayOfAd
1837
+ class UpdateAdsRequest
1838
+ attr_accessor :adGroupId
1839
+ attr_accessor :ads
1840
+
1841
+ def initialize(adGroupId = nil, ads = nil)
1842
+ @adGroupId = adGroupId
1843
+ @ads = ads
1844
+ end
1845
+ end
1846
+
1847
+ # {https://adcenter.microsoft.com/v8}UpdateAdsResponse
1848
+ class UpdateAdsResponse
1849
+ def initialize
1850
+ end
1851
+ end
1852
+
1853
+ # {https://adcenter.microsoft.com/v8}PauseAdsRequest
1854
+ # adGroupId - SOAP::SOAPLong
1855
+ # adIds - AdCenterWrapper::ArrayOflong
1856
+ class PauseAdsRequest
1857
+ attr_accessor :adGroupId
1858
+ attr_accessor :adIds
1859
+
1860
+ def initialize(adGroupId = nil, adIds = nil)
1861
+ @adGroupId = adGroupId
1862
+ @adIds = adIds
1863
+ end
1864
+ end
1865
+
1866
+ # {https://adcenter.microsoft.com/v8}PauseAdsResponse
1867
+ class PauseAdsResponse
1868
+ def initialize
1869
+ end
1870
+ end
1871
+
1872
+ # {https://adcenter.microsoft.com/v8}ResumeAdsRequest
1873
+ # adGroupId - SOAP::SOAPLong
1874
+ # adIds - AdCenterWrapper::ArrayOflong
1875
+ class ResumeAdsRequest
1876
+ attr_accessor :adGroupId
1877
+ attr_accessor :adIds
1878
+
1879
+ def initialize(adGroupId = nil, adIds = nil)
1880
+ @adGroupId = adGroupId
1881
+ @adIds = adIds
1882
+ end
1883
+ end
1884
+
1885
+ # {https://adcenter.microsoft.com/v8}ResumeAdsResponse
1886
+ class ResumeAdsResponse
1887
+ def initialize
1888
+ end
1889
+ end
1890
+
1891
+ # {https://adcenter.microsoft.com/v8}AddKeywordsRequest
1892
+ # adGroupId - SOAP::SOAPLong
1893
+ # keywords - AdCenterWrapper::ArrayOfKeyword
1894
+ class AddKeywordsRequest
1895
+ attr_accessor :adGroupId
1896
+ attr_accessor :keywords
1897
+
1898
+ def initialize(adGroupId = nil, keywords = nil)
1899
+ @adGroupId = adGroupId
1900
+ @keywords = keywords
1901
+ end
1902
+ end
1903
+
1904
+ # {https://adcenter.microsoft.com/v8}AddKeywordsResponse
1905
+ # keywordIds - AdCenterWrapper::ArrayOflong
1906
+ class AddKeywordsResponse
1907
+ attr_accessor :keywordIds
1908
+
1909
+ def initialize(keywordIds = nil)
1910
+ @keywordIds = keywordIds
1911
+ end
1912
+ end
1913
+
1914
+ # {https://adcenter.microsoft.com/v8}DeleteKeywordsRequest
1915
+ # adGroupId - SOAP::SOAPLong
1916
+ # keywordIds - AdCenterWrapper::ArrayOflong
1917
+ class DeleteKeywordsRequest
1918
+ attr_accessor :adGroupId
1919
+ attr_accessor :keywordIds
1920
+
1921
+ def initialize(adGroupId = nil, keywordIds = nil)
1922
+ @adGroupId = adGroupId
1923
+ @keywordIds = keywordIds
1924
+ end
1925
+ end
1926
+
1927
+ # {https://adcenter.microsoft.com/v8}DeleteKeywordsResponse
1928
+ class DeleteKeywordsResponse
1929
+ def initialize
1930
+ end
1931
+ end
1932
+
1933
+ # {https://adcenter.microsoft.com/v8}GetKeywordsByEditorialStatusRequest
1934
+ # adGroupId - SOAP::SOAPLong
1935
+ # editorialStatus - AdCenterWrapper::KeywordEditorialStatus
1936
+ class GetKeywordsByEditorialStatusRequest
1937
+ attr_accessor :adGroupId
1938
+ attr_accessor :editorialStatus
1939
+
1940
+ def initialize(adGroupId = nil, editorialStatus = nil)
1941
+ @adGroupId = adGroupId
1942
+ @editorialStatus = editorialStatus
1943
+ end
1944
+ end
1945
+
1946
+ # {https://adcenter.microsoft.com/v8}GetKeywordsByEditorialStatusResponse
1947
+ # keywords - AdCenterWrapper::ArrayOfKeyword
1948
+ class GetKeywordsByEditorialStatusResponse
1949
+ attr_accessor :keywords
1950
+
1951
+ def initialize(keywords = nil)
1952
+ @keywords = keywords
1953
+ end
1954
+ end
1955
+
1956
+ # {https://adcenter.microsoft.com/v8}GetKeywordsByIdsRequest
1957
+ # adGroupId - SOAP::SOAPLong
1958
+ # keywordIds - AdCenterWrapper::ArrayOflong
1959
+ class GetKeywordsByIdsRequest
1960
+ attr_accessor :adGroupId
1961
+ attr_accessor :keywordIds
1962
+
1963
+ def initialize(adGroupId = nil, keywordIds = nil)
1964
+ @adGroupId = adGroupId
1965
+ @keywordIds = keywordIds
1966
+ end
1967
+ end
1968
+
1969
+ # {https://adcenter.microsoft.com/v8}GetKeywordsByIdsResponse
1970
+ # keywords - AdCenterWrapper::ArrayOfKeyword
1971
+ class GetKeywordsByIdsResponse
1972
+ attr_accessor :keywords
1973
+
1974
+ def initialize(keywords = nil)
1975
+ @keywords = keywords
1976
+ end
1977
+ end
1978
+
1979
+ # {https://adcenter.microsoft.com/v8}GetKeywordsByAdGroupIdRequest
1980
+ # adGroupId - SOAP::SOAPLong
1981
+ class GetKeywordsByAdGroupIdRequest
1982
+ attr_accessor :adGroupId
1983
+
1984
+ def initialize(adGroupId = nil)
1985
+ @adGroupId = adGroupId
1986
+ end
1987
+ end
1988
+
1989
+ # {https://adcenter.microsoft.com/v8}GetKeywordsByAdGroupIdResponse
1990
+ # keywords - AdCenterWrapper::ArrayOfKeyword
1991
+ class GetKeywordsByAdGroupIdResponse
1992
+ attr_accessor :keywords
1993
+
1994
+ def initialize(keywords = nil)
1995
+ @keywords = keywords
1996
+ end
1997
+ end
1998
+
1999
+ # {https://adcenter.microsoft.com/v8}PauseKeywordsRequest
2000
+ # adGroupId - SOAP::SOAPLong
2001
+ # keywordIds - AdCenterWrapper::ArrayOflong
2002
+ class PauseKeywordsRequest
2003
+ attr_accessor :adGroupId
2004
+ attr_accessor :keywordIds
2005
+
2006
+ def initialize(adGroupId = nil, keywordIds = nil)
2007
+ @adGroupId = adGroupId
2008
+ @keywordIds = keywordIds
2009
+ end
2010
+ end
2011
+
2012
+ # {https://adcenter.microsoft.com/v8}PauseKeywordsResponse
2013
+ class PauseKeywordsResponse
2014
+ def initialize
2015
+ end
2016
+ end
2017
+
2018
+ # {https://adcenter.microsoft.com/v8}ResumeKeywordsRequest
2019
+ # adGroupId - SOAP::SOAPLong
2020
+ # keywordIds - AdCenterWrapper::ArrayOflong
2021
+ class ResumeKeywordsRequest
2022
+ attr_accessor :adGroupId
2023
+ attr_accessor :keywordIds
2024
+
2025
+ def initialize(adGroupId = nil, keywordIds = nil)
2026
+ @adGroupId = adGroupId
2027
+ @keywordIds = keywordIds
2028
+ end
2029
+ end
2030
+
2031
+ # {https://adcenter.microsoft.com/v8}ResumeKeywordsResponse
2032
+ class ResumeKeywordsResponse
2033
+ def initialize
2034
+ end
2035
+ end
2036
+
2037
+ # {https://adcenter.microsoft.com/v8}UpdateKeywordsRequest
2038
+ # adGroupId - SOAP::SOAPLong
2039
+ # keywords - AdCenterWrapper::ArrayOfKeyword
2040
+ class UpdateKeywordsRequest
2041
+ attr_accessor :adGroupId
2042
+ attr_accessor :keywords
2043
+
2044
+ def initialize(adGroupId = nil, keywords = nil)
2045
+ @adGroupId = adGroupId
2046
+ @keywords = keywords
2047
+ end
2048
+ end
2049
+
2050
+ # {https://adcenter.microsoft.com/v8}UpdateKeywordsResponse
2051
+ class UpdateKeywordsResponse
2052
+ def initialize
2053
+ end
2054
+ end
2055
+
2056
+ # {https://adcenter.microsoft.com/v8}AddBusinessesRequest
2057
+ # businesses - AdCenterWrapper::ArrayOfBusiness
2058
+ class AddBusinessesRequest
2059
+ attr_accessor :businesses
2060
+
2061
+ def initialize(businesses = nil)
2062
+ @businesses = businesses
2063
+ end
2064
+ end
2065
+
2066
+ # {https://adcenter.microsoft.com/v8}AddBusinessesResponse
2067
+ # businessIds - AdCenterWrapper::ArrayOflong
2068
+ class AddBusinessesResponse
2069
+ attr_accessor :businessIds
2070
+
2071
+ def initialize(businessIds = nil)
2072
+ @businessIds = businessIds
2073
+ end
2074
+ end
2075
+
2076
+ # {https://adcenter.microsoft.com/v8}UpdateBusinessesRequest
2077
+ # businesses - AdCenterWrapper::ArrayOfBusiness
2078
+ class UpdateBusinessesRequest
2079
+ attr_accessor :businesses
2080
+
2081
+ def initialize(businesses = nil)
2082
+ @businesses = businesses
2083
+ end
2084
+ end
2085
+
2086
+ # {https://adcenter.microsoft.com/v8}UpdateBusinessesResponse
2087
+ class UpdateBusinessesResponse
2088
+ def initialize
2089
+ end
2090
+ end
2091
+
2092
+ # {https://adcenter.microsoft.com/v8}DeleteBusinessesRequest
2093
+ # businessIds - AdCenterWrapper::ArrayOflong
2094
+ class DeleteBusinessesRequest
2095
+ attr_accessor :businessIds
2096
+
2097
+ def initialize(businessIds = nil)
2098
+ @businessIds = businessIds
2099
+ end
2100
+ end
2101
+
2102
+ # {https://adcenter.microsoft.com/v8}DeleteBusinessesResponse
2103
+ class DeleteBusinessesResponse
2104
+ def initialize
2105
+ end
2106
+ end
2107
+
2108
+ # {https://adcenter.microsoft.com/v8}GetBusinessesInfoRequest
2109
+ class GetBusinessesInfoRequest
2110
+ def initialize
2111
+ end
2112
+ end
2113
+
2114
+ # {https://adcenter.microsoft.com/v8}GetBusinessesInfoResponse
2115
+ # businessesInfo - AdCenterWrapper::ArrayOfBusinessInfo
2116
+ class GetBusinessesInfoResponse
2117
+ attr_accessor :businessesInfo
2118
+
2119
+ def initialize(businessesInfo = nil)
2120
+ @businessesInfo = businessesInfo
2121
+ end
2122
+ end
2123
+
2124
+ # {https://adcenter.microsoft.com/v8}GetBusinessesByIdsRequest
2125
+ # businessIds - AdCenterWrapper::ArrayOflong
2126
+ class GetBusinessesByIdsRequest
2127
+ attr_accessor :businessIds
2128
+
2129
+ def initialize(businessIds = nil)
2130
+ @businessIds = businessIds
2131
+ end
2132
+ end
2133
+
2134
+ # {https://adcenter.microsoft.com/v8}GetBusinessesByIdsResponse
2135
+ # businesses - AdCenterWrapper::ArrayOfBusiness
2136
+ class GetBusinessesByIdsResponse
2137
+ attr_accessor :businesses
2138
+
2139
+ def initialize(businesses = nil)
2140
+ @businesses = businesses
2141
+ end
2142
+ end
2143
+
2144
+ # {https://adcenter.microsoft.com/v8}AddSitePlacementsRequest
2145
+ # adGroupId - SOAP::SOAPLong
2146
+ # sitePlacements - AdCenterWrapper::ArrayOfSitePlacement
2147
+ class AddSitePlacementsRequest
2148
+ attr_accessor :adGroupId
2149
+ attr_accessor :sitePlacements
2150
+
2151
+ def initialize(adGroupId = nil, sitePlacements = nil)
2152
+ @adGroupId = adGroupId
2153
+ @sitePlacements = sitePlacements
2154
+ end
2155
+ end
2156
+
2157
+ # {https://adcenter.microsoft.com/v8}AddSitePlacementsResponse
2158
+ # sitePlacementIds - AdCenterWrapper::ArrayOflong
2159
+ class AddSitePlacementsResponse
2160
+ attr_accessor :sitePlacementIds
2161
+
2162
+ def initialize(sitePlacementIds = nil)
2163
+ @sitePlacementIds = sitePlacementIds
2164
+ end
2165
+ end
2166
+
2167
+ # {https://adcenter.microsoft.com/v8}DeleteSitePlacementsRequest
2168
+ # adGroupId - SOAP::SOAPLong
2169
+ # sitePlacementIds - AdCenterWrapper::ArrayOflong
2170
+ class DeleteSitePlacementsRequest
2171
+ attr_accessor :adGroupId
2172
+ attr_accessor :sitePlacementIds
2173
+
2174
+ def initialize(adGroupId = nil, sitePlacementIds = nil)
2175
+ @adGroupId = adGroupId
2176
+ @sitePlacementIds = sitePlacementIds
2177
+ end
2178
+ end
2179
+
2180
+ # {https://adcenter.microsoft.com/v8}DeleteSitePlacementsResponse
2181
+ class DeleteSitePlacementsResponse
2182
+ def initialize
2183
+ end
2184
+ end
2185
+
2186
+ # {https://adcenter.microsoft.com/v8}GetSitePlacementsByIdsRequest
2187
+ # adGroupId - SOAP::SOAPLong
2188
+ # sitePlacementIds - AdCenterWrapper::ArrayOflong
2189
+ class GetSitePlacementsByIdsRequest
2190
+ attr_accessor :adGroupId
2191
+ attr_accessor :sitePlacementIds
2192
+
2193
+ def initialize(adGroupId = nil, sitePlacementIds = nil)
2194
+ @adGroupId = adGroupId
2195
+ @sitePlacementIds = sitePlacementIds
2196
+ end
2197
+ end
2198
+
2199
+ # {https://adcenter.microsoft.com/v8}GetSitePlacementsByIdsResponse
2200
+ # sitePlacements - AdCenterWrapper::ArrayOfSitePlacement
2201
+ class GetSitePlacementsByIdsResponse
2202
+ attr_accessor :sitePlacements
2203
+
2204
+ def initialize(sitePlacements = nil)
2205
+ @sitePlacements = sitePlacements
2206
+ end
2207
+ end
2208
+
2209
+ # {https://adcenter.microsoft.com/v8}GetSitePlacementsByAdGroupIdRequest
2210
+ # adGroupId - SOAP::SOAPLong
2211
+ class GetSitePlacementsByAdGroupIdRequest
2212
+ attr_accessor :adGroupId
2213
+
2214
+ def initialize(adGroupId = nil)
2215
+ @adGroupId = adGroupId
2216
+ end
2217
+ end
2218
+
2219
+ # {https://adcenter.microsoft.com/v8}GetSitePlacementsByAdGroupIdResponse
2220
+ # sitePlacements - AdCenterWrapper::ArrayOfSitePlacement
2221
+ class GetSitePlacementsByAdGroupIdResponse
2222
+ attr_accessor :sitePlacements
2223
+
2224
+ def initialize(sitePlacements = nil)
2225
+ @sitePlacements = sitePlacements
2226
+ end
2227
+ end
2228
+
2229
+ # {https://adcenter.microsoft.com/v8}PauseSitePlacementsRequest
2230
+ # adGroupId - SOAP::SOAPLong
2231
+ # sitePlacementIds - AdCenterWrapper::ArrayOflong
2232
+ class PauseSitePlacementsRequest
2233
+ attr_accessor :adGroupId
2234
+ attr_accessor :sitePlacementIds
2235
+
2236
+ def initialize(adGroupId = nil, sitePlacementIds = nil)
2237
+ @adGroupId = adGroupId
2238
+ @sitePlacementIds = sitePlacementIds
2239
+ end
2240
+ end
2241
+
2242
+ # {https://adcenter.microsoft.com/v8}PauseSitePlacementsResponse
2243
+ class PauseSitePlacementsResponse
2244
+ def initialize
2245
+ end
2246
+ end
2247
+
2248
+ # {https://adcenter.microsoft.com/v8}ResumeSitePlacementsRequest
2249
+ # adGroupId - SOAP::SOAPLong
2250
+ # sitePlacementIds - AdCenterWrapper::ArrayOflong
2251
+ class ResumeSitePlacementsRequest
2252
+ attr_accessor :adGroupId
2253
+ attr_accessor :sitePlacementIds
2254
+
2255
+ def initialize(adGroupId = nil, sitePlacementIds = nil)
2256
+ @adGroupId = adGroupId
2257
+ @sitePlacementIds = sitePlacementIds
2258
+ end
2259
+ end
2260
+
2261
+ # {https://adcenter.microsoft.com/v8}ResumeSitePlacementsResponse
2262
+ class ResumeSitePlacementsResponse
2263
+ def initialize
2264
+ end
2265
+ end
2266
+
2267
+ # {https://adcenter.microsoft.com/v8}UpdateSitePlacementsRequest
2268
+ # adGroupId - SOAP::SOAPLong
2269
+ # sitePlacements - AdCenterWrapper::ArrayOfSitePlacement
2270
+ class UpdateSitePlacementsRequest
2271
+ attr_accessor :adGroupId
2272
+ attr_accessor :sitePlacements
2273
+
2274
+ def initialize(adGroupId = nil, sitePlacements = nil)
2275
+ @adGroupId = adGroupId
2276
+ @sitePlacements = sitePlacements
2277
+ end
2278
+ end
2279
+
2280
+ # {https://adcenter.microsoft.com/v8}UpdateSitePlacementsResponse
2281
+ class UpdateSitePlacementsResponse
2282
+ def initialize
2283
+ end
2284
+ end
2285
+
2286
+ # {https://adcenter.microsoft.com/v8}GetPlacementDetailsForUrlsRequest
2287
+ # urls - AdCenterWrapper::ArrayOfstring
2288
+ class GetPlacementDetailsForUrlsRequest
2289
+ attr_accessor :urls
2290
+
2291
+ def initialize(urls = nil)
2292
+ @urls = urls
2293
+ end
2294
+ end
2295
+
2296
+ # {https://adcenter.microsoft.com/v8}GetPlacementDetailsForUrlsResponse
2297
+ # placementDetails - AdCenterWrapper::ArrayOfArrayOfPlacementDetail
2298
+ class GetPlacementDetailsForUrlsResponse
2299
+ attr_accessor :placementDetails
2300
+
2301
+ def initialize(placementDetails = nil)
2302
+ @placementDetails = placementDetails
2303
+ end
2304
+ end
2305
+
2306
+ # {https://adcenter.microsoft.com/v8}GetNormalizedStringsRequest
2307
+ # strings - AdCenterWrapper::ArrayOfstring
2308
+ # language - SOAP::SOAPString
2309
+ class GetNormalizedStringsRequest
2310
+ attr_accessor :strings
2311
+ attr_accessor :language
2312
+
2313
+ def initialize(strings = nil, language = nil)
2314
+ @strings = strings
2315
+ @language = language
2316
+ end
2317
+ end
2318
+
2319
+ # {https://adcenter.microsoft.com/v8}GetNormalizedStringsResponse
2320
+ # normalizedStrings - AdCenterWrapper::ArrayOfstring
2321
+ class GetNormalizedStringsResponse
2322
+ attr_accessor :normalizedStrings
2323
+
2324
+ def initialize(normalizedStrings = nil)
2325
+ @normalizedStrings = normalizedStrings
2326
+ end
2327
+ end
2328
+
2329
+ # {https://adcenter.microsoft.com/v8}GetKeywordEditorialReasonsByIdsRequest
2330
+ # keywordIds - AdCenterWrapper::ArrayOflong
2331
+ # accountId - SOAP::SOAPLong
2332
+ class GetKeywordEditorialReasonsByIdsRequest
2333
+ attr_accessor :keywordIds
2334
+ attr_accessor :accountId
2335
+
2336
+ def initialize(keywordIds = nil, accountId = nil)
2337
+ @keywordIds = keywordIds
2338
+ @accountId = accountId
2339
+ end
2340
+ end
2341
+
2342
+ # {https://adcenter.microsoft.com/v8}GetKeywordEditorialReasonsByIdsResponse
2343
+ # editorialReasons - AdCenterWrapper::ArrayOfEditorialReasonCollection
2344
+ class GetKeywordEditorialReasonsByIdsResponse
2345
+ attr_accessor :editorialReasons
2346
+
2347
+ def initialize(editorialReasons = nil)
2348
+ @editorialReasons = editorialReasons
2349
+ end
2350
+ end
2351
+
2352
+ # {https://adcenter.microsoft.com/v8}GetAdEditorialReasonsByIdsRequest
2353
+ # adIds - AdCenterWrapper::ArrayOflong
2354
+ # accountId - SOAP::SOAPLong
2355
+ class GetAdEditorialReasonsByIdsRequest
2356
+ attr_accessor :adIds
2357
+ attr_accessor :accountId
2358
+
2359
+ def initialize(adIds = nil, accountId = nil)
2360
+ @adIds = adIds
2361
+ @accountId = accountId
2362
+ end
2363
+ end
2364
+
2365
+ # {https://adcenter.microsoft.com/v8}GetAdEditorialReasonsByIdsResponse
2366
+ # editorialReasons - AdCenterWrapper::ArrayOfEditorialReasonCollection
2367
+ class GetAdEditorialReasonsByIdsResponse
2368
+ attr_accessor :editorialReasons
2369
+
2370
+ def initialize(editorialReasons = nil)
2371
+ @editorialReasons = editorialReasons
2372
+ end
2373
+ end
2374
+
2375
+ # {https://adcenter.microsoft.com/v8}DownloadCampaignHierarchyRequest
2376
+ # accountIds - AdCenterWrapper::ArrayOflong
2377
+ # campaigns - AdCenterWrapper::ArrayOfCampaignScope
2378
+ # lastSyncTimeInUTC - SOAP::SOAPDateTime
2379
+ # entityFilter - (any)
2380
+ class DownloadCampaignHierarchyRequest
2381
+ attr_accessor :accountIds
2382
+ attr_accessor :campaigns
2383
+ attr_accessor :lastSyncTimeInUTC
2384
+ attr_accessor :entityFilter
2385
+
2386
+ def initialize(accountIds = nil, campaigns = nil, lastSyncTimeInUTC = nil, entityFilter = nil)
2387
+ @accountIds = accountIds
2388
+ @campaigns = campaigns
2389
+ @lastSyncTimeInUTC = lastSyncTimeInUTC
2390
+ @entityFilter = entityFilter
2391
+ end
2392
+ end
2393
+
2394
+ # {https://adcenter.microsoft.com/v8}DownloadCampaignHierarchyResponse
2395
+ # downloadRequestId - SOAP::SOAPString
2396
+ class DownloadCampaignHierarchyResponse
2397
+ attr_accessor :downloadRequestId
2398
+
2399
+ def initialize(downloadRequestId = nil)
2400
+ @downloadRequestId = downloadRequestId
2401
+ end
2402
+ end
2403
+
2404
+ # {https://adcenter.microsoft.com/v8}GetDownloadStatusRequest
2405
+ # downloadRequestId - SOAP::SOAPString
2406
+ class GetDownloadStatusRequest
2407
+ attr_accessor :downloadRequestId
2408
+
2409
+ def initialize(downloadRequestId = nil)
2410
+ @downloadRequestId = downloadRequestId
2411
+ end
2412
+ end
2413
+
2414
+ # {https://adcenter.microsoft.com/v8}GetDownloadStatusResponse
2415
+ # downloadUrl - SOAP::SOAPString
2416
+ # status - (any)
2417
+ class GetDownloadStatusResponse
2418
+ attr_accessor :downloadUrl
2419
+ attr_accessor :status
2420
+
2421
+ def initialize(downloadUrl = nil, status = nil)
2422
+ @downloadUrl = downloadUrl
2423
+ @status = status
2424
+ end
2425
+ end
2426
+
2427
+ # {https://adcenter.microsoft.com/v8}AddGoalsRequest
2428
+ # accountId - SOAP::SOAPLong
2429
+ # goals - AdCenterWrapper::ArrayOfGoal
2430
+ class AddGoalsRequest
2431
+ attr_accessor :accountId
2432
+ attr_accessor :goals
2433
+
2434
+ def initialize(accountId = nil, goals = nil)
2435
+ @accountId = accountId
2436
+ @goals = goals
2437
+ end
2438
+ end
2439
+
2440
+ # {https://adcenter.microsoft.com/v8}AddGoalsResponse
2441
+ # goalResults - AdCenterWrapper::ArrayOfGoalResult
2442
+ class AddGoalsResponse
2443
+ attr_accessor :goalResults
2444
+
2445
+ def initialize(goalResults = nil)
2446
+ @goalResults = goalResults
2447
+ end
2448
+ end
2449
+
2450
+ # {https://adcenter.microsoft.com/v8}UpdateGoalsRequest
2451
+ # accountId - SOAP::SOAPLong
2452
+ # goals - AdCenterWrapper::ArrayOfGoal
2453
+ class UpdateGoalsRequest
2454
+ attr_accessor :accountId
2455
+ attr_accessor :goals
2456
+
2457
+ def initialize(accountId = nil, goals = nil)
2458
+ @accountId = accountId
2459
+ @goals = goals
2460
+ end
2461
+ end
2462
+
2463
+ # {https://adcenter.microsoft.com/v8}UpdateGoalsResponse
2464
+ # goalResults - AdCenterWrapper::ArrayOfGoalResult
2465
+ class UpdateGoalsResponse
2466
+ attr_accessor :goalResults
2467
+
2468
+ def initialize(goalResults = nil)
2469
+ @goalResults = goalResults
2470
+ end
2471
+ end
2472
+
2473
+ # {https://adcenter.microsoft.com/v8}GetGoalsRequest
2474
+ # accountId - SOAP::SOAPLong
2475
+ class GetGoalsRequest
2476
+ attr_accessor :accountId
2477
+
2478
+ def initialize(accountId = nil)
2479
+ @accountId = accountId
2480
+ end
2481
+ end
2482
+
2483
+ # {https://adcenter.microsoft.com/v8}GetGoalsResponse
2484
+ # goals - AdCenterWrapper::ArrayOfGoal
2485
+ class GetGoalsResponse
2486
+ attr_accessor :goals
2487
+
2488
+ def initialize(goals = nil)
2489
+ @goals = goals
2490
+ end
2491
+ end
2492
+
2493
+ # {https://adcenter.microsoft.com/v8}DeleteGoalsRequest
2494
+ # accountId - SOAP::SOAPLong
2495
+ # goalIds - AdCenterWrapper::ArrayOflong
2496
+ class DeleteGoalsRequest
2497
+ attr_accessor :accountId
2498
+ attr_accessor :goalIds
2499
+
2500
+ def initialize(accountId = nil, goalIds = nil)
2501
+ @accountId = accountId
2502
+ @goalIds = goalIds
2503
+ end
2504
+ end
2505
+
2506
+ # {https://adcenter.microsoft.com/v8}DeleteGoalsResponse
2507
+ class DeleteGoalsResponse
2508
+ def initialize
2509
+ end
2510
+ end
2511
+
2512
+ # {https://adcenter.microsoft.com/v8}SetAnalyticsTypeRequest
2513
+ # accountAnalyticsTypes - AdCenterWrapper::ArrayOfAccountAnalyticsType
2514
+ class SetAnalyticsTypeRequest
2515
+ attr_accessor :accountAnalyticsTypes
2516
+
2517
+ def initialize(accountAnalyticsTypes = nil)
2518
+ @accountAnalyticsTypes = accountAnalyticsTypes
2519
+ end
2520
+ end
2521
+
2522
+ # {https://adcenter.microsoft.com/v8}SetAnalyticsTypeResponse
2523
+ class SetAnalyticsTypeResponse
2524
+ def initialize
2525
+ end
2526
+ end
2527
+
2528
+ # {https://adcenter.microsoft.com/v8}GetAnalyticsTypeRequest
2529
+ # accountIds - AdCenterWrapper::ArrayOflong
2530
+ class GetAnalyticsTypeRequest
2531
+ attr_accessor :accountIds
2532
+
2533
+ def initialize(accountIds = nil)
2534
+ @accountIds = accountIds
2535
+ end
2536
+ end
2537
+
2538
+ # {https://adcenter.microsoft.com/v8}GetAnalyticsTypeResponse
2539
+ # types - AdCenterWrapper::ArrayOfAnalyticsType
2540
+ class GetAnalyticsTypeResponse
2541
+ attr_accessor :types
2542
+
2543
+ def initialize(types = nil)
2544
+ @types = types
2545
+ end
2546
+ end
2547
+
2548
+ # {https://adcenter.microsoft.com/v8}GetCampaignAdExtensionsRequest
2549
+ # accountId - SOAP::SOAPLong
2550
+ # campaignIds - AdCenterWrapper::ArrayOflong
2551
+ class GetCampaignAdExtensionsRequest
2552
+ attr_accessor :accountId
2553
+ attr_accessor :campaignIds
2554
+
2555
+ def initialize(accountId = nil, campaignIds = nil)
2556
+ @accountId = accountId
2557
+ @campaignIds = campaignIds
2558
+ end
2559
+ end
2560
+
2561
+ # {https://adcenter.microsoft.com/v8}GetCampaignAdExtensionsResponse
2562
+ # adExtensions - AdCenterWrapper::ArrayOfAdExtension
2563
+ class GetCampaignAdExtensionsResponse
2564
+ attr_accessor :adExtensions
2565
+
2566
+ def initialize(adExtensions = nil)
2567
+ @adExtensions = adExtensions
2568
+ end
2569
+ end
2570
+
2571
+ # {https://adcenter.microsoft.com/v8}SetCampaignAdExtensionsRequest
2572
+ # accountId - SOAP::SOAPLong
2573
+ # adExtensions - AdCenterWrapper::ArrayOfAdExtension
2574
+ class SetCampaignAdExtensionsRequest
2575
+ attr_accessor :accountId
2576
+ attr_accessor :adExtensions
2577
+
2578
+ def initialize(accountId = nil, adExtensions = nil)
2579
+ @accountId = accountId
2580
+ @adExtensions = adExtensions
2581
+ end
2582
+ end
2583
+
2584
+ # {https://adcenter.microsoft.com/v8}SetCampaignAdExtensionsResponse
2585
+ class SetCampaignAdExtensionsResponse
2586
+ def initialize
2587
+ end
2588
+ end
2589
+
2590
+ # {https://adcenter.microsoft.com/v8}AddCampaignsRequest
2591
+ # accountId - SOAP::SOAPLong
2592
+ # campaigns - AdCenterWrapper::ArrayOfCampaign
2593
+ class AddCampaignsRequest
2594
+ attr_accessor :accountId
2595
+ attr_accessor :campaigns
2596
+
2597
+ def initialize(accountId = nil, campaigns = nil)
2598
+ @accountId = accountId
2599
+ @campaigns = campaigns
2600
+ end
2601
+ end
2602
+
2603
+ # {https://adcenter.microsoft.com/v8}AddCampaignsResponse
2604
+ # campaignIds - AdCenterWrapper::ArrayOflong
2605
+ class AddCampaignsResponse
2606
+ attr_accessor :campaignIds
2607
+
2608
+ def initialize(campaignIds = nil)
2609
+ @campaignIds = campaignIds
2610
+ end
2611
+ end
2612
+
2613
+ # {https://adcenter.microsoft.com/v8}GetCampaignsByAccountIdRequest
2614
+ # accountId - SOAP::SOAPLong
2615
+ class GetCampaignsByAccountIdRequest
2616
+ attr_accessor :accountId
2617
+
2618
+ def initialize(accountId = nil)
2619
+ @accountId = accountId
2620
+ end
2621
+ end
2622
+
2623
+ # {https://adcenter.microsoft.com/v8}GetCampaignsByAccountIdResponse
2624
+ # campaigns - AdCenterWrapper::ArrayOfCampaign
2625
+ class GetCampaignsByAccountIdResponse
2626
+ attr_accessor :campaigns
2627
+
2628
+ def initialize(campaigns = nil)
2629
+ @campaigns = campaigns
2630
+ end
2631
+ end
2632
+
2633
+ # {https://adcenter.microsoft.com/v8}GetCampaignsByIdsRequest
2634
+ # accountId - SOAP::SOAPLong
2635
+ # campaignIds - AdCenterWrapper::ArrayOflong
2636
+ class GetCampaignsByIdsRequest
2637
+ attr_accessor :accountId
2638
+ attr_accessor :campaignIds
2639
+
2640
+ def initialize(accountId = nil, campaignIds = nil)
2641
+ @accountId = accountId
2642
+ @campaignIds = campaignIds
2643
+ end
2644
+ end
2645
+
2646
+ # {https://adcenter.microsoft.com/v8}GetCampaignsByIdsResponse
2647
+ # campaigns - AdCenterWrapper::ArrayOfCampaign
2648
+ class GetCampaignsByIdsResponse
2649
+ attr_accessor :campaigns
2650
+
2651
+ def initialize(campaigns = nil)
2652
+ @campaigns = campaigns
2653
+ end
2654
+ end
2655
+
2656
+ # {https://adcenter.microsoft.com/v8}PauseCampaignsRequest
2657
+ # accountId - SOAP::SOAPLong
2658
+ # campaignIds - AdCenterWrapper::ArrayOflong
2659
+ class PauseCampaignsRequest
2660
+ attr_accessor :accountId
2661
+ attr_accessor :campaignIds
2662
+
2663
+ def initialize(accountId = nil, campaignIds = nil)
2664
+ @accountId = accountId
2665
+ @campaignIds = campaignIds
2666
+ end
2667
+ end
2668
+
2669
+ # {https://adcenter.microsoft.com/v8}PauseCampaignsResponse
2670
+ class PauseCampaignsResponse
2671
+ def initialize
2672
+ end
2673
+ end
2674
+
2675
+ # {https://adcenter.microsoft.com/v8}ResumeCampaignsRequest
2676
+ # accountId - SOAP::SOAPLong
2677
+ # campaignIds - AdCenterWrapper::ArrayOflong
2678
+ class ResumeCampaignsRequest
2679
+ attr_accessor :accountId
2680
+ attr_accessor :campaignIds
2681
+
2682
+ def initialize(accountId = nil, campaignIds = nil)
2683
+ @accountId = accountId
2684
+ @campaignIds = campaignIds
2685
+ end
2686
+ end
2687
+
2688
+ # {https://adcenter.microsoft.com/v8}ResumeCampaignsResponse
2689
+ class ResumeCampaignsResponse
2690
+ def initialize
2691
+ end
2692
+ end
2693
+
2694
+ # {https://adcenter.microsoft.com/v8}DeleteCampaignsRequest
2695
+ # accountId - SOAP::SOAPLong
2696
+ # campaignIds - AdCenterWrapper::ArrayOflong
2697
+ class DeleteCampaignsRequest
2698
+ attr_accessor :accountId
2699
+ attr_accessor :campaignIds
2700
+
2701
+ def initialize(accountId = nil, campaignIds = nil)
2702
+ @accountId = accountId
2703
+ @campaignIds = campaignIds
2704
+ end
2705
+ end
2706
+
2707
+ # {https://adcenter.microsoft.com/v8}DeleteCampaignsResponse
2708
+ class DeleteCampaignsResponse
2709
+ def initialize
2710
+ end
2711
+ end
2712
+
2713
+ # {https://adcenter.microsoft.com/v8}UpdateCampaignsRequest
2714
+ # accountId - SOAP::SOAPLong
2715
+ # campaigns - AdCenterWrapper::ArrayOfCampaign
2716
+ class UpdateCampaignsRequest
2717
+ attr_accessor :accountId
2718
+ attr_accessor :campaigns
2719
+
2720
+ def initialize(accountId = nil, campaigns = nil)
2721
+ @accountId = accountId
2722
+ @campaigns = campaigns
2723
+ end
2724
+ end
2725
+
2726
+ # {https://adcenter.microsoft.com/v8}UpdateCampaignsResponse
2727
+ class UpdateCampaignsResponse
2728
+ def initialize
2729
+ end
2730
+ end
2731
+
2732
+ # {https://adcenter.microsoft.com/v8}GetNegativeKeywordsByCampaignIdsRequest
2733
+ # accountId - SOAP::SOAPLong
2734
+ # campaignIds - AdCenterWrapper::ArrayOflong
2735
+ class GetNegativeKeywordsByCampaignIdsRequest
2736
+ attr_accessor :accountId
2737
+ attr_accessor :campaignIds
2738
+
2739
+ def initialize(accountId = nil, campaignIds = nil)
2740
+ @accountId = accountId
2741
+ @campaignIds = campaignIds
2742
+ end
2743
+ end
2744
+
2745
+ # {https://adcenter.microsoft.com/v8}GetNegativeKeywordsByCampaignIdsResponse
2746
+ # campaignNegativeKeywords - AdCenterWrapper::ArrayOfCampaignNegativeKeywords
2747
+ class GetNegativeKeywordsByCampaignIdsResponse
2748
+ attr_accessor :campaignNegativeKeywords
2749
+
2750
+ def initialize(campaignNegativeKeywords = nil)
2751
+ @campaignNegativeKeywords = campaignNegativeKeywords
2752
+ end
2753
+ end
2754
+
2755
+ # {https://adcenter.microsoft.com/v8}SetNegativeKeywordsToCampaignsRequest
2756
+ # accountId - SOAP::SOAPLong
2757
+ # campaignNegativeKeywords - AdCenterWrapper::ArrayOfCampaignNegativeKeywords
2758
+ class SetNegativeKeywordsToCampaignsRequest
2759
+ attr_accessor :accountId
2760
+ attr_accessor :campaignNegativeKeywords
2761
+
2762
+ def initialize(accountId = nil, campaignNegativeKeywords = nil)
2763
+ @accountId = accountId
2764
+ @campaignNegativeKeywords = campaignNegativeKeywords
2765
+ end
2766
+ end
2767
+
2768
+ # {https://adcenter.microsoft.com/v8}SetNegativeKeywordsToCampaignsResponse
2769
+ class SetNegativeKeywordsToCampaignsResponse
2770
+ def initialize
2771
+ end
2772
+ end
2773
+
2774
+ # {https://adcenter.microsoft.com/v8}GetNegativeSitesByCampaignIdsRequest
2775
+ # accountId - SOAP::SOAPLong
2776
+ # campaignIds - AdCenterWrapper::ArrayOflong
2777
+ class GetNegativeSitesByCampaignIdsRequest
2778
+ attr_accessor :accountId
2779
+ attr_accessor :campaignIds
2780
+
2781
+ def initialize(accountId = nil, campaignIds = nil)
2782
+ @accountId = accountId
2783
+ @campaignIds = campaignIds
2784
+ end
2785
+ end
2786
+
2787
+ # {https://adcenter.microsoft.com/v8}GetNegativeSitesByCampaignIdsResponse
2788
+ # campaignNegativeSites - AdCenterWrapper::ArrayOfCampaignNegativeSites
2789
+ class GetNegativeSitesByCampaignIdsResponse
2790
+ attr_accessor :campaignNegativeSites
2791
+
2792
+ def initialize(campaignNegativeSites = nil)
2793
+ @campaignNegativeSites = campaignNegativeSites
2794
+ end
2795
+ end
2796
+
2797
+ # {https://adcenter.microsoft.com/v8}SetNegativeSitesToCampaignsRequest
2798
+ # accountId - SOAP::SOAPLong
2799
+ # campaignNegativeSites - AdCenterWrapper::ArrayOfCampaignNegativeSites
2800
+ class SetNegativeSitesToCampaignsRequest
2801
+ attr_accessor :accountId
2802
+ attr_accessor :campaignNegativeSites
2803
+
2804
+ def initialize(accountId = nil, campaignNegativeSites = nil)
2805
+ @accountId = accountId
2806
+ @campaignNegativeSites = campaignNegativeSites
2807
+ end
2808
+ end
2809
+
2810
+ # {https://adcenter.microsoft.com/v8}SetNegativeSitesToCampaignsResponse
2811
+ class SetNegativeSitesToCampaignsResponse
2812
+ def initialize
2813
+ end
2814
+ end
2815
+
2816
+ # {https://adcenter.microsoft.com/v8}AddAdGroupsRequest
2817
+ # campaignId - SOAP::SOAPLong
2818
+ # adGroups - AdCenterWrapper::ArrayOfAdGroup
2819
+ class AddAdGroupsRequest
2820
+ attr_accessor :campaignId
2821
+ attr_accessor :adGroups
2822
+
2823
+ def initialize(campaignId = nil, adGroups = nil)
2824
+ @campaignId = campaignId
2825
+ @adGroups = adGroups
2826
+ end
2827
+ end
2828
+
2829
+ # {https://adcenter.microsoft.com/v8}AddAdGroupsResponse
2830
+ # adGroupIds - AdCenterWrapper::ArrayOflong
2831
+ class AddAdGroupsResponse
2832
+ attr_accessor :adGroupIds
2833
+
2834
+ def initialize(adGroupIds = nil)
2835
+ @adGroupIds = adGroupIds
2836
+ end
2837
+ end
2838
+
2839
+ # {https://adcenter.microsoft.com/v8}DeleteAdGroupsRequest
2840
+ # campaignId - SOAP::SOAPLong
2841
+ # adGroupIds - AdCenterWrapper::ArrayOflong
2842
+ class DeleteAdGroupsRequest
2843
+ attr_accessor :campaignId
2844
+ attr_accessor :adGroupIds
2845
+
2846
+ def initialize(campaignId = nil, adGroupIds = nil)
2847
+ @campaignId = campaignId
2848
+ @adGroupIds = adGroupIds
2849
+ end
2850
+ end
2851
+
2852
+ # {https://adcenter.microsoft.com/v8}DeleteAdGroupsResponse
2853
+ class DeleteAdGroupsResponse
2854
+ def initialize
2855
+ end
2856
+ end
2857
+
2858
+ # {https://adcenter.microsoft.com/v8}GetAdGroupsByIdsRequest
2859
+ # campaignId - SOAP::SOAPLong
2860
+ # adGroupIds - AdCenterWrapper::ArrayOflong
2861
+ class GetAdGroupsByIdsRequest
2862
+ attr_accessor :campaignId
2863
+ attr_accessor :adGroupIds
2864
+
2865
+ def initialize(campaignId = nil, adGroupIds = nil)
2866
+ @campaignId = campaignId
2867
+ @adGroupIds = adGroupIds
2868
+ end
2869
+ end
2870
+
2871
+ # {https://adcenter.microsoft.com/v8}GetAdGroupsByIdsResponse
2872
+ # adGroups - AdCenterWrapper::ArrayOfAdGroup
2873
+ class GetAdGroupsByIdsResponse
2874
+ attr_accessor :adGroups
2875
+
2876
+ def initialize(adGroups = nil)
2877
+ @adGroups = adGroups
2878
+ end
2879
+ end
2880
+
2881
+ # {https://adcenter.microsoft.com/v8}GetAdGroupsByCampaignIdRequest
2882
+ # campaignId - SOAP::SOAPLong
2883
+ class GetAdGroupsByCampaignIdRequest
2884
+ attr_accessor :campaignId
2885
+
2886
+ def initialize(campaignId = nil)
2887
+ @campaignId = campaignId
2888
+ end
2889
+ end
2890
+
2891
+ # {https://adcenter.microsoft.com/v8}GetAdGroupsByCampaignIdResponse
2892
+ # adGroups - AdCenterWrapper::ArrayOfAdGroup
2893
+ class GetAdGroupsByCampaignIdResponse
2894
+ attr_accessor :adGroups
2895
+
2896
+ def initialize(adGroups = nil)
2897
+ @adGroups = adGroups
2898
+ end
2899
+ end
2900
+
2901
+ # {https://adcenter.microsoft.com/v8}PauseAdGroupsRequest
2902
+ # campaignId - SOAP::SOAPLong
2903
+ # adGroupIds - AdCenterWrapper::ArrayOflong
2904
+ class PauseAdGroupsRequest
2905
+ attr_accessor :campaignId
2906
+ attr_accessor :adGroupIds
2907
+
2908
+ def initialize(campaignId = nil, adGroupIds = nil)
2909
+ @campaignId = campaignId
2910
+ @adGroupIds = adGroupIds
2911
+ end
2912
+ end
2913
+
2914
+ # {https://adcenter.microsoft.com/v8}PauseAdGroupsResponse
2915
+ class PauseAdGroupsResponse
2916
+ def initialize
2917
+ end
2918
+ end
2919
+
2920
+ # {https://adcenter.microsoft.com/v8}ResumeAdGroupsRequest
2921
+ # campaignId - SOAP::SOAPLong
2922
+ # adGroupIds - AdCenterWrapper::ArrayOflong
2923
+ class ResumeAdGroupsRequest
2924
+ attr_accessor :campaignId
2925
+ attr_accessor :adGroupIds
2926
+
2927
+ def initialize(campaignId = nil, adGroupIds = nil)
2928
+ @campaignId = campaignId
2929
+ @adGroupIds = adGroupIds
2930
+ end
2931
+ end
2932
+
2933
+ # {https://adcenter.microsoft.com/v8}ResumeAdGroupsResponse
2934
+ class ResumeAdGroupsResponse
2935
+ def initialize
2936
+ end
2937
+ end
2938
+
2939
+ # {https://adcenter.microsoft.com/v8}SubmitAdGroupForApprovalRequest
2940
+ # adGroupId - SOAP::SOAPLong
2941
+ class SubmitAdGroupForApprovalRequest
2942
+ attr_accessor :adGroupId
2943
+
2944
+ def initialize(adGroupId = nil)
2945
+ @adGroupId = adGroupId
2946
+ end
2947
+ end
2948
+
2949
+ # {https://adcenter.microsoft.com/v8}SubmitAdGroupForApprovalResponse
2950
+ class SubmitAdGroupForApprovalResponse
2951
+ def initialize
2952
+ end
2953
+ end
2954
+
2955
+ # {https://adcenter.microsoft.com/v8}UpdateAdGroupsRequest
2956
+ # campaignId - SOAP::SOAPLong
2957
+ # adGroups - AdCenterWrapper::ArrayOfAdGroup
2958
+ class UpdateAdGroupsRequest
2959
+ attr_accessor :campaignId
2960
+ attr_accessor :adGroups
2961
+
2962
+ def initialize(campaignId = nil, adGroups = nil)
2963
+ @campaignId = campaignId
2964
+ @adGroups = adGroups
2965
+ end
2966
+ end
2967
+
2968
+ # {https://adcenter.microsoft.com/v8}UpdateAdGroupsResponse
2969
+ class UpdateAdGroupsResponse
2970
+ def initialize
2971
+ end
2972
+ end
2973
+
2974
+ # {https://adcenter.microsoft.com/v8}GetNegativeKeywordsByAdGroupIdsRequest
2975
+ # campaignId - SOAP::SOAPLong
2976
+ # adGroupIds - AdCenterWrapper::ArrayOflong
2977
+ class GetNegativeKeywordsByAdGroupIdsRequest
2978
+ attr_accessor :campaignId
2979
+ attr_accessor :adGroupIds
2980
+
2981
+ def initialize(campaignId = nil, adGroupIds = nil)
2982
+ @campaignId = campaignId
2983
+ @adGroupIds = adGroupIds
2984
+ end
2985
+ end
2986
+
2987
+ # {https://adcenter.microsoft.com/v8}GetNegativeKeywordsByAdGroupIdsResponse
2988
+ # adGroupNegativeKeywords - AdCenterWrapper::ArrayOfAdGroupNegativeKeywords
2989
+ class GetNegativeKeywordsByAdGroupIdsResponse
2990
+ attr_accessor :adGroupNegativeKeywords
2991
+
2992
+ def initialize(adGroupNegativeKeywords = nil)
2993
+ @adGroupNegativeKeywords = adGroupNegativeKeywords
2994
+ end
2995
+ end
2996
+
2997
+ # {https://adcenter.microsoft.com/v8}SetNegativeKeywordsToAdGroupsRequest
2998
+ # campaignId - SOAP::SOAPLong
2999
+ # adGroupNegativeKeywords - AdCenterWrapper::ArrayOfAdGroupNegativeKeywords
3000
+ class SetNegativeKeywordsToAdGroupsRequest
3001
+ attr_accessor :campaignId
3002
+ attr_accessor :adGroupNegativeKeywords
3003
+
3004
+ def initialize(campaignId = nil, adGroupNegativeKeywords = nil)
3005
+ @campaignId = campaignId
3006
+ @adGroupNegativeKeywords = adGroupNegativeKeywords
3007
+ end
3008
+ end
3009
+
3010
+ # {https://adcenter.microsoft.com/v8}SetNegativeKeywordsToAdGroupsResponse
3011
+ class SetNegativeKeywordsToAdGroupsResponse
3012
+ def initialize
3013
+ end
3014
+ end
3015
+
3016
+ # {https://adcenter.microsoft.com/v8}GetNegativeSitesByAdGroupIdsRequest
3017
+ # campaignId - SOAP::SOAPLong
3018
+ # adGroupIds - AdCenterWrapper::ArrayOflong
3019
+ class GetNegativeSitesByAdGroupIdsRequest
3020
+ attr_accessor :campaignId
3021
+ attr_accessor :adGroupIds
3022
+
3023
+ def initialize(campaignId = nil, adGroupIds = nil)
3024
+ @campaignId = campaignId
3025
+ @adGroupIds = adGroupIds
3026
+ end
3027
+ end
3028
+
3029
+ # {https://adcenter.microsoft.com/v8}GetNegativeSitesByAdGroupIdsResponse
3030
+ # adGroupNegativeSites - AdCenterWrapper::ArrayOfAdGroupNegativeSites
3031
+ class GetNegativeSitesByAdGroupIdsResponse
3032
+ attr_accessor :adGroupNegativeSites
3033
+
3034
+ def initialize(adGroupNegativeSites = nil)
3035
+ @adGroupNegativeSites = adGroupNegativeSites
3036
+ end
3037
+ end
3038
+
3039
+ # {https://adcenter.microsoft.com/v8}SetNegativeSitesToAdGroupsRequest
3040
+ # campaignId - SOAP::SOAPLong
3041
+ # adGroupNegativeSites - AdCenterWrapper::ArrayOfAdGroupNegativeSites
3042
+ class SetNegativeSitesToAdGroupsRequest
3043
+ attr_accessor :campaignId
3044
+ attr_accessor :adGroupNegativeSites
3045
+
3046
+ def initialize(campaignId = nil, adGroupNegativeSites = nil)
3047
+ @campaignId = campaignId
3048
+ @adGroupNegativeSites = adGroupNegativeSites
3049
+ end
3050
+ end
3051
+
3052
+ # {https://adcenter.microsoft.com/v8}SetNegativeSitesToAdGroupsResponse
3053
+ class SetNegativeSitesToAdGroupsResponse
3054
+ def initialize
3055
+ end
3056
+ end
3057
+
3058
+ # {https://adcenter.microsoft.com/v8}AddTargetRequest
3059
+ # adGroupId - SOAP::SOAPLong
3060
+ # target - AdCenterWrapper::Target
3061
+ class AddTargetRequest
3062
+ attr_accessor :adGroupId
3063
+ attr_accessor :target
3064
+
3065
+ def initialize(adGroupId = nil, target = nil)
3066
+ @adGroupId = adGroupId
3067
+ @target = target
3068
+ end
3069
+ end
3070
+
3071
+ # {https://adcenter.microsoft.com/v8}AddTargetResponse
3072
+ # targetId - SOAP::SOAPLong
3073
+ class AddTargetResponse
3074
+ attr_accessor :targetId
3075
+
3076
+ def initialize(targetId = nil)
3077
+ @targetId = targetId
3078
+ end
3079
+ end
3080
+
3081
+ # {https://adcenter.microsoft.com/v8}DeleteTargetRequest
3082
+ # adGroupId - SOAP::SOAPLong
3083
+ class DeleteTargetRequest
3084
+ attr_accessor :adGroupId
3085
+
3086
+ def initialize(adGroupId = nil)
3087
+ @adGroupId = adGroupId
3088
+ end
3089
+ end
3090
+
3091
+ # {https://adcenter.microsoft.com/v8}DeleteTargetResponse
3092
+ class DeleteTargetResponse
3093
+ def initialize
3094
+ end
3095
+ end
3096
+
3097
+ # {https://adcenter.microsoft.com/v8}GetTargetByAdGroupIdRequest
3098
+ # adGroupId - SOAP::SOAPLong
3099
+ class GetTargetByAdGroupIdRequest
3100
+ attr_accessor :adGroupId
3101
+
3102
+ def initialize(adGroupId = nil)
3103
+ @adGroupId = adGroupId
3104
+ end
3105
+ end
3106
+
3107
+ # {https://adcenter.microsoft.com/v8}GetTargetByAdGroupIdResponse
3108
+ # target - AdCenterWrapper::Target
3109
+ class GetTargetByAdGroupIdResponse
3110
+ attr_accessor :target
3111
+
3112
+ def initialize(target = nil)
3113
+ @target = target
3114
+ end
3115
+ end
3116
+
3117
+ # {https://adcenter.microsoft.com/v8}UpdateTargetRequest
3118
+ # adGroupId - SOAP::SOAPLong
3119
+ # target - AdCenterWrapper::Target
3120
+ class UpdateTargetRequest
3121
+ attr_accessor :adGroupId
3122
+ attr_accessor :target
3123
+
3124
+ def initialize(adGroupId = nil, target = nil)
3125
+ @adGroupId = adGroupId
3126
+ @target = target
3127
+ end
3128
+ end
3129
+
3130
+ # {https://adcenter.microsoft.com/v8}UpdateTargetResponse
3131
+ class UpdateTargetResponse
3132
+ def initialize
3133
+ end
3134
+ end
3135
+
3136
+ # {https://adcenter.microsoft.com/v8}AddTargetsToLibraryRequest
3137
+ # targets - AdCenterWrapper::ArrayOfTarget
3138
+ class AddTargetsToLibraryRequest
3139
+ attr_accessor :targets
3140
+
3141
+ def initialize(targets = nil)
3142
+ @targets = targets
3143
+ end
3144
+ end
3145
+
3146
+ # {https://adcenter.microsoft.com/v8}AddTargetsToLibraryResponse
3147
+ # targetIds - AdCenterWrapper::ArrayOflong
3148
+ class AddTargetsToLibraryResponse
3149
+ attr_accessor :targetIds
3150
+
3151
+ def initialize(targetIds = nil)
3152
+ @targetIds = targetIds
3153
+ end
3154
+ end
3155
+
3156
+ # {https://adcenter.microsoft.com/v8}UpdateTargetsInLibraryRequest
3157
+ # targets - AdCenterWrapper::ArrayOfTarget
3158
+ class UpdateTargetsInLibraryRequest
3159
+ attr_accessor :targets
3160
+
3161
+ def initialize(targets = nil)
3162
+ @targets = targets
3163
+ end
3164
+ end
3165
+
3166
+ # {https://adcenter.microsoft.com/v8}UpdateTargetsInLibraryResponse
3167
+ class UpdateTargetsInLibraryResponse
3168
+ def initialize
3169
+ end
3170
+ end
3171
+
3172
+ # {https://adcenter.microsoft.com/v8}UpdateDeviceOSTargetsRequest
3173
+ # targetAssociations - AdCenterWrapper::ArrayOfTargetAssociation
3174
+ class UpdateDeviceOSTargetsRequest
3175
+ attr_accessor :targetAssociations
3176
+
3177
+ def initialize(targetAssociations = nil)
3178
+ @targetAssociations = targetAssociations
3179
+ end
3180
+ end
3181
+
3182
+ # {https://adcenter.microsoft.com/v8}UpdateDeviceOSTargetsResponse
3183
+ class UpdateDeviceOSTargetsResponse
3184
+ def initialize
3185
+ end
3186
+ end
3187
+
3188
+ # {https://adcenter.microsoft.com/v8}DeleteTargetsFromLibraryRequest
3189
+ # targetIds - AdCenterWrapper::ArrayOflong
3190
+ class DeleteTargetsFromLibraryRequest
3191
+ attr_accessor :targetIds
3192
+
3193
+ def initialize(targetIds = nil)
3194
+ @targetIds = targetIds
3195
+ end
3196
+ end
3197
+
3198
+ # {https://adcenter.microsoft.com/v8}DeleteTargetsFromLibraryResponse
3199
+ class DeleteTargetsFromLibraryResponse
3200
+ def initialize
3201
+ end
3202
+ end
3203
+
3204
+ # {https://adcenter.microsoft.com/v8}GetTargetsInfoFromLibraryRequest
3205
+ class GetTargetsInfoFromLibraryRequest
3206
+ def initialize
3207
+ end
3208
+ end
3209
+
3210
+ # {https://adcenter.microsoft.com/v8}GetTargetsInfoFromLibraryResponse
3211
+ # targetsInfo - AdCenterWrapper::ArrayOfTargetInfo
3212
+ class GetTargetsInfoFromLibraryResponse
3213
+ attr_accessor :targetsInfo
3214
+
3215
+ def initialize(targetsInfo = nil)
3216
+ @targetsInfo = targetsInfo
3217
+ end
3218
+ end
3219
+
3220
+ # {https://adcenter.microsoft.com/v8}GetTargetsByIdsRequest
3221
+ # targetIds - AdCenterWrapper::ArrayOflong
3222
+ class GetTargetsByIdsRequest
3223
+ attr_accessor :targetIds
3224
+
3225
+ def initialize(targetIds = nil)
3226
+ @targetIds = targetIds
3227
+ end
3228
+ end
3229
+
3230
+ # {https://adcenter.microsoft.com/v8}GetTargetsByIdsResponse
3231
+ # targets - AdCenterWrapper::ArrayOfTarget
3232
+ class GetTargetsByIdsResponse
3233
+ attr_accessor :targets
3234
+
3235
+ def initialize(targets = nil)
3236
+ @targets = targets
3237
+ end
3238
+ end
3239
+
3240
+ # {https://adcenter.microsoft.com/v8}GetDeviceOSTargetsByIdsRequest
3241
+ # targetIds - AdCenterWrapper::ArrayOflong
3242
+ class GetDeviceOSTargetsByIdsRequest
3243
+ attr_accessor :targetIds
3244
+
3245
+ def initialize(targetIds = nil)
3246
+ @targetIds = targetIds
3247
+ end
3248
+ end
3249
+
3250
+ # {https://adcenter.microsoft.com/v8}GetDeviceOSTargetsByIdsResponse
3251
+ # targetAssociations - AdCenterWrapper::ArrayOfTargetAssociation
3252
+ class GetDeviceOSTargetsByIdsResponse
3253
+ attr_accessor :targetAssociations
3254
+
3255
+ def initialize(targetAssociations = nil)
3256
+ @targetAssociations = targetAssociations
3257
+ end
3258
+ end
3259
+
3260
+ # {https://adcenter.microsoft.com/v8}SetTargetToAdGroupRequest
3261
+ # adGroupId - SOAP::SOAPLong
3262
+ # targetId - SOAP::SOAPLong
3263
+ class SetTargetToAdGroupRequest
3264
+ attr_accessor :adGroupId
3265
+ attr_accessor :targetId
3266
+
3267
+ def initialize(adGroupId = nil, targetId = nil)
3268
+ @adGroupId = adGroupId
3269
+ @targetId = targetId
3270
+ end
3271
+ end
3272
+
3273
+ # {https://adcenter.microsoft.com/v8}SetTargetToAdGroupResponse
3274
+ class SetTargetToAdGroupResponse
3275
+ def initialize
3276
+ end
3277
+ end
3278
+
3279
+ # {https://adcenter.microsoft.com/v8}DeleteTargetFromAdGroupRequest
3280
+ # adGroupId - SOAP::SOAPLong
3281
+ class DeleteTargetFromAdGroupRequest
3282
+ attr_accessor :adGroupId
3283
+
3284
+ def initialize(adGroupId = nil)
3285
+ @adGroupId = adGroupId
3286
+ end
3287
+ end
3288
+
3289
+ # {https://adcenter.microsoft.com/v8}DeleteTargetFromAdGroupResponse
3290
+ class DeleteTargetFromAdGroupResponse
3291
+ def initialize
3292
+ end
3293
+ end
3294
+
3295
+ # {https://adcenter.microsoft.com/v8}GetTargetsByAdGroupIdsRequest
3296
+ # adGroupIds - AdCenterWrapper::ArrayOflong
3297
+ class GetTargetsByAdGroupIdsRequest
3298
+ attr_accessor :adGroupIds
3299
+
3300
+ def initialize(adGroupIds = nil)
3301
+ @adGroupIds = adGroupIds
3302
+ end
3303
+ end
3304
+
3305
+ # {https://adcenter.microsoft.com/v8}GetTargetsByAdGroupIdsResponse
3306
+ # targets - AdCenterWrapper::ArrayOfTarget
3307
+ class GetTargetsByAdGroupIdsResponse
3308
+ attr_accessor :targets
3309
+
3310
+ def initialize(targets = nil)
3311
+ @targets = targets
3312
+ end
3313
+ end
3314
+
3315
+ # {https://adcenter.microsoft.com/v8}SetTargetToCampaignRequest
3316
+ # campaignId - SOAP::SOAPLong
3317
+ # targetId - SOAP::SOAPLong
3318
+ class SetTargetToCampaignRequest
3319
+ attr_accessor :campaignId
3320
+ attr_accessor :targetId
3321
+
3322
+ def initialize(campaignId = nil, targetId = nil)
3323
+ @campaignId = campaignId
3324
+ @targetId = targetId
3325
+ end
3326
+ end
3327
+
3328
+ # {https://adcenter.microsoft.com/v8}SetTargetToCampaignResponse
3329
+ class SetTargetToCampaignResponse
3330
+ def initialize
3331
+ end
3332
+ end
3333
+
3334
+ # {https://adcenter.microsoft.com/v8}DeleteTargetFromCampaignRequest
3335
+ # campaignId - SOAP::SOAPLong
3336
+ class DeleteTargetFromCampaignRequest
3337
+ attr_accessor :campaignId
3338
+
3339
+ def initialize(campaignId = nil)
3340
+ @campaignId = campaignId
3341
+ end
3342
+ end
3343
+
3344
+ # {https://adcenter.microsoft.com/v8}DeleteTargetFromCampaignResponse
3345
+ class DeleteTargetFromCampaignResponse
3346
+ def initialize
3347
+ end
3348
+ end
3349
+
3350
+ # {https://adcenter.microsoft.com/v8}GetTargetsByCampaignIdsRequest
3351
+ # campaignIds - AdCenterWrapper::ArrayOflong
3352
+ class GetTargetsByCampaignIdsRequest
3353
+ attr_accessor :campaignIds
3354
+
3355
+ def initialize(campaignIds = nil)
3356
+ @campaignIds = campaignIds
3357
+ end
3358
+ end
3359
+
3360
+ # {https://adcenter.microsoft.com/v8}GetTargetsByCampaignIdsResponse
3361
+ # targets - AdCenterWrapper::ArrayOfTarget
3362
+ class GetTargetsByCampaignIdsResponse
3363
+ attr_accessor :targets
3364
+
3365
+ def initialize(targets = nil)
3366
+ @targets = targets
3367
+ end
3368
+ end
3369
+
3370
+ # {https://adcenter.microsoft.com/v8}AddAdsRequest
3371
+ # adGroupId - SOAP::SOAPLong
3372
+ # ads - AdCenterWrapper::ArrayOfAd
3373
+ class AddAdsRequest
3374
+ attr_accessor :adGroupId
3375
+ attr_accessor :ads
3376
+
3377
+ def initialize(adGroupId = nil, ads = nil)
3378
+ @adGroupId = adGroupId
3379
+ @ads = ads
3380
+ end
3381
+ end
3382
+
3383
+ # {https://adcenter.microsoft.com/v8}AddAdsResponse
3384
+ # adIds - AdCenterWrapper::ArrayOflong
3385
+ class AddAdsResponse
3386
+ attr_accessor :adIds
3387
+
3388
+ def initialize(adIds = nil)
3389
+ @adIds = adIds
3390
+ end
3391
+ end
3392
+
3393
+ # {https://adcenter.microsoft.com/v8}DeleteAdsRequest
3394
+ # adGroupId - SOAP::SOAPLong
3395
+ # adIds - AdCenterWrapper::ArrayOflong
3396
+ class DeleteAdsRequest
3397
+ attr_accessor :adGroupId
3398
+ attr_accessor :adIds
3399
+
3400
+ def initialize(adGroupId = nil, adIds = nil)
3401
+ @adGroupId = adGroupId
3402
+ @adIds = adIds
3403
+ end
3404
+ end
3405
+
3406
+ # {https://adcenter.microsoft.com/v8}DeleteAdsResponse
3407
+ class DeleteAdsResponse
3408
+ def initialize
3409
+ end
3410
+ end
3411
+
3412
+
3413
+ end