adwords4r 0.6 → 0.7
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.
- data/ChangeLog.txt +14 -11
- data/Rakefile +2 -1
- data/Readme.txt +5 -0
- data/adwords.properties +3 -3
- data/lib/adwords4r/services.rb +2 -2
- data/lib/adwords4r/v6/AccountService.rb +853 -0
- data/lib/adwords4r/v6/AccountServiceDriver.rb +188 -0
- data/lib/adwords4r/v6/AdGroupService.rb +352 -0
- data/lib/adwords4r/v6/AdGroupServiceDriver.rb +97 -0
- data/lib/adwords4r/v6/CampaignService.rb +563 -0
- data/lib/adwords4r/v6/CampaignServiceDriver.rb +111 -0
- data/lib/adwords4r/v6/CreativeService.rb +472 -0
- data/lib/adwords4r/v6/CreativeServiceDriver.rb +111 -0
- data/lib/adwords4r/v6/CriterionService.rb +447 -0
- data/lib/adwords4r/v6/CriterionServiceDriver.rb +97 -0
- data/lib/adwords4r/v6/InfoService.rb +343 -0
- data/lib/adwords4r/v6/InfoServiceDriver.rb +97 -0
- data/lib/adwords4r/v6/KeywordToolService.rb +263 -0
- data/lib/adwords4r/v6/KeywordToolServiceDriver.rb +55 -0
- data/lib/adwords4r/v6/ReportService.rb +789 -0
- data/lib/adwords4r/v6/ReportServiceDriver.rb +83 -0
- data/lib/adwords4r/v6/TrafficEstimatorService.rb +310 -0
- data/lib/adwords4r/v6/TrafficEstimatorServiceDriver.rb +62 -0
- metadata +21 -4
- data/examples/sandbox.rb +0 -30
data/ChangeLog.txt
CHANGED
@@ -1,11 +1,14 @@
|
|
1
|
-
0.
|
2
|
-
- added support for API
|
3
|
-
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
0.
|
9
|
-
0.
|
10
|
-
|
11
|
-
|
1
|
+
0.7
|
2
|
+
- added support for API v6
|
3
|
+
- uncommented clientEmail in sample property file
|
4
|
+
0.6
|
5
|
+
- added support for API v5
|
6
|
+
- added support for alternateUrl header, in order to work with sandbox
|
7
|
+
- tested with sandbox
|
8
|
+
0.5 Now supports AdWords API v4. Got rid of yaml dependency. Changed properties file name for default credentials to adwords.properties. Enhanced the readme.txt a bit. Added a few samples.
|
9
|
+
0.4 Now all generated classes are within the Adwords module. Will make it easier to use that in Rails. Support for gen classes in a module is not implemented in soap4r for doc/literal style (it works for rpc/encoded). I logged a bug for soap4r. In the meantime I had to fix adwords4r from my module using module_eval to patch the Mapping class.
|
10
|
+
0.3 fixed the bug in InfoService and many others. I fix the wsdl before generation.
|
11
|
+
0.2 added packaging, made it a gem, and added a setup program, for easy installation in all configurations (gem and non gem).
|
12
|
+
0.1 -first version, not fully tested
|
13
|
+
works for Campaigns
|
14
|
+
|
data/Rakefile
CHANGED
@@ -20,7 +20,7 @@ end
|
|
20
20
|
|
21
21
|
CLOBBER.include('pkg')
|
22
22
|
|
23
|
-
CURRENT_VERSION = '0.
|
23
|
+
CURRENT_VERSION = '0.7'
|
24
24
|
PKG_VERSION = ENV['REL'] ? ENV['REL'] : CURRENT_VERSION
|
25
25
|
|
26
26
|
SRC_RB = FileList['lib/**/*.rb']
|
@@ -175,6 +175,7 @@ Currently the following AdWords API versions are supported:\
|
|
175
175
|
\
|
176
176
|
* V4\
|
177
177
|
* V5\
|
178
|
+
* V6\
|
178
179
|
}
|
179
180
|
|
180
181
|
s.files = PKG_FILES.to_a
|
data/Readme.txt
CHANGED
@@ -12,6 +12,11 @@ adwords4r is a ruby gem. See http://docs.rubygems.org/read/book/1
|
|
12
12
|
Install it using the gem install command.
|
13
13
|
> gem install --remote adwords4r
|
14
14
|
|
15
|
+
Requirements are:
|
16
|
+
s.requirements << 'soap4r v 1.5.4 or greater'
|
17
|
+
s.requirements << 'http-access2 v 2.0.5 or greater'
|
18
|
+
(see gem file for details)
|
19
|
+
|
15
20
|
It's pretty easy to use.
|
16
21
|
See http://docs.rubygems.org/read/chapter/3#page70 for how to set the rubygem environment.
|
17
22
|
export RUBYOPT=rubygems
|
data/adwords.properties
CHANGED
@@ -2,6 +2,6 @@ token=my_token
|
|
2
2
|
useragent=P@ playing with the API from ruby
|
3
3
|
password=my_very_secret_password
|
4
4
|
email=toto@example.com
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
clientEmail=titi@example.com
|
6
|
+
applicationToken=
|
7
|
+
alternateUrl=https://sandbox.google.com/api/adwords/v6/
|
data/lib/adwords4r/services.rb
CHANGED
@@ -4,7 +4,8 @@ module AdWords
|
|
4
4
|
|
5
5
|
@@services = {
|
6
6
|
4 => ['Creative', 'Keyword', 'Criterion', 'AdGroup', 'Campaign', 'TrafficEstimator', 'Report', 'Info', 'Account', 'KeywordTool'],
|
7
|
-
5 => ['Creative', 'Criterion', 'AdGroup', 'Campaign', 'TrafficEstimator', 'Report', 'Info', 'Account', 'KeywordTool']
|
7
|
+
5 => ['Creative', 'Criterion', 'AdGroup', 'Campaign', 'TrafficEstimator', 'Report', 'Info', 'Account', 'KeywordTool'],
|
8
|
+
6 => ['Creative', 'Criterion', 'AdGroup', 'Campaign', 'TrafficEstimator', 'Report', 'Info', 'Account', 'KeywordTool']
|
8
9
|
}
|
9
10
|
|
10
11
|
def Service.getVersions
|
@@ -34,4 +35,3 @@ module AdWords
|
|
34
35
|
end
|
35
36
|
|
36
37
|
end
|
37
|
-
|
@@ -0,0 +1,853 @@
|
|
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
|