google-adwords-api 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -16,7 +16,7 @@ class ServicedAccountServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/mcm/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::ServicedAccountService::ApiException_"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/mcm/v201101", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::ServicedAccountService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/mcm/v201101", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -31,517 +31,474 @@ 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
- # Paging
48
- # - startIndex - SOAP::SOAPInt
49
- # - numberResults - SOAP::SOAPInt
50
- class Paging
51
- attr_accessor :startIndex
52
- attr_accessor :numberResults
54
+ # AdGroupCriterionError
55
+ # - fieldPath - SOAP::SOAPString
56
+ # - trigger - SOAP::SOAPString
57
+ # - errorString - SOAP::SOAPString
58
+ # - apiError_Type - SOAP::SOAPString
59
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::AdGroupCriterionErrorReason
60
+ class AdGroupCriterionError < ApiError
61
+ attr_accessor :fieldPath
62
+ attr_accessor :trigger
63
+ attr_accessor :errorString
64
+ attr_accessor :apiError_Type
65
+ attr_accessor :reason
53
66
 
54
- def initialize(startIndex = nil, numberResults = nil)
55
- @startIndex = startIndex
56
- @numberResults = numberResults
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
57
73
  end
58
74
  end
59
75
 
60
- # PolicyViolationError.Part
61
- # - index - SOAP::SOAPInt
62
- # - length - SOAP::SOAPInt
63
- class PolicyViolationErrorPart
64
- attr_accessor :index
65
- attr_accessor :length
76
+ # AuthenticationError
77
+ # - fieldPath - SOAP::SOAPString
78
+ # - trigger - SOAP::SOAPString
79
+ # - errorString - SOAP::SOAPString
80
+ # - apiError_Type - SOAP::SOAPString
81
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::AuthenticationErrorReason
82
+ class AuthenticationError < ApiError
83
+ attr_accessor :fieldPath
84
+ attr_accessor :trigger
85
+ attr_accessor :errorString
86
+ attr_accessor :apiError_Type
87
+ attr_accessor :reason
66
88
 
67
- def initialize(index = nil, length = nil)
68
- @index = index
69
- @length = length
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
70
95
  end
71
96
  end
72
97
 
73
- # PolicyViolationKey
74
- # - policyName - SOAP::SOAPString
75
- # - violatingText - SOAP::SOAPString
76
- class PolicyViolationKey
77
- attr_accessor :policyName
78
- attr_accessor :violatingText
98
+ # AuthorizationError
99
+ # - fieldPath - SOAP::SOAPString
100
+ # - trigger - SOAP::SOAPString
101
+ # - errorString - SOAP::SOAPString
102
+ # - apiError_Type - SOAP::SOAPString
103
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::AuthorizationErrorReason
104
+ class AuthorizationError < ApiError
105
+ attr_accessor :fieldPath
106
+ attr_accessor :trigger
107
+ attr_accessor :errorString
108
+ attr_accessor :apiError_Type
109
+ attr_accessor :reason
79
110
 
80
- def initialize(policyName = nil, violatingText = nil)
81
- @policyName = policyName
82
- @violatingText = violatingText
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
83
117
  end
84
118
  end
85
119
 
86
- # ProductConditionOperand
87
- # - operand - SOAP::SOAPString
88
- class ProductConditionOperand
89
- attr_accessor :operand
120
+ # BiddingError
121
+ # - fieldPath - SOAP::SOAPString
122
+ # - trigger - SOAP::SOAPString
123
+ # - errorString - SOAP::SOAPString
124
+ # - apiError_Type - SOAP::SOAPString
125
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::BiddingErrorReason
126
+ class BiddingError < ApiError
127
+ attr_accessor :fieldPath
128
+ attr_accessor :trigger
129
+ attr_accessor :errorString
130
+ attr_accessor :apiError_Type
131
+ attr_accessor :reason
90
132
 
91
- def initialize(operand = nil)
92
- @operand = operand
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
93
139
  end
94
140
  end
95
141
 
96
- # SoapHeader
97
- # - authToken - SOAP::SOAPString
98
- # - clientCustomerId - SOAP::SOAPString
99
- # - clientEmail - SOAP::SOAPString
100
- # - developerToken - SOAP::SOAPString
101
- # - userAgent - SOAP::SOAPString
102
- # - validateOnly - SOAP::SOAPBoolean
103
- # - partialFailure - SOAP::SOAPBoolean
104
- class SoapHeader
105
- attr_accessor :authToken
106
- attr_accessor :clientCustomerId
107
- attr_accessor :clientEmail
108
- attr_accessor :developerToken
109
- attr_accessor :userAgent
110
- attr_accessor :validateOnly
111
- attr_accessor :partialFailure
142
+ # BudgetError
143
+ # - fieldPath - SOAP::SOAPString
144
+ # - trigger - SOAP::SOAPString
145
+ # - errorString - SOAP::SOAPString
146
+ # - apiError_Type - SOAP::SOAPString
147
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::BudgetErrorReason
148
+ class BudgetError < ApiError
149
+ attr_accessor :fieldPath
150
+ attr_accessor :trigger
151
+ attr_accessor :errorString
152
+ attr_accessor :apiError_Type
153
+ attr_accessor :reason
112
154
 
113
- def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
114
- @authToken = authToken
115
- @clientCustomerId = clientCustomerId
116
- @clientEmail = clientEmail
117
- @developerToken = developerToken
118
- @userAgent = userAgent
119
- @validateOnly = validateOnly
120
- @partialFailure = partialFailure
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
121
161
  end
122
162
  end
123
163
 
124
- # SoapResponseHeader
125
- # - requestId - SOAP::SOAPString
126
- # - operations - SOAP::SOAPLong
127
- # - responseTime - SOAP::SOAPLong
128
- # - units - SOAP::SOAPLong
129
- class SoapResponseHeader
130
- attr_accessor :requestId
131
- attr_accessor :operations
132
- attr_accessor :responseTime
133
- attr_accessor :units
164
+ # ClientTermsError
165
+ # - fieldPath - SOAP::SOAPString
166
+ # - trigger - SOAP::SOAPString
167
+ # - errorString - SOAP::SOAPString
168
+ # - apiError_Type - SOAP::SOAPString
169
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::ClientTermsErrorReason
170
+ class ClientTermsError < ApiError
171
+ attr_accessor :fieldPath
172
+ attr_accessor :trigger
173
+ attr_accessor :errorString
174
+ attr_accessor :apiError_Type
175
+ attr_accessor :reason
134
176
 
135
- def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
136
- @requestId = requestId
137
- @operations = operations
138
- @responseTime = responseTime
139
- @units = units
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
140
183
  end
141
184
  end
142
185
 
143
- # ComparableValue
144
- # abstract
145
- # - comparableValue_Type - SOAP::SOAPString
146
- class ComparableValue
147
- attr_accessor :comparableValue_Type
186
+ # DatabaseError
187
+ # - fieldPath - SOAP::SOAPString
188
+ # - trigger - SOAP::SOAPString
189
+ # - errorString - SOAP::SOAPString
190
+ # - apiError_Type - SOAP::SOAPString
191
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::DatabaseErrorReason
192
+ class DatabaseError < ApiError
193
+ attr_accessor :fieldPath
194
+ attr_accessor :trigger
195
+ attr_accessor :errorString
196
+ attr_accessor :apiError_Type
197
+ attr_accessor :reason
148
198
 
149
- def initialize(comparableValue_Type = nil)
150
- @comparableValue_Type = comparableValue_Type
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
151
205
  end
152
206
  end
153
207
 
154
- # Money
155
- # - comparableValue_Type - SOAP::SOAPString
156
- # - microAmount - SOAP::SOAPLong
157
- class Money < ComparableValue
158
- attr_accessor :comparableValue_Type
159
- attr_accessor :microAmount
160
-
161
- def initialize(comparableValue_Type = nil, microAmount = nil)
162
- @comparableValue_Type = comparableValue_Type
163
- @microAmount = microAmount
164
- end
165
- end
208
+ # DateError
209
+ # - fieldPath - SOAP::SOAPString
210
+ # - trigger - SOAP::SOAPString
211
+ # - errorString - SOAP::SOAPString
212
+ # - apiError_Type - SOAP::SOAPString
213
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::DateErrorReason
214
+ class DateError < ApiError
215
+ attr_accessor :fieldPath
216
+ attr_accessor :trigger
217
+ attr_accessor :errorString
218
+ attr_accessor :apiError_Type
219
+ attr_accessor :reason
166
220
 
167
- # NumberValue
168
- # abstract
169
- # - comparableValue_Type - SOAP::SOAPString
170
- class NumberValue < ComparableValue
171
- attr_accessor :comparableValue_Type
172
-
173
- def initialize(comparableValue_Type = nil)
174
- @comparableValue_Type = comparableValue_Type
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
175
227
  end
176
228
  end
177
229
 
178
- # DoubleValue
179
- # - comparableValue_Type - SOAP::SOAPString
180
- # - number - SOAP::SOAPDouble
181
- class DoubleValue < NumberValue
182
- attr_accessor :comparableValue_Type
183
- attr_accessor :number
230
+ # DistinctError
231
+ # - fieldPath - SOAP::SOAPString
232
+ # - trigger - SOAP::SOAPString
233
+ # - errorString - SOAP::SOAPString
234
+ # - apiError_Type - SOAP::SOAPString
235
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::DistinctErrorReason
236
+ class DistinctError < ApiError
237
+ attr_accessor :fieldPath
238
+ attr_accessor :trigger
239
+ attr_accessor :errorString
240
+ attr_accessor :apiError_Type
241
+ attr_accessor :reason
184
242
 
185
- def initialize(comparableValue_Type = nil, number = nil)
186
- @comparableValue_Type = comparableValue_Type
187
- @number = number
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
188
249
  end
189
250
  end
190
251
 
191
- # LongValue
192
- # - comparableValue_Type - SOAP::SOAPString
193
- # - number - SOAP::SOAPLong
194
- class LongValue < NumberValue
195
- attr_accessor :comparableValue_Type
196
- attr_accessor :number
252
+ # EntityCountLimitExceeded
253
+ # - fieldPath - SOAP::SOAPString
254
+ # - trigger - SOAP::SOAPString
255
+ # - errorString - SOAP::SOAPString
256
+ # - apiError_Type - SOAP::SOAPString
257
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::EntityCountLimitExceededReason
258
+ # - enclosingId - SOAP::SOAPString
259
+ # - limit - SOAP::SOAPInt
260
+ class EntityCountLimitExceeded < ApiError
261
+ attr_accessor :fieldPath
262
+ attr_accessor :trigger
263
+ attr_accessor :errorString
264
+ attr_accessor :apiError_Type
265
+ attr_accessor :reason
266
+ attr_accessor :enclosingId
267
+ attr_accessor :limit
197
268
 
198
- def initialize(comparableValue_Type = nil, number = nil)
199
- @comparableValue_Type = comparableValue_Type
200
- @number = number
269
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil)
270
+ @fieldPath = fieldPath
271
+ @trigger = trigger
272
+ @errorString = errorString
273
+ @apiError_Type = apiError_Type
274
+ @reason = reason
275
+ @enclosingId = enclosingId
276
+ @limit = limit
201
277
  end
202
278
  end
203
279
 
204
- # ProductCondition
205
- # - argument - SOAP::SOAPString
206
- # - operand - AdwordsApi::V201101::TargetingIdeaService::ProductConditionOperand
207
- class ProductCondition
208
- attr_accessor :argument
209
- attr_accessor :operand
280
+ # AdGroupCriterionLimitExceeded
281
+ # - fieldPath - SOAP::SOAPString
282
+ # - trigger - SOAP::SOAPString
283
+ # - errorString - SOAP::SOAPString
284
+ # - apiError_Type - SOAP::SOAPString
285
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::EntityCountLimitExceededReason
286
+ # - enclosingId - SOAP::SOAPString
287
+ # - limit - SOAP::SOAPInt
288
+ # - limitType - AdwordsApi::V201101::TargetingIdeaService::AdGroupCriterionLimitExceededCriteriaLimitType
289
+ class AdGroupCriterionLimitExceeded < EntityCountLimitExceeded
290
+ attr_accessor :fieldPath
291
+ attr_accessor :trigger
292
+ attr_accessor :errorString
293
+ attr_accessor :apiError_Type
294
+ attr_accessor :reason
295
+ attr_accessor :enclosingId
296
+ attr_accessor :limit
297
+ attr_accessor :limitType
210
298
 
211
- def initialize(argument = nil, operand = nil)
212
- @argument = argument
213
- @operand = operand
299
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil, limitType = nil)
300
+ @fieldPath = fieldPath
301
+ @trigger = trigger
302
+ @errorString = errorString
303
+ @apiError_Type = apiError_Type
304
+ @reason = reason
305
+ @enclosingId = enclosingId
306
+ @limit = limit
307
+ @limitType = limitType
214
308
  end
215
309
  end
216
310
 
217
- # Target
218
- # abstract
219
- # - target_Type - SOAP::SOAPString
220
- class Target
221
- attr_accessor :target_Type
311
+ # EntityNotFound
312
+ # - fieldPath - SOAP::SOAPString
313
+ # - trigger - SOAP::SOAPString
314
+ # - errorString - SOAP::SOAPString
315
+ # - apiError_Type - SOAP::SOAPString
316
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::EntityNotFoundReason
317
+ class EntityNotFound < ApiError
318
+ attr_accessor :fieldPath
319
+ attr_accessor :trigger
320
+ attr_accessor :errorString
321
+ attr_accessor :apiError_Type
322
+ attr_accessor :reason
222
323
 
223
- def initialize(target_Type = nil)
224
- @target_Type = target_Type
324
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
325
+ @fieldPath = fieldPath
326
+ @trigger = trigger
327
+ @errorString = errorString
328
+ @apiError_Type = apiError_Type
329
+ @reason = reason
225
330
  end
226
331
  end
227
332
 
228
- # AdScheduleTarget
229
- # - target_Type - SOAP::SOAPString
230
- # - dayOfWeek - AdwordsApi::V201101::TargetingIdeaService::DayOfWeek
231
- # - startHour - SOAP::SOAPInt
232
- # - startMinute - AdwordsApi::V201101::TargetingIdeaService::MinuteOfHour
233
- # - endHour - SOAP::SOAPInt
234
- # - endMinute - AdwordsApi::V201101::TargetingIdeaService::MinuteOfHour
235
- # - bidMultiplier - SOAP::SOAPDouble
236
- class AdScheduleTarget < Target
237
- attr_accessor :target_Type
238
- attr_accessor :dayOfWeek
239
- attr_accessor :startHour
240
- attr_accessor :startMinute
241
- attr_accessor :endHour
242
- attr_accessor :endMinute
243
- attr_accessor :bidMultiplier
333
+ # InternalApiError
334
+ # - fieldPath - SOAP::SOAPString
335
+ # - trigger - SOAP::SOAPString
336
+ # - errorString - SOAP::SOAPString
337
+ # - apiError_Type - SOAP::SOAPString
338
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::InternalApiErrorReason
339
+ class InternalApiError < ApiError
340
+ attr_accessor :fieldPath
341
+ attr_accessor :trigger
342
+ attr_accessor :errorString
343
+ attr_accessor :apiError_Type
344
+ attr_accessor :reason
244
345
 
245
- def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
246
- @target_Type = target_Type
247
- @dayOfWeek = dayOfWeek
248
- @startHour = startHour
249
- @startMinute = startMinute
250
- @endHour = endHour
251
- @endMinute = endMinute
252
- @bidMultiplier = bidMultiplier
346
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
347
+ @fieldPath = fieldPath
348
+ @trigger = trigger
349
+ @errorString = errorString
350
+ @apiError_Type = apiError_Type
351
+ @reason = reason
253
352
  end
254
353
  end
255
354
 
256
- # LanguageTarget
257
- # - target_Type - SOAP::SOAPString
258
- # - languageCode - SOAP::SOAPString
259
- class LanguageTarget < Target
260
- attr_accessor :target_Type
261
- attr_accessor :languageCode
355
+ # NotEmptyError
356
+ # - fieldPath - SOAP::SOAPString
357
+ # - trigger - SOAP::SOAPString
358
+ # - errorString - SOAP::SOAPString
359
+ # - apiError_Type - SOAP::SOAPString
360
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::NotEmptyErrorReason
361
+ class NotEmptyError < ApiError
362
+ attr_accessor :fieldPath
363
+ attr_accessor :trigger
364
+ attr_accessor :errorString
365
+ attr_accessor :apiError_Type
366
+ attr_accessor :reason
262
367
 
263
- def initialize(target_Type = nil, languageCode = nil)
264
- @target_Type = target_Type
265
- @languageCode = languageCode
368
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
369
+ @fieldPath = fieldPath
370
+ @trigger = trigger
371
+ @errorString = errorString
372
+ @apiError_Type = apiError_Type
373
+ @reason = reason
266
374
  end
267
375
  end
268
376
 
269
- # MobileTarget
270
- # abstract
271
- # - target_Type - SOAP::SOAPString
272
- class MobileTarget < Target
273
- attr_accessor :target_Type
377
+ # NotWhitelistedError
378
+ # - fieldPath - SOAP::SOAPString
379
+ # - trigger - SOAP::SOAPString
380
+ # - errorString - SOAP::SOAPString
381
+ # - apiError_Type - SOAP::SOAPString
382
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::NotWhitelistedErrorReason
383
+ class NotWhitelistedError < ApiError
384
+ attr_accessor :fieldPath
385
+ attr_accessor :trigger
386
+ attr_accessor :errorString
387
+ attr_accessor :apiError_Type
388
+ attr_accessor :reason
274
389
 
275
- def initialize(target_Type = nil)
276
- @target_Type = target_Type
390
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
391
+ @fieldPath = fieldPath
392
+ @trigger = trigger
393
+ @errorString = errorString
394
+ @apiError_Type = apiError_Type
395
+ @reason = reason
277
396
  end
278
397
  end
279
398
 
280
- # MobileCarrierTarget
281
- # - target_Type - SOAP::SOAPString
282
- # - carrierName - SOAP::SOAPString
283
- # - countryCode - SOAP::SOAPString
284
- class MobileCarrierTarget < MobileTarget
285
- attr_accessor :target_Type
286
- attr_accessor :carrierName
287
- attr_accessor :countryCode
288
-
289
- def initialize(target_Type = nil, carrierName = nil, countryCode = nil)
290
- @target_Type = target_Type
291
- @carrierName = carrierName
292
- @countryCode = countryCode
293
- end
294
- end
399
+ # NullError
400
+ # - fieldPath - SOAP::SOAPString
401
+ # - trigger - SOAP::SOAPString
402
+ # - errorString - SOAP::SOAPString
403
+ # - apiError_Type - SOAP::SOAPString
404
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::NullErrorReason
405
+ class NullError < ApiError
406
+ attr_accessor :fieldPath
407
+ attr_accessor :trigger
408
+ attr_accessor :errorString
409
+ attr_accessor :apiError_Type
410
+ attr_accessor :reason
295
411
 
296
- # MobilePlatformTarget
297
- # - target_Type - SOAP::SOAPString
298
- # - platformName - SOAP::SOAPString
299
- class MobilePlatformTarget < MobileTarget
300
- attr_accessor :target_Type
301
- attr_accessor :platformName
302
-
303
- def initialize(target_Type = nil, platformName = nil)
304
- @target_Type = target_Type
305
- @platformName = platformName
306
- end
307
- end
308
-
309
- # PlatformTarget
310
- # - target_Type - SOAP::SOAPString
311
- # - platformType - AdwordsApi::V201101::TargetingIdeaService::PlatformType
312
- class PlatformTarget < Target
313
- attr_accessor :target_Type
314
- attr_accessor :platformType
315
-
316
- def initialize(target_Type = nil, platformType = nil)
317
- @target_Type = target_Type
318
- @platformType = platformType
319
- end
320
- end
321
-
322
- # DemographicTarget
323
- # abstract
324
- # - target_Type - SOAP::SOAPString
325
- # - bidModifier - SOAP::SOAPInt
326
- class DemographicTarget < Target
327
- attr_accessor :target_Type
328
- attr_accessor :bidModifier
329
-
330
- def initialize(target_Type = nil, bidModifier = nil)
331
- @target_Type = target_Type
332
- @bidModifier = bidModifier
333
- end
334
- end
335
-
336
- # AgeTarget
337
- # - target_Type - SOAP::SOAPString
338
- # - bidModifier - SOAP::SOAPInt
339
- # - age - AdwordsApi::V201101::TargetingIdeaService::AgeTargetAge
340
- class AgeTarget < DemographicTarget
341
- attr_accessor :target_Type
342
- attr_accessor :bidModifier
343
- attr_accessor :age
344
-
345
- def initialize(target_Type = nil, bidModifier = nil, age = nil)
346
- @target_Type = target_Type
347
- @bidModifier = bidModifier
348
- @age = age
349
- end
350
- end
351
-
352
- # GenderTarget
353
- # - target_Type - SOAP::SOAPString
354
- # - bidModifier - SOAP::SOAPInt
355
- # - gender - AdwordsApi::V201101::TargetingIdeaService::GenderTargetGender
356
- class GenderTarget < DemographicTarget
357
- attr_accessor :target_Type
358
- attr_accessor :bidModifier
359
- attr_accessor :gender
360
-
361
- def initialize(target_Type = nil, bidModifier = nil, gender = nil)
362
- @target_Type = target_Type
363
- @bidModifier = bidModifier
364
- @gender = gender
365
- end
366
- end
367
-
368
- # GeoTarget
369
- # abstract
370
- # - target_Type - SOAP::SOAPString
371
- # - excluded - SOAP::SOAPBoolean
372
- class GeoTarget < Target
373
- attr_accessor :target_Type
374
- attr_accessor :excluded
375
-
376
- def initialize(target_Type = nil, excluded = nil)
377
- @target_Type = target_Type
378
- @excluded = excluded
379
- end
380
- end
381
-
382
- # CityTarget
383
- # - target_Type - SOAP::SOAPString
384
- # - excluded - SOAP::SOAPBoolean
385
- # - cityName - SOAP::SOAPString
386
- # - provinceCode - SOAP::SOAPString
387
- # - countryCode - SOAP::SOAPString
388
- class CityTarget < GeoTarget
389
- attr_accessor :target_Type
390
- attr_accessor :excluded
391
- attr_accessor :cityName
392
- attr_accessor :provinceCode
393
- attr_accessor :countryCode
394
-
395
- def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
396
- @target_Type = target_Type
397
- @excluded = excluded
398
- @cityName = cityName
399
- @provinceCode = provinceCode
400
- @countryCode = countryCode
401
- end
402
- end
403
-
404
- # CountryTarget
405
- # - target_Type - SOAP::SOAPString
406
- # - excluded - SOAP::SOAPBoolean
407
- # - countryCode - SOAP::SOAPString
408
- class CountryTarget < GeoTarget
409
- attr_accessor :target_Type
410
- attr_accessor :excluded
411
- attr_accessor :countryCode
412
-
413
- def initialize(target_Type = nil, excluded = nil, countryCode = nil)
414
- @target_Type = target_Type
415
- @excluded = excluded
416
- @countryCode = countryCode
417
- end
418
- end
419
-
420
- # MetroTarget
421
- # - target_Type - SOAP::SOAPString
422
- # - excluded - SOAP::SOAPBoolean
423
- # - metroCode - SOAP::SOAPString
424
- class MetroTarget < GeoTarget
425
- attr_accessor :target_Type
426
- attr_accessor :excluded
427
- attr_accessor :metroCode
428
-
429
- def initialize(target_Type = nil, excluded = nil, metroCode = nil)
430
- @target_Type = target_Type
431
- @excluded = excluded
432
- @metroCode = metroCode
433
- end
434
- end
435
-
436
- # PolygonTarget
437
- # - target_Type - SOAP::SOAPString
438
- # - excluded - SOAP::SOAPBoolean
439
- # - vertices - AdwordsApi::V201101::TargetingIdeaService::GeoPoint
440
- class PolygonTarget < GeoTarget
441
- attr_accessor :target_Type
442
- attr_accessor :excluded
443
- attr_accessor :vertices
444
-
445
- def initialize(target_Type = nil, excluded = nil, vertices = [])
446
- @target_Type = target_Type
447
- @excluded = excluded
448
- @vertices = vertices
449
- end
450
- end
451
-
452
- # ProvinceTarget
453
- # - target_Type - SOAP::SOAPString
454
- # - excluded - SOAP::SOAPBoolean
455
- # - provinceCode - SOAP::SOAPString
456
- class ProvinceTarget < GeoTarget
457
- attr_accessor :target_Type
458
- attr_accessor :excluded
459
- attr_accessor :provinceCode
460
-
461
- def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
462
- @target_Type = target_Type
463
- @excluded = excluded
464
- @provinceCode = provinceCode
465
- end
466
- end
467
-
468
- # ProximityTarget
469
- # - target_Type - SOAP::SOAPString
470
- # - excluded - SOAP::SOAPBoolean
471
- # - geoPoint - AdwordsApi::V201101::TargetingIdeaService::GeoPoint
472
- # - radiusDistanceUnits - AdwordsApi::V201101::TargetingIdeaService::ProximityTargetDistanceUnits
473
- # - radiusInUnits - SOAP::SOAPDouble
474
- # - address - AdwordsApi::V201101::TargetingIdeaService::Address
475
- # - allowServiceOfAddress - SOAP::SOAPBoolean
476
- class ProximityTarget < GeoTarget
477
- attr_accessor :target_Type
478
- attr_accessor :excluded
479
- attr_accessor :geoPoint
480
- attr_accessor :radiusDistanceUnits
481
- attr_accessor :radiusInUnits
482
- attr_accessor :address
483
- attr_accessor :allowServiceOfAddress
484
-
485
- def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
486
- @target_Type = target_Type
487
- @excluded = excluded
488
- @geoPoint = geoPoint
489
- @radiusDistanceUnits = radiusDistanceUnits
490
- @radiusInUnits = radiusInUnits
491
- @address = address
492
- @allowServiceOfAddress = allowServiceOfAddress
412
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
413
+ @fieldPath = fieldPath
414
+ @trigger = trigger
415
+ @errorString = errorString
416
+ @apiError_Type = apiError_Type
417
+ @reason = reason
493
418
  end
494
419
  end
495
420
 
496
- # ApiError
497
- # abstract
421
+ # PolicyViolationError
498
422
  # - fieldPath - SOAP::SOAPString
499
423
  # - trigger - SOAP::SOAPString
500
424
  # - errorString - SOAP::SOAPString
501
425
  # - apiError_Type - SOAP::SOAPString
502
- class ApiError
426
+ # - key - AdwordsApi::V201101::TargetingIdeaService::PolicyViolationKey
427
+ # - externalPolicyName - SOAP::SOAPString
428
+ # - externalPolicyUrl - SOAP::SOAPString
429
+ # - externalPolicyDescription - SOAP::SOAPString
430
+ # - isExemptable - SOAP::SOAPBoolean
431
+ # - violatingParts - AdwordsApi::V201101::TargetingIdeaService::PolicyViolationErrorPart
432
+ class PolicyViolationError < ApiError
503
433
  attr_accessor :fieldPath
504
434
  attr_accessor :trigger
505
435
  attr_accessor :errorString
506
436
  attr_accessor :apiError_Type
437
+ attr_accessor :key
438
+ attr_accessor :externalPolicyName
439
+ attr_accessor :externalPolicyUrl
440
+ attr_accessor :externalPolicyDescription
441
+ attr_accessor :isExemptable
442
+ attr_accessor :violatingParts
507
443
 
508
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
444
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
509
445
  @fieldPath = fieldPath
510
446
  @trigger = trigger
511
447
  @errorString = errorString
512
448
  @apiError_Type = apiError_Type
449
+ @key = key
450
+ @externalPolicyName = externalPolicyName
451
+ @externalPolicyUrl = externalPolicyUrl
452
+ @externalPolicyDescription = externalPolicyDescription
453
+ @isExemptable = isExemptable
454
+ @violatingParts = violatingParts
513
455
  end
514
456
  end
515
457
 
516
- # AdGroupCriterionError
458
+ # CriterionPolicyError
517
459
  # - fieldPath - SOAP::SOAPString
518
460
  # - trigger - SOAP::SOAPString
519
461
  # - errorString - SOAP::SOAPString
520
462
  # - apiError_Type - SOAP::SOAPString
521
- # - reason - AdwordsApi::V201101::TargetingIdeaService::AdGroupCriterionErrorReason
522
- class AdGroupCriterionError < ApiError
463
+ # - key - AdwordsApi::V201101::TargetingIdeaService::PolicyViolationKey
464
+ # - externalPolicyName - SOAP::SOAPString
465
+ # - externalPolicyUrl - SOAP::SOAPString
466
+ # - externalPolicyDescription - SOAP::SOAPString
467
+ # - isExemptable - SOAP::SOAPBoolean
468
+ # - violatingParts - AdwordsApi::V201101::TargetingIdeaService::PolicyViolationErrorPart
469
+ class CriterionPolicyError < PolicyViolationError
523
470
  attr_accessor :fieldPath
524
471
  attr_accessor :trigger
525
472
  attr_accessor :errorString
526
473
  attr_accessor :apiError_Type
527
- attr_accessor :reason
474
+ attr_accessor :key
475
+ attr_accessor :externalPolicyName
476
+ attr_accessor :externalPolicyUrl
477
+ attr_accessor :externalPolicyDescription
478
+ attr_accessor :isExemptable
479
+ attr_accessor :violatingParts
528
480
 
529
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
481
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
530
482
  @fieldPath = fieldPath
531
483
  @trigger = trigger
532
484
  @errorString = errorString
533
485
  @apiError_Type = apiError_Type
534
- @reason = reason
486
+ @key = key
487
+ @externalPolicyName = externalPolicyName
488
+ @externalPolicyUrl = externalPolicyUrl
489
+ @externalPolicyDescription = externalPolicyDescription
490
+ @isExemptable = isExemptable
491
+ @violatingParts = violatingParts
535
492
  end
536
493
  end
537
494
 
538
- # AuthenticationError
495
+ # QuotaCheckError
539
496
  # - fieldPath - SOAP::SOAPString
540
497
  # - trigger - SOAP::SOAPString
541
498
  # - errorString - SOAP::SOAPString
542
499
  # - apiError_Type - SOAP::SOAPString
543
- # - reason - AdwordsApi::V201101::TargetingIdeaService::AuthenticationErrorReason
544
- class AuthenticationError < ApiError
500
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::QuotaCheckErrorReason
501
+ class QuotaCheckError < ApiError
545
502
  attr_accessor :fieldPath
546
503
  attr_accessor :trigger
547
504
  attr_accessor :errorString
@@ -557,13 +514,13 @@ class AuthenticationError < ApiError
557
514
  end
558
515
  end
559
516
 
560
- # AuthorizationError
517
+ # RangeError
561
518
  # - fieldPath - SOAP::SOAPString
562
519
  # - trigger - SOAP::SOAPString
563
520
  # - errorString - SOAP::SOAPString
564
521
  # - apiError_Type - SOAP::SOAPString
565
- # - reason - AdwordsApi::V201101::TargetingIdeaService::AuthorizationErrorReason
566
- class AuthorizationError < ApiError
522
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::RangeErrorReason
523
+ class C_RangeError < ApiError
567
524
  attr_accessor :fieldPath
568
525
  attr_accessor :trigger
569
526
  attr_accessor :errorString
@@ -579,35 +536,44 @@ class AuthorizationError < ApiError
579
536
  end
580
537
  end
581
538
 
582
- # BiddingError
539
+ # RateExceededError
583
540
  # - fieldPath - SOAP::SOAPString
584
541
  # - trigger - SOAP::SOAPString
585
542
  # - errorString - SOAP::SOAPString
586
543
  # - apiError_Type - SOAP::SOAPString
587
- # - reason - AdwordsApi::V201101::TargetingIdeaService::BiddingErrorReason
588
- class BiddingError < ApiError
544
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::RateExceededErrorReason
545
+ # - rateName - SOAP::SOAPString
546
+ # - rateScope - SOAP::SOAPString
547
+ # - retryAfterSeconds - SOAP::SOAPInt
548
+ class RateExceededError < ApiError
589
549
  attr_accessor :fieldPath
590
550
  attr_accessor :trigger
591
551
  attr_accessor :errorString
592
552
  attr_accessor :apiError_Type
593
553
  attr_accessor :reason
554
+ attr_accessor :rateName
555
+ attr_accessor :rateScope
556
+ attr_accessor :retryAfterSeconds
594
557
 
595
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
558
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
596
559
  @fieldPath = fieldPath
597
560
  @trigger = trigger
598
561
  @errorString = errorString
599
562
  @apiError_Type = apiError_Type
600
563
  @reason = reason
564
+ @rateName = rateName
565
+ @rateScope = rateScope
566
+ @retryAfterSeconds = retryAfterSeconds
601
567
  end
602
568
  end
603
569
 
604
- # BudgetError
570
+ # ReadOnlyError
605
571
  # - fieldPath - SOAP::SOAPString
606
572
  # - trigger - SOAP::SOAPString
607
573
  # - errorString - SOAP::SOAPString
608
574
  # - apiError_Type - SOAP::SOAPString
609
- # - reason - AdwordsApi::V201101::TargetingIdeaService::BudgetErrorReason
610
- class BudgetError < ApiError
575
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::ReadOnlyErrorReason
576
+ class ReadOnlyError < ApiError
611
577
  attr_accessor :fieldPath
612
578
  attr_accessor :trigger
613
579
  attr_accessor :errorString
@@ -623,13 +589,13 @@ class BudgetError < ApiError
623
589
  end
624
590
  end
625
591
 
626
- # ClientTermsError
592
+ # RegionCodeError
627
593
  # - fieldPath - SOAP::SOAPString
628
594
  # - trigger - SOAP::SOAPString
629
595
  # - errorString - SOAP::SOAPString
630
596
  # - apiError_Type - SOAP::SOAPString
631
- # - reason - AdwordsApi::V201101::TargetingIdeaService::ClientTermsErrorReason
632
- class ClientTermsError < ApiError
597
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::RegionCodeErrorReason
598
+ class RegionCodeError < ApiError
633
599
  attr_accessor :fieldPath
634
600
  attr_accessor :trigger
635
601
  attr_accessor :errorString
@@ -645,13 +611,13 @@ class ClientTermsError < ApiError
645
611
  end
646
612
  end
647
613
 
648
- # DateError
614
+ # RequestError
649
615
  # - fieldPath - SOAP::SOAPString
650
616
  # - trigger - SOAP::SOAPString
651
617
  # - errorString - SOAP::SOAPString
652
618
  # - apiError_Type - SOAP::SOAPString
653
- # - reason - AdwordsApi::V201101::TargetingIdeaService::DateErrorReason
654
- class DateError < ApiError
619
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::RequestErrorReason
620
+ class RequestError < ApiError
655
621
  attr_accessor :fieldPath
656
622
  attr_accessor :trigger
657
623
  attr_accessor :errorString
@@ -667,13 +633,13 @@ class DateError < ApiError
667
633
  end
668
634
  end
669
635
 
670
- # DistinctError
636
+ # RequiredError
671
637
  # - fieldPath - SOAP::SOAPString
672
638
  # - trigger - SOAP::SOAPString
673
639
  # - errorString - SOAP::SOAPString
674
640
  # - apiError_Type - SOAP::SOAPString
675
- # - reason - AdwordsApi::V201101::TargetingIdeaService::DistinctErrorReason
676
- class DistinctError < ApiError
641
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::RequiredErrorReason
642
+ class RequiredError < ApiError
677
643
  attr_accessor :fieldPath
678
644
  attr_accessor :trigger
679
645
  attr_accessor :errorString
@@ -689,72 +655,57 @@ class DistinctError < ApiError
689
655
  end
690
656
  end
691
657
 
692
- # EntityCountLimitExceeded
658
+ # SizeLimitError
693
659
  # - fieldPath - SOAP::SOAPString
694
660
  # - trigger - SOAP::SOAPString
695
661
  # - errorString - SOAP::SOAPString
696
662
  # - apiError_Type - SOAP::SOAPString
697
- # - reason - AdwordsApi::V201101::TargetingIdeaService::EntityCountLimitExceededReason
698
- # - enclosingId - SOAP::SOAPString
699
- # - limit - SOAP::SOAPInt
700
- class EntityCountLimitExceeded < ApiError
663
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::SizeLimitErrorReason
664
+ class SizeLimitError < ApiError
701
665
  attr_accessor :fieldPath
702
666
  attr_accessor :trigger
703
667
  attr_accessor :errorString
704
668
  attr_accessor :apiError_Type
705
669
  attr_accessor :reason
706
- attr_accessor :enclosingId
707
- attr_accessor :limit
708
670
 
709
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil)
671
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
710
672
  @fieldPath = fieldPath
711
673
  @trigger = trigger
712
674
  @errorString = errorString
713
675
  @apiError_Type = apiError_Type
714
676
  @reason = reason
715
- @enclosingId = enclosingId
716
- @limit = limit
717
677
  end
718
678
  end
719
679
 
720
- # AdGroupCriterionLimitExceeded
680
+ # StatsQueryError
721
681
  # - fieldPath - SOAP::SOAPString
722
682
  # - trigger - SOAP::SOAPString
723
683
  # - errorString - SOAP::SOAPString
724
684
  # - apiError_Type - SOAP::SOAPString
725
- # - reason - AdwordsApi::V201101::TargetingIdeaService::EntityCountLimitExceededReason
726
- # - enclosingId - SOAP::SOAPString
727
- # - limit - SOAP::SOAPInt
728
- # - limitType - AdwordsApi::V201101::TargetingIdeaService::AdGroupCriterionLimitExceededCriteriaLimitType
729
- class AdGroupCriterionLimitExceeded < EntityCountLimitExceeded
685
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::StatsQueryErrorReason
686
+ class StatsQueryError < ApiError
730
687
  attr_accessor :fieldPath
731
688
  attr_accessor :trigger
732
689
  attr_accessor :errorString
733
690
  attr_accessor :apiError_Type
734
691
  attr_accessor :reason
735
- attr_accessor :enclosingId
736
- attr_accessor :limit
737
- attr_accessor :limitType
738
692
 
739
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil, limitType = nil)
693
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
740
694
  @fieldPath = fieldPath
741
695
  @trigger = trigger
742
696
  @errorString = errorString
743
697
  @apiError_Type = apiError_Type
744
698
  @reason = reason
745
- @enclosingId = enclosingId
746
- @limit = limit
747
- @limitType = limitType
748
699
  end
749
700
  end
750
701
 
751
- # EntityNotFound
702
+ # StringLengthError
752
703
  # - fieldPath - SOAP::SOAPString
753
704
  # - trigger - SOAP::SOAPString
754
705
  # - errorString - SOAP::SOAPString
755
706
  # - apiError_Type - SOAP::SOAPString
756
- # - reason - AdwordsApi::V201101::TargetingIdeaService::EntityNotFoundReason
757
- class EntityNotFound < ApiError
707
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::StringLengthErrorReason
708
+ class StringLengthError < ApiError
758
709
  attr_accessor :fieldPath
759
710
  attr_accessor :trigger
760
711
  attr_accessor :errorString
@@ -770,13 +721,13 @@ class EntityNotFound < ApiError
770
721
  end
771
722
  end
772
723
 
773
- # InternalApiError
724
+ # TargetError
774
725
  # - fieldPath - SOAP::SOAPString
775
726
  # - trigger - SOAP::SOAPString
776
727
  # - errorString - SOAP::SOAPString
777
728
  # - apiError_Type - SOAP::SOAPString
778
- # - reason - AdwordsApi::V201101::TargetingIdeaService::InternalApiErrorReason
779
- class InternalApiError < ApiError
729
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::TargetErrorReason
730
+ class TargetError < ApiError
780
731
  attr_accessor :fieldPath
781
732
  attr_accessor :trigger
782
733
  attr_accessor :errorString
@@ -792,13 +743,13 @@ class InternalApiError < ApiError
792
743
  end
793
744
  end
794
745
 
795
- # NotEmptyError
746
+ # CollectionSizeError
796
747
  # - fieldPath - SOAP::SOAPString
797
748
  # - trigger - SOAP::SOAPString
798
749
  # - errorString - SOAP::SOAPString
799
750
  # - apiError_Type - SOAP::SOAPString
800
- # - reason - AdwordsApi::V201101::TargetingIdeaService::NotEmptyErrorReason
801
- class NotEmptyError < ApiError
751
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::CollectionSizeErrorReason
752
+ class CollectionSizeError < ApiError
802
753
  attr_accessor :fieldPath
803
754
  attr_accessor :trigger
804
755
  attr_accessor :errorString
@@ -814,13 +765,13 @@ class NotEmptyError < ApiError
814
765
  end
815
766
  end
816
767
 
817
- # NotWhitelistedError
768
+ # CurrencyCodeError
818
769
  # - fieldPath - SOAP::SOAPString
819
770
  # - trigger - SOAP::SOAPString
820
771
  # - errorString - SOAP::SOAPString
821
772
  # - apiError_Type - SOAP::SOAPString
822
- # - reason - AdwordsApi::V201101::TargetingIdeaService::NotWhitelistedErrorReason
823
- class NotWhitelistedError < ApiError
773
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::CurrencyCodeErrorReason
774
+ class CurrencyCodeError < ApiError
824
775
  attr_accessor :fieldPath
825
776
  attr_accessor :trigger
826
777
  attr_accessor :errorString
@@ -836,13 +787,13 @@ class NotWhitelistedError < ApiError
836
787
  end
837
788
  end
838
789
 
839
- # NullError
790
+ # MatchesRegexError
840
791
  # - fieldPath - SOAP::SOAPString
841
792
  # - trigger - SOAP::SOAPString
842
793
  # - errorString - SOAP::SOAPString
843
794
  # - apiError_Type - SOAP::SOAPString
844
- # - reason - AdwordsApi::V201101::TargetingIdeaService::NullErrorReason
845
- class NullError < ApiError
795
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::MatchesRegexErrorReason
796
+ class MatchesRegexError < ApiError
846
797
  attr_accessor :fieldPath
847
798
  attr_accessor :trigger
848
799
  attr_accessor :errorString
@@ -858,13 +809,13 @@ class NullError < ApiError
858
809
  end
859
810
  end
860
811
 
861
- # QuotaCheckError
812
+ # TargetingIdeaError
862
813
  # - fieldPath - SOAP::SOAPString
863
814
  # - trigger - SOAP::SOAPString
864
815
  # - errorString - SOAP::SOAPString
865
816
  # - apiError_Type - SOAP::SOAPString
866
- # - reason - AdwordsApi::V201101::TargetingIdeaService::QuotaCheckErrorReason
867
- class QuotaCheckError < ApiError
817
+ # - reason - AdwordsApi::V201101::TargetingIdeaService::TargetingIdeaErrorReason
818
+ class TargetingIdeaError < ApiError
868
819
  attr_accessor :fieldPath
869
820
  attr_accessor :trigger
870
821
  attr_accessor :errorString
@@ -880,697 +831,1004 @@ class QuotaCheckError < ApiError
880
831
  end
881
832
  end
882
833
 
883
- # RangeError
884
- # - fieldPath - SOAP::SOAPString
885
- # - trigger - SOAP::SOAPString
886
- # - errorString - SOAP::SOAPString
887
- # - apiError_Type - SOAP::SOAPString
888
- # - reason - AdwordsApi::V201101::TargetingIdeaService::RangeErrorReason
889
- class C_RangeError < ApiError
890
- attr_accessor :fieldPath
891
- attr_accessor :trigger
892
- attr_accessor :errorString
893
- attr_accessor :apiError_Type
894
- attr_accessor :reason
834
+ # ApplicationException
835
+ # - message - SOAP::SOAPString
836
+ # - applicationException_Type - SOAP::SOAPString
837
+ class ApplicationException
838
+ attr_accessor :message
839
+ attr_accessor :applicationException_Type
895
840
 
896
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
897
- @fieldPath = fieldPath
898
- @trigger = trigger
899
- @errorString = errorString
900
- @apiError_Type = apiError_Type
901
- @reason = reason
841
+ def initialize(message = nil, applicationException_Type = nil)
842
+ @message = message
843
+ @applicationException_Type = applicationException_Type
902
844
  end
903
845
  end
904
846
 
905
- # RateExceededError
906
- # - fieldPath - SOAP::SOAPString
907
- # - trigger - SOAP::SOAPString
908
- # - errorString - SOAP::SOAPString
909
- # - apiError_Type - SOAP::SOAPString
910
- # - reason - AdwordsApi::V201101::TargetingIdeaService::RateExceededErrorReason
911
- # - rateName - SOAP::SOAPString
912
- # - rateScope - SOAP::SOAPString
913
- # - retryAfterSeconds - SOAP::SOAPInt
914
- class RateExceededError < ApiError
915
- attr_accessor :fieldPath
916
- attr_accessor :trigger
917
- attr_accessor :errorString
918
- attr_accessor :apiError_Type
919
- attr_accessor :reason
920
- attr_accessor :rateName
921
- attr_accessor :rateScope
922
- attr_accessor :retryAfterSeconds
847
+ # ApiException
848
+ # - message - SOAP::SOAPString
849
+ # - applicationException_Type - SOAP::SOAPString
850
+ # - errors - AdwordsApi::V201101::TargetingIdeaService::ApiError
851
+ class ApiException < ApplicationException
852
+ attr_accessor :message
853
+ attr_accessor :applicationException_Type
854
+ attr_accessor :errors
923
855
 
924
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
925
- @fieldPath = fieldPath
926
- @trigger = trigger
927
- @errorString = errorString
928
- @apiError_Type = apiError_Type
929
- @reason = reason
930
- @rateName = rateName
931
- @rateScope = rateScope
932
- @retryAfterSeconds = retryAfterSeconds
856
+ def initialize(message = nil, applicationException_Type = nil, errors = [])
857
+ @message = message
858
+ @applicationException_Type = applicationException_Type
859
+ @errors = errors
933
860
  end
934
861
  end
935
862
 
936
- # ReadOnlyError
937
- # - fieldPath - SOAP::SOAPString
938
- # - trigger - SOAP::SOAPString
939
- # - errorString - SOAP::SOAPString
940
- # - apiError_Type - SOAP::SOAPString
941
- # - reason - AdwordsApi::V201101::TargetingIdeaService::ReadOnlyErrorReason
942
- class ReadOnlyError < ApiError
943
- attr_accessor :fieldPath
944
- attr_accessor :trigger
945
- attr_accessor :errorString
946
- attr_accessor :apiError_Type
947
- attr_accessor :reason
863
+ # BidLandscape.LandscapePoint
864
+ # - bid - AdwordsApi::V201101::TargetingIdeaService::Money
865
+ # - clicks - SOAP::SOAPLong
866
+ # - cost - AdwordsApi::V201101::TargetingIdeaService::Money
867
+ # - marginalCpc - AdwordsApi::V201101::TargetingIdeaService::Money
868
+ # - impressions - SOAP::SOAPLong
869
+ class BidLandscapeLandscapePoint
870
+ attr_accessor :bid
871
+ attr_accessor :clicks
872
+ attr_accessor :cost
873
+ attr_accessor :marginalCpc
874
+ attr_accessor :impressions
948
875
 
949
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
950
- @fieldPath = fieldPath
951
- @trigger = trigger
952
- @errorString = errorString
953
- @apiError_Type = apiError_Type
954
- @reason = reason
876
+ def initialize(bid = nil, clicks = nil, cost = nil, marginalCpc = nil, impressions = nil)
877
+ @bid = bid
878
+ @clicks = clicks
879
+ @cost = cost
880
+ @marginalCpc = marginalCpc
881
+ @impressions = impressions
955
882
  end
956
883
  end
957
884
 
958
- # RegionCodeError
959
- # - fieldPath - SOAP::SOAPString
960
- # - trigger - SOAP::SOAPString
961
- # - errorString - SOAP::SOAPString
962
- # - apiError_Type - SOAP::SOAPString
963
- # - reason - AdwordsApi::V201101::TargetingIdeaService::RegionCodeErrorReason
964
- class RegionCodeError < ApiError
965
- attr_accessor :fieldPath
966
- attr_accessor :trigger
967
- attr_accessor :errorString
968
- attr_accessor :apiError_Type
969
- attr_accessor :reason
885
+ # ComparableValue
886
+ # abstract
887
+ # - comparableValue_Type - SOAP::SOAPString
888
+ class ComparableValue
889
+ attr_accessor :comparableValue_Type
970
890
 
971
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
972
- @fieldPath = fieldPath
973
- @trigger = trigger
974
- @errorString = errorString
975
- @apiError_Type = apiError_Type
976
- @reason = reason
891
+ def initialize(comparableValue_Type = nil)
892
+ @comparableValue_Type = comparableValue_Type
977
893
  end
978
894
  end
979
895
 
980
- # RequestError
981
- # - fieldPath - SOAP::SOAPString
982
- # - trigger - SOAP::SOAPString
983
- # - errorString - SOAP::SOAPString
984
- # - apiError_Type - SOAP::SOAPString
985
- # - reason - AdwordsApi::V201101::TargetingIdeaService::RequestErrorReason
986
- class RequestError < ApiError
987
- attr_accessor :fieldPath
988
- attr_accessor :trigger
989
- attr_accessor :errorString
990
- attr_accessor :apiError_Type
991
- attr_accessor :reason
896
+ # Money
897
+ # - comparableValue_Type - SOAP::SOAPString
898
+ # - microAmount - SOAP::SOAPLong
899
+ class Money < ComparableValue
900
+ attr_accessor :comparableValue_Type
901
+ attr_accessor :microAmount
902
+
903
+ def initialize(comparableValue_Type = nil, microAmount = nil)
904
+ @comparableValue_Type = comparableValue_Type
905
+ @microAmount = microAmount
906
+ end
907
+ end
908
+
909
+ # NumberValue
910
+ # abstract
911
+ # - comparableValue_Type - SOAP::SOAPString
912
+ class NumberValue < ComparableValue
913
+ attr_accessor :comparableValue_Type
914
+
915
+ def initialize(comparableValue_Type = nil)
916
+ @comparableValue_Type = comparableValue_Type
917
+ end
918
+ end
919
+
920
+ # DoubleValue
921
+ # - comparableValue_Type - SOAP::SOAPString
922
+ # - number - SOAP::SOAPDouble
923
+ class DoubleValue < NumberValue
924
+ attr_accessor :comparableValue_Type
925
+ attr_accessor :number
926
+
927
+ def initialize(comparableValue_Type = nil, number = nil)
928
+ @comparableValue_Type = comparableValue_Type
929
+ @number = number
930
+ end
931
+ end
932
+
933
+ # LongValue
934
+ # - comparableValue_Type - SOAP::SOAPString
935
+ # - number - SOAP::SOAPLong
936
+ class LongValue < NumberValue
937
+ attr_accessor :comparableValue_Type
938
+ attr_accessor :number
939
+
940
+ def initialize(comparableValue_Type = nil, number = nil)
941
+ @comparableValue_Type = comparableValue_Type
942
+ @number = number
943
+ end
944
+ end
945
+
946
+ # Criterion
947
+ # - id - SOAP::SOAPLong
948
+ # - criterion_Type - SOAP::SOAPString
949
+ class Criterion
950
+ attr_accessor :id
951
+ attr_accessor :criterion_Type
952
+
953
+ def initialize(id = nil, criterion_Type = nil)
954
+ @id = id
955
+ @criterion_Type = criterion_Type
956
+ end
957
+ end
958
+
959
+ # Keyword
960
+ # - id - SOAP::SOAPLong
961
+ # - criterion_Type - SOAP::SOAPString
962
+ # - text - SOAP::SOAPString
963
+ # - matchType - AdwordsApi::V201101::TargetingIdeaService::KeywordMatchType
964
+ class Keyword < Criterion
965
+ attr_accessor :id
966
+ attr_accessor :criterion_Type
967
+ attr_accessor :text
968
+ attr_accessor :matchType
969
+
970
+ def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
971
+ @id = id
972
+ @criterion_Type = criterion_Type
973
+ @text = text
974
+ @matchType = matchType
975
+ end
976
+ end
977
+
978
+ # Placement
979
+ # - id - SOAP::SOAPLong
980
+ # - criterion_Type - SOAP::SOAPString
981
+ # - url - SOAP::SOAPString
982
+ class Placement < Criterion
983
+ attr_accessor :id
984
+ attr_accessor :criterion_Type
985
+ attr_accessor :url
986
+
987
+ def initialize(id = nil, criterion_Type = nil, url = nil)
988
+ @id = id
989
+ @criterion_Type = criterion_Type
990
+ @url = url
991
+ end
992
+ end
993
+
994
+ # Product
995
+ # - id - SOAP::SOAPLong
996
+ # - criterion_Type - SOAP::SOAPString
997
+ # - conditions - AdwordsApi::V201101::TargetingIdeaService::ProductCondition
998
+ # - text - SOAP::SOAPString
999
+ class Product < Criterion
1000
+ attr_accessor :id
1001
+ attr_accessor :criterion_Type
1002
+ attr_accessor :conditions
1003
+ attr_accessor :text
1004
+
1005
+ def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
1006
+ @id = id
1007
+ @criterion_Type = criterion_Type
1008
+ @conditions = conditions
1009
+ @text = text
1010
+ end
1011
+ end
1012
+
1013
+ # CriterionUserInterest
1014
+ # - id - SOAP::SOAPLong
1015
+ # - criterion_Type - SOAP::SOAPString
1016
+ # - userInterestId - SOAP::SOAPLong
1017
+ # - userInterestName - SOAP::SOAPString
1018
+ class CriterionUserInterest < Criterion
1019
+ attr_accessor :id
1020
+ attr_accessor :criterion_Type
1021
+ attr_accessor :userInterestId
1022
+ attr_accessor :userInterestName
1023
+
1024
+ def initialize(id = nil, criterion_Type = nil, userInterestId = nil, userInterestName = nil)
1025
+ @id = id
1026
+ @criterion_Type = criterion_Type
1027
+ @userInterestId = userInterestId
1028
+ @userInterestName = userInterestName
1029
+ end
1030
+ end
1031
+
1032
+ # CriterionUserList
1033
+ # - id - SOAP::SOAPLong
1034
+ # - criterion_Type - SOAP::SOAPString
1035
+ # - userListId - SOAP::SOAPLong
1036
+ # - userListName - SOAP::SOAPString
1037
+ # - userListMembershipStatus - AdwordsApi::V201101::TargetingIdeaService::CriterionUserListMembershipStatus
1038
+ class CriterionUserList < Criterion
1039
+ attr_accessor :id
1040
+ attr_accessor :criterion_Type
1041
+ attr_accessor :userListId
1042
+ attr_accessor :userListName
1043
+ attr_accessor :userListMembershipStatus
1044
+
1045
+ def initialize(id = nil, criterion_Type = nil, userListId = nil, userListName = nil, userListMembershipStatus = nil)
1046
+ @id = id
1047
+ @criterion_Type = criterion_Type
1048
+ @userListId = userListId
1049
+ @userListName = userListName
1050
+ @userListMembershipStatus = userListMembershipStatus
1051
+ end
1052
+ end
1053
+
1054
+ # Vertical
1055
+ # - id - SOAP::SOAPLong
1056
+ # - criterion_Type - SOAP::SOAPString
1057
+ # - path - SOAP::SOAPString
1058
+ class Vertical < Criterion
1059
+ attr_accessor :id
1060
+ attr_accessor :criterion_Type
1061
+ attr_accessor :path
1062
+
1063
+ def initialize(id = nil, criterion_Type = nil, path = [])
1064
+ @id = id
1065
+ @criterion_Type = criterion_Type
1066
+ @path = path
1067
+ end
1068
+ end
1069
+
1070
+ # GeoPoint
1071
+ # - latitudeInMicroDegrees - SOAP::SOAPInt
1072
+ # - longitudeInMicroDegrees - SOAP::SOAPInt
1073
+ class GeoPoint
1074
+ attr_accessor :latitudeInMicroDegrees
1075
+ attr_accessor :longitudeInMicroDegrees
1076
+
1077
+ def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
1078
+ @latitudeInMicroDegrees = latitudeInMicroDegrees
1079
+ @longitudeInMicroDegrees = longitudeInMicroDegrees
1080
+ end
1081
+ end
1082
+
1083
+ # Paging
1084
+ # - startIndex - SOAP::SOAPInt
1085
+ # - numberResults - SOAP::SOAPInt
1086
+ class Paging
1087
+ attr_accessor :startIndex
1088
+ attr_accessor :numberResults
1089
+
1090
+ def initialize(startIndex = nil, numberResults = nil)
1091
+ @startIndex = startIndex
1092
+ @numberResults = numberResults
1093
+ end
1094
+ end
1095
+
1096
+ # PolicyViolationError.Part
1097
+ # - index - SOAP::SOAPInt
1098
+ # - length - SOAP::SOAPInt
1099
+ class PolicyViolationErrorPart
1100
+ attr_accessor :index
1101
+ attr_accessor :length
1102
+
1103
+ def initialize(index = nil, length = nil)
1104
+ @index = index
1105
+ @length = length
1106
+ end
1107
+ end
1108
+
1109
+ # PolicyViolationKey
1110
+ # - policyName - SOAP::SOAPString
1111
+ # - violatingText - SOAP::SOAPString
1112
+ class PolicyViolationKey
1113
+ attr_accessor :policyName
1114
+ attr_accessor :violatingText
1115
+
1116
+ def initialize(policyName = nil, violatingText = nil)
1117
+ @policyName = policyName
1118
+ @violatingText = violatingText
1119
+ end
1120
+ end
1121
+
1122
+ # ProductCondition
1123
+ # - argument - SOAP::SOAPString
1124
+ # - operand - AdwordsApi::V201101::TargetingIdeaService::ProductConditionOperand
1125
+ class ProductCondition
1126
+ attr_accessor :argument
1127
+ attr_accessor :operand
1128
+
1129
+ def initialize(argument = nil, operand = nil)
1130
+ @argument = argument
1131
+ @operand = operand
1132
+ end
1133
+ end
1134
+
1135
+ # ProductConditionOperand
1136
+ # - operand - SOAP::SOAPString
1137
+ class ProductConditionOperand
1138
+ attr_accessor :operand
1139
+
1140
+ def initialize(operand = nil)
1141
+ @operand = operand
1142
+ end
1143
+ end
1144
+
1145
+ # SoapHeader
1146
+ # - authToken - SOAP::SOAPString
1147
+ # - clientCustomerId - SOAP::SOAPString
1148
+ # - clientEmail - SOAP::SOAPString
1149
+ # - developerToken - SOAP::SOAPString
1150
+ # - userAgent - SOAP::SOAPString
1151
+ # - validateOnly - SOAP::SOAPBoolean
1152
+ # - partialFailure - SOAP::SOAPBoolean
1153
+ class SoapHeader
1154
+ attr_accessor :authToken
1155
+ attr_accessor :clientCustomerId
1156
+ attr_accessor :clientEmail
1157
+ attr_accessor :developerToken
1158
+ attr_accessor :userAgent
1159
+ attr_accessor :validateOnly
1160
+ attr_accessor :partialFailure
1161
+
1162
+ def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
1163
+ @authToken = authToken
1164
+ @clientCustomerId = clientCustomerId
1165
+ @clientEmail = clientEmail
1166
+ @developerToken = developerToken
1167
+ @userAgent = userAgent
1168
+ @validateOnly = validateOnly
1169
+ @partialFailure = partialFailure
1170
+ end
1171
+ end
1172
+
1173
+ # SoapResponseHeader
1174
+ # - requestId - SOAP::SOAPString
1175
+ # - operations - SOAP::SOAPLong
1176
+ # - responseTime - SOAP::SOAPLong
1177
+ # - units - SOAP::SOAPLong
1178
+ class SoapResponseHeader
1179
+ attr_accessor :requestId
1180
+ attr_accessor :operations
1181
+ attr_accessor :responseTime
1182
+ attr_accessor :units
1183
+
1184
+ def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
1185
+ @requestId = requestId
1186
+ @operations = operations
1187
+ @responseTime = responseTime
1188
+ @units = units
1189
+ end
1190
+ end
1191
+
1192
+ # DataEntry
1193
+ # abstract
1194
+ # - dataEntry_Type - SOAP::SOAPString
1195
+ class DataEntry
1196
+ attr_accessor :dataEntry_Type
1197
+
1198
+ def initialize(dataEntry_Type = nil)
1199
+ @dataEntry_Type = dataEntry_Type
1200
+ end
1201
+ end
1202
+
1203
+ # BidLandscape
1204
+ # abstract
1205
+ # - dataEntry_Type - SOAP::SOAPString
1206
+ # - campaignId - SOAP::SOAPLong
1207
+ # - adGroupId - SOAP::SOAPLong
1208
+ # - startDate - SOAP::SOAPString
1209
+ # - endDate - SOAP::SOAPString
1210
+ # - landscapePoints - AdwordsApi::V201101::TargetingIdeaService::BidLandscapeLandscapePoint
1211
+ class BidLandscape < DataEntry
1212
+ attr_accessor :dataEntry_Type
1213
+ attr_accessor :campaignId
1214
+ attr_accessor :adGroupId
1215
+ attr_accessor :startDate
1216
+ attr_accessor :endDate
1217
+ attr_accessor :landscapePoints
1218
+
1219
+ def initialize(dataEntry_Type = nil, campaignId = nil, adGroupId = nil, startDate = nil, endDate = nil, landscapePoints = [])
1220
+ @dataEntry_Type = dataEntry_Type
1221
+ @campaignId = campaignId
1222
+ @adGroupId = adGroupId
1223
+ @startDate = startDate
1224
+ @endDate = endDate
1225
+ @landscapePoints = landscapePoints
1226
+ end
1227
+ end
1228
+
1229
+ # AdGroupBidLandscape
1230
+ # - dataEntry_Type - SOAP::SOAPString
1231
+ # - campaignId - SOAP::SOAPLong
1232
+ # - adGroupId - SOAP::SOAPLong
1233
+ # - startDate - SOAP::SOAPString
1234
+ # - endDate - SOAP::SOAPString
1235
+ # - landscapePoints - AdwordsApi::V201101::TargetingIdeaService::BidLandscapeLandscapePoint
1236
+ # - type - AdwordsApi::V201101::TargetingIdeaService::AdGroupBidLandscapeType
1237
+ # - landscapeCurrent - SOAP::SOAPBoolean
1238
+ class AdGroupBidLandscape < BidLandscape
1239
+ attr_accessor :dataEntry_Type
1240
+ attr_accessor :campaignId
1241
+ attr_accessor :adGroupId
1242
+ attr_accessor :startDate
1243
+ attr_accessor :endDate
1244
+ attr_accessor :landscapePoints
1245
+ attr_accessor :type
1246
+ attr_accessor :landscapeCurrent
1247
+
1248
+ def initialize(dataEntry_Type = nil, campaignId = nil, adGroupId = nil, startDate = nil, endDate = nil, landscapePoints = [], type = nil, landscapeCurrent = nil)
1249
+ @dataEntry_Type = dataEntry_Type
1250
+ @campaignId = campaignId
1251
+ @adGroupId = adGroupId
1252
+ @startDate = startDate
1253
+ @endDate = endDate
1254
+ @landscapePoints = landscapePoints
1255
+ @type = type
1256
+ @landscapeCurrent = landscapeCurrent
1257
+ end
1258
+ end
1259
+
1260
+ # CriterionBidLandscape
1261
+ # - dataEntry_Type - SOAP::SOAPString
1262
+ # - campaignId - SOAP::SOAPLong
1263
+ # - adGroupId - SOAP::SOAPLong
1264
+ # - startDate - SOAP::SOAPString
1265
+ # - endDate - SOAP::SOAPString
1266
+ # - landscapePoints - AdwordsApi::V201101::TargetingIdeaService::BidLandscapeLandscapePoint
1267
+ # - criterionId - SOAP::SOAPLong
1268
+ class CriterionBidLandscape < BidLandscape
1269
+ attr_accessor :dataEntry_Type
1270
+ attr_accessor :campaignId
1271
+ attr_accessor :adGroupId
1272
+ attr_accessor :startDate
1273
+ attr_accessor :endDate
1274
+ attr_accessor :landscapePoints
1275
+ attr_accessor :criterionId
1276
+
1277
+ def initialize(dataEntry_Type = nil, campaignId = nil, adGroupId = nil, startDate = nil, endDate = nil, landscapePoints = [], criterionId = nil)
1278
+ @dataEntry_Type = dataEntry_Type
1279
+ @campaignId = campaignId
1280
+ @adGroupId = adGroupId
1281
+ @startDate = startDate
1282
+ @endDate = endDate
1283
+ @landscapePoints = landscapePoints
1284
+ @criterionId = criterionId
1285
+ end
1286
+ end
1287
+
1288
+ # Target
1289
+ # abstract
1290
+ # - target_Type - SOAP::SOAPString
1291
+ class Target
1292
+ attr_accessor :target_Type
1293
+
1294
+ def initialize(target_Type = nil)
1295
+ @target_Type = target_Type
1296
+ end
1297
+ end
1298
+
1299
+ # AdScheduleTarget
1300
+ # - target_Type - SOAP::SOAPString
1301
+ # - dayOfWeek - AdwordsApi::V201101::TargetingIdeaService::DayOfWeek
1302
+ # - startHour - SOAP::SOAPInt
1303
+ # - startMinute - AdwordsApi::V201101::TargetingIdeaService::MinuteOfHour
1304
+ # - endHour - SOAP::SOAPInt
1305
+ # - endMinute - AdwordsApi::V201101::TargetingIdeaService::MinuteOfHour
1306
+ # - bidMultiplier - SOAP::SOAPDouble
1307
+ class AdScheduleTarget < Target
1308
+ attr_accessor :target_Type
1309
+ attr_accessor :dayOfWeek
1310
+ attr_accessor :startHour
1311
+ attr_accessor :startMinute
1312
+ attr_accessor :endHour
1313
+ attr_accessor :endMinute
1314
+ attr_accessor :bidMultiplier
1315
+
1316
+ def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
1317
+ @target_Type = target_Type
1318
+ @dayOfWeek = dayOfWeek
1319
+ @startHour = startHour
1320
+ @startMinute = startMinute
1321
+ @endHour = endHour
1322
+ @endMinute = endMinute
1323
+ @bidMultiplier = bidMultiplier
1324
+ end
1325
+ end
992
1326
 
993
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
994
- @fieldPath = fieldPath
995
- @trigger = trigger
996
- @errorString = errorString
997
- @apiError_Type = apiError_Type
998
- @reason = reason
1327
+ # DemographicTarget
1328
+ # abstract
1329
+ # - target_Type - SOAP::SOAPString
1330
+ # - bidModifier - SOAP::SOAPInt
1331
+ class DemographicTarget < Target
1332
+ attr_accessor :target_Type
1333
+ attr_accessor :bidModifier
1334
+
1335
+ def initialize(target_Type = nil, bidModifier = nil)
1336
+ @target_Type = target_Type
1337
+ @bidModifier = bidModifier
999
1338
  end
1000
1339
  end
1001
1340
 
1002
- # RequiredError
1003
- # - fieldPath - SOAP::SOAPString
1004
- # - trigger - SOAP::SOAPString
1005
- # - errorString - SOAP::SOAPString
1006
- # - apiError_Type - SOAP::SOAPString
1007
- # - reason - AdwordsApi::V201101::TargetingIdeaService::RequiredErrorReason
1008
- class RequiredError < ApiError
1009
- attr_accessor :fieldPath
1010
- attr_accessor :trigger
1011
- attr_accessor :errorString
1012
- attr_accessor :apiError_Type
1013
- attr_accessor :reason
1341
+ # AgeTarget
1342
+ # - target_Type - SOAP::SOAPString
1343
+ # - bidModifier - SOAP::SOAPInt
1344
+ # - age - AdwordsApi::V201101::TargetingIdeaService::AgeTargetAge
1345
+ class AgeTarget < DemographicTarget
1346
+ attr_accessor :target_Type
1347
+ attr_accessor :bidModifier
1348
+ attr_accessor :age
1014
1349
 
1015
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1016
- @fieldPath = fieldPath
1017
- @trigger = trigger
1018
- @errorString = errorString
1019
- @apiError_Type = apiError_Type
1020
- @reason = reason
1350
+ def initialize(target_Type = nil, bidModifier = nil, age = nil)
1351
+ @target_Type = target_Type
1352
+ @bidModifier = bidModifier
1353
+ @age = age
1021
1354
  end
1022
1355
  end
1023
1356
 
1024
- # SizeLimitError
1025
- # - fieldPath - SOAP::SOAPString
1026
- # - trigger - SOAP::SOAPString
1027
- # - errorString - SOAP::SOAPString
1028
- # - apiError_Type - SOAP::SOAPString
1029
- # - reason - AdwordsApi::V201101::TargetingIdeaService::SizeLimitErrorReason
1030
- class SizeLimitError < ApiError
1031
- attr_accessor :fieldPath
1032
- attr_accessor :trigger
1033
- attr_accessor :errorString
1034
- attr_accessor :apiError_Type
1035
- attr_accessor :reason
1357
+ # GenderTarget
1358
+ # - target_Type - SOAP::SOAPString
1359
+ # - bidModifier - SOAP::SOAPInt
1360
+ # - gender - AdwordsApi::V201101::TargetingIdeaService::GenderTargetGender
1361
+ class GenderTarget < DemographicTarget
1362
+ attr_accessor :target_Type
1363
+ attr_accessor :bidModifier
1364
+ attr_accessor :gender
1036
1365
 
1037
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1038
- @fieldPath = fieldPath
1039
- @trigger = trigger
1040
- @errorString = errorString
1041
- @apiError_Type = apiError_Type
1042
- @reason = reason
1366
+ def initialize(target_Type = nil, bidModifier = nil, gender = nil)
1367
+ @target_Type = target_Type
1368
+ @bidModifier = bidModifier
1369
+ @gender = gender
1043
1370
  end
1044
1371
  end
1045
1372
 
1046
- # StatsQueryError
1047
- # - fieldPath - SOAP::SOAPString
1048
- # - trigger - SOAP::SOAPString
1049
- # - errorString - SOAP::SOAPString
1050
- # - apiError_Type - SOAP::SOAPString
1051
- # - reason - AdwordsApi::V201101::TargetingIdeaService::StatsQueryErrorReason
1052
- class StatsQueryError < ApiError
1053
- attr_accessor :fieldPath
1054
- attr_accessor :trigger
1055
- attr_accessor :errorString
1056
- attr_accessor :apiError_Type
1057
- attr_accessor :reason
1373
+ # GeoTarget
1374
+ # abstract
1375
+ # - target_Type - SOAP::SOAPString
1376
+ # - excluded - SOAP::SOAPBoolean
1377
+ class GeoTarget < Target
1378
+ attr_accessor :target_Type
1379
+ attr_accessor :excluded
1058
1380
 
1059
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1060
- @fieldPath = fieldPath
1061
- @trigger = trigger
1062
- @errorString = errorString
1063
- @apiError_Type = apiError_Type
1064
- @reason = reason
1381
+ def initialize(target_Type = nil, excluded = nil)
1382
+ @target_Type = target_Type
1383
+ @excluded = excluded
1065
1384
  end
1066
1385
  end
1067
1386
 
1068
- # StringLengthError
1069
- # - fieldPath - SOAP::SOAPString
1070
- # - trigger - SOAP::SOAPString
1071
- # - errorString - SOAP::SOAPString
1072
- # - apiError_Type - SOAP::SOAPString
1073
- # - reason - AdwordsApi::V201101::TargetingIdeaService::StringLengthErrorReason
1074
- class StringLengthError < ApiError
1075
- attr_accessor :fieldPath
1076
- attr_accessor :trigger
1077
- attr_accessor :errorString
1078
- attr_accessor :apiError_Type
1079
- attr_accessor :reason
1387
+ # CityTarget
1388
+ # - target_Type - SOAP::SOAPString
1389
+ # - excluded - SOAP::SOAPBoolean
1390
+ # - cityName - SOAP::SOAPString
1391
+ # - provinceCode - SOAP::SOAPString
1392
+ # - countryCode - SOAP::SOAPString
1393
+ class CityTarget < GeoTarget
1394
+ attr_accessor :target_Type
1395
+ attr_accessor :excluded
1396
+ attr_accessor :cityName
1397
+ attr_accessor :provinceCode
1398
+ attr_accessor :countryCode
1080
1399
 
1081
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1082
- @fieldPath = fieldPath
1083
- @trigger = trigger
1084
- @errorString = errorString
1085
- @apiError_Type = apiError_Type
1086
- @reason = reason
1400
+ def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
1401
+ @target_Type = target_Type
1402
+ @excluded = excluded
1403
+ @cityName = cityName
1404
+ @provinceCode = provinceCode
1405
+ @countryCode = countryCode
1406
+ end
1407
+ end
1408
+
1409
+ # CountryTarget
1410
+ # - target_Type - SOAP::SOAPString
1411
+ # - excluded - SOAP::SOAPBoolean
1412
+ # - countryCode - SOAP::SOAPString
1413
+ class CountryTarget < GeoTarget
1414
+ attr_accessor :target_Type
1415
+ attr_accessor :excluded
1416
+ attr_accessor :countryCode
1417
+
1418
+ def initialize(target_Type = nil, excluded = nil, countryCode = nil)
1419
+ @target_Type = target_Type
1420
+ @excluded = excluded
1421
+ @countryCode = countryCode
1422
+ end
1423
+ end
1424
+
1425
+ # MetroTarget
1426
+ # - target_Type - SOAP::SOAPString
1427
+ # - excluded - SOAP::SOAPBoolean
1428
+ # - metroCode - SOAP::SOAPString
1429
+ class MetroTarget < GeoTarget
1430
+ attr_accessor :target_Type
1431
+ attr_accessor :excluded
1432
+ attr_accessor :metroCode
1433
+
1434
+ def initialize(target_Type = nil, excluded = nil, metroCode = nil)
1435
+ @target_Type = target_Type
1436
+ @excluded = excluded
1437
+ @metroCode = metroCode
1438
+ end
1439
+ end
1440
+
1441
+ # PolygonTarget
1442
+ # - target_Type - SOAP::SOAPString
1443
+ # - excluded - SOAP::SOAPBoolean
1444
+ # - vertices - AdwordsApi::V201101::TargetingIdeaService::GeoPoint
1445
+ class PolygonTarget < GeoTarget
1446
+ attr_accessor :target_Type
1447
+ attr_accessor :excluded
1448
+ attr_accessor :vertices
1449
+
1450
+ def initialize(target_Type = nil, excluded = nil, vertices = [])
1451
+ @target_Type = target_Type
1452
+ @excluded = excluded
1453
+ @vertices = vertices
1454
+ end
1455
+ end
1456
+
1457
+ # ProvinceTarget
1458
+ # - target_Type - SOAP::SOAPString
1459
+ # - excluded - SOAP::SOAPBoolean
1460
+ # - provinceCode - SOAP::SOAPString
1461
+ class ProvinceTarget < GeoTarget
1462
+ attr_accessor :target_Type
1463
+ attr_accessor :excluded
1464
+ attr_accessor :provinceCode
1465
+
1466
+ def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
1467
+ @target_Type = target_Type
1468
+ @excluded = excluded
1469
+ @provinceCode = provinceCode
1470
+ end
1471
+ end
1472
+
1473
+ # ProximityTarget
1474
+ # - target_Type - SOAP::SOAPString
1475
+ # - excluded - SOAP::SOAPBoolean
1476
+ # - geoPoint - AdwordsApi::V201101::TargetingIdeaService::GeoPoint
1477
+ # - radiusDistanceUnits - AdwordsApi::V201101::TargetingIdeaService::ProximityTargetDistanceUnits
1478
+ # - radiusInUnits - SOAP::SOAPDouble
1479
+ # - address - AdwordsApi::V201101::TargetingIdeaService::Address
1480
+ # - allowServiceOfAddress - SOAP::SOAPBoolean
1481
+ class ProximityTarget < GeoTarget
1482
+ attr_accessor :target_Type
1483
+ attr_accessor :excluded
1484
+ attr_accessor :geoPoint
1485
+ attr_accessor :radiusDistanceUnits
1486
+ attr_accessor :radiusInUnits
1487
+ attr_accessor :address
1488
+ attr_accessor :allowServiceOfAddress
1489
+
1490
+ def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
1491
+ @target_Type = target_Type
1492
+ @excluded = excluded
1493
+ @geoPoint = geoPoint
1494
+ @radiusDistanceUnits = radiusDistanceUnits
1495
+ @radiusInUnits = radiusInUnits
1496
+ @address = address
1497
+ @allowServiceOfAddress = allowServiceOfAddress
1498
+ end
1499
+ end
1500
+
1501
+ # LanguageTarget
1502
+ # - target_Type - SOAP::SOAPString
1503
+ # - languageCode - SOAP::SOAPString
1504
+ class LanguageTarget < Target
1505
+ attr_accessor :target_Type
1506
+ attr_accessor :languageCode
1507
+
1508
+ def initialize(target_Type = nil, languageCode = nil)
1509
+ @target_Type = target_Type
1510
+ @languageCode = languageCode
1087
1511
  end
1088
1512
  end
1089
1513
 
1090
- # TargetError
1091
- # - fieldPath - SOAP::SOAPString
1092
- # - trigger - SOAP::SOAPString
1093
- # - errorString - SOAP::SOAPString
1094
- # - apiError_Type - SOAP::SOAPString
1095
- # - reason - AdwordsApi::V201101::TargetingIdeaService::TargetErrorReason
1096
- class TargetError < ApiError
1097
- attr_accessor :fieldPath
1098
- attr_accessor :trigger
1099
- attr_accessor :errorString
1100
- attr_accessor :apiError_Type
1101
- attr_accessor :reason
1514
+ # MobileTarget
1515
+ # abstract
1516
+ # - target_Type - SOAP::SOAPString
1517
+ class MobileTarget < Target
1518
+ attr_accessor :target_Type
1102
1519
 
1103
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1104
- @fieldPath = fieldPath
1105
- @trigger = trigger
1106
- @errorString = errorString
1107
- @apiError_Type = apiError_Type
1108
- @reason = reason
1520
+ def initialize(target_Type = nil)
1521
+ @target_Type = target_Type
1109
1522
  end
1110
1523
  end
1111
1524
 
1112
- # DatabaseError
1113
- # - fieldPath - SOAP::SOAPString
1114
- # - trigger - SOAP::SOAPString
1115
- # - errorString - SOAP::SOAPString
1116
- # - apiError_Type - SOAP::SOAPString
1117
- # - reason - AdwordsApi::V201101::TargetingIdeaService::DatabaseErrorReason
1118
- class DatabaseError < ApiError
1119
- attr_accessor :fieldPath
1120
- attr_accessor :trigger
1121
- attr_accessor :errorString
1122
- attr_accessor :apiError_Type
1123
- attr_accessor :reason
1525
+ # MobileCarrierTarget
1526
+ # - target_Type - SOAP::SOAPString
1527
+ # - carrierName - SOAP::SOAPString
1528
+ # - countryCode - SOAP::SOAPString
1529
+ class MobileCarrierTarget < MobileTarget
1530
+ attr_accessor :target_Type
1531
+ attr_accessor :carrierName
1532
+ attr_accessor :countryCode
1124
1533
 
1125
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1126
- @fieldPath = fieldPath
1127
- @trigger = trigger
1128
- @errorString = errorString
1129
- @apiError_Type = apiError_Type
1130
- @reason = reason
1534
+ def initialize(target_Type = nil, carrierName = nil, countryCode = nil)
1535
+ @target_Type = target_Type
1536
+ @carrierName = carrierName
1537
+ @countryCode = countryCode
1131
1538
  end
1132
1539
  end
1133
1540
 
1134
- # PolicyViolationError
1135
- # - fieldPath - SOAP::SOAPString
1136
- # - trigger - SOAP::SOAPString
1137
- # - errorString - SOAP::SOAPString
1138
- # - apiError_Type - SOAP::SOAPString
1139
- # - key - AdwordsApi::V201101::TargetingIdeaService::PolicyViolationKey
1140
- # - externalPolicyName - SOAP::SOAPString
1141
- # - externalPolicyUrl - SOAP::SOAPString
1142
- # - externalPolicyDescription - SOAP::SOAPString
1143
- # - isExemptable - SOAP::SOAPBoolean
1144
- # - violatingParts - AdwordsApi::V201101::TargetingIdeaService::PolicyViolationErrorPart
1145
- class PolicyViolationError < ApiError
1146
- attr_accessor :fieldPath
1147
- attr_accessor :trigger
1148
- attr_accessor :errorString
1149
- attr_accessor :apiError_Type
1150
- attr_accessor :key
1151
- attr_accessor :externalPolicyName
1152
- attr_accessor :externalPolicyUrl
1153
- attr_accessor :externalPolicyDescription
1154
- attr_accessor :isExemptable
1155
- attr_accessor :violatingParts
1541
+ # MobilePlatformTarget
1542
+ # - target_Type - SOAP::SOAPString
1543
+ # - platformName - SOAP::SOAPString
1544
+ class MobilePlatformTarget < MobileTarget
1545
+ attr_accessor :target_Type
1546
+ attr_accessor :platformName
1156
1547
 
1157
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
1158
- @fieldPath = fieldPath
1159
- @trigger = trigger
1160
- @errorString = errorString
1161
- @apiError_Type = apiError_Type
1162
- @key = key
1163
- @externalPolicyName = externalPolicyName
1164
- @externalPolicyUrl = externalPolicyUrl
1165
- @externalPolicyDescription = externalPolicyDescription
1166
- @isExemptable = isExemptable
1167
- @violatingParts = violatingParts
1548
+ def initialize(target_Type = nil, platformName = nil)
1549
+ @target_Type = target_Type
1550
+ @platformName = platformName
1168
1551
  end
1169
1552
  end
1170
1553
 
1171
- # CriterionPolicyError
1172
- # - fieldPath - SOAP::SOAPString
1173
- # - trigger - SOAP::SOAPString
1174
- # - errorString - SOAP::SOAPString
1175
- # - apiError_Type - SOAP::SOAPString
1176
- # - key - AdwordsApi::V201101::TargetingIdeaService::PolicyViolationKey
1177
- # - externalPolicyName - SOAP::SOAPString
1178
- # - externalPolicyUrl - SOAP::SOAPString
1179
- # - externalPolicyDescription - SOAP::SOAPString
1180
- # - isExemptable - SOAP::SOAPBoolean
1181
- # - violatingParts - AdwordsApi::V201101::TargetingIdeaService::PolicyViolationErrorPart
1182
- class CriterionPolicyError < PolicyViolationError
1183
- attr_accessor :fieldPath
1184
- attr_accessor :trigger
1185
- attr_accessor :errorString
1186
- attr_accessor :apiError_Type
1187
- attr_accessor :key
1188
- attr_accessor :externalPolicyName
1189
- attr_accessor :externalPolicyUrl
1190
- attr_accessor :externalPolicyDescription
1191
- attr_accessor :isExemptable
1192
- attr_accessor :violatingParts
1554
+ # PlatformTarget
1555
+ # - target_Type - SOAP::SOAPString
1556
+ # - platformType - AdwordsApi::V201101::TargetingIdeaService::PlatformType
1557
+ class PlatformTarget < Target
1558
+ attr_accessor :target_Type
1559
+ attr_accessor :platformType
1193
1560
 
1194
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
1195
- @fieldPath = fieldPath
1196
- @trigger = trigger
1197
- @errorString = errorString
1198
- @apiError_Type = apiError_Type
1199
- @key = key
1200
- @externalPolicyName = externalPolicyName
1201
- @externalPolicyUrl = externalPolicyUrl
1202
- @externalPolicyDescription = externalPolicyDescription
1203
- @isExemptable = isExemptable
1204
- @violatingParts = violatingParts
1561
+ def initialize(target_Type = nil, platformType = nil)
1562
+ @target_Type = target_Type
1563
+ @platformType = platformType
1205
1564
  end
1206
1565
  end
1207
1566
 
1208
- # CollectionSizeError
1209
- # - fieldPath - SOAP::SOAPString
1210
- # - trigger - SOAP::SOAPString
1211
- # - errorString - SOAP::SOAPString
1212
- # - apiError_Type - SOAP::SOAPString
1213
- # - reason - AdwordsApi::V201101::TargetingIdeaService::CollectionSizeErrorReason
1214
- class CollectionSizeError < ApiError
1215
- attr_accessor :fieldPath
1216
- attr_accessor :trigger
1217
- attr_accessor :errorString
1218
- attr_accessor :apiError_Type
1219
- attr_accessor :reason
1567
+ # AdFormatSpec
1568
+ # - format - AdwordsApi::V201101::TargetingIdeaService::SiteConstantsAdFormat
1569
+ class AdFormatSpec
1570
+ attr_accessor :format
1220
1571
 
1221
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1222
- @fieldPath = fieldPath
1223
- @trigger = trigger
1224
- @errorString = errorString
1225
- @apiError_Type = apiError_Type
1226
- @reason = reason
1572
+ def initialize(format = nil)
1573
+ @format = format
1227
1574
  end
1228
1575
  end
1229
1576
 
1230
- # CurrencyCodeError
1231
- # - fieldPath - SOAP::SOAPString
1232
- # - trigger - SOAP::SOAPString
1233
- # - errorString - SOAP::SOAPString
1234
- # - apiError_Type - SOAP::SOAPString
1235
- # - reason - AdwordsApi::V201101::TargetingIdeaService::CurrencyCodeErrorReason
1236
- class CurrencyCodeError < ApiError
1237
- attr_accessor :fieldPath
1238
- attr_accessor :trigger
1239
- attr_accessor :errorString
1240
- attr_accessor :apiError_Type
1241
- attr_accessor :reason
1577
+ # Attribute
1578
+ # abstract
1579
+ # - attribute_Type - SOAP::SOAPString
1580
+ class Attribute
1581
+ attr_accessor :attribute_Type
1242
1582
 
1243
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1244
- @fieldPath = fieldPath
1245
- @trigger = trigger
1246
- @errorString = errorString
1247
- @apiError_Type = apiError_Type
1248
- @reason = reason
1583
+ def initialize(attribute_Type = nil)
1584
+ @attribute_Type = attribute_Type
1249
1585
  end
1250
1586
  end
1251
1587
 
1252
- # MatchesRegexError
1253
- # - fieldPath - SOAP::SOAPString
1254
- # - trigger - SOAP::SOAPString
1255
- # - errorString - SOAP::SOAPString
1256
- # - apiError_Type - SOAP::SOAPString
1257
- # - reason - AdwordsApi::V201101::TargetingIdeaService::MatchesRegexErrorReason
1258
- class MatchesRegexError < ApiError
1259
- attr_accessor :fieldPath
1260
- attr_accessor :trigger
1261
- attr_accessor :errorString
1262
- attr_accessor :apiError_Type
1263
- attr_accessor :reason
1588
+ # AdFormatSpecListAttribute
1589
+ # - attribute_Type - SOAP::SOAPString
1590
+ # - value - AdwordsApi::V201101::TargetingIdeaService::AdFormatSpec
1591
+ class AdFormatSpecListAttribute < Attribute
1592
+ attr_accessor :attribute_Type
1593
+ attr_accessor :value
1264
1594
 
1265
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1266
- @fieldPath = fieldPath
1267
- @trigger = trigger
1268
- @errorString = errorString
1269
- @apiError_Type = apiError_Type
1270
- @reason = reason
1595
+ def initialize(attribute_Type = nil, value = [])
1596
+ @attribute_Type = attribute_Type
1597
+ @value = value
1271
1598
  end
1272
1599
  end
1273
1600
 
1274
- # TargetingIdeaError
1275
- # - fieldPath - SOAP::SOAPString
1276
- # - trigger - SOAP::SOAPString
1277
- # - errorString - SOAP::SOAPString
1278
- # - apiError_Type - SOAP::SOAPString
1279
- # - reason - AdwordsApi::V201101::TargetingIdeaService::TargetingIdeaErrorReason
1280
- class TargetingIdeaError < ApiError
1281
- attr_accessor :fieldPath
1282
- attr_accessor :trigger
1283
- attr_accessor :errorString
1284
- attr_accessor :apiError_Type
1285
- attr_accessor :reason
1601
+ # BidLandscapeAttribute
1602
+ # - attribute_Type - SOAP::SOAPString
1603
+ # - value - AdwordsApi::V201101::TargetingIdeaService::BidLandscape
1604
+ class BidLandscapeAttribute < Attribute
1605
+ attr_accessor :attribute_Type
1606
+ attr_accessor :value
1286
1607
 
1287
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1288
- @fieldPath = fieldPath
1289
- @trigger = trigger
1290
- @errorString = errorString
1291
- @apiError_Type = apiError_Type
1292
- @reason = reason
1608
+ def initialize(attribute_Type = nil, value = nil)
1609
+ @attribute_Type = attribute_Type
1610
+ @value = value
1293
1611
  end
1294
1612
  end
1295
1613
 
1296
- # ApplicationException
1297
- # - message - SOAP::SOAPString
1298
- # - applicationException_Type - SOAP::SOAPString
1299
- class ApplicationException
1300
- attr_accessor :message
1301
- attr_accessor :applicationException_Type
1614
+ # BooleanAttribute
1615
+ # - attribute_Type - SOAP::SOAPString
1616
+ # - value - SOAP::SOAPBoolean
1617
+ class BooleanAttribute < Attribute
1618
+ attr_accessor :attribute_Type
1619
+ attr_accessor :value
1620
+
1621
+ def initialize(attribute_Type = nil, value = nil)
1622
+ @attribute_Type = attribute_Type
1623
+ @value = value
1624
+ end
1625
+ end
1302
1626
 
1303
- def initialize(message = nil, applicationException_Type = nil)
1304
- @message = message
1305
- @applicationException_Type = applicationException_Type
1627
+ # CriterionAttribute
1628
+ # - attribute_Type - SOAP::SOAPString
1629
+ # - value - AdwordsApi::V201101::TargetingIdeaService::Criterion
1630
+ class CriterionAttribute < Attribute
1631
+ attr_accessor :attribute_Type
1632
+ attr_accessor :value
1633
+
1634
+ def initialize(attribute_Type = nil, value = nil)
1635
+ @attribute_Type = attribute_Type
1636
+ @value = value
1306
1637
  end
1307
1638
  end
1308
1639
 
1309
- # ApiException
1310
- # - message - SOAP::SOAPString
1311
- # - applicationException_Type - SOAP::SOAPString
1312
- # - errors - AdwordsApi::V201101::TargetingIdeaService::ApiError
1313
- class ApiException < ApplicationException
1314
- attr_accessor :message
1315
- attr_accessor :applicationException_Type
1316
- attr_accessor :errors
1640
+ # DoubleAttribute
1641
+ # - attribute_Type - SOAP::SOAPString
1642
+ # - value - SOAP::SOAPDouble
1643
+ class DoubleAttribute < Attribute
1644
+ attr_accessor :attribute_Type
1645
+ attr_accessor :value
1317
1646
 
1318
- def initialize(message = nil, applicationException_Type = nil, errors = [])
1319
- @message = message
1320
- @applicationException_Type = applicationException_Type
1321
- @errors = errors
1647
+ def initialize(attribute_Type = nil, value = nil)
1648
+ @attribute_Type = attribute_Type
1649
+ @value = value
1322
1650
  end
1323
1651
  end
1324
1652
 
1325
- # BidLandscape.LandscapePoint
1326
- # - bid - AdwordsApi::V201101::TargetingIdeaService::Money
1327
- # - clicks - SOAP::SOAPLong
1328
- # - cost - AdwordsApi::V201101::TargetingIdeaService::Money
1329
- # - marginalCpc - AdwordsApi::V201101::TargetingIdeaService::Money
1330
- # - impressions - SOAP::SOAPLong
1331
- class BidLandscapeLandscapePoint
1332
- attr_accessor :bid
1333
- attr_accessor :clicks
1334
- attr_accessor :cost
1335
- attr_accessor :marginalCpc
1336
- attr_accessor :impressions
1653
+ # IdeaTypeAttribute
1654
+ # - attribute_Type - SOAP::SOAPString
1655
+ # - value - AdwordsApi::V201101::TargetingIdeaService::IdeaType
1656
+ class IdeaTypeAttribute < Attribute
1657
+ attr_accessor :attribute_Type
1658
+ attr_accessor :value
1337
1659
 
1338
- def initialize(bid = nil, clicks = nil, cost = nil, marginalCpc = nil, impressions = nil)
1339
- @bid = bid
1340
- @clicks = clicks
1341
- @cost = cost
1342
- @marginalCpc = marginalCpc
1343
- @impressions = impressions
1660
+ def initialize(attribute_Type = nil, value = nil)
1661
+ @attribute_Type = attribute_Type
1662
+ @value = value
1344
1663
  end
1345
1664
  end
1346
1665
 
1347
- # Criterion
1348
- # - id - SOAP::SOAPLong
1349
- # - criterion_Type - SOAP::SOAPString
1350
- class Criterion
1351
- attr_accessor :id
1352
- attr_accessor :criterion_Type
1666
+ # InStreamAdInfoAttribute
1667
+ # - attribute_Type - SOAP::SOAPString
1668
+ # - value - AdwordsApi::V201101::TargetingIdeaService::InStreamAdInfo
1669
+ class InStreamAdInfoAttribute < Attribute
1670
+ attr_accessor :attribute_Type
1671
+ attr_accessor :value
1353
1672
 
1354
- def initialize(id = nil, criterion_Type = nil)
1355
- @id = id
1356
- @criterion_Type = criterion_Type
1673
+ def initialize(attribute_Type = nil, value = nil)
1674
+ @attribute_Type = attribute_Type
1675
+ @value = value
1357
1676
  end
1358
1677
  end
1359
1678
 
1360
- # Keyword
1361
- # - id - SOAP::SOAPLong
1362
- # - criterion_Type - SOAP::SOAPString
1363
- # - text - SOAP::SOAPString
1364
- # - matchType - AdwordsApi::V201101::TargetingIdeaService::KeywordMatchType
1365
- class Keyword < Criterion
1366
- attr_accessor :id
1367
- attr_accessor :criterion_Type
1368
- attr_accessor :text
1369
- attr_accessor :matchType
1679
+ # IntegerAttribute
1680
+ # - attribute_Type - SOAP::SOAPString
1681
+ # - value - SOAP::SOAPInt
1682
+ class IntegerAttribute < Attribute
1683
+ attr_accessor :attribute_Type
1684
+ attr_accessor :value
1370
1685
 
1371
- def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
1372
- @id = id
1373
- @criterion_Type = criterion_Type
1374
- @text = text
1375
- @matchType = matchType
1686
+ def initialize(attribute_Type = nil, value = nil)
1687
+ @attribute_Type = attribute_Type
1688
+ @value = value
1376
1689
  end
1377
1690
  end
1378
1691
 
1379
- # Placement
1380
- # - id - SOAP::SOAPLong
1381
- # - criterion_Type - SOAP::SOAPString
1382
- # - url - SOAP::SOAPString
1383
- class Placement < Criterion
1384
- attr_accessor :id
1385
- attr_accessor :criterion_Type
1386
- attr_accessor :url
1692
+ # IntegerSetAttribute
1693
+ # - attribute_Type - SOAP::SOAPString
1694
+ # - value - SOAP::SOAPInt
1695
+ class IntegerSetAttribute < Attribute
1696
+ attr_accessor :attribute_Type
1697
+ attr_accessor :value
1387
1698
 
1388
- def initialize(id = nil, criterion_Type = nil, url = nil)
1389
- @id = id
1390
- @criterion_Type = criterion_Type
1391
- @url = url
1699
+ def initialize(attribute_Type = nil, value = [])
1700
+ @attribute_Type = attribute_Type
1701
+ @value = value
1392
1702
  end
1393
1703
  end
1394
1704
 
1395
- # CriterionUserInterest
1396
- # - id - SOAP::SOAPLong
1397
- # - criterion_Type - SOAP::SOAPString
1398
- # - userInterestId - SOAP::SOAPLong
1399
- # - userInterestName - SOAP::SOAPString
1400
- class CriterionUserInterest < Criterion
1401
- attr_accessor :id
1402
- attr_accessor :criterion_Type
1403
- attr_accessor :userInterestId
1404
- attr_accessor :userInterestName
1705
+ # KeywordAttribute
1706
+ # - attribute_Type - SOAP::SOAPString
1707
+ # - value - AdwordsApi::V201101::TargetingIdeaService::Keyword
1708
+ class KeywordAttribute < Attribute
1709
+ attr_accessor :attribute_Type
1710
+ attr_accessor :value
1405
1711
 
1406
- def initialize(id = nil, criterion_Type = nil, userInterestId = nil, userInterestName = nil)
1407
- @id = id
1408
- @criterion_Type = criterion_Type
1409
- @userInterestId = userInterestId
1410
- @userInterestName = userInterestName
1712
+ def initialize(attribute_Type = nil, value = nil)
1713
+ @attribute_Type = attribute_Type
1714
+ @value = value
1411
1715
  end
1412
1716
  end
1413
1717
 
1414
- # CriterionUserList
1415
- # - id - SOAP::SOAPLong
1416
- # - criterion_Type - SOAP::SOAPString
1417
- # - userListId - SOAP::SOAPLong
1418
- # - userListName - SOAP::SOAPString
1419
- # - userListMembershipStatus - AdwordsApi::V201101::TargetingIdeaService::CriterionUserListMembershipStatus
1420
- class CriterionUserList < Criterion
1421
- attr_accessor :id
1422
- attr_accessor :criterion_Type
1423
- attr_accessor :userListId
1424
- attr_accessor :userListName
1425
- attr_accessor :userListMembershipStatus
1718
+ # LongAttribute
1719
+ # - attribute_Type - SOAP::SOAPString
1720
+ # - value - SOAP::SOAPLong
1721
+ class LongAttribute < Attribute
1722
+ attr_accessor :attribute_Type
1723
+ attr_accessor :value
1426
1724
 
1427
- def initialize(id = nil, criterion_Type = nil, userListId = nil, userListName = nil, userListMembershipStatus = nil)
1428
- @id = id
1429
- @criterion_Type = criterion_Type
1430
- @userListId = userListId
1431
- @userListName = userListName
1432
- @userListMembershipStatus = userListMembershipStatus
1725
+ def initialize(attribute_Type = nil, value = nil)
1726
+ @attribute_Type = attribute_Type
1727
+ @value = value
1433
1728
  end
1434
1729
  end
1435
1730
 
1436
- # Vertical
1437
- # - id - SOAP::SOAPLong
1438
- # - criterion_Type - SOAP::SOAPString
1439
- # - path - SOAP::SOAPString
1440
- class Vertical < Criterion
1441
- attr_accessor :id
1442
- attr_accessor :criterion_Type
1443
- attr_accessor :path
1731
+ # LongRangeAttribute
1732
+ # - attribute_Type - SOAP::SOAPString
1733
+ # - value - AdwordsApi::V201101::TargetingIdeaService::C_Range
1734
+ class LongRangeAttribute < Attribute
1735
+ attr_accessor :attribute_Type
1736
+ attr_accessor :value
1444
1737
 
1445
- def initialize(id = nil, criterion_Type = nil, path = [])
1446
- @id = id
1447
- @criterion_Type = criterion_Type
1448
- @path = path
1738
+ def initialize(attribute_Type = nil, value = nil)
1739
+ @attribute_Type = attribute_Type
1740
+ @value = value
1449
1741
  end
1450
1742
  end
1451
1743
 
1452
- # Product
1453
- # - id - SOAP::SOAPLong
1454
- # - criterion_Type - SOAP::SOAPString
1455
- # - conditions - AdwordsApi::V201101::TargetingIdeaService::ProductCondition
1456
- # - text - SOAP::SOAPString
1457
- class Product < Criterion
1458
- attr_accessor :id
1459
- attr_accessor :criterion_Type
1460
- attr_accessor :conditions
1461
- attr_accessor :text
1744
+ # MoneyAttribute
1745
+ # - attribute_Type - SOAP::SOAPString
1746
+ # - value - AdwordsApi::V201101::TargetingIdeaService::Money
1747
+ class MoneyAttribute < Attribute
1748
+ attr_accessor :attribute_Type
1749
+ attr_accessor :value
1462
1750
 
1463
- def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
1464
- @id = id
1465
- @criterion_Type = criterion_Type
1466
- @conditions = conditions
1467
- @text = text
1751
+ def initialize(attribute_Type = nil, value = nil)
1752
+ @attribute_Type = attribute_Type
1753
+ @value = value
1468
1754
  end
1469
1755
  end
1470
1756
 
1471
- # DataEntry
1472
- # abstract
1473
- # - dataEntry_Type - SOAP::SOAPString
1474
- class DataEntry
1475
- attr_accessor :dataEntry_Type
1757
+ # MonthlySearchVolumeAttribute
1758
+ # - attribute_Type - SOAP::SOAPString
1759
+ # - value - AdwordsApi::V201101::TargetingIdeaService::MonthlySearchVolume
1760
+ class MonthlySearchVolumeAttribute < Attribute
1761
+ attr_accessor :attribute_Type
1762
+ attr_accessor :value
1476
1763
 
1477
- def initialize(dataEntry_Type = nil)
1478
- @dataEntry_Type = dataEntry_Type
1764
+ def initialize(attribute_Type = nil, value = [])
1765
+ @attribute_Type = attribute_Type
1766
+ @value = value
1479
1767
  end
1480
1768
  end
1481
1769
 
1482
- # BidLandscape
1483
- # abstract
1484
- # - dataEntry_Type - SOAP::SOAPString
1485
- # - campaignId - SOAP::SOAPLong
1486
- # - adGroupId - SOAP::SOAPLong
1487
- # - startDate - SOAP::SOAPString
1488
- # - endDate - SOAP::SOAPString
1489
- # - landscapePoints - AdwordsApi::V201101::TargetingIdeaService::BidLandscapeLandscapePoint
1490
- class BidLandscape < DataEntry
1491
- attr_accessor :dataEntry_Type
1492
- attr_accessor :campaignId
1493
- attr_accessor :adGroupId
1494
- attr_accessor :startDate
1495
- attr_accessor :endDate
1496
- attr_accessor :landscapePoints
1770
+ # OpportunityIdeaTypeAttribute
1771
+ # - attribute_Type - SOAP::SOAPString
1772
+ # - value - AdwordsApi::V201101::TargetingIdeaService::OpportunityIdeaType
1773
+ class OpportunityIdeaTypeAttribute < Attribute
1774
+ attr_accessor :attribute_Type
1775
+ attr_accessor :value
1497
1776
 
1498
- def initialize(dataEntry_Type = nil, campaignId = nil, adGroupId = nil, startDate = nil, endDate = nil, landscapePoints = [])
1499
- @dataEntry_Type = dataEntry_Type
1500
- @campaignId = campaignId
1501
- @adGroupId = adGroupId
1502
- @startDate = startDate
1503
- @endDate = endDate
1504
- @landscapePoints = landscapePoints
1777
+ def initialize(attribute_Type = nil, value = nil)
1778
+ @attribute_Type = attribute_Type
1779
+ @value = value
1505
1780
  end
1506
1781
  end
1507
1782
 
1508
- # AdGroupBidLandscape
1509
- # - dataEntry_Type - SOAP::SOAPString
1510
- # - campaignId - SOAP::SOAPLong
1511
- # - adGroupId - SOAP::SOAPLong
1512
- # - startDate - SOAP::SOAPString
1513
- # - endDate - SOAP::SOAPString
1514
- # - landscapePoints - AdwordsApi::V201101::TargetingIdeaService::BidLandscapeLandscapePoint
1515
- # - type - AdwordsApi::V201101::TargetingIdeaService::AdGroupBidLandscapeType
1516
- # - landscapeCurrent - SOAP::SOAPBoolean
1517
- class AdGroupBidLandscape < BidLandscape
1518
- attr_accessor :dataEntry_Type
1519
- attr_accessor :campaignId
1520
- attr_accessor :adGroupId
1521
- attr_accessor :startDate
1522
- attr_accessor :endDate
1523
- attr_accessor :landscapePoints
1524
- attr_accessor :type
1525
- attr_accessor :landscapeCurrent
1783
+ # PlacementAttribute
1784
+ # - attribute_Type - SOAP::SOAPString
1785
+ # - value - AdwordsApi::V201101::TargetingIdeaService::Placement
1786
+ class PlacementAttribute < Attribute
1787
+ attr_accessor :attribute_Type
1788
+ attr_accessor :value
1526
1789
 
1527
- def initialize(dataEntry_Type = nil, campaignId = nil, adGroupId = nil, startDate = nil, endDate = nil, landscapePoints = [], type = nil, landscapeCurrent = nil)
1528
- @dataEntry_Type = dataEntry_Type
1529
- @campaignId = campaignId
1530
- @adGroupId = adGroupId
1531
- @startDate = startDate
1532
- @endDate = endDate
1533
- @landscapePoints = landscapePoints
1534
- @type = type
1535
- @landscapeCurrent = landscapeCurrent
1790
+ def initialize(attribute_Type = nil, value = nil)
1791
+ @attribute_Type = attribute_Type
1792
+ @value = value
1536
1793
  end
1537
1794
  end
1538
1795
 
1539
- # CriterionBidLandscape
1540
- # - dataEntry_Type - SOAP::SOAPString
1541
- # - campaignId - SOAP::SOAPLong
1542
- # - adGroupId - SOAP::SOAPLong
1543
- # - startDate - SOAP::SOAPString
1544
- # - endDate - SOAP::SOAPString
1545
- # - landscapePoints - AdwordsApi::V201101::TargetingIdeaService::BidLandscapeLandscapePoint
1546
- # - criterionId - SOAP::SOAPLong
1547
- class CriterionBidLandscape < BidLandscape
1548
- attr_accessor :dataEntry_Type
1549
- attr_accessor :campaignId
1550
- attr_accessor :adGroupId
1551
- attr_accessor :startDate
1552
- attr_accessor :endDate
1553
- attr_accessor :landscapePoints
1554
- attr_accessor :criterionId
1796
+ # PlacementTypeAttribute
1797
+ # - attribute_Type - SOAP::SOAPString
1798
+ # - value - AdwordsApi::V201101::TargetingIdeaService::SiteConstantsPlacementType
1799
+ class PlacementTypeAttribute < Attribute
1800
+ attr_accessor :attribute_Type
1801
+ attr_accessor :value
1555
1802
 
1556
- def initialize(dataEntry_Type = nil, campaignId = nil, adGroupId = nil, startDate = nil, endDate = nil, landscapePoints = [], criterionId = nil)
1557
- @dataEntry_Type = dataEntry_Type
1558
- @campaignId = campaignId
1559
- @adGroupId = adGroupId
1560
- @startDate = startDate
1561
- @endDate = endDate
1562
- @landscapePoints = landscapePoints
1563
- @criterionId = criterionId
1803
+ def initialize(attribute_Type = nil, value = nil)
1804
+ @attribute_Type = attribute_Type
1805
+ @value = value
1564
1806
  end
1565
1807
  end
1566
1808
 
1567
- # AdFormatSpec
1568
- # - format - AdwordsApi::V201101::TargetingIdeaService::SiteConstantsAdFormat
1569
- class AdFormatSpec
1570
- attr_accessor :format
1809
+ # StringAttribute
1810
+ # - attribute_Type - SOAP::SOAPString
1811
+ # - value - SOAP::SOAPString
1812
+ class StringAttribute < Attribute
1813
+ attr_accessor :attribute_Type
1814
+ attr_accessor :value
1571
1815
 
1572
- def initialize(format = nil)
1573
- @format = format
1816
+ def initialize(attribute_Type = nil, value = nil)
1817
+ @attribute_Type = attribute_Type
1818
+ @value = value
1819
+ end
1820
+ end
1821
+
1822
+ # WebpageDescriptorAttribute
1823
+ # - attribute_Type - SOAP::SOAPString
1824
+ # - value - AdwordsApi::V201101::TargetingIdeaService::WebpageDescriptor
1825
+ class WebpageDescriptorAttribute < Attribute
1826
+ attr_accessor :attribute_Type
1827
+ attr_accessor :value
1828
+
1829
+ def initialize(attribute_Type = nil, value = nil)
1830
+ @attribute_Type = attribute_Type
1831
+ @value = value
1574
1832
  end
1575
1833
  end
1576
1834
 
@@ -1621,190 +1879,54 @@ class LongComparisonOperation
1621
1879
 
1622
1880
  def initialize(minimum = nil, maximum = nil)
1623
1881
  @minimum = minimum
1624
- @maximum = maximum
1625
- end
1626
- end
1627
-
1628
- # MonthlySearchVolume
1629
- # - year - SOAP::SOAPInt
1630
- # - month - SOAP::SOAPInt
1631
- # - count - SOAP::SOAPLong
1632
- class MonthlySearchVolume
1633
- attr_accessor :year
1634
- attr_accessor :month
1635
- attr_accessor :count
1636
-
1637
- def initialize(year = nil, month = nil, count = nil)
1638
- @year = year
1639
- @month = month
1640
- @count = count
1641
- end
1642
- end
1643
-
1644
- # WebpageDescriptor
1645
- # - url - SOAP::SOAPString
1646
- # - title - SOAP::SOAPString
1647
- class WebpageDescriptor
1648
- attr_accessor :url
1649
- attr_accessor :title
1650
-
1651
- def initialize(url = nil, title = nil)
1652
- @url = url
1653
- @title = title
1654
- end
1655
- end
1656
-
1657
- # Range
1658
- # - min - AdwordsApi::V201101::TargetingIdeaService::ComparableValue
1659
- # - max - AdwordsApi::V201101::TargetingIdeaService::ComparableValue
1660
- class C_Range
1661
- attr_accessor :min
1662
- attr_accessor :max
1663
-
1664
- def initialize(min = nil, max = nil)
1665
- @min = min
1666
- @max = max
1667
- end
1668
- end
1669
-
1670
- # SearchParameter
1671
- # abstract
1672
- # - searchParameter_Type - SOAP::SOAPString
1673
- class SearchParameter
1674
- attr_accessor :searchParameter_Type
1675
-
1676
- def initialize(searchParameter_Type = nil)
1677
- @searchParameter_Type = searchParameter_Type
1678
- end
1679
- end
1680
-
1681
- # AdTypeSearchParameter
1682
- # - searchParameter_Type - SOAP::SOAPString
1683
- # - adTypes - AdwordsApi::V201101::TargetingIdeaService::SiteConstantsAdType
1684
- class AdTypeSearchParameter < SearchParameter
1685
- attr_accessor :searchParameter_Type
1686
- attr_accessor :adTypes
1687
-
1688
- def initialize(searchParameter_Type = nil, adTypes = [])
1689
- @searchParameter_Type = searchParameter_Type
1690
- @adTypes = adTypes
1691
- end
1692
- end
1693
-
1694
- # CompetitionSearchParameter
1695
- # - searchParameter_Type - SOAP::SOAPString
1696
- # - levels - AdwordsApi::V201101::TargetingIdeaService::CompetitionSearchParameterLevel
1697
- class CompetitionSearchParameter < SearchParameter
1698
- attr_accessor :searchParameter_Type
1699
- attr_accessor :levels
1700
-
1701
- def initialize(searchParameter_Type = nil, levels = [])
1702
- @searchParameter_Type = searchParameter_Type
1703
- @levels = levels
1704
- end
1705
- end
1706
-
1707
- # DeviceTypeSearchParameter
1708
- # - searchParameter_Type - SOAP::SOAPString
1709
- # - deviceType - AdwordsApi::V201101::TargetingIdeaService::DeviceType
1710
- class DeviceTypeSearchParameter < SearchParameter
1711
- attr_accessor :searchParameter_Type
1712
- attr_accessor :deviceType
1713
-
1714
- def initialize(searchParameter_Type = nil, deviceType = nil)
1715
- @searchParameter_Type = searchParameter_Type
1716
- @deviceType = deviceType
1717
- end
1718
- end
1719
-
1720
- # IdeaTextMatchesSearchParameter
1721
- # - searchParameter_Type - SOAP::SOAPString
1722
- # - included - SOAP::SOAPString
1723
- # - excluded - SOAP::SOAPString
1724
- # - priorityAction - AdwordsApi::V201101::TargetingIdeaService::MatchAction
1725
- class IdeaTextMatchesSearchParameter < SearchParameter
1726
- attr_accessor :searchParameter_Type
1727
- attr_accessor :included
1728
- attr_accessor :excluded
1729
- attr_accessor :priorityAction
1730
-
1731
- def initialize(searchParameter_Type = nil, included = [], excluded = [], priorityAction = nil)
1732
- @searchParameter_Type = searchParameter_Type
1733
- @included = included
1734
- @excluded = excluded
1735
- @priorityAction = priorityAction
1736
- end
1737
- end
1738
-
1739
- # IncludeAdultContentSearchParameter
1740
- # - searchParameter_Type - SOAP::SOAPString
1741
- class IncludeAdultContentSearchParameter < SearchParameter
1742
- attr_accessor :searchParameter_Type
1743
-
1744
- def initialize(searchParameter_Type = nil)
1745
- @searchParameter_Type = searchParameter_Type
1746
- end
1747
- end
1748
-
1749
- # KeywordCategoryIdSearchParameter
1750
- # - searchParameter_Type - SOAP::SOAPString
1751
- # - categoryId - SOAP::SOAPInt
1752
- class KeywordCategoryIdSearchParameter < SearchParameter
1753
- attr_accessor :searchParameter_Type
1754
- attr_accessor :categoryId
1755
-
1756
- def initialize(searchParameter_Type = nil, categoryId = nil)
1757
- @searchParameter_Type = searchParameter_Type
1758
- @categoryId = categoryId
1759
- end
1760
- end
1761
-
1762
- # KeywordMatchTypeSearchParameter
1763
- # - searchParameter_Type - SOAP::SOAPString
1764
- # - keywordMatchTypes - AdwordsApi::V201101::TargetingIdeaService::KeywordMatchType
1765
- class KeywordMatchTypeSearchParameter < SearchParameter
1766
- attr_accessor :searchParameter_Type
1767
- attr_accessor :keywordMatchTypes
1882
+ @maximum = maximum
1883
+ end
1884
+ end
1768
1885
 
1769
- def initialize(searchParameter_Type = nil, keywordMatchTypes = [])
1770
- @searchParameter_Type = searchParameter_Type
1771
- @keywordMatchTypes = keywordMatchTypes
1886
+ # MonthlySearchVolume
1887
+ # - year - SOAP::SOAPInt
1888
+ # - month - SOAP::SOAPInt
1889
+ # - count - SOAP::SOAPLong
1890
+ class MonthlySearchVolume
1891
+ attr_accessor :year
1892
+ attr_accessor :month
1893
+ attr_accessor :count
1894
+
1895
+ def initialize(year = nil, month = nil, count = nil)
1896
+ @year = year
1897
+ @month = month
1898
+ @count = count
1772
1899
  end
1773
1900
  end
1774
1901
 
1775
- # PlacementTypeSearchParameter
1776
- # - searchParameter_Type - SOAP::SOAPString
1777
- # - placementTypes - AdwordsApi::V201101::TargetingIdeaService::SiteConstantsPlacementType
1778
- class PlacementTypeSearchParameter < SearchParameter
1779
- attr_accessor :searchParameter_Type
1780
- attr_accessor :placementTypes
1902
+ # Range
1903
+ # - min - AdwordsApi::V201101::TargetingIdeaService::ComparableValue
1904
+ # - max - AdwordsApi::V201101::TargetingIdeaService::ComparableValue
1905
+ class C_Range
1906
+ attr_accessor :min
1907
+ attr_accessor :max
1781
1908
 
1782
- def initialize(searchParameter_Type = nil, placementTypes = [])
1783
- @searchParameter_Type = searchParameter_Type
1784
- @placementTypes = placementTypes
1909
+ def initialize(min = nil, max = nil)
1910
+ @min = min
1911
+ @max = max
1785
1912
  end
1786
1913
  end
1787
1914
 
1788
- # RelatedToUrlSearchParameter
1915
+ # SearchParameter
1916
+ # abstract
1789
1917
  # - searchParameter_Type - SOAP::SOAPString
1790
- # - urls - SOAP::SOAPString
1791
- # - includeSubUrls - SOAP::SOAPBoolean
1792
- class RelatedToUrlSearchParameter < SearchParameter
1918
+ class SearchParameter
1793
1919
  attr_accessor :searchParameter_Type
1794
- attr_accessor :urls
1795
- attr_accessor :includeSubUrls
1796
1920
 
1797
- def initialize(searchParameter_Type = nil, urls = [], includeSubUrls = nil)
1921
+ def initialize(searchParameter_Type = nil)
1798
1922
  @searchParameter_Type = searchParameter_Type
1799
- @urls = urls
1800
- @includeSubUrls = includeSubUrls
1801
1923
  end
1802
1924
  end
1803
1925
 
1804
- # SearchShareSearchParameter
1926
+ # AdShareSearchParameter
1805
1927
  # - searchParameter_Type - SOAP::SOAPString
1806
1928
  # - operation - AdwordsApi::V201101::TargetingIdeaService::DoubleComparisonOperation
1807
- class SearchShareSearchParameter < SearchParameter
1929
+ class AdShareSearchParameter < SearchParameter
1808
1930
  attr_accessor :searchParameter_Type
1809
1931
  attr_accessor :operation
1810
1932
 
@@ -1814,29 +1936,16 @@ class SearchShareSearchParameter < SearchParameter
1814
1936
  end
1815
1937
  end
1816
1938
 
1817
- # SeedAdGroupIdSearchParameter
1818
- # - searchParameter_Type - SOAP::SOAPString
1819
- # - adGroupId - SOAP::SOAPLong
1820
- class SeedAdGroupIdSearchParameter < SearchParameter
1821
- attr_accessor :searchParameter_Type
1822
- attr_accessor :adGroupId
1823
-
1824
- def initialize(searchParameter_Type = nil, adGroupId = nil)
1825
- @searchParameter_Type = searchParameter_Type
1826
- @adGroupId = adGroupId
1827
- end
1828
- end
1829
-
1830
- # AdShareSearchParameter
1939
+ # AdTypeSearchParameter
1831
1940
  # - searchParameter_Type - SOAP::SOAPString
1832
- # - operation - AdwordsApi::V201101::TargetingIdeaService::DoubleComparisonOperation
1833
- class AdShareSearchParameter < SearchParameter
1941
+ # - adTypes - AdwordsApi::V201101::TargetingIdeaService::SiteConstantsAdType
1942
+ class AdTypeSearchParameter < SearchParameter
1834
1943
  attr_accessor :searchParameter_Type
1835
- attr_accessor :operation
1944
+ attr_accessor :adTypes
1836
1945
 
1837
- def initialize(searchParameter_Type = nil, operation = nil)
1946
+ def initialize(searchParameter_Type = nil, adTypes = [])
1838
1947
  @searchParameter_Type = searchParameter_Type
1839
- @operation = operation
1948
+ @adTypes = adTypes
1840
1949
  end
1841
1950
  end
1842
1951
 
@@ -1853,16 +1962,16 @@ class AverageTargetedMonthlySearchesSearchParameter < SearchParameter
1853
1962
  end
1854
1963
  end
1855
1964
 
1856
- # GlobalMonthlySearchesSearchParameter
1965
+ # CompetitionSearchParameter
1857
1966
  # - searchParameter_Type - SOAP::SOAPString
1858
- # - operation - AdwordsApi::V201101::TargetingIdeaService::LongComparisonOperation
1859
- class GlobalMonthlySearchesSearchParameter < SearchParameter
1967
+ # - levels - AdwordsApi::V201101::TargetingIdeaService::CompetitionSearchParameterLevel
1968
+ class CompetitionSearchParameter < SearchParameter
1860
1969
  attr_accessor :searchParameter_Type
1861
- attr_accessor :operation
1970
+ attr_accessor :levels
1862
1971
 
1863
- def initialize(searchParameter_Type = nil, operation = nil)
1972
+ def initialize(searchParameter_Type = nil, levels = [])
1864
1973
  @searchParameter_Type = searchParameter_Type
1865
- @operation = operation
1974
+ @levels = levels
1866
1975
  end
1867
1976
  end
1868
1977
 
@@ -1879,16 +1988,16 @@ class CountryTargetSearchParameter < SearchParameter
1879
1988
  end
1880
1989
  end
1881
1990
 
1882
- # LanguageTargetSearchParameter
1991
+ # DeviceTypeSearchParameter
1883
1992
  # - searchParameter_Type - SOAP::SOAPString
1884
- # - languageTargets - AdwordsApi::V201101::TargetingIdeaService::LanguageTarget
1885
- class LanguageTargetSearchParameter < SearchParameter
1993
+ # - deviceType - AdwordsApi::V201101::TargetingIdeaService::DeviceType
1994
+ class DeviceTypeSearchParameter < SearchParameter
1886
1995
  attr_accessor :searchParameter_Type
1887
- attr_accessor :languageTargets
1996
+ attr_accessor :deviceType
1888
1997
 
1889
- def initialize(searchParameter_Type = nil, languageTargets = [])
1998
+ def initialize(searchParameter_Type = nil, deviceType = nil)
1890
1999
  @searchParameter_Type = searchParameter_Type
1891
- @languageTargets = languageTargets
2000
+ @deviceType = deviceType
1892
2001
  end
1893
2002
  end
1894
2003
 
@@ -1905,302 +2014,203 @@ class ExcludedKeywordSearchParameter < SearchParameter
1905
2014
  end
1906
2015
  end
1907
2016
 
1908
- # RelatedToKeywordSearchParameter
2017
+ # GlobalMonthlySearchesSearchParameter
1909
2018
  # - searchParameter_Type - SOAP::SOAPString
1910
- # - keywords - AdwordsApi::V201101::TargetingIdeaService::Keyword
1911
- class RelatedToKeywordSearchParameter < SearchParameter
2019
+ # - operation - AdwordsApi::V201101::TargetingIdeaService::LongComparisonOperation
2020
+ class GlobalMonthlySearchesSearchParameter < SearchParameter
1912
2021
  attr_accessor :searchParameter_Type
1913
- attr_accessor :keywords
2022
+ attr_accessor :operation
1914
2023
 
1915
- def initialize(searchParameter_Type = nil, keywords = [])
2024
+ def initialize(searchParameter_Type = nil, operation = nil)
1916
2025
  @searchParameter_Type = searchParameter_Type
1917
- @keywords = keywords
1918
- end
1919
- end
1920
-
1921
- # TargetingIdeaSelector
1922
- # - searchParameters - AdwordsApi::V201101::TargetingIdeaService::SearchParameter
1923
- # - ideaType - AdwordsApi::V201101::TargetingIdeaService::IdeaType
1924
- # - requestType - AdwordsApi::V201101::TargetingIdeaService::RequestType
1925
- # - requestedAttributeTypes - AdwordsApi::V201101::TargetingIdeaService::AttributeType
1926
- # - paging - AdwordsApi::V201101::TargetingIdeaService::Paging
1927
- # - localeCode - SOAP::SOAPString
1928
- # - currencyCode - SOAP::SOAPString
1929
- class TargetingIdeaSelector
1930
- attr_accessor :searchParameters
1931
- attr_accessor :ideaType
1932
- attr_accessor :requestType
1933
- attr_accessor :requestedAttributeTypes
1934
- attr_accessor :paging
1935
- attr_accessor :localeCode
1936
- attr_accessor :currencyCode
1937
-
1938
- def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
1939
- @searchParameters = searchParameters
1940
- @ideaType = ideaType
1941
- @requestType = requestType
1942
- @requestedAttributeTypes = requestedAttributeTypes
1943
- @paging = paging
1944
- @localeCode = localeCode
1945
- @currencyCode = currencyCode
1946
- end
1947
- end
1948
-
1949
- # Attribute
1950
- # abstract
1951
- # - attribute_Type - SOAP::SOAPString
1952
- class Attribute
1953
- attr_accessor :attribute_Type
1954
-
1955
- def initialize(attribute_Type = nil)
1956
- @attribute_Type = attribute_Type
1957
- end
1958
- end
1959
-
1960
- # AdFormatSpecListAttribute
1961
- # - attribute_Type - SOAP::SOAPString
1962
- # - value - AdwordsApi::V201101::TargetingIdeaService::AdFormatSpec
1963
- class AdFormatSpecListAttribute < Attribute
1964
- attr_accessor :attribute_Type
1965
- attr_accessor :value
1966
-
1967
- def initialize(attribute_Type = nil, value = [])
1968
- @attribute_Type = attribute_Type
1969
- @value = value
1970
- end
1971
- end
1972
-
1973
- # BooleanAttribute
1974
- # - attribute_Type - SOAP::SOAPString
1975
- # - value - SOAP::SOAPBoolean
1976
- class BooleanAttribute < Attribute
1977
- attr_accessor :attribute_Type
1978
- attr_accessor :value
1979
-
1980
- def initialize(attribute_Type = nil, value = nil)
1981
- @attribute_Type = attribute_Type
1982
- @value = value
1983
- end
1984
- end
1985
-
1986
- # DoubleAttribute
1987
- # - attribute_Type - SOAP::SOAPString
1988
- # - value - SOAP::SOAPDouble
1989
- class DoubleAttribute < Attribute
1990
- attr_accessor :attribute_Type
1991
- attr_accessor :value
1992
-
1993
- def initialize(attribute_Type = nil, value = nil)
1994
- @attribute_Type = attribute_Type
1995
- @value = value
1996
- end
1997
- end
1998
-
1999
- # IdeaTypeAttribute
2000
- # - attribute_Type - SOAP::SOAPString
2001
- # - value - AdwordsApi::V201101::TargetingIdeaService::IdeaType
2002
- class IdeaTypeAttribute < Attribute
2003
- attr_accessor :attribute_Type
2004
- attr_accessor :value
2005
-
2006
- def initialize(attribute_Type = nil, value = nil)
2007
- @attribute_Type = attribute_Type
2008
- @value = value
2009
- end
2010
- end
2011
-
2012
- # InStreamAdInfoAttribute
2013
- # - attribute_Type - SOAP::SOAPString
2014
- # - value - AdwordsApi::V201101::TargetingIdeaService::InStreamAdInfo
2015
- class InStreamAdInfoAttribute < Attribute
2016
- attr_accessor :attribute_Type
2017
- attr_accessor :value
2018
-
2019
- def initialize(attribute_Type = nil, value = nil)
2020
- @attribute_Type = attribute_Type
2021
- @value = value
2022
- end
2023
- end
2024
-
2025
- # IntegerAttribute
2026
- # - attribute_Type - SOAP::SOAPString
2027
- # - value - SOAP::SOAPInt
2028
- class IntegerAttribute < Attribute
2029
- attr_accessor :attribute_Type
2030
- attr_accessor :value
2031
-
2032
- def initialize(attribute_Type = nil, value = nil)
2033
- @attribute_Type = attribute_Type
2034
- @value = value
2026
+ @operation = operation
2035
2027
  end
2036
2028
  end
2037
2029
 
2038
- # IntegerSetAttribute
2039
- # - attribute_Type - SOAP::SOAPString
2040
- # - value - SOAP::SOAPInt
2041
- class IntegerSetAttribute < Attribute
2042
- attr_accessor :attribute_Type
2043
- attr_accessor :value
2030
+ # IdeaTextMatchesSearchParameter
2031
+ # - searchParameter_Type - SOAP::SOAPString
2032
+ # - included - SOAP::SOAPString
2033
+ # - excluded - SOAP::SOAPString
2034
+ # - priorityAction - AdwordsApi::V201101::TargetingIdeaService::MatchAction
2035
+ class IdeaTextMatchesSearchParameter < SearchParameter
2036
+ attr_accessor :searchParameter_Type
2037
+ attr_accessor :included
2038
+ attr_accessor :excluded
2039
+ attr_accessor :priorityAction
2044
2040
 
2045
- def initialize(attribute_Type = nil, value = [])
2046
- @attribute_Type = attribute_Type
2047
- @value = value
2041
+ def initialize(searchParameter_Type = nil, included = [], excluded = [], priorityAction = nil)
2042
+ @searchParameter_Type = searchParameter_Type
2043
+ @included = included
2044
+ @excluded = excluded
2045
+ @priorityAction = priorityAction
2048
2046
  end
2049
2047
  end
2050
2048
 
2051
- # LongAttribute
2052
- # - attribute_Type - SOAP::SOAPString
2053
- # - value - SOAP::SOAPLong
2054
- class LongAttribute < Attribute
2055
- attr_accessor :attribute_Type
2056
- attr_accessor :value
2049
+ # IncludeAdultContentSearchParameter
2050
+ # - searchParameter_Type - SOAP::SOAPString
2051
+ class IncludeAdultContentSearchParameter < SearchParameter
2052
+ attr_accessor :searchParameter_Type
2057
2053
 
2058
- def initialize(attribute_Type = nil, value = nil)
2059
- @attribute_Type = attribute_Type
2060
- @value = value
2054
+ def initialize(searchParameter_Type = nil)
2055
+ @searchParameter_Type = searchParameter_Type
2061
2056
  end
2062
2057
  end
2063
2058
 
2064
- # MonthlySearchVolumeAttribute
2065
- # - attribute_Type - SOAP::SOAPString
2066
- # - value - AdwordsApi::V201101::TargetingIdeaService::MonthlySearchVolume
2067
- class MonthlySearchVolumeAttribute < Attribute
2068
- attr_accessor :attribute_Type
2069
- attr_accessor :value
2059
+ # KeywordCategoryIdSearchParameter
2060
+ # - searchParameter_Type - SOAP::SOAPString
2061
+ # - categoryId - SOAP::SOAPInt
2062
+ class KeywordCategoryIdSearchParameter < SearchParameter
2063
+ attr_accessor :searchParameter_Type
2064
+ attr_accessor :categoryId
2070
2065
 
2071
- def initialize(attribute_Type = nil, value = [])
2072
- @attribute_Type = attribute_Type
2073
- @value = value
2066
+ def initialize(searchParameter_Type = nil, categoryId = nil)
2067
+ @searchParameter_Type = searchParameter_Type
2068
+ @categoryId = categoryId
2074
2069
  end
2075
2070
  end
2076
2071
 
2077
- # OpportunityIdeaTypeAttribute
2078
- # - attribute_Type - SOAP::SOAPString
2079
- # - value - AdwordsApi::V201101::TargetingIdeaService::OpportunityIdeaType
2080
- class OpportunityIdeaTypeAttribute < Attribute
2081
- attr_accessor :attribute_Type
2082
- attr_accessor :value
2072
+ # KeywordMatchTypeSearchParameter
2073
+ # - searchParameter_Type - SOAP::SOAPString
2074
+ # - keywordMatchTypes - AdwordsApi::V201101::TargetingIdeaService::KeywordMatchType
2075
+ class KeywordMatchTypeSearchParameter < SearchParameter
2076
+ attr_accessor :searchParameter_Type
2077
+ attr_accessor :keywordMatchTypes
2083
2078
 
2084
- def initialize(attribute_Type = nil, value = nil)
2085
- @attribute_Type = attribute_Type
2086
- @value = value
2079
+ def initialize(searchParameter_Type = nil, keywordMatchTypes = [])
2080
+ @searchParameter_Type = searchParameter_Type
2081
+ @keywordMatchTypes = keywordMatchTypes
2087
2082
  end
2088
2083
  end
2089
2084
 
2090
- # PlacementTypeAttribute
2091
- # - attribute_Type - SOAP::SOAPString
2092
- # - value - AdwordsApi::V201101::TargetingIdeaService::SiteConstantsPlacementType
2093
- class PlacementTypeAttribute < Attribute
2094
- attr_accessor :attribute_Type
2095
- attr_accessor :value
2085
+ # LanguageTargetSearchParameter
2086
+ # - searchParameter_Type - SOAP::SOAPString
2087
+ # - languageTargets - AdwordsApi::V201101::TargetingIdeaService::LanguageTarget
2088
+ class LanguageTargetSearchParameter < SearchParameter
2089
+ attr_accessor :searchParameter_Type
2090
+ attr_accessor :languageTargets
2096
2091
 
2097
- def initialize(attribute_Type = nil, value = nil)
2098
- @attribute_Type = attribute_Type
2099
- @value = value
2092
+ def initialize(searchParameter_Type = nil, languageTargets = [])
2093
+ @searchParameter_Type = searchParameter_Type
2094
+ @languageTargets = languageTargets
2100
2095
  end
2101
2096
  end
2102
2097
 
2103
- # StringAttribute
2104
- # - attribute_Type - SOAP::SOAPString
2105
- # - value - SOAP::SOAPString
2106
- class StringAttribute < Attribute
2107
- attr_accessor :attribute_Type
2108
- attr_accessor :value
2098
+ # PlacementTypeSearchParameter
2099
+ # - searchParameter_Type - SOAP::SOAPString
2100
+ # - placementTypes - AdwordsApi::V201101::TargetingIdeaService::SiteConstantsPlacementType
2101
+ class PlacementTypeSearchParameter < SearchParameter
2102
+ attr_accessor :searchParameter_Type
2103
+ attr_accessor :placementTypes
2109
2104
 
2110
- def initialize(attribute_Type = nil, value = nil)
2111
- @attribute_Type = attribute_Type
2112
- @value = value
2105
+ def initialize(searchParameter_Type = nil, placementTypes = [])
2106
+ @searchParameter_Type = searchParameter_Type
2107
+ @placementTypes = placementTypes
2113
2108
  end
2114
2109
  end
2115
2110
 
2116
- # WebpageDescriptorAttribute
2117
- # - attribute_Type - SOAP::SOAPString
2118
- # - value - AdwordsApi::V201101::TargetingIdeaService::WebpageDescriptor
2119
- class WebpageDescriptorAttribute < Attribute
2120
- attr_accessor :attribute_Type
2121
- attr_accessor :value
2111
+ # RelatedToKeywordSearchParameter
2112
+ # - searchParameter_Type - SOAP::SOAPString
2113
+ # - keywords - AdwordsApi::V201101::TargetingIdeaService::Keyword
2114
+ class RelatedToKeywordSearchParameter < SearchParameter
2115
+ attr_accessor :searchParameter_Type
2116
+ attr_accessor :keywords
2122
2117
 
2123
- def initialize(attribute_Type = nil, value = nil)
2124
- @attribute_Type = attribute_Type
2125
- @value = value
2118
+ def initialize(searchParameter_Type = nil, keywords = [])
2119
+ @searchParameter_Type = searchParameter_Type
2120
+ @keywords = keywords
2126
2121
  end
2127
2122
  end
2128
2123
 
2129
- # MoneyAttribute
2130
- # - attribute_Type - SOAP::SOAPString
2131
- # - value - AdwordsApi::V201101::TargetingIdeaService::Money
2132
- class MoneyAttribute < Attribute
2133
- attr_accessor :attribute_Type
2134
- attr_accessor :value
2124
+ # RelatedToUrlSearchParameter
2125
+ # - searchParameter_Type - SOAP::SOAPString
2126
+ # - urls - SOAP::SOAPString
2127
+ # - includeSubUrls - SOAP::SOAPBoolean
2128
+ class RelatedToUrlSearchParameter < SearchParameter
2129
+ attr_accessor :searchParameter_Type
2130
+ attr_accessor :urls
2131
+ attr_accessor :includeSubUrls
2135
2132
 
2136
- def initialize(attribute_Type = nil, value = nil)
2137
- @attribute_Type = attribute_Type
2138
- @value = value
2133
+ def initialize(searchParameter_Type = nil, urls = [], includeSubUrls = nil)
2134
+ @searchParameter_Type = searchParameter_Type
2135
+ @urls = urls
2136
+ @includeSubUrls = includeSubUrls
2139
2137
  end
2140
2138
  end
2141
2139
 
2142
- # LongRangeAttribute
2143
- # - attribute_Type - SOAP::SOAPString
2144
- # - value - AdwordsApi::V201101::TargetingIdeaService::C_Range
2145
- class LongRangeAttribute < Attribute
2146
- attr_accessor :attribute_Type
2147
- attr_accessor :value
2140
+ # SearchShareSearchParameter
2141
+ # - searchParameter_Type - SOAP::SOAPString
2142
+ # - operation - AdwordsApi::V201101::TargetingIdeaService::DoubleComparisonOperation
2143
+ class SearchShareSearchParameter < SearchParameter
2144
+ attr_accessor :searchParameter_Type
2145
+ attr_accessor :operation
2148
2146
 
2149
- def initialize(attribute_Type = nil, value = nil)
2150
- @attribute_Type = attribute_Type
2151
- @value = value
2147
+ def initialize(searchParameter_Type = nil, operation = nil)
2148
+ @searchParameter_Type = searchParameter_Type
2149
+ @operation = operation
2152
2150
  end
2153
2151
  end
2154
2152
 
2155
- # CriterionAttribute
2156
- # - attribute_Type - SOAP::SOAPString
2157
- # - value - AdwordsApi::V201101::TargetingIdeaService::Criterion
2158
- class CriterionAttribute < Attribute
2159
- attr_accessor :attribute_Type
2160
- attr_accessor :value
2153
+ # SeedAdGroupIdSearchParameter
2154
+ # - searchParameter_Type - SOAP::SOAPString
2155
+ # - adGroupId - SOAP::SOAPLong
2156
+ class SeedAdGroupIdSearchParameter < SearchParameter
2157
+ attr_accessor :searchParameter_Type
2158
+ attr_accessor :adGroupId
2161
2159
 
2162
- def initialize(attribute_Type = nil, value = nil)
2163
- @attribute_Type = attribute_Type
2164
- @value = value
2160
+ def initialize(searchParameter_Type = nil, adGroupId = nil)
2161
+ @searchParameter_Type = searchParameter_Type
2162
+ @adGroupId = adGroupId
2165
2163
  end
2166
2164
  end
2167
2165
 
2168
- # KeywordAttribute
2169
- # - attribute_Type - SOAP::SOAPString
2170
- # - value - AdwordsApi::V201101::TargetingIdeaService::Keyword
2171
- class KeywordAttribute < Attribute
2172
- attr_accessor :attribute_Type
2173
- attr_accessor :value
2166
+ # TargetingIdea
2167
+ # - data - AdwordsApi::V201101::TargetingIdeaService::Type_AttributeMapEntry
2168
+ class TargetingIdea
2169
+ attr_accessor :data
2174
2170
 
2175
- def initialize(attribute_Type = nil, value = nil)
2176
- @attribute_Type = attribute_Type
2177
- @value = value
2171
+ def initialize(data = [])
2172
+ @data = data
2178
2173
  end
2179
2174
  end
2180
2175
 
2181
- # PlacementAttribute
2182
- # - attribute_Type - SOAP::SOAPString
2183
- # - value - AdwordsApi::V201101::TargetingIdeaService::Placement
2184
- class PlacementAttribute < Attribute
2185
- attr_accessor :attribute_Type
2186
- attr_accessor :value
2176
+ # TargetingIdeaPage
2177
+ # - totalNumEntries - SOAP::SOAPInt
2178
+ # - entries - AdwordsApi::V201101::TargetingIdeaService::TargetingIdea
2179
+ class TargetingIdeaPage
2180
+ attr_accessor :totalNumEntries
2181
+ attr_accessor :entries
2187
2182
 
2188
- def initialize(attribute_Type = nil, value = nil)
2189
- @attribute_Type = attribute_Type
2190
- @value = value
2183
+ def initialize(totalNumEntries = nil, entries = [])
2184
+ @totalNumEntries = totalNumEntries
2185
+ @entries = entries
2191
2186
  end
2192
2187
  end
2193
2188
 
2194
- # BidLandscapeAttribute
2195
- # - attribute_Type - SOAP::SOAPString
2196
- # - value - AdwordsApi::V201101::TargetingIdeaService::BidLandscape
2197
- class BidLandscapeAttribute < Attribute
2198
- attr_accessor :attribute_Type
2199
- attr_accessor :value
2189
+ # TargetingIdeaSelector
2190
+ # - searchParameters - AdwordsApi::V201101::TargetingIdeaService::SearchParameter
2191
+ # - ideaType - AdwordsApi::V201101::TargetingIdeaService::IdeaType
2192
+ # - requestType - AdwordsApi::V201101::TargetingIdeaService::RequestType
2193
+ # - requestedAttributeTypes - AdwordsApi::V201101::TargetingIdeaService::AttributeType
2194
+ # - paging - AdwordsApi::V201101::TargetingIdeaService::Paging
2195
+ # - localeCode - SOAP::SOAPString
2196
+ # - currencyCode - SOAP::SOAPString
2197
+ class TargetingIdeaSelector
2198
+ attr_accessor :searchParameters
2199
+ attr_accessor :ideaType
2200
+ attr_accessor :requestType
2201
+ attr_accessor :requestedAttributeTypes
2202
+ attr_accessor :paging
2203
+ attr_accessor :localeCode
2204
+ attr_accessor :currencyCode
2200
2205
 
2201
- def initialize(attribute_Type = nil, value = nil)
2202
- @attribute_Type = attribute_Type
2203
- @value = value
2206
+ def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
2207
+ @searchParameters = searchParameters
2208
+ @ideaType = ideaType
2209
+ @requestType = requestType
2210
+ @requestedAttributeTypes = requestedAttributeTypes
2211
+ @paging = paging
2212
+ @localeCode = localeCode
2213
+ @currencyCode = currencyCode
2204
2214
  end
2205
2215
  end
2206
2216
 
@@ -2217,26 +2227,16 @@ class Type_AttributeMapEntry
2217
2227
  end
2218
2228
  end
2219
2229
 
2220
- # TargetingIdea
2221
- # - data - AdwordsApi::V201101::TargetingIdeaService::Type_AttributeMapEntry
2222
- class TargetingIdea
2223
- attr_accessor :data
2224
-
2225
- def initialize(data = [])
2226
- @data = data
2227
- end
2228
- end
2229
-
2230
- # TargetingIdeaPage
2231
- # - totalNumEntries - SOAP::SOAPInt
2232
- # - entries - AdwordsApi::V201101::TargetingIdeaService::TargetingIdea
2233
- class TargetingIdeaPage
2234
- attr_accessor :totalNumEntries
2235
- attr_accessor :entries
2230
+ # WebpageDescriptor
2231
+ # - url - SOAP::SOAPString
2232
+ # - title - SOAP::SOAPString
2233
+ class WebpageDescriptor
2234
+ attr_accessor :url
2235
+ attr_accessor :title
2236
2236
 
2237
- def initialize(totalNumEntries = nil, entries = [])
2238
- @totalNumEntries = totalNumEntries
2239
- @entries = entries
2237
+ def initialize(url = nil, title = nil)
2238
+ @url = url
2239
+ @title = title
2240
2240
  end
2241
2241
  end
2242
2242