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,257 +1,72 @@
|
|
1
|
-
module AdWords
|
2
1
|
require 'xsd/qname'
|
3
2
|
|
4
|
-
|
5
|
-
class ScheduleReportJob
|
6
|
-
@@schema_type = "scheduleReportJob"
|
7
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
8
|
-
@@schema_qualified = "true"
|
9
|
-
@@schema_element = [
|
10
|
-
["job", "ReportJob"]
|
11
|
-
]
|
12
|
-
|
13
|
-
attr_accessor :job
|
14
|
-
|
15
|
-
def initialize(job = nil)
|
16
|
-
@job = job
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
# {https://adwords.google.com/api/adwords/v6}scheduleReportJobResponse
|
21
|
-
class ScheduleReportJobResponse
|
22
|
-
@@schema_type = "scheduleReportJobResponse"
|
23
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
24
|
-
@@schema_qualified = "true"
|
25
|
-
@@schema_element = [
|
26
|
-
["scheduleReportJobReturn", "SOAP::SOAPLong"]
|
27
|
-
]
|
28
|
-
|
29
|
-
attr_accessor :scheduleReportJobReturn
|
30
|
-
|
31
|
-
def initialize(scheduleReportJobReturn = nil)
|
32
|
-
@scheduleReportJobReturn = scheduleReportJobReturn
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
# {https://adwords.google.com/api/adwords/v6}getReportJobStatus
|
37
|
-
class GetReportJobStatus
|
38
|
-
@@schema_type = "getReportJobStatus"
|
39
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
40
|
-
@@schema_qualified = "true"
|
41
|
-
@@schema_element = [
|
42
|
-
["reportJobId", "SOAP::SOAPLong"]
|
43
|
-
]
|
44
|
-
|
45
|
-
attr_accessor :reportJobId
|
46
|
-
|
47
|
-
def initialize(reportJobId = nil)
|
48
|
-
@reportJobId = reportJobId
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
# {https://adwords.google.com/api/adwords/v6}getReportJobStatusResponse
|
53
|
-
class GetReportJobStatusResponse
|
54
|
-
@@schema_type = "getReportJobStatusResponse"
|
55
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
56
|
-
@@schema_qualified = "true"
|
57
|
-
@@schema_element = [
|
58
|
-
["getReportJobStatusReturn", "SOAP::SOAPString"]
|
59
|
-
]
|
60
|
-
|
61
|
-
attr_accessor :getReportJobStatusReturn
|
62
|
-
|
63
|
-
def initialize(getReportJobStatusReturn = nil)
|
64
|
-
@getReportJobStatusReturn = getReportJobStatusReturn
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
# {https://adwords.google.com/api/adwords/v6}getReportDownloadUrl
|
69
|
-
class GetReportDownloadUrl
|
70
|
-
@@schema_type = "getReportDownloadUrl"
|
71
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
72
|
-
@@schema_qualified = "true"
|
73
|
-
@@schema_element = [
|
74
|
-
["reportJobId", "SOAP::SOAPLong"]
|
75
|
-
]
|
76
|
-
|
77
|
-
attr_accessor :reportJobId
|
78
|
-
|
79
|
-
def initialize(reportJobId = nil)
|
80
|
-
@reportJobId = reportJobId
|
81
|
-
end
|
82
|
-
end
|
3
|
+
module AdWords; module ReportService
|
83
4
|
|
84
|
-
# {https://adwords.google.com/api/adwords/v6}getReportDownloadUrlResponse
|
85
|
-
class GetReportDownloadUrlResponse
|
86
|
-
@@schema_type = "getReportDownloadUrlResponse"
|
87
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
88
|
-
@@schema_qualified = "true"
|
89
|
-
@@schema_element = [
|
90
|
-
["getReportDownloadUrlReturn", "SOAP::SOAPString"]
|
91
|
-
]
|
92
|
-
|
93
|
-
attr_accessor :getReportDownloadUrlReturn
|
94
|
-
|
95
|
-
def initialize(getReportDownloadUrlReturn = nil)
|
96
|
-
@getReportDownloadUrlReturn = getReportDownloadUrlReturn
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
# {https://adwords.google.com/api/adwords/v6}getGzipReportDownloadUrl
|
101
|
-
class GetGzipReportDownloadUrl
|
102
|
-
@@schema_type = "getGzipReportDownloadUrl"
|
103
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
104
|
-
@@schema_qualified = "true"
|
105
|
-
@@schema_element = [
|
106
|
-
["reportJobId", "SOAP::SOAPLong"]
|
107
|
-
]
|
108
|
-
|
109
|
-
attr_accessor :reportJobId
|
110
|
-
|
111
|
-
def initialize(reportJobId = nil)
|
112
|
-
@reportJobId = reportJobId
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
|
-
# {https://adwords.google.com/api/adwords/v6}getGzipReportDownloadUrlResponse
|
117
|
-
class GetGzipReportDownloadUrlResponse
|
118
|
-
@@schema_type = "getGzipReportDownloadUrlResponse"
|
119
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
120
|
-
@@schema_qualified = "true"
|
121
|
-
@@schema_element = [
|
122
|
-
["getGzipReportDownloadUrlReturn", "SOAP::SOAPString"]
|
123
|
-
]
|
124
|
-
|
125
|
-
attr_accessor :getGzipReportDownloadUrlReturn
|
126
|
-
|
127
|
-
def initialize(getGzipReportDownloadUrlReturn = nil)
|
128
|
-
@getGzipReportDownloadUrlReturn = getGzipReportDownloadUrlReturn
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
|
-
# {https://adwords.google.com/api/adwords/v6}getAllJobs
|
133
|
-
class GetAllJobs
|
134
|
-
@@schema_type = "getAllJobs"
|
135
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
136
|
-
@@schema_qualified = "true"
|
137
|
-
@@schema_element = []
|
138
|
-
|
139
|
-
def initialize
|
140
|
-
end
|
141
|
-
end
|
142
|
-
|
143
|
-
# {https://adwords.google.com/api/adwords/v6}getAllJobsResponse
|
144
|
-
class GetAllJobsResponse < ::Array
|
145
|
-
@@schema_element = [
|
146
|
-
["getAllJobsReturn", ["ReportJob[]", XSD::QName.new("https://adwords.google.com/api/adwords/v6", "getAllJobsReturn")]]
|
147
|
-
]
|
148
|
-
end
|
149
|
-
|
150
|
-
# {https://adwords.google.com/api/adwords/v6}deleteReport
|
151
|
-
class DeleteReport
|
152
|
-
@@schema_type = "deleteReport"
|
153
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
154
|
-
@@schema_qualified = "true"
|
155
|
-
@@schema_element = [
|
156
|
-
["reportJobId", "SOAP::SOAPLong"]
|
157
|
-
]
|
158
|
-
|
159
|
-
attr_accessor :reportJobId
|
160
|
-
|
161
|
-
def initialize(reportJobId = nil)
|
162
|
-
@reportJobId = reportJobId
|
163
|
-
end
|
164
|
-
end
|
165
5
|
|
166
|
-
# {https://adwords.google.com/api/adwords/
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
6
|
+
# {https://adwords.google.com/api/adwords/v10}ApiError
|
7
|
+
# code - SOAP::SOAPInt
|
8
|
+
# detail - SOAP::SOAPString
|
9
|
+
# field - SOAP::SOAPString
|
10
|
+
# index - SOAP::SOAPInt
|
11
|
+
# isExemptable - SOAP::SOAPBoolean
|
12
|
+
# textIndex - SOAP::SOAPInt
|
13
|
+
# textLength - SOAP::SOAPInt
|
14
|
+
# trigger - SOAP::SOAPString
|
15
|
+
class ApiError
|
16
|
+
attr_accessor :code
|
17
|
+
attr_accessor :detail
|
18
|
+
attr_accessor :field
|
19
|
+
attr_accessor :index
|
20
|
+
attr_accessor :isExemptable
|
21
|
+
attr_accessor :textIndex
|
22
|
+
attr_accessor :textLength
|
23
|
+
attr_accessor :trigger
|
172
24
|
|
173
|
-
def initialize
|
25
|
+
def initialize(code = nil, detail = nil, field = nil, index = nil, isExemptable = nil, textIndex = nil, textLength = nil, trigger = nil)
|
26
|
+
@code = code
|
27
|
+
@detail = detail
|
28
|
+
@field = field
|
29
|
+
@index = index
|
30
|
+
@isExemptable = isExemptable
|
31
|
+
@textIndex = textIndex
|
32
|
+
@textLength = textLength
|
33
|
+
@trigger = trigger
|
174
34
|
end
|
175
35
|
end
|
176
36
|
|
177
|
-
# {https://adwords.google.com/api/adwords/
|
37
|
+
# {https://adwords.google.com/api/adwords/v10}ApiException
|
38
|
+
# code - SOAP::SOAPInt
|
39
|
+
# errors - AdWords::ReportService::ApiError
|
40
|
+
# internal - SOAP::SOAPBoolean
|
41
|
+
# message - SOAP::SOAPString
|
42
|
+
# trigger - SOAP::SOAPString
|
178
43
|
class ApiException
|
179
|
-
@@schema_type = "ApiException"
|
180
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
181
|
-
@@schema_element = [
|
182
|
-
["code", "SOAP::SOAPInt"],
|
183
|
-
["internal", "SOAP::SOAPBoolean"],
|
184
|
-
["message", "SOAP::SOAPString"],
|
185
|
-
["trigger", "SOAP::SOAPString"],
|
186
|
-
["errors", "ApiError[]"]
|
187
|
-
]
|
188
|
-
|
189
44
|
attr_accessor :code
|
45
|
+
attr_accessor :errors
|
190
46
|
attr_accessor :internal
|
191
47
|
attr_accessor :message
|
192
48
|
attr_accessor :trigger
|
193
|
-
attr_accessor :errors
|
194
49
|
|
195
|
-
def initialize(code = nil,
|
50
|
+
def initialize(code = nil, errors = [], internal = nil, message = nil, trigger = nil)
|
196
51
|
@code = code
|
52
|
+
@errors = errors
|
197
53
|
@internal = internal
|
198
54
|
@message = message
|
199
55
|
@trigger = trigger
|
200
|
-
@errors = errors
|
201
56
|
end
|
202
57
|
end
|
203
58
|
|
204
|
-
# {https://adwords.google.com/api/adwords/
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
["code", "SOAP::SOAPInt"],
|
215
|
-
["isExemptable", "SOAP::SOAPBoolean"],
|
216
|
-
["detail", "SOAP::SOAPString"]
|
217
|
-
]
|
218
|
-
|
219
|
-
attr_accessor :index
|
220
|
-
attr_accessor :field
|
221
|
-
attr_accessor :textIndex
|
222
|
-
attr_accessor :textLength
|
223
|
-
attr_accessor :trigger
|
224
|
-
attr_accessor :code
|
225
|
-
attr_accessor :isExemptable
|
226
|
-
attr_accessor :detail
|
227
|
-
|
228
|
-
def initialize(index = nil, field = nil, textIndex = nil, textLength = nil, trigger = nil, code = nil, isExemptable = nil, detail = nil)
|
229
|
-
@index = index
|
230
|
-
@field = field
|
231
|
-
@textIndex = textIndex
|
232
|
-
@textLength = textLength
|
233
|
-
@trigger = trigger
|
234
|
-
@code = code
|
235
|
-
@isExemptable = isExemptable
|
236
|
-
@detail = detail
|
237
|
-
end
|
238
|
-
end
|
239
|
-
|
240
|
-
# {https://adwords.google.com/api/adwords/v6}ReportJob
|
59
|
+
# {https://adwords.google.com/api/adwords/v10}ReportJob
|
60
|
+
# abstract
|
61
|
+
# aggregationType - AdWords::ReportService::AggregationType
|
62
|
+
# clientEmails - SOAP::SOAPString
|
63
|
+
# crossClient - SOAP::SOAPBoolean
|
64
|
+
# endDay - SOAP::SOAPDate
|
65
|
+
# id - SOAP::SOAPLong
|
66
|
+
# name - SOAP::SOAPString
|
67
|
+
# startDay - SOAP::SOAPDate
|
68
|
+
# status - AdWords::ReportService::ReportJobStatus
|
241
69
|
class ReportJob
|
242
|
-
@@schema_type = "ReportJob"
|
243
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
244
|
-
@@schema_element = [
|
245
|
-
["aggregationType", "SOAP::SOAPString"],
|
246
|
-
["clientEmails", "SOAP::SOAPString[]"],
|
247
|
-
["crossClient", "SOAP::SOAPBoolean"],
|
248
|
-
["endDay", "SOAP::SOAPDate"],
|
249
|
-
["id", "SOAP::SOAPLong"],
|
250
|
-
["name", "SOAP::SOAPString"],
|
251
|
-
["startDay", "SOAP::SOAPDate"],
|
252
|
-
["status", "SOAP::SOAPString"]
|
253
|
-
]
|
254
|
-
|
255
70
|
attr_accessor :aggregationType
|
256
71
|
attr_accessor :clientEmails
|
257
72
|
attr_accessor :crossClient
|
@@ -273,26 +88,17 @@ class ReportJob
|
|
273
88
|
end
|
274
89
|
end
|
275
90
|
|
276
|
-
# {https://adwords.google.com/api/adwords/
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
["startDay", "SOAP::SOAPDate"],
|
288
|
-
["status", "SOAP::SOAPString"],
|
289
|
-
["adWordsType", "SOAP::SOAPString"],
|
290
|
-
["campaigns", "SOAP::SOAPInt[]"],
|
291
|
-
["keywordStatuses", "SOAP::SOAPString[]"],
|
292
|
-
["keywordType", "SOAP::SOAPString"],
|
293
|
-
["includeZeroImpression", "SOAP::SOAPBoolean"]
|
294
|
-
]
|
295
|
-
|
91
|
+
# {https://adwords.google.com/api/adwords/v10}AccountReportJob
|
92
|
+
# aggregationType - AdWords::ReportService::AggregationType
|
93
|
+
# clientEmails - SOAP::SOAPString
|
94
|
+
# crossClient - SOAP::SOAPBoolean
|
95
|
+
# endDay - SOAP::SOAPDate
|
96
|
+
# id - SOAP::SOAPLong
|
97
|
+
# name - SOAP::SOAPString
|
98
|
+
# startDay - SOAP::SOAPDate
|
99
|
+
# status - AdWords::ReportService::ReportJobStatus
|
100
|
+
# adWordsType - AdWords::ReportService::AdWordsType
|
101
|
+
class AccountReportJob < ReportJob
|
296
102
|
attr_accessor :aggregationType
|
297
103
|
attr_accessor :clientEmails
|
298
104
|
attr_accessor :crossClient
|
@@ -302,12 +108,8 @@ class KeywordReportJob
|
|
302
108
|
attr_accessor :startDay
|
303
109
|
attr_accessor :status
|
304
110
|
attr_accessor :adWordsType
|
305
|
-
attr_accessor :campaigns
|
306
|
-
attr_accessor :keywordStatuses
|
307
|
-
attr_accessor :keywordType
|
308
|
-
attr_accessor :includeZeroImpression
|
309
111
|
|
310
|
-
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adWordsType = nil
|
112
|
+
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adWordsType = nil)
|
311
113
|
@aggregationType = aggregationType
|
312
114
|
@clientEmails = clientEmails
|
313
115
|
@crossClient = crossClient
|
@@ -317,30 +119,22 @@ class KeywordReportJob
|
|
317
119
|
@startDay = startDay
|
318
120
|
@status = status
|
319
121
|
@adWordsType = adWordsType
|
320
|
-
@campaigns = campaigns
|
321
|
-
@keywordStatuses = keywordStatuses
|
322
|
-
@keywordType = keywordType
|
323
|
-
@includeZeroImpression = includeZeroImpression
|
324
122
|
end
|
325
123
|
end
|
326
124
|
|
327
|
-
# {https://adwords.google.com/api/adwords/
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
["adWordsType", "SOAP::SOAPString"],
|
341
|
-
["campaigns", "SOAP::SOAPInt[]"]
|
342
|
-
]
|
343
|
-
|
125
|
+
# {https://adwords.google.com/api/adwords/v10}AdGroupReportJob
|
126
|
+
# aggregationType - AdWords::ReportService::AggregationType
|
127
|
+
# clientEmails - SOAP::SOAPString
|
128
|
+
# crossClient - SOAP::SOAPBoolean
|
129
|
+
# endDay - SOAP::SOAPDate
|
130
|
+
# id - SOAP::SOAPLong
|
131
|
+
# name - SOAP::SOAPString
|
132
|
+
# startDay - SOAP::SOAPDate
|
133
|
+
# status - AdWords::ReportService::ReportJobStatus
|
134
|
+
# adGroupStatuses - AdWords::ReportService::AdGroupStatus
|
135
|
+
# adWordsType - AdWords::ReportService::AdWordsType
|
136
|
+
# campaigns - SOAP::SOAPInt
|
137
|
+
class AdGroupReportJob < ReportJob
|
344
138
|
attr_accessor :aggregationType
|
345
139
|
attr_accessor :clientEmails
|
346
140
|
attr_accessor :crossClient
|
@@ -349,10 +143,11 @@ class AdTextReportJob
|
|
349
143
|
attr_accessor :name
|
350
144
|
attr_accessor :startDay
|
351
145
|
attr_accessor :status
|
146
|
+
attr_accessor :adGroupStatuses
|
352
147
|
attr_accessor :adWordsType
|
353
148
|
attr_accessor :campaigns
|
354
149
|
|
355
|
-
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adWordsType = nil, campaigns = [])
|
150
|
+
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adGroupStatuses = [], adWordsType = nil, campaigns = [])
|
356
151
|
@aggregationType = aggregationType
|
357
152
|
@clientEmails = clientEmails
|
358
153
|
@crossClient = crossClient
|
@@ -361,28 +156,23 @@ class AdTextReportJob
|
|
361
156
|
@name = name
|
362
157
|
@startDay = startDay
|
363
158
|
@status = status
|
159
|
+
@adGroupStatuses = adGroupStatuses
|
364
160
|
@adWordsType = adWordsType
|
365
161
|
@campaigns = campaigns
|
366
162
|
end
|
367
163
|
end
|
368
164
|
|
369
|
-
# {https://adwords.google.com/api/adwords/
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
["startDay", "SOAP::SOAPDate"],
|
381
|
-
["status", "SOAP::SOAPString"],
|
382
|
-
["adWordsType", "SOAP::SOAPString"],
|
383
|
-
["campaigns", "SOAP::SOAPInt[]"]
|
384
|
-
]
|
385
|
-
|
165
|
+
# {https://adwords.google.com/api/adwords/v10}AdImageReportJob
|
166
|
+
# aggregationType - AdWords::ReportService::AggregationType
|
167
|
+
# clientEmails - SOAP::SOAPString
|
168
|
+
# crossClient - SOAP::SOAPBoolean
|
169
|
+
# endDay - SOAP::SOAPDate
|
170
|
+
# id - SOAP::SOAPLong
|
171
|
+
# name - SOAP::SOAPString
|
172
|
+
# startDay - SOAP::SOAPDate
|
173
|
+
# status - AdWords::ReportService::ReportJobStatus
|
174
|
+
# campaigns - SOAP::SOAPInt
|
175
|
+
class AdImageReportJob < ReportJob
|
386
176
|
attr_accessor :aggregationType
|
387
177
|
attr_accessor :clientEmails
|
388
178
|
attr_accessor :crossClient
|
@@ -391,10 +181,9 @@ class UrlReportJob
|
|
391
181
|
attr_accessor :name
|
392
182
|
attr_accessor :startDay
|
393
183
|
attr_accessor :status
|
394
|
-
attr_accessor :adWordsType
|
395
184
|
attr_accessor :campaigns
|
396
185
|
|
397
|
-
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil,
|
186
|
+
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, campaigns = [])
|
398
187
|
@aggregationType = aggregationType
|
399
188
|
@clientEmails = clientEmails
|
400
189
|
@crossClient = crossClient
|
@@ -403,36 +192,22 @@ class UrlReportJob
|
|
403
192
|
@name = name
|
404
193
|
@startDay = startDay
|
405
194
|
@status = status
|
406
|
-
@adWordsType = adWordsType
|
407
195
|
@campaigns = campaigns
|
408
196
|
end
|
409
197
|
end
|
410
198
|
|
411
|
-
# {https://adwords.google.com/api/adwords/
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
["status", "SOAP::SOAPString"],
|
424
|
-
["adGroupStatuses", "SOAP::SOAPString[]"],
|
425
|
-
["adGroups", "SOAP::SOAPInt[]"],
|
426
|
-
["adWordsType", "SOAP::SOAPString"],
|
427
|
-
["campaignStatuses", "SOAP::SOAPString[]"],
|
428
|
-
["campaigns", "SOAP::SOAPInt[]"],
|
429
|
-
["customOptions", "SOAP::SOAPString[]"],
|
430
|
-
["keywordStatuses", "SOAP::SOAPString[]"],
|
431
|
-
["keywordType", "SOAP::SOAPString"],
|
432
|
-
["keywords", "SOAP::SOAPString[]"],
|
433
|
-
["includeZeroImpression", "SOAP::SOAPBoolean"]
|
434
|
-
]
|
435
|
-
|
199
|
+
# {https://adwords.google.com/api/adwords/v10}AdTextReportJob
|
200
|
+
# aggregationType - AdWords::ReportService::AggregationType
|
201
|
+
# clientEmails - SOAP::SOAPString
|
202
|
+
# crossClient - SOAP::SOAPBoolean
|
203
|
+
# endDay - SOAP::SOAPDate
|
204
|
+
# id - SOAP::SOAPLong
|
205
|
+
# name - SOAP::SOAPString
|
206
|
+
# startDay - SOAP::SOAPDate
|
207
|
+
# status - AdWords::ReportService::ReportJobStatus
|
208
|
+
# adWordsType - AdWords::ReportService::AdWordsType
|
209
|
+
# campaigns - SOAP::SOAPInt
|
210
|
+
class AdTextReportJob < ReportJob
|
436
211
|
attr_accessor :aggregationType
|
437
212
|
attr_accessor :clientEmails
|
438
213
|
attr_accessor :crossClient
|
@@ -441,18 +216,10 @@ class CustomReportJob
|
|
441
216
|
attr_accessor :name
|
442
217
|
attr_accessor :startDay
|
443
218
|
attr_accessor :status
|
444
|
-
attr_accessor :adGroupStatuses
|
445
|
-
attr_accessor :adGroups
|
446
219
|
attr_accessor :adWordsType
|
447
|
-
attr_accessor :campaignStatuses
|
448
220
|
attr_accessor :campaigns
|
449
|
-
attr_accessor :customOptions
|
450
|
-
attr_accessor :keywordStatuses
|
451
|
-
attr_accessor :keywordType
|
452
|
-
attr_accessor :keywords
|
453
|
-
attr_accessor :includeZeroImpression
|
454
221
|
|
455
|
-
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil,
|
222
|
+
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adWordsType = nil, campaigns = [])
|
456
223
|
@aggregationType = aggregationType
|
457
224
|
@clientEmails = clientEmails
|
458
225
|
@crossClient = crossClient
|
@@ -461,36 +228,23 @@ class CustomReportJob
|
|
461
228
|
@name = name
|
462
229
|
@startDay = startDay
|
463
230
|
@status = status
|
464
|
-
@adGroupStatuses = adGroupStatuses
|
465
|
-
@adGroups = adGroups
|
466
231
|
@adWordsType = adWordsType
|
467
|
-
@campaignStatuses = campaignStatuses
|
468
232
|
@campaigns = campaigns
|
469
|
-
@customOptions = customOptions
|
470
|
-
@keywordStatuses = keywordStatuses
|
471
|
-
@keywordType = keywordType
|
472
|
-
@keywords = keywords
|
473
|
-
@includeZeroImpression = includeZeroImpression
|
474
233
|
end
|
475
234
|
end
|
476
235
|
|
477
|
-
# {https://adwords.google.com/api/adwords/
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
["status", "SOAP::SOAPString"],
|
490
|
-
["adWordsType", "SOAP::SOAPString"],
|
491
|
-
["campaigns", "SOAP::SOAPInt[]"]
|
492
|
-
]
|
493
|
-
|
236
|
+
# {https://adwords.google.com/api/adwords/v10}CampaignReportJob
|
237
|
+
# aggregationType - AdWords::ReportService::AggregationType
|
238
|
+
# clientEmails - SOAP::SOAPString
|
239
|
+
# crossClient - SOAP::SOAPBoolean
|
240
|
+
# endDay - SOAP::SOAPDate
|
241
|
+
# id - SOAP::SOAPLong
|
242
|
+
# name - SOAP::SOAPString
|
243
|
+
# startDay - SOAP::SOAPDate
|
244
|
+
# status - AdWords::ReportService::ReportJobStatus
|
245
|
+
# adWordsType - AdWords::ReportService::AdWordsType
|
246
|
+
# campaigns - SOAP::SOAPInt
|
247
|
+
class CampaignReportJob < ReportJob
|
494
248
|
attr_accessor :aggregationType
|
495
249
|
attr_accessor :clientEmails
|
496
250
|
attr_accessor :crossClient
|
@@ -516,22 +270,26 @@ class CampaignReportJob
|
|
516
270
|
end
|
517
271
|
end
|
518
272
|
|
519
|
-
# {https://adwords.google.com/api/adwords/
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
273
|
+
# {https://adwords.google.com/api/adwords/v10}CustomReportJob
|
274
|
+
# aggregationType - AdWords::ReportService::AggregationType
|
275
|
+
# clientEmails - SOAP::SOAPString
|
276
|
+
# crossClient - SOAP::SOAPBoolean
|
277
|
+
# endDay - SOAP::SOAPDate
|
278
|
+
# id - SOAP::SOAPLong
|
279
|
+
# name - SOAP::SOAPString
|
280
|
+
# startDay - SOAP::SOAPDate
|
281
|
+
# status - AdWords::ReportService::ReportJobStatus
|
282
|
+
# adGroupStatuses - AdWords::ReportService::AdGroupStatus
|
283
|
+
# adGroups - SOAP::SOAPInt
|
284
|
+
# adWordsType - AdWords::ReportService::AdWordsType
|
285
|
+
# campaignStatuses - AdWords::ReportService::CampaignStatus
|
286
|
+
# campaigns - SOAP::SOAPInt
|
287
|
+
# customOptions - AdWords::ReportService::CustomReportOption
|
288
|
+
# includeZeroImpression - SOAP::SOAPBoolean
|
289
|
+
# keywordStatuses - AdWords::ReportService::KeywordStatus
|
290
|
+
# keywordType - AdWords::ReportService::KeywordType
|
291
|
+
# keywords - SOAP::SOAPString
|
292
|
+
class CustomReportJob < ReportJob
|
535
293
|
attr_accessor :aggregationType
|
536
294
|
attr_accessor :clientEmails
|
537
295
|
attr_accessor :crossClient
|
@@ -540,9 +298,18 @@ class AccountReportJob
|
|
540
298
|
attr_accessor :name
|
541
299
|
attr_accessor :startDay
|
542
300
|
attr_accessor :status
|
301
|
+
attr_accessor :adGroupStatuses
|
302
|
+
attr_accessor :adGroups
|
543
303
|
attr_accessor :adWordsType
|
304
|
+
attr_accessor :campaignStatuses
|
305
|
+
attr_accessor :campaigns
|
306
|
+
attr_accessor :customOptions
|
307
|
+
attr_accessor :includeZeroImpression
|
308
|
+
attr_accessor :keywordStatuses
|
309
|
+
attr_accessor :keywordType
|
310
|
+
attr_accessor :keywords
|
544
311
|
|
545
|
-
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adWordsType = nil)
|
312
|
+
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adGroupStatuses = [], adGroups = [], adWordsType = nil, campaignStatuses = [], campaigns = [], customOptions = [], includeZeroImpression = nil, keywordStatuses = [], keywordType = nil, keywords = [])
|
546
313
|
@aggregationType = aggregationType
|
547
314
|
@clientEmails = clientEmails
|
548
315
|
@crossClient = crossClient
|
@@ -551,28 +318,34 @@ class AccountReportJob
|
|
551
318
|
@name = name
|
552
319
|
@startDay = startDay
|
553
320
|
@status = status
|
321
|
+
@adGroupStatuses = adGroupStatuses
|
322
|
+
@adGroups = adGroups
|
554
323
|
@adWordsType = adWordsType
|
324
|
+
@campaignStatuses = campaignStatuses
|
325
|
+
@campaigns = campaigns
|
326
|
+
@customOptions = customOptions
|
327
|
+
@includeZeroImpression = includeZeroImpression
|
328
|
+
@keywordStatuses = keywordStatuses
|
329
|
+
@keywordType = keywordType
|
330
|
+
@keywords = keywords
|
555
331
|
end
|
556
332
|
end
|
557
333
|
|
558
|
-
# {https://adwords.google.com/api/adwords/
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
["adGroupStatuses", "SOAP::SOAPString[]"]
|
574
|
-
]
|
575
|
-
|
334
|
+
# {https://adwords.google.com/api/adwords/v10}KeywordReportJob
|
335
|
+
# aggregationType - AdWords::ReportService::AggregationType
|
336
|
+
# clientEmails - SOAP::SOAPString
|
337
|
+
# crossClient - SOAP::SOAPBoolean
|
338
|
+
# endDay - SOAP::SOAPDate
|
339
|
+
# id - SOAP::SOAPLong
|
340
|
+
# name - SOAP::SOAPString
|
341
|
+
# startDay - SOAP::SOAPDate
|
342
|
+
# status - AdWords::ReportService::ReportJobStatus
|
343
|
+
# adWordsType - AdWords::ReportService::AdWordsType
|
344
|
+
# campaigns - SOAP::SOAPInt
|
345
|
+
# includeZeroImpression - SOAP::SOAPBoolean
|
346
|
+
# keywordStatuses - AdWords::ReportService::KeywordStatus
|
347
|
+
# keywordType - AdWords::ReportService::KeywordType
|
348
|
+
class KeywordReportJob < ReportJob
|
576
349
|
attr_accessor :aggregationType
|
577
350
|
attr_accessor :clientEmails
|
578
351
|
attr_accessor :crossClient
|
@@ -583,9 +356,11 @@ class AdGroupReportJob
|
|
583
356
|
attr_accessor :status
|
584
357
|
attr_accessor :adWordsType
|
585
358
|
attr_accessor :campaigns
|
586
|
-
attr_accessor :
|
359
|
+
attr_accessor :includeZeroImpression
|
360
|
+
attr_accessor :keywordStatuses
|
361
|
+
attr_accessor :keywordType
|
587
362
|
|
588
|
-
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adWordsType = nil, campaigns = [],
|
363
|
+
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adWordsType = nil, campaigns = [], includeZeroImpression = nil, keywordStatuses = [], keywordType = nil)
|
589
364
|
@aggregationType = aggregationType
|
590
365
|
@clientEmails = clientEmails
|
591
366
|
@crossClient = crossClient
|
@@ -596,26 +371,24 @@ class AdGroupReportJob
|
|
596
371
|
@status = status
|
597
372
|
@adWordsType = adWordsType
|
598
373
|
@campaigns = campaigns
|
599
|
-
@
|
374
|
+
@includeZeroImpression = includeZeroImpression
|
375
|
+
@keywordStatuses = keywordStatuses
|
376
|
+
@keywordType = keywordType
|
600
377
|
end
|
601
378
|
end
|
602
379
|
|
603
|
-
# {https://adwords.google.com/api/adwords/
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
["status", "SOAP::SOAPString"],
|
616
|
-
["campaigns", "SOAP::SOAPInt[]"]
|
617
|
-
]
|
618
|
-
|
380
|
+
# {https://adwords.google.com/api/adwords/v10}UrlReportJob
|
381
|
+
# aggregationType - AdWords::ReportService::AggregationType
|
382
|
+
# clientEmails - SOAP::SOAPString
|
383
|
+
# crossClient - SOAP::SOAPBoolean
|
384
|
+
# endDay - SOAP::SOAPDate
|
385
|
+
# id - SOAP::SOAPLong
|
386
|
+
# name - SOAP::SOAPString
|
387
|
+
# startDay - SOAP::SOAPDate
|
388
|
+
# status - AdWords::ReportService::ReportJobStatus
|
389
|
+
# adWordsType - AdWords::ReportService::AdWordsType
|
390
|
+
# campaigns - SOAP::SOAPInt
|
391
|
+
class UrlReportJob < ReportJob
|
619
392
|
attr_accessor :aggregationType
|
620
393
|
attr_accessor :clientEmails
|
621
394
|
attr_accessor :crossClient
|
@@ -624,9 +397,10 @@ class AdImageReportJob
|
|
624
397
|
attr_accessor :name
|
625
398
|
attr_accessor :startDay
|
626
399
|
attr_accessor :status
|
400
|
+
attr_accessor :adWordsType
|
627
401
|
attr_accessor :campaigns
|
628
402
|
|
629
|
-
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, campaigns = [])
|
403
|
+
def initialize(aggregationType = nil, clientEmails = [], crossClient = nil, endDay = nil, id = nil, name = nil, startDay = nil, status = nil, adWordsType = nil, campaigns = [])
|
630
404
|
@aggregationType = aggregationType
|
631
405
|
@clientEmails = clientEmails
|
632
406
|
@crossClient = crossClient
|
@@ -635,26 +409,26 @@ class AdImageReportJob
|
|
635
409
|
@name = name
|
636
410
|
@startDay = startDay
|
637
411
|
@status = status
|
412
|
+
@adWordsType = adWordsType
|
638
413
|
@campaigns = campaigns
|
639
414
|
end
|
640
415
|
end
|
641
416
|
|
642
|
-
# {https://adwords.google.com/api/adwords/
|
643
|
-
class
|
644
|
-
|
645
|
-
|
417
|
+
# {https://adwords.google.com/api/adwords/v10}AdGroupStatus
|
418
|
+
class AdGroupStatus < ::String
|
419
|
+
Deleted = AdGroupStatus.new("Deleted")
|
420
|
+
Enabled = AdGroupStatus.new("Enabled")
|
421
|
+
Paused = AdGroupStatus.new("Paused")
|
422
|
+
end
|
646
423
|
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
424
|
+
# {https://adwords.google.com/api/adwords/v10}AdWordsType
|
425
|
+
class AdWordsType < ::String
|
426
|
+
ContentOnly = AdWordsType.new("ContentOnly")
|
427
|
+
SearchOnly = AdWordsType.new("SearchOnly")
|
651
428
|
end
|
652
429
|
|
653
|
-
# {https://adwords.google.com/api/adwords/
|
430
|
+
# {https://adwords.google.com/api/adwords/v10}AggregationType
|
654
431
|
class AggregationType < ::String
|
655
|
-
@@schema_type = "AggregationType"
|
656
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
657
|
-
|
658
432
|
Daily = AggregationType.new("Daily")
|
659
433
|
HourlyByDate = AggregationType.new("HourlyByDate")
|
660
434
|
HourlyRegardlessDate = AggregationType.new("HourlyRegardlessDate")
|
@@ -665,43 +439,8 @@ class AggregationType < ::String
|
|
665
439
|
Yearly = AggregationType.new("Yearly")
|
666
440
|
end
|
667
441
|
|
668
|
-
# {https://adwords.google.com/api/adwords/
|
669
|
-
class AdWordsType < ::String
|
670
|
-
@@schema_type = "AdWordsType"
|
671
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
672
|
-
|
673
|
-
ContentOnly = AdWordsType.new("ContentOnly")
|
674
|
-
SearchOnly = AdWordsType.new("SearchOnly")
|
675
|
-
end
|
676
|
-
|
677
|
-
# {https://adwords.google.com/api/adwords/v6}KeywordStatus
|
678
|
-
class KeywordStatus < ::String
|
679
|
-
@@schema_type = "KeywordStatus"
|
680
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
681
|
-
|
682
|
-
Deleted = KeywordStatus.new("Deleted")
|
683
|
-
Disabled = KeywordStatus.new("Disabled")
|
684
|
-
Disapproved = KeywordStatus.new("Disapproved")
|
685
|
-
InTrial = KeywordStatus.new("InTrial")
|
686
|
-
Normal = KeywordStatus.new("Normal")
|
687
|
-
OnHold = KeywordStatus.new("OnHold")
|
688
|
-
end
|
689
|
-
|
690
|
-
# {https://adwords.google.com/api/adwords/v6}KeywordType
|
691
|
-
class KeywordType < ::String
|
692
|
-
@@schema_type = "KeywordType"
|
693
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
694
|
-
|
695
|
-
Broad = KeywordType.new("Broad")
|
696
|
-
Exact = KeywordType.new("Exact")
|
697
|
-
Phrase = KeywordType.new("Phrase")
|
698
|
-
end
|
699
|
-
|
700
|
-
# {https://adwords.google.com/api/adwords/v6}CampaignStatus
|
442
|
+
# {https://adwords.google.com/api/adwords/v10}CampaignStatus
|
701
443
|
class CampaignStatus < ::String
|
702
|
-
@@schema_type = "CampaignStatus"
|
703
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
704
|
-
|
705
444
|
Active = CampaignStatus.new("Active")
|
706
445
|
Deleted = CampaignStatus.new("Deleted")
|
707
446
|
Ended = CampaignStatus.new("Ended")
|
@@ -710,11 +449,8 @@ class CampaignStatus < ::String
|
|
710
449
|
Suspended = CampaignStatus.new("Suspended")
|
711
450
|
end
|
712
451
|
|
713
|
-
# {https://adwords.google.com/api/adwords/
|
452
|
+
# {https://adwords.google.com/api/adwords/v10}CustomReportOption
|
714
453
|
class CustomReportOption < ::String
|
715
|
-
@@schema_type = "CustomReportOption"
|
716
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v6"
|
717
|
-
|
718
454
|
AccountName = CustomReportOption.new("AccountName")
|
719
455
|
AdGroup = CustomReportOption.new("AdGroup")
|
720
456
|
AdGroupId = CustomReportOption.new("AdGroupId")
|
@@ -723,6 +459,8 @@ class CustomReportOption < ::String
|
|
723
459
|
AverageConversionValue = CustomReportOption.new("AverageConversionValue")
|
724
460
|
AveragePosition = CustomReportOption.new("AveragePosition")
|
725
461
|
BottomPosition = CustomReportOption.new("BottomPosition")
|
462
|
+
BusinessAddress = CustomReportOption.new("BusinessAddress")
|
463
|
+
BusinessName = CustomReportOption.new("BusinessName")
|
726
464
|
CPM = CustomReportOption.new("CPM")
|
727
465
|
Campaign = CustomReportOption.new("Campaign")
|
728
466
|
CampaignEndDate = CustomReportOption.new("CampaignEndDate")
|
@@ -742,6 +480,8 @@ class CustomReportOption < ::String
|
|
742
480
|
CreativeStatus = CustomReportOption.new("CreativeStatus")
|
743
481
|
CreativeType = CustomReportOption.new("CreativeType")
|
744
482
|
Ctr = CustomReportOption.new("Ctr")
|
483
|
+
CurrencyCode = CustomReportOption.new("CurrencyCode")
|
484
|
+
CustomerId = CustomReportOption.new("CustomerId")
|
745
485
|
CustomerTimeZone = CustomReportOption.new("CustomerTimeZone")
|
746
486
|
DailyBudget = CustomReportOption.new("DailyBudget")
|
747
487
|
DefaultConversionCount = CustomReportOption.new("DefaultConversionCount")
|
@@ -766,6 +506,7 @@ class CustomReportOption < ::String
|
|
766
506
|
MinimumCpc = CustomReportOption.new("MinimumCpc")
|
767
507
|
PageViewCount = CustomReportOption.new("PageViewCount")
|
768
508
|
PageViewValue = CustomReportOption.new("PageViewValue")
|
509
|
+
PhoneNumber = CustomReportOption.new("PhoneNumber")
|
769
510
|
SaleCount = CustomReportOption.new("SaleCount")
|
770
511
|
SaleValue = CustomReportOption.new("SaleValue")
|
771
512
|
SignupCount = CustomReportOption.new("SignupCount")
|
@@ -777,13 +518,135 @@ class CustomReportOption < ::String
|
|
777
518
|
Website = CustomReportOption.new("Website")
|
778
519
|
end
|
779
520
|
|
780
|
-
# {https://adwords.google.com/api/adwords/
|
781
|
-
class
|
782
|
-
|
783
|
-
|
521
|
+
# {https://adwords.google.com/api/adwords/v10}KeywordStatus
|
522
|
+
class KeywordStatus < ::String
|
523
|
+
Active = KeywordStatus.new("Active")
|
524
|
+
Deleted = KeywordStatus.new("Deleted")
|
525
|
+
Disapproved = KeywordStatus.new("Disapproved")
|
526
|
+
InActive = KeywordStatus.new("InActive")
|
527
|
+
Paused = KeywordStatus.new("Paused")
|
528
|
+
end
|
784
529
|
|
785
|
-
|
786
|
-
|
787
|
-
|
530
|
+
# {https://adwords.google.com/api/adwords/v10}KeywordType
|
531
|
+
class KeywordType < ::String
|
532
|
+
Broad = KeywordType.new("Broad")
|
533
|
+
Exact = KeywordType.new("Exact")
|
534
|
+
Phrase = KeywordType.new("Phrase")
|
788
535
|
end
|
536
|
+
|
537
|
+
# {https://adwords.google.com/api/adwords/v10}ReportJobStatus
|
538
|
+
class ReportJobStatus < ::String
|
539
|
+
Completed = ReportJobStatus.new("Completed")
|
540
|
+
Failed = ReportJobStatus.new("Failed")
|
541
|
+
InProgress = ReportJobStatus.new("InProgress")
|
542
|
+
Pending = ReportJobStatus.new("Pending")
|
789
543
|
end
|
544
|
+
|
545
|
+
# {https://adwords.google.com/api/adwords/v10}deleteReport
|
546
|
+
# reportJobId - SOAP::SOAPLong
|
547
|
+
class DeleteReport
|
548
|
+
attr_accessor :reportJobId
|
549
|
+
|
550
|
+
def initialize(reportJobId = nil)
|
551
|
+
@reportJobId = reportJobId
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
555
|
+
# {https://adwords.google.com/api/adwords/v10}deleteReportResponse
|
556
|
+
class DeleteReportResponse
|
557
|
+
def initialize
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
561
|
+
# {https://adwords.google.com/api/adwords/v10}getAllJobs
|
562
|
+
class GetAllJobs
|
563
|
+
def initialize
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
# {https://adwords.google.com/api/adwords/v10}getAllJobsResponse
|
568
|
+
class GetAllJobsResponse < ::Array
|
569
|
+
end
|
570
|
+
|
571
|
+
# {https://adwords.google.com/api/adwords/v10}getGzipReportDownloadUrl
|
572
|
+
# reportJobId - SOAP::SOAPLong
|
573
|
+
class GetGzipReportDownloadUrl
|
574
|
+
attr_accessor :reportJobId
|
575
|
+
|
576
|
+
def initialize(reportJobId = nil)
|
577
|
+
@reportJobId = reportJobId
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
# {https://adwords.google.com/api/adwords/v10}getGzipReportDownloadUrlResponse
|
582
|
+
# getGzipReportDownloadUrlReturn - SOAP::SOAPString
|
583
|
+
class GetGzipReportDownloadUrlResponse
|
584
|
+
attr_accessor :getGzipReportDownloadUrlReturn
|
585
|
+
|
586
|
+
def initialize(getGzipReportDownloadUrlReturn = nil)
|
587
|
+
@getGzipReportDownloadUrlReturn = getGzipReportDownloadUrlReturn
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
# {https://adwords.google.com/api/adwords/v10}getReportDownloadUrl
|
592
|
+
# reportJobId - SOAP::SOAPLong
|
593
|
+
class GetReportDownloadUrl
|
594
|
+
attr_accessor :reportJobId
|
595
|
+
|
596
|
+
def initialize(reportJobId = nil)
|
597
|
+
@reportJobId = reportJobId
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
601
|
+
# {https://adwords.google.com/api/adwords/v10}getReportDownloadUrlResponse
|
602
|
+
# getReportDownloadUrlReturn - SOAP::SOAPString
|
603
|
+
class GetReportDownloadUrlResponse
|
604
|
+
attr_accessor :getReportDownloadUrlReturn
|
605
|
+
|
606
|
+
def initialize(getReportDownloadUrlReturn = nil)
|
607
|
+
@getReportDownloadUrlReturn = getReportDownloadUrlReturn
|
608
|
+
end
|
609
|
+
end
|
610
|
+
|
611
|
+
# {https://adwords.google.com/api/adwords/v10}getReportJobStatus
|
612
|
+
# reportJobId - SOAP::SOAPLong
|
613
|
+
class GetReportJobStatus
|
614
|
+
attr_accessor :reportJobId
|
615
|
+
|
616
|
+
def initialize(reportJobId = nil)
|
617
|
+
@reportJobId = reportJobId
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
# {https://adwords.google.com/api/adwords/v10}getReportJobStatusResponse
|
622
|
+
# getReportJobStatusReturn - AdWords::ReportService::ReportJobStatus
|
623
|
+
class GetReportJobStatusResponse
|
624
|
+
attr_accessor :getReportJobStatusReturn
|
625
|
+
|
626
|
+
def initialize(getReportJobStatusReturn = nil)
|
627
|
+
@getReportJobStatusReturn = getReportJobStatusReturn
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
# {https://adwords.google.com/api/adwords/v10}scheduleReportJob
|
632
|
+
# job - AdWords::ReportService::ReportJob
|
633
|
+
class ScheduleReportJob
|
634
|
+
attr_accessor :job
|
635
|
+
|
636
|
+
def initialize(job = nil)
|
637
|
+
@job = job
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# {https://adwords.google.com/api/adwords/v10}scheduleReportJobResponse
|
642
|
+
# scheduleReportJobReturn - SOAP::SOAPLong
|
643
|
+
class ScheduleReportJobResponse
|
644
|
+
attr_accessor :scheduleReportJobReturn
|
645
|
+
|
646
|
+
def initialize(scheduleReportJobReturn = nil)
|
647
|
+
@scheduleReportJobReturn = scheduleReportJobReturn
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
651
|
+
|
652
|
+
end; end
|