adwords4r 0.7 → 11.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. data/Authors.txt +3 -1
  2. data/ChangeLog.txt +18 -1
  3. data/Rakefile +35 -50
  4. data/Readme.txt +28 -11
  5. data/Todo.txt +1 -9
  6. data/adwords.properties +7 -7
  7. data/examples/campaign.rb +7 -5
  8. data/examples/framework.rb +3 -1
  9. data/examples/get_free_usage_this_month.rb +3 -1
  10. data/examples/get_unit_count.rb +7 -2
  11. data/examples/keyword_tool_demo.rb +5 -2
  12. data/examples/traffic_estimator.rb +5 -2
  13. data/lib/adwords4r.rb +157 -147
  14. data/lib/adwords4r/credentials.rb +36 -36
  15. data/lib/adwords4r/services.rb +24 -32
  16. data/lib/adwords4r/v10/AccountService.rb +234 -0
  17. data/lib/adwords4r/v10/AccountServiceDriver.rb +77 -0
  18. data/lib/adwords4r/v10/AccountServiceMappingRegistry.rb +258 -0
  19. data/lib/adwords4r/v10/AdGroupService.rb +257 -0
  20. data/lib/adwords4r/v10/AdGroupServiceDriver.rb +109 -0
  21. data/lib/adwords4r/v10/AdGroupServiceMappingRegistry.rb +276 -0
  22. data/lib/adwords4r/v10/AdService.rb +757 -0
  23. data/lib/adwords4r/v10/AdServiceDriver.rb +125 -0
  24. data/lib/adwords4r/v10/AdServiceMappingRegistry.rb +805 -0
  25. data/lib/adwords4r/v10/CampaignService.rb +443 -0
  26. data/lib/adwords4r/v10/CampaignServiceDriver.rb +125 -0
  27. data/lib/adwords4r/v10/CampaignServiceMappingRegistry.rb +564 -0
  28. data/lib/adwords4r/v10/CriterionService.rb +442 -0
  29. data/lib/adwords4r/v10/CriterionServiceDriver.rb +117 -0
  30. data/lib/adwords4r/v10/CriterionServiceMappingRegistry.rb +507 -0
  31. data/lib/adwords4r/v10/InfoService.rb +242 -0
  32. data/lib/adwords4r/v10/InfoServiceDriver.rb +109 -0
  33. data/lib/adwords4r/v10/InfoServiceMappingRegistry.rb +228 -0
  34. data/lib/adwords4r/v10/KeywordToolService.rb +205 -0
  35. data/lib/adwords4r/{v6 → v10}/KeywordToolServiceDriver.rb +18 -12
  36. data/lib/adwords4r/v10/KeywordToolServiceMappingRegistry.rb +227 -0
  37. data/lib/adwords4r/{v6 → v10}/ReportService.rb +335 -472
  38. data/lib/adwords4r/v10/ReportServiceDriver.rb +93 -0
  39. data/lib/adwords4r/v10/ReportServiceMappingRegistry.rb +559 -0
  40. data/lib/adwords4r/v10/SiteSuggestionService.rb +242 -0
  41. data/lib/adwords4r/v10/SiteSuggestionServiceDriver.rb +77 -0
  42. data/lib/adwords4r/v10/SiteSuggestionServiceMappingRegistry.rb +271 -0
  43. data/lib/adwords4r/v10/TrafficEstimatorService.rb +312 -0
  44. data/lib/adwords4r/v10/TrafficEstimatorServiceDriver.rb +77 -0
  45. data/lib/adwords4r/v10/TrafficEstimatorServiceMappingRegistry.rb +483 -0
  46. data/lib/adwords4r/v11/AccountService.rb +215 -0
  47. data/lib/adwords4r/v11/AccountServiceDriver.rb +69 -0
  48. data/lib/adwords4r/v11/AccountServiceMappingRegistry.rb +243 -0
  49. data/lib/adwords4r/v11/AdGroupService.rb +257 -0
  50. data/lib/adwords4r/v11/AdGroupServiceDriver.rb +109 -0
  51. data/lib/adwords4r/v11/AdGroupServiceMappingRegistry.rb +276 -0
  52. data/lib/adwords4r/v11/AdService.rb +760 -0
  53. data/lib/adwords4r/v11/AdServiceDriver.rb +125 -0
  54. data/lib/adwords4r/v11/AdServiceMappingRegistry.rb +807 -0
  55. data/lib/adwords4r/v11/CampaignService.rb +443 -0
  56. data/lib/adwords4r/v11/CampaignServiceDriver.rb +125 -0
  57. data/lib/adwords4r/v11/CampaignServiceMappingRegistry.rb +564 -0
  58. data/lib/adwords4r/v11/CriterionService.rb +442 -0
  59. data/lib/adwords4r/v11/CriterionServiceDriver.rb +117 -0
  60. data/lib/adwords4r/v11/CriterionServiceMappingRegistry.rb +507 -0
  61. data/lib/adwords4r/v11/InfoService.rb +242 -0
  62. data/lib/adwords4r/v11/InfoServiceDriver.rb +109 -0
  63. data/lib/adwords4r/v11/InfoServiceMappingRegistry.rb +228 -0
  64. data/lib/adwords4r/v11/KeywordToolService.rb +205 -0
  65. data/lib/adwords4r/{v5 → v11}/KeywordToolServiceDriver.rb +18 -12
  66. data/lib/adwords4r/v11/KeywordToolServiceMappingRegistry.rb +227 -0
  67. data/lib/adwords4r/v11/ReportService.rb +322 -0
  68. data/lib/adwords4r/v11/ReportServiceDriver.rb +101 -0
  69. data/lib/adwords4r/v11/ReportServiceMappingRegistry.rb +298 -0
  70. data/lib/adwords4r/v11/SiteSuggestionService.rb +242 -0
  71. data/lib/adwords4r/v11/SiteSuggestionServiceDriver.rb +77 -0
  72. data/lib/adwords4r/v11/SiteSuggestionServiceMappingRegistry.rb +271 -0
  73. data/lib/adwords4r/v11/TrafficEstimatorService.rb +312 -0
  74. data/lib/adwords4r/v11/TrafficEstimatorServiceDriver.rb +77 -0
  75. data/lib/adwords4r/v11/TrafficEstimatorServiceMappingRegistry.rb +483 -0
  76. metadata +96 -74
  77. data/lib/adwords4r/v4/AccountService.rb +0 -709
  78. data/lib/adwords4r/v4/AccountServiceDriver.rb +0 -174
  79. data/lib/adwords4r/v4/AdGroupService.rb +0 -316
  80. data/lib/adwords4r/v4/AdGroupServiceDriver.rb +0 -97
  81. data/lib/adwords4r/v4/CampaignService.rb +0 -527
  82. data/lib/adwords4r/v4/CampaignServiceDriver.rb +0 -111
  83. data/lib/adwords4r/v4/CreativeService.rb +0 -368
  84. data/lib/adwords4r/v4/CreativeServiceDriver.rb +0 -104
  85. data/lib/adwords4r/v4/CriterionService.rb +0 -411
  86. data/lib/adwords4r/v4/CriterionServiceDriver.rb +0 -97
  87. data/lib/adwords4r/v4/InfoService.rb +0 -260
  88. data/lib/adwords4r/v4/InfoServiceDriver.rb +0 -90
  89. data/lib/adwords4r/v4/KeywordService.rb +0 -543
  90. data/lib/adwords4r/v4/KeywordServiceDriver.rb +0 -125
  91. data/lib/adwords4r/v4/KeywordToolService.rb +0 -227
  92. data/lib/adwords4r/v4/KeywordToolServiceDriver.rb +0 -55
  93. data/lib/adwords4r/v4/ReportService.rb +0 -575
  94. data/lib/adwords4r/v4/ReportServiceDriver.rb +0 -83
  95. data/lib/adwords4r/v4/TrafficEstimatorService.rb +0 -274
  96. data/lib/adwords4r/v4/TrafficEstimatorServiceDriver.rb +0 -62
  97. data/lib/adwords4r/v5/AccountService.rb +0 -853
  98. data/lib/adwords4r/v5/AccountServiceDriver.rb +0 -188
  99. data/lib/adwords4r/v5/AdGroupService.rb +0 -352
  100. data/lib/adwords4r/v5/AdGroupServiceDriver.rb +0 -97
  101. data/lib/adwords4r/v5/CampaignService.rb +0 -563
  102. data/lib/adwords4r/v5/CampaignServiceDriver.rb +0 -111
  103. data/lib/adwords4r/v5/CreativeService.rb +0 -404
  104. data/lib/adwords4r/v5/CreativeServiceDriver.rb +0 -104
  105. data/lib/adwords4r/v5/CriterionService.rb +0 -447
  106. data/lib/adwords4r/v5/CriterionServiceDriver.rb +0 -97
  107. data/lib/adwords4r/v5/InfoService.rb +0 -296
  108. data/lib/adwords4r/v5/InfoServiceDriver.rb +0 -90
  109. data/lib/adwords4r/v5/KeywordToolService.rb +0 -263
  110. data/lib/adwords4r/v5/ReportService.rb +0 -788
  111. data/lib/adwords4r/v5/ReportServiceDriver.rb +0 -83
  112. data/lib/adwords4r/v5/TrafficEstimatorService.rb +0 -310
  113. data/lib/adwords4r/v5/TrafficEstimatorServiceDriver.rb +0 -62
  114. data/lib/adwords4r/v6/AccountService.rb +0 -853
  115. data/lib/adwords4r/v6/AccountServiceDriver.rb +0 -188
  116. data/lib/adwords4r/v6/AdGroupService.rb +0 -352
  117. data/lib/adwords4r/v6/AdGroupServiceDriver.rb +0 -97
  118. data/lib/adwords4r/v6/CampaignService.rb +0 -563
  119. data/lib/adwords4r/v6/CampaignServiceDriver.rb +0 -111
  120. data/lib/adwords4r/v6/CreativeService.rb +0 -472
  121. data/lib/adwords4r/v6/CreativeServiceDriver.rb +0 -111
  122. data/lib/adwords4r/v6/CriterionService.rb +0 -447
  123. data/lib/adwords4r/v6/CriterionServiceDriver.rb +0 -97
  124. data/lib/adwords4r/v6/InfoService.rb +0 -343
  125. data/lib/adwords4r/v6/InfoServiceDriver.rb +0 -97
  126. data/lib/adwords4r/v6/KeywordToolService.rb +0 -263
  127. data/lib/adwords4r/v6/ReportServiceDriver.rb +0 -83
  128. data/lib/adwords4r/v6/TrafficEstimatorService.rb +0 -310
  129. data/lib/adwords4r/v6/TrafficEstimatorServiceDriver.rb +0 -62
@@ -1,853 +0,0 @@
1
- module AdWords
2
- require 'xsd/qname'
3
-
4
- # {https://adwords.google.com/api/adwords/v6}createAdWordsAccount
5
- class CreateAdWordsAccount
6
- @@schema_type = "createAdWordsAccount"
7
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
8
- @@schema_qualified = "true"
9
- @@schema_element = [
10
- ["loginEmail", "SOAP::SOAPString"],
11
- ["password", "SOAP::SOAPString"],
12
- ["languagePreference", "SOAP::SOAPString"],
13
- ["emailPrefs", "EmailPromotionsPreferences"],
14
- ["currencyCode", "SOAP::SOAPString"],
15
- ["cardInfo", "CreditCard"],
16
- ["contactInfo", "Address"],
17
- ["defaultAdsCoverage", "CoverageType"],
18
- ["timeZoneId", "SOAP::SOAPString"]
19
- ]
20
-
21
- attr_accessor :loginEmail
22
- attr_accessor :password
23
- attr_accessor :languagePreference
24
- attr_accessor :emailPrefs
25
- attr_accessor :currencyCode
26
- attr_accessor :cardInfo
27
- attr_accessor :contactInfo
28
- attr_accessor :defaultAdsCoverage
29
- attr_accessor :timeZoneId
30
-
31
- def initialize(loginEmail = nil, password = nil, languagePreference = nil, emailPrefs = nil, currencyCode = nil, cardInfo = nil, contactInfo = nil, defaultAdsCoverage = nil, timeZoneId = nil)
32
- @loginEmail = loginEmail
33
- @password = password
34
- @languagePreference = languagePreference
35
- @emailPrefs = emailPrefs
36
- @currencyCode = currencyCode
37
- @cardInfo = cardInfo
38
- @contactInfo = contactInfo
39
- @defaultAdsCoverage = defaultAdsCoverage
40
- @timeZoneId = timeZoneId
41
- end
42
- end
43
-
44
- # {https://adwords.google.com/api/adwords/v6}createAdWordsAccountResponse
45
- class CreateAdWordsAccountResponse
46
- @@schema_type = "createAdWordsAccountResponse"
47
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
48
- @@schema_qualified = "true"
49
- @@schema_element = []
50
-
51
- def initialize
52
- end
53
- end
54
-
55
- # {https://adwords.google.com/api/adwords/v6}setLoginInfo
56
- class SetLoginInfo
57
- @@schema_type = "setLoginInfo"
58
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
59
- @@schema_qualified = "true"
60
- @@schema_element = [
61
- ["login", "SOAP::SOAPString"],
62
- ["newPassword", "SOAP::SOAPString"]
63
- ]
64
-
65
- attr_accessor :login
66
- attr_accessor :newPassword
67
-
68
- def initialize(login = nil, newPassword = nil)
69
- @login = login
70
- @newPassword = newPassword
71
- end
72
- end
73
-
74
- # {https://adwords.google.com/api/adwords/v6}setLoginInfoResponse
75
- class SetLoginInfoResponse
76
- @@schema_type = "setLoginInfoResponse"
77
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
78
- @@schema_qualified = "true"
79
- @@schema_element = []
80
-
81
- def initialize
82
- end
83
- end
84
-
85
- # {https://adwords.google.com/api/adwords/v6}getAccountCurrency
86
- class GetAccountCurrency
87
- @@schema_type = "getAccountCurrency"
88
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
89
- @@schema_qualified = "true"
90
- @@schema_element = []
91
-
92
- def initialize
93
- end
94
- end
95
-
96
- # {https://adwords.google.com/api/adwords/v6}getAccountCurrencyResponse
97
- class GetAccountCurrencyResponse
98
- @@schema_type = "getAccountCurrencyResponse"
99
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
100
- @@schema_qualified = "true"
101
- @@schema_element = [
102
- ["getAccountCurrencyReturn", "SOAP::SOAPString"]
103
- ]
104
-
105
- attr_accessor :getAccountCurrencyReturn
106
-
107
- def initialize(getAccountCurrencyReturn = nil)
108
- @getAccountCurrencyReturn = getAccountCurrencyReturn
109
- end
110
- end
111
-
112
- # {https://adwords.google.com/api/adwords/v6}getCreditCard
113
- class GetCreditCard
114
- @@schema_type = "getCreditCard"
115
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
116
- @@schema_qualified = "true"
117
- @@schema_element = []
118
-
119
- def initialize
120
- end
121
- end
122
-
123
- # {https://adwords.google.com/api/adwords/v6}getCreditCardResponse
124
- class GetCreditCardResponse
125
- @@schema_type = "getCreditCardResponse"
126
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
127
- @@schema_qualified = "true"
128
- @@schema_element = [
129
- ["getCreditCardReturn", "CreditCard"]
130
- ]
131
-
132
- attr_accessor :getCreditCardReturn
133
-
134
- def initialize(getCreditCardReturn = nil)
135
- @getCreditCardReturn = getCreditCardReturn
136
- end
137
- end
138
-
139
- # {https://adwords.google.com/api/adwords/v6}getBillingAddress
140
- class GetBillingAddress
141
- @@schema_type = "getBillingAddress"
142
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
143
- @@schema_qualified = "true"
144
- @@schema_element = []
145
-
146
- def initialize
147
- end
148
- end
149
-
150
- # {https://adwords.google.com/api/adwords/v6}getBillingAddressResponse
151
- class GetBillingAddressResponse
152
- @@schema_type = "getBillingAddressResponse"
153
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
154
- @@schema_qualified = "true"
155
- @@schema_element = [
156
- ["getBillingAddressReturn", "Address"]
157
- ]
158
-
159
- attr_accessor :getBillingAddressReturn
160
-
161
- def initialize(getBillingAddressReturn = nil)
162
- @getBillingAddressReturn = getBillingAddressReturn
163
- end
164
- end
165
-
166
- # {https://adwords.google.com/api/adwords/v6}setCreditCard
167
- class SetCreditCard
168
- @@schema_type = "setCreditCard"
169
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
170
- @@schema_qualified = "true"
171
- @@schema_element = [
172
- ["cardInfo", "CreditCard"],
173
- ["contactInfo", "Address"]
174
- ]
175
-
176
- attr_accessor :cardInfo
177
- attr_accessor :contactInfo
178
-
179
- def initialize(cardInfo = nil, contactInfo = nil)
180
- @cardInfo = cardInfo
181
- @contactInfo = contactInfo
182
- end
183
- end
184
-
185
- # {https://adwords.google.com/api/adwords/v6}setCreditCardResponse
186
- class SetCreditCardResponse
187
- @@schema_type = "setCreditCardResponse"
188
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
189
- @@schema_qualified = "true"
190
- @@schema_element = []
191
-
192
- def initialize
193
- end
194
- end
195
-
196
- # {https://adwords.google.com/api/adwords/v6}getDefaultAdsCoverage
197
- class GetDefaultAdsCoverage
198
- @@schema_type = "getDefaultAdsCoverage"
199
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
200
- @@schema_qualified = "true"
201
- @@schema_element = []
202
-
203
- def initialize
204
- end
205
- end
206
-
207
- # {https://adwords.google.com/api/adwords/v6}getDefaultAdsCoverageResponse
208
- class GetDefaultAdsCoverageResponse
209
- @@schema_type = "getDefaultAdsCoverageResponse"
210
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
211
- @@schema_qualified = "true"
212
- @@schema_element = [
213
- ["getDefaultAdsCoverageReturn", "CoverageType"]
214
- ]
215
-
216
- attr_accessor :getDefaultAdsCoverageReturn
217
-
218
- def initialize(getDefaultAdsCoverageReturn = nil)
219
- @getDefaultAdsCoverageReturn = getDefaultAdsCoverageReturn
220
- end
221
- end
222
-
223
- # {https://adwords.google.com/api/adwords/v6}setDefaultAdsCoverage
224
- class SetDefaultAdsCoverage
225
- @@schema_type = "setDefaultAdsCoverage"
226
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
227
- @@schema_qualified = "true"
228
- @@schema_element = [
229
- ["coverage", "CoverageType"]
230
- ]
231
-
232
- attr_accessor :coverage
233
-
234
- def initialize(coverage = nil)
235
- @coverage = coverage
236
- end
237
- end
238
-
239
- # {https://adwords.google.com/api/adwords/v6}setDefaultAdsCoverageResponse
240
- class SetDefaultAdsCoverageResponse
241
- @@schema_type = "setDefaultAdsCoverageResponse"
242
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
243
- @@schema_qualified = "true"
244
- @@schema_element = []
245
-
246
- def initialize
247
- end
248
- end
249
-
250
- # {https://adwords.google.com/api/adwords/v6}getLanguagePreference
251
- class GetLanguagePreference
252
- @@schema_type = "getLanguagePreference"
253
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
254
- @@schema_qualified = "true"
255
- @@schema_element = []
256
-
257
- def initialize
258
- end
259
- end
260
-
261
- # {https://adwords.google.com/api/adwords/v6}getLanguagePreferenceResponse
262
- class GetLanguagePreferenceResponse
263
- @@schema_type = "getLanguagePreferenceResponse"
264
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
265
- @@schema_qualified = "true"
266
- @@schema_element = [
267
- ["getLanguagePreferenceReturn", "SOAP::SOAPString"]
268
- ]
269
-
270
- attr_accessor :getLanguagePreferenceReturn
271
-
272
- def initialize(getLanguagePreferenceReturn = nil)
273
- @getLanguagePreferenceReturn = getLanguagePreferenceReturn
274
- end
275
- end
276
-
277
- # {https://adwords.google.com/api/adwords/v6}setLanguagePreference
278
- class SetLanguagePreference
279
- @@schema_type = "setLanguagePreference"
280
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
281
- @@schema_qualified = "true"
282
- @@schema_element = [
283
- ["languagePref", "SOAP::SOAPString"]
284
- ]
285
-
286
- attr_accessor :languagePref
287
-
288
- def initialize(languagePref = nil)
289
- @languagePref = languagePref
290
- end
291
- end
292
-
293
- # {https://adwords.google.com/api/adwords/v6}setLanguagePreferenceResponse
294
- class SetLanguagePreferenceResponse
295
- @@schema_type = "setLanguagePreferenceResponse"
296
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
297
- @@schema_qualified = "true"
298
- @@schema_element = []
299
-
300
- def initialize
301
- end
302
- end
303
-
304
- # {https://adwords.google.com/api/adwords/v6}getEmailPromotionsPreferences
305
- class GetEmailPromotionsPreferences
306
- @@schema_type = "getEmailPromotionsPreferences"
307
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
308
- @@schema_qualified = "true"
309
- @@schema_element = []
310
-
311
- def initialize
312
- end
313
- end
314
-
315
- # {https://adwords.google.com/api/adwords/v6}getEmailPromotionsPreferencesResponse
316
- class GetEmailPromotionsPreferencesResponse
317
- @@schema_type = "getEmailPromotionsPreferencesResponse"
318
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
319
- @@schema_qualified = "true"
320
- @@schema_element = [
321
- ["getEmailPromotionsPreferencesReturn", "EmailPromotionsPreferences"]
322
- ]
323
-
324
- attr_accessor :getEmailPromotionsPreferencesReturn
325
-
326
- def initialize(getEmailPromotionsPreferencesReturn = nil)
327
- @getEmailPromotionsPreferencesReturn = getEmailPromotionsPreferencesReturn
328
- end
329
- end
330
-
331
- # {https://adwords.google.com/api/adwords/v6}setEmailPromotionsPreferences
332
- class SetEmailPromotionsPreferences
333
- @@schema_type = "setEmailPromotionsPreferences"
334
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
335
- @@schema_qualified = "true"
336
- @@schema_element = [
337
- ["prefs", "EmailPromotionsPreferences"]
338
- ]
339
-
340
- attr_accessor :prefs
341
-
342
- def initialize(prefs = nil)
343
- @prefs = prefs
344
- end
345
- end
346
-
347
- # {https://adwords.google.com/api/adwords/v6}setEmailPromotionsPreferencesResponse
348
- class SetEmailPromotionsPreferencesResponse
349
- @@schema_type = "setEmailPromotionsPreferencesResponse"
350
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
351
- @@schema_qualified = "true"
352
- @@schema_element = []
353
-
354
- def initialize
355
- end
356
- end
357
-
358
- # {https://adwords.google.com/api/adwords/v6}getPrimaryBusinessCategory
359
- class GetPrimaryBusinessCategory
360
- @@schema_type = "getPrimaryBusinessCategory"
361
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
362
- @@schema_qualified = "true"
363
- @@schema_element = []
364
-
365
- def initialize
366
- end
367
- end
368
-
369
- # {https://adwords.google.com/api/adwords/v6}getPrimaryBusinessCategoryResponse
370
- class GetPrimaryBusinessCategoryResponse
371
- @@schema_type = "getPrimaryBusinessCategoryResponse"
372
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
373
- @@schema_qualified = "true"
374
- @@schema_element = [
375
- ["getPrimaryBusinessCategoryReturn", "SOAP::SOAPString"]
376
- ]
377
-
378
- attr_accessor :getPrimaryBusinessCategoryReturn
379
-
380
- def initialize(getPrimaryBusinessCategoryReturn = nil)
381
- @getPrimaryBusinessCategoryReturn = getPrimaryBusinessCategoryReturn
382
- end
383
- end
384
-
385
- # {https://adwords.google.com/api/adwords/v6}setPrimaryBusinessCategory
386
- class SetPrimaryBusinessCategory
387
- @@schema_type = "setPrimaryBusinessCategory"
388
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
389
- @@schema_qualified = "true"
390
- @@schema_element = [
391
- ["bizType", "SOAP::SOAPString"]
392
- ]
393
-
394
- attr_accessor :bizType
395
-
396
- def initialize(bizType = nil)
397
- @bizType = bizType
398
- end
399
- end
400
-
401
- # {https://adwords.google.com/api/adwords/v6}setPrimaryBusinessCategoryResponse
402
- class SetPrimaryBusinessCategoryResponse
403
- @@schema_type = "setPrimaryBusinessCategoryResponse"
404
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
405
- @@schema_qualified = "true"
406
- @@schema_element = []
407
-
408
- def initialize
409
- end
410
- end
411
-
412
- # {https://adwords.google.com/api/adwords/v6}getTermsAndConditions
413
- class GetTermsAndConditions
414
- @@schema_type = "getTermsAndConditions"
415
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
416
- @@schema_qualified = "true"
417
- @@schema_element = []
418
-
419
- def initialize
420
- end
421
- end
422
-
423
- # {https://adwords.google.com/api/adwords/v6}getTermsAndConditionsResponse
424
- class GetTermsAndConditionsResponse
425
- @@schema_type = "getTermsAndConditionsResponse"
426
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
427
- @@schema_qualified = "true"
428
- @@schema_element = [
429
- ["getTermsAndConditionsReturn", "SOAP::SOAPString"]
430
- ]
431
-
432
- attr_accessor :getTermsAndConditionsReturn
433
-
434
- def initialize(getTermsAndConditionsReturn = nil)
435
- @getTermsAndConditionsReturn = getTermsAndConditionsReturn
436
- end
437
- end
438
-
439
- # {https://adwords.google.com/api/adwords/v6}getClientAccounts
440
- class GetClientAccounts
441
- @@schema_type = "getClientAccounts"
442
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
443
- @@schema_qualified = "true"
444
- @@schema_element = []
445
-
446
- def initialize
447
- end
448
- end
449
-
450
- # {https://adwords.google.com/api/adwords/v6}getClientAccountsResponse
451
- class GetClientAccountsResponse < ::Array
452
- @@schema_element = [
453
- ["getClientAccountsReturn", ["SOAP::SOAPString[]", XSD::QName.new("https://adwords.google.com/api/adwords/v6", "getClientAccountsReturn")]]
454
- ]
455
- end
456
-
457
- # {https://adwords.google.com/api/adwords/v6}getLocalTimezone
458
- class GetLocalTimezone
459
- @@schema_type = "getLocalTimezone"
460
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
461
- @@schema_qualified = "true"
462
- @@schema_element = []
463
-
464
- def initialize
465
- end
466
- end
467
-
468
- # {https://adwords.google.com/api/adwords/v6}getLocalTimezoneResponse
469
- class GetLocalTimezoneResponse
470
- @@schema_type = "getLocalTimezoneResponse"
471
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
472
- @@schema_qualified = "true"
473
- @@schema_element = [
474
- ["getLocalTimezoneReturn", "SOAP::SOAPString"]
475
- ]
476
-
477
- attr_accessor :getLocalTimezoneReturn
478
-
479
- def initialize(getLocalTimezoneReturn = nil)
480
- @getLocalTimezoneReturn = getLocalTimezoneReturn
481
- end
482
- end
483
-
484
- # {https://adwords.google.com/api/adwords/v6}setLocalTimezone
485
- class SetLocalTimezone
486
- @@schema_type = "setLocalTimezone"
487
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
488
- @@schema_qualified = "true"
489
- @@schema_element = [
490
- ["timezoneID", "SOAP::SOAPString"]
491
- ]
492
-
493
- attr_accessor :timezoneID
494
-
495
- def initialize(timezoneID = nil)
496
- @timezoneID = timezoneID
497
- end
498
- end
499
-
500
- # {https://adwords.google.com/api/adwords/v6}setLocalTimezoneResponse
501
- class SetLocalTimezoneResponse
502
- @@schema_type = "setLocalTimezoneResponse"
503
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
504
- @@schema_qualified = "true"
505
- @@schema_element = []
506
-
507
- def initialize
508
- end
509
- end
510
-
511
- # {https://adwords.google.com/api/adwords/v6}getTimezoneEffectiveDate
512
- class GetTimezoneEffectiveDate
513
- @@schema_type = "getTimezoneEffectiveDate"
514
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
515
- @@schema_qualified = "true"
516
- @@schema_element = []
517
-
518
- def initialize
519
- end
520
- end
521
-
522
- # {https://adwords.google.com/api/adwords/v6}getTimezoneEffectiveDateResponse
523
- class GetTimezoneEffectiveDateResponse
524
- @@schema_type = "getTimezoneEffectiveDateResponse"
525
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
526
- @@schema_qualified = "true"
527
- @@schema_element = [
528
- ["getTimezoneEffectiveDateReturn", "SOAP::SOAPLong"]
529
- ]
530
-
531
- attr_accessor :getTimezoneEffectiveDateReturn
532
-
533
- def initialize(getTimezoneEffectiveDateReturn = nil)
534
- @getTimezoneEffectiveDateReturn = getTimezoneEffectiveDateReturn
535
- end
536
- end
537
-
538
- # {https://adwords.google.com/api/adwords/v6}getAccountInfo
539
- class GetAccountInfo
540
- @@schema_type = "getAccountInfo"
541
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
542
- @@schema_qualified = "true"
543
- @@schema_element = []
544
-
545
- def initialize
546
- end
547
- end
548
-
549
- # {https://adwords.google.com/api/adwords/v6}getAccountInfoResponse
550
- class GetAccountInfoResponse
551
- @@schema_type = "getAccountInfoResponse"
552
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
553
- @@schema_qualified = "true"
554
- @@schema_element = [
555
- ["getAccountInfoReturn", "AccountInfo"]
556
- ]
557
-
558
- attr_accessor :getAccountInfoReturn
559
-
560
- def initialize(getAccountInfoReturn = nil)
561
- @getAccountInfoReturn = getAccountInfoReturn
562
- end
563
- end
564
-
565
- # {https://adwords.google.com/api/adwords/v6}updateAccountInfo
566
- class UpdateAccountInfo
567
- @@schema_type = "updateAccountInfo"
568
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
569
- @@schema_qualified = "true"
570
- @@schema_element = [
571
- ["accountInfo", "AccountInfo"]
572
- ]
573
-
574
- attr_accessor :accountInfo
575
-
576
- def initialize(accountInfo = nil)
577
- @accountInfo = accountInfo
578
- end
579
- end
580
-
581
- # {https://adwords.google.com/api/adwords/v6}updateAccountInfoResponse
582
- class UpdateAccountInfoResponse
583
- @@schema_type = "updateAccountInfoResponse"
584
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
585
- @@schema_qualified = "true"
586
- @@schema_element = []
587
-
588
- def initialize
589
- end
590
- end
591
-
592
- # {https://adwords.google.com/api/adwords/v6}EmailPromotionsPreferences
593
- class EmailPromotionsPreferences
594
- @@schema_type = "EmailPromotionsPreferences"
595
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
596
- @@schema_element = [
597
- ["marketResearchEnabled", "SOAP::SOAPBoolean"],
598
- ["newsletterEnabled", "SOAP::SOAPBoolean"],
599
- ["promotionsEnabled", "SOAP::SOAPBoolean"]
600
- ]
601
-
602
- attr_accessor :marketResearchEnabled
603
- attr_accessor :newsletterEnabled
604
- attr_accessor :promotionsEnabled
605
-
606
- def initialize(marketResearchEnabled = nil, newsletterEnabled = nil, promotionsEnabled = nil)
607
- @marketResearchEnabled = marketResearchEnabled
608
- @newsletterEnabled = newsletterEnabled
609
- @promotionsEnabled = promotionsEnabled
610
- end
611
- end
612
-
613
- # {https://adwords.google.com/api/adwords/v6}CreditCard
614
- class CreditCard
615
- @@schema_type = "CreditCard"
616
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
617
- @@schema_element = [
618
- ["cardNumber", "SOAP::SOAPString"],
619
- ["cardType", "SOAP::SOAPString"],
620
- ["cardVerificationNumber", "SOAP::SOAPString"],
621
- ["expirationMonth", "SOAP::SOAPInt"],
622
- ["expirationYear", "SOAP::SOAPInt"],
623
- ["issueNumber", "SOAP::SOAPString"],
624
- ["startMonth", "SOAP::SOAPInt"],
625
- ["startYear", "SOAP::SOAPInt"],
626
- ["status", "SOAP::SOAPString"],
627
- ["taxNumber", "SOAP::SOAPString"]
628
- ]
629
-
630
- attr_accessor :cardNumber
631
- attr_accessor :cardType
632
- attr_accessor :cardVerificationNumber
633
- attr_accessor :expirationMonth
634
- attr_accessor :expirationYear
635
- attr_accessor :issueNumber
636
- attr_accessor :startMonth
637
- attr_accessor :startYear
638
- attr_accessor :status
639
- attr_accessor :taxNumber
640
-
641
- def initialize(cardNumber = nil, cardType = nil, cardVerificationNumber = nil, expirationMonth = nil, expirationYear = nil, issueNumber = nil, startMonth = nil, startYear = nil, status = nil, taxNumber = nil)
642
- @cardNumber = cardNumber
643
- @cardType = cardType
644
- @cardVerificationNumber = cardVerificationNumber
645
- @expirationMonth = expirationMonth
646
- @expirationYear = expirationYear
647
- @issueNumber = issueNumber
648
- @startMonth = startMonth
649
- @startYear = startYear
650
- @status = status
651
- @taxNumber = taxNumber
652
- end
653
- end
654
-
655
- # {https://adwords.google.com/api/adwords/v6}Address
656
- class Address
657
- @@schema_type = "Address"
658
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
659
- @@schema_element = [
660
- ["addressLine1", "SOAP::SOAPString"],
661
- ["addressLine2", "SOAP::SOAPString"],
662
- ["city", "SOAP::SOAPString"],
663
- ["companyName", "SOAP::SOAPString"],
664
- ["countryCode", "SOAP::SOAPString"],
665
- ["faxNumber", "SOAP::SOAPString"],
666
- ["name", "SOAP::SOAPString"],
667
- ["phoneNumber", "SOAP::SOAPString"],
668
- ["postalCode", "SOAP::SOAPString"],
669
- ["state", "SOAP::SOAPString"],
670
- ["emailAddress", "SOAP::SOAPString"]
671
- ]
672
-
673
- attr_accessor :addressLine1
674
- attr_accessor :addressLine2
675
- attr_accessor :city
676
- attr_accessor :companyName
677
- attr_accessor :countryCode
678
- attr_accessor :faxNumber
679
- attr_accessor :name
680
- attr_accessor :phoneNumber
681
- attr_accessor :postalCode
682
- attr_accessor :state
683
- attr_accessor :emailAddress
684
-
685
- def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, companyName = nil, countryCode = nil, faxNumber = nil, name = nil, phoneNumber = nil, postalCode = nil, state = nil, emailAddress = nil)
686
- @addressLine1 = addressLine1
687
- @addressLine2 = addressLine2
688
- @city = city
689
- @companyName = companyName
690
- @countryCode = countryCode
691
- @faxNumber = faxNumber
692
- @name = name
693
- @phoneNumber = phoneNumber
694
- @postalCode = postalCode
695
- @state = state
696
- @emailAddress = emailAddress
697
- end
698
- end
699
-
700
- # {https://adwords.google.com/api/adwords/v6}CoverageType
701
- class CoverageType
702
- @@schema_type = "CoverageType"
703
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
704
- @@schema_element = [
705
- ["optInContentNetwork", "SOAP::SOAPBoolean"],
706
- ["optInSearchNetwork", "SOAP::SOAPBoolean"]
707
- ]
708
-
709
- attr_accessor :optInContentNetwork
710
- attr_accessor :optInSearchNetwork
711
-
712
- def initialize(optInContentNetwork = nil, optInSearchNetwork = nil)
713
- @optInContentNetwork = optInContentNetwork
714
- @optInSearchNetwork = optInSearchNetwork
715
- end
716
- end
717
-
718
- # {https://adwords.google.com/api/adwords/v6}AccountInfo
719
- class AccountInfo
720
- @@schema_type = "AccountInfo"
721
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
722
- @@schema_element = [
723
- ["currencyCode", "SOAP::SOAPString"],
724
- ["billingAddress", "Address"],
725
- ["primaryAddress", "Address"],
726
- ["emailPromotionsPreferences", "EmailPromotionsPreferences"],
727
- ["languagePreference", "SOAP::SOAPString"],
728
- ["timeZoneId", "SOAP::SOAPString"],
729
- ["timeZoneEffectiveDate", "SOAP::SOAPLong"],
730
- ["customerId", "SOAP::SOAPLong"],
731
- ["descriptiveName", "SOAP::SOAPString"],
732
- ["termsAndConditions", "SOAP::SOAPString"],
733
- ["primaryBusinessCategory", "SOAP::SOAPString"],
734
- ["defaultAdsCoverage", "CoverageType"]
735
- ]
736
-
737
- attr_accessor :currencyCode
738
- attr_accessor :billingAddress
739
- attr_accessor :primaryAddress
740
- attr_accessor :emailPromotionsPreferences
741
- attr_accessor :languagePreference
742
- attr_accessor :timeZoneId
743
- attr_accessor :timeZoneEffectiveDate
744
- attr_accessor :customerId
745
- attr_accessor :descriptiveName
746
- attr_accessor :termsAndConditions
747
- attr_accessor :primaryBusinessCategory
748
- attr_accessor :defaultAdsCoverage
749
-
750
- def initialize(currencyCode = nil, billingAddress = nil, primaryAddress = nil, emailPromotionsPreferences = nil, languagePreference = nil, timeZoneId = nil, timeZoneEffectiveDate = nil, customerId = nil, descriptiveName = nil, termsAndConditions = nil, primaryBusinessCategory = nil, defaultAdsCoverage = nil)
751
- @currencyCode = currencyCode
752
- @billingAddress = billingAddress
753
- @primaryAddress = primaryAddress
754
- @emailPromotionsPreferences = emailPromotionsPreferences
755
- @languagePreference = languagePreference
756
- @timeZoneId = timeZoneId
757
- @timeZoneEffectiveDate = timeZoneEffectiveDate
758
- @customerId = customerId
759
- @descriptiveName = descriptiveName
760
- @termsAndConditions = termsAndConditions
761
- @primaryBusinessCategory = primaryBusinessCategory
762
- @defaultAdsCoverage = defaultAdsCoverage
763
- end
764
- end
765
-
766
- # {https://adwords.google.com/api/adwords/v6}ApiException
767
- class ApiException
768
- @@schema_type = "ApiException"
769
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
770
- @@schema_element = [
771
- ["code", "SOAP::SOAPInt"],
772
- ["internal", "SOAP::SOAPBoolean"],
773
- ["message", "SOAP::SOAPString"],
774
- ["trigger", "SOAP::SOAPString"],
775
- ["errors", "ApiError[]"]
776
- ]
777
-
778
- attr_accessor :code
779
- attr_accessor :internal
780
- attr_accessor :message
781
- attr_accessor :trigger
782
- attr_accessor :errors
783
-
784
- def initialize(code = nil, internal = nil, message = nil, trigger = nil, errors = [])
785
- @code = code
786
- @internal = internal
787
- @message = message
788
- @trigger = trigger
789
- @errors = errors
790
- end
791
- end
792
-
793
- # {https://adwords.google.com/api/adwords/v6}ApiError
794
- class ApiError
795
- @@schema_type = "ApiError"
796
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
797
- @@schema_element = [
798
- ["index", "SOAP::SOAPInt"],
799
- ["field", "SOAP::SOAPString"],
800
- ["textIndex", "SOAP::SOAPInt"],
801
- ["textLength", "SOAP::SOAPInt"],
802
- ["trigger", "SOAP::SOAPString"],
803
- ["code", "SOAP::SOAPInt"],
804
- ["isExemptable", "SOAP::SOAPBoolean"],
805
- ["detail", "SOAP::SOAPString"]
806
- ]
807
-
808
- attr_accessor :index
809
- attr_accessor :field
810
- attr_accessor :textIndex
811
- attr_accessor :textLength
812
- attr_accessor :trigger
813
- attr_accessor :code
814
- attr_accessor :isExemptable
815
- attr_accessor :detail
816
-
817
- def initialize(index = nil, field = nil, textIndex = nil, textLength = nil, trigger = nil, code = nil, isExemptable = nil, detail = nil)
818
- @index = index
819
- @field = field
820
- @textIndex = textIndex
821
- @textLength = textLength
822
- @trigger = trigger
823
- @code = code
824
- @isExemptable = isExemptable
825
- @detail = detail
826
- end
827
- end
828
-
829
- # {https://adwords.google.com/api/adwords/v6}CreditCardType
830
- class CreditCardType < ::String
831
- @@schema_type = "CreditCardType"
832
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
833
-
834
- AmericanExpress = CreditCardType.new("AmericanExpress")
835
- JCB = CreditCardType.new("JCB")
836
- MasterCard = CreditCardType.new("MasterCard")
837
- SOLO = CreditCardType.new("SOLO")
838
- Switch = CreditCardType.new("Switch")
839
- VISA = CreditCardType.new("VISA")
840
- end
841
-
842
- # {https://adwords.google.com/api/adwords/v6}TaxStatus
843
- class TaxStatus < ::String
844
- @@schema_type = "TaxStatus"
845
- @@schema_ns = "https://adwords.google.com/api/adwords/v6"
846
-
847
- Charity = TaxStatus.new("Charity")
848
- ExtraTerritorial = TaxStatus.new("ExtraTerritorial")
849
- Other = TaxStatus.new("Other")
850
- SubjectToTax = TaxStatus.new("SubjectToTax")
851
- ZeroRated = TaxStatus.new("ZeroRated")
852
- end
853
- end