google-adwords-api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/Rakefile +1 -1
  2. data/examples/v201101/add_conversion.rb +97 -0
  3. data/examples/v201101/add_user_list.rb +28 -2
  4. data/examples/v201101/get_all_conversions.rb +88 -0
  5. data/examples/v201101/get_keyword_opportunities.rb +103 -0
  6. data/examples/v201101/update_conversion.rb +96 -0
  7. data/lib/adwords_api/api_config.rb +6 -3
  8. data/lib/adwords_api/errors.rb +4 -1
  9. data/lib/adwords_api/extensions.rb +1 -1
  10. data/lib/adwords_api/v13/AccountServiceDriver.rb +5 -5
  11. data/lib/adwords_api/v13/ReportServiceDriver.rb +7 -7
  12. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +4 -4
  13. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +2 -2
  14. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +2 -2
  15. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +506 -506
  16. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +2 -2
  17. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +428 -428
  18. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +2 -2
  19. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +2 -2
  20. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +2 -2
  21. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +2 -2
  22. data/lib/adwords_api/v200909/CampaignCriterionService.rb +133 -133
  23. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +2 -2
  24. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +184 -184
  25. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +2 -2
  26. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +2 -2
  27. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +1 -1
  28. data/lib/adwords_api/v200909/InfoServiceDriver.rb +1 -1
  29. data/lib/adwords_api/v200909/TargetingIdeaService.rb +907 -907
  30. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +2 -2
  31. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +384 -384
  32. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +2 -2
  33. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +2 -2
  34. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +527 -527
  35. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +2 -2
  36. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +469 -469
  37. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +2 -2
  38. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +2 -2
  39. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +1 -1
  40. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +2 -2
  41. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +2 -2
  42. data/lib/adwords_api/v201003/CampaignCriterionService.rb +133 -133
  43. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +2 -2
  44. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +186 -186
  45. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +2 -2
  46. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +2 -2
  47. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +1 -1
  48. data/lib/adwords_api/v201003/InfoServiceDriver.rb +1 -1
  49. data/lib/adwords_api/v201003/MediaServiceDriver.rb +2 -2
  50. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +3 -3
  51. data/lib/adwords_api/v201003/TargetingIdeaService.rb +1304 -1304
  52. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +2 -2
  53. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +401 -401
  54. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +2 -2
  55. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +2 -2
  56. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +598 -598
  57. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +2 -2
  58. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +680 -680
  59. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +2 -2
  60. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +2 -2
  61. data/lib/adwords_api/v201008/AlertServiceDriver.rb +1 -1
  62. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +1 -1
  63. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +2 -2
  64. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +2 -2
  65. data/lib/adwords_api/v201008/CampaignCriterionService.rb +178 -178
  66. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +2 -2
  67. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +228 -228
  68. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +2 -2
  69. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +2 -2
  70. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +1 -1
  71. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +2 -2
  72. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +1 -1
  73. data/lib/adwords_api/v201008/InfoServiceDriver.rb +1 -1
  74. data/lib/adwords_api/v201008/MediaServiceDriver.rb +2 -2
  75. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +3 -3
  76. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +1 -1
  77. data/lib/adwords_api/v201008/TargetingIdeaService.rb +1459 -1459
  78. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +2 -2
  79. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +447 -447
  80. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +855 -855
  81. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +1 -1
  82. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  83. data/lib/adwords_api/v201008/UserListServiceDriver.rb +2 -2
  84. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +2 -2
  85. data/lib/adwords_api/v201101/AdGroupAdService.rb +2 -0
  86. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +2 -2
  87. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +700 -700
  88. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +2 -2
  89. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +670 -670
  90. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +2 -2
  91. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +2 -2
  92. data/lib/adwords_api/v201101/AlertServiceDriver.rb +1 -1
  93. data/lib/adwords_api/v201101/BulkMutateJobService.rb +2 -0
  94. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +2 -2
  95. data/lib/adwords_api/v201101/BulkOpportunityService.rb +1367 -0
  96. data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +55 -0
  97. data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +1668 -0
  98. data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +303 -0
  99. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +2 -2
  100. data/lib/adwords_api/v201101/CampaignCriterionService.rb +216 -216
  101. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +2 -2
  102. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +234 -234
  103. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +2 -2
  104. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +2 -2
  105. data/lib/adwords_api/v201101/ConversionTrackerService.rb +1105 -0
  106. data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +63 -0
  107. data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +1161 -0
  108. data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +332 -0
  109. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +1 -1
  110. data/lib/adwords_api/v201101/DataServiceDriver.rb +2 -2
  111. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +2 -2
  112. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +1 -1
  113. data/lib/adwords_api/v201101/InfoServiceDriver.rb +1 -1
  114. data/lib/adwords_api/v201101/MediaServiceDriver.rb +2 -2
  115. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +3 -3
  116. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +14 -0
  117. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +1 -1
  118. data/lib/adwords_api/v201101/TargetingIdeaService.rb +1490 -1490
  119. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +2 -2
  120. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +507 -507
  121. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +841 -841
  122. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +1 -1
  123. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  124. data/lib/adwords_api/v201101/UserListServiceDriver.rb +2 -2
  125. metadata +17 -5
@@ -31,456 +31,438 @@ class Address
31
31
  end
32
32
  end
33
33
 
34
- # GeoPoint
35
- # - latitudeInMicroDegrees - SOAP::SOAPInt
36
- # - longitudeInMicroDegrees - SOAP::SOAPInt
37
- class GeoPoint
38
- attr_accessor :latitudeInMicroDegrees
39
- attr_accessor :longitudeInMicroDegrees
34
+ # ApiError
35
+ # abstract
36
+ # - fieldPath - SOAP::SOAPString
37
+ # - trigger - SOAP::SOAPString
38
+ # - errorString - SOAP::SOAPString
39
+ # - apiError_Type - SOAP::SOAPString
40
+ class ApiError
41
+ attr_accessor :fieldPath
42
+ attr_accessor :trigger
43
+ attr_accessor :errorString
44
+ attr_accessor :apiError_Type
40
45
 
41
- def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
42
- @latitudeInMicroDegrees = latitudeInMicroDegrees
43
- @longitudeInMicroDegrees = longitudeInMicroDegrees
46
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
47
+ @fieldPath = fieldPath
48
+ @trigger = trigger
49
+ @errorString = errorString
50
+ @apiError_Type = apiError_Type
44
51
  end
45
52
  end
46
53
 
47
- # ProductConditionOperand
48
- # - operand - SOAP::SOAPString
49
- class ProductConditionOperand
50
- attr_accessor :operand
54
+ # AuthenticationError
55
+ # - fieldPath - SOAP::SOAPString
56
+ # - trigger - SOAP::SOAPString
57
+ # - errorString - SOAP::SOAPString
58
+ # - apiError_Type - SOAP::SOAPString
59
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::AuthenticationErrorReason
60
+ class AuthenticationError < ApiError
61
+ attr_accessor :fieldPath
62
+ attr_accessor :trigger
63
+ attr_accessor :errorString
64
+ attr_accessor :apiError_Type
65
+ attr_accessor :reason
51
66
 
52
- def initialize(operand = nil)
53
- @operand = operand
67
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
68
+ @fieldPath = fieldPath
69
+ @trigger = trigger
70
+ @errorString = errorString
71
+ @apiError_Type = apiError_Type
72
+ @reason = reason
54
73
  end
55
74
  end
56
75
 
57
- # SoapHeader
58
- # - authToken - SOAP::SOAPString
59
- # - clientCustomerId - SOAP::SOAPString
60
- # - clientEmail - SOAP::SOAPString
61
- # - developerToken - SOAP::SOAPString
62
- # - userAgent - SOAP::SOAPString
63
- # - validateOnly - SOAP::SOAPBoolean
64
- # - partialFailure - SOAP::SOAPBoolean
65
- class SoapHeader
66
- attr_accessor :authToken
67
- attr_accessor :clientCustomerId
68
- attr_accessor :clientEmail
69
- attr_accessor :developerToken
70
- attr_accessor :userAgent
71
- attr_accessor :validateOnly
72
- attr_accessor :partialFailure
76
+ # AuthorizationError
77
+ # - fieldPath - SOAP::SOAPString
78
+ # - trigger - SOAP::SOAPString
79
+ # - errorString - SOAP::SOAPString
80
+ # - apiError_Type - SOAP::SOAPString
81
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::AuthorizationErrorReason
82
+ class AuthorizationError < ApiError
83
+ attr_accessor :fieldPath
84
+ attr_accessor :trigger
85
+ attr_accessor :errorString
86
+ attr_accessor :apiError_Type
87
+ attr_accessor :reason
73
88
 
74
- def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
75
- @authToken = authToken
76
- @clientCustomerId = clientCustomerId
77
- @clientEmail = clientEmail
78
- @developerToken = developerToken
79
- @userAgent = userAgent
80
- @validateOnly = validateOnly
81
- @partialFailure = partialFailure
89
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
90
+ @fieldPath = fieldPath
91
+ @trigger = trigger
92
+ @errorString = errorString
93
+ @apiError_Type = apiError_Type
94
+ @reason = reason
82
95
  end
83
96
  end
84
97
 
85
- # SoapResponseHeader
86
- # - requestId - SOAP::SOAPString
87
- # - operations - SOAP::SOAPLong
88
- # - responseTime - SOAP::SOAPLong
89
- # - units - SOAP::SOAPLong
90
- class SoapResponseHeader
91
- attr_accessor :requestId
92
- attr_accessor :operations
93
- attr_accessor :responseTime
94
- attr_accessor :units
98
+ # ClientTermsError
99
+ # - fieldPath - SOAP::SOAPString
100
+ # - trigger - SOAP::SOAPString
101
+ # - errorString - SOAP::SOAPString
102
+ # - apiError_Type - SOAP::SOAPString
103
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::ClientTermsErrorReason
104
+ class ClientTermsError < ApiError
105
+ attr_accessor :fieldPath
106
+ attr_accessor :trigger
107
+ attr_accessor :errorString
108
+ attr_accessor :apiError_Type
109
+ attr_accessor :reason
95
110
 
96
- def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
97
- @requestId = requestId
98
- @operations = operations
99
- @responseTime = responseTime
100
- @units = units
111
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
112
+ @fieldPath = fieldPath
113
+ @trigger = trigger
114
+ @errorString = errorString
115
+ @apiError_Type = apiError_Type
116
+ @reason = reason
101
117
  end
102
118
  end
103
119
 
104
- # ComparableValue
105
- # abstract
106
- # - comparableValue_Type - SOAP::SOAPString
107
- class ComparableValue
108
- attr_accessor :comparableValue_Type
120
+ # DatabaseError
121
+ # - fieldPath - SOAP::SOAPString
122
+ # - trigger - SOAP::SOAPString
123
+ # - errorString - SOAP::SOAPString
124
+ # - apiError_Type - SOAP::SOAPString
125
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::DatabaseErrorReason
126
+ class DatabaseError < ApiError
127
+ attr_accessor :fieldPath
128
+ attr_accessor :trigger
129
+ attr_accessor :errorString
130
+ attr_accessor :apiError_Type
131
+ attr_accessor :reason
109
132
 
110
- def initialize(comparableValue_Type = nil)
111
- @comparableValue_Type = comparableValue_Type
133
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
134
+ @fieldPath = fieldPath
135
+ @trigger = trigger
136
+ @errorString = errorString
137
+ @apiError_Type = apiError_Type
138
+ @reason = reason
112
139
  end
113
140
  end
114
141
 
115
- # Money
116
- # - comparableValue_Type - SOAP::SOAPString
117
- # - microAmount - SOAP::SOAPLong
118
- class Money < ComparableValue
119
- attr_accessor :comparableValue_Type
120
- attr_accessor :microAmount
142
+ # DateError
143
+ # - fieldPath - SOAP::SOAPString
144
+ # - trigger - SOAP::SOAPString
145
+ # - errorString - SOAP::SOAPString
146
+ # - apiError_Type - SOAP::SOAPString
147
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::DateErrorReason
148
+ class DateError < ApiError
149
+ attr_accessor :fieldPath
150
+ attr_accessor :trigger
151
+ attr_accessor :errorString
152
+ attr_accessor :apiError_Type
153
+ attr_accessor :reason
121
154
 
122
- def initialize(comparableValue_Type = nil, microAmount = nil)
123
- @comparableValue_Type = comparableValue_Type
124
- @microAmount = microAmount
155
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
156
+ @fieldPath = fieldPath
157
+ @trigger = trigger
158
+ @errorString = errorString
159
+ @apiError_Type = apiError_Type
160
+ @reason = reason
125
161
  end
126
162
  end
127
163
 
128
- # NumberValue
129
- # abstract
130
- # - comparableValue_Type - SOAP::SOAPString
131
- class NumberValue < ComparableValue
132
- attr_accessor :comparableValue_Type
164
+ # DistinctError
165
+ # - fieldPath - SOAP::SOAPString
166
+ # - trigger - SOAP::SOAPString
167
+ # - errorString - SOAP::SOAPString
168
+ # - apiError_Type - SOAP::SOAPString
169
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::DistinctErrorReason
170
+ class DistinctError < ApiError
171
+ attr_accessor :fieldPath
172
+ attr_accessor :trigger
173
+ attr_accessor :errorString
174
+ attr_accessor :apiError_Type
175
+ attr_accessor :reason
133
176
 
134
- def initialize(comparableValue_Type = nil)
135
- @comparableValue_Type = comparableValue_Type
177
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
178
+ @fieldPath = fieldPath
179
+ @trigger = trigger
180
+ @errorString = errorString
181
+ @apiError_Type = apiError_Type
182
+ @reason = reason
136
183
  end
137
184
  end
138
185
 
139
- # DoubleValue
140
- # - comparableValue_Type - SOAP::SOAPString
141
- # - number - SOAP::SOAPDouble
142
- class DoubleValue < NumberValue
143
- attr_accessor :comparableValue_Type
144
- attr_accessor :number
186
+ # EntityAccessDenied
187
+ # - fieldPath - SOAP::SOAPString
188
+ # - trigger - SOAP::SOAPString
189
+ # - errorString - SOAP::SOAPString
190
+ # - apiError_Type - SOAP::SOAPString
191
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::EntityAccessDeniedReason
192
+ class EntityAccessDenied < ApiError
193
+ attr_accessor :fieldPath
194
+ attr_accessor :trigger
195
+ attr_accessor :errorString
196
+ attr_accessor :apiError_Type
197
+ attr_accessor :reason
145
198
 
146
- def initialize(comparableValue_Type = nil, number = nil)
147
- @comparableValue_Type = comparableValue_Type
148
- @number = number
199
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
200
+ @fieldPath = fieldPath
201
+ @trigger = trigger
202
+ @errorString = errorString
203
+ @apiError_Type = apiError_Type
204
+ @reason = reason
149
205
  end
150
206
  end
151
207
 
152
- # LongValue
153
- # - comparableValue_Type - SOAP::SOAPString
154
- # - number - SOAP::SOAPLong
155
- class LongValue < NumberValue
156
- attr_accessor :comparableValue_Type
157
- attr_accessor :number
208
+ # EntityNotFound
209
+ # - fieldPath - SOAP::SOAPString
210
+ # - trigger - SOAP::SOAPString
211
+ # - errorString - SOAP::SOAPString
212
+ # - apiError_Type - SOAP::SOAPString
213
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::EntityNotFoundReason
214
+ class EntityNotFound < ApiError
215
+ attr_accessor :fieldPath
216
+ attr_accessor :trigger
217
+ attr_accessor :errorString
218
+ attr_accessor :apiError_Type
219
+ attr_accessor :reason
158
220
 
159
- def initialize(comparableValue_Type = nil, number = nil)
160
- @comparableValue_Type = comparableValue_Type
161
- @number = number
221
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
222
+ @fieldPath = fieldPath
223
+ @trigger = trigger
224
+ @errorString = errorString
225
+ @apiError_Type = apiError_Type
226
+ @reason = reason
162
227
  end
163
228
  end
164
229
 
165
- # ProductCondition
166
- # - argument - SOAP::SOAPString
167
- # - operand - AdwordsApi::V201101::TrafficEstimatorService::ProductConditionOperand
168
- class ProductCondition
169
- attr_accessor :argument
170
- attr_accessor :operand
230
+ # IdError
231
+ # - fieldPath - SOAP::SOAPString
232
+ # - trigger - SOAP::SOAPString
233
+ # - errorString - SOAP::SOAPString
234
+ # - apiError_Type - SOAP::SOAPString
235
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::IdErrorReason
236
+ class IdError < ApiError
237
+ attr_accessor :fieldPath
238
+ attr_accessor :trigger
239
+ attr_accessor :errorString
240
+ attr_accessor :apiError_Type
241
+ attr_accessor :reason
171
242
 
172
- def initialize(argument = nil, operand = nil)
173
- @argument = argument
174
- @operand = operand
243
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
244
+ @fieldPath = fieldPath
245
+ @trigger = trigger
246
+ @errorString = errorString
247
+ @apiError_Type = apiError_Type
248
+ @reason = reason
175
249
  end
176
250
  end
177
251
 
178
- # Target
179
- # abstract
180
- # - target_Type - SOAP::SOAPString
181
- class Target
182
- attr_accessor :target_Type
252
+ # InternalApiError
253
+ # - fieldPath - SOAP::SOAPString
254
+ # - trigger - SOAP::SOAPString
255
+ # - errorString - SOAP::SOAPString
256
+ # - apiError_Type - SOAP::SOAPString
257
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::InternalApiErrorReason
258
+ class InternalApiError < ApiError
259
+ attr_accessor :fieldPath
260
+ attr_accessor :trigger
261
+ attr_accessor :errorString
262
+ attr_accessor :apiError_Type
263
+ attr_accessor :reason
183
264
 
184
- def initialize(target_Type = nil)
185
- @target_Type = target_Type
265
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
266
+ @fieldPath = fieldPath
267
+ @trigger = trigger
268
+ @errorString = errorString
269
+ @apiError_Type = apiError_Type
270
+ @reason = reason
186
271
  end
187
272
  end
188
273
 
189
- # AdScheduleTarget
190
- # - target_Type - SOAP::SOAPString
191
- # - dayOfWeek - AdwordsApi::V201101::TrafficEstimatorService::DayOfWeek
192
- # - startHour - SOAP::SOAPInt
193
- # - startMinute - AdwordsApi::V201101::TrafficEstimatorService::MinuteOfHour
194
- # - endHour - SOAP::SOAPInt
195
- # - endMinute - AdwordsApi::V201101::TrafficEstimatorService::MinuteOfHour
196
- # - bidMultiplier - SOAP::SOAPDouble
197
- class AdScheduleTarget < Target
198
- attr_accessor :target_Type
199
- attr_accessor :dayOfWeek
200
- attr_accessor :startHour
201
- attr_accessor :startMinute
202
- attr_accessor :endHour
203
- attr_accessor :endMinute
204
- attr_accessor :bidMultiplier
274
+ # NotEmptyError
275
+ # - fieldPath - SOAP::SOAPString
276
+ # - trigger - SOAP::SOAPString
277
+ # - errorString - SOAP::SOAPString
278
+ # - apiError_Type - SOAP::SOAPString
279
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::NotEmptyErrorReason
280
+ class NotEmptyError < ApiError
281
+ attr_accessor :fieldPath
282
+ attr_accessor :trigger
283
+ attr_accessor :errorString
284
+ attr_accessor :apiError_Type
285
+ attr_accessor :reason
205
286
 
206
- def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
207
- @target_Type = target_Type
208
- @dayOfWeek = dayOfWeek
209
- @startHour = startHour
210
- @startMinute = startMinute
211
- @endHour = endHour
212
- @endMinute = endMinute
213
- @bidMultiplier = bidMultiplier
287
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
288
+ @fieldPath = fieldPath
289
+ @trigger = trigger
290
+ @errorString = errorString
291
+ @apiError_Type = apiError_Type
292
+ @reason = reason
214
293
  end
215
294
  end
216
295
 
217
- # LanguageTarget
218
- # - target_Type - SOAP::SOAPString
219
- # - languageCode - SOAP::SOAPString
220
- class LanguageTarget < Target
221
- attr_accessor :target_Type
222
- attr_accessor :languageCode
296
+ # NotWhitelistedError
297
+ # - fieldPath - SOAP::SOAPString
298
+ # - trigger - SOAP::SOAPString
299
+ # - errorString - SOAP::SOAPString
300
+ # - apiError_Type - SOAP::SOAPString
301
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::NotWhitelistedErrorReason
302
+ class NotWhitelistedError < ApiError
303
+ attr_accessor :fieldPath
304
+ attr_accessor :trigger
305
+ attr_accessor :errorString
306
+ attr_accessor :apiError_Type
307
+ attr_accessor :reason
223
308
 
224
- def initialize(target_Type = nil, languageCode = nil)
225
- @target_Type = target_Type
226
- @languageCode = languageCode
309
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
310
+ @fieldPath = fieldPath
311
+ @trigger = trigger
312
+ @errorString = errorString
313
+ @apiError_Type = apiError_Type
314
+ @reason = reason
227
315
  end
228
316
  end
229
317
 
230
- # MobileTarget
231
- # abstract
232
- # - target_Type - SOAP::SOAPString
233
- class MobileTarget < Target
234
- attr_accessor :target_Type
318
+ # NullError
319
+ # - fieldPath - SOAP::SOAPString
320
+ # - trigger - SOAP::SOAPString
321
+ # - errorString - SOAP::SOAPString
322
+ # - apiError_Type - SOAP::SOAPString
323
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::NullErrorReason
324
+ class NullError < ApiError
325
+ attr_accessor :fieldPath
326
+ attr_accessor :trigger
327
+ attr_accessor :errorString
328
+ attr_accessor :apiError_Type
329
+ attr_accessor :reason
235
330
 
236
- def initialize(target_Type = nil)
237
- @target_Type = target_Type
331
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
332
+ @fieldPath = fieldPath
333
+ @trigger = trigger
334
+ @errorString = errorString
335
+ @apiError_Type = apiError_Type
336
+ @reason = reason
238
337
  end
239
338
  end
240
339
 
241
- # MobileCarrierTarget
242
- # - target_Type - SOAP::SOAPString
243
- # - carrierName - SOAP::SOAPString
244
- # - countryCode - SOAP::SOAPString
245
- class MobileCarrierTarget < MobileTarget
246
- attr_accessor :target_Type
247
- attr_accessor :carrierName
248
- attr_accessor :countryCode
340
+ # OperationAccessDenied
341
+ # - fieldPath - SOAP::SOAPString
342
+ # - trigger - SOAP::SOAPString
343
+ # - errorString - SOAP::SOAPString
344
+ # - apiError_Type - SOAP::SOAPString
345
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::OperationAccessDeniedReason
346
+ class OperationAccessDenied < ApiError
347
+ attr_accessor :fieldPath
348
+ attr_accessor :trigger
349
+ attr_accessor :errorString
350
+ attr_accessor :apiError_Type
351
+ attr_accessor :reason
249
352
 
250
- def initialize(target_Type = nil, carrierName = nil, countryCode = nil)
251
- @target_Type = target_Type
252
- @carrierName = carrierName
253
- @countryCode = countryCode
353
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
354
+ @fieldPath = fieldPath
355
+ @trigger = trigger
356
+ @errorString = errorString
357
+ @apiError_Type = apiError_Type
358
+ @reason = reason
254
359
  end
255
360
  end
256
361
 
257
- # MobilePlatformTarget
258
- # - target_Type - SOAP::SOAPString
259
- # - platformName - SOAP::SOAPString
260
- class MobilePlatformTarget < MobileTarget
261
- attr_accessor :target_Type
262
- attr_accessor :platformName
362
+ # OperatorError
363
+ # - fieldPath - SOAP::SOAPString
364
+ # - trigger - SOAP::SOAPString
365
+ # - errorString - SOAP::SOAPString
366
+ # - apiError_Type - SOAP::SOAPString
367
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::OperatorErrorReason
368
+ class OperatorError < ApiError
369
+ attr_accessor :fieldPath
370
+ attr_accessor :trigger
371
+ attr_accessor :errorString
372
+ attr_accessor :apiError_Type
373
+ attr_accessor :reason
263
374
 
264
- def initialize(target_Type = nil, platformName = nil)
265
- @target_Type = target_Type
266
- @platformName = platformName
375
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
376
+ @fieldPath = fieldPath
377
+ @trigger = trigger
378
+ @errorString = errorString
379
+ @apiError_Type = apiError_Type
380
+ @reason = reason
267
381
  end
268
382
  end
269
383
 
270
- # PlatformTarget
271
- # - target_Type - SOAP::SOAPString
272
- # - platformType - AdwordsApi::V201101::TrafficEstimatorService::PlatformType
273
- class PlatformTarget < Target
274
- attr_accessor :target_Type
275
- attr_accessor :platformType
384
+ # QuotaCheckError
385
+ # - fieldPath - SOAP::SOAPString
386
+ # - trigger - SOAP::SOAPString
387
+ # - errorString - SOAP::SOAPString
388
+ # - apiError_Type - SOAP::SOAPString
389
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::QuotaCheckErrorReason
390
+ class QuotaCheckError < ApiError
391
+ attr_accessor :fieldPath
392
+ attr_accessor :trigger
393
+ attr_accessor :errorString
394
+ attr_accessor :apiError_Type
395
+ attr_accessor :reason
276
396
 
277
- def initialize(target_Type = nil, platformType = nil)
278
- @target_Type = target_Type
279
- @platformType = platformType
397
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
398
+ @fieldPath = fieldPath
399
+ @trigger = trigger
400
+ @errorString = errorString
401
+ @apiError_Type = apiError_Type
402
+ @reason = reason
280
403
  end
281
404
  end
282
405
 
283
- # DemographicTarget
284
- # abstract
285
- # - target_Type - SOAP::SOAPString
286
- # - bidModifier - SOAP::SOAPInt
287
- class DemographicTarget < Target
288
- attr_accessor :target_Type
289
- attr_accessor :bidModifier
290
-
291
- def initialize(target_Type = nil, bidModifier = nil)
292
- @target_Type = target_Type
293
- @bidModifier = bidModifier
294
- end
295
- end
406
+ # RangeError
407
+ # - fieldPath - SOAP::SOAPString
408
+ # - trigger - SOAP::SOAPString
409
+ # - errorString - SOAP::SOAPString
410
+ # - apiError_Type - SOAP::SOAPString
411
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::RangeErrorReason
412
+ class C_RangeError < ApiError
413
+ attr_accessor :fieldPath
414
+ attr_accessor :trigger
415
+ attr_accessor :errorString
416
+ attr_accessor :apiError_Type
417
+ attr_accessor :reason
296
418
 
297
- # AgeTarget
298
- # - target_Type - SOAP::SOAPString
299
- # - bidModifier - SOAP::SOAPInt
300
- # - age - AdwordsApi::V201101::TrafficEstimatorService::AgeTargetAge
301
- class AgeTarget < DemographicTarget
302
- attr_accessor :target_Type
303
- attr_accessor :bidModifier
304
- attr_accessor :age
305
-
306
- def initialize(target_Type = nil, bidModifier = nil, age = nil)
307
- @target_Type = target_Type
308
- @bidModifier = bidModifier
309
- @age = age
310
- end
311
- end
312
-
313
- # GenderTarget
314
- # - target_Type - SOAP::SOAPString
315
- # - bidModifier - SOAP::SOAPInt
316
- # - gender - AdwordsApi::V201101::TrafficEstimatorService::GenderTargetGender
317
- class GenderTarget < DemographicTarget
318
- attr_accessor :target_Type
319
- attr_accessor :bidModifier
320
- attr_accessor :gender
321
-
322
- def initialize(target_Type = nil, bidModifier = nil, gender = nil)
323
- @target_Type = target_Type
324
- @bidModifier = bidModifier
325
- @gender = gender
326
- end
327
- end
328
-
329
- # GeoTarget
330
- # abstract
331
- # - target_Type - SOAP::SOAPString
332
- # - excluded - SOAP::SOAPBoolean
333
- class GeoTarget < Target
334
- attr_accessor :target_Type
335
- attr_accessor :excluded
336
-
337
- def initialize(target_Type = nil, excluded = nil)
338
- @target_Type = target_Type
339
- @excluded = excluded
340
- end
341
- end
342
-
343
- # CityTarget
344
- # - target_Type - SOAP::SOAPString
345
- # - excluded - SOAP::SOAPBoolean
346
- # - cityName - SOAP::SOAPString
347
- # - provinceCode - SOAP::SOAPString
348
- # - countryCode - SOAP::SOAPString
349
- class CityTarget < GeoTarget
350
- attr_accessor :target_Type
351
- attr_accessor :excluded
352
- attr_accessor :cityName
353
- attr_accessor :provinceCode
354
- attr_accessor :countryCode
355
-
356
- def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
357
- @target_Type = target_Type
358
- @excluded = excluded
359
- @cityName = cityName
360
- @provinceCode = provinceCode
361
- @countryCode = countryCode
362
- end
363
- end
364
-
365
- # CountryTarget
366
- # - target_Type - SOAP::SOAPString
367
- # - excluded - SOAP::SOAPBoolean
368
- # - countryCode - SOAP::SOAPString
369
- class CountryTarget < GeoTarget
370
- attr_accessor :target_Type
371
- attr_accessor :excluded
372
- attr_accessor :countryCode
373
-
374
- def initialize(target_Type = nil, excluded = nil, countryCode = nil)
375
- @target_Type = target_Type
376
- @excluded = excluded
377
- @countryCode = countryCode
378
- end
379
- end
380
-
381
- # MetroTarget
382
- # - target_Type - SOAP::SOAPString
383
- # - excluded - SOAP::SOAPBoolean
384
- # - metroCode - SOAP::SOAPString
385
- class MetroTarget < GeoTarget
386
- attr_accessor :target_Type
387
- attr_accessor :excluded
388
- attr_accessor :metroCode
389
-
390
- def initialize(target_Type = nil, excluded = nil, metroCode = nil)
391
- @target_Type = target_Type
392
- @excluded = excluded
393
- @metroCode = metroCode
394
- end
395
- end
396
-
397
- # PolygonTarget
398
- # - target_Type - SOAP::SOAPString
399
- # - excluded - SOAP::SOAPBoolean
400
- # - vertices - AdwordsApi::V201101::TrafficEstimatorService::GeoPoint
401
- class PolygonTarget < GeoTarget
402
- attr_accessor :target_Type
403
- attr_accessor :excluded
404
- attr_accessor :vertices
405
-
406
- def initialize(target_Type = nil, excluded = nil, vertices = [])
407
- @target_Type = target_Type
408
- @excluded = excluded
409
- @vertices = vertices
410
- end
411
- end
412
-
413
- # ProvinceTarget
414
- # - target_Type - SOAP::SOAPString
415
- # - excluded - SOAP::SOAPBoolean
416
- # - provinceCode - SOAP::SOAPString
417
- class ProvinceTarget < GeoTarget
418
- attr_accessor :target_Type
419
- attr_accessor :excluded
420
- attr_accessor :provinceCode
421
-
422
- def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
423
- @target_Type = target_Type
424
- @excluded = excluded
425
- @provinceCode = provinceCode
426
- end
427
- end
428
-
429
- # ProximityTarget
430
- # - target_Type - SOAP::SOAPString
431
- # - excluded - SOAP::SOAPBoolean
432
- # - geoPoint - AdwordsApi::V201101::TrafficEstimatorService::GeoPoint
433
- # - radiusDistanceUnits - AdwordsApi::V201101::TrafficEstimatorService::ProximityTargetDistanceUnits
434
- # - radiusInUnits - SOAP::SOAPDouble
435
- # - address - AdwordsApi::V201101::TrafficEstimatorService::Address
436
- # - allowServiceOfAddress - SOAP::SOAPBoolean
437
- class ProximityTarget < GeoTarget
438
- attr_accessor :target_Type
439
- attr_accessor :excluded
440
- attr_accessor :geoPoint
441
- attr_accessor :radiusDistanceUnits
442
- attr_accessor :radiusInUnits
443
- attr_accessor :address
444
- attr_accessor :allowServiceOfAddress
445
-
446
- def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
447
- @target_Type = target_Type
448
- @excluded = excluded
449
- @geoPoint = geoPoint
450
- @radiusDistanceUnits = radiusDistanceUnits
451
- @radiusInUnits = radiusInUnits
452
- @address = address
453
- @allowServiceOfAddress = allowServiceOfAddress
419
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
420
+ @fieldPath = fieldPath
421
+ @trigger = trigger
422
+ @errorString = errorString
423
+ @apiError_Type = apiError_Type
424
+ @reason = reason
454
425
  end
455
426
  end
456
427
 
457
- # ApiError
458
- # abstract
428
+ # RateExceededError
459
429
  # - fieldPath - SOAP::SOAPString
460
430
  # - trigger - SOAP::SOAPString
461
431
  # - errorString - SOAP::SOAPString
462
432
  # - apiError_Type - SOAP::SOAPString
463
- class ApiError
433
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::RateExceededErrorReason
434
+ # - rateName - SOAP::SOAPString
435
+ # - rateScope - SOAP::SOAPString
436
+ # - retryAfterSeconds - SOAP::SOAPInt
437
+ class RateExceededError < ApiError
464
438
  attr_accessor :fieldPath
465
439
  attr_accessor :trigger
466
440
  attr_accessor :errorString
467
441
  attr_accessor :apiError_Type
442
+ attr_accessor :reason
443
+ attr_accessor :rateName
444
+ attr_accessor :rateScope
445
+ attr_accessor :retryAfterSeconds
468
446
 
469
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
447
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
470
448
  @fieldPath = fieldPath
471
449
  @trigger = trigger
472
450
  @errorString = errorString
473
451
  @apiError_Type = apiError_Type
452
+ @reason = reason
453
+ @rateName = rateName
454
+ @rateScope = rateScope
455
+ @retryAfterSeconds = retryAfterSeconds
474
456
  end
475
457
  end
476
458
 
477
- # AuthenticationError
459
+ # ReadOnlyError
478
460
  # - fieldPath - SOAP::SOAPString
479
461
  # - trigger - SOAP::SOAPString
480
462
  # - errorString - SOAP::SOAPString
481
463
  # - apiError_Type - SOAP::SOAPString
482
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::AuthenticationErrorReason
483
- class AuthenticationError < ApiError
464
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::ReadOnlyErrorReason
465
+ class ReadOnlyError < ApiError
484
466
  attr_accessor :fieldPath
485
467
  attr_accessor :trigger
486
468
  attr_accessor :errorString
@@ -496,13 +478,13 @@ class AuthenticationError < ApiError
496
478
  end
497
479
  end
498
480
 
499
- # AuthorizationError
481
+ # RegionCodeError
500
482
  # - fieldPath - SOAP::SOAPString
501
483
  # - trigger - SOAP::SOAPString
502
484
  # - errorString - SOAP::SOAPString
503
485
  # - apiError_Type - SOAP::SOAPString
504
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::AuthorizationErrorReason
505
- class AuthorizationError < ApiError
486
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::RegionCodeErrorReason
487
+ class RegionCodeError < ApiError
506
488
  attr_accessor :fieldPath
507
489
  attr_accessor :trigger
508
490
  attr_accessor :errorString
@@ -518,13 +500,13 @@ class AuthorizationError < ApiError
518
500
  end
519
501
  end
520
502
 
521
- # ClientTermsError
503
+ # RejectedError
522
504
  # - fieldPath - SOAP::SOAPString
523
505
  # - trigger - SOAP::SOAPString
524
506
  # - errorString - SOAP::SOAPString
525
507
  # - apiError_Type - SOAP::SOAPString
526
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::ClientTermsErrorReason
527
- class ClientTermsError < ApiError
508
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::RejectedErrorReason
509
+ class RejectedError < ApiError
528
510
  attr_accessor :fieldPath
529
511
  attr_accessor :trigger
530
512
  attr_accessor :errorString
@@ -540,13 +522,13 @@ class ClientTermsError < ApiError
540
522
  end
541
523
  end
542
524
 
543
- # DateError
525
+ # RequestError
544
526
  # - fieldPath - SOAP::SOAPString
545
527
  # - trigger - SOAP::SOAPString
546
528
  # - errorString - SOAP::SOAPString
547
529
  # - apiError_Type - SOAP::SOAPString
548
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::DateErrorReason
549
- class DateError < ApiError
530
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::RequestErrorReason
531
+ class RequestError < ApiError
550
532
  attr_accessor :fieldPath
551
533
  attr_accessor :trigger
552
534
  attr_accessor :errorString
@@ -562,13 +544,13 @@ class DateError < ApiError
562
544
  end
563
545
  end
564
546
 
565
- # DistinctError
547
+ # RequiredError
566
548
  # - fieldPath - SOAP::SOAPString
567
549
  # - trigger - SOAP::SOAPString
568
550
  # - errorString - SOAP::SOAPString
569
551
  # - apiError_Type - SOAP::SOAPString
570
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::DistinctErrorReason
571
- class DistinctError < ApiError
552
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::RequiredErrorReason
553
+ class RequiredError < ApiError
572
554
  attr_accessor :fieldPath
573
555
  attr_accessor :trigger
574
556
  attr_accessor :errorString
@@ -584,13 +566,13 @@ class DistinctError < ApiError
584
566
  end
585
567
  end
586
568
 
587
- # EntityAccessDenied
569
+ # SizeLimitError
588
570
  # - fieldPath - SOAP::SOAPString
589
571
  # - trigger - SOAP::SOAPString
590
572
  # - errorString - SOAP::SOAPString
591
573
  # - apiError_Type - SOAP::SOAPString
592
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::EntityAccessDeniedReason
593
- class EntityAccessDenied < ApiError
574
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::SizeLimitErrorReason
575
+ class SizeLimitError < ApiError
594
576
  attr_accessor :fieldPath
595
577
  attr_accessor :trigger
596
578
  attr_accessor :errorString
@@ -606,13 +588,13 @@ class EntityAccessDenied < ApiError
606
588
  end
607
589
  end
608
590
 
609
- # EntityNotFound
591
+ # StringLengthError
610
592
  # - fieldPath - SOAP::SOAPString
611
593
  # - trigger - SOAP::SOAPString
612
594
  # - errorString - SOAP::SOAPString
613
595
  # - apiError_Type - SOAP::SOAPString
614
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::EntityNotFoundReason
615
- class EntityNotFound < ApiError
596
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::StringLengthErrorReason
597
+ class StringLengthError < ApiError
616
598
  attr_accessor :fieldPath
617
599
  attr_accessor :trigger
618
600
  attr_accessor :errorString
@@ -628,13 +610,13 @@ class EntityNotFound < ApiError
628
610
  end
629
611
  end
630
612
 
631
- # IdError
613
+ # TargetError
632
614
  # - fieldPath - SOAP::SOAPString
633
615
  # - trigger - SOAP::SOAPString
634
616
  # - errorString - SOAP::SOAPString
635
617
  # - apiError_Type - SOAP::SOAPString
636
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::IdErrorReason
637
- class IdError < ApiError
618
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::TargetErrorReason
619
+ class TargetError < ApiError
638
620
  attr_accessor :fieldPath
639
621
  attr_accessor :trigger
640
622
  attr_accessor :errorString
@@ -650,13 +632,13 @@ class IdError < ApiError
650
632
  end
651
633
  end
652
634
 
653
- # InternalApiError
635
+ # CollectionSizeError
654
636
  # - fieldPath - SOAP::SOAPString
655
637
  # - trigger - SOAP::SOAPString
656
638
  # - errorString - SOAP::SOAPString
657
639
  # - apiError_Type - SOAP::SOAPString
658
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::InternalApiErrorReason
659
- class InternalApiError < ApiError
640
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::CollectionSizeErrorReason
641
+ class CollectionSizeError < ApiError
660
642
  attr_accessor :fieldPath
661
643
  attr_accessor :trigger
662
644
  attr_accessor :errorString
@@ -672,13 +654,13 @@ class InternalApiError < ApiError
672
654
  end
673
655
  end
674
656
 
675
- # NotEmptyError
657
+ # CurrencyCodeError
676
658
  # - fieldPath - SOAP::SOAPString
677
659
  # - trigger - SOAP::SOAPString
678
660
  # - errorString - SOAP::SOAPString
679
661
  # - apiError_Type - SOAP::SOAPString
680
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::NotEmptyErrorReason
681
- class NotEmptyError < ApiError
662
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::CurrencyCodeErrorReason
663
+ class CurrencyCodeError < ApiError
682
664
  attr_accessor :fieldPath
683
665
  attr_accessor :trigger
684
666
  attr_accessor :errorString
@@ -694,13 +676,13 @@ class NotEmptyError < ApiError
694
676
  end
695
677
  end
696
678
 
697
- # NotWhitelistedError
679
+ # MatchesRegexError
698
680
  # - fieldPath - SOAP::SOAPString
699
681
  # - trigger - SOAP::SOAPString
700
682
  # - errorString - SOAP::SOAPString
701
683
  # - apiError_Type - SOAP::SOAPString
702
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::NotWhitelistedErrorReason
703
- class NotWhitelistedError < ApiError
684
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::MatchesRegexErrorReason
685
+ class MatchesRegexError < ApiError
704
686
  attr_accessor :fieldPath
705
687
  attr_accessor :trigger
706
688
  attr_accessor :errorString
@@ -716,13 +698,13 @@ class NotWhitelistedError < ApiError
716
698
  end
717
699
  end
718
700
 
719
- # NullError
701
+ # TrafficEstimatorError
720
702
  # - fieldPath - SOAP::SOAPString
721
703
  # - trigger - SOAP::SOAPString
722
704
  # - errorString - SOAP::SOAPString
723
705
  # - apiError_Type - SOAP::SOAPString
724
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::NullErrorReason
725
- class NullError < ApiError
706
+ # - reason - AdwordsApi::V201101::TrafficEstimatorService::TrafficEstimatorErrorReason
707
+ class TrafficEstimatorError < ApiError
726
708
  attr_accessor :fieldPath
727
709
  attr_accessor :trigger
728
710
  attr_accessor :errorString
@@ -738,561 +720,579 @@ class NullError < ApiError
738
720
  end
739
721
  end
740
722
 
741
- # OperationAccessDenied
742
- # - fieldPath - SOAP::SOAPString
743
- # - trigger - SOAP::SOAPString
744
- # - errorString - SOAP::SOAPString
745
- # - apiError_Type - SOAP::SOAPString
746
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::OperationAccessDeniedReason
747
- class OperationAccessDenied < ApiError
748
- attr_accessor :fieldPath
749
- attr_accessor :trigger
750
- attr_accessor :errorString
751
- attr_accessor :apiError_Type
752
- attr_accessor :reason
723
+ # ApplicationException
724
+ # - message - SOAP::SOAPString
725
+ # - applicationException_Type - SOAP::SOAPString
726
+ class ApplicationException
727
+ attr_accessor :message
728
+ attr_accessor :applicationException_Type
753
729
 
754
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
755
- @fieldPath = fieldPath
756
- @trigger = trigger
757
- @errorString = errorString
758
- @apiError_Type = apiError_Type
759
- @reason = reason
730
+ def initialize(message = nil, applicationException_Type = nil)
731
+ @message = message
732
+ @applicationException_Type = applicationException_Type
760
733
  end
761
734
  end
762
735
 
763
- # OperatorError
764
- # - fieldPath - SOAP::SOAPString
765
- # - trigger - SOAP::SOAPString
766
- # - errorString - SOAP::SOAPString
767
- # - apiError_Type - SOAP::SOAPString
768
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::OperatorErrorReason
769
- class OperatorError < ApiError
770
- attr_accessor :fieldPath
771
- attr_accessor :trigger
772
- attr_accessor :errorString
773
- attr_accessor :apiError_Type
774
- attr_accessor :reason
736
+ # ApiException
737
+ # - message - SOAP::SOAPString
738
+ # - applicationException_Type - SOAP::SOAPString
739
+ # - errors - AdwordsApi::V201101::TrafficEstimatorService::ApiError
740
+ class ApiException < ApplicationException
741
+ attr_accessor :message
742
+ attr_accessor :applicationException_Type
743
+ attr_accessor :errors
775
744
 
776
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
777
- @fieldPath = fieldPath
778
- @trigger = trigger
779
- @errorString = errorString
780
- @apiError_Type = apiError_Type
781
- @reason = reason
745
+ def initialize(message = nil, applicationException_Type = nil, errors = [])
746
+ @message = message
747
+ @applicationException_Type = applicationException_Type
748
+ @errors = errors
782
749
  end
783
750
  end
784
751
 
785
- # QuotaCheckError
786
- # - fieldPath - SOAP::SOAPString
787
- # - trigger - SOAP::SOAPString
788
- # - errorString - SOAP::SOAPString
789
- # - apiError_Type - SOAP::SOAPString
790
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::QuotaCheckErrorReason
791
- class QuotaCheckError < ApiError
792
- attr_accessor :fieldPath
793
- attr_accessor :trigger
794
- attr_accessor :errorString
795
- attr_accessor :apiError_Type
796
- attr_accessor :reason
752
+ # ComparableValue
753
+ # abstract
754
+ # - comparableValue_Type - SOAP::SOAPString
755
+ class ComparableValue
756
+ attr_accessor :comparableValue_Type
797
757
 
798
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
799
- @fieldPath = fieldPath
800
- @trigger = trigger
801
- @errorString = errorString
802
- @apiError_Type = apiError_Type
803
- @reason = reason
758
+ def initialize(comparableValue_Type = nil)
759
+ @comparableValue_Type = comparableValue_Type
804
760
  end
805
761
  end
806
762
 
807
- # RangeError
808
- # - fieldPath - SOAP::SOAPString
809
- # - trigger - SOAP::SOAPString
810
- # - errorString - SOAP::SOAPString
811
- # - apiError_Type - SOAP::SOAPString
812
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RangeErrorReason
813
- class C_RangeError < ApiError
814
- attr_accessor :fieldPath
815
- attr_accessor :trigger
816
- attr_accessor :errorString
817
- attr_accessor :apiError_Type
818
- attr_accessor :reason
763
+ # Money
764
+ # - comparableValue_Type - SOAP::SOAPString
765
+ # - microAmount - SOAP::SOAPLong
766
+ class Money < ComparableValue
767
+ attr_accessor :comparableValue_Type
768
+ attr_accessor :microAmount
819
769
 
820
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
821
- @fieldPath = fieldPath
822
- @trigger = trigger
823
- @errorString = errorString
824
- @apiError_Type = apiError_Type
825
- @reason = reason
770
+ def initialize(comparableValue_Type = nil, microAmount = nil)
771
+ @comparableValue_Type = comparableValue_Type
772
+ @microAmount = microAmount
826
773
  end
827
774
  end
828
775
 
829
- # RateExceededError
830
- # - fieldPath - SOAP::SOAPString
831
- # - trigger - SOAP::SOAPString
832
- # - errorString - SOAP::SOAPString
833
- # - apiError_Type - SOAP::SOAPString
834
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RateExceededErrorReason
835
- # - rateName - SOAP::SOAPString
836
- # - rateScope - SOAP::SOAPString
837
- # - retryAfterSeconds - SOAP::SOAPInt
838
- class RateExceededError < ApiError
839
- attr_accessor :fieldPath
840
- attr_accessor :trigger
841
- attr_accessor :errorString
842
- attr_accessor :apiError_Type
843
- attr_accessor :reason
844
- attr_accessor :rateName
845
- attr_accessor :rateScope
846
- attr_accessor :retryAfterSeconds
776
+ # NumberValue
777
+ # abstract
778
+ # - comparableValue_Type - SOAP::SOAPString
779
+ class NumberValue < ComparableValue
780
+ attr_accessor :comparableValue_Type
847
781
 
848
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
849
- @fieldPath = fieldPath
850
- @trigger = trigger
851
- @errorString = errorString
852
- @apiError_Type = apiError_Type
853
- @reason = reason
854
- @rateName = rateName
855
- @rateScope = rateScope
856
- @retryAfterSeconds = retryAfterSeconds
782
+ def initialize(comparableValue_Type = nil)
783
+ @comparableValue_Type = comparableValue_Type
857
784
  end
858
785
  end
859
786
 
860
- # ReadOnlyError
861
- # - fieldPath - SOAP::SOAPString
862
- # - trigger - SOAP::SOAPString
863
- # - errorString - SOAP::SOAPString
864
- # - apiError_Type - SOAP::SOAPString
865
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::ReadOnlyErrorReason
866
- class ReadOnlyError < ApiError
867
- attr_accessor :fieldPath
868
- attr_accessor :trigger
869
- attr_accessor :errorString
870
- attr_accessor :apiError_Type
871
- attr_accessor :reason
787
+ # DoubleValue
788
+ # - comparableValue_Type - SOAP::SOAPString
789
+ # - number - SOAP::SOAPDouble
790
+ class DoubleValue < NumberValue
791
+ attr_accessor :comparableValue_Type
792
+ attr_accessor :number
872
793
 
873
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
874
- @fieldPath = fieldPath
875
- @trigger = trigger
876
- @errorString = errorString
877
- @apiError_Type = apiError_Type
878
- @reason = reason
794
+ def initialize(comparableValue_Type = nil, number = nil)
795
+ @comparableValue_Type = comparableValue_Type
796
+ @number = number
879
797
  end
880
798
  end
881
799
 
882
- # RegionCodeError
883
- # - fieldPath - SOAP::SOAPString
884
- # - trigger - SOAP::SOAPString
885
- # - errorString - SOAP::SOAPString
886
- # - apiError_Type - SOAP::SOAPString
887
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RegionCodeErrorReason
888
- class RegionCodeError < ApiError
889
- attr_accessor :fieldPath
890
- attr_accessor :trigger
891
- attr_accessor :errorString
892
- attr_accessor :apiError_Type
893
- attr_accessor :reason
800
+ # LongValue
801
+ # - comparableValue_Type - SOAP::SOAPString
802
+ # - number - SOAP::SOAPLong
803
+ class LongValue < NumberValue
804
+ attr_accessor :comparableValue_Type
805
+ attr_accessor :number
894
806
 
895
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
896
- @fieldPath = fieldPath
897
- @trigger = trigger
898
- @errorString = errorString
899
- @apiError_Type = apiError_Type
900
- @reason = reason
807
+ def initialize(comparableValue_Type = nil, number = nil)
808
+ @comparableValue_Type = comparableValue_Type
809
+ @number = number
901
810
  end
902
811
  end
903
812
 
904
- # RejectedError
905
- # - fieldPath - SOAP::SOAPString
906
- # - trigger - SOAP::SOAPString
907
- # - errorString - SOAP::SOAPString
908
- # - apiError_Type - SOAP::SOAPString
909
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RejectedErrorReason
910
- class RejectedError < ApiError
911
- attr_accessor :fieldPath
912
- attr_accessor :trigger
913
- attr_accessor :errorString
914
- attr_accessor :apiError_Type
915
- attr_accessor :reason
813
+ # Criterion
814
+ # - id - SOAP::SOAPLong
815
+ # - criterion_Type - SOAP::SOAPString
816
+ class Criterion
817
+ attr_accessor :id
818
+ attr_accessor :criterion_Type
916
819
 
917
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
918
- @fieldPath = fieldPath
919
- @trigger = trigger
920
- @errorString = errorString
921
- @apiError_Type = apiError_Type
922
- @reason = reason
820
+ def initialize(id = nil, criterion_Type = nil)
821
+ @id = id
822
+ @criterion_Type = criterion_Type
923
823
  end
924
824
  end
925
825
 
926
- # RequestError
927
- # - fieldPath - SOAP::SOAPString
928
- # - trigger - SOAP::SOAPString
929
- # - errorString - SOAP::SOAPString
930
- # - apiError_Type - SOAP::SOAPString
931
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RequestErrorReason
932
- class RequestError < ApiError
933
- attr_accessor :fieldPath
934
- attr_accessor :trigger
935
- attr_accessor :errorString
936
- attr_accessor :apiError_Type
937
- attr_accessor :reason
826
+ # Keyword
827
+ # - id - SOAP::SOAPLong
828
+ # - criterion_Type - SOAP::SOAPString
829
+ # - text - SOAP::SOAPString
830
+ # - matchType - AdwordsApi::V201101::TrafficEstimatorService::KeywordMatchType
831
+ class Keyword < Criterion
832
+ attr_accessor :id
833
+ attr_accessor :criterion_Type
834
+ attr_accessor :text
835
+ attr_accessor :matchType
938
836
 
939
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
940
- @fieldPath = fieldPath
941
- @trigger = trigger
942
- @errorString = errorString
943
- @apiError_Type = apiError_Type
944
- @reason = reason
837
+ def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
838
+ @id = id
839
+ @criterion_Type = criterion_Type
840
+ @text = text
841
+ @matchType = matchType
945
842
  end
946
843
  end
947
844
 
948
- # RequiredError
949
- # - fieldPath - SOAP::SOAPString
950
- # - trigger - SOAP::SOAPString
951
- # - errorString - SOAP::SOAPString
952
- # - apiError_Type - SOAP::SOAPString
953
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::RequiredErrorReason
954
- class RequiredError < ApiError
955
- attr_accessor :fieldPath
956
- attr_accessor :trigger
957
- attr_accessor :errorString
958
- attr_accessor :apiError_Type
959
- attr_accessor :reason
845
+ # Placement
846
+ # - id - SOAP::SOAPLong
847
+ # - criterion_Type - SOAP::SOAPString
848
+ # - url - SOAP::SOAPString
849
+ class Placement < Criterion
850
+ attr_accessor :id
851
+ attr_accessor :criterion_Type
852
+ attr_accessor :url
960
853
 
961
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
962
- @fieldPath = fieldPath
963
- @trigger = trigger
964
- @errorString = errorString
965
- @apiError_Type = apiError_Type
966
- @reason = reason
854
+ def initialize(id = nil, criterion_Type = nil, url = nil)
855
+ @id = id
856
+ @criterion_Type = criterion_Type
857
+ @url = url
967
858
  end
968
859
  end
969
860
 
970
- # SizeLimitError
971
- # - fieldPath - SOAP::SOAPString
972
- # - trigger - SOAP::SOAPString
973
- # - errorString - SOAP::SOAPString
974
- # - apiError_Type - SOAP::SOAPString
975
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::SizeLimitErrorReason
976
- class SizeLimitError < ApiError
977
- attr_accessor :fieldPath
978
- attr_accessor :trigger
979
- attr_accessor :errorString
980
- attr_accessor :apiError_Type
981
- attr_accessor :reason
861
+ # Product
862
+ # - id - SOAP::SOAPLong
863
+ # - criterion_Type - SOAP::SOAPString
864
+ # - conditions - AdwordsApi::V201101::TrafficEstimatorService::ProductCondition
865
+ # - text - SOAP::SOAPString
866
+ class Product < Criterion
867
+ attr_accessor :id
868
+ attr_accessor :criterion_Type
869
+ attr_accessor :conditions
870
+ attr_accessor :text
982
871
 
983
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
984
- @fieldPath = fieldPath
985
- @trigger = trigger
986
- @errorString = errorString
987
- @apiError_Type = apiError_Type
988
- @reason = reason
872
+ def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
873
+ @id = id
874
+ @criterion_Type = criterion_Type
875
+ @conditions = conditions
876
+ @text = text
989
877
  end
990
878
  end
991
879
 
992
- # StringLengthError
993
- # - fieldPath - SOAP::SOAPString
994
- # - trigger - SOAP::SOAPString
995
- # - errorString - SOAP::SOAPString
996
- # - apiError_Type - SOAP::SOAPString
997
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::StringLengthErrorReason
998
- class StringLengthError < ApiError
999
- attr_accessor :fieldPath
1000
- attr_accessor :trigger
1001
- attr_accessor :errorString
1002
- attr_accessor :apiError_Type
1003
- attr_accessor :reason
880
+ # CriterionUserInterest
881
+ # - id - SOAP::SOAPLong
882
+ # - criterion_Type - SOAP::SOAPString
883
+ # - userInterestId - SOAP::SOAPLong
884
+ # - userInterestName - SOAP::SOAPString
885
+ class CriterionUserInterest < Criterion
886
+ attr_accessor :id
887
+ attr_accessor :criterion_Type
888
+ attr_accessor :userInterestId
889
+ attr_accessor :userInterestName
1004
890
 
1005
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1006
- @fieldPath = fieldPath
1007
- @trigger = trigger
1008
- @errorString = errorString
1009
- @apiError_Type = apiError_Type
1010
- @reason = reason
891
+ def initialize(id = nil, criterion_Type = nil, userInterestId = nil, userInterestName = nil)
892
+ @id = id
893
+ @criterion_Type = criterion_Type
894
+ @userInterestId = userInterestId
895
+ @userInterestName = userInterestName
1011
896
  end
1012
897
  end
1013
898
 
1014
- # TargetError
1015
- # - fieldPath - SOAP::SOAPString
1016
- # - trigger - SOAP::SOAPString
1017
- # - errorString - SOAP::SOAPString
1018
- # - apiError_Type - SOAP::SOAPString
1019
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::TargetErrorReason
1020
- class TargetError < ApiError
1021
- attr_accessor :fieldPath
1022
- attr_accessor :trigger
1023
- attr_accessor :errorString
1024
- attr_accessor :apiError_Type
1025
- attr_accessor :reason
899
+ # CriterionUserList
900
+ # - id - SOAP::SOAPLong
901
+ # - criterion_Type - SOAP::SOAPString
902
+ # - userListId - SOAP::SOAPLong
903
+ # - userListName - SOAP::SOAPString
904
+ # - userListMembershipStatus - AdwordsApi::V201101::TrafficEstimatorService::CriterionUserListMembershipStatus
905
+ class CriterionUserList < Criterion
906
+ attr_accessor :id
907
+ attr_accessor :criterion_Type
908
+ attr_accessor :userListId
909
+ attr_accessor :userListName
910
+ attr_accessor :userListMembershipStatus
1026
911
 
1027
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1028
- @fieldPath = fieldPath
1029
- @trigger = trigger
1030
- @errorString = errorString
1031
- @apiError_Type = apiError_Type
1032
- @reason = reason
912
+ def initialize(id = nil, criterion_Type = nil, userListId = nil, userListName = nil, userListMembershipStatus = nil)
913
+ @id = id
914
+ @criterion_Type = criterion_Type
915
+ @userListId = userListId
916
+ @userListName = userListName
917
+ @userListMembershipStatus = userListMembershipStatus
1033
918
  end
1034
919
  end
1035
920
 
1036
- # DatabaseError
1037
- # - fieldPath - SOAP::SOAPString
1038
- # - trigger - SOAP::SOAPString
1039
- # - errorString - SOAP::SOAPString
1040
- # - apiError_Type - SOAP::SOAPString
1041
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::DatabaseErrorReason
1042
- class DatabaseError < ApiError
1043
- attr_accessor :fieldPath
1044
- attr_accessor :trigger
1045
- attr_accessor :errorString
1046
- attr_accessor :apiError_Type
1047
- attr_accessor :reason
921
+ # Vertical
922
+ # - id - SOAP::SOAPLong
923
+ # - criterion_Type - SOAP::SOAPString
924
+ # - path - SOAP::SOAPString
925
+ class Vertical < Criterion
926
+ attr_accessor :id
927
+ attr_accessor :criterion_Type
928
+ attr_accessor :path
1048
929
 
1049
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1050
- @fieldPath = fieldPath
1051
- @trigger = trigger
1052
- @errorString = errorString
1053
- @apiError_Type = apiError_Type
1054
- @reason = reason
930
+ def initialize(id = nil, criterion_Type = nil, path = [])
931
+ @id = id
932
+ @criterion_Type = criterion_Type
933
+ @path = path
1055
934
  end
1056
935
  end
1057
936
 
1058
- # CollectionSizeError
1059
- # - fieldPath - SOAP::SOAPString
1060
- # - trigger - SOAP::SOAPString
1061
- # - errorString - SOAP::SOAPString
1062
- # - apiError_Type - SOAP::SOAPString
1063
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::CollectionSizeErrorReason
1064
- class CollectionSizeError < ApiError
1065
- attr_accessor :fieldPath
1066
- attr_accessor :trigger
1067
- attr_accessor :errorString
1068
- attr_accessor :apiError_Type
1069
- attr_accessor :reason
937
+ # GeoPoint
938
+ # - latitudeInMicroDegrees - SOAP::SOAPInt
939
+ # - longitudeInMicroDegrees - SOAP::SOAPInt
940
+ class GeoPoint
941
+ attr_accessor :latitudeInMicroDegrees
942
+ attr_accessor :longitudeInMicroDegrees
1070
943
 
1071
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1072
- @fieldPath = fieldPath
1073
- @trigger = trigger
1074
- @errorString = errorString
1075
- @apiError_Type = apiError_Type
1076
- @reason = reason
944
+ def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
945
+ @latitudeInMicroDegrees = latitudeInMicroDegrees
946
+ @longitudeInMicroDegrees = longitudeInMicroDegrees
1077
947
  end
1078
948
  end
1079
949
 
1080
- # CurrencyCodeError
1081
- # - fieldPath - SOAP::SOAPString
1082
- # - trigger - SOAP::SOAPString
1083
- # - errorString - SOAP::SOAPString
1084
- # - apiError_Type - SOAP::SOAPString
1085
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::CurrencyCodeErrorReason
1086
- class CurrencyCodeError < ApiError
1087
- attr_accessor :fieldPath
1088
- attr_accessor :trigger
1089
- attr_accessor :errorString
1090
- attr_accessor :apiError_Type
1091
- attr_accessor :reason
950
+ # ProductCondition
951
+ # - argument - SOAP::SOAPString
952
+ # - operand - AdwordsApi::V201101::TrafficEstimatorService::ProductConditionOperand
953
+ class ProductCondition
954
+ attr_accessor :argument
955
+ attr_accessor :operand
1092
956
 
1093
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1094
- @fieldPath = fieldPath
1095
- @trigger = trigger
1096
- @errorString = errorString
1097
- @apiError_Type = apiError_Type
1098
- @reason = reason
957
+ def initialize(argument = nil, operand = nil)
958
+ @argument = argument
959
+ @operand = operand
1099
960
  end
1100
961
  end
1101
962
 
1102
- # MatchesRegexError
1103
- # - fieldPath - SOAP::SOAPString
1104
- # - trigger - SOAP::SOAPString
1105
- # - errorString - SOAP::SOAPString
1106
- # - apiError_Type - SOAP::SOAPString
1107
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::MatchesRegexErrorReason
1108
- class MatchesRegexError < ApiError
1109
- attr_accessor :fieldPath
1110
- attr_accessor :trigger
1111
- attr_accessor :errorString
1112
- attr_accessor :apiError_Type
1113
- attr_accessor :reason
963
+ # ProductConditionOperand
964
+ # - operand - SOAP::SOAPString
965
+ class ProductConditionOperand
966
+ attr_accessor :operand
1114
967
 
1115
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1116
- @fieldPath = fieldPath
1117
- @trigger = trigger
1118
- @errorString = errorString
1119
- @apiError_Type = apiError_Type
1120
- @reason = reason
968
+ def initialize(operand = nil)
969
+ @operand = operand
970
+ end
971
+ end
972
+
973
+ # SoapHeader
974
+ # - authToken - SOAP::SOAPString
975
+ # - clientCustomerId - SOAP::SOAPString
976
+ # - clientEmail - SOAP::SOAPString
977
+ # - developerToken - SOAP::SOAPString
978
+ # - userAgent - SOAP::SOAPString
979
+ # - validateOnly - SOAP::SOAPBoolean
980
+ # - partialFailure - SOAP::SOAPBoolean
981
+ class SoapHeader
982
+ attr_accessor :authToken
983
+ attr_accessor :clientCustomerId
984
+ attr_accessor :clientEmail
985
+ attr_accessor :developerToken
986
+ attr_accessor :userAgent
987
+ attr_accessor :validateOnly
988
+ attr_accessor :partialFailure
989
+
990
+ def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
991
+ @authToken = authToken
992
+ @clientCustomerId = clientCustomerId
993
+ @clientEmail = clientEmail
994
+ @developerToken = developerToken
995
+ @userAgent = userAgent
996
+ @validateOnly = validateOnly
997
+ @partialFailure = partialFailure
998
+ end
999
+ end
1000
+
1001
+ # SoapResponseHeader
1002
+ # - requestId - SOAP::SOAPString
1003
+ # - operations - SOAP::SOAPLong
1004
+ # - responseTime - SOAP::SOAPLong
1005
+ # - units - SOAP::SOAPLong
1006
+ class SoapResponseHeader
1007
+ attr_accessor :requestId
1008
+ attr_accessor :operations
1009
+ attr_accessor :responseTime
1010
+ attr_accessor :units
1011
+
1012
+ def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
1013
+ @requestId = requestId
1014
+ @operations = operations
1015
+ @responseTime = responseTime
1016
+ @units = units
1017
+ end
1018
+ end
1019
+
1020
+ # Target
1021
+ # abstract
1022
+ # - target_Type - SOAP::SOAPString
1023
+ class Target
1024
+ attr_accessor :target_Type
1025
+
1026
+ def initialize(target_Type = nil)
1027
+ @target_Type = target_Type
1028
+ end
1029
+ end
1030
+
1031
+ # AdScheduleTarget
1032
+ # - target_Type - SOAP::SOAPString
1033
+ # - dayOfWeek - AdwordsApi::V201101::TrafficEstimatorService::DayOfWeek
1034
+ # - startHour - SOAP::SOAPInt
1035
+ # - startMinute - AdwordsApi::V201101::TrafficEstimatorService::MinuteOfHour
1036
+ # - endHour - SOAP::SOAPInt
1037
+ # - endMinute - AdwordsApi::V201101::TrafficEstimatorService::MinuteOfHour
1038
+ # - bidMultiplier - SOAP::SOAPDouble
1039
+ class AdScheduleTarget < Target
1040
+ attr_accessor :target_Type
1041
+ attr_accessor :dayOfWeek
1042
+ attr_accessor :startHour
1043
+ attr_accessor :startMinute
1044
+ attr_accessor :endHour
1045
+ attr_accessor :endMinute
1046
+ attr_accessor :bidMultiplier
1047
+
1048
+ def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
1049
+ @target_Type = target_Type
1050
+ @dayOfWeek = dayOfWeek
1051
+ @startHour = startHour
1052
+ @startMinute = startMinute
1053
+ @endHour = endHour
1054
+ @endMinute = endMinute
1055
+ @bidMultiplier = bidMultiplier
1056
+ end
1057
+ end
1058
+
1059
+ # DemographicTarget
1060
+ # abstract
1061
+ # - target_Type - SOAP::SOAPString
1062
+ # - bidModifier - SOAP::SOAPInt
1063
+ class DemographicTarget < Target
1064
+ attr_accessor :target_Type
1065
+ attr_accessor :bidModifier
1066
+
1067
+ def initialize(target_Type = nil, bidModifier = nil)
1068
+ @target_Type = target_Type
1069
+ @bidModifier = bidModifier
1070
+ end
1071
+ end
1072
+
1073
+ # AgeTarget
1074
+ # - target_Type - SOAP::SOAPString
1075
+ # - bidModifier - SOAP::SOAPInt
1076
+ # - age - AdwordsApi::V201101::TrafficEstimatorService::AgeTargetAge
1077
+ class AgeTarget < DemographicTarget
1078
+ attr_accessor :target_Type
1079
+ attr_accessor :bidModifier
1080
+ attr_accessor :age
1081
+
1082
+ def initialize(target_Type = nil, bidModifier = nil, age = nil)
1083
+ @target_Type = target_Type
1084
+ @bidModifier = bidModifier
1085
+ @age = age
1086
+ end
1087
+ end
1088
+
1089
+ # GenderTarget
1090
+ # - target_Type - SOAP::SOAPString
1091
+ # - bidModifier - SOAP::SOAPInt
1092
+ # - gender - AdwordsApi::V201101::TrafficEstimatorService::GenderTargetGender
1093
+ class GenderTarget < DemographicTarget
1094
+ attr_accessor :target_Type
1095
+ attr_accessor :bidModifier
1096
+ attr_accessor :gender
1097
+
1098
+ def initialize(target_Type = nil, bidModifier = nil, gender = nil)
1099
+ @target_Type = target_Type
1100
+ @bidModifier = bidModifier
1101
+ @gender = gender
1102
+ end
1103
+ end
1104
+
1105
+ # GeoTarget
1106
+ # abstract
1107
+ # - target_Type - SOAP::SOAPString
1108
+ # - excluded - SOAP::SOAPBoolean
1109
+ class GeoTarget < Target
1110
+ attr_accessor :target_Type
1111
+ attr_accessor :excluded
1112
+
1113
+ def initialize(target_Type = nil, excluded = nil)
1114
+ @target_Type = target_Type
1115
+ @excluded = excluded
1116
+ end
1117
+ end
1118
+
1119
+ # CityTarget
1120
+ # - target_Type - SOAP::SOAPString
1121
+ # - excluded - SOAP::SOAPBoolean
1122
+ # - cityName - SOAP::SOAPString
1123
+ # - provinceCode - SOAP::SOAPString
1124
+ # - countryCode - SOAP::SOAPString
1125
+ class CityTarget < GeoTarget
1126
+ attr_accessor :target_Type
1127
+ attr_accessor :excluded
1128
+ attr_accessor :cityName
1129
+ attr_accessor :provinceCode
1130
+ attr_accessor :countryCode
1131
+
1132
+ def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
1133
+ @target_Type = target_Type
1134
+ @excluded = excluded
1135
+ @cityName = cityName
1136
+ @provinceCode = provinceCode
1137
+ @countryCode = countryCode
1121
1138
  end
1122
1139
  end
1123
1140
 
1124
- # TrafficEstimatorError
1125
- # - fieldPath - SOAP::SOAPString
1126
- # - trigger - SOAP::SOAPString
1127
- # - errorString - SOAP::SOAPString
1128
- # - apiError_Type - SOAP::SOAPString
1129
- # - reason - AdwordsApi::V201101::TrafficEstimatorService::TrafficEstimatorErrorReason
1130
- class TrafficEstimatorError < ApiError
1131
- attr_accessor :fieldPath
1132
- attr_accessor :trigger
1133
- attr_accessor :errorString
1134
- attr_accessor :apiError_Type
1135
- attr_accessor :reason
1141
+ # CountryTarget
1142
+ # - target_Type - SOAP::SOAPString
1143
+ # - excluded - SOAP::SOAPBoolean
1144
+ # - countryCode - SOAP::SOAPString
1145
+ class CountryTarget < GeoTarget
1146
+ attr_accessor :target_Type
1147
+ attr_accessor :excluded
1148
+ attr_accessor :countryCode
1136
1149
 
1137
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1138
- @fieldPath = fieldPath
1139
- @trigger = trigger
1140
- @errorString = errorString
1141
- @apiError_Type = apiError_Type
1142
- @reason = reason
1150
+ def initialize(target_Type = nil, excluded = nil, countryCode = nil)
1151
+ @target_Type = target_Type
1152
+ @excluded = excluded
1153
+ @countryCode = countryCode
1143
1154
  end
1144
1155
  end
1145
1156
 
1146
- # ApplicationException
1147
- # - message - SOAP::SOAPString
1148
- # - applicationException_Type - SOAP::SOAPString
1149
- class ApplicationException
1150
- attr_accessor :message
1151
- attr_accessor :applicationException_Type
1157
+ # MetroTarget
1158
+ # - target_Type - SOAP::SOAPString
1159
+ # - excluded - SOAP::SOAPBoolean
1160
+ # - metroCode - SOAP::SOAPString
1161
+ class MetroTarget < GeoTarget
1162
+ attr_accessor :target_Type
1163
+ attr_accessor :excluded
1164
+ attr_accessor :metroCode
1152
1165
 
1153
- def initialize(message = nil, applicationException_Type = nil)
1154
- @message = message
1155
- @applicationException_Type = applicationException_Type
1166
+ def initialize(target_Type = nil, excluded = nil, metroCode = nil)
1167
+ @target_Type = target_Type
1168
+ @excluded = excluded
1169
+ @metroCode = metroCode
1156
1170
  end
1157
1171
  end
1158
1172
 
1159
- # ApiException
1160
- # - message - SOAP::SOAPString
1161
- # - applicationException_Type - SOAP::SOAPString
1162
- # - errors - AdwordsApi::V201101::TrafficEstimatorService::ApiError
1163
- class ApiException < ApplicationException
1164
- attr_accessor :message
1165
- attr_accessor :applicationException_Type
1166
- attr_accessor :errors
1173
+ # PolygonTarget
1174
+ # - target_Type - SOAP::SOAPString
1175
+ # - excluded - SOAP::SOAPBoolean
1176
+ # - vertices - AdwordsApi::V201101::TrafficEstimatorService::GeoPoint
1177
+ class PolygonTarget < GeoTarget
1178
+ attr_accessor :target_Type
1179
+ attr_accessor :excluded
1180
+ attr_accessor :vertices
1167
1181
 
1168
- def initialize(message = nil, applicationException_Type = nil, errors = [])
1169
- @message = message
1170
- @applicationException_Type = applicationException_Type
1171
- @errors = errors
1182
+ def initialize(target_Type = nil, excluded = nil, vertices = [])
1183
+ @target_Type = target_Type
1184
+ @excluded = excluded
1185
+ @vertices = vertices
1172
1186
  end
1173
1187
  end
1174
1188
 
1175
- # Criterion
1176
- # - id - SOAP::SOAPLong
1177
- # - criterion_Type - SOAP::SOAPString
1178
- class Criterion
1179
- attr_accessor :id
1180
- attr_accessor :criterion_Type
1189
+ # ProvinceTarget
1190
+ # - target_Type - SOAP::SOAPString
1191
+ # - excluded - SOAP::SOAPBoolean
1192
+ # - provinceCode - SOAP::SOAPString
1193
+ class ProvinceTarget < GeoTarget
1194
+ attr_accessor :target_Type
1195
+ attr_accessor :excluded
1196
+ attr_accessor :provinceCode
1181
1197
 
1182
- def initialize(id = nil, criterion_Type = nil)
1183
- @id = id
1184
- @criterion_Type = criterion_Type
1198
+ def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
1199
+ @target_Type = target_Type
1200
+ @excluded = excluded
1201
+ @provinceCode = provinceCode
1185
1202
  end
1186
1203
  end
1187
1204
 
1188
- # Keyword
1189
- # - id - SOAP::SOAPLong
1190
- # - criterion_Type - SOAP::SOAPString
1191
- # - text - SOAP::SOAPString
1192
- # - matchType - AdwordsApi::V201101::TrafficEstimatorService::KeywordMatchType
1193
- class Keyword < Criterion
1194
- attr_accessor :id
1195
- attr_accessor :criterion_Type
1196
- attr_accessor :text
1197
- attr_accessor :matchType
1205
+ # ProximityTarget
1206
+ # - target_Type - SOAP::SOAPString
1207
+ # - excluded - SOAP::SOAPBoolean
1208
+ # - geoPoint - AdwordsApi::V201101::TrafficEstimatorService::GeoPoint
1209
+ # - radiusDistanceUnits - AdwordsApi::V201101::TrafficEstimatorService::ProximityTargetDistanceUnits
1210
+ # - radiusInUnits - SOAP::SOAPDouble
1211
+ # - address - AdwordsApi::V201101::TrafficEstimatorService::Address
1212
+ # - allowServiceOfAddress - SOAP::SOAPBoolean
1213
+ class ProximityTarget < GeoTarget
1214
+ attr_accessor :target_Type
1215
+ attr_accessor :excluded
1216
+ attr_accessor :geoPoint
1217
+ attr_accessor :radiusDistanceUnits
1218
+ attr_accessor :radiusInUnits
1219
+ attr_accessor :address
1220
+ attr_accessor :allowServiceOfAddress
1198
1221
 
1199
- def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
1200
- @id = id
1201
- @criterion_Type = criterion_Type
1202
- @text = text
1203
- @matchType = matchType
1222
+ def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
1223
+ @target_Type = target_Type
1224
+ @excluded = excluded
1225
+ @geoPoint = geoPoint
1226
+ @radiusDistanceUnits = radiusDistanceUnits
1227
+ @radiusInUnits = radiusInUnits
1228
+ @address = address
1229
+ @allowServiceOfAddress = allowServiceOfAddress
1204
1230
  end
1205
1231
  end
1206
1232
 
1207
- # Placement
1208
- # - id - SOAP::SOAPLong
1209
- # - criterion_Type - SOAP::SOAPString
1210
- # - url - SOAP::SOAPString
1211
- class Placement < Criterion
1212
- attr_accessor :id
1213
- attr_accessor :criterion_Type
1214
- attr_accessor :url
1233
+ # LanguageTarget
1234
+ # - target_Type - SOAP::SOAPString
1235
+ # - languageCode - SOAP::SOAPString
1236
+ class LanguageTarget < Target
1237
+ attr_accessor :target_Type
1238
+ attr_accessor :languageCode
1215
1239
 
1216
- def initialize(id = nil, criterion_Type = nil, url = nil)
1217
- @id = id
1218
- @criterion_Type = criterion_Type
1219
- @url = url
1240
+ def initialize(target_Type = nil, languageCode = nil)
1241
+ @target_Type = target_Type
1242
+ @languageCode = languageCode
1220
1243
  end
1221
1244
  end
1222
1245
 
1223
- # CriterionUserInterest
1224
- # - id - SOAP::SOAPLong
1225
- # - criterion_Type - SOAP::SOAPString
1226
- # - userInterestId - SOAP::SOAPLong
1227
- # - userInterestName - SOAP::SOAPString
1228
- class CriterionUserInterest < Criterion
1229
- attr_accessor :id
1230
- attr_accessor :criterion_Type
1231
- attr_accessor :userInterestId
1232
- attr_accessor :userInterestName
1246
+ # MobileTarget
1247
+ # abstract
1248
+ # - target_Type - SOAP::SOAPString
1249
+ class MobileTarget < Target
1250
+ attr_accessor :target_Type
1233
1251
 
1234
- def initialize(id = nil, criterion_Type = nil, userInterestId = nil, userInterestName = nil)
1235
- @id = id
1236
- @criterion_Type = criterion_Type
1237
- @userInterestId = userInterestId
1238
- @userInterestName = userInterestName
1252
+ def initialize(target_Type = nil)
1253
+ @target_Type = target_Type
1239
1254
  end
1240
1255
  end
1241
1256
 
1242
- # CriterionUserList
1243
- # - id - SOAP::SOAPLong
1244
- # - criterion_Type - SOAP::SOAPString
1245
- # - userListId - SOAP::SOAPLong
1246
- # - userListName - SOAP::SOAPString
1247
- # - userListMembershipStatus - AdwordsApi::V201101::TrafficEstimatorService::CriterionUserListMembershipStatus
1248
- class CriterionUserList < Criterion
1249
- attr_accessor :id
1250
- attr_accessor :criterion_Type
1251
- attr_accessor :userListId
1252
- attr_accessor :userListName
1253
- attr_accessor :userListMembershipStatus
1257
+ # MobileCarrierTarget
1258
+ # - target_Type - SOAP::SOAPString
1259
+ # - carrierName - SOAP::SOAPString
1260
+ # - countryCode - SOAP::SOAPString
1261
+ class MobileCarrierTarget < MobileTarget
1262
+ attr_accessor :target_Type
1263
+ attr_accessor :carrierName
1264
+ attr_accessor :countryCode
1254
1265
 
1255
- def initialize(id = nil, criterion_Type = nil, userListId = nil, userListName = nil, userListMembershipStatus = nil)
1256
- @id = id
1257
- @criterion_Type = criterion_Type
1258
- @userListId = userListId
1259
- @userListName = userListName
1260
- @userListMembershipStatus = userListMembershipStatus
1266
+ def initialize(target_Type = nil, carrierName = nil, countryCode = nil)
1267
+ @target_Type = target_Type
1268
+ @carrierName = carrierName
1269
+ @countryCode = countryCode
1261
1270
  end
1262
1271
  end
1263
1272
 
1264
- # Vertical
1265
- # - id - SOAP::SOAPLong
1266
- # - criterion_Type - SOAP::SOAPString
1267
- # - path - SOAP::SOAPString
1268
- class Vertical < Criterion
1269
- attr_accessor :id
1270
- attr_accessor :criterion_Type
1271
- attr_accessor :path
1273
+ # MobilePlatformTarget
1274
+ # - target_Type - SOAP::SOAPString
1275
+ # - platformName - SOAP::SOAPString
1276
+ class MobilePlatformTarget < MobileTarget
1277
+ attr_accessor :target_Type
1278
+ attr_accessor :platformName
1272
1279
 
1273
- def initialize(id = nil, criterion_Type = nil, path = [])
1274
- @id = id
1275
- @criterion_Type = criterion_Type
1276
- @path = path
1280
+ def initialize(target_Type = nil, platformName = nil)
1281
+ @target_Type = target_Type
1282
+ @platformName = platformName
1277
1283
  end
1278
1284
  end
1279
1285
 
1280
- # Product
1281
- # - id - SOAP::SOAPLong
1282
- # - criterion_Type - SOAP::SOAPString
1283
- # - conditions - AdwordsApi::V201101::TrafficEstimatorService::ProductCondition
1284
- # - text - SOAP::SOAPString
1285
- class Product < Criterion
1286
- attr_accessor :id
1287
- attr_accessor :criterion_Type
1288
- attr_accessor :conditions
1289
- attr_accessor :text
1286
+ # PlatformTarget
1287
+ # - target_Type - SOAP::SOAPString
1288
+ # - platformType - AdwordsApi::V201101::TrafficEstimatorService::PlatformType
1289
+ class PlatformTarget < Target
1290
+ attr_accessor :target_Type
1291
+ attr_accessor :platformType
1290
1292
 
1291
- def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
1292
- @id = id
1293
- @criterion_Type = criterion_Type
1294
- @conditions = conditions
1295
- @text = text
1293
+ def initialize(target_Type = nil, platformType = nil)
1294
+ @target_Type = target_Type
1295
+ @platformType = platformType
1296
1296
  end
1297
1297
  end
1298
1298