adwords4r 13.0.1 → 15.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Authors.txt +2 -1
- data/ChangeLog.txt +28 -0
- data/Copying.txt +1 -1
- data/{Licence.txt → License.txt} +1 -1
- data/Rakefile +49 -54
- data/Readme.txt +78 -24
- data/adwords.properties +1 -1
- data/examples/account_info.rb +20 -26
- data/examples/create_all.rb +51 -53
- data/examples/create_all_v200902.rb +204 -0
- data/examples/keyword_suggestions.rb +35 -38
- data/examples/multiple_versions.rb +167 -0
- data/examples/reports.rb +37 -75
- data/lib/adwords4r.rb +123 -123
- data/lib/adwords4r/adwordslogger.rb +56 -0
- data/lib/adwords4r/apiextensions.rb +79 -0
- data/lib/adwords4r/authtoken.rb +56 -0
- data/lib/adwords4r/credentials.rb +115 -19
- data/lib/adwords4r/services.rb +139 -14
- data/lib/adwords4r/soap4rpatches.rb +129 -0
- data/lib/adwords4r/v13/AccountService.rb +11 -11
- data/lib/adwords4r/v13/AccountServiceDriver.rb +7 -5
- data/lib/adwords4r/v13/AccountServiceMappingRegistry.rb +56 -56
- data/lib/adwords4r/v13/AdGroupService.rb +9 -9
- data/lib/adwords4r/v13/AdGroupServiceDriver.rb +11 -9
- data/lib/adwords4r/v13/AdGroupServiceMappingRegistry.rb +47 -47
- data/lib/adwords4r/v13/AdService.rb +37 -37
- data/lib/adwords4r/v13/AdServiceDriver.rb +12 -10
- data/lib/adwords4r/v13/AdServiceMappingRegistry.rb +148 -148
- data/lib/adwords4r/v13/CampaignService.rb +46 -25
- data/lib/adwords4r/v13/CampaignServiceDriver.rb +23 -13
- data/lib/adwords4r/v13/CampaignServiceMappingRegistry.rb +169 -135
- data/lib/adwords4r/v13/CriterionService.rb +19 -19
- data/lib/adwords4r/v13/CriterionServiceDriver.rb +11 -9
- data/lib/adwords4r/v13/CriterionServiceMappingRegistry.rb +90 -90
- data/lib/adwords4r/v13/InfoService.rb +3 -3
- data/lib/adwords4r/v13/InfoServiceDriver.rb +10 -8
- data/lib/adwords4r/v13/InfoServiceMappingRegistry.rb +29 -29
- data/lib/adwords4r/v13/KeywordToolService.rb +10 -10
- data/lib/adwords4r/v13/KeywordToolServiceDriver.rb +4 -2
- data/lib/adwords4r/v13/KeywordToolServiceMappingRegistry.rb +37 -37
- data/lib/adwords4r/v13/ReportService.rb +13 -13
- data/lib/adwords4r/v13/ReportServiceDriver.rb +9 -7
- data/lib/adwords4r/v13/ReportServiceMappingRegistry.rb +54 -54
- data/lib/adwords4r/v13/SiteSuggestionService.rb +15 -15
- data/lib/adwords4r/v13/SiteSuggestionServiceDriver.rb +6 -4
- data/lib/adwords4r/v13/SiteSuggestionServiceMappingRegistry.rb +57 -57
- data/lib/adwords4r/v13/TrafficEstimatorService.rb +17 -17
- data/lib/adwords4r/v13/TrafficEstimatorServiceDriver.rb +6 -4
- data/lib/adwords4r/v13/TrafficEstimatorServiceMappingRegistry.rb +96 -96
- data/lib/adwords4r/v200902/AdGroupAdService.rb +2021 -0
- data/lib/adwords4r/v200902/AdGroupAdServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/AdGroupAdServiceMappingRegistry.rb +2234 -0
- data/lib/adwords4r/v200902/AdGroupCriterionService.rb +1209 -0
- data/lib/adwords4r/v200902/AdGroupCriterionServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/AdGroupCriterionServiceMappingRegistry.rb +1434 -0
- data/lib/adwords4r/v200902/AdGroupService.rb +968 -0
- data/lib/adwords4r/{v12/KeywordToolServiceDriver.rb → v200902/AdGroupServiceDriver.rb} +15 -13
- data/lib/adwords4r/v200902/AdGroupServiceMappingRegistry.rb +1114 -0
- data/lib/adwords4r/v200902/CampaignCriterionService.rb +741 -0
- data/lib/adwords4r/v200902/CampaignCriterionServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/CampaignCriterionServiceMappingRegistry.rb +904 -0
- data/lib/adwords4r/v200902/CampaignService.rb +1249 -0
- data/lib/adwords4r/v200902/CampaignServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/CampaignServiceMappingRegistry.rb +1466 -0
- data/lib/adwords4r/v200902/CampaignTargetService.rb +1156 -0
- data/lib/adwords4r/v200902/CampaignTargetServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/CampaignTargetServiceMappingRegistry.rb +1304 -0
- data/setup.rb +0 -0
- metadata +57 -65
- data/lib/adwords4r/v12/AccountService.rb +0 -215
- data/lib/adwords4r/v12/AccountServiceDriver.rb +0 -69
- data/lib/adwords4r/v12/AccountServiceMappingRegistry.rb +0 -243
- data/lib/adwords4r/v12/AdGroupService.rb +0 -263
- data/lib/adwords4r/v12/AdGroupServiceDriver.rb +0 -109
- data/lib/adwords4r/v12/AdGroupServiceMappingRegistry.rb +0 -280
- data/lib/adwords4r/v12/AdService.rb +0 -769
- data/lib/adwords4r/v12/AdServiceDriver.rb +0 -125
- data/lib/adwords4r/v12/AdServiceMappingRegistry.rb +0 -813
- data/lib/adwords4r/v12/CampaignService.rb +0 -498
- data/lib/adwords4r/v12/CampaignServiceDriver.rb +0 -133
- data/lib/adwords4r/v12/CampaignServiceMappingRegistry.rb +0 -642
- data/lib/adwords4r/v12/CriterionService.rb +0 -445
- data/lib/adwords4r/v12/CriterionServiceDriver.rb +0 -117
- data/lib/adwords4r/v12/CriterionServiceMappingRegistry.rb +0 -509
- data/lib/adwords4r/v12/InfoService.rb +0 -242
- data/lib/adwords4r/v12/InfoServiceDriver.rb +0 -109
- data/lib/adwords4r/v12/InfoServiceMappingRegistry.rb +0 -228
- data/lib/adwords4r/v12/KeywordToolService.rb +0 -205
- data/lib/adwords4r/v12/KeywordToolServiceMappingRegistry.rb +0 -227
- data/lib/adwords4r/v12/ReportService.rb +0 -322
- data/lib/adwords4r/v12/ReportServiceDriver.rb +0 -101
- data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +0 -298
- data/lib/adwords4r/v12/SiteSuggestionService.rb +0 -242
- data/lib/adwords4r/v12/SiteSuggestionServiceDriver.rb +0 -77
- data/lib/adwords4r/v12/SiteSuggestionServiceMappingRegistry.rb +0 -271
- data/lib/adwords4r/v12/TrafficEstimatorService.rb +0 -312
- data/lib/adwords4r/v12/TrafficEstimatorServiceDriver.rb +0 -77
- data/lib/adwords4r/v12/TrafficEstimatorServiceMappingRegistry.rb +0 -483
@@ -0,0 +1,1249 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module AdWords; module V200902; module CampaignService
|
4
|
+
|
5
|
+
|
6
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Date
|
7
|
+
# year - SOAP::SOAPInt
|
8
|
+
# month - SOAP::SOAPInt
|
9
|
+
# day - SOAP::SOAPInt
|
10
|
+
class Date
|
11
|
+
attr_accessor :year
|
12
|
+
attr_accessor :month
|
13
|
+
attr_accessor :day
|
14
|
+
|
15
|
+
def initialize(year = nil, month = nil, day = nil)
|
16
|
+
@year = year
|
17
|
+
@month = month
|
18
|
+
@day = day
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DateRange
|
23
|
+
# min - AdWords::V200902::CampaignService::Date
|
24
|
+
# max - AdWords::V200902::CampaignService::Date
|
25
|
+
class DateRange
|
26
|
+
attr_accessor :min
|
27
|
+
attr_accessor :max
|
28
|
+
|
29
|
+
def initialize(min = nil, max = nil)
|
30
|
+
@min = min
|
31
|
+
@max = max
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Money
|
36
|
+
# currencyCode - SOAP::SOAPString
|
37
|
+
# microAmount - SOAP::SOAPLong
|
38
|
+
class Money
|
39
|
+
attr_accessor :currencyCode
|
40
|
+
attr_accessor :microAmount
|
41
|
+
|
42
|
+
def initialize(currencyCode = nil, microAmount = nil)
|
43
|
+
@currencyCode = currencyCode
|
44
|
+
@microAmount = microAmount
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Paging
|
49
|
+
# startIndex - SOAP::SOAPInt
|
50
|
+
# numberResults - SOAP::SOAPInt
|
51
|
+
class Paging
|
52
|
+
attr_accessor :startIndex
|
53
|
+
attr_accessor :numberResults
|
54
|
+
|
55
|
+
def initialize(startIndex = nil, numberResults = nil)
|
56
|
+
@startIndex = startIndex
|
57
|
+
@numberResults = numberResults
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}SoapHeader
|
62
|
+
# authToken - SOAP::SOAPString
|
63
|
+
# clientCustomerId - SOAP::SOAPString
|
64
|
+
# clientEmail - SOAP::SOAPString
|
65
|
+
class SoapHeader
|
66
|
+
attr_accessor :authToken
|
67
|
+
attr_accessor :clientCustomerId
|
68
|
+
attr_accessor :clientEmail
|
69
|
+
|
70
|
+
def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil)
|
71
|
+
@authToken = authToken
|
72
|
+
@clientCustomerId = clientCustomerId
|
73
|
+
@clientEmail = clientEmail
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}SoapResponseHeader
|
78
|
+
# requestId - SOAP::SOAPString
|
79
|
+
# operations - SOAP::SOAPLong
|
80
|
+
# responseTime - SOAP::SOAPLong
|
81
|
+
class SoapResponseHeader
|
82
|
+
attr_accessor :requestId
|
83
|
+
attr_accessor :operations
|
84
|
+
attr_accessor :responseTime
|
85
|
+
|
86
|
+
def initialize(requestId = nil, operations = nil, responseTime = nil)
|
87
|
+
@requestId = requestId
|
88
|
+
@operations = operations
|
89
|
+
@responseTime = responseTime
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Stats
|
94
|
+
# startDate - AdWords::V200902::CampaignService::Date
|
95
|
+
# endDate - AdWords::V200902::CampaignService::Date
|
96
|
+
# network - AdWords::V200902::CampaignService::StatsNetwork
|
97
|
+
# clicks - SOAP::SOAPLong
|
98
|
+
# impressions - SOAP::SOAPLong
|
99
|
+
# cost - AdWords::V200902::CampaignService::Money
|
100
|
+
# averagePosition - SOAP::SOAPDouble
|
101
|
+
# averageCpc - AdWords::V200902::CampaignService::Money
|
102
|
+
# averageCpm - AdWords::V200902::CampaignService::Money
|
103
|
+
# ctr - SOAP::SOAPDouble
|
104
|
+
# conversions - SOAP::SOAPLong
|
105
|
+
# conversionRate - SOAP::SOAPDouble
|
106
|
+
# costPerConversion - AdWords::V200902::CampaignService::Money
|
107
|
+
# conversionsManyPerClick - SOAP::SOAPLong
|
108
|
+
# conversionRateManyPerClick - SOAP::SOAPDouble
|
109
|
+
# costPerConversionManyPerClick - AdWords::V200902::CampaignService::Money
|
110
|
+
# stats_Type - SOAP::SOAPString
|
111
|
+
class Stats
|
112
|
+
attr_accessor :startDate
|
113
|
+
attr_accessor :endDate
|
114
|
+
attr_accessor :network
|
115
|
+
attr_accessor :clicks
|
116
|
+
attr_accessor :impressions
|
117
|
+
attr_accessor :cost
|
118
|
+
attr_accessor :averagePosition
|
119
|
+
attr_accessor :averageCpc
|
120
|
+
attr_accessor :averageCpm
|
121
|
+
attr_accessor :ctr
|
122
|
+
attr_accessor :conversions
|
123
|
+
attr_accessor :conversionRate
|
124
|
+
attr_accessor :costPerConversion
|
125
|
+
attr_accessor :conversionsManyPerClick
|
126
|
+
attr_accessor :conversionRateManyPerClick
|
127
|
+
attr_accessor :costPerConversionManyPerClick
|
128
|
+
attr_accessor :stats_Type
|
129
|
+
|
130
|
+
def initialize(startDate = nil, endDate = nil, network = nil, clicks = nil, impressions = nil, cost = nil, averagePosition = nil, averageCpc = nil, averageCpm = nil, ctr = nil, conversions = nil, conversionRate = nil, costPerConversion = nil, conversionsManyPerClick = nil, conversionRateManyPerClick = nil, costPerConversionManyPerClick = nil, stats_Type = nil)
|
131
|
+
@startDate = startDate
|
132
|
+
@endDate = endDate
|
133
|
+
@network = network
|
134
|
+
@clicks = clicks
|
135
|
+
@impressions = impressions
|
136
|
+
@cost = cost
|
137
|
+
@averagePosition = averagePosition
|
138
|
+
@averageCpc = averageCpc
|
139
|
+
@averageCpm = averageCpm
|
140
|
+
@ctr = ctr
|
141
|
+
@conversions = conversions
|
142
|
+
@conversionRate = conversionRate
|
143
|
+
@costPerConversion = costPerConversion
|
144
|
+
@conversionsManyPerClick = conversionsManyPerClick
|
145
|
+
@conversionRateManyPerClick = conversionRateManyPerClick
|
146
|
+
@costPerConversionManyPerClick = costPerConversionManyPerClick
|
147
|
+
@stats_Type = stats_Type
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}StatsSelector
|
152
|
+
# dateRange - AdWords::V200902::CampaignService::DateRange
|
153
|
+
class StatsSelector
|
154
|
+
attr_accessor :dateRange
|
155
|
+
|
156
|
+
def initialize(dateRange = nil)
|
157
|
+
@dateRange = dateRange
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Bid
|
162
|
+
# event - AdWords::V200902::CampaignService::BidEvent
|
163
|
+
# amount - AdWords::V200902::CampaignService::Money
|
164
|
+
class Bid
|
165
|
+
attr_accessor :event
|
166
|
+
attr_accessor :amount
|
167
|
+
|
168
|
+
def initialize(event = nil, amount = nil)
|
169
|
+
@event = event
|
170
|
+
@amount = amount
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Budget
|
175
|
+
# period - AdWords::V200902::CampaignService::BudgetBudgetPeriod
|
176
|
+
# amount - AdWords::V200902::CampaignService::Money
|
177
|
+
# deliveryMethod - AdWords::V200902::CampaignService::BudgetBudgetDeliveryMethod
|
178
|
+
class Budget
|
179
|
+
attr_accessor :period
|
180
|
+
attr_accessor :amount
|
181
|
+
attr_accessor :deliveryMethod
|
182
|
+
|
183
|
+
def initialize(period = nil, amount = nil, deliveryMethod = nil)
|
184
|
+
@period = period
|
185
|
+
@amount = amount
|
186
|
+
@deliveryMethod = deliveryMethod
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignId
|
191
|
+
# id - SOAP::SOAPLong
|
192
|
+
# campaignId_Type - SOAP::SOAPString
|
193
|
+
class CampaignId
|
194
|
+
attr_accessor :id
|
195
|
+
attr_accessor :campaignId_Type
|
196
|
+
|
197
|
+
def initialize(id = nil, campaignId_Type = nil)
|
198
|
+
@id = id
|
199
|
+
@campaignId_Type = campaignId_Type
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroupBids
|
204
|
+
# abstract
|
205
|
+
# adGroupBids_Type - SOAP::SOAPString
|
206
|
+
class AdGroupBids
|
207
|
+
attr_accessor :adGroupBids_Type
|
208
|
+
|
209
|
+
def initialize(adGroupBids_Type = nil)
|
210
|
+
@adGroupBids_Type = adGroupBids_Type
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BudgetOptimizerAdGroupBids
|
215
|
+
# adGroupBids_Type - SOAP::SOAPString
|
216
|
+
# proxyKeywordMaxCpc - AdWords::V200902::CampaignService::Bid
|
217
|
+
# proxySiteMaxCpc - AdWords::V200902::CampaignService::Bid
|
218
|
+
class BudgetOptimizerAdGroupBids < AdGroupBids
|
219
|
+
attr_accessor :adGroupBids_Type
|
220
|
+
attr_accessor :proxyKeywordMaxCpc
|
221
|
+
attr_accessor :proxySiteMaxCpc
|
222
|
+
|
223
|
+
def initialize(adGroupBids_Type = nil, proxyKeywordMaxCpc = nil, proxySiteMaxCpc = nil)
|
224
|
+
@adGroupBids_Type = adGroupBids_Type
|
225
|
+
@proxyKeywordMaxCpc = proxyKeywordMaxCpc
|
226
|
+
@proxySiteMaxCpc = proxySiteMaxCpc
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ConversionOptimizerAdGroupBids
|
231
|
+
# adGroupBids_Type - SOAP::SOAPString
|
232
|
+
# targetCpa - AdWords::V200902::CampaignService::Bid
|
233
|
+
class ConversionOptimizerAdGroupBids < AdGroupBids
|
234
|
+
attr_accessor :adGroupBids_Type
|
235
|
+
attr_accessor :targetCpa
|
236
|
+
|
237
|
+
def initialize(adGroupBids_Type = nil, targetCpa = nil)
|
238
|
+
@adGroupBids_Type = adGroupBids_Type
|
239
|
+
@targetCpa = targetCpa
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ManualCPCAdGroupBids
|
244
|
+
# adGroupBids_Type - SOAP::SOAPString
|
245
|
+
# keywordMaxCpc - AdWords::V200902::CampaignService::Bid
|
246
|
+
# keywordContentMaxCpc - AdWords::V200902::CampaignService::Bid
|
247
|
+
# siteMaxCpc - AdWords::V200902::CampaignService::Bid
|
248
|
+
class ManualCPCAdGroupBids < AdGroupBids
|
249
|
+
attr_accessor :adGroupBids_Type
|
250
|
+
attr_accessor :keywordMaxCpc
|
251
|
+
attr_accessor :keywordContentMaxCpc
|
252
|
+
attr_accessor :siteMaxCpc
|
253
|
+
|
254
|
+
def initialize(adGroupBids_Type = nil, keywordMaxCpc = nil, keywordContentMaxCpc = nil, siteMaxCpc = nil)
|
255
|
+
@adGroupBids_Type = adGroupBids_Type
|
256
|
+
@keywordMaxCpc = keywordMaxCpc
|
257
|
+
@keywordContentMaxCpc = keywordContentMaxCpc
|
258
|
+
@siteMaxCpc = siteMaxCpc
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
262
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ManualCPMAdGroupBids
|
263
|
+
# adGroupBids_Type - SOAP::SOAPString
|
264
|
+
# maxCpm - AdWords::V200902::CampaignService::Bid
|
265
|
+
class ManualCPMAdGroupBids < AdGroupBids
|
266
|
+
attr_accessor :adGroupBids_Type
|
267
|
+
attr_accessor :maxCpm
|
268
|
+
|
269
|
+
def initialize(adGroupBids_Type = nil, maxCpm = nil)
|
270
|
+
@adGroupBids_Type = adGroupBids_Type
|
271
|
+
@maxCpm = maxCpm
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ApiError
|
276
|
+
# abstract
|
277
|
+
# fieldPath - SOAP::SOAPString
|
278
|
+
# trigger - SOAP::SOAPString
|
279
|
+
# apiError_Type - SOAP::SOAPString
|
280
|
+
class ApiError
|
281
|
+
attr_accessor :fieldPath
|
282
|
+
attr_accessor :trigger
|
283
|
+
attr_accessor :apiError_Type
|
284
|
+
|
285
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil)
|
286
|
+
@fieldPath = fieldPath
|
287
|
+
@trigger = trigger
|
288
|
+
@apiError_Type = apiError_Type
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AuthorizationError
|
293
|
+
# fieldPath - SOAP::SOAPString
|
294
|
+
# trigger - SOAP::SOAPString
|
295
|
+
# apiError_Type - SOAP::SOAPString
|
296
|
+
# reason - AdWords::V200902::CampaignService::AuthorizationErrorReason
|
297
|
+
class AuthorizationError < ApiError
|
298
|
+
attr_accessor :fieldPath
|
299
|
+
attr_accessor :trigger
|
300
|
+
attr_accessor :apiError_Type
|
301
|
+
attr_accessor :reason
|
302
|
+
|
303
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
304
|
+
@fieldPath = fieldPath
|
305
|
+
@trigger = trigger
|
306
|
+
@apiError_Type = apiError_Type
|
307
|
+
@reason = reason
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BiddingError
|
312
|
+
# fieldPath - SOAP::SOAPString
|
313
|
+
# trigger - SOAP::SOAPString
|
314
|
+
# apiError_Type - SOAP::SOAPString
|
315
|
+
# reason - AdWords::V200902::CampaignService::BiddingErrorReason
|
316
|
+
class BiddingError < ApiError
|
317
|
+
attr_accessor :fieldPath
|
318
|
+
attr_accessor :trigger
|
319
|
+
attr_accessor :apiError_Type
|
320
|
+
attr_accessor :reason
|
321
|
+
|
322
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
323
|
+
@fieldPath = fieldPath
|
324
|
+
@trigger = trigger
|
325
|
+
@apiError_Type = apiError_Type
|
326
|
+
@reason = reason
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BiddingTransitionError
|
331
|
+
# fieldPath - SOAP::SOAPString
|
332
|
+
# trigger - SOAP::SOAPString
|
333
|
+
# apiError_Type - SOAP::SOAPString
|
334
|
+
# reason - AdWords::V200902::CampaignService::BiddingTransitionErrorReason
|
335
|
+
class BiddingTransitionError < ApiError
|
336
|
+
attr_accessor :fieldPath
|
337
|
+
attr_accessor :trigger
|
338
|
+
attr_accessor :apiError_Type
|
339
|
+
attr_accessor :reason
|
340
|
+
|
341
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
342
|
+
@fieldPath = fieldPath
|
343
|
+
@trigger = trigger
|
344
|
+
@apiError_Type = apiError_Type
|
345
|
+
@reason = reason
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BudgetError
|
350
|
+
# fieldPath - SOAP::SOAPString
|
351
|
+
# trigger - SOAP::SOAPString
|
352
|
+
# apiError_Type - SOAP::SOAPString
|
353
|
+
# reason - AdWords::V200902::CampaignService::BudgetErrorReason
|
354
|
+
class BudgetError < ApiError
|
355
|
+
attr_accessor :fieldPath
|
356
|
+
attr_accessor :trigger
|
357
|
+
attr_accessor :apiError_Type
|
358
|
+
attr_accessor :reason
|
359
|
+
|
360
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
361
|
+
@fieldPath = fieldPath
|
362
|
+
@trigger = trigger
|
363
|
+
@apiError_Type = apiError_Type
|
364
|
+
@reason = reason
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignError
|
369
|
+
# fieldPath - SOAP::SOAPString
|
370
|
+
# trigger - SOAP::SOAPString
|
371
|
+
# apiError_Type - SOAP::SOAPString
|
372
|
+
# reason - AdWords::V200902::CampaignService::CampaignErrorReason
|
373
|
+
class CampaignError < ApiError
|
374
|
+
attr_accessor :fieldPath
|
375
|
+
attr_accessor :trigger
|
376
|
+
attr_accessor :apiError_Type
|
377
|
+
attr_accessor :reason
|
378
|
+
|
379
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
380
|
+
@fieldPath = fieldPath
|
381
|
+
@trigger = trigger
|
382
|
+
@apiError_Type = apiError_Type
|
383
|
+
@reason = reason
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DatabaseError
|
388
|
+
# fieldPath - SOAP::SOAPString
|
389
|
+
# trigger - SOAP::SOAPString
|
390
|
+
# apiError_Type - SOAP::SOAPString
|
391
|
+
# reason - AdWords::V200902::CampaignService::DatabaseErrorReason
|
392
|
+
class DatabaseError < ApiError
|
393
|
+
attr_accessor :fieldPath
|
394
|
+
attr_accessor :trigger
|
395
|
+
attr_accessor :apiError_Type
|
396
|
+
attr_accessor :reason
|
397
|
+
|
398
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
399
|
+
@fieldPath = fieldPath
|
400
|
+
@trigger = trigger
|
401
|
+
@apiError_Type = apiError_Type
|
402
|
+
@reason = reason
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DistinctError
|
407
|
+
# fieldPath - SOAP::SOAPString
|
408
|
+
# trigger - SOAP::SOAPString
|
409
|
+
# apiError_Type - SOAP::SOAPString
|
410
|
+
# reason - AdWords::V200902::CampaignService::DistinctErrorReason
|
411
|
+
class DistinctError < ApiError
|
412
|
+
attr_accessor :fieldPath
|
413
|
+
attr_accessor :trigger
|
414
|
+
attr_accessor :apiError_Type
|
415
|
+
attr_accessor :reason
|
416
|
+
|
417
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
418
|
+
@fieldPath = fieldPath
|
419
|
+
@trigger = trigger
|
420
|
+
@apiError_Type = apiError_Type
|
421
|
+
@reason = reason
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NewEntityCreationError
|
426
|
+
# fieldPath - SOAP::SOAPString
|
427
|
+
# trigger - SOAP::SOAPString
|
428
|
+
# apiError_Type - SOAP::SOAPString
|
429
|
+
# reason - AdWords::V200902::CampaignService::NewEntityCreationErrorReason
|
430
|
+
class NewEntityCreationError < ApiError
|
431
|
+
attr_accessor :fieldPath
|
432
|
+
attr_accessor :trigger
|
433
|
+
attr_accessor :apiError_Type
|
434
|
+
attr_accessor :reason
|
435
|
+
|
436
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
437
|
+
@fieldPath = fieldPath
|
438
|
+
@trigger = trigger
|
439
|
+
@apiError_Type = apiError_Type
|
440
|
+
@reason = reason
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NotEmptyError
|
445
|
+
# fieldPath - SOAP::SOAPString
|
446
|
+
# trigger - SOAP::SOAPString
|
447
|
+
# apiError_Type - SOAP::SOAPString
|
448
|
+
# reason - AdWords::V200902::CampaignService::NotEmptyErrorReason
|
449
|
+
class NotEmptyError < ApiError
|
450
|
+
attr_accessor :fieldPath
|
451
|
+
attr_accessor :trigger
|
452
|
+
attr_accessor :apiError_Type
|
453
|
+
attr_accessor :reason
|
454
|
+
|
455
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
456
|
+
@fieldPath = fieldPath
|
457
|
+
@trigger = trigger
|
458
|
+
@apiError_Type = apiError_Type
|
459
|
+
@reason = reason
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
463
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NotWhitelistedError
|
464
|
+
# fieldPath - SOAP::SOAPString
|
465
|
+
# trigger - SOAP::SOAPString
|
466
|
+
# apiError_Type - SOAP::SOAPString
|
467
|
+
# reason - AdWords::V200902::CampaignService::NotWhitelistedErrorReason
|
468
|
+
class NotWhitelistedError < ApiError
|
469
|
+
attr_accessor :fieldPath
|
470
|
+
attr_accessor :trigger
|
471
|
+
attr_accessor :apiError_Type
|
472
|
+
attr_accessor :reason
|
473
|
+
|
474
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
475
|
+
@fieldPath = fieldPath
|
476
|
+
@trigger = trigger
|
477
|
+
@apiError_Type = apiError_Type
|
478
|
+
@reason = reason
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NullError
|
483
|
+
# fieldPath - SOAP::SOAPString
|
484
|
+
# trigger - SOAP::SOAPString
|
485
|
+
# apiError_Type - SOAP::SOAPString
|
486
|
+
# reason - AdWords::V200902::CampaignService::NullErrorReason
|
487
|
+
class NullError < ApiError
|
488
|
+
attr_accessor :fieldPath
|
489
|
+
attr_accessor :trigger
|
490
|
+
attr_accessor :apiError_Type
|
491
|
+
attr_accessor :reason
|
492
|
+
|
493
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
494
|
+
@fieldPath = fieldPath
|
495
|
+
@trigger = trigger
|
496
|
+
@apiError_Type = apiError_Type
|
497
|
+
@reason = reason
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}OperationAccessDenied
|
502
|
+
# fieldPath - SOAP::SOAPString
|
503
|
+
# trigger - SOAP::SOAPString
|
504
|
+
# apiError_Type - SOAP::SOAPString
|
505
|
+
# reason - AdWords::V200902::CampaignService::OperationAccessDeniedReason
|
506
|
+
class OperationAccessDenied < ApiError
|
507
|
+
attr_accessor :fieldPath
|
508
|
+
attr_accessor :trigger
|
509
|
+
attr_accessor :apiError_Type
|
510
|
+
attr_accessor :reason
|
511
|
+
|
512
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
513
|
+
@fieldPath = fieldPath
|
514
|
+
@trigger = trigger
|
515
|
+
@apiError_Type = apiError_Type
|
516
|
+
@reason = reason
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}OperatorError
|
521
|
+
# fieldPath - SOAP::SOAPString
|
522
|
+
# trigger - SOAP::SOAPString
|
523
|
+
# apiError_Type - SOAP::SOAPString
|
524
|
+
# reason - AdWords::V200902::CampaignService::OperatorErrorReason
|
525
|
+
class OperatorError < ApiError
|
526
|
+
attr_accessor :fieldPath
|
527
|
+
attr_accessor :trigger
|
528
|
+
attr_accessor :apiError_Type
|
529
|
+
attr_accessor :reason
|
530
|
+
|
531
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
532
|
+
@fieldPath = fieldPath
|
533
|
+
@trigger = trigger
|
534
|
+
@apiError_Type = apiError_Type
|
535
|
+
@reason = reason
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}QuotaError
|
540
|
+
# fieldPath - SOAP::SOAPString
|
541
|
+
# trigger - SOAP::SOAPString
|
542
|
+
# apiError_Type - SOAP::SOAPString
|
543
|
+
# reason - AdWords::V200902::CampaignService::QuotaErrorReason
|
544
|
+
# limit - SOAP::SOAPInt
|
545
|
+
class QuotaError < ApiError
|
546
|
+
attr_accessor :fieldPath
|
547
|
+
attr_accessor :trigger
|
548
|
+
attr_accessor :apiError_Type
|
549
|
+
attr_accessor :reason
|
550
|
+
attr_accessor :limit
|
551
|
+
|
552
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil, limit = nil)
|
553
|
+
@fieldPath = fieldPath
|
554
|
+
@trigger = trigger
|
555
|
+
@apiError_Type = apiError_Type
|
556
|
+
@reason = reason
|
557
|
+
@limit = limit
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
561
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}RangeError
|
562
|
+
# fieldPath - SOAP::SOAPString
|
563
|
+
# trigger - SOAP::SOAPString
|
564
|
+
# apiError_Type - SOAP::SOAPString
|
565
|
+
# reason - AdWords::V200902::CampaignService::RangeErrorReason
|
566
|
+
class C_RangeError < ApiError
|
567
|
+
attr_accessor :fieldPath
|
568
|
+
attr_accessor :trigger
|
569
|
+
attr_accessor :apiError_Type
|
570
|
+
attr_accessor :reason
|
571
|
+
|
572
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
573
|
+
@fieldPath = fieldPath
|
574
|
+
@trigger = trigger
|
575
|
+
@apiError_Type = apiError_Type
|
576
|
+
@reason = reason
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ReadOnlyError
|
581
|
+
# fieldPath - SOAP::SOAPString
|
582
|
+
# trigger - SOAP::SOAPString
|
583
|
+
# apiError_Type - SOAP::SOAPString
|
584
|
+
# reason - AdWords::V200902::CampaignService::ReadOnlyErrorReason
|
585
|
+
class ReadOnlyError < ApiError
|
586
|
+
attr_accessor :fieldPath
|
587
|
+
attr_accessor :trigger
|
588
|
+
attr_accessor :apiError_Type
|
589
|
+
attr_accessor :reason
|
590
|
+
|
591
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
592
|
+
@fieldPath = fieldPath
|
593
|
+
@trigger = trigger
|
594
|
+
@apiError_Type = apiError_Type
|
595
|
+
@reason = reason
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}RequiredError
|
600
|
+
# fieldPath - SOAP::SOAPString
|
601
|
+
# trigger - SOAP::SOAPString
|
602
|
+
# apiError_Type - SOAP::SOAPString
|
603
|
+
# reason - AdWords::V200902::CampaignService::RequiredErrorReason
|
604
|
+
class RequiredError < ApiError
|
605
|
+
attr_accessor :fieldPath
|
606
|
+
attr_accessor :trigger
|
607
|
+
attr_accessor :apiError_Type
|
608
|
+
attr_accessor :reason
|
609
|
+
|
610
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
611
|
+
@fieldPath = fieldPath
|
612
|
+
@trigger = trigger
|
613
|
+
@apiError_Type = apiError_Type
|
614
|
+
@reason = reason
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
618
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}StatsQueryError
|
619
|
+
# fieldPath - SOAP::SOAPString
|
620
|
+
# trigger - SOAP::SOAPString
|
621
|
+
# apiError_Type - SOAP::SOAPString
|
622
|
+
# reason - AdWords::V200902::CampaignService::StatsQueryErrorReason
|
623
|
+
class StatsQueryError < ApiError
|
624
|
+
attr_accessor :fieldPath
|
625
|
+
attr_accessor :trigger
|
626
|
+
attr_accessor :apiError_Type
|
627
|
+
attr_accessor :reason
|
628
|
+
|
629
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
630
|
+
@fieldPath = fieldPath
|
631
|
+
@trigger = trigger
|
632
|
+
@apiError_Type = apiError_Type
|
633
|
+
@reason = reason
|
634
|
+
end
|
635
|
+
end
|
636
|
+
|
637
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}StringLengthError
|
638
|
+
# fieldPath - SOAP::SOAPString
|
639
|
+
# trigger - SOAP::SOAPString
|
640
|
+
# apiError_Type - SOAP::SOAPString
|
641
|
+
# reason - AdWords::V200902::CampaignService::StringLengthErrorReason
|
642
|
+
class StringLengthError < ApiError
|
643
|
+
attr_accessor :fieldPath
|
644
|
+
attr_accessor :trigger
|
645
|
+
attr_accessor :apiError_Type
|
646
|
+
attr_accessor :reason
|
647
|
+
|
648
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
649
|
+
@fieldPath = fieldPath
|
650
|
+
@trigger = trigger
|
651
|
+
@apiError_Type = apiError_Type
|
652
|
+
@reason = reason
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ApplicationException
|
657
|
+
# message - SOAP::SOAPString
|
658
|
+
# applicationException_Type - SOAP::SOAPString
|
659
|
+
class ApplicationException
|
660
|
+
attr_accessor :message
|
661
|
+
attr_accessor :applicationException_Type
|
662
|
+
|
663
|
+
def initialize(message = nil, applicationException_Type = nil)
|
664
|
+
@message = message
|
665
|
+
@applicationException_Type = applicationException_Type
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ApiException
|
670
|
+
# message - SOAP::SOAPString
|
671
|
+
# applicationException_Type - SOAP::SOAPString
|
672
|
+
# errors - AdWords::V200902::CampaignService::ApiError
|
673
|
+
class ApiException < ApplicationException
|
674
|
+
attr_accessor :message
|
675
|
+
attr_accessor :applicationException_Type
|
676
|
+
attr_accessor :errors
|
677
|
+
|
678
|
+
def initialize(message = nil, applicationException_Type = nil, errors = [])
|
679
|
+
@message = message
|
680
|
+
@applicationException_Type = applicationException_Type
|
681
|
+
@errors = errors
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
685
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BiddingStrategy
|
686
|
+
# abstract
|
687
|
+
# biddingStrategy_Type - SOAP::SOAPString
|
688
|
+
class BiddingStrategy
|
689
|
+
attr_accessor :biddingStrategy_Type
|
690
|
+
|
691
|
+
def initialize(biddingStrategy_Type = nil)
|
692
|
+
@biddingStrategy_Type = biddingStrategy_Type
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ConversionOptimizer
|
697
|
+
# biddingStrategy_Type - SOAP::SOAPString
|
698
|
+
# pricingModel - AdWords::V200902::CampaignService::PricingModel
|
699
|
+
class ConversionOptimizer < BiddingStrategy
|
700
|
+
attr_accessor :biddingStrategy_Type
|
701
|
+
attr_accessor :pricingModel
|
702
|
+
|
703
|
+
def initialize(biddingStrategy_Type = nil, pricingModel = nil)
|
704
|
+
@biddingStrategy_Type = biddingStrategy_Type
|
705
|
+
@pricingModel = pricingModel
|
706
|
+
end
|
707
|
+
end
|
708
|
+
|
709
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ManualCPC
|
710
|
+
# biddingStrategy_Type - SOAP::SOAPString
|
711
|
+
class ManualCPC < BiddingStrategy
|
712
|
+
attr_accessor :biddingStrategy_Type
|
713
|
+
|
714
|
+
def initialize(biddingStrategy_Type = nil)
|
715
|
+
@biddingStrategy_Type = biddingStrategy_Type
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
719
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ManualCPM
|
720
|
+
# biddingStrategy_Type - SOAP::SOAPString
|
721
|
+
class ManualCPM < BiddingStrategy
|
722
|
+
attr_accessor :biddingStrategy_Type
|
723
|
+
|
724
|
+
def initialize(biddingStrategy_Type = nil)
|
725
|
+
@biddingStrategy_Type = biddingStrategy_Type
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
729
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BudgetOptimizer
|
730
|
+
# biddingStrategy_Type - SOAP::SOAPString
|
731
|
+
# bidCeiling - AdWords::V200902::CampaignService::Money
|
732
|
+
class BudgetOptimizer < BiddingStrategy
|
733
|
+
attr_accessor :biddingStrategy_Type
|
734
|
+
attr_accessor :bidCeiling
|
735
|
+
|
736
|
+
def initialize(biddingStrategy_Type = nil, bidCeiling = nil)
|
737
|
+
@biddingStrategy_Type = biddingStrategy_Type
|
738
|
+
@bidCeiling = bidCeiling
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
742
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Campaign
|
743
|
+
# id - AdWords::V200902::CampaignService::CampaignId
|
744
|
+
# name - SOAP::SOAPString
|
745
|
+
# status - AdWords::V200902::CampaignService::CampaignStatus
|
746
|
+
# servingStatus - AdWords::V200902::CampaignService::ServingStatus
|
747
|
+
# startDate - AdWords::V200902::CampaignService::Date
|
748
|
+
# endDate - AdWords::V200902::CampaignService::Date
|
749
|
+
# budget - AdWords::V200902::CampaignService::Budget
|
750
|
+
# biddingStrategy - AdWords::V200902::CampaignService::BiddingStrategy
|
751
|
+
# autoKeywordMatchingStatus - AdWords::V200902::CampaignService::AutoKeywordMatchingStatus
|
752
|
+
# stats - AdWords::V200902::CampaignService::Stats
|
753
|
+
# campaignType - AdWords::V200902::CampaignService::CampaignType
|
754
|
+
# adServingOptimizationStatus - AdWords::V200902::CampaignService::AdServingOptimizationStatus
|
755
|
+
class Campaign
|
756
|
+
attr_accessor :id
|
757
|
+
attr_accessor :name
|
758
|
+
attr_accessor :status
|
759
|
+
attr_accessor :servingStatus
|
760
|
+
attr_accessor :startDate
|
761
|
+
attr_accessor :endDate
|
762
|
+
attr_accessor :budget
|
763
|
+
attr_accessor :biddingStrategy
|
764
|
+
attr_accessor :autoKeywordMatchingStatus
|
765
|
+
attr_accessor :stats
|
766
|
+
attr_accessor :campaignType
|
767
|
+
attr_accessor :adServingOptimizationStatus
|
768
|
+
|
769
|
+
def initialize(id = nil, name = nil, status = nil, servingStatus = nil, startDate = nil, endDate = nil, budget = nil, biddingStrategy = nil, autoKeywordMatchingStatus = nil, stats = nil, campaignType = nil, adServingOptimizationStatus = nil)
|
770
|
+
@id = id
|
771
|
+
@name = name
|
772
|
+
@status = status
|
773
|
+
@servingStatus = servingStatus
|
774
|
+
@startDate = startDate
|
775
|
+
@endDate = endDate
|
776
|
+
@budget = budget
|
777
|
+
@biddingStrategy = biddingStrategy
|
778
|
+
@autoKeywordMatchingStatus = autoKeywordMatchingStatus
|
779
|
+
@stats = stats
|
780
|
+
@campaignType = campaignType
|
781
|
+
@adServingOptimizationStatus = adServingOptimizationStatus
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignSelector
|
786
|
+
# campaignIds - AdWords::V200902::CampaignService::CampaignId
|
787
|
+
# statsSelector - AdWords::V200902::CampaignService::StatsSelector
|
788
|
+
# paging - AdWords::V200902::CampaignService::Paging
|
789
|
+
class CampaignSelector
|
790
|
+
attr_accessor :campaignIds
|
791
|
+
attr_accessor :statsSelector
|
792
|
+
attr_accessor :paging
|
793
|
+
|
794
|
+
def initialize(campaignIds = [], statsSelector = nil, paging = nil)
|
795
|
+
@campaignIds = campaignIds
|
796
|
+
@statsSelector = statsSelector
|
797
|
+
@paging = paging
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
801
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Page
|
802
|
+
# abstract
|
803
|
+
# totalNumEntries - SOAP::SOAPInt
|
804
|
+
# page_Type - SOAP::SOAPString
|
805
|
+
class Page
|
806
|
+
attr_accessor :totalNumEntries
|
807
|
+
attr_accessor :page_Type
|
808
|
+
|
809
|
+
def initialize(totalNumEntries = nil, page_Type = nil)
|
810
|
+
@totalNumEntries = totalNumEntries
|
811
|
+
@page_Type = page_Type
|
812
|
+
end
|
813
|
+
end
|
814
|
+
|
815
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignPage
|
816
|
+
# totalNumEntries - SOAP::SOAPInt
|
817
|
+
# page_Type - SOAP::SOAPString
|
818
|
+
# totalBudget - AdWords::V200902::CampaignService::Budget
|
819
|
+
# entries - AdWords::V200902::CampaignService::Campaign
|
820
|
+
class CampaignPage < Page
|
821
|
+
attr_accessor :totalNumEntries
|
822
|
+
attr_accessor :page_Type
|
823
|
+
attr_accessor :totalBudget
|
824
|
+
attr_accessor :entries
|
825
|
+
|
826
|
+
def initialize(totalNumEntries = nil, page_Type = nil, totalBudget = nil, entries = [])
|
827
|
+
@totalNumEntries = totalNumEntries
|
828
|
+
@page_Type = page_Type
|
829
|
+
@totalBudget = totalBudget
|
830
|
+
@entries = entries
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
834
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignBidSource
|
835
|
+
# abstract
|
836
|
+
# campaignBidSource_Type - SOAP::SOAPString
|
837
|
+
class CampaignBidSource
|
838
|
+
attr_accessor :campaignBidSource_Type
|
839
|
+
|
840
|
+
def initialize(campaignBidSource_Type = nil)
|
841
|
+
@campaignBidSource_Type = campaignBidSource_Type
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DerivedBids
|
846
|
+
# campaignBidSource_Type - SOAP::SOAPString
|
847
|
+
class DerivedBids < CampaignBidSource
|
848
|
+
attr_accessor :campaignBidSource_Type
|
849
|
+
|
850
|
+
def initialize(campaignBidSource_Type = nil)
|
851
|
+
@campaignBidSource_Type = campaignBidSource_Type
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
855
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ExplicitBids
|
856
|
+
# campaignBidSource_Type - SOAP::SOAPString
|
857
|
+
# adGroupBids - AdWords::V200902::CampaignService::AdGroupBids
|
858
|
+
class ExplicitBids < CampaignBidSource
|
859
|
+
attr_accessor :campaignBidSource_Type
|
860
|
+
attr_accessor :adGroupBids
|
861
|
+
|
862
|
+
def initialize(campaignBidSource_Type = nil, adGroupBids = nil)
|
863
|
+
@campaignBidSource_Type = campaignBidSource_Type
|
864
|
+
@adGroupBids = adGroupBids
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ListReturnValue
|
869
|
+
# listReturnValue_Type - SOAP::SOAPString
|
870
|
+
class ListReturnValue
|
871
|
+
attr_accessor :listReturnValue_Type
|
872
|
+
|
873
|
+
def initialize(listReturnValue_Type = nil)
|
874
|
+
@listReturnValue_Type = listReturnValue_Type
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
878
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignReturnValue
|
879
|
+
# listReturnValue_Type - SOAP::SOAPString
|
880
|
+
# value - AdWords::V200902::CampaignService::Campaign
|
881
|
+
class CampaignReturnValue < ListReturnValue
|
882
|
+
attr_accessor :listReturnValue_Type
|
883
|
+
attr_accessor :value
|
884
|
+
|
885
|
+
def initialize(listReturnValue_Type = nil, value = [])
|
886
|
+
@listReturnValue_Type = listReturnValue_Type
|
887
|
+
@value = value
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
891
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BiddingTransition
|
892
|
+
# targetBiddingStrategy - AdWords::V200902::CampaignService::BiddingStrategy
|
893
|
+
# bidSource - AdWords::V200902::CampaignService::CampaignBidSource
|
894
|
+
class BiddingTransition
|
895
|
+
attr_accessor :targetBiddingStrategy
|
896
|
+
attr_accessor :bidSource
|
897
|
+
|
898
|
+
def initialize(targetBiddingStrategy = nil, bidSource = nil)
|
899
|
+
@targetBiddingStrategy = targetBiddingStrategy
|
900
|
+
@bidSource = bidSource
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
904
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Operation
|
905
|
+
# abstract
|
906
|
+
# operator - AdWords::V200902::CampaignService::Operator
|
907
|
+
# operation_Type - SOAP::SOAPString
|
908
|
+
class Operation
|
909
|
+
attr_accessor :operator
|
910
|
+
attr_accessor :operation_Type
|
911
|
+
|
912
|
+
def initialize(operator = nil, operation_Type = nil)
|
913
|
+
@operator = operator
|
914
|
+
@operation_Type = operation_Type
|
915
|
+
end
|
916
|
+
end
|
917
|
+
|
918
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignOperation
|
919
|
+
# operator - AdWords::V200902::CampaignService::Operator
|
920
|
+
# operation_Type - SOAP::SOAPString
|
921
|
+
# biddingTransition - AdWords::V200902::CampaignService::BiddingTransition
|
922
|
+
# operand - AdWords::V200902::CampaignService::Campaign
|
923
|
+
class CampaignOperation < Operation
|
924
|
+
attr_accessor :operator
|
925
|
+
attr_accessor :operation_Type
|
926
|
+
attr_accessor :biddingTransition
|
927
|
+
attr_accessor :operand
|
928
|
+
|
929
|
+
def initialize(operator = nil, operation_Type = nil, biddingTransition = nil, operand = nil)
|
930
|
+
@operator = operator
|
931
|
+
@operation_Type = operation_Type
|
932
|
+
@biddingTransition = biddingTransition
|
933
|
+
@operand = operand
|
934
|
+
end
|
935
|
+
end
|
936
|
+
|
937
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdServingOptimizationStatus
|
938
|
+
class AdServingOptimizationStatus < ::String
|
939
|
+
OPTIMIZE = AdServingOptimizationStatus.new("OPTIMIZE")
|
940
|
+
ROTATE = AdServingOptimizationStatus.new("ROTATE")
|
941
|
+
UNAVAILABLE = AdServingOptimizationStatus.new("UNAVAILABLE")
|
942
|
+
end
|
943
|
+
|
944
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AuthorizationError.Reason
|
945
|
+
class AuthorizationErrorReason < ::String
|
946
|
+
EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED")
|
947
|
+
NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER")
|
948
|
+
UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE")
|
949
|
+
USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED")
|
950
|
+
end
|
951
|
+
|
952
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AutoKeywordMatchingStatus
|
953
|
+
class AutoKeywordMatchingStatus < ::String
|
954
|
+
OPT_IN = AutoKeywordMatchingStatus.new("OPT_IN")
|
955
|
+
OPT_OUT = AutoKeywordMatchingStatus.new("OPT_OUT")
|
956
|
+
end
|
957
|
+
|
958
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Bid.Event
|
959
|
+
class BidEvent < ::String
|
960
|
+
CLICK = BidEvent.new("CLICK")
|
961
|
+
CONVERSION = BidEvent.new("CONVERSION")
|
962
|
+
THOUSAND_IMPRESSIONS = BidEvent.new("THOUSAND_IMPRESSIONS")
|
963
|
+
VIDEO_PLAY = BidEvent.new("VIDEO_PLAY")
|
964
|
+
end
|
965
|
+
|
966
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BiddingError.Reason
|
967
|
+
class BiddingErrorReason < ::String
|
968
|
+
ADGROUPS_DO_NOT_MATCH_CONSTRAINT = BiddingErrorReason.new("ADGROUPS_DO_NOT_MATCH_CONSTRAINT")
|
969
|
+
AUCTION_STRATEGY_INCOMPATIBLE_WITH_PROXY_BIDDER = BiddingErrorReason.new("AUCTION_STRATEGY_INCOMPATIBLE_WITH_PROXY_BIDDER")
|
970
|
+
BAD_BID_COMBINATION = BiddingErrorReason.new("BAD_BID_COMBINATION")
|
971
|
+
BIDS_DO_NOT_FULFILL_SPEC = BiddingErrorReason.new("BIDS_DO_NOT_FULFILL_SPEC")
|
972
|
+
BID_AMOUNT_REQUIRED = BiddingErrorReason.new("BID_AMOUNT_REQUIRED")
|
973
|
+
BID_EVENT_MISMATCH = BiddingErrorReason.new("BID_EVENT_MISMATCH")
|
974
|
+
BID_EVENT_REQUIRED = BiddingErrorReason.new("BID_EVENT_REQUIRED")
|
975
|
+
BID_INCOMPATIBLE_WITH_ADGROUP = BiddingErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")
|
976
|
+
BID_TO_POSITION_NOT_ENABLED = BiddingErrorReason.new("BID_TO_POSITION_NOT_ENABLED")
|
977
|
+
BID_UNIVERSAL_CRITERIA_EXPECTED = BiddingErrorReason.new("BID_UNIVERSAL_CRITERIA_EXPECTED")
|
978
|
+
BOTTOM_POSITION_OUT_OF_RANGE = BiddingErrorReason.new("BOTTOM_POSITION_OUT_OF_RANGE")
|
979
|
+
CAMPAIGN_ALREADY_SET = BiddingErrorReason.new("CAMPAIGN_ALREADY_SET")
|
980
|
+
CAMPAIGN_MUST_HAVE_A_BUDGET_TO_ENABLE_BUDGET_OPTIMIZER = BiddingErrorReason.new("CAMPAIGN_MUST_HAVE_A_BUDGET_TO_ENABLE_BUDGET_OPTIMIZER")
|
981
|
+
CANNOT_EXCLUDE_DEFAULT = BiddingErrorReason.new("CANNOT_EXCLUDE_DEFAULT")
|
982
|
+
CANNOT_TARGET_AND_EXCLUDE = BiddingErrorReason.new("CANNOT_TARGET_AND_EXCLUDE")
|
983
|
+
CANNOT_TARGET_UNIVERSE = BiddingErrorReason.new("CANNOT_TARGET_UNIVERSE")
|
984
|
+
CANNOT_UPDATE_SITE_BIDS_WHILE_PROXY_BIDDING = BiddingErrorReason.new("CANNOT_UPDATE_SITE_BIDS_WHILE_PROXY_BIDDING")
|
985
|
+
CRITERION_NOT_TARGETED = BiddingErrorReason.new("CRITERION_NOT_TARGETED")
|
986
|
+
CURRENCY_MISMATCH = BiddingErrorReason.new("CURRENCY_MISMATCH")
|
987
|
+
GOAL_DOES_NOT_FULFILL_SPEC = BiddingErrorReason.new("GOAL_DOES_NOT_FULFILL_SPEC")
|
988
|
+
GOAL_VALIDATION_FAILED = BiddingErrorReason.new("GOAL_VALIDATION_FAILED")
|
989
|
+
ILLEGAL_URL = BiddingErrorReason.new("ILLEGAL_URL")
|
990
|
+
MUST_EXCLUDE_0_TO_17_WITH_OTHER_AGE_EXCLUSIONS = BiddingErrorReason.new("MUST_EXCLUDE_0_TO_17_WITH_OTHER_AGE_EXCLUSIONS")
|
991
|
+
NETWORK_NOT_OVERRIDEABLE = BiddingErrorReason.new("NETWORK_NOT_OVERRIDEABLE")
|
992
|
+
NETWORK_SETTINGS_DO_NOT_SUPPORT_TRANSITION = BiddingErrorReason.new("NETWORK_SETTINGS_DO_NOT_SUPPORT_TRANSITION")
|
993
|
+
NON_POSITIVE_BID = BiddingErrorReason.new("NON_POSITIVE_BID")
|
994
|
+
NO_DESTINATION_URL_SPECIFIED = BiddingErrorReason.new("NO_DESTINATION_URL_SPECIFIED")
|
995
|
+
NO_EFFECTIVE_BID = BiddingErrorReason.new("NO_EFFECTIVE_BID")
|
996
|
+
POSITION_PREFERENCE_NOT_ENABLED = BiddingErrorReason.new("POSITION_PREFERENCE_NOT_ENABLED")
|
997
|
+
POSITION_PREFERENCE_NOT_SUPPORTED_FOR_CRITERIA_TYPE = BiddingErrorReason.new("POSITION_PREFERENCE_NOT_SUPPORTED_FOR_CRITERIA_TYPE")
|
998
|
+
PREFERRED_POSITION_CANNOT_BE_HIGHER_THAN_BOTTOM = BiddingErrorReason.new("PREFERRED_POSITION_CANNOT_BE_HIGHER_THAN_BOTTOM")
|
999
|
+
PREFERRED_POSITION_OUT_OF_RANGE = BiddingErrorReason.new("PREFERRED_POSITION_OUT_OF_RANGE")
|
1000
|
+
PROXY_BIDDER_STRATEGY_INCOMPATIBLE_WITH_STYLE = BiddingErrorReason.new("PROXY_BIDDER_STRATEGY_INCOMPATIBLE_WITH_STYLE")
|
1001
|
+
PROXY_NOT_ENABLED = BiddingErrorReason.new("PROXY_NOT_ENABLED")
|
1002
|
+
TRANSITION_DOES_NOT_SUPPORT_GOAL = BiddingErrorReason.new("TRANSITION_DOES_NOT_SUPPORT_GOAL")
|
1003
|
+
TRANSITION_DOES_NOT_SUPPORT_OPTION = BiddingErrorReason.new("TRANSITION_DOES_NOT_SUPPORT_OPTION")
|
1004
|
+
UNSUPPORTED_PROXY_BIDDER_STRATEGY_TRANSITION = BiddingErrorReason.new("UNSUPPORTED_PROXY_BIDDER_STRATEGY_TRANSITION")
|
1005
|
+
UNSUPPORTED_STYLE = BiddingErrorReason.new("UNSUPPORTED_STYLE")
|
1006
|
+
UNSUPPORTED_STYLE_TRANSITION = BiddingErrorReason.new("UNSUPPORTED_STYLE_TRANSITION")
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BiddingTransitionError.Reason
|
1010
|
+
class BiddingTransitionErrorReason < ::String
|
1011
|
+
BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = BiddingTransitionErrorReason.new("BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE")
|
1012
|
+
BID_TO_POSITION_ENABLED = BiddingTransitionErrorReason.new("BID_TO_POSITION_ENABLED")
|
1013
|
+
BUDGET_OPTIMIZER_IS_ENABLED = BiddingTransitionErrorReason.new("BUDGET_OPTIMIZER_IS_ENABLED")
|
1014
|
+
CONVERSION_OPTIMIZER_IS_ENABLED = BiddingTransitionErrorReason.new("CONVERSION_OPTIMIZER_IS_ENABLED")
|
1015
|
+
CONVERSION_TRACKING_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = BiddingTransitionErrorReason.new("CONVERSION_TRACKING_NOT_AVAILABLE_FOR_ACCOUNT_TYPE")
|
1016
|
+
CONVERSION_TRACKING_NOT_ENABLED = BiddingTransitionErrorReason.new("CONVERSION_TRACKING_NOT_ENABLED")
|
1017
|
+
INVALID_BID = BiddingTransitionErrorReason.new("INVALID_BID")
|
1018
|
+
INVALID_BID_SOURCE = BiddingTransitionErrorReason.new("INVALID_BID_SOURCE")
|
1019
|
+
INVALID_STATUS = BiddingTransitionErrorReason.new("INVALID_STATUS")
|
1020
|
+
IS_CPM_CAMPAIGN = BiddingTransitionErrorReason.new("IS_CPM_CAMPAIGN")
|
1021
|
+
NOT_ENOUGH_CONVERSIONS = BiddingTransitionErrorReason.new("NOT_ENOUGH_CONVERSIONS")
|
1022
|
+
NOT_ENOUGH_CONVERSION_DATA = BiddingTransitionErrorReason.new("NOT_ENOUGH_CONVERSION_DATA")
|
1023
|
+
NOT_THE_PREVIOUS_BIDDING_STRATEGY = BiddingTransitionErrorReason.new("NOT_THE_PREVIOUS_BIDDING_STRATEGY")
|
1024
|
+
OPTED_IN_SEARCH = BiddingTransitionErrorReason.new("OPTED_IN_SEARCH")
|
1025
|
+
PROXY_BIDDING_ON = BiddingTransitionErrorReason.new("PROXY_BIDDING_ON")
|
1026
|
+
SITE_REMNANT_RESERVATION_ALLOWED = BiddingTransitionErrorReason.new("SITE_REMNANT_RESERVATION_ALLOWED")
|
1027
|
+
TRANSITION_TO_ITSELF = BiddingTransitionErrorReason.new("TRANSITION_TO_ITSELF")
|
1028
|
+
UNKNOWN_BIDDING_STRATEGY = BiddingTransitionErrorReason.new("UNKNOWN_BIDDING_STRATEGY")
|
1029
|
+
UNSUPPORTED_TRANSITION = BiddingTransitionErrorReason.new("UNSUPPORTED_TRANSITION")
|
1030
|
+
USE_POSITION_PREFERENCE_IN_MANUALCPC_INSTEAD_TO_DISABLE_POSITION_PREFERENCE = BiddingTransitionErrorReason.new("USE_POSITION_PREFERENCE_IN_MANUALCPC_INSTEAD_TO_DISABLE_POSITION_PREFERENCE")
|
1031
|
+
VCG_ENABLED = BiddingTransitionErrorReason.new("VCG_ENABLED")
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Budget.BudgetDeliveryMethod
|
1035
|
+
class BudgetBudgetDeliveryMethod < ::String
|
1036
|
+
ACCELERATED = BudgetBudgetDeliveryMethod.new("ACCELERATED")
|
1037
|
+
STANDARD = BudgetBudgetDeliveryMethod.new("STANDARD")
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Budget.BudgetPeriod
|
1041
|
+
class BudgetBudgetPeriod < ::String
|
1042
|
+
DAILY = BudgetBudgetPeriod.new("DAILY")
|
1043
|
+
MONTHLY = BudgetBudgetPeriod.new("MONTHLY")
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BudgetError.Reason
|
1047
|
+
class BudgetErrorReason < ::String
|
1048
|
+
MONEY_AMOUNT_IN_WRONG_CURRENCY = BudgetErrorReason.new("MONEY_AMOUNT_IN_WRONG_CURRENCY")
|
1049
|
+
MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC")
|
1050
|
+
MONEY_AMOUNT_LESS_THAN_MAXIMUM_AD_GROUP_CPM = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_MAXIMUM_AD_GROUP_CPM")
|
1051
|
+
MONEY_AMOUNT_LESS_THAN_MAXIMUM_SITE_CPM = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_MAXIMUM_SITE_CPM")
|
1052
|
+
MONEY_AMOUNT_LESS_THAN_MINIMUM_AD_GROUP_CPC = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_MINIMUM_AD_GROUP_CPC")
|
1053
|
+
MONEY_AMOUNT_LESS_THAN_MINIMUM_CRITERIA_CPC = BudgetErrorReason.new("MONEY_AMOUNT_LESS_THAN_MINIMUM_CRITERIA_CPC")
|
1054
|
+
MONEY_AMOUNT_TOO_LARGE = BudgetErrorReason.new("MONEY_AMOUNT_TOO_LARGE")
|
1055
|
+
NEGATIVE_MONEY_AMOUNT = BudgetErrorReason.new("NEGATIVE_MONEY_AMOUNT")
|
1056
|
+
NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = BudgetErrorReason.new("NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT")
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignError.Reason
|
1060
|
+
class CampaignErrorReason < ::String
|
1061
|
+
AFTER_MAXIMUM_ALLOWABLE_DATE = CampaignErrorReason.new("AFTER_MAXIMUM_ALLOWABLE_DATE")
|
1062
|
+
CANNOT_CHANGE_CAMPAIGN_TYPE = CampaignErrorReason.new("CANNOT_CHANGE_CAMPAIGN_TYPE")
|
1063
|
+
CANNOT_GO_BACK_TO_INCOMPLETE = CampaignErrorReason.new("CANNOT_GO_BACK_TO_INCOMPLETE")
|
1064
|
+
CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = CampaignErrorReason.new("CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED")
|
1065
|
+
CANNOT_SET_ACCELERATED_DELIVERY_FOR_BUDGET_OPTIMIZER_CAMPAIGN = CampaignErrorReason.new("CANNOT_SET_ACCELERATED_DELIVERY_FOR_BUDGET_OPTIMIZER_CAMPAIGN")
|
1066
|
+
CANNOT_SET_DATE_TO_PAST = CampaignErrorReason.new("CANNOT_SET_DATE_TO_PAST")
|
1067
|
+
CANNOT_SET_POSITION_PREFERENCE_IF_NOT_SEARCH_TARGETED = CampaignErrorReason.new("CANNOT_SET_POSITION_PREFERENCE_IF_NOT_SEARCH_TARGETED")
|
1068
|
+
CURRENCY_NOT_VALID_FOR_ACCOUNT = CampaignErrorReason.new("CURRENCY_NOT_VALID_FOR_ACCOUNT")
|
1069
|
+
DUPLICATE_CAMPAIGN_NAME = CampaignErrorReason.new("DUPLICATE_CAMPAIGN_NAME")
|
1070
|
+
INCOMPATIBLE_CAMPAIGN_FIELD = CampaignErrorReason.new("INCOMPATIBLE_CAMPAIGN_FIELD")
|
1071
|
+
INVALID_AD_SERVING_OPTIMIZATION_STATUS = CampaignErrorReason.new("INVALID_AD_SERVING_OPTIMIZATION_STATUS")
|
1072
|
+
INVALID_CAMPAIGN_NAME = CampaignErrorReason.new("INVALID_CAMPAIGN_NAME")
|
1073
|
+
KEYWORD_QUOTA_EXCEEDED = CampaignErrorReason.new("KEYWORD_QUOTA_EXCEEDED")
|
1074
|
+
MAX_IMPRESSIONS_NOT_IN_RANGE = CampaignErrorReason.new("MAX_IMPRESSIONS_NOT_IN_RANGE")
|
1075
|
+
START_DATE_AFTER_END_DATE = CampaignErrorReason.new("START_DATE_AFTER_END_DATE")
|
1076
|
+
TIME_UNIT_NOT_SUPPORTED = CampaignErrorReason.new("TIME_UNIT_NOT_SUPPORTED")
|
1077
|
+
USE_BIDDING_TRANSITION_FIELD_INSTEAD_TO_SWITCH_BIDDING_STRATEGY = CampaignErrorReason.new("USE_BIDDING_TRANSITION_FIELD_INSTEAD_TO_SWITCH_BIDDING_STRATEGY")
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignStatus
|
1081
|
+
class CampaignStatus < ::String
|
1082
|
+
ACTIVE = CampaignStatus.new("ACTIVE")
|
1083
|
+
DELETED = CampaignStatus.new("DELETED")
|
1084
|
+
PAUSED = CampaignStatus.new("PAUSED")
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignType
|
1088
|
+
class CampaignType < ::String
|
1089
|
+
TV = CampaignType.new("TV")
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DatabaseError.Reason
|
1093
|
+
class DatabaseErrorReason < ::String
|
1094
|
+
CANNOT_LOAD_AD = DatabaseErrorReason.new("CANNOT_LOAD_AD")
|
1095
|
+
CANNOT_LOAD_ADGROUP = DatabaseErrorReason.new("CANNOT_LOAD_ADGROUP")
|
1096
|
+
CANNOT_LOAD_CAMPAIGN = DatabaseErrorReason.new("CANNOT_LOAD_CAMPAIGN")
|
1097
|
+
CANNOT_LOAD_CRITERION = DatabaseErrorReason.new("CANNOT_LOAD_CRITERION")
|
1098
|
+
CANNOT_LOAD_MEDIA = DatabaseErrorReason.new("CANNOT_LOAD_MEDIA")
|
1099
|
+
CONCURRENT_MODIFICATION = DatabaseErrorReason.new("CONCURRENT_MODIFICATION")
|
1100
|
+
PERMISSION_DENIED = DatabaseErrorReason.new("PERMISSION_DENIED")
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DistinctError.Reason
|
1104
|
+
class DistinctErrorReason < ::String
|
1105
|
+
DUPLICATE_ELEMENT = DistinctErrorReason.new("DUPLICATE_ELEMENT")
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NewEntityCreationError.Reason
|
1109
|
+
class NewEntityCreationErrorReason < ::String
|
1110
|
+
CANNOT_SET_ID_FOR_ADD = NewEntityCreationErrorReason.new("CANNOT_SET_ID_FOR_ADD")
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NotEmptyError.Reason
|
1114
|
+
class NotEmptyErrorReason < ::String
|
1115
|
+
EMPTY_LIST = NotEmptyErrorReason.new("EMPTY_LIST")
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NotWhitelistedError.Reason
|
1119
|
+
class NotWhitelistedErrorReason < ::String
|
1120
|
+
CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API")
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NullError.Reason
|
1124
|
+
class NullErrorReason < ::String
|
1125
|
+
NULL_CONTENT = NullErrorReason.new("NULL_CONTENT")
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}OperationAccessDenied.Reason
|
1129
|
+
class OperationAccessDeniedReason < ::String
|
1130
|
+
ACTION_NOT_PERMITTED = OperationAccessDeniedReason.new("ACTION_NOT_PERMITTED")
|
1131
|
+
ADD_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("ADD_OPERATION_NOT_PERMITTED")
|
1132
|
+
REMOVE_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("REMOVE_OPERATION_NOT_PERMITTED")
|
1133
|
+
SET_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("SET_OPERATION_NOT_PERMITTED")
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Operator
|
1137
|
+
class Operator < ::String
|
1138
|
+
ADD = Operator.new("ADD")
|
1139
|
+
REMOVE = Operator.new("REMOVE")
|
1140
|
+
SET = Operator.new("SET")
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}OperatorError.Reason
|
1144
|
+
class OperatorErrorReason < ::String
|
1145
|
+
OPERATOR_NOT_SUPPORTED = OperatorErrorReason.new("OPERATOR_NOT_SUPPORTED")
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}PricingModel
|
1149
|
+
class PricingModel < ::String
|
1150
|
+
CLICKS = PricingModel.new("CLICKS")
|
1151
|
+
CONVERSIONS = PricingModel.new("CONVERSIONS")
|
1152
|
+
IMPRESSIONS = PricingModel.new("IMPRESSIONS")
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}QuotaError.Reason
|
1156
|
+
class QuotaErrorReason < ::String
|
1157
|
+
TOO_MANY_ADGROUPS_PER_CAMPAIGN = QuotaErrorReason.new("TOO_MANY_ADGROUPS_PER_CAMPAIGN")
|
1158
|
+
TOO_MANY_CAMPAIGNS_PER_ACCOUNT = QuotaErrorReason.new("TOO_MANY_CAMPAIGNS_PER_ACCOUNT")
|
1159
|
+
TOO_MANY_CONVERSION_TYPES_PER_ACCOUNT = QuotaErrorReason.new("TOO_MANY_CONVERSION_TYPES_PER_ACCOUNT")
|
1160
|
+
TOO_MANY_KEYWORDS_PER_ADGROUP = QuotaErrorReason.new("TOO_MANY_KEYWORDS_PER_ADGROUP")
|
1161
|
+
TOO_MANY_KEYWORDS_PER_CAMPAIGN = QuotaErrorReason.new("TOO_MANY_KEYWORDS_PER_CAMPAIGN")
|
1162
|
+
TOO_MANY_KEYWORDS_PER_CUSTOMER = QuotaErrorReason.new("TOO_MANY_KEYWORDS_PER_CUSTOMER")
|
1163
|
+
TOO_MANY_SITES_PER_ADGROUP = QuotaErrorReason.new("TOO_MANY_SITES_PER_ADGROUP")
|
1164
|
+
TOO_MANY_SITES_PER_CAMPAIGN = QuotaErrorReason.new("TOO_MANY_SITES_PER_CAMPAIGN")
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}RangeError.Reason
|
1168
|
+
class RangeErrorReason < ::String
|
1169
|
+
TOO_HIGH = RangeErrorReason.new("TOO_HIGH")
|
1170
|
+
TOO_LOW = RangeErrorReason.new("TOO_LOW")
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ReadOnlyError.Reason
|
1174
|
+
class ReadOnlyErrorReason < ::String
|
1175
|
+
READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY")
|
1176
|
+
end
|
1177
|
+
|
1178
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}RequiredError.Reason
|
1179
|
+
class RequiredErrorReason < ::String
|
1180
|
+
REQUIRED = RequiredErrorReason.new("REQUIRED")
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ServingStatus
|
1184
|
+
class ServingStatus < ::String
|
1185
|
+
ENDED = ServingStatus.new("ENDED")
|
1186
|
+
NONE = ServingStatus.new("NONE")
|
1187
|
+
PENDING = ServingStatus.new("PENDING")
|
1188
|
+
SERVING = ServingStatus.new("SERVING")
|
1189
|
+
SUSPENDED = ServingStatus.new("SUSPENDED")
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Stats.Network
|
1193
|
+
class StatsNetwork < ::String
|
1194
|
+
ALL = StatsNetwork.new("ALL")
|
1195
|
+
CONTENT = StatsNetwork.new("CONTENT")
|
1196
|
+
CONTENT_KEYWORD_BID = StatsNetwork.new("CONTENT_KEYWORD_BID")
|
1197
|
+
CONTENT_PLACEMENT_BID = StatsNetwork.new("CONTENT_PLACEMENT_BID")
|
1198
|
+
GOOGLE_SEARCH = StatsNetwork.new("GOOGLE_SEARCH")
|
1199
|
+
SEARCH = StatsNetwork.new("SEARCH")
|
1200
|
+
SEARCH_NETWORK = StatsNetwork.new("SEARCH_NETWORK")
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}StatsQueryError.Reason
|
1204
|
+
class StatsQueryErrorReason < ::String
|
1205
|
+
DATE_NOT_IN_VALID_RANGE = StatsQueryErrorReason.new("DATE_NOT_IN_VALID_RANGE")
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}StringLengthError.Reason
|
1209
|
+
class StringLengthErrorReason < ::String
|
1210
|
+
TOO_LONG = StringLengthErrorReason.new("TOO_LONG")
|
1211
|
+
TOO_SHORT = StringLengthErrorReason.new("TOO_SHORT")
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}get
|
1215
|
+
# selector - AdWords::V200902::CampaignService::CampaignSelector
|
1216
|
+
class Get
|
1217
|
+
attr_accessor :selector
|
1218
|
+
|
1219
|
+
def initialize(selector = nil)
|
1220
|
+
@selector = selector
|
1221
|
+
end
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}getResponse
|
1225
|
+
# rval - AdWords::V200902::CampaignService::CampaignPage
|
1226
|
+
class GetResponse
|
1227
|
+
attr_accessor :rval
|
1228
|
+
|
1229
|
+
def initialize(rval = nil)
|
1230
|
+
@rval = rval
|
1231
|
+
end
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}mutate
|
1235
|
+
class Mutate < ::Array
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}mutateResponse
|
1239
|
+
# rval - AdWords::V200902::CampaignService::CampaignReturnValue
|
1240
|
+
class MutateResponse
|
1241
|
+
attr_accessor :rval
|
1242
|
+
|
1243
|
+
def initialize(rval = nil)
|
1244
|
+
@rval = rval
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
|
1249
|
+
end; end; end
|