adwords4r 0.7 → 11.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Authors.txt +3 -1
- data/ChangeLog.txt +18 -1
- data/Rakefile +35 -50
- data/Readme.txt +28 -11
- data/Todo.txt +1 -9
- data/adwords.properties +7 -7
- data/examples/campaign.rb +7 -5
- data/examples/framework.rb +3 -1
- data/examples/get_free_usage_this_month.rb +3 -1
- data/examples/get_unit_count.rb +7 -2
- data/examples/keyword_tool_demo.rb +5 -2
- data/examples/traffic_estimator.rb +5 -2
- data/lib/adwords4r.rb +157 -147
- data/lib/adwords4r/credentials.rb +36 -36
- data/lib/adwords4r/services.rb +24 -32
- data/lib/adwords4r/v10/AccountService.rb +234 -0
- data/lib/adwords4r/v10/AccountServiceDriver.rb +77 -0
- data/lib/adwords4r/v10/AccountServiceMappingRegistry.rb +258 -0
- data/lib/adwords4r/v10/AdGroupService.rb +257 -0
- data/lib/adwords4r/v10/AdGroupServiceDriver.rb +109 -0
- data/lib/adwords4r/v10/AdGroupServiceMappingRegistry.rb +276 -0
- data/lib/adwords4r/v10/AdService.rb +757 -0
- data/lib/adwords4r/v10/AdServiceDriver.rb +125 -0
- data/lib/adwords4r/v10/AdServiceMappingRegistry.rb +805 -0
- data/lib/adwords4r/v10/CampaignService.rb +443 -0
- data/lib/adwords4r/v10/CampaignServiceDriver.rb +125 -0
- data/lib/adwords4r/v10/CampaignServiceMappingRegistry.rb +564 -0
- data/lib/adwords4r/v10/CriterionService.rb +442 -0
- data/lib/adwords4r/v10/CriterionServiceDriver.rb +117 -0
- data/lib/adwords4r/v10/CriterionServiceMappingRegistry.rb +507 -0
- data/lib/adwords4r/v10/InfoService.rb +242 -0
- data/lib/adwords4r/v10/InfoServiceDriver.rb +109 -0
- data/lib/adwords4r/v10/InfoServiceMappingRegistry.rb +228 -0
- data/lib/adwords4r/v10/KeywordToolService.rb +205 -0
- data/lib/adwords4r/{v6 → v10}/KeywordToolServiceDriver.rb +18 -12
- data/lib/adwords4r/v10/KeywordToolServiceMappingRegistry.rb +227 -0
- data/lib/adwords4r/{v6 → v10}/ReportService.rb +335 -472
- data/lib/adwords4r/v10/ReportServiceDriver.rb +93 -0
- data/lib/adwords4r/v10/ReportServiceMappingRegistry.rb +559 -0
- data/lib/adwords4r/v10/SiteSuggestionService.rb +242 -0
- data/lib/adwords4r/v10/SiteSuggestionServiceDriver.rb +77 -0
- data/lib/adwords4r/v10/SiteSuggestionServiceMappingRegistry.rb +271 -0
- data/lib/adwords4r/v10/TrafficEstimatorService.rb +312 -0
- data/lib/adwords4r/v10/TrafficEstimatorServiceDriver.rb +77 -0
- data/lib/adwords4r/v10/TrafficEstimatorServiceMappingRegistry.rb +483 -0
- data/lib/adwords4r/v11/AccountService.rb +215 -0
- data/lib/adwords4r/v11/AccountServiceDriver.rb +69 -0
- data/lib/adwords4r/v11/AccountServiceMappingRegistry.rb +243 -0
- data/lib/adwords4r/v11/AdGroupService.rb +257 -0
- data/lib/adwords4r/v11/AdGroupServiceDriver.rb +109 -0
- data/lib/adwords4r/v11/AdGroupServiceMappingRegistry.rb +276 -0
- data/lib/adwords4r/v11/AdService.rb +760 -0
- data/lib/adwords4r/v11/AdServiceDriver.rb +125 -0
- data/lib/adwords4r/v11/AdServiceMappingRegistry.rb +807 -0
- data/lib/adwords4r/v11/CampaignService.rb +443 -0
- data/lib/adwords4r/v11/CampaignServiceDriver.rb +125 -0
- data/lib/adwords4r/v11/CampaignServiceMappingRegistry.rb +564 -0
- data/lib/adwords4r/v11/CriterionService.rb +442 -0
- data/lib/adwords4r/v11/CriterionServiceDriver.rb +117 -0
- data/lib/adwords4r/v11/CriterionServiceMappingRegistry.rb +507 -0
- data/lib/adwords4r/v11/InfoService.rb +242 -0
- data/lib/adwords4r/v11/InfoServiceDriver.rb +109 -0
- data/lib/adwords4r/v11/InfoServiceMappingRegistry.rb +228 -0
- data/lib/adwords4r/v11/KeywordToolService.rb +205 -0
- data/lib/adwords4r/{v5 → v11}/KeywordToolServiceDriver.rb +18 -12
- data/lib/adwords4r/v11/KeywordToolServiceMappingRegistry.rb +227 -0
- data/lib/adwords4r/v11/ReportService.rb +322 -0
- data/lib/adwords4r/v11/ReportServiceDriver.rb +101 -0
- data/lib/adwords4r/v11/ReportServiceMappingRegistry.rb +298 -0
- data/lib/adwords4r/v11/SiteSuggestionService.rb +242 -0
- data/lib/adwords4r/v11/SiteSuggestionServiceDriver.rb +77 -0
- data/lib/adwords4r/v11/SiteSuggestionServiceMappingRegistry.rb +271 -0
- data/lib/adwords4r/v11/TrafficEstimatorService.rb +312 -0
- data/lib/adwords4r/v11/TrafficEstimatorServiceDriver.rb +77 -0
- data/lib/adwords4r/v11/TrafficEstimatorServiceMappingRegistry.rb +483 -0
- metadata +96 -74
- data/lib/adwords4r/v4/AccountService.rb +0 -709
- data/lib/adwords4r/v4/AccountServiceDriver.rb +0 -174
- data/lib/adwords4r/v4/AdGroupService.rb +0 -316
- data/lib/adwords4r/v4/AdGroupServiceDriver.rb +0 -97
- data/lib/adwords4r/v4/CampaignService.rb +0 -527
- data/lib/adwords4r/v4/CampaignServiceDriver.rb +0 -111
- data/lib/adwords4r/v4/CreativeService.rb +0 -368
- data/lib/adwords4r/v4/CreativeServiceDriver.rb +0 -104
- data/lib/adwords4r/v4/CriterionService.rb +0 -411
- data/lib/adwords4r/v4/CriterionServiceDriver.rb +0 -97
- data/lib/adwords4r/v4/InfoService.rb +0 -260
- data/lib/adwords4r/v4/InfoServiceDriver.rb +0 -90
- data/lib/adwords4r/v4/KeywordService.rb +0 -543
- data/lib/adwords4r/v4/KeywordServiceDriver.rb +0 -125
- data/lib/adwords4r/v4/KeywordToolService.rb +0 -227
- data/lib/adwords4r/v4/KeywordToolServiceDriver.rb +0 -55
- data/lib/adwords4r/v4/ReportService.rb +0 -575
- data/lib/adwords4r/v4/ReportServiceDriver.rb +0 -83
- data/lib/adwords4r/v4/TrafficEstimatorService.rb +0 -274
- data/lib/adwords4r/v4/TrafficEstimatorServiceDriver.rb +0 -62
- data/lib/adwords4r/v5/AccountService.rb +0 -853
- data/lib/adwords4r/v5/AccountServiceDriver.rb +0 -188
- data/lib/adwords4r/v5/AdGroupService.rb +0 -352
- data/lib/adwords4r/v5/AdGroupServiceDriver.rb +0 -97
- data/lib/adwords4r/v5/CampaignService.rb +0 -563
- data/lib/adwords4r/v5/CampaignServiceDriver.rb +0 -111
- data/lib/adwords4r/v5/CreativeService.rb +0 -404
- data/lib/adwords4r/v5/CreativeServiceDriver.rb +0 -104
- data/lib/adwords4r/v5/CriterionService.rb +0 -447
- data/lib/adwords4r/v5/CriterionServiceDriver.rb +0 -97
- data/lib/adwords4r/v5/InfoService.rb +0 -296
- data/lib/adwords4r/v5/InfoServiceDriver.rb +0 -90
- data/lib/adwords4r/v5/KeywordToolService.rb +0 -263
- data/lib/adwords4r/v5/ReportService.rb +0 -788
- data/lib/adwords4r/v5/ReportServiceDriver.rb +0 -83
- data/lib/adwords4r/v5/TrafficEstimatorService.rb +0 -310
- data/lib/adwords4r/v5/TrafficEstimatorServiceDriver.rb +0 -62
- data/lib/adwords4r/v6/AccountService.rb +0 -853
- data/lib/adwords4r/v6/AccountServiceDriver.rb +0 -188
- data/lib/adwords4r/v6/AdGroupService.rb +0 -352
- data/lib/adwords4r/v6/AdGroupServiceDriver.rb +0 -97
- data/lib/adwords4r/v6/CampaignService.rb +0 -563
- data/lib/adwords4r/v6/CampaignServiceDriver.rb +0 -111
- data/lib/adwords4r/v6/CreativeService.rb +0 -472
- data/lib/adwords4r/v6/CreativeServiceDriver.rb +0 -111
- data/lib/adwords4r/v6/CriterionService.rb +0 -447
- data/lib/adwords4r/v6/CriterionServiceDriver.rb +0 -97
- data/lib/adwords4r/v6/InfoService.rb +0 -343
- data/lib/adwords4r/v6/InfoServiceDriver.rb +0 -97
- data/lib/adwords4r/v6/KeywordToolService.rb +0 -263
- data/lib/adwords4r/v6/ReportServiceDriver.rb +0 -83
- data/lib/adwords4r/v6/TrafficEstimatorService.rb +0 -310
- data/lib/adwords4r/v6/TrafficEstimatorServiceDriver.rb +0 -62
@@ -1,83 +0,0 @@
|
|
1
|
-
module AdWords
|
2
|
-
require 'adwords4r/v4/ReportService'
|
3
|
-
|
4
|
-
require 'soap/rpc/driver'
|
5
|
-
|
6
|
-
class ReportServiceInterface < ::SOAP::RPC::Driver
|
7
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v4/ReportService"
|
8
|
-
MappingRegistry = ::SOAP::Mapping::Registry.new
|
9
|
-
|
10
|
-
Methods = [
|
11
|
-
[ "",
|
12
|
-
"scheduleReportJob",
|
13
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "scheduleReportJob"], true],
|
14
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "scheduleReportJobResponse"], true] ],
|
15
|
-
{ :request_style => :document, :request_use => :literal,
|
16
|
-
:response_style => :document, :response_use => :literal }
|
17
|
-
],
|
18
|
-
[ "",
|
19
|
-
"getReportJobStatus",
|
20
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "getReportJobStatus"], true],
|
21
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "getReportJobStatusResponse"], true] ],
|
22
|
-
{ :request_style => :document, :request_use => :literal,
|
23
|
-
:response_style => :document, :response_use => :literal }
|
24
|
-
],
|
25
|
-
[ "",
|
26
|
-
"getReportDownloadUrl",
|
27
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "getReportDownloadUrl"], true],
|
28
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "getReportDownloadUrlResponse"], true] ],
|
29
|
-
{ :request_style => :document, :request_use => :literal,
|
30
|
-
:response_style => :document, :response_use => :literal }
|
31
|
-
],
|
32
|
-
[ "",
|
33
|
-
"getGzipReportDownloadUrl",
|
34
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "getGzipReportDownloadUrl"], true],
|
35
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "getGzipReportDownloadUrlResponse"], true] ],
|
36
|
-
{ :request_style => :document, :request_use => :literal,
|
37
|
-
:response_style => :document, :response_use => :literal }
|
38
|
-
],
|
39
|
-
[ "",
|
40
|
-
"getAllJobs",
|
41
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "getAllJobs"], true],
|
42
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "getAllJobsResponse"], true] ],
|
43
|
-
{ :request_style => :document, :request_use => :literal,
|
44
|
-
:response_style => :document, :response_use => :literal }
|
45
|
-
],
|
46
|
-
[ "",
|
47
|
-
"deleteReport",
|
48
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "deleteReport"], true],
|
49
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "deleteReportResponse"], true] ],
|
50
|
-
{ :request_style => :document, :request_use => :literal,
|
51
|
-
:response_style => :document, :response_use => :literal }
|
52
|
-
]
|
53
|
-
]
|
54
|
-
|
55
|
-
def initialize(endpoint_url = nil)
|
56
|
-
endpoint_url ||= DefaultEndpointUrl
|
57
|
-
super(endpoint_url, nil)
|
58
|
-
self.mapping_registry = MappingRegistry
|
59
|
-
init_methods
|
60
|
-
end
|
61
|
-
|
62
|
-
private
|
63
|
-
|
64
|
-
def init_methods
|
65
|
-
Methods.each do |definitions|
|
66
|
-
opt = definitions.last
|
67
|
-
if opt[:request_style] == :document
|
68
|
-
add_document_operation(*definitions)
|
69
|
-
else
|
70
|
-
add_rpc_operation(*definitions)
|
71
|
-
qname = definitions[0]
|
72
|
-
name = definitions[2]
|
73
|
-
if qname.name != name and qname.name.capitalize == name.capitalize
|
74
|
-
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
75
|
-
__send__(name, *arg)
|
76
|
-
end
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
end
|
@@ -1,274 +0,0 @@
|
|
1
|
-
module AdWords
|
2
|
-
require 'xsd/qname'
|
3
|
-
|
4
|
-
# {https://adwords.google.com/api/adwords/v4}estimateCampaignList
|
5
|
-
class EstimateCampaignList < ::Array
|
6
|
-
@@schema_element = [
|
7
|
-
["campaignRequests", ["CampaignRequest[]", XSD::QName.new("https://adwords.google.com/api/adwords/v4", "campaignRequests")]]
|
8
|
-
]
|
9
|
-
end
|
10
|
-
|
11
|
-
# {https://adwords.google.com/api/adwords/v4}estimateCampaignListResponse
|
12
|
-
class EstimateCampaignListResponse < ::Array
|
13
|
-
@@schema_element = [
|
14
|
-
["estimateCampaignListReturn", ["CampaignEstimate[]", XSD::QName.new("https://adwords.google.com/api/adwords/v4", "estimateCampaignListReturn")]]
|
15
|
-
]
|
16
|
-
end
|
17
|
-
|
18
|
-
# {https://adwords.google.com/api/adwords/v4}estimateAdGroupList
|
19
|
-
class EstimateAdGroupList < ::Array
|
20
|
-
@@schema_element = [
|
21
|
-
["adGroupRequests", ["AdGroupRequest[]", XSD::QName.new("https://adwords.google.com/api/adwords/v4", "adGroupRequests")]]
|
22
|
-
]
|
23
|
-
end
|
24
|
-
|
25
|
-
# {https://adwords.google.com/api/adwords/v4}estimateAdGroupListResponse
|
26
|
-
class EstimateAdGroupListResponse < ::Array
|
27
|
-
@@schema_element = [
|
28
|
-
["estimateAdGroupListReturn", ["AdGroupEstimate[]", XSD::QName.new("https://adwords.google.com/api/adwords/v4", "estimateAdGroupListReturn")]]
|
29
|
-
]
|
30
|
-
end
|
31
|
-
|
32
|
-
# {https://adwords.google.com/api/adwords/v4}estimateKeywordList
|
33
|
-
class EstimateKeywordList < ::Array
|
34
|
-
@@schema_element = [
|
35
|
-
["keywordRequests", ["KeywordRequest[]", XSD::QName.new("https://adwords.google.com/api/adwords/v4", "keywordRequests")]]
|
36
|
-
]
|
37
|
-
end
|
38
|
-
|
39
|
-
# {https://adwords.google.com/api/adwords/v4}estimateKeywordListResponse
|
40
|
-
class EstimateKeywordListResponse < ::Array
|
41
|
-
@@schema_element = [
|
42
|
-
["estimateKeywordListReturn", ["KeywordEstimate[]", XSD::QName.new("https://adwords.google.com/api/adwords/v4", "estimateKeywordListReturn")]]
|
43
|
-
]
|
44
|
-
end
|
45
|
-
|
46
|
-
# {https://adwords.google.com/api/adwords/v4}ApiException
|
47
|
-
class ApiException
|
48
|
-
@@schema_type = "ApiException"
|
49
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
50
|
-
@@schema_element = [
|
51
|
-
["code", "SOAP::SOAPInt"],
|
52
|
-
["internal", "SOAP::SOAPBoolean"],
|
53
|
-
["message", "SOAP::SOAPString"],
|
54
|
-
["trigger", "SOAP::SOAPString"],
|
55
|
-
["violations", "SOAP::SOAPString"]
|
56
|
-
]
|
57
|
-
|
58
|
-
attr_accessor :code
|
59
|
-
attr_accessor :internal
|
60
|
-
attr_accessor :message
|
61
|
-
attr_accessor :trigger
|
62
|
-
attr_accessor :violations
|
63
|
-
|
64
|
-
def initialize(code = nil, internal = nil, message = nil, trigger = nil, violations = nil)
|
65
|
-
@code = code
|
66
|
-
@internal = internal
|
67
|
-
@message = message
|
68
|
-
@trigger = trigger
|
69
|
-
@violations = violations
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
# {https://adwords.google.com/api/adwords/v4}CampaignRequest
|
74
|
-
class CampaignRequest
|
75
|
-
@@schema_type = "CampaignRequest"
|
76
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
77
|
-
@@schema_element = [
|
78
|
-
["adGroupRequests", "AdGroupRequest[]"],
|
79
|
-
["geoTargeting", "GeoTarget"],
|
80
|
-
["id", "SOAP::SOAPInt"],
|
81
|
-
["languageTargeting", "LanguageTarget"],
|
82
|
-
["networkTargeting", "NetworkTarget"]
|
83
|
-
]
|
84
|
-
|
85
|
-
attr_accessor :adGroupRequests
|
86
|
-
attr_accessor :geoTargeting
|
87
|
-
attr_accessor :id
|
88
|
-
attr_accessor :languageTargeting
|
89
|
-
attr_accessor :networkTargeting
|
90
|
-
|
91
|
-
def initialize(adGroupRequests = [], geoTargeting = nil, id = nil, languageTargeting = nil, networkTargeting = nil)
|
92
|
-
@adGroupRequests = adGroupRequests
|
93
|
-
@geoTargeting = geoTargeting
|
94
|
-
@id = id
|
95
|
-
@languageTargeting = languageTargeting
|
96
|
-
@networkTargeting = networkTargeting
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
# {https://adwords.google.com/api/adwords/v4}AdGroupRequest
|
101
|
-
class AdGroupRequest
|
102
|
-
@@schema_type = "AdGroupRequest"
|
103
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
104
|
-
@@schema_element = [
|
105
|
-
["id", "SOAP::SOAPInt"],
|
106
|
-
["keywordRequests", "KeywordRequest[]"],
|
107
|
-
["maxCpc", "SOAP::SOAPLong"]
|
108
|
-
]
|
109
|
-
|
110
|
-
attr_accessor :id
|
111
|
-
attr_accessor :keywordRequests
|
112
|
-
attr_accessor :maxCpc
|
113
|
-
|
114
|
-
def initialize(id = nil, keywordRequests = [], maxCpc = nil)
|
115
|
-
@id = id
|
116
|
-
@keywordRequests = keywordRequests
|
117
|
-
@maxCpc = maxCpc
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
|
-
# {https://adwords.google.com/api/adwords/v4}KeywordRequest
|
122
|
-
class KeywordRequest
|
123
|
-
@@schema_type = "KeywordRequest"
|
124
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
125
|
-
@@schema_element = [
|
126
|
-
["id", "SOAP::SOAPLong"],
|
127
|
-
["maxCpc", "SOAP::SOAPLong"],
|
128
|
-
["negative", "SOAP::SOAPBoolean"],
|
129
|
-
["text", "SOAP::SOAPString"],
|
130
|
-
["type", "SOAP::SOAPString"]
|
131
|
-
]
|
132
|
-
|
133
|
-
attr_accessor :id
|
134
|
-
attr_accessor :maxCpc
|
135
|
-
attr_accessor :negative
|
136
|
-
attr_accessor :text
|
137
|
-
attr_accessor :type
|
138
|
-
|
139
|
-
def initialize(id = nil, maxCpc = nil, negative = nil, text = nil, type = nil)
|
140
|
-
@id = id
|
141
|
-
@maxCpc = maxCpc
|
142
|
-
@negative = negative
|
143
|
-
@text = text
|
144
|
-
@type = type
|
145
|
-
end
|
146
|
-
end
|
147
|
-
|
148
|
-
# {https://adwords.google.com/api/adwords/v4}GeoTarget
|
149
|
-
class GeoTarget
|
150
|
-
@@schema_type = "GeoTarget"
|
151
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
152
|
-
@@schema_element = [
|
153
|
-
["cities", "SOAP::SOAPString[]"],
|
154
|
-
["countries", "SOAP::SOAPString[]"],
|
155
|
-
["metros", "SOAP::SOAPString[]"],
|
156
|
-
["regions", "SOAP::SOAPString[]"]
|
157
|
-
]
|
158
|
-
|
159
|
-
attr_accessor :cities
|
160
|
-
attr_accessor :countries
|
161
|
-
attr_accessor :metros
|
162
|
-
attr_accessor :regions
|
163
|
-
|
164
|
-
def initialize(cities = [], countries = [], metros = [], regions = [])
|
165
|
-
@cities = cities
|
166
|
-
@countries = countries
|
167
|
-
@metros = metros
|
168
|
-
@regions = regions
|
169
|
-
end
|
170
|
-
end
|
171
|
-
|
172
|
-
# {https://adwords.google.com/api/adwords/v4}LanguageTarget
|
173
|
-
class LanguageTarget < ::Array
|
174
|
-
@@schema_element = [
|
175
|
-
["languages", ["SOAP::SOAPString[]", XSD::QName.new("https://adwords.google.com/api/adwords/v4", "languages")]]
|
176
|
-
]
|
177
|
-
end
|
178
|
-
|
179
|
-
# {https://adwords.google.com/api/adwords/v4}NetworkTarget
|
180
|
-
class NetworkTarget < ::Array
|
181
|
-
@@schema_element = [
|
182
|
-
["networkTypes", ["SOAP::SOAPString[]", XSD::QName.new("https://adwords.google.com/api/adwords/v4", "networkTypes")]]
|
183
|
-
]
|
184
|
-
end
|
185
|
-
|
186
|
-
# {https://adwords.google.com/api/adwords/v4}CampaignEstimate
|
187
|
-
class CampaignEstimate
|
188
|
-
@@schema_type = "CampaignEstimate"
|
189
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
190
|
-
@@schema_element = [
|
191
|
-
["adGroupEstimates", "AdGroupEstimate[]"],
|
192
|
-
["id", "SOAP::SOAPInt"]
|
193
|
-
]
|
194
|
-
|
195
|
-
attr_accessor :adGroupEstimates
|
196
|
-
attr_accessor :id
|
197
|
-
|
198
|
-
def initialize(adGroupEstimates = [], id = nil)
|
199
|
-
@adGroupEstimates = adGroupEstimates
|
200
|
-
@id = id
|
201
|
-
end
|
202
|
-
end
|
203
|
-
|
204
|
-
# {https://adwords.google.com/api/adwords/v4}AdGroupEstimate
|
205
|
-
class AdGroupEstimate
|
206
|
-
@@schema_type = "AdGroupEstimate"
|
207
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
208
|
-
@@schema_element = [
|
209
|
-
["id", "SOAP::SOAPInt"],
|
210
|
-
["keywordEstimates", "KeywordEstimate[]"]
|
211
|
-
]
|
212
|
-
|
213
|
-
attr_accessor :id
|
214
|
-
attr_accessor :keywordEstimates
|
215
|
-
|
216
|
-
def initialize(id = nil, keywordEstimates = [])
|
217
|
-
@id = id
|
218
|
-
@keywordEstimates = keywordEstimates
|
219
|
-
end
|
220
|
-
end
|
221
|
-
|
222
|
-
# {https://adwords.google.com/api/adwords/v4}KeywordEstimate
|
223
|
-
class KeywordEstimate
|
224
|
-
@@schema_type = "KeywordEstimate"
|
225
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
226
|
-
@@schema_element = [
|
227
|
-
["lowerAvgPosition", "Float"],
|
228
|
-
["upperAvgPosition", "Float"],
|
229
|
-
["lowerClicksPerDay", "Float"],
|
230
|
-
["upperClicksPerDay", "Float"],
|
231
|
-
["lowerCpc", "SOAP::SOAPLong"],
|
232
|
-
["upperCpc", "SOAP::SOAPLong"],
|
233
|
-
["id", "SOAP::SOAPLong"]
|
234
|
-
]
|
235
|
-
|
236
|
-
attr_accessor :lowerAvgPosition
|
237
|
-
attr_accessor :upperAvgPosition
|
238
|
-
attr_accessor :lowerClicksPerDay
|
239
|
-
attr_accessor :upperClicksPerDay
|
240
|
-
attr_accessor :lowerCpc
|
241
|
-
attr_accessor :upperCpc
|
242
|
-
attr_accessor :id
|
243
|
-
|
244
|
-
def initialize(lowerAvgPosition = nil, upperAvgPosition = nil, lowerClicksPerDay = nil, upperClicksPerDay = nil, lowerCpc = nil, upperCpc = nil, id = nil)
|
245
|
-
@lowerAvgPosition = lowerAvgPosition
|
246
|
-
@upperAvgPosition = upperAvgPosition
|
247
|
-
@lowerClicksPerDay = lowerClicksPerDay
|
248
|
-
@upperClicksPerDay = upperClicksPerDay
|
249
|
-
@lowerCpc = lowerCpc
|
250
|
-
@upperCpc = upperCpc
|
251
|
-
@id = id
|
252
|
-
end
|
253
|
-
end
|
254
|
-
|
255
|
-
# {https://adwords.google.com/api/adwords/v4}NetworkType
|
256
|
-
class NetworkType < ::String
|
257
|
-
@@schema_type = "NetworkType"
|
258
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
259
|
-
|
260
|
-
ContentNetwork = NetworkType.new("ContentNetwork")
|
261
|
-
GoogleSearch = NetworkType.new("GoogleSearch")
|
262
|
-
SearchNetwork = NetworkType.new("SearchNetwork")
|
263
|
-
end
|
264
|
-
|
265
|
-
# {https://adwords.google.com/api/adwords/v4}KeywordType
|
266
|
-
class KeywordType < ::String
|
267
|
-
@@schema_type = "KeywordType"
|
268
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v4"
|
269
|
-
|
270
|
-
Broad = KeywordType.new("Broad")
|
271
|
-
Exact = KeywordType.new("Exact")
|
272
|
-
Phrase = KeywordType.new("Phrase")
|
273
|
-
end
|
274
|
-
end
|
@@ -1,62 +0,0 @@
|
|
1
|
-
module AdWords
|
2
|
-
require 'adwords4r/v4/TrafficEstimatorService'
|
3
|
-
|
4
|
-
require 'soap/rpc/driver'
|
5
|
-
|
6
|
-
class TrafficEstimatorInterface < ::SOAP::RPC::Driver
|
7
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v4/TrafficEstimatorService"
|
8
|
-
MappingRegistry = ::SOAP::Mapping::Registry.new
|
9
|
-
|
10
|
-
Methods = [
|
11
|
-
[ "",
|
12
|
-
"estimateCampaignList",
|
13
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "estimateCampaignList"], true],
|
14
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "estimateCampaignListResponse"], true] ],
|
15
|
-
{ :request_style => :document, :request_use => :literal,
|
16
|
-
:response_style => :document, :response_use => :literal }
|
17
|
-
],
|
18
|
-
[ "",
|
19
|
-
"estimateAdGroupList",
|
20
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "estimateAdGroupList"], true],
|
21
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "estimateAdGroupListResponse"], true] ],
|
22
|
-
{ :request_style => :document, :request_use => :literal,
|
23
|
-
:response_style => :document, :response_use => :literal }
|
24
|
-
],
|
25
|
-
[ "",
|
26
|
-
"estimateKeywordList",
|
27
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "estimateKeywordList"], true],
|
28
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v4", "estimateKeywordListResponse"], true] ],
|
29
|
-
{ :request_style => :document, :request_use => :literal,
|
30
|
-
:response_style => :document, :response_use => :literal }
|
31
|
-
]
|
32
|
-
]
|
33
|
-
|
34
|
-
def initialize(endpoint_url = nil)
|
35
|
-
endpoint_url ||= DefaultEndpointUrl
|
36
|
-
super(endpoint_url, nil)
|
37
|
-
self.mapping_registry = MappingRegistry
|
38
|
-
init_methods
|
39
|
-
end
|
40
|
-
|
41
|
-
private
|
42
|
-
|
43
|
-
def init_methods
|
44
|
-
Methods.each do |definitions|
|
45
|
-
opt = definitions.last
|
46
|
-
if opt[:request_style] == :document
|
47
|
-
add_document_operation(*definitions)
|
48
|
-
else
|
49
|
-
add_rpc_operation(*definitions)
|
50
|
-
qname = definitions[0]
|
51
|
-
name = definitions[2]
|
52
|
-
if qname.name != name and qname.name.capitalize == name.capitalize
|
53
|
-
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
54
|
-
__send__(name, *arg)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
end
|
@@ -1,853 +0,0 @@
|
|
1
|
-
module AdWords
|
2
|
-
require 'xsd/qname'
|
3
|
-
|
4
|
-
# {https://adwords.google.com/api/adwords/v5}createAdWordsAccount
|
5
|
-
class CreateAdWordsAccount
|
6
|
-
@@schema_type = "createAdWordsAccount"
|
7
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}createAdWordsAccountResponse
|
45
|
-
class CreateAdWordsAccountResponse
|
46
|
-
@@schema_type = "createAdWordsAccountResponse"
|
47
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
48
|
-
@@schema_qualified = "true"
|
49
|
-
@@schema_element = []
|
50
|
-
|
51
|
-
def initialize
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
# {https://adwords.google.com/api/adwords/v5}setLoginInfo
|
56
|
-
class SetLoginInfo
|
57
|
-
@@schema_type = "setLoginInfo"
|
58
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setLoginInfoResponse
|
75
|
-
class SetLoginInfoResponse
|
76
|
-
@@schema_type = "setLoginInfoResponse"
|
77
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
78
|
-
@@schema_qualified = "true"
|
79
|
-
@@schema_element = []
|
80
|
-
|
81
|
-
def initialize
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
# {https://adwords.google.com/api/adwords/v5}getAccountCurrency
|
86
|
-
class GetAccountCurrency
|
87
|
-
@@schema_type = "getAccountCurrency"
|
88
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
89
|
-
@@schema_qualified = "true"
|
90
|
-
@@schema_element = []
|
91
|
-
|
92
|
-
def initialize
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
# {https://adwords.google.com/api/adwords/v5}getAccountCurrencyResponse
|
97
|
-
class GetAccountCurrencyResponse
|
98
|
-
@@schema_type = "getAccountCurrencyResponse"
|
99
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}getCreditCard
|
113
|
-
class GetCreditCard
|
114
|
-
@@schema_type = "getCreditCard"
|
115
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
116
|
-
@@schema_qualified = "true"
|
117
|
-
@@schema_element = []
|
118
|
-
|
119
|
-
def initialize
|
120
|
-
end
|
121
|
-
end
|
122
|
-
|
123
|
-
# {https://adwords.google.com/api/adwords/v5}getCreditCardResponse
|
124
|
-
class GetCreditCardResponse
|
125
|
-
@@schema_type = "getCreditCardResponse"
|
126
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}getBillingAddress
|
140
|
-
class GetBillingAddress
|
141
|
-
@@schema_type = "getBillingAddress"
|
142
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
143
|
-
@@schema_qualified = "true"
|
144
|
-
@@schema_element = []
|
145
|
-
|
146
|
-
def initialize
|
147
|
-
end
|
148
|
-
end
|
149
|
-
|
150
|
-
# {https://adwords.google.com/api/adwords/v5}getBillingAddressResponse
|
151
|
-
class GetBillingAddressResponse
|
152
|
-
@@schema_type = "getBillingAddressResponse"
|
153
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setCreditCard
|
167
|
-
class SetCreditCard
|
168
|
-
@@schema_type = "setCreditCard"
|
169
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setCreditCardResponse
|
186
|
-
class SetCreditCardResponse
|
187
|
-
@@schema_type = "setCreditCardResponse"
|
188
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
189
|
-
@@schema_qualified = "true"
|
190
|
-
@@schema_element = []
|
191
|
-
|
192
|
-
def initialize
|
193
|
-
end
|
194
|
-
end
|
195
|
-
|
196
|
-
# {https://adwords.google.com/api/adwords/v5}getDefaultAdsCoverage
|
197
|
-
class GetDefaultAdsCoverage
|
198
|
-
@@schema_type = "getDefaultAdsCoverage"
|
199
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
200
|
-
@@schema_qualified = "true"
|
201
|
-
@@schema_element = []
|
202
|
-
|
203
|
-
def initialize
|
204
|
-
end
|
205
|
-
end
|
206
|
-
|
207
|
-
# {https://adwords.google.com/api/adwords/v5}getDefaultAdsCoverageResponse
|
208
|
-
class GetDefaultAdsCoverageResponse
|
209
|
-
@@schema_type = "getDefaultAdsCoverageResponse"
|
210
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setDefaultAdsCoverage
|
224
|
-
class SetDefaultAdsCoverage
|
225
|
-
@@schema_type = "setDefaultAdsCoverage"
|
226
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setDefaultAdsCoverageResponse
|
240
|
-
class SetDefaultAdsCoverageResponse
|
241
|
-
@@schema_type = "setDefaultAdsCoverageResponse"
|
242
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
243
|
-
@@schema_qualified = "true"
|
244
|
-
@@schema_element = []
|
245
|
-
|
246
|
-
def initialize
|
247
|
-
end
|
248
|
-
end
|
249
|
-
|
250
|
-
# {https://adwords.google.com/api/adwords/v5}getLanguagePreference
|
251
|
-
class GetLanguagePreference
|
252
|
-
@@schema_type = "getLanguagePreference"
|
253
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
254
|
-
@@schema_qualified = "true"
|
255
|
-
@@schema_element = []
|
256
|
-
|
257
|
-
def initialize
|
258
|
-
end
|
259
|
-
end
|
260
|
-
|
261
|
-
# {https://adwords.google.com/api/adwords/v5}getLanguagePreferenceResponse
|
262
|
-
class GetLanguagePreferenceResponse
|
263
|
-
@@schema_type = "getLanguagePreferenceResponse"
|
264
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setLanguagePreference
|
278
|
-
class SetLanguagePreference
|
279
|
-
@@schema_type = "setLanguagePreference"
|
280
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setLanguagePreferenceResponse
|
294
|
-
class SetLanguagePreferenceResponse
|
295
|
-
@@schema_type = "setLanguagePreferenceResponse"
|
296
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
297
|
-
@@schema_qualified = "true"
|
298
|
-
@@schema_element = []
|
299
|
-
|
300
|
-
def initialize
|
301
|
-
end
|
302
|
-
end
|
303
|
-
|
304
|
-
# {https://adwords.google.com/api/adwords/v5}getEmailPromotionsPreferences
|
305
|
-
class GetEmailPromotionsPreferences
|
306
|
-
@@schema_type = "getEmailPromotionsPreferences"
|
307
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
308
|
-
@@schema_qualified = "true"
|
309
|
-
@@schema_element = []
|
310
|
-
|
311
|
-
def initialize
|
312
|
-
end
|
313
|
-
end
|
314
|
-
|
315
|
-
# {https://adwords.google.com/api/adwords/v5}getEmailPromotionsPreferencesResponse
|
316
|
-
class GetEmailPromotionsPreferencesResponse
|
317
|
-
@@schema_type = "getEmailPromotionsPreferencesResponse"
|
318
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setEmailPromotionsPreferences
|
332
|
-
class SetEmailPromotionsPreferences
|
333
|
-
@@schema_type = "setEmailPromotionsPreferences"
|
334
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setEmailPromotionsPreferencesResponse
|
348
|
-
class SetEmailPromotionsPreferencesResponse
|
349
|
-
@@schema_type = "setEmailPromotionsPreferencesResponse"
|
350
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
351
|
-
@@schema_qualified = "true"
|
352
|
-
@@schema_element = []
|
353
|
-
|
354
|
-
def initialize
|
355
|
-
end
|
356
|
-
end
|
357
|
-
|
358
|
-
# {https://adwords.google.com/api/adwords/v5}getPrimaryBusinessCategory
|
359
|
-
class GetPrimaryBusinessCategory
|
360
|
-
@@schema_type = "getPrimaryBusinessCategory"
|
361
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
362
|
-
@@schema_qualified = "true"
|
363
|
-
@@schema_element = []
|
364
|
-
|
365
|
-
def initialize
|
366
|
-
end
|
367
|
-
end
|
368
|
-
|
369
|
-
# {https://adwords.google.com/api/adwords/v5}getPrimaryBusinessCategoryResponse
|
370
|
-
class GetPrimaryBusinessCategoryResponse
|
371
|
-
@@schema_type = "getPrimaryBusinessCategoryResponse"
|
372
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setPrimaryBusinessCategory
|
386
|
-
class SetPrimaryBusinessCategory
|
387
|
-
@@schema_type = "setPrimaryBusinessCategory"
|
388
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setPrimaryBusinessCategoryResponse
|
402
|
-
class SetPrimaryBusinessCategoryResponse
|
403
|
-
@@schema_type = "setPrimaryBusinessCategoryResponse"
|
404
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
405
|
-
@@schema_qualified = "true"
|
406
|
-
@@schema_element = []
|
407
|
-
|
408
|
-
def initialize
|
409
|
-
end
|
410
|
-
end
|
411
|
-
|
412
|
-
# {https://adwords.google.com/api/adwords/v5}getTermsAndConditions
|
413
|
-
class GetTermsAndConditions
|
414
|
-
@@schema_type = "getTermsAndConditions"
|
415
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
416
|
-
@@schema_qualified = "true"
|
417
|
-
@@schema_element = []
|
418
|
-
|
419
|
-
def initialize
|
420
|
-
end
|
421
|
-
end
|
422
|
-
|
423
|
-
# {https://adwords.google.com/api/adwords/v5}getTermsAndConditionsResponse
|
424
|
-
class GetTermsAndConditionsResponse
|
425
|
-
@@schema_type = "getTermsAndConditionsResponse"
|
426
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}getClientAccounts
|
440
|
-
class GetClientAccounts
|
441
|
-
@@schema_type = "getClientAccounts"
|
442
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
443
|
-
@@schema_qualified = "true"
|
444
|
-
@@schema_element = []
|
445
|
-
|
446
|
-
def initialize
|
447
|
-
end
|
448
|
-
end
|
449
|
-
|
450
|
-
# {https://adwords.google.com/api/adwords/v5}getClientAccountsResponse
|
451
|
-
class GetClientAccountsResponse < ::Array
|
452
|
-
@@schema_element = [
|
453
|
-
["getClientAccountsReturn", ["SOAP::SOAPString[]", XSD::QName.new("https://adwords.google.com/api/adwords/v5", "getClientAccountsReturn")]]
|
454
|
-
]
|
455
|
-
end
|
456
|
-
|
457
|
-
# {https://adwords.google.com/api/adwords/v5}getLocalTimezone
|
458
|
-
class GetLocalTimezone
|
459
|
-
@@schema_type = "getLocalTimezone"
|
460
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
461
|
-
@@schema_qualified = "true"
|
462
|
-
@@schema_element = []
|
463
|
-
|
464
|
-
def initialize
|
465
|
-
end
|
466
|
-
end
|
467
|
-
|
468
|
-
# {https://adwords.google.com/api/adwords/v5}getLocalTimezoneResponse
|
469
|
-
class GetLocalTimezoneResponse
|
470
|
-
@@schema_type = "getLocalTimezoneResponse"
|
471
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setLocalTimezone
|
485
|
-
class SetLocalTimezone
|
486
|
-
@@schema_type = "setLocalTimezone"
|
487
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}setLocalTimezoneResponse
|
501
|
-
class SetLocalTimezoneResponse
|
502
|
-
@@schema_type = "setLocalTimezoneResponse"
|
503
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
504
|
-
@@schema_qualified = "true"
|
505
|
-
@@schema_element = []
|
506
|
-
|
507
|
-
def initialize
|
508
|
-
end
|
509
|
-
end
|
510
|
-
|
511
|
-
# {https://adwords.google.com/api/adwords/v5}getTimezoneEffectiveDate
|
512
|
-
class GetTimezoneEffectiveDate
|
513
|
-
@@schema_type = "getTimezoneEffectiveDate"
|
514
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
515
|
-
@@schema_qualified = "true"
|
516
|
-
@@schema_element = []
|
517
|
-
|
518
|
-
def initialize
|
519
|
-
end
|
520
|
-
end
|
521
|
-
|
522
|
-
# {https://adwords.google.com/api/adwords/v5}getTimezoneEffectiveDateResponse
|
523
|
-
class GetTimezoneEffectiveDateResponse
|
524
|
-
@@schema_type = "getTimezoneEffectiveDateResponse"
|
525
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}getAccountInfo
|
539
|
-
class GetAccountInfo
|
540
|
-
@@schema_type = "getAccountInfo"
|
541
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
542
|
-
@@schema_qualified = "true"
|
543
|
-
@@schema_element = []
|
544
|
-
|
545
|
-
def initialize
|
546
|
-
end
|
547
|
-
end
|
548
|
-
|
549
|
-
# {https://adwords.google.com/api/adwords/v5}getAccountInfoResponse
|
550
|
-
class GetAccountInfoResponse
|
551
|
-
@@schema_type = "getAccountInfoResponse"
|
552
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}updateAccountInfo
|
566
|
-
class UpdateAccountInfo
|
567
|
-
@@schema_type = "updateAccountInfo"
|
568
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}updateAccountInfoResponse
|
582
|
-
class UpdateAccountInfoResponse
|
583
|
-
@@schema_type = "updateAccountInfoResponse"
|
584
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
585
|
-
@@schema_qualified = "true"
|
586
|
-
@@schema_element = []
|
587
|
-
|
588
|
-
def initialize
|
589
|
-
end
|
590
|
-
end
|
591
|
-
|
592
|
-
# {https://adwords.google.com/api/adwords/v5}EmailPromotionsPreferences
|
593
|
-
class EmailPromotionsPreferences
|
594
|
-
@@schema_type = "EmailPromotionsPreferences"
|
595
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}CreditCard
|
614
|
-
class CreditCard
|
615
|
-
@@schema_type = "CreditCard"
|
616
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}Address
|
656
|
-
class Address
|
657
|
-
@@schema_type = "Address"
|
658
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}CoverageType
|
701
|
-
class CoverageType
|
702
|
-
@@schema_type = "CoverageType"
|
703
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}AccountInfo
|
719
|
-
class AccountInfo
|
720
|
-
@@schema_type = "AccountInfo"
|
721
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}ApiException
|
767
|
-
class ApiException
|
768
|
-
@@schema_type = "ApiException"
|
769
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}ApiError
|
794
|
-
class ApiError
|
795
|
-
@@schema_type = "ApiError"
|
796
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}CreditCardType
|
830
|
-
class CreditCardType < ::String
|
831
|
-
@@schema_type = "CreditCardType"
|
832
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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/v5}TaxStatus
|
843
|
-
class TaxStatus < ::String
|
844
|
-
@@schema_type = "TaxStatus"
|
845
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
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
|