adcenter-client 7.0.3 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/.gemtest +0 -0
  2. data/History.txt +6 -0
  3. data/Manifest.txt +41 -19
  4. data/README.txt +1 -1
  5. data/Rakefile.rb +2 -2
  6. data/VERSION +1 -1
  7. data/devel/gen_wsdl_drivers.rb +1 -1
  8. data/devel/wsdl.yml +16 -13
  9. data/lib/AdIntelligenceService.rb +787 -0
  10. data/lib/AdIntelligenceServiceClient.rb +160 -0
  11. data/lib/AdIntelligenceServiceDriver.rb +115 -0
  12. data/lib/AdIntelligenceServiceMappingRegistry.rb +1378 -0
  13. data/lib/AdministrationService.rb +85 -0
  14. data/lib/AdministrationServiceClient.rb +46 -0
  15. data/lib/AdministrationServiceDriver.rb +8 -8
  16. data/lib/AdministrationServiceMappingRegistry.rb +8 -7
  17. data/lib/CampaignManagementService.rb +3413 -0
  18. data/lib/CampaignManagementServiceClient.rb +1330 -0
  19. data/lib/CampaignManagementServiceDriver.rb +335 -359
  20. data/lib/CampaignManagementServiceMappingRegistry.rb +2288 -2259
  21. data/lib/CustomerBillingService.rb +419 -0
  22. data/lib/CustomerBillingServiceClient.rb +148 -0
  23. data/lib/CustomerBillingServiceDriver.rb +17 -9
  24. data/lib/CustomerBillingServiceMappingRegistry.rb +50 -32
  25. data/lib/CustomerManagementService.rb +1502 -0
  26. data/lib/CustomerManagementServiceClient.rb +368 -0
  27. data/lib/CustomerManagementServiceDriver.rb +59 -19
  28. data/lib/CustomerManagementServiceMappingRegistry.rb +373 -145
  29. data/lib/NotificationService.rb +427 -0
  30. data/lib/NotificationServiceClient.rb +48 -0
  31. data/lib/NotificationServiceDriver.rb +59 -0
  32. data/lib/NotificationServiceMappingRegistry.rb +756 -0
  33. data/lib/OptimizerService.rb +265 -0
  34. data/lib/OptimizerServiceClient.rb +48 -0
  35. data/lib/OptimizerServiceDriver.rb +59 -0
  36. data/lib/OptimizerServiceMappingRegistry.rb +469 -0
  37. data/lib/ReportingService.rb +2376 -0
  38. data/lib/ReportingServiceClient.rb +48 -0
  39. data/lib/ReportingServiceDriver.rb +8 -8
  40. data/lib/ReportingServiceMappingRegistry.rb +1718 -1476
  41. data/lib/ad_intelligence_service.rb +9 -0
  42. data/lib/adcenter_client.rb +30 -23
  43. data/lib/adcenter_service.rb +15 -1
  44. data/lib/adcenter_wrapper_entities.rb +8179 -8164
  45. data/lib/administration_service.rb +1 -0
  46. data/lib/campaign_management_service.rb +2 -0
  47. data/lib/custom_assertions.rb +1 -0
  48. data/lib/customer_billing_service.rb +2 -0
  49. data/lib/customer_management_service.rb +4 -0
  50. data/lib/notification_management.rb +2 -0
  51. data/lib/notification_service.rb +7 -0
  52. data/lib/optimizer_service.rb +7 -0
  53. data/lib/reporting_service.rb +2 -0
  54. data/lib/secure_data_management_service.rb +2 -0
  55. data/tasks/doctask.rake +1 -1
  56. data/test/adcenter_client_test.rb +2 -1
  57. data/test/administration_service_test.rb +2 -2
  58. data/test/customer_management_service_test.rb +2 -2
  59. data/test/report_service_test.rb +16 -6
  60. metadata +54 -35
  61. data/lib/SecureDataManagementServiceDriver.rb +0 -51
  62. data/lib/SecureDataManagementServiceMappingRegistry.rb +0 -380
  63. data/lib/defaultDriver.rb +0 -67
File without changes
@@ -1,3 +1,9 @@
1
+ === 8.0.0 / 2011-11-08
2
+
3
+ * Version 8.0.0
4
+
5
+ * updated to use adCenter API v8
6
+
1
7
  === 7.0.3 / 2011-01-31
2
8
 
3
9
  * Version 7.0.3
@@ -1,39 +1,59 @@
1
1
  .autotest
2
- History.txt
3
- Manifest.txt
4
- README.txt
5
- Rakefile.rb
6
- TODO
7
- VERSION
8
2
  bin/get_adcenter_account_info.rb
9
3
  devel/gen_wsdl_drivers.rb
10
4
  devel/wsdl.yml
11
- lib/AdministrationServiceDriver.rb
12
- lib/AdministrationServiceMappingRegistry.rb
13
- lib/CampaignManagementServiceDriver.rb
14
- lib/CampaignManagementServiceMappingRegistry.rb
15
- lib/CustomerBillingServiceDriver.rb
16
- lib/CustomerBillingServiceMappingRegistry.rb
17
- lib/CustomerManagementServiceDriver.rb
18
- lib/CustomerManagementServiceMappingRegistry.rb
19
- lib/ReportingServiceDriver.rb
20
- lib/ReportingServiceMappingRegistry.rb
21
- lib/SecureDataManagementServiceDriver.rb
22
- lib/SecureDataManagementServiceMappingRegistry.rb
5
+ History.txt
6
+ lib/ad_intelligence_service.rb
23
7
  lib/adcenter_client.rb
24
8
  lib/adcenter_service.rb
25
9
  lib/adcenter_wrapper_entities.rb
10
+ lib/AdIntelligenceService.rb
11
+ lib/AdIntelligenceServiceClient.rb
12
+ lib/AdIntelligenceServiceDriver.rb
13
+ lib/AdIntelligenceServiceMappingRegistry.rb
26
14
  lib/administration_service.rb
15
+ lib/AdministrationService.rb
16
+ lib/AdministrationServiceClient.rb
17
+ lib/AdministrationServiceDriver.rb
18
+ lib/AdministrationServiceMappingRegistry.rb
27
19
  lib/campaign_management_service.rb
20
+ lib/CampaignManagementService.rb
21
+ lib/CampaignManagementServiceClient.rb
22
+ lib/CampaignManagementServiceDriver.rb
23
+ lib/CampaignManagementServiceMappingRegistry.rb
28
24
  lib/custom_assertions.rb
29
25
  lib/custom_exceptions.rb
30
26
  lib/customer_billing_service.rb
31
27
  lib/customer_management_service.rb
32
- lib/defaultDriver.rb
28
+ lib/CustomerBillingService.rb
29
+ lib/CustomerBillingServiceClient.rb
30
+ lib/CustomerBillingServiceDriver.rb
31
+ lib/CustomerBillingServiceMappingRegistry.rb
32
+ lib/CustomerManagementService.rb
33
+ lib/CustomerManagementServiceClient.rb
34
+ lib/CustomerManagementServiceDriver.rb
35
+ lib/CustomerManagementServiceMappingRegistry.rb
33
36
  lib/defaultMappingRegistry.rb
34
37
  lib/notification_management.rb
38
+ lib/notification_service.rb
39
+ lib/NotificationService.rb
40
+ lib/NotificationServiceClient.rb
41
+ lib/NotificationServiceDriver.rb
42
+ lib/NotificationServiceMappingRegistry.rb
43
+ lib/optimizer_service.rb
44
+ lib/OptimizerService.rb
45
+ lib/OptimizerServiceClient.rb
46
+ lib/OptimizerServiceDriver.rb
47
+ lib/OptimizerServiceMappingRegistry.rb
35
48
  lib/reporting_service.rb
49
+ lib/ReportingService.rb
50
+ lib/ReportingServiceClient.rb
51
+ lib/ReportingServiceDriver.rb
52
+ lib/ReportingServiceMappingRegistry.rb
36
53
  lib/secure_data_management_service.rb
54
+ Manifest.txt
55
+ Rakefile.rb
56
+ README.txt
37
57
  tasks/doctask.rake
38
58
  tasks/testtask.rake
39
59
  test/adcenter_client_test.rb
@@ -42,3 +62,5 @@ test/customer_management_service_test.rb
42
62
  test/report_service_test.rb
43
63
  test/test_credentials.yml-sample
44
64
  test/test_helper.rb
65
+ TODO
66
+ VERSION
data/README.txt CHANGED
@@ -66,7 +66,7 @@ modification, are permitted provided that the following conditions are met:
66
66
  * Redistributions in binary form must reproduce the above copyright
67
67
  notice, this list of conditions and the following disclaimer in the
68
68
  documentation and/or other materials provided with the distribution.
69
- * Neither the name of the <ORGANIZATION> nor the names of its contributors
69
+ * Neither the name of the project nor the names of its contributors
70
70
  may be used to endorse or promote products derived from this software
71
71
  without specific prior written permission.
72
72
 
@@ -19,8 +19,8 @@ Hoe.spec 'adcenter-client' do |h|
19
19
  h.email = "jmp@joshpeck.org"
20
20
  h.author = "Josh Peck"
21
21
  h.url = "http://bleechack.github.com/adcenter-client/"
22
- h.description = h.paragraphs_of('README.txt', 1..2).join("\n\n")
23
- h.changes = h.paragraphs_of('History.txt', 2..3).join("\n\n")
22
+ h.description = h.paragraphs_of('README.txt', 2..3).join("\n\n")
23
+ h.changes = h.paragraphs_of('History.txt', 0..4).join("\n\n")
24
24
  h.remote_rdoc_dir = 'adcenter-client'
25
25
  h.developer('Josh Peck', 'jmp@joshpeck.org')
26
26
  h.rubyforge_name = 'adcenter-client'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.0.3
1
+ 8.0.0
@@ -3,7 +3,7 @@
3
3
  require 'optparse'
4
4
  require 'yaml'
5
5
 
6
- DEFAULT_DESTINATION_DIR = File.expand_path(File.dirname(__FILE__) + '/../lib/')
6
+ DEFAULT_DESTINATION_DIR = File.expand_path(File.dirname(__FILE__) + '/lib-devel/')
7
7
  DEFAULT_WSDL_FILE = File.expand_path(File.dirname(__FILE__) + '/wsdl.yml')
8
8
 
9
9
  options = {}
@@ -1,16 +1,19 @@
1
1
  ---
2
2
  production:
3
- administration_service: https://adcenterapi.microsoft.com/Api/Advertiser/v7/Administration/AdministrationService.svc?wsdl
4
- campaign_management_service: https://adcenterapi.microsoft.com/Api/Advertiser/v7/CampaignManagement/CampaignManagementService.svc?wsdl
5
- customer_billing_service: https://sharedservices.adcenterapi.microsoft.com/Api/Billing/v7/CustomerBillingService.svc?wsdl
6
- customer_management_service: https://sharedservices.adcenterapi.microsoft.com/Api/CustomerManagement/v7/CustomerManagementService.svc?wsdl
7
- notification_management: https://adcenterapi.microsoft.com/Api/Advertiser/v6/NotificationManagement/NotificationManagement.asmx?wsdl
8
- reporting_service: https://adcenterapi.microsoft.com/Api/Advertiser/v7/Reporting/ReportingService.svc?wsdl
9
- secure_data_management_service: https://securityservices.adcenterapi.microsoft.com/Api/SecureDataManagement/v7/SecureDataManagementService.svc?wsdl
3
+ ad_intelligence_service: https://adcenterapi.microsoft.com/Api/Advertiser/v8/CampaignManagement/AdIntelligenceService.svc?wsdl
4
+ administration_service: https://adcenterapi.microsoft.com/Api/Advertiser/v8/Administration/AdministrationService.svc?wsdl
5
+ campaign_management_service: https://adcenterapi.microsoft.com/Api/Advertiser/v8/CampaignManagement/CampaignManagementService.svc?wsdl
6
+ customer_billing_service: https://sharedservices.adcenterapi.microsoft.com/Api/Billing/v8/CustomerBillingService.svc?wsdl
7
+ customer_management_service: https://sharedservices.adcenterapi.microsoft.com/Api/CustomerManagement/v8/CustomerManagementService.svc?wsdl
8
+ notification_service: https://sharedservices.adcenterapi.microsoft.com/Api/Notification/v8/NotificationService.svc?wsdl
9
+ optimizer_service: https://adcenterapi.microsoft.com/Api/Advertiser/v8/Optimizer/OptimizerService.svc?wsdl
10
+ reporting_service: https://adcenterapi.microsoft.com/Api/Advertiser/v8/Reporting/ReportingService.svc?wsdl
10
11
  sandbox:
11
- administration_service: https://sandboxapi.adcenter.microsoft.com/Api/Advertiser/v7/Administration/AdministrationService.svc?wsdl
12
- campaign_management_service: https://sandboxapi.adcenter.microsoft.com/Api/Advertiser/v7/CampaignManagement/CampaignManagementService.svc?wsdl
13
- customer_billing_service: https://sharedservices-sbx.adcenterapi.microsoft.com/Api/Billing/v7/CustomerBillingService.svc?wsdl
14
- customer_management_service: https://sharedservices-sbx.adcenterapi.microsoft.com/Api/CustomerManagement/v7/CustomerManagementService.svc?wsdl
15
- notification_management: https://sandboxapi.adcenter.microsoft.com/Api/Advertiser/v6/NotificationManagement/NotificationManagement.asmx?wsdl
16
- secure_data_management_service: https://securityservices-sbx.adcenterapi.microsoft.com/Api/SecureDataManagement/v7/SecureDataManagementService.svc?wsdl
12
+ ad_intelligence_service: ~
13
+ administration_service: ~
14
+ campaign_management_service: ~
15
+ customer_billing_service: ~
16
+ customer_management_service: ~
17
+ notification_service: ~
18
+ optimizer_service: ~
19
+ reporting_service: ~
@@ -0,0 +1,787 @@
1
+ require 'xsd/qname'
2
+
3
+ module AdCenterWrapper
4
+
5
+
6
+ # {https://adcenter.microsoft.com/v8}ArrayOfBatchError
7
+ class ArrayOfBatchError < ::Array
8
+ end
9
+
10
+ # {https://adcenter.microsoft.com/v8}BatchError
11
+ # code - SOAP::SOAPInt
12
+ # details - SOAP::SOAPString
13
+ # errorCode - SOAP::SOAPString
14
+ # index - SOAP::SOAPInt
15
+ # message - SOAP::SOAPString
16
+ class BatchError
17
+ attr_accessor :code
18
+ attr_accessor :details
19
+ attr_accessor :errorCode
20
+ attr_accessor :index
21
+ attr_accessor :message
22
+
23
+ def initialize(code = nil, details = nil, errorCode = nil, index = nil, message = nil)
24
+ @code = code
25
+ @details = details
26
+ @errorCode = errorCode
27
+ @index = index
28
+ @message = message
29
+ end
30
+ end
31
+
32
+ # {https://adcenter.microsoft.com/v8}ArrayOfOperationError
33
+ class ArrayOfOperationError < ::Array
34
+ end
35
+
36
+ # {https://adcenter.microsoft.com/v8}OperationError
37
+ # code - SOAP::SOAPInt
38
+ # details - SOAP::SOAPString
39
+ # errorCode - SOAP::SOAPString
40
+ # message - SOAP::SOAPString
41
+ class OperationError
42
+ attr_accessor :code
43
+ attr_accessor :details
44
+ attr_accessor :errorCode
45
+ attr_accessor :message
46
+
47
+ def initialize(code = nil, details = nil, errorCode = nil, message = nil)
48
+ @code = code
49
+ @details = details
50
+ @errorCode = errorCode
51
+ @message = message
52
+ end
53
+ end
54
+
55
+ # {http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOfstring
56
+ class ArrayOfstring < ::Array
57
+ end
58
+
59
+ # {http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong
60
+ class ArrayOflong < ::Array
61
+ end
62
+
63
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordPerformance
64
+ class ArrayOfKeywordPerformance < ::Array
65
+ end
66
+
67
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordPerformance
68
+ # keyword - SOAP::SOAPString
69
+ # averageCpc - SOAP::SOAPDouble
70
+ # impressions - AdCenterWrapper::Scale
71
+ # bidDensity - AdCenterWrapper::Scale
72
+ class KeywordPerformance
73
+ attr_accessor :keyword
74
+ attr_accessor :averageCpc
75
+ attr_accessor :impressions
76
+ attr_accessor :bidDensity
77
+
78
+ def initialize(keyword = nil, averageCpc = nil, impressions = nil, bidDensity = nil)
79
+ @keyword = keyword
80
+ @averageCpc = averageCpc
81
+ @impressions = impressions
82
+ @bidDensity = bidDensity
83
+ end
84
+ end
85
+
86
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordAndConfidence
87
+ class ArrayOfKeywordAndConfidence < ::Array
88
+ end
89
+
90
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordAndConfidence
91
+ # suggestedKeyword - SOAP::SOAPString
92
+ # confidenceScore - SOAP::SOAPDouble
93
+ class KeywordAndConfidence
94
+ attr_accessor :suggestedKeyword
95
+ attr_accessor :confidenceScore
96
+
97
+ def initialize(suggestedKeyword = nil, confidenceScore = nil)
98
+ @suggestedKeyword = suggestedKeyword
99
+ @confidenceScore = confidenceScore
100
+ end
101
+ end
102
+
103
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordIdEstimatedBid
104
+ class ArrayOfKeywordIdEstimatedBid < ::Array
105
+ end
106
+
107
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordIdEstimatedBid
108
+ # keywordId - SOAP::SOAPLong
109
+ # keywordEstimatedBid - AdCenterWrapper::KeywordEstimatedBid
110
+ class KeywordIdEstimatedBid
111
+ attr_accessor :keywordId
112
+ attr_accessor :keywordEstimatedBid
113
+
114
+ def initialize(keywordId = nil, keywordEstimatedBid = nil)
115
+ @keywordId = keywordId
116
+ @keywordEstimatedBid = keywordEstimatedBid
117
+ end
118
+ end
119
+
120
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordEstimatedBid
121
+ # keyword - SOAP::SOAPString
122
+ # estimatedBids - AdCenterWrapper::ArrayOfEstimatedBidAndTraffic
123
+ class KeywordEstimatedBid
124
+ attr_accessor :keyword
125
+ attr_accessor :estimatedBids
126
+
127
+ def initialize(keyword = nil, estimatedBids = nil)
128
+ @keyword = keyword
129
+ @estimatedBids = estimatedBids
130
+ end
131
+ end
132
+
133
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfEstimatedBidAndTraffic
134
+ class ArrayOfEstimatedBidAndTraffic < ::Array
135
+ end
136
+
137
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}EstimatedBidAndTraffic
138
+ # matchType - AdCenterWrapper::MatchType
139
+ # minClicksPerWeek - SOAP::SOAPInt
140
+ # maxClicksPerWeek - SOAP::SOAPInt
141
+ # averageCPC - SOAP::SOAPDouble
142
+ # minImpressionsPerWeek - SOAP::SOAPInt
143
+ # maxImpressionsPerWeek - SOAP::SOAPInt
144
+ # cTR - SOAP::SOAPDouble
145
+ # minTotalCostPerWeek - SOAP::SOAPDouble
146
+ # maxTotalCostPerWeek - SOAP::SOAPDouble
147
+ # currency - AdCenterWrapper::Currency
148
+ # estimatedMinBid - SOAP::SOAPDouble
149
+ class EstimatedBidAndTraffic
150
+ attr_accessor :matchType
151
+ attr_accessor :minClicksPerWeek
152
+ attr_accessor :maxClicksPerWeek
153
+ attr_accessor :averageCPC
154
+ attr_accessor :minImpressionsPerWeek
155
+ attr_accessor :maxImpressionsPerWeek
156
+ attr_accessor :cTR
157
+ attr_accessor :minTotalCostPerWeek
158
+ attr_accessor :maxTotalCostPerWeek
159
+ attr_accessor :currency
160
+ attr_accessor :estimatedMinBid
161
+
162
+ def initialize(matchType = nil, minClicksPerWeek = nil, maxClicksPerWeek = nil, averageCPC = nil, minImpressionsPerWeek = nil, maxImpressionsPerWeek = nil, cTR = nil, minTotalCostPerWeek = nil, maxTotalCostPerWeek = nil, currency = nil, estimatedMinBid = nil)
163
+ @matchType = matchType
164
+ @minClicksPerWeek = minClicksPerWeek
165
+ @maxClicksPerWeek = maxClicksPerWeek
166
+ @averageCPC = averageCPC
167
+ @minImpressionsPerWeek = minImpressionsPerWeek
168
+ @maxImpressionsPerWeek = maxImpressionsPerWeek
169
+ @cTR = cTR
170
+ @minTotalCostPerWeek = minTotalCostPerWeek
171
+ @maxTotalCostPerWeek = maxTotalCostPerWeek
172
+ @currency = currency
173
+ @estimatedMinBid = estimatedMinBid
174
+ end
175
+ end
176
+
177
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordIdEstimatedPosition
178
+ class ArrayOfKeywordIdEstimatedPosition < ::Array
179
+ end
180
+
181
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordIdEstimatedPosition
182
+ # keywordId - SOAP::SOAPLong
183
+ # keywordEstimatedPosition - AdCenterWrapper::KeywordEstimatedPosition
184
+ class KeywordIdEstimatedPosition
185
+ attr_accessor :keywordId
186
+ attr_accessor :keywordEstimatedPosition
187
+
188
+ def initialize(keywordId = nil, keywordEstimatedPosition = nil)
189
+ @keywordId = keywordId
190
+ @keywordEstimatedPosition = keywordEstimatedPosition
191
+ end
192
+ end
193
+
194
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordEstimatedPosition
195
+ # keyword - SOAP::SOAPString
196
+ # estimatedPositions - AdCenterWrapper::ArrayOfEstimatedPositionAndTraffic
197
+ class KeywordEstimatedPosition
198
+ attr_accessor :keyword
199
+ attr_accessor :estimatedPositions
200
+
201
+ def initialize(keyword = nil, estimatedPositions = nil)
202
+ @keyword = keyword
203
+ @estimatedPositions = estimatedPositions
204
+ end
205
+ end
206
+
207
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfEstimatedPositionAndTraffic
208
+ class ArrayOfEstimatedPositionAndTraffic < ::Array
209
+ end
210
+
211
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}EstimatedPositionAndTraffic
212
+ # matchType - AdCenterWrapper::MatchType
213
+ # minClicksPerWeek - SOAP::SOAPInt
214
+ # maxClicksPerWeek - SOAP::SOAPInt
215
+ # averageCPC - SOAP::SOAPDouble
216
+ # minImpressionsPerWeek - SOAP::SOAPInt
217
+ # maxImpressionsPerWeek - SOAP::SOAPInt
218
+ # cTR - SOAP::SOAPDouble
219
+ # minTotalCostPerWeek - SOAP::SOAPDouble
220
+ # maxTotalCostPerWeek - SOAP::SOAPDouble
221
+ # currency - AdCenterWrapper::Currency
222
+ # estimatedAdPosition - AdCenterWrapper::AdPosition
223
+ class EstimatedPositionAndTraffic
224
+ attr_accessor :matchType
225
+ attr_accessor :minClicksPerWeek
226
+ attr_accessor :maxClicksPerWeek
227
+ attr_accessor :averageCPC
228
+ attr_accessor :minImpressionsPerWeek
229
+ attr_accessor :maxImpressionsPerWeek
230
+ attr_accessor :cTR
231
+ attr_accessor :minTotalCostPerWeek
232
+ attr_accessor :maxTotalCostPerWeek
233
+ attr_accessor :currency
234
+ attr_accessor :estimatedAdPosition
235
+
236
+ def initialize(matchType = nil, minClicksPerWeek = nil, maxClicksPerWeek = nil, averageCPC = nil, minImpressionsPerWeek = nil, maxImpressionsPerWeek = nil, cTR = nil, minTotalCostPerWeek = nil, maxTotalCostPerWeek = nil, currency = nil, estimatedAdPosition = nil)
237
+ @matchType = matchType
238
+ @minClicksPerWeek = minClicksPerWeek
239
+ @maxClicksPerWeek = maxClicksPerWeek
240
+ @averageCPC = averageCPC
241
+ @minImpressionsPerWeek = minImpressionsPerWeek
242
+ @maxImpressionsPerWeek = maxImpressionsPerWeek
243
+ @cTR = cTR
244
+ @minTotalCostPerWeek = minTotalCostPerWeek
245
+ @maxTotalCostPerWeek = maxTotalCostPerWeek
246
+ @currency = currency
247
+ @estimatedAdPosition = estimatedAdPosition
248
+ end
249
+ end
250
+
251
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfMatchType
252
+ class ArrayOfMatchType < ::Array
253
+ end
254
+
255
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordEstimatedBid
256
+ class ArrayOfKeywordEstimatedBid < ::Array
257
+ end
258
+
259
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordEstimatedPosition
260
+ class ArrayOfKeywordEstimatedPosition < ::Array
261
+ end
262
+
263
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}MonthAndYear
264
+ # month - SOAP::SOAPInt
265
+ # year - SOAP::SOAPInt
266
+ class MonthAndYear
267
+ attr_accessor :month
268
+ attr_accessor :year
269
+
270
+ def initialize(month = nil, year = nil)
271
+ @month = month
272
+ @year = year
273
+ end
274
+ end
275
+
276
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordSearchCount
277
+ class ArrayOfKeywordSearchCount < ::Array
278
+ end
279
+
280
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordSearchCount
281
+ # keyword - SOAP::SOAPString
282
+ # historicalSearchCounts - AdCenterWrapper::ArrayOfHistoricalSearchCount
283
+ class KeywordSearchCount
284
+ attr_accessor :keyword
285
+ attr_accessor :historicalSearchCounts
286
+
287
+ def initialize(keyword = nil, historicalSearchCounts = nil)
288
+ @keyword = keyword
289
+ @historicalSearchCounts = historicalSearchCounts
290
+ end
291
+ end
292
+
293
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfHistoricalSearchCount
294
+ class ArrayOfHistoricalSearchCount < ::Array
295
+ end
296
+
297
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}HistoricalSearchCount
298
+ # searchCount - SOAP::SOAPInt
299
+ # monthAndYear - AdCenterWrapper::MonthAndYear
300
+ class HistoricalSearchCount
301
+ attr_accessor :searchCount
302
+ attr_accessor :monthAndYear
303
+
304
+ def initialize(searchCount = nil, monthAndYear = nil)
305
+ @searchCount = searchCount
306
+ @monthAndYear = monthAndYear
307
+ end
308
+ end
309
+
310
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordHistoricalPerformance
311
+ class ArrayOfKeywordHistoricalPerformance < ::Array
312
+ end
313
+
314
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordHistoricalPerformance
315
+ # keyword - SOAP::SOAPString
316
+ # keywordKPIs - AdCenterWrapper::ArrayOfKeywordKPI
317
+ class KeywordHistoricalPerformance
318
+ attr_accessor :keyword
319
+ attr_accessor :keywordKPIs
320
+
321
+ def initialize(keyword = nil, keywordKPIs = nil)
322
+ @keyword = keyword
323
+ @keywordKPIs = keywordKPIs
324
+ end
325
+ end
326
+
327
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordKPI
328
+ class ArrayOfKeywordKPI < ::Array
329
+ end
330
+
331
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordKPI
332
+ # matchType - AdCenterWrapper::MatchType
333
+ # adPosition - AdCenterWrapper::AdPosition
334
+ # clicks - SOAP::SOAPInt
335
+ # impressions - SOAP::SOAPInt
336
+ # averageCPC - SOAP::SOAPDouble
337
+ # cTR - SOAP::SOAPDouble
338
+ # totalCost - SOAP::SOAPDouble
339
+ # averageBid - SOAP::SOAPDouble
340
+ class KeywordKPI
341
+ attr_accessor :matchType
342
+ attr_accessor :adPosition
343
+ attr_accessor :clicks
344
+ attr_accessor :impressions
345
+ attr_accessor :averageCPC
346
+ attr_accessor :cTR
347
+ attr_accessor :totalCost
348
+ attr_accessor :averageBid
349
+
350
+ def initialize(matchType = nil, adPosition = nil, clicks = nil, impressions = nil, averageCPC = nil, cTR = nil, totalCost = nil, averageBid = nil)
351
+ @matchType = matchType
352
+ @adPosition = adPosition
353
+ @clicks = clicks
354
+ @impressions = impressions
355
+ @averageCPC = averageCPC
356
+ @cTR = cTR
357
+ @totalCost = totalCost
358
+ @averageBid = averageBid
359
+ end
360
+ end
361
+
362
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}ArrayOfKeywordSuggestion
363
+ class ArrayOfKeywordSuggestion < ::Array
364
+ end
365
+
366
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}KeywordSuggestion
367
+ # keyword - SOAP::SOAPString
368
+ # suggestionsAndConfidence - AdCenterWrapper::ArrayOfKeywordAndConfidence
369
+ class KeywordSuggestion
370
+ attr_accessor :keyword
371
+ attr_accessor :suggestionsAndConfidence
372
+
373
+ def initialize(keyword = nil, suggestionsAndConfidence = nil)
374
+ @keyword = keyword
375
+ @suggestionsAndConfidence = suggestionsAndConfidence
376
+ end
377
+ end
378
+
379
+ # {https://adapi.microsoft.com}ApplicationFault
380
+ # trackingId - SOAP::SOAPString
381
+ class ApplicationFault
382
+ attr_accessor :trackingId
383
+
384
+ def initialize(trackingId = nil)
385
+ @trackingId = trackingId
386
+ end
387
+ end
388
+
389
+ # {https://adcenter.microsoft.com/v8}ApiFaultDetail
390
+ # trackingId - SOAP::SOAPString
391
+ # batchErrors - AdCenterWrapper::ArrayOfBatchError
392
+ # operationErrors - AdCenterWrapper::ArrayOfOperationError
393
+ class ApiFaultDetail < ::StandardError
394
+ attr_accessor :trackingId
395
+ attr_accessor :batchErrors
396
+ attr_accessor :operationErrors
397
+
398
+ def initialize(trackingId = nil, batchErrors = nil, operationErrors = nil)
399
+ @trackingId = trackingId
400
+ @batchErrors = batchErrors
401
+ @operationErrors = operationErrors
402
+ end
403
+ end
404
+
405
+ # {https://adapi.microsoft.com}AdApiFaultDetail
406
+ # trackingId - SOAP::SOAPString
407
+ # errors - AdCenterWrapper::ArrayOfAdApiError
408
+ class AdApiFaultDetail < ::StandardError
409
+ attr_accessor :trackingId
410
+ attr_accessor :errors
411
+
412
+ def initialize(trackingId = nil, errors = nil)
413
+ @trackingId = trackingId
414
+ @errors = errors
415
+ end
416
+ end
417
+
418
+ # {https://adapi.microsoft.com}ArrayOfAdApiError
419
+ class ArrayOfAdApiError < ::Array
420
+ end
421
+
422
+ # {https://adapi.microsoft.com}AdApiError
423
+ # code - SOAP::SOAPInt
424
+ # detail - SOAP::SOAPString
425
+ # errorCode - SOAP::SOAPString
426
+ # message - SOAP::SOAPString
427
+ class AdApiError
428
+ attr_accessor :code
429
+ attr_accessor :detail
430
+ attr_accessor :errorCode
431
+ attr_accessor :message
432
+
433
+ def initialize(code = nil, detail = nil, errorCode = nil, message = nil)
434
+ @code = code
435
+ @detail = detail
436
+ @errorCode = errorCode
437
+ @message = message
438
+ end
439
+ end
440
+
441
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}TimeInterval
442
+ class TimeInterval < ::String
443
+ Last30Days = TimeInterval.new("Last30Days")
444
+ Last7Days = TimeInterval.new("Last7Days")
445
+ end
446
+
447
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}Scale
448
+ class Scale < ::String
449
+ High = Scale.new("High")
450
+ Low = Scale.new("Low")
451
+ Medium = Scale.new("Medium")
452
+ Minimal = Scale.new("Minimal")
453
+ VeryHigh = Scale.new("VeryHigh")
454
+ end
455
+
456
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}TargetAdPosition
457
+ class TargetAdPosition < ::String
458
+ MainLine = TargetAdPosition.new("MainLine")
459
+ MainLine1 = TargetAdPosition.new("MainLine1")
460
+ SideBar = TargetAdPosition.new("SideBar")
461
+ end
462
+
463
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}MatchType
464
+ class MatchType < ::String
465
+ Broad = MatchType.new("Broad")
466
+ Content = MatchType.new("Content")
467
+ Exact = MatchType.new("Exact")
468
+ Phrase = MatchType.new("Phrase")
469
+ end
470
+
471
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}Currency
472
+ class Currency < ::String
473
+ ArgenintinaNeuvoPeso = Currency.new("ArgenintinaNeuvoPeso")
474
+ AustralianDollar = Currency.new("AustralianDollar")
475
+ BolivarFuerte = Currency.new("BolivarFuerte")
476
+ BrazilianReal = Currency.new("BrazilianReal")
477
+ CanadianDollar = Currency.new("CanadianDollar")
478
+ ChileanPeso = Currency.new("ChileanPeso")
479
+ ColombianPeso = Currency.new("ColombianPeso")
480
+ DanishKrone = Currency.new("DanishKrone")
481
+ EURO = Currency.new("EURO")
482
+ HongKongDollar = Currency.new("HongKongDollar")
483
+ IndianRupee = Currency.new("IndianRupee")
484
+ IndonesianRupiah = Currency.new("IndonesianRupiah")
485
+ IntiAndNewSol = Currency.new("IntiAndNewSol")
486
+ MalaysianDollar = Currency.new("MalaysianDollar")
487
+ MexicanNewPeso = Currency.new("MexicanNewPeso")
488
+ NewZealandDollar = Currency.new("NewZealandDollar")
489
+ NorwegianKrone = Currency.new("NorwegianKrone")
490
+ PhilippinesPeso = Currency.new("PhilippinesPeso")
491
+ RussianRouble = Currency.new("RussianRouble")
492
+ SingaporeDollar = Currency.new("SingaporeDollar")
493
+ SouthKoreanWon = Currency.new("SouthKoreanWon")
494
+ SwedishKrona = Currency.new("SwedishKrona")
495
+ SwissFranc = Currency.new("SwissFranc")
496
+ TaiwanDollar = Currency.new("TaiwanDollar")
497
+ ThailandBaht = Currency.new("ThailandBaht")
498
+ UKPound = Currency.new("UKPound")
499
+ USDollar = Currency.new("USDollar")
500
+ VietnamDong = Currency.new("VietnamDong")
501
+ end
502
+
503
+ # {http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts}AdPosition
504
+ class AdPosition < ::String
505
+ All = AdPosition.new("All")
506
+ MainLine1 = AdPosition.new("MainLine1")
507
+ MainLine2 = AdPosition.new("MainLine2")
508
+ MainLine3 = AdPosition.new("MainLine3")
509
+ MainLine4 = AdPosition.new("MainLine4")
510
+ SideBar1 = AdPosition.new("SideBar1")
511
+ SideBar10 = AdPosition.new("SideBar10")
512
+ SideBar2 = AdPosition.new("SideBar2")
513
+ SideBar3 = AdPosition.new("SideBar3")
514
+ SideBar4 = AdPosition.new("SideBar4")
515
+ SideBar5 = AdPosition.new("SideBar5")
516
+ SideBar6 = AdPosition.new("SideBar6")
517
+ SideBar7 = AdPosition.new("SideBar7")
518
+ SideBar8 = AdPosition.new("SideBar8")
519
+ SideBar9 = AdPosition.new("SideBar9")
520
+ end
521
+
522
+ # {https://adcenter.microsoft.com/v8}GetPublisherKeywordPerformanceRequest
523
+ # keywords - AdCenterWrapper::ArrayOfstring
524
+ # timeInterval - AdCenterWrapper::TimeInterval
525
+ class GetPublisherKeywordPerformanceRequest
526
+ attr_accessor :keywords
527
+ attr_accessor :timeInterval
528
+
529
+ def initialize(keywords = nil, timeInterval = nil)
530
+ @keywords = keywords
531
+ @timeInterval = timeInterval
532
+ end
533
+ end
534
+
535
+ # {https://adcenter.microsoft.com/v8}GetPublisherKeywordPerformanceResponse
536
+ # keywordPerformance - AdCenterWrapper::ArrayOfKeywordPerformance
537
+ class GetPublisherKeywordPerformanceResponse
538
+ attr_accessor :keywordPerformance
539
+
540
+ def initialize(keywordPerformance = nil)
541
+ @keywordPerformance = keywordPerformance
542
+ end
543
+ end
544
+
545
+ # {https://adcenter.microsoft.com/v8}SuggestKeywordsForUrlRequest
546
+ # url - SOAP::SOAPString
547
+ # language - SOAP::SOAPString
548
+ # maxKeywords - SOAP::SOAPInt
549
+ # minConfidenceScore - SOAP::SOAPDouble
550
+ class SuggestKeywordsForUrlRequest
551
+ attr_accessor :url
552
+ attr_accessor :language
553
+ attr_accessor :maxKeywords
554
+ attr_accessor :minConfidenceScore
555
+
556
+ def initialize(url = nil, language = nil, maxKeywords = nil, minConfidenceScore = nil)
557
+ @url = url
558
+ @language = language
559
+ @maxKeywords = maxKeywords
560
+ @minConfidenceScore = minConfidenceScore
561
+ end
562
+ end
563
+
564
+ # {https://adcenter.microsoft.com/v8}SuggestKeywordsForUrlResponse
565
+ # keywords - AdCenterWrapper::ArrayOfKeywordAndConfidence
566
+ class SuggestKeywordsForUrlResponse
567
+ attr_accessor :keywords
568
+
569
+ def initialize(keywords = nil)
570
+ @keywords = keywords
571
+ end
572
+ end
573
+
574
+ # {https://adcenter.microsoft.com/v8}GetEstimatedBidByKeywordIdsRequest
575
+ # keywordIds - AdCenterWrapper::ArrayOflong
576
+ # targetPositionForAds - AdCenterWrapper::TargetAdPosition
577
+ class GetEstimatedBidByKeywordIdsRequest
578
+ attr_accessor :keywordIds
579
+ attr_accessor :targetPositionForAds
580
+
581
+ def initialize(keywordIds = nil, targetPositionForAds = nil)
582
+ @keywordIds = keywordIds
583
+ @targetPositionForAds = targetPositionForAds
584
+ end
585
+ end
586
+
587
+ # {https://adcenter.microsoft.com/v8}GetEstimatedBidByKeywordIdsResponse
588
+ # keywordEstimatedBids - AdCenterWrapper::ArrayOfKeywordIdEstimatedBid
589
+ class GetEstimatedBidByKeywordIdsResponse
590
+ attr_accessor :keywordEstimatedBids
591
+
592
+ def initialize(keywordEstimatedBids = nil)
593
+ @keywordEstimatedBids = keywordEstimatedBids
594
+ end
595
+ end
596
+
597
+ # {https://adcenter.microsoft.com/v8}GetEstimatedPositionByKeywordIdsRequest
598
+ # keywordIds - AdCenterWrapper::ArrayOflong
599
+ # maxBid - SOAP::SOAPDouble
600
+ class GetEstimatedPositionByKeywordIdsRequest
601
+ attr_accessor :keywordIds
602
+ attr_accessor :maxBid
603
+
604
+ def initialize(keywordIds = nil, maxBid = nil)
605
+ @keywordIds = keywordIds
606
+ @maxBid = maxBid
607
+ end
608
+ end
609
+
610
+ # {https://adcenter.microsoft.com/v8}GetEstimatedPositionByKeywordIdsResponse
611
+ # keywordEstimatedPositions - AdCenterWrapper::ArrayOfKeywordIdEstimatedPosition
612
+ class GetEstimatedPositionByKeywordIdsResponse
613
+ attr_accessor :keywordEstimatedPositions
614
+
615
+ def initialize(keywordEstimatedPositions = nil)
616
+ @keywordEstimatedPositions = keywordEstimatedPositions
617
+ end
618
+ end
619
+
620
+ # {https://adcenter.microsoft.com/v8}GetEstimatedBidByKeywordsRequest
621
+ # keywords - AdCenterWrapper::ArrayOfstring
622
+ # targetPositionForAds - AdCenterWrapper::TargetAdPosition
623
+ # language - SOAP::SOAPString
624
+ # publisherCountries - AdCenterWrapper::ArrayOfstring
625
+ # currency - AdCenterWrapper::Currency
626
+ # matchTypes - AdCenterWrapper::ArrayOfMatchType
627
+ class GetEstimatedBidByKeywordsRequest
628
+ attr_accessor :keywords
629
+ attr_accessor :targetPositionForAds
630
+ attr_accessor :language
631
+ attr_accessor :publisherCountries
632
+ attr_accessor :currency
633
+ attr_accessor :matchTypes
634
+
635
+ def initialize(keywords = nil, targetPositionForAds = nil, language = nil, publisherCountries = nil, currency = nil, matchTypes = nil)
636
+ @keywords = keywords
637
+ @targetPositionForAds = targetPositionForAds
638
+ @language = language
639
+ @publisherCountries = publisherCountries
640
+ @currency = currency
641
+ @matchTypes = matchTypes
642
+ end
643
+ end
644
+
645
+ # {https://adcenter.microsoft.com/v8}GetEstimatedBidByKeywordsResponse
646
+ # keywordEstimatedBids - AdCenterWrapper::ArrayOfKeywordEstimatedBid
647
+ class GetEstimatedBidByKeywordsResponse
648
+ attr_accessor :keywordEstimatedBids
649
+
650
+ def initialize(keywordEstimatedBids = nil)
651
+ @keywordEstimatedBids = keywordEstimatedBids
652
+ end
653
+ end
654
+
655
+ # {https://adcenter.microsoft.com/v8}GetEstimatedPositionByKeywordsRequest
656
+ # keywords - AdCenterWrapper::ArrayOfstring
657
+ # maxBid - SOAP::SOAPDouble
658
+ # language - SOAP::SOAPString
659
+ # publisherCountries - AdCenterWrapper::ArrayOfstring
660
+ # currency - AdCenterWrapper::Currency
661
+ # matchTypes - AdCenterWrapper::ArrayOfMatchType
662
+ class GetEstimatedPositionByKeywordsRequest
663
+ attr_accessor :keywords
664
+ attr_accessor :maxBid
665
+ attr_accessor :language
666
+ attr_accessor :publisherCountries
667
+ attr_accessor :currency
668
+ attr_accessor :matchTypes
669
+
670
+ def initialize(keywords = nil, maxBid = nil, language = nil, publisherCountries = nil, currency = nil, matchTypes = nil)
671
+ @keywords = keywords
672
+ @maxBid = maxBid
673
+ @language = language
674
+ @publisherCountries = publisherCountries
675
+ @currency = currency
676
+ @matchTypes = matchTypes
677
+ end
678
+ end
679
+
680
+ # {https://adcenter.microsoft.com/v8}GetEstimatedPositionByKeywordsResponse
681
+ # keywordEstimatedPositions - AdCenterWrapper::ArrayOfKeywordEstimatedPosition
682
+ class GetEstimatedPositionByKeywordsResponse
683
+ attr_accessor :keywordEstimatedPositions
684
+
685
+ def initialize(keywordEstimatedPositions = nil)
686
+ @keywordEstimatedPositions = keywordEstimatedPositions
687
+ end
688
+ end
689
+
690
+ # {https://adcenter.microsoft.com/v8}GetHistoricalSearchCountRequest
691
+ # keywords - AdCenterWrapper::ArrayOfstring
692
+ # language - SOAP::SOAPString
693
+ # publisherCountries - AdCenterWrapper::ArrayOfstring
694
+ # startMonthAndYear - AdCenterWrapper::MonthAndYear
695
+ # endMonthAndYear - AdCenterWrapper::MonthAndYear
696
+ class GetHistoricalSearchCountRequest
697
+ attr_accessor :keywords
698
+ attr_accessor :language
699
+ attr_accessor :publisherCountries
700
+ attr_accessor :startMonthAndYear
701
+ attr_accessor :endMonthAndYear
702
+
703
+ def initialize(keywords = nil, language = nil, publisherCountries = nil, startMonthAndYear = nil, endMonthAndYear = nil)
704
+ @keywords = keywords
705
+ @language = language
706
+ @publisherCountries = publisherCountries
707
+ @startMonthAndYear = startMonthAndYear
708
+ @endMonthAndYear = endMonthAndYear
709
+ end
710
+ end
711
+
712
+ # {https://adcenter.microsoft.com/v8}GetHistoricalSearchCountResponse
713
+ # keywordSearchCounts - AdCenterWrapper::ArrayOfKeywordSearchCount
714
+ class GetHistoricalSearchCountResponse
715
+ attr_accessor :keywordSearchCounts
716
+
717
+ def initialize(keywordSearchCounts = nil)
718
+ @keywordSearchCounts = keywordSearchCounts
719
+ end
720
+ end
721
+
722
+ # {https://adcenter.microsoft.com/v8}GetHistoricalKeywordPerformanceRequest
723
+ # keywords - AdCenterWrapper::ArrayOfstring
724
+ # timeInterval - AdCenterWrapper::TimeInterval
725
+ # targetAdPosition - AdCenterWrapper::AdPosition
726
+ # matchType - AdCenterWrapper::MatchType
727
+ # language - SOAP::SOAPString
728
+ # publisherCountries - AdCenterWrapper::ArrayOfstring
729
+ class GetHistoricalKeywordPerformanceRequest
730
+ attr_accessor :keywords
731
+ attr_accessor :timeInterval
732
+ attr_accessor :targetAdPosition
733
+ attr_accessor :matchType
734
+ attr_accessor :language
735
+ attr_accessor :publisherCountries
736
+
737
+ def initialize(keywords = nil, timeInterval = nil, targetAdPosition = nil, matchType = nil, language = nil, publisherCountries = nil)
738
+ @keywords = keywords
739
+ @timeInterval = timeInterval
740
+ @targetAdPosition = targetAdPosition
741
+ @matchType = matchType
742
+ @language = language
743
+ @publisherCountries = publisherCountries
744
+ end
745
+ end
746
+
747
+ # {https://adcenter.microsoft.com/v8}GetHistoricalKeywordPerformanceResponse
748
+ # keywordHistoricalPerformances - AdCenterWrapper::ArrayOfKeywordHistoricalPerformance
749
+ class GetHistoricalKeywordPerformanceResponse
750
+ attr_accessor :keywordHistoricalPerformances
751
+
752
+ def initialize(keywordHistoricalPerformances = nil)
753
+ @keywordHistoricalPerformances = keywordHistoricalPerformances
754
+ end
755
+ end
756
+
757
+ # {https://adcenter.microsoft.com/v8}SuggestKeywordsFromExistingKeywordsRequest
758
+ # keywords - AdCenterWrapper::ArrayOfstring
759
+ # language - SOAP::SOAPString
760
+ # publisherCountries - AdCenterWrapper::ArrayOfstring
761
+ # maxSuggestionsPerKeyword - SOAP::SOAPInt
762
+ class SuggestKeywordsFromExistingKeywordsRequest
763
+ attr_accessor :keywords
764
+ attr_accessor :language
765
+ attr_accessor :publisherCountries
766
+ attr_accessor :maxSuggestionsPerKeyword
767
+
768
+ def initialize(keywords = nil, language = nil, publisherCountries = nil, maxSuggestionsPerKeyword = nil)
769
+ @keywords = keywords
770
+ @language = language
771
+ @publisherCountries = publisherCountries
772
+ @maxSuggestionsPerKeyword = maxSuggestionsPerKeyword
773
+ end
774
+ end
775
+
776
+ # {https://adcenter.microsoft.com/v8}SuggestKeywordsFromExistingKeywordsResponse
777
+ # keywordSuggestions - AdCenterWrapper::ArrayOfKeywordSuggestion
778
+ class SuggestKeywordsFromExistingKeywordsResponse
779
+ attr_accessor :keywordSuggestions
780
+
781
+ def initialize(keywordSuggestions = nil)
782
+ @keywordSuggestions = keywordSuggestions
783
+ end
784
+ end
785
+
786
+
787
+ end