google-adwords-api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/Rakefile +1 -1
  2. data/examples/v201101/add_conversion.rb +97 -0
  3. data/examples/v201101/add_user_list.rb +28 -2
  4. data/examples/v201101/get_all_conversions.rb +88 -0
  5. data/examples/v201101/get_keyword_opportunities.rb +103 -0
  6. data/examples/v201101/update_conversion.rb +96 -0
  7. data/lib/adwords_api/api_config.rb +6 -3
  8. data/lib/adwords_api/errors.rb +4 -1
  9. data/lib/adwords_api/extensions.rb +1 -1
  10. data/lib/adwords_api/v13/AccountServiceDriver.rb +5 -5
  11. data/lib/adwords_api/v13/ReportServiceDriver.rb +7 -7
  12. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +4 -4
  13. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +2 -2
  14. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +2 -2
  15. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +506 -506
  16. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +2 -2
  17. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +428 -428
  18. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +2 -2
  19. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +2 -2
  20. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +2 -2
  21. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +2 -2
  22. data/lib/adwords_api/v200909/CampaignCriterionService.rb +133 -133
  23. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +2 -2
  24. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +184 -184
  25. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +2 -2
  26. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +2 -2
  27. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +1 -1
  28. data/lib/adwords_api/v200909/InfoServiceDriver.rb +1 -1
  29. data/lib/adwords_api/v200909/TargetingIdeaService.rb +907 -907
  30. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +2 -2
  31. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +384 -384
  32. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +2 -2
  33. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +2 -2
  34. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +527 -527
  35. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +2 -2
  36. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +469 -469
  37. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +2 -2
  38. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +2 -2
  39. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +1 -1
  40. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +2 -2
  41. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +2 -2
  42. data/lib/adwords_api/v201003/CampaignCriterionService.rb +133 -133
  43. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +2 -2
  44. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +186 -186
  45. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +2 -2
  46. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +2 -2
  47. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +1 -1
  48. data/lib/adwords_api/v201003/InfoServiceDriver.rb +1 -1
  49. data/lib/adwords_api/v201003/MediaServiceDriver.rb +2 -2
  50. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +3 -3
  51. data/lib/adwords_api/v201003/TargetingIdeaService.rb +1304 -1304
  52. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +2 -2
  53. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +401 -401
  54. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +2 -2
  55. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +2 -2
  56. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +598 -598
  57. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +2 -2
  58. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +680 -680
  59. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +2 -2
  60. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +2 -2
  61. data/lib/adwords_api/v201008/AlertServiceDriver.rb +1 -1
  62. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +1 -1
  63. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +2 -2
  64. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +2 -2
  65. data/lib/adwords_api/v201008/CampaignCriterionService.rb +178 -178
  66. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +2 -2
  67. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +228 -228
  68. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +2 -2
  69. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +2 -2
  70. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +1 -1
  71. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +2 -2
  72. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +1 -1
  73. data/lib/adwords_api/v201008/InfoServiceDriver.rb +1 -1
  74. data/lib/adwords_api/v201008/MediaServiceDriver.rb +2 -2
  75. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +3 -3
  76. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +1 -1
  77. data/lib/adwords_api/v201008/TargetingIdeaService.rb +1459 -1459
  78. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +2 -2
  79. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +447 -447
  80. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +855 -855
  81. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +1 -1
  82. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  83. data/lib/adwords_api/v201008/UserListServiceDriver.rb +2 -2
  84. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +2 -2
  85. data/lib/adwords_api/v201101/AdGroupAdService.rb +2 -0
  86. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +2 -2
  87. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +700 -700
  88. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +2 -2
  89. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +670 -670
  90. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +2 -2
  91. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +2 -2
  92. data/lib/adwords_api/v201101/AlertServiceDriver.rb +1 -1
  93. data/lib/adwords_api/v201101/BulkMutateJobService.rb +2 -0
  94. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +2 -2
  95. data/lib/adwords_api/v201101/BulkOpportunityService.rb +1367 -0
  96. data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +55 -0
  97. data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +1668 -0
  98. data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +303 -0
  99. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +2 -2
  100. data/lib/adwords_api/v201101/CampaignCriterionService.rb +216 -216
  101. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +2 -2
  102. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +234 -234
  103. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +2 -2
  104. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +2 -2
  105. data/lib/adwords_api/v201101/ConversionTrackerService.rb +1105 -0
  106. data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +63 -0
  107. data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +1161 -0
  108. data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +332 -0
  109. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +1 -1
  110. data/lib/adwords_api/v201101/DataServiceDriver.rb +2 -2
  111. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +2 -2
  112. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +1 -1
  113. data/lib/adwords_api/v201101/InfoServiceDriver.rb +1 -1
  114. data/lib/adwords_api/v201101/MediaServiceDriver.rb +2 -2
  115. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +3 -3
  116. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +14 -0
  117. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +1 -1
  118. data/lib/adwords_api/v201101/TargetingIdeaService.rb +1490 -1490
  119. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +2 -2
  120. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +507 -507
  121. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +841 -841
  122. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +1 -1
  123. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  124. data/lib/adwords_api/v201101/UserListServiceDriver.rb +2 -2
  125. metadata +17 -5
@@ -16,7 +16,7 @@ class CampaignServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V200909::CampaignService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V200909::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V200909::CampaignService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V200909::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class CampaignTargetServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V200909::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V200909::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignTargetServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V200909::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V200909::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class GeoLocationServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V200909::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V200909::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -16,7 +16,7 @@ class InfoServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/info/v200909", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V200909::InfoService::ApiException_"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v200909", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V200909::InfoService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v200909", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -31,418 +31,6 @@ 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
40
-
41
- def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
42
- @latitudeInMicroDegrees = latitudeInMicroDegrees
43
- @longitudeInMicroDegrees = longitudeInMicroDegrees
44
- end
45
- end
46
-
47
- # Paging
48
- # - startIndex - SOAP::SOAPInt
49
- # - numberResults - SOAP::SOAPInt
50
- class Paging
51
- attr_accessor :startIndex
52
- attr_accessor :numberResults
53
-
54
- def initialize(startIndex = nil, numberResults = nil)
55
- @startIndex = startIndex
56
- @numberResults = numberResults
57
- end
58
- end
59
-
60
- # PolicyViolationError.Part
61
- # - index - SOAP::SOAPInt
62
- # - length - SOAP::SOAPInt
63
- class PolicyViolationErrorPart
64
- attr_accessor :index
65
- attr_accessor :length
66
-
67
- def initialize(index = nil, length = nil)
68
- @index = index
69
- @length = length
70
- end
71
- end
72
-
73
- # PolicyViolationKey
74
- # - policyName - SOAP::SOAPString
75
- # - violatingText - SOAP::SOAPString
76
- class PolicyViolationKey
77
- attr_accessor :policyName
78
- attr_accessor :violatingText
79
-
80
- def initialize(policyName = nil, violatingText = nil)
81
- @policyName = policyName
82
- @violatingText = violatingText
83
- end
84
- end
85
-
86
- # SoapHeader
87
- # - applicationToken - SOAP::SOAPString
88
- # - authToken - SOAP::SOAPString
89
- # - clientCustomerId - SOAP::SOAPString
90
- # - clientEmail - SOAP::SOAPString
91
- # - developerToken - SOAP::SOAPString
92
- # - userAgent - SOAP::SOAPString
93
- # - validateOnly - SOAP::SOAPBoolean
94
- class SoapHeader
95
- attr_accessor :applicationToken
96
- attr_accessor :authToken
97
- attr_accessor :clientCustomerId
98
- attr_accessor :clientEmail
99
- attr_accessor :developerToken
100
- attr_accessor :userAgent
101
- attr_accessor :validateOnly
102
-
103
- def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
104
- @applicationToken = applicationToken
105
- @authToken = authToken
106
- @clientCustomerId = clientCustomerId
107
- @clientEmail = clientEmail
108
- @developerToken = developerToken
109
- @userAgent = userAgent
110
- @validateOnly = validateOnly
111
- end
112
- end
113
-
114
- # SoapResponseHeader
115
- # - requestId - SOAP::SOAPString
116
- # - operations - SOAP::SOAPLong
117
- # - responseTime - SOAP::SOAPLong
118
- # - units - SOAP::SOAPLong
119
- class SoapResponseHeader
120
- attr_accessor :requestId
121
- attr_accessor :operations
122
- attr_accessor :responseTime
123
- attr_accessor :units
124
-
125
- def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
126
- @requestId = requestId
127
- @operations = operations
128
- @responseTime = responseTime
129
- @units = units
130
- end
131
- end
132
-
133
- # ComparableValue
134
- # abstract
135
- # - comparableValue_Type - SOAP::SOAPString
136
- class ComparableValue
137
- attr_accessor :comparableValue_Type
138
-
139
- def initialize(comparableValue_Type = nil)
140
- @comparableValue_Type = comparableValue_Type
141
- end
142
- end
143
-
144
- # Money
145
- # - comparableValue_Type - SOAP::SOAPString
146
- # - microAmount - SOAP::SOAPLong
147
- class Money < ComparableValue
148
- attr_accessor :comparableValue_Type
149
- attr_accessor :microAmount
150
-
151
- def initialize(comparableValue_Type = nil, microAmount = nil)
152
- @comparableValue_Type = comparableValue_Type
153
- @microAmount = microAmount
154
- end
155
- end
156
-
157
- # NumberValue
158
- # abstract
159
- # - comparableValue_Type - SOAP::SOAPString
160
- class NumberValue < ComparableValue
161
- attr_accessor :comparableValue_Type
162
-
163
- def initialize(comparableValue_Type = nil)
164
- @comparableValue_Type = comparableValue_Type
165
- end
166
- end
167
-
168
- # DoubleValue
169
- # - comparableValue_Type - SOAP::SOAPString
170
- # - number - SOAP::SOAPDouble
171
- class DoubleValue < NumberValue
172
- attr_accessor :comparableValue_Type
173
- attr_accessor :number
174
-
175
- def initialize(comparableValue_Type = nil, number = nil)
176
- @comparableValue_Type = comparableValue_Type
177
- @number = number
178
- end
179
- end
180
-
181
- # LongValue
182
- # - comparableValue_Type - SOAP::SOAPString
183
- # - number - SOAP::SOAPLong
184
- class LongValue < NumberValue
185
- attr_accessor :comparableValue_Type
186
- attr_accessor :number
187
-
188
- def initialize(comparableValue_Type = nil, number = nil)
189
- @comparableValue_Type = comparableValue_Type
190
- @number = number
191
- end
192
- end
193
-
194
- # Target
195
- # abstract
196
- # - target_Type - SOAP::SOAPString
197
- class Target
198
- attr_accessor :target_Type
199
-
200
- def initialize(target_Type = nil)
201
- @target_Type = target_Type
202
- end
203
- end
204
-
205
- # AdScheduleTarget
206
- # - target_Type - SOAP::SOAPString
207
- # - dayOfWeek - AdwordsApi::V200909::TargetingIdeaService::DayOfWeek
208
- # - startHour - SOAP::SOAPInt
209
- # - startMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
210
- # - endHour - SOAP::SOAPInt
211
- # - endMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
212
- # - bidMultiplier - SOAP::SOAPDouble
213
- class AdScheduleTarget < Target
214
- attr_accessor :target_Type
215
- attr_accessor :dayOfWeek
216
- attr_accessor :startHour
217
- attr_accessor :startMinute
218
- attr_accessor :endHour
219
- attr_accessor :endMinute
220
- attr_accessor :bidMultiplier
221
-
222
- def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
223
- @target_Type = target_Type
224
- @dayOfWeek = dayOfWeek
225
- @startHour = startHour
226
- @startMinute = startMinute
227
- @endHour = endHour
228
- @endMinute = endMinute
229
- @bidMultiplier = bidMultiplier
230
- end
231
- end
232
-
233
- # LanguageTarget
234
- # - target_Type - SOAP::SOAPString
235
- # - languageCode - SOAP::SOAPString
236
- class LanguageTarget < Target
237
- attr_accessor :target_Type
238
- attr_accessor :languageCode
239
-
240
- def initialize(target_Type = nil, languageCode = nil)
241
- @target_Type = target_Type
242
- @languageCode = languageCode
243
- end
244
- end
245
-
246
- # NetworkTarget
247
- # - target_Type - SOAP::SOAPString
248
- # - networkCoverageType - AdwordsApi::V200909::TargetingIdeaService::NetworkCoverageType
249
- class NetworkTarget < Target
250
- attr_accessor :target_Type
251
- attr_accessor :networkCoverageType
252
-
253
- def initialize(target_Type = nil, networkCoverageType = nil)
254
- @target_Type = target_Type
255
- @networkCoverageType = networkCoverageType
256
- end
257
- end
258
-
259
- # PlatformTarget
260
- # - target_Type - SOAP::SOAPString
261
- # - platformType - AdwordsApi::V200909::TargetingIdeaService::PlatformType
262
- class PlatformTarget < Target
263
- attr_accessor :target_Type
264
- attr_accessor :platformType
265
-
266
- def initialize(target_Type = nil, platformType = nil)
267
- @target_Type = target_Type
268
- @platformType = platformType
269
- end
270
- end
271
-
272
- # DemographicTarget
273
- # abstract
274
- # - target_Type - SOAP::SOAPString
275
- # - bidModifier - SOAP::SOAPInt
276
- class DemographicTarget < Target
277
- attr_accessor :target_Type
278
- attr_accessor :bidModifier
279
-
280
- def initialize(target_Type = nil, bidModifier = nil)
281
- @target_Type = target_Type
282
- @bidModifier = bidModifier
283
- end
284
- end
285
-
286
- # AgeTarget
287
- # - target_Type - SOAP::SOAPString
288
- # - bidModifier - SOAP::SOAPInt
289
- # - age - AdwordsApi::V200909::TargetingIdeaService::AgeTargetAge
290
- class AgeTarget < DemographicTarget
291
- attr_accessor :target_Type
292
- attr_accessor :bidModifier
293
- attr_accessor :age
294
-
295
- def initialize(target_Type = nil, bidModifier = nil, age = nil)
296
- @target_Type = target_Type
297
- @bidModifier = bidModifier
298
- @age = age
299
- end
300
- end
301
-
302
- # GenderTarget
303
- # - target_Type - SOAP::SOAPString
304
- # - bidModifier - SOAP::SOAPInt
305
- # - gender - AdwordsApi::V200909::TargetingIdeaService::GenderTargetGender
306
- class GenderTarget < DemographicTarget
307
- attr_accessor :target_Type
308
- attr_accessor :bidModifier
309
- attr_accessor :gender
310
-
311
- def initialize(target_Type = nil, bidModifier = nil, gender = nil)
312
- @target_Type = target_Type
313
- @bidModifier = bidModifier
314
- @gender = gender
315
- end
316
- end
317
-
318
- # GeoTarget
319
- # abstract
320
- # - target_Type - SOAP::SOAPString
321
- # - excluded - SOAP::SOAPBoolean
322
- class GeoTarget < Target
323
- attr_accessor :target_Type
324
- attr_accessor :excluded
325
-
326
- def initialize(target_Type = nil, excluded = nil)
327
- @target_Type = target_Type
328
- @excluded = excluded
329
- end
330
- end
331
-
332
- # CityTarget
333
- # - target_Type - SOAP::SOAPString
334
- # - excluded - SOAP::SOAPBoolean
335
- # - cityName - SOAP::SOAPString
336
- # - provinceCode - SOAP::SOAPString
337
- # - countryCode - SOAP::SOAPString
338
- class CityTarget < GeoTarget
339
- attr_accessor :target_Type
340
- attr_accessor :excluded
341
- attr_accessor :cityName
342
- attr_accessor :provinceCode
343
- attr_accessor :countryCode
344
-
345
- def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
346
- @target_Type = target_Type
347
- @excluded = excluded
348
- @cityName = cityName
349
- @provinceCode = provinceCode
350
- @countryCode = countryCode
351
- end
352
- end
353
-
354
- # CountryTarget
355
- # - target_Type - SOAP::SOAPString
356
- # - excluded - SOAP::SOAPBoolean
357
- # - countryCode - SOAP::SOAPString
358
- class CountryTarget < GeoTarget
359
- attr_accessor :target_Type
360
- attr_accessor :excluded
361
- attr_accessor :countryCode
362
-
363
- def initialize(target_Type = nil, excluded = nil, countryCode = nil)
364
- @target_Type = target_Type
365
- @excluded = excluded
366
- @countryCode = countryCode
367
- end
368
- end
369
-
370
- # MetroTarget
371
- # - target_Type - SOAP::SOAPString
372
- # - excluded - SOAP::SOAPBoolean
373
- # - metroCode - SOAP::SOAPString
374
- class MetroTarget < GeoTarget
375
- attr_accessor :target_Type
376
- attr_accessor :excluded
377
- attr_accessor :metroCode
378
-
379
- def initialize(target_Type = nil, excluded = nil, metroCode = nil)
380
- @target_Type = target_Type
381
- @excluded = excluded
382
- @metroCode = metroCode
383
- end
384
- end
385
-
386
- # PolygonTarget
387
- # - target_Type - SOAP::SOAPString
388
- # - excluded - SOAP::SOAPBoolean
389
- # - vertices - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
390
- class PolygonTarget < GeoTarget
391
- attr_accessor :target_Type
392
- attr_accessor :excluded
393
- attr_accessor :vertices
394
-
395
- def initialize(target_Type = nil, excluded = nil, vertices = [])
396
- @target_Type = target_Type
397
- @excluded = excluded
398
- @vertices = vertices
399
- end
400
- end
401
-
402
- # ProvinceTarget
403
- # - target_Type - SOAP::SOAPString
404
- # - excluded - SOAP::SOAPBoolean
405
- # - provinceCode - SOAP::SOAPString
406
- class ProvinceTarget < GeoTarget
407
- attr_accessor :target_Type
408
- attr_accessor :excluded
409
- attr_accessor :provinceCode
410
-
411
- def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
412
- @target_Type = target_Type
413
- @excluded = excluded
414
- @provinceCode = provinceCode
415
- end
416
- end
417
-
418
- # ProximityTarget
419
- # - target_Type - SOAP::SOAPString
420
- # - excluded - SOAP::SOAPBoolean
421
- # - geoPoint - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
422
- # - radiusDistanceUnits - AdwordsApi::V200909::TargetingIdeaService::ProximityTargetDistanceUnits
423
- # - radiusInUnits - SOAP::SOAPDouble
424
- # - address - AdwordsApi::V200909::TargetingIdeaService::Address
425
- # - allowServiceOfAddress - SOAP::SOAPBoolean
426
- class ProximityTarget < GeoTarget
427
- attr_accessor :target_Type
428
- attr_accessor :excluded
429
- attr_accessor :geoPoint
430
- attr_accessor :radiusDistanceUnits
431
- attr_accessor :radiusInUnits
432
- attr_accessor :address
433
- attr_accessor :allowServiceOfAddress
434
-
435
- def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
436
- @target_Type = target_Type
437
- @excluded = excluded
438
- @geoPoint = geoPoint
439
- @radiusDistanceUnits = radiusDistanceUnits
440
- @radiusInUnits = radiusInUnits
441
- @address = address
442
- @allowServiceOfAddress = allowServiceOfAddress
443
- end
444
- end
445
-
446
34
  # ApiError
447
35
  # abstract
448
36
  # - fieldPath - SOAP::SOAPString
@@ -574,6 +162,25 @@ class ClientTermsError < ApiError
574
162
  end
575
163
  end
576
164
 
165
+ # DatabaseError
166
+ # - fieldPath - SOAP::SOAPString
167
+ # - trigger - SOAP::SOAPString
168
+ # - apiError_Type - SOAP::SOAPString
169
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::DatabaseErrorReason
170
+ class DatabaseError < ApiError
171
+ attr_accessor :fieldPath
172
+ attr_accessor :trigger
173
+ attr_accessor :apiError_Type
174
+ attr_accessor :reason
175
+
176
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
177
+ @fieldPath = fieldPath
178
+ @trigger = trigger
179
+ @apiError_Type = apiError_Type
180
+ @reason = reason
181
+ end
182
+ end
183
+
577
184
  # DateError
578
185
  # - fieldPath - SOAP::SOAPString
579
186
  # - trigger - SOAP::SOAPString
@@ -760,69 +367,80 @@ class NullError < ApiError
760
367
  end
761
368
  end
762
369
 
763
- # QuotaCheckError
764
- # - fieldPath - SOAP::SOAPString
765
- # - trigger - SOAP::SOAPString
766
- # - apiError_Type - SOAP::SOAPString
767
- # - reason - AdwordsApi::V200909::TargetingIdeaService::QuotaCheckErrorReason
768
- class QuotaCheckError < ApiError
769
- attr_accessor :fieldPath
770
- attr_accessor :trigger
771
- attr_accessor :apiError_Type
772
- attr_accessor :reason
773
-
774
- def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
775
- @fieldPath = fieldPath
776
- @trigger = trigger
777
- @apiError_Type = apiError_Type
778
- @reason = reason
779
- end
780
- end
781
-
782
- # QuotaExceededError
370
+ # PolicyViolationError
783
371
  # - fieldPath - SOAP::SOAPString
784
372
  # - trigger - SOAP::SOAPString
785
373
  # - apiError_Type - SOAP::SOAPString
786
- # - reason - AdwordsApi::V200909::TargetingIdeaService::QuotaExceededErrorReason
787
- class QuotaExceededError < ApiError
374
+ # - key - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationKey
375
+ # - externalPolicyName - SOAP::SOAPString
376
+ # - externalPolicyUrl - SOAP::SOAPString
377
+ # - externalPolicyDescription - SOAP::SOAPString
378
+ # - isExemptable - SOAP::SOAPBoolean
379
+ # - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
380
+ class PolicyViolationError < ApiError
788
381
  attr_accessor :fieldPath
789
382
  attr_accessor :trigger
790
383
  attr_accessor :apiError_Type
791
- attr_accessor :reason
384
+ attr_accessor :key
385
+ attr_accessor :externalPolicyName
386
+ attr_accessor :externalPolicyUrl
387
+ attr_accessor :externalPolicyDescription
388
+ attr_accessor :isExemptable
389
+ attr_accessor :violatingParts
792
390
 
793
- def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
391
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
794
392
  @fieldPath = fieldPath
795
393
  @trigger = trigger
796
394
  @apiError_Type = apiError_Type
797
- @reason = reason
395
+ @key = key
396
+ @externalPolicyName = externalPolicyName
397
+ @externalPolicyUrl = externalPolicyUrl
398
+ @externalPolicyDescription = externalPolicyDescription
399
+ @isExemptable = isExemptable
400
+ @violatingParts = violatingParts
798
401
  end
799
402
  end
800
403
 
801
- # RangeError
404
+ # CriterionPolicyError
802
405
  # - fieldPath - SOAP::SOAPString
803
406
  # - trigger - SOAP::SOAPString
804
407
  # - apiError_Type - SOAP::SOAPString
805
- # - reason - AdwordsApi::V200909::TargetingIdeaService::RangeErrorReason
806
- class C_RangeError < ApiError
408
+ # - key - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationKey
409
+ # - externalPolicyName - SOAP::SOAPString
410
+ # - externalPolicyUrl - SOAP::SOAPString
411
+ # - externalPolicyDescription - SOAP::SOAPString
412
+ # - isExemptable - SOAP::SOAPBoolean
413
+ # - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
414
+ class CriterionPolicyError < PolicyViolationError
807
415
  attr_accessor :fieldPath
808
416
  attr_accessor :trigger
809
417
  attr_accessor :apiError_Type
810
- attr_accessor :reason
418
+ attr_accessor :key
419
+ attr_accessor :externalPolicyName
420
+ attr_accessor :externalPolicyUrl
421
+ attr_accessor :externalPolicyDescription
422
+ attr_accessor :isExemptable
423
+ attr_accessor :violatingParts
811
424
 
812
- def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
425
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
813
426
  @fieldPath = fieldPath
814
427
  @trigger = trigger
815
428
  @apiError_Type = apiError_Type
816
- @reason = reason
429
+ @key = key
430
+ @externalPolicyName = externalPolicyName
431
+ @externalPolicyUrl = externalPolicyUrl
432
+ @externalPolicyDescription = externalPolicyDescription
433
+ @isExemptable = isExemptable
434
+ @violatingParts = violatingParts
817
435
  end
818
436
  end
819
437
 
820
- # ReadOnlyError
438
+ # QuotaCheckError
821
439
  # - fieldPath - SOAP::SOAPString
822
440
  # - trigger - SOAP::SOAPString
823
441
  # - apiError_Type - SOAP::SOAPString
824
- # - reason - AdwordsApi::V200909::TargetingIdeaService::ReadOnlyErrorReason
825
- class ReadOnlyError < ApiError
442
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::QuotaCheckErrorReason
443
+ class QuotaCheckError < ApiError
826
444
  attr_accessor :fieldPath
827
445
  attr_accessor :trigger
828
446
  attr_accessor :apiError_Type
@@ -836,12 +454,12 @@ class ReadOnlyError < ApiError
836
454
  end
837
455
  end
838
456
 
839
- # RegionCodeError
457
+ # QuotaExceededError
840
458
  # - fieldPath - SOAP::SOAPString
841
459
  # - trigger - SOAP::SOAPString
842
460
  # - apiError_Type - SOAP::SOAPString
843
- # - reason - AdwordsApi::V200909::TargetingIdeaService::RegionCodeErrorReason
844
- class RegionCodeError < ApiError
461
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::QuotaExceededErrorReason
462
+ class QuotaExceededError < ApiError
845
463
  attr_accessor :fieldPath
846
464
  attr_accessor :trigger
847
465
  attr_accessor :apiError_Type
@@ -855,12 +473,12 @@ class RegionCodeError < ApiError
855
473
  end
856
474
  end
857
475
 
858
- # RequiredError
476
+ # RangeError
859
477
  # - fieldPath - SOAP::SOAPString
860
478
  # - trigger - SOAP::SOAPString
861
479
  # - apiError_Type - SOAP::SOAPString
862
- # - reason - AdwordsApi::V200909::TargetingIdeaService::RequiredErrorReason
863
- class RequiredError < ApiError
480
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::RangeErrorReason
481
+ class C_RangeError < ApiError
864
482
  attr_accessor :fieldPath
865
483
  attr_accessor :trigger
866
484
  attr_accessor :apiError_Type
@@ -874,12 +492,12 @@ class RequiredError < ApiError
874
492
  end
875
493
  end
876
494
 
877
- # SizeLimitError
495
+ # ReadOnlyError
878
496
  # - fieldPath - SOAP::SOAPString
879
497
  # - trigger - SOAP::SOAPString
880
498
  # - apiError_Type - SOAP::SOAPString
881
- # - reason - AdwordsApi::V200909::TargetingIdeaService::SizeLimitErrorReason
882
- class SizeLimitError < ApiError
499
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::ReadOnlyErrorReason
500
+ class ReadOnlyError < ApiError
883
501
  attr_accessor :fieldPath
884
502
  attr_accessor :trigger
885
503
  attr_accessor :apiError_Type
@@ -893,12 +511,12 @@ class SizeLimitError < ApiError
893
511
  end
894
512
  end
895
513
 
896
- # StatsQueryError
514
+ # RegionCodeError
897
515
  # - fieldPath - SOAP::SOAPString
898
516
  # - trigger - SOAP::SOAPString
899
517
  # - apiError_Type - SOAP::SOAPString
900
- # - reason - AdwordsApi::V200909::TargetingIdeaService::StatsQueryErrorReason
901
- class StatsQueryError < ApiError
518
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::RegionCodeErrorReason
519
+ class RegionCodeError < ApiError
902
520
  attr_accessor :fieldPath
903
521
  attr_accessor :trigger
904
522
  attr_accessor :apiError_Type
@@ -912,12 +530,12 @@ class StatsQueryError < ApiError
912
530
  end
913
531
  end
914
532
 
915
- # StringLengthError
533
+ # RequiredError
916
534
  # - fieldPath - SOAP::SOAPString
917
535
  # - trigger - SOAP::SOAPString
918
536
  # - apiError_Type - SOAP::SOAPString
919
- # - reason - AdwordsApi::V200909::TargetingIdeaService::StringLengthErrorReason
920
- class StringLengthError < ApiError
537
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::RequiredErrorReason
538
+ class RequiredError < ApiError
921
539
  attr_accessor :fieldPath
922
540
  attr_accessor :trigger
923
541
  attr_accessor :apiError_Type
@@ -931,12 +549,12 @@ class StringLengthError < ApiError
931
549
  end
932
550
  end
933
551
 
934
- # TargetError
552
+ # SizeLimitError
935
553
  # - fieldPath - SOAP::SOAPString
936
554
  # - trigger - SOAP::SOAPString
937
555
  # - apiError_Type - SOAP::SOAPString
938
- # - reason - AdwordsApi::V200909::TargetingIdeaService::TargetErrorReason
939
- class TargetError < ApiError
556
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::SizeLimitErrorReason
557
+ class SizeLimitError < ApiError
940
558
  attr_accessor :fieldPath
941
559
  attr_accessor :trigger
942
560
  attr_accessor :apiError_Type
@@ -950,12 +568,12 @@ class TargetError < ApiError
950
568
  end
951
569
  end
952
570
 
953
- # DatabaseError
571
+ # StatsQueryError
954
572
  # - fieldPath - SOAP::SOAPString
955
573
  # - trigger - SOAP::SOAPString
956
574
  # - apiError_Type - SOAP::SOAPString
957
- # - reason - AdwordsApi::V200909::TargetingIdeaService::DatabaseErrorReason
958
- class DatabaseError < ApiError
575
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::StatsQueryErrorReason
576
+ class StatsQueryError < ApiError
959
577
  attr_accessor :fieldPath
960
578
  attr_accessor :trigger
961
579
  attr_accessor :apiError_Type
@@ -969,71 +587,41 @@ class DatabaseError < ApiError
969
587
  end
970
588
  end
971
589
 
972
- # PolicyViolationError
590
+ # StringLengthError
973
591
  # - fieldPath - SOAP::SOAPString
974
592
  # - trigger - SOAP::SOAPString
975
593
  # - apiError_Type - SOAP::SOAPString
976
- # - key - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationKey
977
- # - externalPolicyName - SOAP::SOAPString
978
- # - externalPolicyUrl - SOAP::SOAPString
979
- # - externalPolicyDescription - SOAP::SOAPString
980
- # - isExemptable - SOAP::SOAPBoolean
981
- # - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
982
- class PolicyViolationError < ApiError
594
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::StringLengthErrorReason
595
+ class StringLengthError < ApiError
983
596
  attr_accessor :fieldPath
984
597
  attr_accessor :trigger
985
598
  attr_accessor :apiError_Type
986
- attr_accessor :key
987
- attr_accessor :externalPolicyName
988
- attr_accessor :externalPolicyUrl
989
- attr_accessor :externalPolicyDescription
990
- attr_accessor :isExemptable
991
- attr_accessor :violatingParts
599
+ attr_accessor :reason
992
600
 
993
- def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
601
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
994
602
  @fieldPath = fieldPath
995
603
  @trigger = trigger
996
604
  @apiError_Type = apiError_Type
997
- @key = key
998
- @externalPolicyName = externalPolicyName
999
- @externalPolicyUrl = externalPolicyUrl
1000
- @externalPolicyDescription = externalPolicyDescription
1001
- @isExemptable = isExemptable
1002
- @violatingParts = violatingParts
605
+ @reason = reason
1003
606
  end
1004
607
  end
1005
608
 
1006
- # CriterionPolicyError
609
+ # TargetError
1007
610
  # - fieldPath - SOAP::SOAPString
1008
611
  # - trigger - SOAP::SOAPString
1009
612
  # - apiError_Type - SOAP::SOAPString
1010
- # - key - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationKey
1011
- # - externalPolicyName - SOAP::SOAPString
1012
- # - externalPolicyUrl - SOAP::SOAPString
1013
- # - externalPolicyDescription - SOAP::SOAPString
1014
- # - isExemptable - SOAP::SOAPBoolean
1015
- # - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
1016
- class CriterionPolicyError < PolicyViolationError
613
+ # - reason - AdwordsApi::V200909::TargetingIdeaService::TargetErrorReason
614
+ class TargetError < ApiError
1017
615
  attr_accessor :fieldPath
1018
616
  attr_accessor :trigger
1019
617
  attr_accessor :apiError_Type
1020
- attr_accessor :key
1021
- attr_accessor :externalPolicyName
1022
- attr_accessor :externalPolicyUrl
1023
- attr_accessor :externalPolicyDescription
1024
- attr_accessor :isExemptable
1025
- attr_accessor :violatingParts
618
+ attr_accessor :reason
1026
619
 
1027
- def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
620
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
1028
621
  @fieldPath = fieldPath
1029
622
  @trigger = trigger
1030
623
  @apiError_Type = apiError_Type
1031
- @key = key
1032
- @externalPolicyName = externalPolicyName
1033
- @externalPolicyUrl = externalPolicyUrl
1034
- @externalPolicyDescription = externalPolicyDescription
1035
- @isExemptable = isExemptable
1036
- @violatingParts = violatingParts
624
+ @reason = reason
1037
625
  end
1038
626
  end
1039
627
 
@@ -1104,6 +692,67 @@ class ApiException < ApplicationException
1104
692
  end
1105
693
  end
1106
694
 
695
+ # ComparableValue
696
+ # abstract
697
+ # - comparableValue_Type - SOAP::SOAPString
698
+ class ComparableValue
699
+ attr_accessor :comparableValue_Type
700
+
701
+ def initialize(comparableValue_Type = nil)
702
+ @comparableValue_Type = comparableValue_Type
703
+ end
704
+ end
705
+
706
+ # Money
707
+ # - comparableValue_Type - SOAP::SOAPString
708
+ # - microAmount - SOAP::SOAPLong
709
+ class Money < ComparableValue
710
+ attr_accessor :comparableValue_Type
711
+ attr_accessor :microAmount
712
+
713
+ def initialize(comparableValue_Type = nil, microAmount = nil)
714
+ @comparableValue_Type = comparableValue_Type
715
+ @microAmount = microAmount
716
+ end
717
+ end
718
+
719
+ # NumberValue
720
+ # abstract
721
+ # - comparableValue_Type - SOAP::SOAPString
722
+ class NumberValue < ComparableValue
723
+ attr_accessor :comparableValue_Type
724
+
725
+ def initialize(comparableValue_Type = nil)
726
+ @comparableValue_Type = comparableValue_Type
727
+ end
728
+ end
729
+
730
+ # DoubleValue
731
+ # - comparableValue_Type - SOAP::SOAPString
732
+ # - number - SOAP::SOAPDouble
733
+ class DoubleValue < NumberValue
734
+ attr_accessor :comparableValue_Type
735
+ attr_accessor :number
736
+
737
+ def initialize(comparableValue_Type = nil, number = nil)
738
+ @comparableValue_Type = comparableValue_Type
739
+ @number = number
740
+ end
741
+ end
742
+
743
+ # LongValue
744
+ # - comparableValue_Type - SOAP::SOAPString
745
+ # - number - SOAP::SOAPLong
746
+ class LongValue < NumberValue
747
+ attr_accessor :comparableValue_Type
748
+ attr_accessor :number
749
+
750
+ def initialize(comparableValue_Type = nil, number = nil)
751
+ @comparableValue_Type = comparableValue_Type
752
+ @number = number
753
+ end
754
+ end
755
+
1107
756
  # Criterion
1108
757
  # - id - SOAP::SOAPLong
1109
758
  # - criterion_Type - SOAP::SOAPString
@@ -1111,399 +760,566 @@ class Criterion
1111
760
  attr_accessor :id
1112
761
  attr_accessor :criterion_Type
1113
762
 
1114
- def initialize(id = nil, criterion_Type = nil)
1115
- @id = id
1116
- @criterion_Type = criterion_Type
763
+ def initialize(id = nil, criterion_Type = nil)
764
+ @id = id
765
+ @criterion_Type = criterion_Type
766
+ end
767
+ end
768
+
769
+ # Keyword
770
+ # - id - SOAP::SOAPLong
771
+ # - criterion_Type - SOAP::SOAPString
772
+ # - text - SOAP::SOAPString
773
+ # - matchType - AdwordsApi::V200909::TargetingIdeaService::KeywordMatchType
774
+ class Keyword < Criterion
775
+ attr_accessor :id
776
+ attr_accessor :criterion_Type
777
+ attr_accessor :text
778
+ attr_accessor :matchType
779
+
780
+ def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
781
+ @id = id
782
+ @criterion_Type = criterion_Type
783
+ @text = text
784
+ @matchType = matchType
785
+ end
786
+ end
787
+
788
+ # Placement
789
+ # - id - SOAP::SOAPLong
790
+ # - criterion_Type - SOAP::SOAPString
791
+ # - url - SOAP::SOAPString
792
+ class Placement < Criterion
793
+ attr_accessor :id
794
+ attr_accessor :criterion_Type
795
+ attr_accessor :url
796
+
797
+ def initialize(id = nil, criterion_Type = nil, url = nil)
798
+ @id = id
799
+ @criterion_Type = criterion_Type
800
+ @url = url
801
+ end
802
+ end
803
+
804
+ # GeoPoint
805
+ # - latitudeInMicroDegrees - SOAP::SOAPInt
806
+ # - longitudeInMicroDegrees - SOAP::SOAPInt
807
+ class GeoPoint
808
+ attr_accessor :latitudeInMicroDegrees
809
+ attr_accessor :longitudeInMicroDegrees
810
+
811
+ def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
812
+ @latitudeInMicroDegrees = latitudeInMicroDegrees
813
+ @longitudeInMicroDegrees = longitudeInMicroDegrees
814
+ end
815
+ end
816
+
817
+ # Paging
818
+ # - startIndex - SOAP::SOAPInt
819
+ # - numberResults - SOAP::SOAPInt
820
+ class Paging
821
+ attr_accessor :startIndex
822
+ attr_accessor :numberResults
823
+
824
+ def initialize(startIndex = nil, numberResults = nil)
825
+ @startIndex = startIndex
826
+ @numberResults = numberResults
827
+ end
828
+ end
829
+
830
+ # PolicyViolationError.Part
831
+ # - index - SOAP::SOAPInt
832
+ # - length - SOAP::SOAPInt
833
+ class PolicyViolationErrorPart
834
+ attr_accessor :index
835
+ attr_accessor :length
836
+
837
+ def initialize(index = nil, length = nil)
838
+ @index = index
839
+ @length = length
840
+ end
841
+ end
842
+
843
+ # PolicyViolationKey
844
+ # - policyName - SOAP::SOAPString
845
+ # - violatingText - SOAP::SOAPString
846
+ class PolicyViolationKey
847
+ attr_accessor :policyName
848
+ attr_accessor :violatingText
849
+
850
+ def initialize(policyName = nil, violatingText = nil)
851
+ @policyName = policyName
852
+ @violatingText = violatingText
853
+ end
854
+ end
855
+
856
+ # SoapHeader
857
+ # - applicationToken - SOAP::SOAPString
858
+ # - authToken - SOAP::SOAPString
859
+ # - clientCustomerId - SOAP::SOAPString
860
+ # - clientEmail - SOAP::SOAPString
861
+ # - developerToken - SOAP::SOAPString
862
+ # - userAgent - SOAP::SOAPString
863
+ # - validateOnly - SOAP::SOAPBoolean
864
+ class SoapHeader
865
+ attr_accessor :applicationToken
866
+ attr_accessor :authToken
867
+ attr_accessor :clientCustomerId
868
+ attr_accessor :clientEmail
869
+ attr_accessor :developerToken
870
+ attr_accessor :userAgent
871
+ attr_accessor :validateOnly
872
+
873
+ def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
874
+ @applicationToken = applicationToken
875
+ @authToken = authToken
876
+ @clientCustomerId = clientCustomerId
877
+ @clientEmail = clientEmail
878
+ @developerToken = developerToken
879
+ @userAgent = userAgent
880
+ @validateOnly = validateOnly
881
+ end
882
+ end
883
+
884
+ # SoapResponseHeader
885
+ # - requestId - SOAP::SOAPString
886
+ # - operations - SOAP::SOAPLong
887
+ # - responseTime - SOAP::SOAPLong
888
+ # - units - SOAP::SOAPLong
889
+ class SoapResponseHeader
890
+ attr_accessor :requestId
891
+ attr_accessor :operations
892
+ attr_accessor :responseTime
893
+ attr_accessor :units
894
+
895
+ def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
896
+ @requestId = requestId
897
+ @operations = operations
898
+ @responseTime = responseTime
899
+ @units = units
1117
900
  end
1118
901
  end
1119
902
 
1120
- # Keyword
1121
- # - id - SOAP::SOAPLong
1122
- # - criterion_Type - SOAP::SOAPString
1123
- # - text - SOAP::SOAPString
1124
- # - matchType - AdwordsApi::V200909::TargetingIdeaService::KeywordMatchType
1125
- class Keyword < Criterion
1126
- attr_accessor :id
1127
- attr_accessor :criterion_Type
1128
- attr_accessor :text
1129
- attr_accessor :matchType
903
+ # Target
904
+ # abstract
905
+ # - target_Type - SOAP::SOAPString
906
+ class Target
907
+ attr_accessor :target_Type
1130
908
 
1131
- def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
1132
- @id = id
1133
- @criterion_Type = criterion_Type
1134
- @text = text
1135
- @matchType = matchType
909
+ def initialize(target_Type = nil)
910
+ @target_Type = target_Type
1136
911
  end
1137
912
  end
1138
913
 
1139
- # Placement
1140
- # - id - SOAP::SOAPLong
1141
- # - criterion_Type - SOAP::SOAPString
1142
- # - url - SOAP::SOAPString
1143
- class Placement < Criterion
1144
- attr_accessor :id
1145
- attr_accessor :criterion_Type
1146
- attr_accessor :url
914
+ # AdScheduleTarget
915
+ # - target_Type - SOAP::SOAPString
916
+ # - dayOfWeek - AdwordsApi::V200909::TargetingIdeaService::DayOfWeek
917
+ # - startHour - SOAP::SOAPInt
918
+ # - startMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
919
+ # - endHour - SOAP::SOAPInt
920
+ # - endMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
921
+ # - bidMultiplier - SOAP::SOAPDouble
922
+ class AdScheduleTarget < Target
923
+ attr_accessor :target_Type
924
+ attr_accessor :dayOfWeek
925
+ attr_accessor :startHour
926
+ attr_accessor :startMinute
927
+ attr_accessor :endHour
928
+ attr_accessor :endMinute
929
+ attr_accessor :bidMultiplier
1147
930
 
1148
- def initialize(id = nil, criterion_Type = nil, url = nil)
1149
- @id = id
1150
- @criterion_Type = criterion_Type
1151
- @url = url
931
+ def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
932
+ @target_Type = target_Type
933
+ @dayOfWeek = dayOfWeek
934
+ @startHour = startHour
935
+ @startMinute = startMinute
936
+ @endHour = endHour
937
+ @endMinute = endMinute
938
+ @bidMultiplier = bidMultiplier
1152
939
  end
1153
940
  end
1154
941
 
1155
- # AdFormatSpec
1156
- # - format - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsAdFormat
1157
- class AdFormatSpec
1158
- attr_accessor :format
942
+ # DemographicTarget
943
+ # abstract
944
+ # - target_Type - SOAP::SOAPString
945
+ # - bidModifier - SOAP::SOAPInt
946
+ class DemographicTarget < Target
947
+ attr_accessor :target_Type
948
+ attr_accessor :bidModifier
1159
949
 
1160
- def initialize(format = nil)
1161
- @format = format
950
+ def initialize(target_Type = nil, bidModifier = nil)
951
+ @target_Type = target_Type
952
+ @bidModifier = bidModifier
1162
953
  end
1163
954
  end
1164
955
 
1165
- # InStreamAdInfo
1166
- # - maxAdDuration - SOAP::SOAPInt
1167
- # - minAdDuration - SOAP::SOAPInt
1168
- # - medianAdDuration - SOAP::SOAPInt
1169
- # - preRollPercent - SOAP::SOAPDouble
1170
- # - midRollPercent - SOAP::SOAPDouble
1171
- # - postRollPercent - SOAP::SOAPDouble
1172
- class InStreamAdInfo
1173
- attr_accessor :maxAdDuration
1174
- attr_accessor :minAdDuration
1175
- attr_accessor :medianAdDuration
1176
- attr_accessor :preRollPercent
1177
- attr_accessor :midRollPercent
1178
- attr_accessor :postRollPercent
956
+ # AgeTarget
957
+ # - target_Type - SOAP::SOAPString
958
+ # - bidModifier - SOAP::SOAPInt
959
+ # - age - AdwordsApi::V200909::TargetingIdeaService::AgeTargetAge
960
+ class AgeTarget < DemographicTarget
961
+ attr_accessor :target_Type
962
+ attr_accessor :bidModifier
963
+ attr_accessor :age
1179
964
 
1180
- def initialize(maxAdDuration = nil, minAdDuration = nil, medianAdDuration = nil, preRollPercent = nil, midRollPercent = nil, postRollPercent = nil)
1181
- @maxAdDuration = maxAdDuration
1182
- @minAdDuration = minAdDuration
1183
- @medianAdDuration = medianAdDuration
1184
- @preRollPercent = preRollPercent
1185
- @midRollPercent = midRollPercent
1186
- @postRollPercent = postRollPercent
965
+ def initialize(target_Type = nil, bidModifier = nil, age = nil)
966
+ @target_Type = target_Type
967
+ @bidModifier = bidModifier
968
+ @age = age
1187
969
  end
1188
970
  end
1189
971
 
1190
- # LongComparisonOperation
1191
- # - minimum - SOAP::SOAPLong
1192
- # - maximum - SOAP::SOAPLong
1193
- # - excludes - SOAP::SOAPLong
1194
- class LongComparisonOperation
1195
- attr_accessor :minimum
1196
- attr_accessor :maximum
1197
- attr_accessor :excludes
972
+ # GenderTarget
973
+ # - target_Type - SOAP::SOAPString
974
+ # - bidModifier - SOAP::SOAPInt
975
+ # - gender - AdwordsApi::V200909::TargetingIdeaService::GenderTargetGender
976
+ class GenderTarget < DemographicTarget
977
+ attr_accessor :target_Type
978
+ attr_accessor :bidModifier
979
+ attr_accessor :gender
1198
980
 
1199
- def initialize(minimum = nil, maximum = nil, excludes = [])
1200
- @minimum = minimum
1201
- @maximum = maximum
1202
- @excludes = excludes
981
+ def initialize(target_Type = nil, bidModifier = nil, gender = nil)
982
+ @target_Type = target_Type
983
+ @bidModifier = bidModifier
984
+ @gender = gender
1203
985
  end
1204
986
  end
1205
987
 
1206
- # MonthlySearchVolume
1207
- # - year - SOAP::SOAPInt
1208
- # - month - SOAP::SOAPInt
1209
- # - count - SOAP::SOAPLong
1210
- class MonthlySearchVolume
1211
- attr_accessor :year
1212
- attr_accessor :month
1213
- attr_accessor :count
988
+ # GeoTarget
989
+ # abstract
990
+ # - target_Type - SOAP::SOAPString
991
+ # - excluded - SOAP::SOAPBoolean
992
+ class GeoTarget < Target
993
+ attr_accessor :target_Type
994
+ attr_accessor :excluded
1214
995
 
1215
- def initialize(year = nil, month = nil, count = nil)
1216
- @year = year
1217
- @month = month
1218
- @count = count
996
+ def initialize(target_Type = nil, excluded = nil)
997
+ @target_Type = target_Type
998
+ @excluded = excluded
1219
999
  end
1220
1000
  end
1221
1001
 
1222
- # WebpageDescriptor
1223
- # - url - SOAP::SOAPString
1224
- # - title - SOAP::SOAPString
1225
- class WebpageDescriptor
1226
- attr_accessor :url
1227
- attr_accessor :title
1002
+ # CityTarget
1003
+ # - target_Type - SOAP::SOAPString
1004
+ # - excluded - SOAP::SOAPBoolean
1005
+ # - cityName - SOAP::SOAPString
1006
+ # - provinceCode - SOAP::SOAPString
1007
+ # - countryCode - SOAP::SOAPString
1008
+ class CityTarget < GeoTarget
1009
+ attr_accessor :target_Type
1010
+ attr_accessor :excluded
1011
+ attr_accessor :cityName
1012
+ attr_accessor :provinceCode
1013
+ attr_accessor :countryCode
1228
1014
 
1229
- def initialize(url = nil, title = nil)
1230
- @url = url
1231
- @title = title
1015
+ def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
1016
+ @target_Type = target_Type
1017
+ @excluded = excluded
1018
+ @cityName = cityName
1019
+ @provinceCode = provinceCode
1020
+ @countryCode = countryCode
1232
1021
  end
1233
1022
  end
1234
1023
 
1235
- # Range
1236
- # - min - AdwordsApi::V200909::TargetingIdeaService::ComparableValue
1237
- # - max - AdwordsApi::V200909::TargetingIdeaService::ComparableValue
1238
- class C_Range
1239
- attr_accessor :min
1240
- attr_accessor :max
1024
+ # CountryTarget
1025
+ # - target_Type - SOAP::SOAPString
1026
+ # - excluded - SOAP::SOAPBoolean
1027
+ # - countryCode - SOAP::SOAPString
1028
+ class CountryTarget < GeoTarget
1029
+ attr_accessor :target_Type
1030
+ attr_accessor :excluded
1031
+ attr_accessor :countryCode
1241
1032
 
1242
- def initialize(min = nil, max = nil)
1243
- @min = min
1244
- @max = max
1033
+ def initialize(target_Type = nil, excluded = nil, countryCode = nil)
1034
+ @target_Type = target_Type
1035
+ @excluded = excluded
1036
+ @countryCode = countryCode
1245
1037
  end
1246
1038
  end
1247
1039
 
1248
- # SearchParameter
1249
- # abstract
1250
- # - searchParameter_Type - SOAP::SOAPString
1251
- class SearchParameter
1252
- attr_accessor :searchParameter_Type
1040
+ # MetroTarget
1041
+ # - target_Type - SOAP::SOAPString
1042
+ # - excluded - SOAP::SOAPBoolean
1043
+ # - metroCode - SOAP::SOAPString
1044
+ class MetroTarget < GeoTarget
1045
+ attr_accessor :target_Type
1046
+ attr_accessor :excluded
1047
+ attr_accessor :metroCode
1253
1048
 
1254
- def initialize(searchParameter_Type = nil)
1255
- @searchParameter_Type = searchParameter_Type
1049
+ def initialize(target_Type = nil, excluded = nil, metroCode = nil)
1050
+ @target_Type = target_Type
1051
+ @excluded = excluded
1052
+ @metroCode = metroCode
1256
1053
  end
1257
1054
  end
1258
1055
 
1259
- # AdTypeSearchParameter
1260
- # - searchParameter_Type - SOAP::SOAPString
1261
- # - adTypes - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsAdType
1262
- class AdTypeSearchParameter < SearchParameter
1263
- attr_accessor :searchParameter_Type
1264
- attr_accessor :adTypes
1056
+ # PolygonTarget
1057
+ # - target_Type - SOAP::SOAPString
1058
+ # - excluded - SOAP::SOAPBoolean
1059
+ # - vertices - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
1060
+ class PolygonTarget < GeoTarget
1061
+ attr_accessor :target_Type
1062
+ attr_accessor :excluded
1063
+ attr_accessor :vertices
1064
+
1065
+ def initialize(target_Type = nil, excluded = nil, vertices = [])
1066
+ @target_Type = target_Type
1067
+ @excluded = excluded
1068
+ @vertices = vertices
1069
+ end
1070
+ end
1265
1071
 
1266
- def initialize(searchParameter_Type = nil, adTypes = [])
1267
- @searchParameter_Type = searchParameter_Type
1268
- @adTypes = adTypes
1072
+ # ProvinceTarget
1073
+ # - target_Type - SOAP::SOAPString
1074
+ # - excluded - SOAP::SOAPBoolean
1075
+ # - provinceCode - SOAP::SOAPString
1076
+ class ProvinceTarget < GeoTarget
1077
+ attr_accessor :target_Type
1078
+ attr_accessor :excluded
1079
+ attr_accessor :provinceCode
1080
+
1081
+ def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
1082
+ @target_Type = target_Type
1083
+ @excluded = excluded
1084
+ @provinceCode = provinceCode
1269
1085
  end
1270
1086
  end
1271
1087
 
1272
- # CompetitionSearchParameter
1273
- # - searchParameter_Type - SOAP::SOAPString
1274
- # - levels - AdwordsApi::V200909::TargetingIdeaService::CompetitionSearchParameterLevel
1275
- class CompetitionSearchParameter < SearchParameter
1276
- attr_accessor :searchParameter_Type
1277
- attr_accessor :levels
1088
+ # ProximityTarget
1089
+ # - target_Type - SOAP::SOAPString
1090
+ # - excluded - SOAP::SOAPBoolean
1091
+ # - geoPoint - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
1092
+ # - radiusDistanceUnits - AdwordsApi::V200909::TargetingIdeaService::ProximityTargetDistanceUnits
1093
+ # - radiusInUnits - SOAP::SOAPDouble
1094
+ # - address - AdwordsApi::V200909::TargetingIdeaService::Address
1095
+ # - allowServiceOfAddress - SOAP::SOAPBoolean
1096
+ class ProximityTarget < GeoTarget
1097
+ attr_accessor :target_Type
1098
+ attr_accessor :excluded
1099
+ attr_accessor :geoPoint
1100
+ attr_accessor :radiusDistanceUnits
1101
+ attr_accessor :radiusInUnits
1102
+ attr_accessor :address
1103
+ attr_accessor :allowServiceOfAddress
1278
1104
 
1279
- def initialize(searchParameter_Type = nil, levels = [])
1280
- @searchParameter_Type = searchParameter_Type
1281
- @levels = levels
1105
+ def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
1106
+ @target_Type = target_Type
1107
+ @excluded = excluded
1108
+ @geoPoint = geoPoint
1109
+ @radiusDistanceUnits = radiusDistanceUnits
1110
+ @radiusInUnits = radiusInUnits
1111
+ @address = address
1112
+ @allowServiceOfAddress = allowServiceOfAddress
1282
1113
  end
1283
1114
  end
1284
1115
 
1285
- # IncludeAdultContentSearchParameter
1286
- # - searchParameter_Type - SOAP::SOAPString
1287
- class IncludeAdultContentSearchParameter < SearchParameter
1288
- attr_accessor :searchParameter_Type
1116
+ # LanguageTarget
1117
+ # - target_Type - SOAP::SOAPString
1118
+ # - languageCode - SOAP::SOAPString
1119
+ class LanguageTarget < Target
1120
+ attr_accessor :target_Type
1121
+ attr_accessor :languageCode
1289
1122
 
1290
- def initialize(searchParameter_Type = nil)
1291
- @searchParameter_Type = searchParameter_Type
1123
+ def initialize(target_Type = nil, languageCode = nil)
1124
+ @target_Type = target_Type
1125
+ @languageCode = languageCode
1292
1126
  end
1293
1127
  end
1294
1128
 
1295
- # KeywordCategoryIdSearchParameter
1296
- # - searchParameter_Type - SOAP::SOAPString
1297
- # - categoryId - SOAP::SOAPInt
1298
- class KeywordCategoryIdSearchParameter < SearchParameter
1299
- attr_accessor :searchParameter_Type
1300
- attr_accessor :categoryId
1129
+ # NetworkTarget
1130
+ # - target_Type - SOAP::SOAPString
1131
+ # - networkCoverageType - AdwordsApi::V200909::TargetingIdeaService::NetworkCoverageType
1132
+ class NetworkTarget < Target
1133
+ attr_accessor :target_Type
1134
+ attr_accessor :networkCoverageType
1301
1135
 
1302
- def initialize(searchParameter_Type = nil, categoryId = nil)
1303
- @searchParameter_Type = searchParameter_Type
1304
- @categoryId = categoryId
1136
+ def initialize(target_Type = nil, networkCoverageType = nil)
1137
+ @target_Type = target_Type
1138
+ @networkCoverageType = networkCoverageType
1305
1139
  end
1306
1140
  end
1307
1141
 
1308
- # KeywordMatchTypeSearchParameter
1309
- # - searchParameter_Type - SOAP::SOAPString
1310
- # - keywordMatchTypes - AdwordsApi::V200909::TargetingIdeaService::KeywordMatchType
1311
- class KeywordMatchTypeSearchParameter < SearchParameter
1312
- attr_accessor :searchParameter_Type
1313
- attr_accessor :keywordMatchTypes
1142
+ # PlatformTarget
1143
+ # - target_Type - SOAP::SOAPString
1144
+ # - platformType - AdwordsApi::V200909::TargetingIdeaService::PlatformType
1145
+ class PlatformTarget < Target
1146
+ attr_accessor :target_Type
1147
+ attr_accessor :platformType
1314
1148
 
1315
- def initialize(searchParameter_Type = nil, keywordMatchTypes = [])
1316
- @searchParameter_Type = searchParameter_Type
1317
- @keywordMatchTypes = keywordMatchTypes
1149
+ def initialize(target_Type = nil, platformType = nil)
1150
+ @target_Type = target_Type
1151
+ @platformType = platformType
1318
1152
  end
1319
1153
  end
1320
1154
 
1321
- # MobileSearchParameter
1322
- # - searchParameter_Type - SOAP::SOAPString
1323
- class MobileSearchParameter < SearchParameter
1324
- attr_accessor :searchParameter_Type
1155
+ # AdFormatSpec
1156
+ # - format - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsAdFormat
1157
+ class AdFormatSpec
1158
+ attr_accessor :format
1325
1159
 
1326
- def initialize(searchParameter_Type = nil)
1327
- @searchParameter_Type = searchParameter_Type
1160
+ def initialize(format = nil)
1161
+ @format = format
1328
1162
  end
1329
1163
  end
1330
1164
 
1331
- # NgramGroupsSearchParameter
1332
- # - searchParameter_Type - SOAP::SOAPString
1333
- # - ngramGroups - SOAP::SOAPString
1334
- class NgramGroupsSearchParameter < SearchParameter
1335
- attr_accessor :searchParameter_Type
1336
- attr_accessor :ngramGroups
1165
+ # Attribute
1166
+ # abstract
1167
+ # - attribute_Type - SOAP::SOAPString
1168
+ class Attribute
1169
+ attr_accessor :attribute_Type
1337
1170
 
1338
- def initialize(searchParameter_Type = nil, ngramGroups = [])
1339
- @searchParameter_Type = searchParameter_Type
1340
- @ngramGroups = ngramGroups
1171
+ def initialize(attribute_Type = nil)
1172
+ @attribute_Type = attribute_Type
1341
1173
  end
1342
1174
  end
1343
1175
 
1344
- # PlacementTypeSearchParameter
1345
- # - searchParameter_Type - SOAP::SOAPString
1346
- # - placementTypes - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsPlacementType
1347
- class PlacementTypeSearchParameter < SearchParameter
1348
- attr_accessor :searchParameter_Type
1349
- attr_accessor :placementTypes
1176
+ # AdFormatSpecListAttribute
1177
+ # - attribute_Type - SOAP::SOAPString
1178
+ # - value - AdwordsApi::V200909::TargetingIdeaService::AdFormatSpec
1179
+ class AdFormatSpecListAttribute < Attribute
1180
+ attr_accessor :attribute_Type
1181
+ attr_accessor :value
1350
1182
 
1351
- def initialize(searchParameter_Type = nil, placementTypes = [])
1352
- @searchParameter_Type = searchParameter_Type
1353
- @placementTypes = placementTypes
1183
+ def initialize(attribute_Type = nil, value = [])
1184
+ @attribute_Type = attribute_Type
1185
+ @value = value
1354
1186
  end
1355
1187
  end
1356
1188
 
1357
- # RelatedToUrlSearchParameter
1358
- # - searchParameter_Type - SOAP::SOAPString
1359
- # - urls - SOAP::SOAPString
1360
- # - includeSubUrls - SOAP::SOAPBoolean
1361
- class RelatedToUrlSearchParameter < SearchParameter
1362
- attr_accessor :searchParameter_Type
1363
- attr_accessor :urls
1364
- attr_accessor :includeSubUrls
1189
+ # BooleanAttribute
1190
+ # - attribute_Type - SOAP::SOAPString
1191
+ # - value - SOAP::SOAPBoolean
1192
+ class BooleanAttribute < Attribute
1193
+ attr_accessor :attribute_Type
1194
+ attr_accessor :value
1365
1195
 
1366
- def initialize(searchParameter_Type = nil, urls = [], includeSubUrls = nil)
1367
- @searchParameter_Type = searchParameter_Type
1368
- @urls = urls
1369
- @includeSubUrls = includeSubUrls
1196
+ def initialize(attribute_Type = nil, value = nil)
1197
+ @attribute_Type = attribute_Type
1198
+ @value = value
1370
1199
  end
1371
1200
  end
1372
1201
 
1373
- # SeedAdGroupIdSearchParameter
1374
- # - searchParameter_Type - SOAP::SOAPString
1375
- # - adGroupId - SOAP::SOAPLong
1376
- class SeedAdGroupIdSearchParameter < SearchParameter
1377
- attr_accessor :searchParameter_Type
1378
- attr_accessor :adGroupId
1202
+ # DoubleAttribute
1203
+ # - attribute_Type - SOAP::SOAPString
1204
+ # - value - SOAP::SOAPDouble
1205
+ class DoubleAttribute < Attribute
1206
+ attr_accessor :attribute_Type
1207
+ attr_accessor :value
1379
1208
 
1380
- def initialize(searchParameter_Type = nil, adGroupId = nil)
1381
- @searchParameter_Type = searchParameter_Type
1382
- @adGroupId = adGroupId
1209
+ def initialize(attribute_Type = nil, value = nil)
1210
+ @attribute_Type = attribute_Type
1211
+ @value = value
1383
1212
  end
1384
1213
  end
1385
1214
 
1386
- # AverageTargetedMonthlySearchesSearchParameter
1387
- # - searchParameter_Type - SOAP::SOAPString
1388
- # - operation - AdwordsApi::V200909::TargetingIdeaService::LongComparisonOperation
1389
- class AverageTargetedMonthlySearchesSearchParameter < SearchParameter
1390
- attr_accessor :searchParameter_Type
1391
- attr_accessor :operation
1215
+ # IdeaTypeAttribute
1216
+ # - attribute_Type - SOAP::SOAPString
1217
+ # - value - AdwordsApi::V200909::TargetingIdeaService::IdeaType
1218
+ class IdeaTypeAttribute < Attribute
1219
+ attr_accessor :attribute_Type
1220
+ attr_accessor :value
1392
1221
 
1393
- def initialize(searchParameter_Type = nil, operation = nil)
1394
- @searchParameter_Type = searchParameter_Type
1395
- @operation = operation
1222
+ def initialize(attribute_Type = nil, value = nil)
1223
+ @attribute_Type = attribute_Type
1224
+ @value = value
1396
1225
  end
1397
1226
  end
1398
1227
 
1399
- # GlobalMonthlySearchesSearchParameter
1400
- # - searchParameter_Type - SOAP::SOAPString
1401
- # - operation - AdwordsApi::V200909::TargetingIdeaService::LongComparisonOperation
1402
- class GlobalMonthlySearchesSearchParameter < SearchParameter
1403
- attr_accessor :searchParameter_Type
1404
- attr_accessor :operation
1228
+ # InStreamAdInfoAttribute
1229
+ # - attribute_Type - SOAP::SOAPString
1230
+ # - value - AdwordsApi::V200909::TargetingIdeaService::InStreamAdInfo
1231
+ class InStreamAdInfoAttribute < Attribute
1232
+ attr_accessor :attribute_Type
1233
+ attr_accessor :value
1405
1234
 
1406
- def initialize(searchParameter_Type = nil, operation = nil)
1407
- @searchParameter_Type = searchParameter_Type
1408
- @operation = operation
1235
+ def initialize(attribute_Type = nil, value = nil)
1236
+ @attribute_Type = attribute_Type
1237
+ @value = value
1409
1238
  end
1410
1239
  end
1411
1240
 
1412
- # CountryTargetSearchParameter
1413
- # - searchParameter_Type - SOAP::SOAPString
1414
- # - countryTargets - AdwordsApi::V200909::TargetingIdeaService::CountryTarget
1415
- class CountryTargetSearchParameter < SearchParameter
1416
- attr_accessor :searchParameter_Type
1417
- attr_accessor :countryTargets
1241
+ # IntegerAttribute
1242
+ # - attribute_Type - SOAP::SOAPString
1243
+ # - value - SOAP::SOAPInt
1244
+ class IntegerAttribute < Attribute
1245
+ attr_accessor :attribute_Type
1246
+ attr_accessor :value
1418
1247
 
1419
- def initialize(searchParameter_Type = nil, countryTargets = [])
1420
- @searchParameter_Type = searchParameter_Type
1421
- @countryTargets = countryTargets
1248
+ def initialize(attribute_Type = nil, value = nil)
1249
+ @attribute_Type = attribute_Type
1250
+ @value = value
1422
1251
  end
1423
1252
  end
1424
1253
 
1425
- # LanguageTargetSearchParameter
1426
- # - searchParameter_Type - SOAP::SOAPString
1427
- # - languageTargets - AdwordsApi::V200909::TargetingIdeaService::LanguageTarget
1428
- class LanguageTargetSearchParameter < SearchParameter
1429
- attr_accessor :searchParameter_Type
1430
- attr_accessor :languageTargets
1254
+ # IntegerSetAttribute
1255
+ # - attribute_Type - SOAP::SOAPString
1256
+ # - value - SOAP::SOAPInt
1257
+ class IntegerSetAttribute < Attribute
1258
+ attr_accessor :attribute_Type
1259
+ attr_accessor :value
1431
1260
 
1432
- def initialize(searchParameter_Type = nil, languageTargets = [])
1433
- @searchParameter_Type = searchParameter_Type
1434
- @languageTargets = languageTargets
1261
+ def initialize(attribute_Type = nil, value = [])
1262
+ @attribute_Type = attribute_Type
1263
+ @value = value
1435
1264
  end
1436
1265
  end
1437
1266
 
1438
- # ExcludedKeywordSearchParameter
1439
- # - searchParameter_Type - SOAP::SOAPString
1440
- # - keywords - AdwordsApi::V200909::TargetingIdeaService::Keyword
1441
- class ExcludedKeywordSearchParameter < SearchParameter
1442
- attr_accessor :searchParameter_Type
1443
- attr_accessor :keywords
1267
+ # KeywordAttribute
1268
+ # - attribute_Type - SOAP::SOAPString
1269
+ # - value - AdwordsApi::V200909::TargetingIdeaService::Keyword
1270
+ class KeywordAttribute < Attribute
1271
+ attr_accessor :attribute_Type
1272
+ attr_accessor :value
1444
1273
 
1445
- def initialize(searchParameter_Type = nil, keywords = [])
1446
- @searchParameter_Type = searchParameter_Type
1447
- @keywords = keywords
1274
+ def initialize(attribute_Type = nil, value = nil)
1275
+ @attribute_Type = attribute_Type
1276
+ @value = value
1448
1277
  end
1449
1278
  end
1450
1279
 
1451
- # RelatedToKeywordSearchParameter
1452
- # - searchParameter_Type - SOAP::SOAPString
1453
- # - keywords - AdwordsApi::V200909::TargetingIdeaService::Keyword
1454
- class RelatedToKeywordSearchParameter < SearchParameter
1455
- attr_accessor :searchParameter_Type
1456
- attr_accessor :keywords
1280
+ # LongAttribute
1281
+ # - attribute_Type - SOAP::SOAPString
1282
+ # - value - SOAP::SOAPLong
1283
+ class LongAttribute < Attribute
1284
+ attr_accessor :attribute_Type
1285
+ attr_accessor :value
1457
1286
 
1458
- def initialize(searchParameter_Type = nil, keywords = [])
1459
- @searchParameter_Type = searchParameter_Type
1460
- @keywords = keywords
1287
+ def initialize(attribute_Type = nil, value = nil)
1288
+ @attribute_Type = attribute_Type
1289
+ @value = value
1461
1290
  end
1462
1291
  end
1463
1292
 
1464
- # TargetingIdeaSelector
1465
- # - searchParameters - AdwordsApi::V200909::TargetingIdeaService::SearchParameter
1466
- # - ideaType - AdwordsApi::V200909::TargetingIdeaService::IdeaType
1467
- # - requestType - AdwordsApi::V200909::TargetingIdeaService::RequestType
1468
- # - requestedAttributeTypes - AdwordsApi::V200909::TargetingIdeaService::AttributeType
1469
- # - paging - AdwordsApi::V200909::TargetingIdeaService::Paging
1470
- # - localeCode - SOAP::SOAPString
1471
- # - currencyCode - SOAP::SOAPString
1472
- class TargetingIdeaSelector
1473
- attr_accessor :searchParameters
1474
- attr_accessor :ideaType
1475
- attr_accessor :requestType
1476
- attr_accessor :requestedAttributeTypes
1477
- attr_accessor :paging
1478
- attr_accessor :localeCode
1479
- attr_accessor :currencyCode
1293
+ # LongRangeAttribute
1294
+ # - attribute_Type - SOAP::SOAPString
1295
+ # - value - AdwordsApi::V200909::TargetingIdeaService::C_Range
1296
+ class LongRangeAttribute < Attribute
1297
+ attr_accessor :attribute_Type
1298
+ attr_accessor :value
1480
1299
 
1481
- def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
1482
- @searchParameters = searchParameters
1483
- @ideaType = ideaType
1484
- @requestType = requestType
1485
- @requestedAttributeTypes = requestedAttributeTypes
1486
- @paging = paging
1487
- @localeCode = localeCode
1488
- @currencyCode = currencyCode
1300
+ def initialize(attribute_Type = nil, value = nil)
1301
+ @attribute_Type = attribute_Type
1302
+ @value = value
1489
1303
  end
1490
1304
  end
1491
1305
 
1492
- # Attribute
1493
- # abstract
1306
+ # MoneyAttribute
1494
1307
  # - attribute_Type - SOAP::SOAPString
1495
- class Attribute
1308
+ # - value - AdwordsApi::V200909::TargetingIdeaService::Money
1309
+ class MoneyAttribute < Attribute
1496
1310
  attr_accessor :attribute_Type
1311
+ attr_accessor :value
1497
1312
 
1498
- def initialize(attribute_Type = nil)
1313
+ def initialize(attribute_Type = nil, value = nil)
1499
1314
  @attribute_Type = attribute_Type
1315
+ @value = value
1500
1316
  end
1501
1317
  end
1502
1318
 
1503
- # AdFormatSpecListAttribute
1319
+ # MonthlySearchVolumeAttribute
1504
1320
  # - attribute_Type - SOAP::SOAPString
1505
- # - value - AdwordsApi::V200909::TargetingIdeaService::AdFormatSpec
1506
- class AdFormatSpecListAttribute < Attribute
1321
+ # - value - AdwordsApi::V200909::TargetingIdeaService::MonthlySearchVolume
1322
+ class MonthlySearchVolumeAttribute < Attribute
1507
1323
  attr_accessor :attribute_Type
1508
1324
  attr_accessor :value
1509
1325
 
@@ -1513,10 +1329,10 @@ class AdFormatSpecListAttribute < Attribute
1513
1329
  end
1514
1330
  end
1515
1331
 
1516
- # BooleanAttribute
1332
+ # PlacementAttribute
1517
1333
  # - attribute_Type - SOAP::SOAPString
1518
- # - value - SOAP::SOAPBoolean
1519
- class BooleanAttribute < Attribute
1334
+ # - value - AdwordsApi::V200909::TargetingIdeaService::Placement
1335
+ class PlacementAttribute < Attribute
1520
1336
  attr_accessor :attribute_Type
1521
1337
  attr_accessor :value
1522
1338
 
@@ -1526,10 +1342,10 @@ class BooleanAttribute < Attribute
1526
1342
  end
1527
1343
  end
1528
1344
 
1529
- # DoubleAttribute
1345
+ # PlacementTypeAttribute
1530
1346
  # - attribute_Type - SOAP::SOAPString
1531
- # - value - SOAP::SOAPDouble
1532
- class DoubleAttribute < Attribute
1347
+ # - value - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsPlacementType
1348
+ class PlacementTypeAttribute < Attribute
1533
1349
  attr_accessor :attribute_Type
1534
1350
  attr_accessor :value
1535
1351
 
@@ -1539,10 +1355,10 @@ class DoubleAttribute < Attribute
1539
1355
  end
1540
1356
  end
1541
1357
 
1542
- # IdeaTypeAttribute
1358
+ # StringAttribute
1543
1359
  # - attribute_Type - SOAP::SOAPString
1544
- # - value - AdwordsApi::V200909::TargetingIdeaService::IdeaType
1545
- class IdeaTypeAttribute < Attribute
1360
+ # - value - SOAP::SOAPString
1361
+ class StringAttribute < Attribute
1546
1362
  attr_accessor :attribute_Type
1547
1363
  attr_accessor :value
1548
1364
 
@@ -1552,10 +1368,10 @@ class IdeaTypeAttribute < Attribute
1552
1368
  end
1553
1369
  end
1554
1370
 
1555
- # InStreamAdInfoAttribute
1371
+ # WebpageDescriptorAttribute
1556
1372
  # - attribute_Type - SOAP::SOAPString
1557
- # - value - AdwordsApi::V200909::TargetingIdeaService::InStreamAdInfo
1558
- class InStreamAdInfoAttribute < Attribute
1373
+ # - value - AdwordsApi::V200909::TargetingIdeaService::WebpageDescriptor
1374
+ class WebpageDescriptorAttribute < Attribute
1559
1375
  attr_accessor :attribute_Type
1560
1376
  attr_accessor :value
1561
1377
 
@@ -1565,159 +1381,289 @@ class InStreamAdInfoAttribute < Attribute
1565
1381
  end
1566
1382
  end
1567
1383
 
1568
- # IntegerAttribute
1569
- # - attribute_Type - SOAP::SOAPString
1570
- # - value - SOAP::SOAPInt
1571
- class IntegerAttribute < Attribute
1572
- attr_accessor :attribute_Type
1573
- attr_accessor :value
1384
+ # InStreamAdInfo
1385
+ # - maxAdDuration - SOAP::SOAPInt
1386
+ # - minAdDuration - SOAP::SOAPInt
1387
+ # - medianAdDuration - SOAP::SOAPInt
1388
+ # - preRollPercent - SOAP::SOAPDouble
1389
+ # - midRollPercent - SOAP::SOAPDouble
1390
+ # - postRollPercent - SOAP::SOAPDouble
1391
+ class InStreamAdInfo
1392
+ attr_accessor :maxAdDuration
1393
+ attr_accessor :minAdDuration
1394
+ attr_accessor :medianAdDuration
1395
+ attr_accessor :preRollPercent
1396
+ attr_accessor :midRollPercent
1397
+ attr_accessor :postRollPercent
1398
+
1399
+ def initialize(maxAdDuration = nil, minAdDuration = nil, medianAdDuration = nil, preRollPercent = nil, midRollPercent = nil, postRollPercent = nil)
1400
+ @maxAdDuration = maxAdDuration
1401
+ @minAdDuration = minAdDuration
1402
+ @medianAdDuration = medianAdDuration
1403
+ @preRollPercent = preRollPercent
1404
+ @midRollPercent = midRollPercent
1405
+ @postRollPercent = postRollPercent
1406
+ end
1407
+ end
1408
+
1409
+ # LongComparisonOperation
1410
+ # - minimum - SOAP::SOAPLong
1411
+ # - maximum - SOAP::SOAPLong
1412
+ # - excludes - SOAP::SOAPLong
1413
+ class LongComparisonOperation
1414
+ attr_accessor :minimum
1415
+ attr_accessor :maximum
1416
+ attr_accessor :excludes
1417
+
1418
+ def initialize(minimum = nil, maximum = nil, excludes = [])
1419
+ @minimum = minimum
1420
+ @maximum = maximum
1421
+ @excludes = excludes
1422
+ end
1423
+ end
1424
+
1425
+ # MonthlySearchVolume
1426
+ # - year - SOAP::SOAPInt
1427
+ # - month - SOAP::SOAPInt
1428
+ # - count - SOAP::SOAPLong
1429
+ class MonthlySearchVolume
1430
+ attr_accessor :year
1431
+ attr_accessor :month
1432
+ attr_accessor :count
1433
+
1434
+ def initialize(year = nil, month = nil, count = nil)
1435
+ @year = year
1436
+ @month = month
1437
+ @count = count
1438
+ end
1439
+ end
1440
+
1441
+ # Range
1442
+ # - min - AdwordsApi::V200909::TargetingIdeaService::ComparableValue
1443
+ # - max - AdwordsApi::V200909::TargetingIdeaService::ComparableValue
1444
+ class C_Range
1445
+ attr_accessor :min
1446
+ attr_accessor :max
1447
+
1448
+ def initialize(min = nil, max = nil)
1449
+ @min = min
1450
+ @max = max
1451
+ end
1452
+ end
1453
+
1454
+ # SearchParameter
1455
+ # abstract
1456
+ # - searchParameter_Type - SOAP::SOAPString
1457
+ class SearchParameter
1458
+ attr_accessor :searchParameter_Type
1459
+
1460
+ def initialize(searchParameter_Type = nil)
1461
+ @searchParameter_Type = searchParameter_Type
1462
+ end
1463
+ end
1464
+
1465
+ # AdTypeSearchParameter
1466
+ # - searchParameter_Type - SOAP::SOAPString
1467
+ # - adTypes - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsAdType
1468
+ class AdTypeSearchParameter < SearchParameter
1469
+ attr_accessor :searchParameter_Type
1470
+ attr_accessor :adTypes
1471
+
1472
+ def initialize(searchParameter_Type = nil, adTypes = [])
1473
+ @searchParameter_Type = searchParameter_Type
1474
+ @adTypes = adTypes
1475
+ end
1476
+ end
1477
+
1478
+ # AverageTargetedMonthlySearchesSearchParameter
1479
+ # - searchParameter_Type - SOAP::SOAPString
1480
+ # - operation - AdwordsApi::V200909::TargetingIdeaService::LongComparisonOperation
1481
+ class AverageTargetedMonthlySearchesSearchParameter < SearchParameter
1482
+ attr_accessor :searchParameter_Type
1483
+ attr_accessor :operation
1484
+
1485
+ def initialize(searchParameter_Type = nil, operation = nil)
1486
+ @searchParameter_Type = searchParameter_Type
1487
+ @operation = operation
1488
+ end
1489
+ end
1490
+
1491
+ # CompetitionSearchParameter
1492
+ # - searchParameter_Type - SOAP::SOAPString
1493
+ # - levels - AdwordsApi::V200909::TargetingIdeaService::CompetitionSearchParameterLevel
1494
+ class CompetitionSearchParameter < SearchParameter
1495
+ attr_accessor :searchParameter_Type
1496
+ attr_accessor :levels
1497
+
1498
+ def initialize(searchParameter_Type = nil, levels = [])
1499
+ @searchParameter_Type = searchParameter_Type
1500
+ @levels = levels
1501
+ end
1502
+ end
1503
+
1504
+ # CountryTargetSearchParameter
1505
+ # - searchParameter_Type - SOAP::SOAPString
1506
+ # - countryTargets - AdwordsApi::V200909::TargetingIdeaService::CountryTarget
1507
+ class CountryTargetSearchParameter < SearchParameter
1508
+ attr_accessor :searchParameter_Type
1509
+ attr_accessor :countryTargets
1510
+
1511
+ def initialize(searchParameter_Type = nil, countryTargets = [])
1512
+ @searchParameter_Type = searchParameter_Type
1513
+ @countryTargets = countryTargets
1514
+ end
1515
+ end
1516
+
1517
+ # ExcludedKeywordSearchParameter
1518
+ # - searchParameter_Type - SOAP::SOAPString
1519
+ # - keywords - AdwordsApi::V200909::TargetingIdeaService::Keyword
1520
+ class ExcludedKeywordSearchParameter < SearchParameter
1521
+ attr_accessor :searchParameter_Type
1522
+ attr_accessor :keywords
1574
1523
 
1575
- def initialize(attribute_Type = nil, value = nil)
1576
- @attribute_Type = attribute_Type
1577
- @value = value
1524
+ def initialize(searchParameter_Type = nil, keywords = [])
1525
+ @searchParameter_Type = searchParameter_Type
1526
+ @keywords = keywords
1578
1527
  end
1579
1528
  end
1580
1529
 
1581
- # IntegerSetAttribute
1582
- # - attribute_Type - SOAP::SOAPString
1583
- # - value - SOAP::SOAPInt
1584
- class IntegerSetAttribute < Attribute
1585
- attr_accessor :attribute_Type
1586
- attr_accessor :value
1530
+ # GlobalMonthlySearchesSearchParameter
1531
+ # - searchParameter_Type - SOAP::SOAPString
1532
+ # - operation - AdwordsApi::V200909::TargetingIdeaService::LongComparisonOperation
1533
+ class GlobalMonthlySearchesSearchParameter < SearchParameter
1534
+ attr_accessor :searchParameter_Type
1535
+ attr_accessor :operation
1587
1536
 
1588
- def initialize(attribute_Type = nil, value = [])
1589
- @attribute_Type = attribute_Type
1590
- @value = value
1537
+ def initialize(searchParameter_Type = nil, operation = nil)
1538
+ @searchParameter_Type = searchParameter_Type
1539
+ @operation = operation
1591
1540
  end
1592
1541
  end
1593
1542
 
1594
- # LongAttribute
1595
- # - attribute_Type - SOAP::SOAPString
1596
- # - value - SOAP::SOAPLong
1597
- class LongAttribute < Attribute
1598
- attr_accessor :attribute_Type
1599
- attr_accessor :value
1543
+ # IncludeAdultContentSearchParameter
1544
+ # - searchParameter_Type - SOAP::SOAPString
1545
+ class IncludeAdultContentSearchParameter < SearchParameter
1546
+ attr_accessor :searchParameter_Type
1600
1547
 
1601
- def initialize(attribute_Type = nil, value = nil)
1602
- @attribute_Type = attribute_Type
1603
- @value = value
1548
+ def initialize(searchParameter_Type = nil)
1549
+ @searchParameter_Type = searchParameter_Type
1604
1550
  end
1605
1551
  end
1606
1552
 
1607
- # MonthlySearchVolumeAttribute
1608
- # - attribute_Type - SOAP::SOAPString
1609
- # - value - AdwordsApi::V200909::TargetingIdeaService::MonthlySearchVolume
1610
- class MonthlySearchVolumeAttribute < Attribute
1611
- attr_accessor :attribute_Type
1612
- attr_accessor :value
1553
+ # KeywordCategoryIdSearchParameter
1554
+ # - searchParameter_Type - SOAP::SOAPString
1555
+ # - categoryId - SOAP::SOAPInt
1556
+ class KeywordCategoryIdSearchParameter < SearchParameter
1557
+ attr_accessor :searchParameter_Type
1558
+ attr_accessor :categoryId
1613
1559
 
1614
- def initialize(attribute_Type = nil, value = [])
1615
- @attribute_Type = attribute_Type
1616
- @value = value
1560
+ def initialize(searchParameter_Type = nil, categoryId = nil)
1561
+ @searchParameter_Type = searchParameter_Type
1562
+ @categoryId = categoryId
1617
1563
  end
1618
1564
  end
1619
1565
 
1620
- # PlacementTypeAttribute
1621
- # - attribute_Type - SOAP::SOAPString
1622
- # - value - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsPlacementType
1623
- class PlacementTypeAttribute < Attribute
1624
- attr_accessor :attribute_Type
1625
- attr_accessor :value
1566
+ # KeywordMatchTypeSearchParameter
1567
+ # - searchParameter_Type - SOAP::SOAPString
1568
+ # - keywordMatchTypes - AdwordsApi::V200909::TargetingIdeaService::KeywordMatchType
1569
+ class KeywordMatchTypeSearchParameter < SearchParameter
1570
+ attr_accessor :searchParameter_Type
1571
+ attr_accessor :keywordMatchTypes
1626
1572
 
1627
- def initialize(attribute_Type = nil, value = nil)
1628
- @attribute_Type = attribute_Type
1629
- @value = value
1573
+ def initialize(searchParameter_Type = nil, keywordMatchTypes = [])
1574
+ @searchParameter_Type = searchParameter_Type
1575
+ @keywordMatchTypes = keywordMatchTypes
1630
1576
  end
1631
1577
  end
1632
1578
 
1633
- # StringAttribute
1634
- # - attribute_Type - SOAP::SOAPString
1635
- # - value - SOAP::SOAPString
1636
- class StringAttribute < Attribute
1637
- attr_accessor :attribute_Type
1638
- attr_accessor :value
1579
+ # LanguageTargetSearchParameter
1580
+ # - searchParameter_Type - SOAP::SOAPString
1581
+ # - languageTargets - AdwordsApi::V200909::TargetingIdeaService::LanguageTarget
1582
+ class LanguageTargetSearchParameter < SearchParameter
1583
+ attr_accessor :searchParameter_Type
1584
+ attr_accessor :languageTargets
1639
1585
 
1640
- def initialize(attribute_Type = nil, value = nil)
1641
- @attribute_Type = attribute_Type
1642
- @value = value
1586
+ def initialize(searchParameter_Type = nil, languageTargets = [])
1587
+ @searchParameter_Type = searchParameter_Type
1588
+ @languageTargets = languageTargets
1643
1589
  end
1644
1590
  end
1645
1591
 
1646
- # WebpageDescriptorAttribute
1647
- # - attribute_Type - SOAP::SOAPString
1648
- # - value - AdwordsApi::V200909::TargetingIdeaService::WebpageDescriptor
1649
- class WebpageDescriptorAttribute < Attribute
1650
- attr_accessor :attribute_Type
1651
- attr_accessor :value
1592
+ # MobileSearchParameter
1593
+ # - searchParameter_Type - SOAP::SOAPString
1594
+ class MobileSearchParameter < SearchParameter
1595
+ attr_accessor :searchParameter_Type
1652
1596
 
1653
- def initialize(attribute_Type = nil, value = nil)
1654
- @attribute_Type = attribute_Type
1655
- @value = value
1597
+ def initialize(searchParameter_Type = nil)
1598
+ @searchParameter_Type = searchParameter_Type
1656
1599
  end
1657
1600
  end
1658
1601
 
1659
- # MoneyAttribute
1660
- # - attribute_Type - SOAP::SOAPString
1661
- # - value - AdwordsApi::V200909::TargetingIdeaService::Money
1662
- class MoneyAttribute < Attribute
1663
- attr_accessor :attribute_Type
1664
- attr_accessor :value
1602
+ # NgramGroupsSearchParameter
1603
+ # - searchParameter_Type - SOAP::SOAPString
1604
+ # - ngramGroups - SOAP::SOAPString
1605
+ class NgramGroupsSearchParameter < SearchParameter
1606
+ attr_accessor :searchParameter_Type
1607
+ attr_accessor :ngramGroups
1665
1608
 
1666
- def initialize(attribute_Type = nil, value = nil)
1667
- @attribute_Type = attribute_Type
1668
- @value = value
1609
+ def initialize(searchParameter_Type = nil, ngramGroups = [])
1610
+ @searchParameter_Type = searchParameter_Type
1611
+ @ngramGroups = ngramGroups
1669
1612
  end
1670
1613
  end
1671
1614
 
1672
- # LongRangeAttribute
1673
- # - attribute_Type - SOAP::SOAPString
1674
- # - value - AdwordsApi::V200909::TargetingIdeaService::C_Range
1675
- class LongRangeAttribute < Attribute
1676
- attr_accessor :attribute_Type
1677
- attr_accessor :value
1615
+ # PlacementTypeSearchParameter
1616
+ # - searchParameter_Type - SOAP::SOAPString
1617
+ # - placementTypes - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsPlacementType
1618
+ class PlacementTypeSearchParameter < SearchParameter
1619
+ attr_accessor :searchParameter_Type
1620
+ attr_accessor :placementTypes
1678
1621
 
1679
- def initialize(attribute_Type = nil, value = nil)
1680
- @attribute_Type = attribute_Type
1681
- @value = value
1622
+ def initialize(searchParameter_Type = nil, placementTypes = [])
1623
+ @searchParameter_Type = searchParameter_Type
1624
+ @placementTypes = placementTypes
1682
1625
  end
1683
1626
  end
1684
1627
 
1685
- # KeywordAttribute
1686
- # - attribute_Type - SOAP::SOAPString
1687
- # - value - AdwordsApi::V200909::TargetingIdeaService::Keyword
1688
- class KeywordAttribute < Attribute
1689
- attr_accessor :attribute_Type
1690
- attr_accessor :value
1628
+ # RelatedToKeywordSearchParameter
1629
+ # - searchParameter_Type - SOAP::SOAPString
1630
+ # - keywords - AdwordsApi::V200909::TargetingIdeaService::Keyword
1631
+ class RelatedToKeywordSearchParameter < SearchParameter
1632
+ attr_accessor :searchParameter_Type
1633
+ attr_accessor :keywords
1691
1634
 
1692
- def initialize(attribute_Type = nil, value = nil)
1693
- @attribute_Type = attribute_Type
1694
- @value = value
1635
+ def initialize(searchParameter_Type = nil, keywords = [])
1636
+ @searchParameter_Type = searchParameter_Type
1637
+ @keywords = keywords
1695
1638
  end
1696
1639
  end
1697
1640
 
1698
- # PlacementAttribute
1699
- # - attribute_Type - SOAP::SOAPString
1700
- # - value - AdwordsApi::V200909::TargetingIdeaService::Placement
1701
- class PlacementAttribute < Attribute
1702
- attr_accessor :attribute_Type
1703
- attr_accessor :value
1641
+ # RelatedToUrlSearchParameter
1642
+ # - searchParameter_Type - SOAP::SOAPString
1643
+ # - urls - SOAP::SOAPString
1644
+ # - includeSubUrls - SOAP::SOAPBoolean
1645
+ class RelatedToUrlSearchParameter < SearchParameter
1646
+ attr_accessor :searchParameter_Type
1647
+ attr_accessor :urls
1648
+ attr_accessor :includeSubUrls
1704
1649
 
1705
- def initialize(attribute_Type = nil, value = nil)
1706
- @attribute_Type = attribute_Type
1707
- @value = value
1650
+ def initialize(searchParameter_Type = nil, urls = [], includeSubUrls = nil)
1651
+ @searchParameter_Type = searchParameter_Type
1652
+ @urls = urls
1653
+ @includeSubUrls = includeSubUrls
1708
1654
  end
1709
1655
  end
1710
1656
 
1711
- # Type_AttributeMapEntry
1712
- # - key - AdwordsApi::V200909::TargetingIdeaService::AttributeType
1713
- # - value - AdwordsApi::V200909::TargetingIdeaService::Attribute
1714
- class Type_AttributeMapEntry
1715
- attr_accessor :key
1716
- attr_accessor :value
1657
+ # SeedAdGroupIdSearchParameter
1658
+ # - searchParameter_Type - SOAP::SOAPString
1659
+ # - adGroupId - SOAP::SOAPLong
1660
+ class SeedAdGroupIdSearchParameter < SearchParameter
1661
+ attr_accessor :searchParameter_Type
1662
+ attr_accessor :adGroupId
1717
1663
 
1718
- def initialize(key = nil, value = nil)
1719
- @key = key
1720
- @value = value
1664
+ def initialize(searchParameter_Type = nil, adGroupId = nil)
1665
+ @searchParameter_Type = searchParameter_Type
1666
+ @adGroupId = adGroupId
1721
1667
  end
1722
1668
  end
1723
1669
 
@@ -1744,6 +1690,60 @@ class TargetingIdeaPage
1744
1690
  end
1745
1691
  end
1746
1692
 
1693
+ # TargetingIdeaSelector
1694
+ # - searchParameters - AdwordsApi::V200909::TargetingIdeaService::SearchParameter
1695
+ # - ideaType - AdwordsApi::V200909::TargetingIdeaService::IdeaType
1696
+ # - requestType - AdwordsApi::V200909::TargetingIdeaService::RequestType
1697
+ # - requestedAttributeTypes - AdwordsApi::V200909::TargetingIdeaService::AttributeType
1698
+ # - paging - AdwordsApi::V200909::TargetingIdeaService::Paging
1699
+ # - localeCode - SOAP::SOAPString
1700
+ # - currencyCode - SOAP::SOAPString
1701
+ class TargetingIdeaSelector
1702
+ attr_accessor :searchParameters
1703
+ attr_accessor :ideaType
1704
+ attr_accessor :requestType
1705
+ attr_accessor :requestedAttributeTypes
1706
+ attr_accessor :paging
1707
+ attr_accessor :localeCode
1708
+ attr_accessor :currencyCode
1709
+
1710
+ def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
1711
+ @searchParameters = searchParameters
1712
+ @ideaType = ideaType
1713
+ @requestType = requestType
1714
+ @requestedAttributeTypes = requestedAttributeTypes
1715
+ @paging = paging
1716
+ @localeCode = localeCode
1717
+ @currencyCode = currencyCode
1718
+ end
1719
+ end
1720
+
1721
+ # Type_AttributeMapEntry
1722
+ # - key - AdwordsApi::V200909::TargetingIdeaService::AttributeType
1723
+ # - value - AdwordsApi::V200909::TargetingIdeaService::Attribute
1724
+ class Type_AttributeMapEntry
1725
+ attr_accessor :key
1726
+ attr_accessor :value
1727
+
1728
+ def initialize(key = nil, value = nil)
1729
+ @key = key
1730
+ @value = value
1731
+ end
1732
+ end
1733
+
1734
+ # WebpageDescriptor
1735
+ # - url - SOAP::SOAPString
1736
+ # - title - SOAP::SOAPString
1737
+ class WebpageDescriptor
1738
+ attr_accessor :url
1739
+ attr_accessor :title
1740
+
1741
+ def initialize(url = nil, title = nil)
1742
+ @url = url
1743
+ @title = title
1744
+ end
1745
+ end
1746
+
1747
1747
  # AdGroupCriterionError.Reason
1748
1748
  class AdGroupCriterionErrorReason < ::String
1749
1749
  BID_INCOMPATIBLE_WITH_ADGROUP = AdGroupCriterionErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")