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,968 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module AdWords; module V200902; module AdGroupService
|
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::AdGroupService::Date
|
24
|
+
# max - AdWords::V200902::AdGroupService::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::AdGroupService::Date
|
95
|
+
# endDate - AdWords::V200902::AdGroupService::Date
|
96
|
+
# network - AdWords::V200902::AdGroupService::StatsNetwork
|
97
|
+
# clicks - SOAP::SOAPLong
|
98
|
+
# impressions - SOAP::SOAPLong
|
99
|
+
# cost - AdWords::V200902::AdGroupService::Money
|
100
|
+
# averagePosition - SOAP::SOAPDouble
|
101
|
+
# averageCpc - AdWords::V200902::AdGroupService::Money
|
102
|
+
# averageCpm - AdWords::V200902::AdGroupService::Money
|
103
|
+
# ctr - SOAP::SOAPDouble
|
104
|
+
# conversions - SOAP::SOAPLong
|
105
|
+
# conversionRate - SOAP::SOAPDouble
|
106
|
+
# costPerConversion - AdWords::V200902::AdGroupService::Money
|
107
|
+
# conversionsManyPerClick - SOAP::SOAPLong
|
108
|
+
# conversionRateManyPerClick - SOAP::SOAPDouble
|
109
|
+
# costPerConversionManyPerClick - AdWords::V200902::AdGroupService::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::AdGroupService::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}AdGroupId
|
162
|
+
# id - SOAP::SOAPLong
|
163
|
+
# adGroupId_Type - SOAP::SOAPString
|
164
|
+
class AdGroupId
|
165
|
+
attr_accessor :id
|
166
|
+
attr_accessor :adGroupId_Type
|
167
|
+
|
168
|
+
def initialize(id = nil, adGroupId_Type = nil)
|
169
|
+
@id = id
|
170
|
+
@adGroupId_Type = adGroupId_Type
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Bid
|
175
|
+
# event - AdWords::V200902::AdGroupService::BidEvent
|
176
|
+
# amount - AdWords::V200902::AdGroupService::Money
|
177
|
+
class Bid
|
178
|
+
attr_accessor :event
|
179
|
+
attr_accessor :amount
|
180
|
+
|
181
|
+
def initialize(event = nil, amount = nil)
|
182
|
+
@event = event
|
183
|
+
@amount = amount
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}CampaignId
|
188
|
+
# id - SOAP::SOAPLong
|
189
|
+
# campaignId_Type - SOAP::SOAPString
|
190
|
+
class CampaignId
|
191
|
+
attr_accessor :id
|
192
|
+
attr_accessor :campaignId_Type
|
193
|
+
|
194
|
+
def initialize(id = nil, campaignId_Type = nil)
|
195
|
+
@id = id
|
196
|
+
@campaignId_Type = campaignId_Type
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroupBids
|
201
|
+
# abstract
|
202
|
+
# adGroupBids_Type - SOAP::SOAPString
|
203
|
+
class AdGroupBids
|
204
|
+
attr_accessor :adGroupBids_Type
|
205
|
+
|
206
|
+
def initialize(adGroupBids_Type = nil)
|
207
|
+
@adGroupBids_Type = adGroupBids_Type
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BudgetOptimizerAdGroupBids
|
212
|
+
# adGroupBids_Type - SOAP::SOAPString
|
213
|
+
# proxyKeywordMaxCpc - AdWords::V200902::AdGroupService::Bid
|
214
|
+
# proxySiteMaxCpc - AdWords::V200902::AdGroupService::Bid
|
215
|
+
class BudgetOptimizerAdGroupBids < AdGroupBids
|
216
|
+
attr_accessor :adGroupBids_Type
|
217
|
+
attr_accessor :proxyKeywordMaxCpc
|
218
|
+
attr_accessor :proxySiteMaxCpc
|
219
|
+
|
220
|
+
def initialize(adGroupBids_Type = nil, proxyKeywordMaxCpc = nil, proxySiteMaxCpc = nil)
|
221
|
+
@adGroupBids_Type = adGroupBids_Type
|
222
|
+
@proxyKeywordMaxCpc = proxyKeywordMaxCpc
|
223
|
+
@proxySiteMaxCpc = proxySiteMaxCpc
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ConversionOptimizerAdGroupBids
|
228
|
+
# adGroupBids_Type - SOAP::SOAPString
|
229
|
+
# targetCpa - AdWords::V200902::AdGroupService::Bid
|
230
|
+
class ConversionOptimizerAdGroupBids < AdGroupBids
|
231
|
+
attr_accessor :adGroupBids_Type
|
232
|
+
attr_accessor :targetCpa
|
233
|
+
|
234
|
+
def initialize(adGroupBids_Type = nil, targetCpa = nil)
|
235
|
+
@adGroupBids_Type = adGroupBids_Type
|
236
|
+
@targetCpa = targetCpa
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ManualCPCAdGroupBids
|
241
|
+
# adGroupBids_Type - SOAP::SOAPString
|
242
|
+
# keywordMaxCpc - AdWords::V200902::AdGroupService::Bid
|
243
|
+
# keywordContentMaxCpc - AdWords::V200902::AdGroupService::Bid
|
244
|
+
# siteMaxCpc - AdWords::V200902::AdGroupService::Bid
|
245
|
+
class ManualCPCAdGroupBids < AdGroupBids
|
246
|
+
attr_accessor :adGroupBids_Type
|
247
|
+
attr_accessor :keywordMaxCpc
|
248
|
+
attr_accessor :keywordContentMaxCpc
|
249
|
+
attr_accessor :siteMaxCpc
|
250
|
+
|
251
|
+
def initialize(adGroupBids_Type = nil, keywordMaxCpc = nil, keywordContentMaxCpc = nil, siteMaxCpc = nil)
|
252
|
+
@adGroupBids_Type = adGroupBids_Type
|
253
|
+
@keywordMaxCpc = keywordMaxCpc
|
254
|
+
@keywordContentMaxCpc = keywordContentMaxCpc
|
255
|
+
@siteMaxCpc = siteMaxCpc
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ManualCPMAdGroupBids
|
260
|
+
# adGroupBids_Type - SOAP::SOAPString
|
261
|
+
# maxCpm - AdWords::V200902::AdGroupService::Bid
|
262
|
+
class ManualCPMAdGroupBids < AdGroupBids
|
263
|
+
attr_accessor :adGroupBids_Type
|
264
|
+
attr_accessor :maxCpm
|
265
|
+
|
266
|
+
def initialize(adGroupBids_Type = nil, maxCpm = nil)
|
267
|
+
@adGroupBids_Type = adGroupBids_Type
|
268
|
+
@maxCpm = maxCpm
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroupSelector
|
273
|
+
# campaignId - AdWords::V200902::AdGroupService::CampaignId
|
274
|
+
# adGroupIds - AdWords::V200902::AdGroupService::AdGroupId
|
275
|
+
# statsSelector - AdWords::V200902::AdGroupService::StatsSelector
|
276
|
+
# paging - AdWords::V200902::AdGroupService::Paging
|
277
|
+
class AdGroupSelector
|
278
|
+
attr_accessor :campaignId
|
279
|
+
attr_accessor :adGroupIds
|
280
|
+
attr_accessor :statsSelector
|
281
|
+
attr_accessor :paging
|
282
|
+
|
283
|
+
def initialize(campaignId = nil, adGroupIds = [], statsSelector = nil, paging = nil)
|
284
|
+
@campaignId = campaignId
|
285
|
+
@adGroupIds = adGroupIds
|
286
|
+
@statsSelector = statsSelector
|
287
|
+
@paging = paging
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ApiError
|
292
|
+
# abstract
|
293
|
+
# fieldPath - SOAP::SOAPString
|
294
|
+
# trigger - SOAP::SOAPString
|
295
|
+
# apiError_Type - SOAP::SOAPString
|
296
|
+
class ApiError
|
297
|
+
attr_accessor :fieldPath
|
298
|
+
attr_accessor :trigger
|
299
|
+
attr_accessor :apiError_Type
|
300
|
+
|
301
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil)
|
302
|
+
@fieldPath = fieldPath
|
303
|
+
@trigger = trigger
|
304
|
+
@apiError_Type = apiError_Type
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroupServiceError
|
309
|
+
# fieldPath - SOAP::SOAPString
|
310
|
+
# trigger - SOAP::SOAPString
|
311
|
+
# apiError_Type - SOAP::SOAPString
|
312
|
+
# reason - AdWords::V200902::AdGroupService::AdGroupServiceErrorReason
|
313
|
+
class AdGroupServiceError < ApiError
|
314
|
+
attr_accessor :fieldPath
|
315
|
+
attr_accessor :trigger
|
316
|
+
attr_accessor :apiError_Type
|
317
|
+
attr_accessor :reason
|
318
|
+
|
319
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
320
|
+
@fieldPath = fieldPath
|
321
|
+
@trigger = trigger
|
322
|
+
@apiError_Type = apiError_Type
|
323
|
+
@reason = reason
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AuthorizationError
|
328
|
+
# fieldPath - SOAP::SOAPString
|
329
|
+
# trigger - SOAP::SOAPString
|
330
|
+
# apiError_Type - SOAP::SOAPString
|
331
|
+
# reason - AdWords::V200902::AdGroupService::AuthorizationErrorReason
|
332
|
+
class AuthorizationError < ApiError
|
333
|
+
attr_accessor :fieldPath
|
334
|
+
attr_accessor :trigger
|
335
|
+
attr_accessor :apiError_Type
|
336
|
+
attr_accessor :reason
|
337
|
+
|
338
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
339
|
+
@fieldPath = fieldPath
|
340
|
+
@trigger = trigger
|
341
|
+
@apiError_Type = apiError_Type
|
342
|
+
@reason = reason
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BiddingError
|
347
|
+
# fieldPath - SOAP::SOAPString
|
348
|
+
# trigger - SOAP::SOAPString
|
349
|
+
# apiError_Type - SOAP::SOAPString
|
350
|
+
# reason - AdWords::V200902::AdGroupService::BiddingErrorReason
|
351
|
+
class BiddingError < ApiError
|
352
|
+
attr_accessor :fieldPath
|
353
|
+
attr_accessor :trigger
|
354
|
+
attr_accessor :apiError_Type
|
355
|
+
attr_accessor :reason
|
356
|
+
|
357
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
358
|
+
@fieldPath = fieldPath
|
359
|
+
@trigger = trigger
|
360
|
+
@apiError_Type = apiError_Type
|
361
|
+
@reason = reason
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DatabaseError
|
366
|
+
# fieldPath - SOAP::SOAPString
|
367
|
+
# trigger - SOAP::SOAPString
|
368
|
+
# apiError_Type - SOAP::SOAPString
|
369
|
+
# reason - AdWords::V200902::AdGroupService::DatabaseErrorReason
|
370
|
+
class DatabaseError < ApiError
|
371
|
+
attr_accessor :fieldPath
|
372
|
+
attr_accessor :trigger
|
373
|
+
attr_accessor :apiError_Type
|
374
|
+
attr_accessor :reason
|
375
|
+
|
376
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
377
|
+
@fieldPath = fieldPath
|
378
|
+
@trigger = trigger
|
379
|
+
@apiError_Type = apiError_Type
|
380
|
+
@reason = reason
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DistinctError
|
385
|
+
# fieldPath - SOAP::SOAPString
|
386
|
+
# trigger - SOAP::SOAPString
|
387
|
+
# apiError_Type - SOAP::SOAPString
|
388
|
+
# reason - AdWords::V200902::AdGroupService::DistinctErrorReason
|
389
|
+
class DistinctError < ApiError
|
390
|
+
attr_accessor :fieldPath
|
391
|
+
attr_accessor :trigger
|
392
|
+
attr_accessor :apiError_Type
|
393
|
+
attr_accessor :reason
|
394
|
+
|
395
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
396
|
+
@fieldPath = fieldPath
|
397
|
+
@trigger = trigger
|
398
|
+
@apiError_Type = apiError_Type
|
399
|
+
@reason = reason
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NewEntityCreationError
|
404
|
+
# fieldPath - SOAP::SOAPString
|
405
|
+
# trigger - SOAP::SOAPString
|
406
|
+
# apiError_Type - SOAP::SOAPString
|
407
|
+
# reason - AdWords::V200902::AdGroupService::NewEntityCreationErrorReason
|
408
|
+
class NewEntityCreationError < ApiError
|
409
|
+
attr_accessor :fieldPath
|
410
|
+
attr_accessor :trigger
|
411
|
+
attr_accessor :apiError_Type
|
412
|
+
attr_accessor :reason
|
413
|
+
|
414
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
415
|
+
@fieldPath = fieldPath
|
416
|
+
@trigger = trigger
|
417
|
+
@apiError_Type = apiError_Type
|
418
|
+
@reason = reason
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NotEmptyError
|
423
|
+
# fieldPath - SOAP::SOAPString
|
424
|
+
# trigger - SOAP::SOAPString
|
425
|
+
# apiError_Type - SOAP::SOAPString
|
426
|
+
# reason - AdWords::V200902::AdGroupService::NotEmptyErrorReason
|
427
|
+
class NotEmptyError < ApiError
|
428
|
+
attr_accessor :fieldPath
|
429
|
+
attr_accessor :trigger
|
430
|
+
attr_accessor :apiError_Type
|
431
|
+
attr_accessor :reason
|
432
|
+
|
433
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
434
|
+
@fieldPath = fieldPath
|
435
|
+
@trigger = trigger
|
436
|
+
@apiError_Type = apiError_Type
|
437
|
+
@reason = reason
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NotWhitelistedError
|
442
|
+
# fieldPath - SOAP::SOAPString
|
443
|
+
# trigger - SOAP::SOAPString
|
444
|
+
# apiError_Type - SOAP::SOAPString
|
445
|
+
# reason - AdWords::V200902::AdGroupService::NotWhitelistedErrorReason
|
446
|
+
class NotWhitelistedError < ApiError
|
447
|
+
attr_accessor :fieldPath
|
448
|
+
attr_accessor :trigger
|
449
|
+
attr_accessor :apiError_Type
|
450
|
+
attr_accessor :reason
|
451
|
+
|
452
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
453
|
+
@fieldPath = fieldPath
|
454
|
+
@trigger = trigger
|
455
|
+
@apiError_Type = apiError_Type
|
456
|
+
@reason = reason
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NullError
|
461
|
+
# fieldPath - SOAP::SOAPString
|
462
|
+
# trigger - SOAP::SOAPString
|
463
|
+
# apiError_Type - SOAP::SOAPString
|
464
|
+
# reason - AdWords::V200902::AdGroupService::NullErrorReason
|
465
|
+
class NullError < ApiError
|
466
|
+
attr_accessor :fieldPath
|
467
|
+
attr_accessor :trigger
|
468
|
+
attr_accessor :apiError_Type
|
469
|
+
attr_accessor :reason
|
470
|
+
|
471
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
472
|
+
@fieldPath = fieldPath
|
473
|
+
@trigger = trigger
|
474
|
+
@apiError_Type = apiError_Type
|
475
|
+
@reason = reason
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}OperationAccessDenied
|
480
|
+
# fieldPath - SOAP::SOAPString
|
481
|
+
# trigger - SOAP::SOAPString
|
482
|
+
# apiError_Type - SOAP::SOAPString
|
483
|
+
# reason - AdWords::V200902::AdGroupService::OperationAccessDeniedReason
|
484
|
+
class OperationAccessDenied < ApiError
|
485
|
+
attr_accessor :fieldPath
|
486
|
+
attr_accessor :trigger
|
487
|
+
attr_accessor :apiError_Type
|
488
|
+
attr_accessor :reason
|
489
|
+
|
490
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
491
|
+
@fieldPath = fieldPath
|
492
|
+
@trigger = trigger
|
493
|
+
@apiError_Type = apiError_Type
|
494
|
+
@reason = reason
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}OperatorError
|
499
|
+
# fieldPath - SOAP::SOAPString
|
500
|
+
# trigger - SOAP::SOAPString
|
501
|
+
# apiError_Type - SOAP::SOAPString
|
502
|
+
# reason - AdWords::V200902::AdGroupService::OperatorErrorReason
|
503
|
+
class OperatorError < ApiError
|
504
|
+
attr_accessor :fieldPath
|
505
|
+
attr_accessor :trigger
|
506
|
+
attr_accessor :apiError_Type
|
507
|
+
attr_accessor :reason
|
508
|
+
|
509
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
510
|
+
@fieldPath = fieldPath
|
511
|
+
@trigger = trigger
|
512
|
+
@apiError_Type = apiError_Type
|
513
|
+
@reason = reason
|
514
|
+
end
|
515
|
+
end
|
516
|
+
|
517
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}QuotaError
|
518
|
+
# fieldPath - SOAP::SOAPString
|
519
|
+
# trigger - SOAP::SOAPString
|
520
|
+
# apiError_Type - SOAP::SOAPString
|
521
|
+
# reason - AdWords::V200902::AdGroupService::QuotaErrorReason
|
522
|
+
# limit - SOAP::SOAPInt
|
523
|
+
class QuotaError < ApiError
|
524
|
+
attr_accessor :fieldPath
|
525
|
+
attr_accessor :trigger
|
526
|
+
attr_accessor :apiError_Type
|
527
|
+
attr_accessor :reason
|
528
|
+
attr_accessor :limit
|
529
|
+
|
530
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil, limit = nil)
|
531
|
+
@fieldPath = fieldPath
|
532
|
+
@trigger = trigger
|
533
|
+
@apiError_Type = apiError_Type
|
534
|
+
@reason = reason
|
535
|
+
@limit = limit
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ReadOnlyError
|
540
|
+
# fieldPath - SOAP::SOAPString
|
541
|
+
# trigger - SOAP::SOAPString
|
542
|
+
# apiError_Type - SOAP::SOAPString
|
543
|
+
# reason - AdWords::V200902::AdGroupService::ReadOnlyErrorReason
|
544
|
+
class ReadOnlyError < ApiError
|
545
|
+
attr_accessor :fieldPath
|
546
|
+
attr_accessor :trigger
|
547
|
+
attr_accessor :apiError_Type
|
548
|
+
attr_accessor :reason
|
549
|
+
|
550
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
551
|
+
@fieldPath = fieldPath
|
552
|
+
@trigger = trigger
|
553
|
+
@apiError_Type = apiError_Type
|
554
|
+
@reason = reason
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}RequiredError
|
559
|
+
# fieldPath - SOAP::SOAPString
|
560
|
+
# trigger - SOAP::SOAPString
|
561
|
+
# apiError_Type - SOAP::SOAPString
|
562
|
+
# reason - AdWords::V200902::AdGroupService::RequiredErrorReason
|
563
|
+
class RequiredError < ApiError
|
564
|
+
attr_accessor :fieldPath
|
565
|
+
attr_accessor :trigger
|
566
|
+
attr_accessor :apiError_Type
|
567
|
+
attr_accessor :reason
|
568
|
+
|
569
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
570
|
+
@fieldPath = fieldPath
|
571
|
+
@trigger = trigger
|
572
|
+
@apiError_Type = apiError_Type
|
573
|
+
@reason = reason
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}StatsQueryError
|
578
|
+
# fieldPath - SOAP::SOAPString
|
579
|
+
# trigger - SOAP::SOAPString
|
580
|
+
# apiError_Type - SOAP::SOAPString
|
581
|
+
# reason - AdWords::V200902::AdGroupService::StatsQueryErrorReason
|
582
|
+
class StatsQueryError < ApiError
|
583
|
+
attr_accessor :fieldPath
|
584
|
+
attr_accessor :trigger
|
585
|
+
attr_accessor :apiError_Type
|
586
|
+
attr_accessor :reason
|
587
|
+
|
588
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
589
|
+
@fieldPath = fieldPath
|
590
|
+
@trigger = trigger
|
591
|
+
@apiError_Type = apiError_Type
|
592
|
+
@reason = reason
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ApplicationException
|
597
|
+
# message - SOAP::SOAPString
|
598
|
+
# applicationException_Type - SOAP::SOAPString
|
599
|
+
class ApplicationException
|
600
|
+
attr_accessor :message
|
601
|
+
attr_accessor :applicationException_Type
|
602
|
+
|
603
|
+
def initialize(message = nil, applicationException_Type = nil)
|
604
|
+
@message = message
|
605
|
+
@applicationException_Type = applicationException_Type
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
609
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ApiException
|
610
|
+
# message - SOAP::SOAPString
|
611
|
+
# applicationException_Type - SOAP::SOAPString
|
612
|
+
# errors - AdWords::V200902::AdGroupService::ApiError
|
613
|
+
class ApiException < ApplicationException
|
614
|
+
attr_accessor :message
|
615
|
+
attr_accessor :applicationException_Type
|
616
|
+
attr_accessor :errors
|
617
|
+
|
618
|
+
def initialize(message = nil, applicationException_Type = nil, errors = [])
|
619
|
+
@message = message
|
620
|
+
@applicationException_Type = applicationException_Type
|
621
|
+
@errors = errors
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroup
|
626
|
+
# id - AdWords::V200902::AdGroupService::AdGroupId
|
627
|
+
# campaignId - AdWords::V200902::AdGroupService::CampaignId
|
628
|
+
# campaignName - SOAP::SOAPString
|
629
|
+
# name - SOAP::SOAPString
|
630
|
+
# status - AdWords::V200902::AdGroupService::AdGroupStatus
|
631
|
+
# bids - AdWords::V200902::AdGroupService::AdGroupBids
|
632
|
+
# stats - AdWords::V200902::AdGroupService::Stats
|
633
|
+
class AdGroup
|
634
|
+
attr_accessor :id
|
635
|
+
attr_accessor :campaignId
|
636
|
+
attr_accessor :campaignName
|
637
|
+
attr_accessor :name
|
638
|
+
attr_accessor :status
|
639
|
+
attr_accessor :bids
|
640
|
+
attr_accessor :stats
|
641
|
+
|
642
|
+
def initialize(id = nil, campaignId = nil, campaignName = nil, name = nil, status = nil, bids = nil, stats = nil)
|
643
|
+
@id = id
|
644
|
+
@campaignId = campaignId
|
645
|
+
@campaignName = campaignName
|
646
|
+
@name = name
|
647
|
+
@status = status
|
648
|
+
@bids = bids
|
649
|
+
@stats = stats
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
653
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Operation
|
654
|
+
# abstract
|
655
|
+
# operator - AdWords::V200902::AdGroupService::Operator
|
656
|
+
# operation_Type - SOAP::SOAPString
|
657
|
+
class Operation
|
658
|
+
attr_accessor :operator
|
659
|
+
attr_accessor :operation_Type
|
660
|
+
|
661
|
+
def initialize(operator = nil, operation_Type = nil)
|
662
|
+
@operator = operator
|
663
|
+
@operation_Type = operation_Type
|
664
|
+
end
|
665
|
+
end
|
666
|
+
|
667
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroupOperation
|
668
|
+
# operator - AdWords::V200902::AdGroupService::Operator
|
669
|
+
# operation_Type - SOAP::SOAPString
|
670
|
+
# operand - AdWords::V200902::AdGroupService::AdGroup
|
671
|
+
class AdGroupOperation < Operation
|
672
|
+
attr_accessor :operator
|
673
|
+
attr_accessor :operation_Type
|
674
|
+
attr_accessor :operand
|
675
|
+
|
676
|
+
def initialize(operator = nil, operation_Type = nil, operand = nil)
|
677
|
+
@operator = operator
|
678
|
+
@operation_Type = operation_Type
|
679
|
+
@operand = operand
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Page
|
684
|
+
# abstract
|
685
|
+
# totalNumEntries - SOAP::SOAPInt
|
686
|
+
# page_Type - SOAP::SOAPString
|
687
|
+
class Page
|
688
|
+
attr_accessor :totalNumEntries
|
689
|
+
attr_accessor :page_Type
|
690
|
+
|
691
|
+
def initialize(totalNumEntries = nil, page_Type = nil)
|
692
|
+
@totalNumEntries = totalNumEntries
|
693
|
+
@page_Type = page_Type
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroupPage
|
698
|
+
# totalNumEntries - SOAP::SOAPInt
|
699
|
+
# page_Type - SOAP::SOAPString
|
700
|
+
# entries - AdWords::V200902::AdGroupService::AdGroup
|
701
|
+
class AdGroupPage < Page
|
702
|
+
attr_accessor :totalNumEntries
|
703
|
+
attr_accessor :page_Type
|
704
|
+
attr_accessor :entries
|
705
|
+
|
706
|
+
def initialize(totalNumEntries = nil, page_Type = nil, entries = [])
|
707
|
+
@totalNumEntries = totalNumEntries
|
708
|
+
@page_Type = page_Type
|
709
|
+
@entries = entries
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ListReturnValue
|
714
|
+
# listReturnValue_Type - SOAP::SOAPString
|
715
|
+
class ListReturnValue
|
716
|
+
attr_accessor :listReturnValue_Type
|
717
|
+
|
718
|
+
def initialize(listReturnValue_Type = nil)
|
719
|
+
@listReturnValue_Type = listReturnValue_Type
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
723
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroupReturnValue
|
724
|
+
# listReturnValue_Type - SOAP::SOAPString
|
725
|
+
# value - AdWords::V200902::AdGroupService::AdGroup
|
726
|
+
class AdGroupReturnValue < ListReturnValue
|
727
|
+
attr_accessor :listReturnValue_Type
|
728
|
+
attr_accessor :value
|
729
|
+
|
730
|
+
def initialize(listReturnValue_Type = nil, value = [])
|
731
|
+
@listReturnValue_Type = listReturnValue_Type
|
732
|
+
@value = value
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroup.Status
|
737
|
+
class AdGroupStatus < ::String
|
738
|
+
DELETED = AdGroupStatus.new("DELETED")
|
739
|
+
ENABLED = AdGroupStatus.new("ENABLED")
|
740
|
+
PAUSED = AdGroupStatus.new("PAUSED")
|
741
|
+
end
|
742
|
+
|
743
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AdGroupServiceError.Reason
|
744
|
+
class AdGroupServiceErrorReason < ::String
|
745
|
+
ADGROUP_CAMPAIGN_MISMATCH = AdGroupServiceErrorReason.new("ADGROUP_CAMPAIGN_MISMATCH")
|
746
|
+
ADVERTISER_NOT_ON_CONTENT_NETWORK = AdGroupServiceErrorReason.new("ADVERTISER_NOT_ON_CONTENT_NETWORK")
|
747
|
+
BIDS_NOT_REQUIRED = AdGroupServiceErrorReason.new("BIDS_NOT_REQUIRED")
|
748
|
+
BID_EXCEEDS_AUTO_BUDGET = AdGroupServiceErrorReason.new("BID_EXCEEDS_AUTO_BUDGET")
|
749
|
+
BID_EXCEEDS_CUSTOM_BUDGET = AdGroupServiceErrorReason.new("BID_EXCEEDS_CUSTOM_BUDGET")
|
750
|
+
BID_EXCEEDS_DAILY_BUDGET = AdGroupServiceErrorReason.new("BID_EXCEEDS_DAILY_BUDGET")
|
751
|
+
BID_EXCEEDS_MONTHLY_BUDGET = AdGroupServiceErrorReason.new("BID_EXCEEDS_MONTHLY_BUDGET")
|
752
|
+
BID_TOO_BIG = AdGroupServiceErrorReason.new("BID_TOO_BIG")
|
753
|
+
BID_TOO_SMALL = AdGroupServiceErrorReason.new("BID_TOO_SMALL")
|
754
|
+
BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = AdGroupServiceErrorReason.new("BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH")
|
755
|
+
DUPLICATE_ADGROUP_NAME = AdGroupServiceErrorReason.new("DUPLICATE_ADGROUP_NAME")
|
756
|
+
ILLEGAL_MANUAL_BID = AdGroupServiceErrorReason.new("ILLEGAL_MANUAL_BID")
|
757
|
+
INCOMPATIBLE_WITH_KEYWORD_AND_SITE_VBB = AdGroupServiceErrorReason.new("INCOMPATIBLE_WITH_KEYWORD_AND_SITE_VBB")
|
758
|
+
INCOMPATIBLE_WITH_KEYWORD_CPC = AdGroupServiceErrorReason.new("INCOMPATIBLE_WITH_KEYWORD_CPC")
|
759
|
+
INCOMPATIBLE_WITH_KEYWORD_CPC_AND_SITE_CPC = AdGroupServiceErrorReason.new("INCOMPATIBLE_WITH_KEYWORD_CPC_AND_SITE_CPC")
|
760
|
+
INCOMPATIBLE_WITH_KEYWORD_CPM = AdGroupServiceErrorReason.new("INCOMPATIBLE_WITH_KEYWORD_CPM")
|
761
|
+
INCOMPATIBLE_WITH_KEYWORD_CPM_AND_SITE_CPM = AdGroupServiceErrorReason.new("INCOMPATIBLE_WITH_KEYWORD_CPM_AND_SITE_CPM")
|
762
|
+
INCOMPATIBLE_WITH_SITE_CPC = AdGroupServiceErrorReason.new("INCOMPATIBLE_WITH_SITE_CPC")
|
763
|
+
INCOMPATIBLE_WITH_SITE_CPM = AdGroupServiceErrorReason.new("INCOMPATIBLE_WITH_SITE_CPM")
|
764
|
+
INCOMPATIBLE_WITH_SITE_VBB = AdGroupServiceErrorReason.new("INCOMPATIBLE_WITH_SITE_VBB")
|
765
|
+
INCOMPATIBLE_WITH_VBB = AdGroupServiceErrorReason.new("INCOMPATIBLE_WITH_VBB")
|
766
|
+
INVALID_ADGROUP_ID = AdGroupServiceErrorReason.new("INVALID_ADGROUP_ID")
|
767
|
+
INVALID_ADGROUP_NAME = AdGroupServiceErrorReason.new("INVALID_ADGROUP_NAME")
|
768
|
+
INVALID_BID = AdGroupServiceErrorReason.new("INVALID_BID")
|
769
|
+
MISSING_ADGROUP_NAME = AdGroupServiceErrorReason.new("MISSING_ADGROUP_NAME")
|
770
|
+
MISSING_BID = AdGroupServiceErrorReason.new("MISSING_BID")
|
771
|
+
MULTIPLE_BID_TYPES = AdGroupServiceErrorReason.new("MULTIPLE_BID_TYPES")
|
772
|
+
NOT_WHITELISTED_FOR_SITE_CPC = AdGroupServiceErrorReason.new("NOT_WHITELISTED_FOR_SITE_CPC")
|
773
|
+
NO_CAMPAIGN_BUDGET = AdGroupServiceErrorReason.new("NO_CAMPAIGN_BUDGET")
|
774
|
+
SEPARATE_CONTENT_BIDS_INAPPLICABLE = AdGroupServiceErrorReason.new("SEPARATE_CONTENT_BIDS_INAPPLICABLE")
|
775
|
+
SEPARATE_CONTENT_BIDS_NOT_ENABLED = AdGroupServiceErrorReason.new("SEPARATE_CONTENT_BIDS_NOT_ENABLED")
|
776
|
+
TOO_MANY_FRACTION_DIGITS = AdGroupServiceErrorReason.new("TOO_MANY_FRACTION_DIGITS")
|
777
|
+
USE_SET_OPERATOR_AND_MARK_STATUS_TO_DELETED = AdGroupServiceErrorReason.new("USE_SET_OPERATOR_AND_MARK_STATUS_TO_DELETED")
|
778
|
+
end
|
779
|
+
|
780
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}AuthorizationError.Reason
|
781
|
+
class AuthorizationErrorReason < ::String
|
782
|
+
EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED")
|
783
|
+
NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER")
|
784
|
+
UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE")
|
785
|
+
USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED")
|
786
|
+
end
|
787
|
+
|
788
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Bid.Event
|
789
|
+
class BidEvent < ::String
|
790
|
+
CLICK = BidEvent.new("CLICK")
|
791
|
+
CONVERSION = BidEvent.new("CONVERSION")
|
792
|
+
THOUSAND_IMPRESSIONS = BidEvent.new("THOUSAND_IMPRESSIONS")
|
793
|
+
VIDEO_PLAY = BidEvent.new("VIDEO_PLAY")
|
794
|
+
end
|
795
|
+
|
796
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}BiddingError.Reason
|
797
|
+
class BiddingErrorReason < ::String
|
798
|
+
ADGROUPS_DO_NOT_MATCH_CONSTRAINT = BiddingErrorReason.new("ADGROUPS_DO_NOT_MATCH_CONSTRAINT")
|
799
|
+
AUCTION_STRATEGY_INCOMPATIBLE_WITH_PROXY_BIDDER = BiddingErrorReason.new("AUCTION_STRATEGY_INCOMPATIBLE_WITH_PROXY_BIDDER")
|
800
|
+
BAD_BID_COMBINATION = BiddingErrorReason.new("BAD_BID_COMBINATION")
|
801
|
+
BIDS_DO_NOT_FULFILL_SPEC = BiddingErrorReason.new("BIDS_DO_NOT_FULFILL_SPEC")
|
802
|
+
BID_AMOUNT_REQUIRED = BiddingErrorReason.new("BID_AMOUNT_REQUIRED")
|
803
|
+
BID_EVENT_MISMATCH = BiddingErrorReason.new("BID_EVENT_MISMATCH")
|
804
|
+
BID_EVENT_REQUIRED = BiddingErrorReason.new("BID_EVENT_REQUIRED")
|
805
|
+
BID_INCOMPATIBLE_WITH_ADGROUP = BiddingErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")
|
806
|
+
BID_TO_POSITION_NOT_ENABLED = BiddingErrorReason.new("BID_TO_POSITION_NOT_ENABLED")
|
807
|
+
BID_UNIVERSAL_CRITERIA_EXPECTED = BiddingErrorReason.new("BID_UNIVERSAL_CRITERIA_EXPECTED")
|
808
|
+
BOTTOM_POSITION_OUT_OF_RANGE = BiddingErrorReason.new("BOTTOM_POSITION_OUT_OF_RANGE")
|
809
|
+
CAMPAIGN_ALREADY_SET = BiddingErrorReason.new("CAMPAIGN_ALREADY_SET")
|
810
|
+
CAMPAIGN_MUST_HAVE_A_BUDGET_TO_ENABLE_BUDGET_OPTIMIZER = BiddingErrorReason.new("CAMPAIGN_MUST_HAVE_A_BUDGET_TO_ENABLE_BUDGET_OPTIMIZER")
|
811
|
+
CANNOT_EXCLUDE_DEFAULT = BiddingErrorReason.new("CANNOT_EXCLUDE_DEFAULT")
|
812
|
+
CANNOT_TARGET_AND_EXCLUDE = BiddingErrorReason.new("CANNOT_TARGET_AND_EXCLUDE")
|
813
|
+
CANNOT_TARGET_UNIVERSE = BiddingErrorReason.new("CANNOT_TARGET_UNIVERSE")
|
814
|
+
CANNOT_UPDATE_SITE_BIDS_WHILE_PROXY_BIDDING = BiddingErrorReason.new("CANNOT_UPDATE_SITE_BIDS_WHILE_PROXY_BIDDING")
|
815
|
+
CRITERION_NOT_TARGETED = BiddingErrorReason.new("CRITERION_NOT_TARGETED")
|
816
|
+
CURRENCY_MISMATCH = BiddingErrorReason.new("CURRENCY_MISMATCH")
|
817
|
+
GOAL_DOES_NOT_FULFILL_SPEC = BiddingErrorReason.new("GOAL_DOES_NOT_FULFILL_SPEC")
|
818
|
+
GOAL_VALIDATION_FAILED = BiddingErrorReason.new("GOAL_VALIDATION_FAILED")
|
819
|
+
ILLEGAL_URL = BiddingErrorReason.new("ILLEGAL_URL")
|
820
|
+
MUST_EXCLUDE_0_TO_17_WITH_OTHER_AGE_EXCLUSIONS = BiddingErrorReason.new("MUST_EXCLUDE_0_TO_17_WITH_OTHER_AGE_EXCLUSIONS")
|
821
|
+
NETWORK_NOT_OVERRIDEABLE = BiddingErrorReason.new("NETWORK_NOT_OVERRIDEABLE")
|
822
|
+
NETWORK_SETTINGS_DO_NOT_SUPPORT_TRANSITION = BiddingErrorReason.new("NETWORK_SETTINGS_DO_NOT_SUPPORT_TRANSITION")
|
823
|
+
NON_POSITIVE_BID = BiddingErrorReason.new("NON_POSITIVE_BID")
|
824
|
+
NO_DESTINATION_URL_SPECIFIED = BiddingErrorReason.new("NO_DESTINATION_URL_SPECIFIED")
|
825
|
+
NO_EFFECTIVE_BID = BiddingErrorReason.new("NO_EFFECTIVE_BID")
|
826
|
+
POSITION_PREFERENCE_NOT_ENABLED = BiddingErrorReason.new("POSITION_PREFERENCE_NOT_ENABLED")
|
827
|
+
POSITION_PREFERENCE_NOT_SUPPORTED_FOR_CRITERIA_TYPE = BiddingErrorReason.new("POSITION_PREFERENCE_NOT_SUPPORTED_FOR_CRITERIA_TYPE")
|
828
|
+
PREFERRED_POSITION_CANNOT_BE_HIGHER_THAN_BOTTOM = BiddingErrorReason.new("PREFERRED_POSITION_CANNOT_BE_HIGHER_THAN_BOTTOM")
|
829
|
+
PREFERRED_POSITION_OUT_OF_RANGE = BiddingErrorReason.new("PREFERRED_POSITION_OUT_OF_RANGE")
|
830
|
+
PROXY_BIDDER_STRATEGY_INCOMPATIBLE_WITH_STYLE = BiddingErrorReason.new("PROXY_BIDDER_STRATEGY_INCOMPATIBLE_WITH_STYLE")
|
831
|
+
PROXY_NOT_ENABLED = BiddingErrorReason.new("PROXY_NOT_ENABLED")
|
832
|
+
TRANSITION_DOES_NOT_SUPPORT_GOAL = BiddingErrorReason.new("TRANSITION_DOES_NOT_SUPPORT_GOAL")
|
833
|
+
TRANSITION_DOES_NOT_SUPPORT_OPTION = BiddingErrorReason.new("TRANSITION_DOES_NOT_SUPPORT_OPTION")
|
834
|
+
UNSUPPORTED_PROXY_BIDDER_STRATEGY_TRANSITION = BiddingErrorReason.new("UNSUPPORTED_PROXY_BIDDER_STRATEGY_TRANSITION")
|
835
|
+
UNSUPPORTED_STYLE = BiddingErrorReason.new("UNSUPPORTED_STYLE")
|
836
|
+
UNSUPPORTED_STYLE_TRANSITION = BiddingErrorReason.new("UNSUPPORTED_STYLE_TRANSITION")
|
837
|
+
end
|
838
|
+
|
839
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DatabaseError.Reason
|
840
|
+
class DatabaseErrorReason < ::String
|
841
|
+
CANNOT_LOAD_AD = DatabaseErrorReason.new("CANNOT_LOAD_AD")
|
842
|
+
CANNOT_LOAD_ADGROUP = DatabaseErrorReason.new("CANNOT_LOAD_ADGROUP")
|
843
|
+
CANNOT_LOAD_CAMPAIGN = DatabaseErrorReason.new("CANNOT_LOAD_CAMPAIGN")
|
844
|
+
CANNOT_LOAD_CRITERION = DatabaseErrorReason.new("CANNOT_LOAD_CRITERION")
|
845
|
+
CANNOT_LOAD_MEDIA = DatabaseErrorReason.new("CANNOT_LOAD_MEDIA")
|
846
|
+
CONCURRENT_MODIFICATION = DatabaseErrorReason.new("CONCURRENT_MODIFICATION")
|
847
|
+
PERMISSION_DENIED = DatabaseErrorReason.new("PERMISSION_DENIED")
|
848
|
+
end
|
849
|
+
|
850
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}DistinctError.Reason
|
851
|
+
class DistinctErrorReason < ::String
|
852
|
+
DUPLICATE_ELEMENT = DistinctErrorReason.new("DUPLICATE_ELEMENT")
|
853
|
+
end
|
854
|
+
|
855
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NewEntityCreationError.Reason
|
856
|
+
class NewEntityCreationErrorReason < ::String
|
857
|
+
CANNOT_SET_ID_FOR_ADD = NewEntityCreationErrorReason.new("CANNOT_SET_ID_FOR_ADD")
|
858
|
+
end
|
859
|
+
|
860
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NotEmptyError.Reason
|
861
|
+
class NotEmptyErrorReason < ::String
|
862
|
+
EMPTY_LIST = NotEmptyErrorReason.new("EMPTY_LIST")
|
863
|
+
end
|
864
|
+
|
865
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NotWhitelistedError.Reason
|
866
|
+
class NotWhitelistedErrorReason < ::String
|
867
|
+
CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API")
|
868
|
+
end
|
869
|
+
|
870
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}NullError.Reason
|
871
|
+
class NullErrorReason < ::String
|
872
|
+
NULL_CONTENT = NullErrorReason.new("NULL_CONTENT")
|
873
|
+
end
|
874
|
+
|
875
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}OperationAccessDenied.Reason
|
876
|
+
class OperationAccessDeniedReason < ::String
|
877
|
+
ACTION_NOT_PERMITTED = OperationAccessDeniedReason.new("ACTION_NOT_PERMITTED")
|
878
|
+
ADD_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("ADD_OPERATION_NOT_PERMITTED")
|
879
|
+
REMOVE_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("REMOVE_OPERATION_NOT_PERMITTED")
|
880
|
+
SET_OPERATION_NOT_PERMITTED = OperationAccessDeniedReason.new("SET_OPERATION_NOT_PERMITTED")
|
881
|
+
end
|
882
|
+
|
883
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Operator
|
884
|
+
class Operator < ::String
|
885
|
+
ADD = Operator.new("ADD")
|
886
|
+
REMOVE = Operator.new("REMOVE")
|
887
|
+
SET = Operator.new("SET")
|
888
|
+
end
|
889
|
+
|
890
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}OperatorError.Reason
|
891
|
+
class OperatorErrorReason < ::String
|
892
|
+
OPERATOR_NOT_SUPPORTED = OperatorErrorReason.new("OPERATOR_NOT_SUPPORTED")
|
893
|
+
end
|
894
|
+
|
895
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}QuotaError.Reason
|
896
|
+
class QuotaErrorReason < ::String
|
897
|
+
TOO_MANY_ADGROUPS_PER_CAMPAIGN = QuotaErrorReason.new("TOO_MANY_ADGROUPS_PER_CAMPAIGN")
|
898
|
+
TOO_MANY_CAMPAIGNS_PER_ACCOUNT = QuotaErrorReason.new("TOO_MANY_CAMPAIGNS_PER_ACCOUNT")
|
899
|
+
TOO_MANY_CONVERSION_TYPES_PER_ACCOUNT = QuotaErrorReason.new("TOO_MANY_CONVERSION_TYPES_PER_ACCOUNT")
|
900
|
+
TOO_MANY_KEYWORDS_PER_ADGROUP = QuotaErrorReason.new("TOO_MANY_KEYWORDS_PER_ADGROUP")
|
901
|
+
TOO_MANY_KEYWORDS_PER_CAMPAIGN = QuotaErrorReason.new("TOO_MANY_KEYWORDS_PER_CAMPAIGN")
|
902
|
+
TOO_MANY_KEYWORDS_PER_CUSTOMER = QuotaErrorReason.new("TOO_MANY_KEYWORDS_PER_CUSTOMER")
|
903
|
+
TOO_MANY_SITES_PER_ADGROUP = QuotaErrorReason.new("TOO_MANY_SITES_PER_ADGROUP")
|
904
|
+
TOO_MANY_SITES_PER_CAMPAIGN = QuotaErrorReason.new("TOO_MANY_SITES_PER_CAMPAIGN")
|
905
|
+
end
|
906
|
+
|
907
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}ReadOnlyError.Reason
|
908
|
+
class ReadOnlyErrorReason < ::String
|
909
|
+
READ_ONLY = ReadOnlyErrorReason.new("READ_ONLY")
|
910
|
+
end
|
911
|
+
|
912
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}RequiredError.Reason
|
913
|
+
class RequiredErrorReason < ::String
|
914
|
+
REQUIRED = RequiredErrorReason.new("REQUIRED")
|
915
|
+
end
|
916
|
+
|
917
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}Stats.Network
|
918
|
+
class StatsNetwork < ::String
|
919
|
+
ALL = StatsNetwork.new("ALL")
|
920
|
+
CONTENT = StatsNetwork.new("CONTENT")
|
921
|
+
CONTENT_KEYWORD_BID = StatsNetwork.new("CONTENT_KEYWORD_BID")
|
922
|
+
CONTENT_PLACEMENT_BID = StatsNetwork.new("CONTENT_PLACEMENT_BID")
|
923
|
+
GOOGLE_SEARCH = StatsNetwork.new("GOOGLE_SEARCH")
|
924
|
+
SEARCH = StatsNetwork.new("SEARCH")
|
925
|
+
SEARCH_NETWORK = StatsNetwork.new("SEARCH_NETWORK")
|
926
|
+
end
|
927
|
+
|
928
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}StatsQueryError.Reason
|
929
|
+
class StatsQueryErrorReason < ::String
|
930
|
+
DATE_NOT_IN_VALID_RANGE = StatsQueryErrorReason.new("DATE_NOT_IN_VALID_RANGE")
|
931
|
+
end
|
932
|
+
|
933
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}get
|
934
|
+
# adGroupSelector - AdWords::V200902::AdGroupService::AdGroupSelector
|
935
|
+
class Get
|
936
|
+
attr_accessor :adGroupSelector
|
937
|
+
|
938
|
+
def initialize(adGroupSelector = nil)
|
939
|
+
@adGroupSelector = adGroupSelector
|
940
|
+
end
|
941
|
+
end
|
942
|
+
|
943
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}getResponse
|
944
|
+
# rval - AdWords::V200902::AdGroupService::AdGroupPage
|
945
|
+
class GetResponse
|
946
|
+
attr_accessor :rval
|
947
|
+
|
948
|
+
def initialize(rval = nil)
|
949
|
+
@rval = rval
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
953
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}mutate
|
954
|
+
class Mutate < ::Array
|
955
|
+
end
|
956
|
+
|
957
|
+
# {https://adwords.google.com/api/adwords/cm/v200902}mutateResponse
|
958
|
+
# rval - AdWords::V200902::AdGroupService::AdGroupReturnValue
|
959
|
+
class MutateResponse
|
960
|
+
attr_accessor :rval
|
961
|
+
|
962
|
+
def initialize(rval = nil)
|
963
|
+
@rval = rval
|
964
|
+
end
|
965
|
+
end
|
966
|
+
|
967
|
+
|
968
|
+
end; end; end
|