adwords4r 13.0.1 → 15.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. data/Authors.txt +2 -1
  2. data/ChangeLog.txt +28 -0
  3. data/Copying.txt +1 -1
  4. data/{Licence.txt → License.txt} +1 -1
  5. data/Rakefile +49 -54
  6. data/Readme.txt +78 -24
  7. data/adwords.properties +1 -1
  8. data/examples/account_info.rb +20 -26
  9. data/examples/create_all.rb +51 -53
  10. data/examples/create_all_v200902.rb +204 -0
  11. data/examples/keyword_suggestions.rb +35 -38
  12. data/examples/multiple_versions.rb +167 -0
  13. data/examples/reports.rb +37 -75
  14. data/lib/adwords4r.rb +123 -123
  15. data/lib/adwords4r/adwordslogger.rb +56 -0
  16. data/lib/adwords4r/apiextensions.rb +79 -0
  17. data/lib/adwords4r/authtoken.rb +56 -0
  18. data/lib/adwords4r/credentials.rb +115 -19
  19. data/lib/adwords4r/services.rb +139 -14
  20. data/lib/adwords4r/soap4rpatches.rb +129 -0
  21. data/lib/adwords4r/v13/AccountService.rb +11 -11
  22. data/lib/adwords4r/v13/AccountServiceDriver.rb +7 -5
  23. data/lib/adwords4r/v13/AccountServiceMappingRegistry.rb +56 -56
  24. data/lib/adwords4r/v13/AdGroupService.rb +9 -9
  25. data/lib/adwords4r/v13/AdGroupServiceDriver.rb +11 -9
  26. data/lib/adwords4r/v13/AdGroupServiceMappingRegistry.rb +47 -47
  27. data/lib/adwords4r/v13/AdService.rb +37 -37
  28. data/lib/adwords4r/v13/AdServiceDriver.rb +12 -10
  29. data/lib/adwords4r/v13/AdServiceMappingRegistry.rb +148 -148
  30. data/lib/adwords4r/v13/CampaignService.rb +46 -25
  31. data/lib/adwords4r/v13/CampaignServiceDriver.rb +23 -13
  32. data/lib/adwords4r/v13/CampaignServiceMappingRegistry.rb +169 -135
  33. data/lib/adwords4r/v13/CriterionService.rb +19 -19
  34. data/lib/adwords4r/v13/CriterionServiceDriver.rb +11 -9
  35. data/lib/adwords4r/v13/CriterionServiceMappingRegistry.rb +90 -90
  36. data/lib/adwords4r/v13/InfoService.rb +3 -3
  37. data/lib/adwords4r/v13/InfoServiceDriver.rb +10 -8
  38. data/lib/adwords4r/v13/InfoServiceMappingRegistry.rb +29 -29
  39. data/lib/adwords4r/v13/KeywordToolService.rb +10 -10
  40. data/lib/adwords4r/v13/KeywordToolServiceDriver.rb +4 -2
  41. data/lib/adwords4r/v13/KeywordToolServiceMappingRegistry.rb +37 -37
  42. data/lib/adwords4r/v13/ReportService.rb +13 -13
  43. data/lib/adwords4r/v13/ReportServiceDriver.rb +9 -7
  44. data/lib/adwords4r/v13/ReportServiceMappingRegistry.rb +54 -54
  45. data/lib/adwords4r/v13/SiteSuggestionService.rb +15 -15
  46. data/lib/adwords4r/v13/SiteSuggestionServiceDriver.rb +6 -4
  47. data/lib/adwords4r/v13/SiteSuggestionServiceMappingRegistry.rb +57 -57
  48. data/lib/adwords4r/v13/TrafficEstimatorService.rb +17 -17
  49. data/lib/adwords4r/v13/TrafficEstimatorServiceDriver.rb +6 -4
  50. data/lib/adwords4r/v13/TrafficEstimatorServiceMappingRegistry.rb +96 -96
  51. data/lib/adwords4r/v200902/AdGroupAdService.rb +2021 -0
  52. data/lib/adwords4r/v200902/AdGroupAdServiceDriver.rb +63 -0
  53. data/lib/adwords4r/v200902/AdGroupAdServiceMappingRegistry.rb +2234 -0
  54. data/lib/adwords4r/v200902/AdGroupCriterionService.rb +1209 -0
  55. data/lib/adwords4r/v200902/AdGroupCriterionServiceDriver.rb +63 -0
  56. data/lib/adwords4r/v200902/AdGroupCriterionServiceMappingRegistry.rb +1434 -0
  57. data/lib/adwords4r/v200902/AdGroupService.rb +968 -0
  58. data/lib/adwords4r/{v12/KeywordToolServiceDriver.rb → v200902/AdGroupServiceDriver.rb} +15 -13
  59. data/lib/adwords4r/v200902/AdGroupServiceMappingRegistry.rb +1114 -0
  60. data/lib/adwords4r/v200902/CampaignCriterionService.rb +741 -0
  61. data/lib/adwords4r/v200902/CampaignCriterionServiceDriver.rb +63 -0
  62. data/lib/adwords4r/v200902/CampaignCriterionServiceMappingRegistry.rb +904 -0
  63. data/lib/adwords4r/v200902/CampaignService.rb +1249 -0
  64. data/lib/adwords4r/v200902/CampaignServiceDriver.rb +63 -0
  65. data/lib/adwords4r/v200902/CampaignServiceMappingRegistry.rb +1466 -0
  66. data/lib/adwords4r/v200902/CampaignTargetService.rb +1156 -0
  67. data/lib/adwords4r/v200902/CampaignTargetServiceDriver.rb +63 -0
  68. data/lib/adwords4r/v200902/CampaignTargetServiceMappingRegistry.rb +1304 -0
  69. data/setup.rb +0 -0
  70. metadata +57 -65
  71. data/lib/adwords4r/v12/AccountService.rb +0 -215
  72. data/lib/adwords4r/v12/AccountServiceDriver.rb +0 -69
  73. data/lib/adwords4r/v12/AccountServiceMappingRegistry.rb +0 -243
  74. data/lib/adwords4r/v12/AdGroupService.rb +0 -263
  75. data/lib/adwords4r/v12/AdGroupServiceDriver.rb +0 -109
  76. data/lib/adwords4r/v12/AdGroupServiceMappingRegistry.rb +0 -280
  77. data/lib/adwords4r/v12/AdService.rb +0 -769
  78. data/lib/adwords4r/v12/AdServiceDriver.rb +0 -125
  79. data/lib/adwords4r/v12/AdServiceMappingRegistry.rb +0 -813
  80. data/lib/adwords4r/v12/CampaignService.rb +0 -498
  81. data/lib/adwords4r/v12/CampaignServiceDriver.rb +0 -133
  82. data/lib/adwords4r/v12/CampaignServiceMappingRegistry.rb +0 -642
  83. data/lib/adwords4r/v12/CriterionService.rb +0 -445
  84. data/lib/adwords4r/v12/CriterionServiceDriver.rb +0 -117
  85. data/lib/adwords4r/v12/CriterionServiceMappingRegistry.rb +0 -509
  86. data/lib/adwords4r/v12/InfoService.rb +0 -242
  87. data/lib/adwords4r/v12/InfoServiceDriver.rb +0 -109
  88. data/lib/adwords4r/v12/InfoServiceMappingRegistry.rb +0 -228
  89. data/lib/adwords4r/v12/KeywordToolService.rb +0 -205
  90. data/lib/adwords4r/v12/KeywordToolServiceMappingRegistry.rb +0 -227
  91. data/lib/adwords4r/v12/ReportService.rb +0 -322
  92. data/lib/adwords4r/v12/ReportServiceDriver.rb +0 -101
  93. data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +0 -298
  94. data/lib/adwords4r/v12/SiteSuggestionService.rb +0 -242
  95. data/lib/adwords4r/v12/SiteSuggestionServiceDriver.rb +0 -77
  96. data/lib/adwords4r/v12/SiteSuggestionServiceMappingRegistry.rb +0 -271
  97. data/lib/adwords4r/v12/TrafficEstimatorService.rb +0 -312
  98. data/lib/adwords4r/v12/TrafficEstimatorServiceDriver.rb +0 -77
  99. data/lib/adwords4r/v12/TrafficEstimatorServiceMappingRegistry.rb +0 -483
@@ -0,0 +1,63 @@
1
+ require 'adwords4r/v200902/CampaignService'
2
+ require 'adwords4r/v200902/CampaignServiceMappingRegistry'
3
+ require 'soap/rpc/driver'
4
+
5
+ module AdWords
6
+ module V200902
7
+ module CampaignService
8
+
9
+ class CampaignServiceInterface < ::SOAP::RPC::Driver
10
+ DefaultEndpointUrl = "https://adwords-sandbox.google.com/api/adwords/cm/v200902/CampaignService"
11
+
12
+ Methods = [
13
+ [ "",
14
+ "get",
15
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200902", "get"]],
16
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200902", "getResponse"]] ],
17
+ { :request_style => :document, :request_use => :literal,
18
+ :response_style => :document, :response_use => :literal,
19
+ :faults => {"AdWords::V200902::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/cm/v200902"}} }
20
+ ],
21
+ [ "",
22
+ "mutate",
23
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200902", "mutate"]],
24
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200902", "mutateResponse"]] ],
25
+ { :request_style => :document, :request_use => :literal,
26
+ :response_style => :document, :response_use => :literal,
27
+ :faults => {"AdWords::V200902::CampaignService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/cm/v200902"}} }
28
+ ]
29
+ ]
30
+
31
+ def initialize(endpoint_url = nil)
32
+ endpoint_url ||= DefaultEndpointUrl
33
+ super(endpoint_url, nil)
34
+ self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
35
+ self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
36
+ init_methods
37
+ end
38
+
39
+ private
40
+
41
+ def init_methods
42
+ Methods.each do |definitions|
43
+ opt = definitions.last
44
+ if opt[:request_style] == :document
45
+ add_document_operation(*definitions)
46
+ else
47
+ add_rpc_operation(*definitions)
48
+ qname = definitions[0]
49
+ name = definitions[2]
50
+ if qname.name != name and qname.name.capitalize == name.capitalize
51
+ ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
52
+ __send__(name, *arg)
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
59
+
60
+
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,1466 @@
1
+ require 'adwords4r/v200902/CampaignService'
2
+ require 'soap/mapping'
3
+
4
+ module AdWords; module V200902; module CampaignService
5
+
6
+ module DefaultMappingRegistry
7
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
8
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
9
+ NsV200902 = "https://adwords.google.com/api/adwords/cm/v200902"
10
+
11
+ EncodedRegistry.register(
12
+ :class => AdWords::V200902::CampaignService::AuthorizationError,
13
+ :schema_type => XSD::QName.new(NsV200902, "AuthorizationError"),
14
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
15
+ :schema_element => [
16
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
17
+ ["trigger", "SOAP::SOAPString", [0, 1]],
18
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
19
+ ["reason", "AdWords::V200902::CampaignService::AuthorizationErrorReason", [0, 1]]
20
+ ]
21
+ )
22
+
23
+ EncodedRegistry.register(
24
+ :class => AdWords::V200902::CampaignService::BiddingError,
25
+ :schema_type => XSD::QName.new(NsV200902, "BiddingError"),
26
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
27
+ :schema_element => [
28
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
29
+ ["trigger", "SOAP::SOAPString", [0, 1]],
30
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
31
+ ["reason", "AdWords::V200902::CampaignService::BiddingErrorReason", [0, 1]]
32
+ ]
33
+ )
34
+
35
+ EncodedRegistry.register(
36
+ :class => AdWords::V200902::CampaignService::BiddingTransitionError,
37
+ :schema_type => XSD::QName.new(NsV200902, "BiddingTransitionError"),
38
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
39
+ :schema_element => [
40
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
41
+ ["trigger", "SOAP::SOAPString", [0, 1]],
42
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
43
+ ["reason", "AdWords::V200902::CampaignService::BiddingTransitionErrorReason", [0, 1]]
44
+ ]
45
+ )
46
+
47
+ EncodedRegistry.register(
48
+ :class => AdWords::V200902::CampaignService::BudgetError,
49
+ :schema_type => XSD::QName.new(NsV200902, "BudgetError"),
50
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
51
+ :schema_element => [
52
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
53
+ ["trigger", "SOAP::SOAPString", [0, 1]],
54
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
55
+ ["reason", "AdWords::V200902::CampaignService::BudgetErrorReason", [0, 1]]
56
+ ]
57
+ )
58
+
59
+ EncodedRegistry.register(
60
+ :class => AdWords::V200902::CampaignService::CampaignError,
61
+ :schema_type => XSD::QName.new(NsV200902, "CampaignError"),
62
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
63
+ :schema_element => [
64
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
65
+ ["trigger", "SOAP::SOAPString", [0, 1]],
66
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
67
+ ["reason", "AdWords::V200902::CampaignService::CampaignErrorReason", [0, 1]]
68
+ ]
69
+ )
70
+
71
+ EncodedRegistry.register(
72
+ :class => AdWords::V200902::CampaignService::ConversionOptimizer,
73
+ :schema_type => XSD::QName.new(NsV200902, "ConversionOptimizer"),
74
+ :schema_basetype => XSD::QName.new(NsV200902, "BiddingStrategy"),
75
+ :schema_element => [
76
+ ["biddingStrategy_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "BiddingStrategy.Type")], [0, 1]],
77
+ ["pricingModel", "AdWords::V200902::CampaignService::PricingModel", [0, 1]]
78
+ ]
79
+ )
80
+
81
+ EncodedRegistry.register(
82
+ :class => AdWords::V200902::CampaignService::DatabaseError,
83
+ :schema_type => XSD::QName.new(NsV200902, "DatabaseError"),
84
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
85
+ :schema_element => [
86
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
87
+ ["trigger", "SOAP::SOAPString", [0, 1]],
88
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
89
+ ["reason", "AdWords::V200902::CampaignService::DatabaseErrorReason", [0, 1]]
90
+ ]
91
+ )
92
+
93
+ EncodedRegistry.register(
94
+ :class => AdWords::V200902::CampaignService::Date,
95
+ :schema_type => XSD::QName.new(NsV200902, "Date"),
96
+ :schema_element => [
97
+ ["year", "SOAP::SOAPInt", [0, 1]],
98
+ ["month", "SOAP::SOAPInt", [0, 1]],
99
+ ["day", "SOAP::SOAPInt", [0, 1]]
100
+ ]
101
+ )
102
+
103
+ EncodedRegistry.register(
104
+ :class => AdWords::V200902::CampaignService::DateRange,
105
+ :schema_type => XSD::QName.new(NsV200902, "DateRange"),
106
+ :schema_element => [
107
+ ["min", "AdWords::V200902::CampaignService::Date", [0, 1]],
108
+ ["max", "AdWords::V200902::CampaignService::Date", [0, 1]]
109
+ ]
110
+ )
111
+
112
+ EncodedRegistry.register(
113
+ :class => AdWords::V200902::CampaignService::DerivedBids,
114
+ :schema_type => XSD::QName.new(NsV200902, "DerivedBids"),
115
+ :schema_basetype => XSD::QName.new(NsV200902, "CampaignBidSource"),
116
+ :schema_element => [
117
+ ["campaignBidSource_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignBidSource.Type")], [0, 1]]
118
+ ]
119
+ )
120
+
121
+ EncodedRegistry.register(
122
+ :class => AdWords::V200902::CampaignService::DistinctError,
123
+ :schema_type => XSD::QName.new(NsV200902, "DistinctError"),
124
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
125
+ :schema_element => [
126
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
127
+ ["trigger", "SOAP::SOAPString", [0, 1]],
128
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
129
+ ["reason", "AdWords::V200902::CampaignService::DistinctErrorReason", [0, 1]]
130
+ ]
131
+ )
132
+
133
+ EncodedRegistry.register(
134
+ :class => AdWords::V200902::CampaignService::ManualCPC,
135
+ :schema_type => XSD::QName.new(NsV200902, "ManualCPC"),
136
+ :schema_basetype => XSD::QName.new(NsV200902, "BiddingStrategy"),
137
+ :schema_element => [
138
+ ["biddingStrategy_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "BiddingStrategy.Type")], [0, 1]]
139
+ ]
140
+ )
141
+
142
+ EncodedRegistry.register(
143
+ :class => AdWords::V200902::CampaignService::ManualCPM,
144
+ :schema_type => XSD::QName.new(NsV200902, "ManualCPM"),
145
+ :schema_basetype => XSD::QName.new(NsV200902, "BiddingStrategy"),
146
+ :schema_element => [
147
+ ["biddingStrategy_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "BiddingStrategy.Type")], [0, 1]]
148
+ ]
149
+ )
150
+
151
+ EncodedRegistry.register(
152
+ :class => AdWords::V200902::CampaignService::Money,
153
+ :schema_type => XSD::QName.new(NsV200902, "Money"),
154
+ :schema_element => [
155
+ ["currencyCode", "SOAP::SOAPString", [0, 1]],
156
+ ["microAmount", "SOAP::SOAPLong", [0, 1]]
157
+ ]
158
+ )
159
+
160
+ EncodedRegistry.register(
161
+ :class => AdWords::V200902::CampaignService::NewEntityCreationError,
162
+ :schema_type => XSD::QName.new(NsV200902, "NewEntityCreationError"),
163
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
164
+ :schema_element => [
165
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
166
+ ["trigger", "SOAP::SOAPString", [0, 1]],
167
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
168
+ ["reason", "AdWords::V200902::CampaignService::NewEntityCreationErrorReason", [0, 1]]
169
+ ]
170
+ )
171
+
172
+ EncodedRegistry.register(
173
+ :class => AdWords::V200902::CampaignService::NotEmptyError,
174
+ :schema_type => XSD::QName.new(NsV200902, "NotEmptyError"),
175
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
176
+ :schema_element => [
177
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
178
+ ["trigger", "SOAP::SOAPString", [0, 1]],
179
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
180
+ ["reason", "AdWords::V200902::CampaignService::NotEmptyErrorReason", [0, 1]]
181
+ ]
182
+ )
183
+
184
+ EncodedRegistry.register(
185
+ :class => AdWords::V200902::CampaignService::NotWhitelistedError,
186
+ :schema_type => XSD::QName.new(NsV200902, "NotWhitelistedError"),
187
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
188
+ :schema_element => [
189
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
190
+ ["trigger", "SOAP::SOAPString", [0, 1]],
191
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
192
+ ["reason", "AdWords::V200902::CampaignService::NotWhitelistedErrorReason", [0, 1]]
193
+ ]
194
+ )
195
+
196
+ EncodedRegistry.register(
197
+ :class => AdWords::V200902::CampaignService::NullError,
198
+ :schema_type => XSD::QName.new(NsV200902, "NullError"),
199
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
200
+ :schema_element => [
201
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
202
+ ["trigger", "SOAP::SOAPString", [0, 1]],
203
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
204
+ ["reason", "AdWords::V200902::CampaignService::NullErrorReason", [0, 1]]
205
+ ]
206
+ )
207
+
208
+ EncodedRegistry.register(
209
+ :class => AdWords::V200902::CampaignService::OperationAccessDenied,
210
+ :schema_type => XSD::QName.new(NsV200902, "OperationAccessDenied"),
211
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
212
+ :schema_element => [
213
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
214
+ ["trigger", "SOAP::SOAPString", [0, 1]],
215
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
216
+ ["reason", "AdWords::V200902::CampaignService::OperationAccessDeniedReason", [0, 1]]
217
+ ]
218
+ )
219
+
220
+ EncodedRegistry.register(
221
+ :class => AdWords::V200902::CampaignService::OperatorError,
222
+ :schema_type => XSD::QName.new(NsV200902, "OperatorError"),
223
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
224
+ :schema_element => [
225
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
226
+ ["trigger", "SOAP::SOAPString", [0, 1]],
227
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
228
+ ["reason", "AdWords::V200902::CampaignService::OperatorErrorReason", [0, 1]]
229
+ ]
230
+ )
231
+
232
+ EncodedRegistry.register(
233
+ :class => AdWords::V200902::CampaignService::Paging,
234
+ :schema_type => XSD::QName.new(NsV200902, "Paging"),
235
+ :schema_element => [
236
+ ["startIndex", "SOAP::SOAPInt", [0, 1]],
237
+ ["numberResults", "SOAP::SOAPInt", [0, 1]]
238
+ ]
239
+ )
240
+
241
+ EncodedRegistry.register(
242
+ :class => AdWords::V200902::CampaignService::QuotaError,
243
+ :schema_type => XSD::QName.new(NsV200902, "QuotaError"),
244
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
245
+ :schema_element => [
246
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
247
+ ["trigger", "SOAP::SOAPString", [0, 1]],
248
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
249
+ ["reason", "AdWords::V200902::CampaignService::QuotaErrorReason", [0, 1]],
250
+ ["limit", "SOAP::SOAPInt", [0, 1]]
251
+ ]
252
+ )
253
+
254
+ EncodedRegistry.register(
255
+ :class => AdWords::V200902::CampaignService::C_RangeError,
256
+ :schema_type => XSD::QName.new(NsV200902, "RangeError"),
257
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
258
+ :schema_element => [
259
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
260
+ ["trigger", "SOAP::SOAPString", [0, 1]],
261
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
262
+ ["reason", "AdWords::V200902::CampaignService::RangeErrorReason", [0, 1]]
263
+ ]
264
+ )
265
+
266
+ EncodedRegistry.register(
267
+ :class => AdWords::V200902::CampaignService::ReadOnlyError,
268
+ :schema_type => XSD::QName.new(NsV200902, "ReadOnlyError"),
269
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
270
+ :schema_element => [
271
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
272
+ ["trigger", "SOAP::SOAPString", [0, 1]],
273
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
274
+ ["reason", "AdWords::V200902::CampaignService::ReadOnlyErrorReason", [0, 1]]
275
+ ]
276
+ )
277
+
278
+ EncodedRegistry.register(
279
+ :class => AdWords::V200902::CampaignService::RequiredError,
280
+ :schema_type => XSD::QName.new(NsV200902, "RequiredError"),
281
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
282
+ :schema_element => [
283
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
284
+ ["trigger", "SOAP::SOAPString", [0, 1]],
285
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
286
+ ["reason", "AdWords::V200902::CampaignService::RequiredErrorReason", [0, 1]]
287
+ ]
288
+ )
289
+
290
+ EncodedRegistry.register(
291
+ :class => AdWords::V200902::CampaignService::SoapHeader,
292
+ :schema_type => XSD::QName.new(NsV200902, "SoapHeader"),
293
+ :schema_element => [
294
+ ["authToken", "SOAP::SOAPString", [0, 1]],
295
+ ["clientCustomerId", "SOAP::SOAPString", [0, 1]],
296
+ ["clientEmail", "SOAP::SOAPString", [0, 1]]
297
+ ]
298
+ )
299
+
300
+ EncodedRegistry.register(
301
+ :class => AdWords::V200902::CampaignService::SoapResponseHeader,
302
+ :schema_type => XSD::QName.new(NsV200902, "SoapResponseHeader"),
303
+ :schema_element => [
304
+ ["requestId", "SOAP::SOAPString", [0, 1]],
305
+ ["operations", "SOAP::SOAPLong", [0, 1]],
306
+ ["responseTime", "SOAP::SOAPLong", [0, 1]]
307
+ ]
308
+ )
309
+
310
+ EncodedRegistry.register(
311
+ :class => AdWords::V200902::CampaignService::Stats,
312
+ :schema_type => XSD::QName.new(NsV200902, "Stats"),
313
+ :schema_element => [
314
+ ["startDate", "AdWords::V200902::CampaignService::Date", [0, 1]],
315
+ ["endDate", "AdWords::V200902::CampaignService::Date", [0, 1]],
316
+ ["network", "AdWords::V200902::CampaignService::StatsNetwork", [0, 1]],
317
+ ["clicks", "SOAP::SOAPLong", [0, 1]],
318
+ ["impressions", "SOAP::SOAPLong", [0, 1]],
319
+ ["cost", "AdWords::V200902::CampaignService::Money", [0, 1]],
320
+ ["averagePosition", "SOAP::SOAPDouble", [0, 1]],
321
+ ["averageCpc", "AdWords::V200902::CampaignService::Money", [0, 1]],
322
+ ["averageCpm", "AdWords::V200902::CampaignService::Money", [0, 1]],
323
+ ["ctr", "SOAP::SOAPDouble", [0, 1]],
324
+ ["conversions", "SOAP::SOAPLong", [0, 1]],
325
+ ["conversionRate", "SOAP::SOAPDouble", [0, 1]],
326
+ ["costPerConversion", "AdWords::V200902::CampaignService::Money", [0, 1]],
327
+ ["conversionsManyPerClick", "SOAP::SOAPLong", [0, 1]],
328
+ ["conversionRateManyPerClick", "SOAP::SOAPDouble", [0, 1]],
329
+ ["costPerConversionManyPerClick", "AdWords::V200902::CampaignService::Money", [0, 1]],
330
+ ["stats_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Stats.Type")], [0, 1]]
331
+ ]
332
+ )
333
+
334
+ EncodedRegistry.register(
335
+ :class => AdWords::V200902::CampaignService::StatsQueryError,
336
+ :schema_type => XSD::QName.new(NsV200902, "StatsQueryError"),
337
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
338
+ :schema_element => [
339
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
340
+ ["trigger", "SOAP::SOAPString", [0, 1]],
341
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
342
+ ["reason", "AdWords::V200902::CampaignService::StatsQueryErrorReason", [0, 1]]
343
+ ]
344
+ )
345
+
346
+ EncodedRegistry.register(
347
+ :class => AdWords::V200902::CampaignService::StatsSelector,
348
+ :schema_type => XSD::QName.new(NsV200902, "StatsSelector"),
349
+ :schema_element => [
350
+ ["dateRange", "AdWords::V200902::CampaignService::DateRange", [0, 1]]
351
+ ]
352
+ )
353
+
354
+ EncodedRegistry.register(
355
+ :class => AdWords::V200902::CampaignService::StringLengthError,
356
+ :schema_type => XSD::QName.new(NsV200902, "StringLengthError"),
357
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
358
+ :schema_element => [
359
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
360
+ ["trigger", "SOAP::SOAPString", [0, 1]],
361
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
362
+ ["reason", "AdWords::V200902::CampaignService::StringLengthErrorReason", [0, 1]]
363
+ ]
364
+ )
365
+
366
+ EncodedRegistry.register(
367
+ :class => AdWords::V200902::CampaignService::Bid,
368
+ :schema_type => XSD::QName.new(NsV200902, "Bid"),
369
+ :schema_element => [
370
+ ["event", "AdWords::V200902::CampaignService::BidEvent", [0, 1]],
371
+ ["amount", "AdWords::V200902::CampaignService::Money", [0, 1]]
372
+ ]
373
+ )
374
+
375
+ EncodedRegistry.register(
376
+ :class => AdWords::V200902::CampaignService::Budget,
377
+ :schema_type => XSD::QName.new(NsV200902, "Budget"),
378
+ :schema_element => [
379
+ ["period", "AdWords::V200902::CampaignService::BudgetBudgetPeriod", [0, 1]],
380
+ ["amount", "AdWords::V200902::CampaignService::Money", [0, 1]],
381
+ ["deliveryMethod", "AdWords::V200902::CampaignService::BudgetBudgetDeliveryMethod", [0, 1]]
382
+ ]
383
+ )
384
+
385
+ EncodedRegistry.register(
386
+ :class => AdWords::V200902::CampaignService::BudgetOptimizer,
387
+ :schema_type => XSD::QName.new(NsV200902, "BudgetOptimizer"),
388
+ :schema_basetype => XSD::QName.new(NsV200902, "BiddingStrategy"),
389
+ :schema_element => [
390
+ ["biddingStrategy_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "BiddingStrategy.Type")], [0, 1]],
391
+ ["bidCeiling", "AdWords::V200902::CampaignService::Money", [0, 1]]
392
+ ]
393
+ )
394
+
395
+ EncodedRegistry.register(
396
+ :class => AdWords::V200902::CampaignService::BudgetOptimizerAdGroupBids,
397
+ :schema_type => XSD::QName.new(NsV200902, "BudgetOptimizerAdGroupBids"),
398
+ :schema_basetype => XSD::QName.new(NsV200902, "AdGroupBids"),
399
+ :schema_element => [
400
+ ["adGroupBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "AdGroupBids.Type")], [0, 1]],
401
+ ["proxyKeywordMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]],
402
+ ["proxySiteMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]]
403
+ ]
404
+ )
405
+
406
+ EncodedRegistry.register(
407
+ :class => AdWords::V200902::CampaignService::CampaignId,
408
+ :schema_type => XSD::QName.new(NsV200902, "CampaignId"),
409
+ :schema_element => [
410
+ ["id", "SOAP::SOAPLong", [0, 1]],
411
+ ["campaignId_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignId.Type")], [0, 1]]
412
+ ]
413
+ )
414
+
415
+ EncodedRegistry.register(
416
+ :class => AdWords::V200902::CampaignService::ConversionOptimizerAdGroupBids,
417
+ :schema_type => XSD::QName.new(NsV200902, "ConversionOptimizerAdGroupBids"),
418
+ :schema_basetype => XSD::QName.new(NsV200902, "AdGroupBids"),
419
+ :schema_element => [
420
+ ["adGroupBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "AdGroupBids.Type")], [0, 1]],
421
+ ["targetCpa", "AdWords::V200902::CampaignService::Bid", [0, 1]]
422
+ ]
423
+ )
424
+
425
+ EncodedRegistry.register(
426
+ :class => AdWords::V200902::CampaignService::ManualCPCAdGroupBids,
427
+ :schema_type => XSD::QName.new(NsV200902, "ManualCPCAdGroupBids"),
428
+ :schema_basetype => XSD::QName.new(NsV200902, "AdGroupBids"),
429
+ :schema_element => [
430
+ ["adGroupBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "AdGroupBids.Type")], [0, 1]],
431
+ ["keywordMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]],
432
+ ["keywordContentMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]],
433
+ ["siteMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]]
434
+ ]
435
+ )
436
+
437
+ EncodedRegistry.register(
438
+ :class => AdWords::V200902::CampaignService::ManualCPMAdGroupBids,
439
+ :schema_type => XSD::QName.new(NsV200902, "ManualCPMAdGroupBids"),
440
+ :schema_basetype => XSD::QName.new(NsV200902, "AdGroupBids"),
441
+ :schema_element => [
442
+ ["adGroupBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "AdGroupBids.Type")], [0, 1]],
443
+ ["maxCpm", "AdWords::V200902::CampaignService::Bid", [0, 1]]
444
+ ]
445
+ )
446
+
447
+ EncodedRegistry.register(
448
+ :class => AdWords::V200902::CampaignService::ApiException,
449
+ :schema_type => XSD::QName.new(NsV200902, "ApiException"),
450
+ :schema_basetype => XSD::QName.new(NsV200902, "ApplicationException"),
451
+ :schema_element => [
452
+ ["message", "SOAP::SOAPString", [0, 1]],
453
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]],
454
+ ["errors", "AdWords::V200902::CampaignService::ApiError[]", [0, nil]]
455
+ ]
456
+ )
457
+
458
+ EncodedRegistry.register(
459
+ :class => AdWords::V200902::CampaignService::ApplicationException,
460
+ :schema_type => XSD::QName.new(NsV200902, "ApplicationException"),
461
+ :schema_element => [
462
+ ["message", "SOAP::SOAPString", [0, 1]],
463
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]]
464
+ ]
465
+ )
466
+
467
+ EncodedRegistry.register(
468
+ :class => AdWords::V200902::CampaignService::Campaign,
469
+ :schema_type => XSD::QName.new(NsV200902, "Campaign"),
470
+ :schema_element => [
471
+ ["id", "AdWords::V200902::CampaignService::CampaignId", [0, 1]],
472
+ ["name", "SOAP::SOAPString", [0, 1]],
473
+ ["status", "AdWords::V200902::CampaignService::CampaignStatus", [0, 1]],
474
+ ["servingStatus", "AdWords::V200902::CampaignService::ServingStatus", [0, 1]],
475
+ ["startDate", "AdWords::V200902::CampaignService::Date", [0, 1]],
476
+ ["endDate", "AdWords::V200902::CampaignService::Date", [0, 1]],
477
+ ["budget", "AdWords::V200902::CampaignService::Budget", [0, 1]],
478
+ ["biddingStrategy", "AdWords::V200902::CampaignService::BiddingStrategy", [0, 1]],
479
+ ["autoKeywordMatchingStatus", "AdWords::V200902::CampaignService::AutoKeywordMatchingStatus", [0, 1]],
480
+ ["stats", "AdWords::V200902::CampaignService::Stats", [0, 1]],
481
+ ["campaignType", "AdWords::V200902::CampaignService::CampaignType", [0, 1]],
482
+ ["adServingOptimizationStatus", "AdWords::V200902::CampaignService::AdServingOptimizationStatus", [0, 1]]
483
+ ]
484
+ )
485
+
486
+ EncodedRegistry.register(
487
+ :class => AdWords::V200902::CampaignService::CampaignPage,
488
+ :schema_type => XSD::QName.new(NsV200902, "CampaignPage"),
489
+ :schema_basetype => XSD::QName.new(NsV200902, "Page"),
490
+ :schema_element => [
491
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
492
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Page.Type")], [0, 1]],
493
+ ["totalBudget", "AdWords::V200902::CampaignService::Budget", [0, 1]],
494
+ ["entries", "AdWords::V200902::CampaignService::Campaign[]", [0, nil]]
495
+ ]
496
+ )
497
+
498
+ EncodedRegistry.register(
499
+ :class => AdWords::V200902::CampaignService::CampaignReturnValue,
500
+ :schema_type => XSD::QName.new(NsV200902, "CampaignReturnValue"),
501
+ :schema_basetype => XSD::QName.new(NsV200902, "ListReturnValue"),
502
+ :schema_element => [
503
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ListReturnValue.Type")], [0, 1]],
504
+ ["value", "AdWords::V200902::CampaignService::Campaign[]", [0, nil]]
505
+ ]
506
+ )
507
+
508
+ EncodedRegistry.register(
509
+ :class => AdWords::V200902::CampaignService::CampaignSelector,
510
+ :schema_type => XSD::QName.new(NsV200902, "CampaignSelector"),
511
+ :schema_element => [
512
+ ["campaignIds", "AdWords::V200902::CampaignService::CampaignId[]", [0, nil]],
513
+ ["statsSelector", "AdWords::V200902::CampaignService::StatsSelector", [0, 1]],
514
+ ["paging", "AdWords::V200902::CampaignService::Paging", [0, 1]]
515
+ ]
516
+ )
517
+
518
+ EncodedRegistry.register(
519
+ :class => AdWords::V200902::CampaignService::ExplicitBids,
520
+ :schema_type => XSD::QName.new(NsV200902, "ExplicitBids"),
521
+ :schema_basetype => XSD::QName.new(NsV200902, "CampaignBidSource"),
522
+ :schema_element => [
523
+ ["campaignBidSource_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignBidSource.Type")], [0, 1]],
524
+ ["adGroupBids", "AdWords::V200902::CampaignService::AdGroupBids", [0, 1]]
525
+ ]
526
+ )
527
+
528
+ EncodedRegistry.register(
529
+ :class => AdWords::V200902::CampaignService::ListReturnValue,
530
+ :schema_type => XSD::QName.new(NsV200902, "ListReturnValue"),
531
+ :schema_element => [
532
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ListReturnValue.Type")], [0, 1]]
533
+ ]
534
+ )
535
+
536
+ EncodedRegistry.register(
537
+ :class => AdWords::V200902::CampaignService::BiddingTransition,
538
+ :schema_type => XSD::QName.new(NsV200902, "BiddingTransition"),
539
+ :schema_element => [
540
+ ["targetBiddingStrategy", "AdWords::V200902::CampaignService::BiddingStrategy", [0, 1]],
541
+ ["bidSource", "AdWords::V200902::CampaignService::CampaignBidSource", [0, 1]]
542
+ ]
543
+ )
544
+
545
+ EncodedRegistry.register(
546
+ :class => AdWords::V200902::CampaignService::CampaignOperation,
547
+ :schema_type => XSD::QName.new(NsV200902, "CampaignOperation"),
548
+ :schema_basetype => XSD::QName.new(NsV200902, "Operation"),
549
+ :schema_element => [
550
+ ["operator", "AdWords::V200902::CampaignService::Operator", [0, 1]],
551
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Operation.Type")], [0, 1]],
552
+ ["biddingTransition", "AdWords::V200902::CampaignService::BiddingTransition", [0, 1]],
553
+ ["operand", "AdWords::V200902::CampaignService::Campaign", [0, 1]]
554
+ ]
555
+ )
556
+
557
+ EncodedRegistry.register(
558
+ :class => AdWords::V200902::CampaignService::AdServingOptimizationStatus,
559
+ :schema_type => XSD::QName.new(NsV200902, "AdServingOptimizationStatus")
560
+ )
561
+
562
+ EncodedRegistry.register(
563
+ :class => AdWords::V200902::CampaignService::AuthorizationErrorReason,
564
+ :schema_type => XSD::QName.new(NsV200902, "AuthorizationError.Reason")
565
+ )
566
+
567
+ EncodedRegistry.register(
568
+ :class => AdWords::V200902::CampaignService::AutoKeywordMatchingStatus,
569
+ :schema_type => XSD::QName.new(NsV200902, "AutoKeywordMatchingStatus")
570
+ )
571
+
572
+ EncodedRegistry.register(
573
+ :class => AdWords::V200902::CampaignService::BidEvent,
574
+ :schema_type => XSD::QName.new(NsV200902, "Bid.Event")
575
+ )
576
+
577
+ EncodedRegistry.register(
578
+ :class => AdWords::V200902::CampaignService::BiddingErrorReason,
579
+ :schema_type => XSD::QName.new(NsV200902, "BiddingError.Reason")
580
+ )
581
+
582
+ EncodedRegistry.register(
583
+ :class => AdWords::V200902::CampaignService::BiddingTransitionErrorReason,
584
+ :schema_type => XSD::QName.new(NsV200902, "BiddingTransitionError.Reason")
585
+ )
586
+
587
+ EncodedRegistry.register(
588
+ :class => AdWords::V200902::CampaignService::BudgetBudgetDeliveryMethod,
589
+ :schema_type => XSD::QName.new(NsV200902, "Budget.BudgetDeliveryMethod")
590
+ )
591
+
592
+ EncodedRegistry.register(
593
+ :class => AdWords::V200902::CampaignService::BudgetBudgetPeriod,
594
+ :schema_type => XSD::QName.new(NsV200902, "Budget.BudgetPeriod")
595
+ )
596
+
597
+ EncodedRegistry.register(
598
+ :class => AdWords::V200902::CampaignService::BudgetErrorReason,
599
+ :schema_type => XSD::QName.new(NsV200902, "BudgetError.Reason")
600
+ )
601
+
602
+ EncodedRegistry.register(
603
+ :class => AdWords::V200902::CampaignService::CampaignErrorReason,
604
+ :schema_type => XSD::QName.new(NsV200902, "CampaignError.Reason")
605
+ )
606
+
607
+ EncodedRegistry.register(
608
+ :class => AdWords::V200902::CampaignService::CampaignStatus,
609
+ :schema_type => XSD::QName.new(NsV200902, "CampaignStatus")
610
+ )
611
+
612
+ EncodedRegistry.register(
613
+ :class => AdWords::V200902::CampaignService::CampaignType,
614
+ :schema_type => XSD::QName.new(NsV200902, "CampaignType")
615
+ )
616
+
617
+ EncodedRegistry.register(
618
+ :class => AdWords::V200902::CampaignService::DatabaseErrorReason,
619
+ :schema_type => XSD::QName.new(NsV200902, "DatabaseError.Reason")
620
+ )
621
+
622
+ EncodedRegistry.register(
623
+ :class => AdWords::V200902::CampaignService::DistinctErrorReason,
624
+ :schema_type => XSD::QName.new(NsV200902, "DistinctError.Reason")
625
+ )
626
+
627
+ EncodedRegistry.register(
628
+ :class => AdWords::V200902::CampaignService::NewEntityCreationErrorReason,
629
+ :schema_type => XSD::QName.new(NsV200902, "NewEntityCreationError.Reason")
630
+ )
631
+
632
+ EncodedRegistry.register(
633
+ :class => AdWords::V200902::CampaignService::NotEmptyErrorReason,
634
+ :schema_type => XSD::QName.new(NsV200902, "NotEmptyError.Reason")
635
+ )
636
+
637
+ EncodedRegistry.register(
638
+ :class => AdWords::V200902::CampaignService::NotWhitelistedErrorReason,
639
+ :schema_type => XSD::QName.new(NsV200902, "NotWhitelistedError.Reason")
640
+ )
641
+
642
+ EncodedRegistry.register(
643
+ :class => AdWords::V200902::CampaignService::NullErrorReason,
644
+ :schema_type => XSD::QName.new(NsV200902, "NullError.Reason")
645
+ )
646
+
647
+ EncodedRegistry.register(
648
+ :class => AdWords::V200902::CampaignService::OperationAccessDeniedReason,
649
+ :schema_type => XSD::QName.new(NsV200902, "OperationAccessDenied.Reason")
650
+ )
651
+
652
+ EncodedRegistry.register(
653
+ :class => AdWords::V200902::CampaignService::Operator,
654
+ :schema_type => XSD::QName.new(NsV200902, "Operator")
655
+ )
656
+
657
+ EncodedRegistry.register(
658
+ :class => AdWords::V200902::CampaignService::OperatorErrorReason,
659
+ :schema_type => XSD::QName.new(NsV200902, "OperatorError.Reason")
660
+ )
661
+
662
+ EncodedRegistry.register(
663
+ :class => AdWords::V200902::CampaignService::PricingModel,
664
+ :schema_type => XSD::QName.new(NsV200902, "PricingModel")
665
+ )
666
+
667
+ EncodedRegistry.register(
668
+ :class => AdWords::V200902::CampaignService::QuotaErrorReason,
669
+ :schema_type => XSD::QName.new(NsV200902, "QuotaError.Reason")
670
+ )
671
+
672
+ EncodedRegistry.register(
673
+ :class => AdWords::V200902::CampaignService::RangeErrorReason,
674
+ :schema_type => XSD::QName.new(NsV200902, "RangeError.Reason")
675
+ )
676
+
677
+ EncodedRegistry.register(
678
+ :class => AdWords::V200902::CampaignService::ReadOnlyErrorReason,
679
+ :schema_type => XSD::QName.new(NsV200902, "ReadOnlyError.Reason")
680
+ )
681
+
682
+ EncodedRegistry.register(
683
+ :class => AdWords::V200902::CampaignService::RequiredErrorReason,
684
+ :schema_type => XSD::QName.new(NsV200902, "RequiredError.Reason")
685
+ )
686
+
687
+ EncodedRegistry.register(
688
+ :class => AdWords::V200902::CampaignService::ServingStatus,
689
+ :schema_type => XSD::QName.new(NsV200902, "ServingStatus")
690
+ )
691
+
692
+ EncodedRegistry.register(
693
+ :class => AdWords::V200902::CampaignService::StatsNetwork,
694
+ :schema_type => XSD::QName.new(NsV200902, "Stats.Network")
695
+ )
696
+
697
+ EncodedRegistry.register(
698
+ :class => AdWords::V200902::CampaignService::StatsQueryErrorReason,
699
+ :schema_type => XSD::QName.new(NsV200902, "StatsQueryError.Reason")
700
+ )
701
+
702
+ EncodedRegistry.register(
703
+ :class => AdWords::V200902::CampaignService::StringLengthErrorReason,
704
+ :schema_type => XSD::QName.new(NsV200902, "StringLengthError.Reason")
705
+ )
706
+
707
+ LiteralRegistry.register(
708
+ :class => AdWords::V200902::CampaignService::AuthorizationError,
709
+ :schema_type => XSD::QName.new(NsV200902, "AuthorizationError"),
710
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
711
+ :schema_element => [
712
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
713
+ ["trigger", "SOAP::SOAPString", [0, 1]],
714
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
715
+ ["reason", "AdWords::V200902::CampaignService::AuthorizationErrorReason", [0, 1]]
716
+ ]
717
+ )
718
+
719
+ LiteralRegistry.register(
720
+ :class => AdWords::V200902::CampaignService::BiddingError,
721
+ :schema_type => XSD::QName.new(NsV200902, "BiddingError"),
722
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
723
+ :schema_element => [
724
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
725
+ ["trigger", "SOAP::SOAPString", [0, 1]],
726
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
727
+ ["reason", "AdWords::V200902::CampaignService::BiddingErrorReason", [0, 1]]
728
+ ]
729
+ )
730
+
731
+ LiteralRegistry.register(
732
+ :class => AdWords::V200902::CampaignService::BiddingTransitionError,
733
+ :schema_type => XSD::QName.new(NsV200902, "BiddingTransitionError"),
734
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
735
+ :schema_element => [
736
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
737
+ ["trigger", "SOAP::SOAPString", [0, 1]],
738
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
739
+ ["reason", "AdWords::V200902::CampaignService::BiddingTransitionErrorReason", [0, 1]]
740
+ ]
741
+ )
742
+
743
+ LiteralRegistry.register(
744
+ :class => AdWords::V200902::CampaignService::BudgetError,
745
+ :schema_type => XSD::QName.new(NsV200902, "BudgetError"),
746
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
747
+ :schema_element => [
748
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
749
+ ["trigger", "SOAP::SOAPString", [0, 1]],
750
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
751
+ ["reason", "AdWords::V200902::CampaignService::BudgetErrorReason", [0, 1]]
752
+ ]
753
+ )
754
+
755
+ LiteralRegistry.register(
756
+ :class => AdWords::V200902::CampaignService::CampaignError,
757
+ :schema_type => XSD::QName.new(NsV200902, "CampaignError"),
758
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
759
+ :schema_element => [
760
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
761
+ ["trigger", "SOAP::SOAPString", [0, 1]],
762
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
763
+ ["reason", "AdWords::V200902::CampaignService::CampaignErrorReason", [0, 1]]
764
+ ]
765
+ )
766
+
767
+ LiteralRegistry.register(
768
+ :class => AdWords::V200902::CampaignService::ConversionOptimizer,
769
+ :schema_type => XSD::QName.new(NsV200902, "ConversionOptimizer"),
770
+ :schema_basetype => XSD::QName.new(NsV200902, "BiddingStrategy"),
771
+ :schema_element => [
772
+ ["biddingStrategy_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "BiddingStrategy.Type")], [0, 1]],
773
+ ["pricingModel", "AdWords::V200902::CampaignService::PricingModel", [0, 1]]
774
+ ]
775
+ )
776
+
777
+ LiteralRegistry.register(
778
+ :class => AdWords::V200902::CampaignService::DatabaseError,
779
+ :schema_type => XSD::QName.new(NsV200902, "DatabaseError"),
780
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
781
+ :schema_element => [
782
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
783
+ ["trigger", "SOAP::SOAPString", [0, 1]],
784
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
785
+ ["reason", "AdWords::V200902::CampaignService::DatabaseErrorReason", [0, 1]]
786
+ ]
787
+ )
788
+
789
+ LiteralRegistry.register(
790
+ :class => AdWords::V200902::CampaignService::Date,
791
+ :schema_type => XSD::QName.new(NsV200902, "Date"),
792
+ :schema_element => [
793
+ ["year", "SOAP::SOAPInt", [0, 1]],
794
+ ["month", "SOAP::SOAPInt", [0, 1]],
795
+ ["day", "SOAP::SOAPInt", [0, 1]]
796
+ ]
797
+ )
798
+
799
+ LiteralRegistry.register(
800
+ :class => AdWords::V200902::CampaignService::DateRange,
801
+ :schema_type => XSD::QName.new(NsV200902, "DateRange"),
802
+ :schema_element => [
803
+ ["min", "AdWords::V200902::CampaignService::Date", [0, 1]],
804
+ ["max", "AdWords::V200902::CampaignService::Date", [0, 1]]
805
+ ]
806
+ )
807
+
808
+ LiteralRegistry.register(
809
+ :class => AdWords::V200902::CampaignService::DerivedBids,
810
+ :schema_type => XSD::QName.new(NsV200902, "DerivedBids"),
811
+ :schema_basetype => XSD::QName.new(NsV200902, "CampaignBidSource"),
812
+ :schema_element => [
813
+ ["campaignBidSource_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignBidSource.Type")], [0, 1]]
814
+ ]
815
+ )
816
+
817
+ LiteralRegistry.register(
818
+ :class => AdWords::V200902::CampaignService::DistinctError,
819
+ :schema_type => XSD::QName.new(NsV200902, "DistinctError"),
820
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
821
+ :schema_element => [
822
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
823
+ ["trigger", "SOAP::SOAPString", [0, 1]],
824
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
825
+ ["reason", "AdWords::V200902::CampaignService::DistinctErrorReason", [0, 1]]
826
+ ]
827
+ )
828
+
829
+ LiteralRegistry.register(
830
+ :class => AdWords::V200902::CampaignService::ManualCPC,
831
+ :schema_type => XSD::QName.new(NsV200902, "ManualCPC"),
832
+ :schema_basetype => XSD::QName.new(NsV200902, "BiddingStrategy"),
833
+ :schema_element => [
834
+ ["biddingStrategy_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "BiddingStrategy.Type")], [0, 1]]
835
+ ]
836
+ )
837
+
838
+ LiteralRegistry.register(
839
+ :class => AdWords::V200902::CampaignService::ManualCPM,
840
+ :schema_type => XSD::QName.new(NsV200902, "ManualCPM"),
841
+ :schema_basetype => XSD::QName.new(NsV200902, "BiddingStrategy"),
842
+ :schema_element => [
843
+ ["biddingStrategy_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "BiddingStrategy.Type")], [0, 1]]
844
+ ]
845
+ )
846
+
847
+ LiteralRegistry.register(
848
+ :class => AdWords::V200902::CampaignService::Money,
849
+ :schema_type => XSD::QName.new(NsV200902, "Money"),
850
+ :schema_element => [
851
+ ["currencyCode", "SOAP::SOAPString", [0, 1]],
852
+ ["microAmount", "SOAP::SOAPLong", [0, 1]]
853
+ ]
854
+ )
855
+
856
+ LiteralRegistry.register(
857
+ :class => AdWords::V200902::CampaignService::NewEntityCreationError,
858
+ :schema_type => XSD::QName.new(NsV200902, "NewEntityCreationError"),
859
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
860
+ :schema_element => [
861
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
862
+ ["trigger", "SOAP::SOAPString", [0, 1]],
863
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
864
+ ["reason", "AdWords::V200902::CampaignService::NewEntityCreationErrorReason", [0, 1]]
865
+ ]
866
+ )
867
+
868
+ LiteralRegistry.register(
869
+ :class => AdWords::V200902::CampaignService::NotEmptyError,
870
+ :schema_type => XSD::QName.new(NsV200902, "NotEmptyError"),
871
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
872
+ :schema_element => [
873
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
874
+ ["trigger", "SOAP::SOAPString", [0, 1]],
875
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
876
+ ["reason", "AdWords::V200902::CampaignService::NotEmptyErrorReason", [0, 1]]
877
+ ]
878
+ )
879
+
880
+ LiteralRegistry.register(
881
+ :class => AdWords::V200902::CampaignService::NotWhitelistedError,
882
+ :schema_type => XSD::QName.new(NsV200902, "NotWhitelistedError"),
883
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
884
+ :schema_element => [
885
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
886
+ ["trigger", "SOAP::SOAPString", [0, 1]],
887
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
888
+ ["reason", "AdWords::V200902::CampaignService::NotWhitelistedErrorReason", [0, 1]]
889
+ ]
890
+ )
891
+
892
+ LiteralRegistry.register(
893
+ :class => AdWords::V200902::CampaignService::NullError,
894
+ :schema_type => XSD::QName.new(NsV200902, "NullError"),
895
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
896
+ :schema_element => [
897
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
898
+ ["trigger", "SOAP::SOAPString", [0, 1]],
899
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
900
+ ["reason", "AdWords::V200902::CampaignService::NullErrorReason", [0, 1]]
901
+ ]
902
+ )
903
+
904
+ LiteralRegistry.register(
905
+ :class => AdWords::V200902::CampaignService::OperationAccessDenied,
906
+ :schema_type => XSD::QName.new(NsV200902, "OperationAccessDenied"),
907
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
908
+ :schema_element => [
909
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
910
+ ["trigger", "SOAP::SOAPString", [0, 1]],
911
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
912
+ ["reason", "AdWords::V200902::CampaignService::OperationAccessDeniedReason", [0, 1]]
913
+ ]
914
+ )
915
+
916
+ LiteralRegistry.register(
917
+ :class => AdWords::V200902::CampaignService::OperatorError,
918
+ :schema_type => XSD::QName.new(NsV200902, "OperatorError"),
919
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
920
+ :schema_element => [
921
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
922
+ ["trigger", "SOAP::SOAPString", [0, 1]],
923
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
924
+ ["reason", "AdWords::V200902::CampaignService::OperatorErrorReason", [0, 1]]
925
+ ]
926
+ )
927
+
928
+ LiteralRegistry.register(
929
+ :class => AdWords::V200902::CampaignService::Paging,
930
+ :schema_type => XSD::QName.new(NsV200902, "Paging"),
931
+ :schema_element => [
932
+ ["startIndex", "SOAP::SOAPInt", [0, 1]],
933
+ ["numberResults", "SOAP::SOAPInt", [0, 1]]
934
+ ]
935
+ )
936
+
937
+ LiteralRegistry.register(
938
+ :class => AdWords::V200902::CampaignService::QuotaError,
939
+ :schema_type => XSD::QName.new(NsV200902, "QuotaError"),
940
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
941
+ :schema_element => [
942
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
943
+ ["trigger", "SOAP::SOAPString", [0, 1]],
944
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
945
+ ["reason", "AdWords::V200902::CampaignService::QuotaErrorReason", [0, 1]],
946
+ ["limit", "SOAP::SOAPInt", [0, 1]]
947
+ ]
948
+ )
949
+
950
+ LiteralRegistry.register(
951
+ :class => AdWords::V200902::CampaignService::C_RangeError,
952
+ :schema_type => XSD::QName.new(NsV200902, "RangeError"),
953
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
954
+ :schema_element => [
955
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
956
+ ["trigger", "SOAP::SOAPString", [0, 1]],
957
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
958
+ ["reason", "AdWords::V200902::CampaignService::RangeErrorReason", [0, 1]]
959
+ ]
960
+ )
961
+
962
+ LiteralRegistry.register(
963
+ :class => AdWords::V200902::CampaignService::ReadOnlyError,
964
+ :schema_type => XSD::QName.new(NsV200902, "ReadOnlyError"),
965
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
966
+ :schema_element => [
967
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
968
+ ["trigger", "SOAP::SOAPString", [0, 1]],
969
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
970
+ ["reason", "AdWords::V200902::CampaignService::ReadOnlyErrorReason", [0, 1]]
971
+ ]
972
+ )
973
+
974
+ LiteralRegistry.register(
975
+ :class => AdWords::V200902::CampaignService::RequiredError,
976
+ :schema_type => XSD::QName.new(NsV200902, "RequiredError"),
977
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
978
+ :schema_element => [
979
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
980
+ ["trigger", "SOAP::SOAPString", [0, 1]],
981
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
982
+ ["reason", "AdWords::V200902::CampaignService::RequiredErrorReason", [0, 1]]
983
+ ]
984
+ )
985
+
986
+ LiteralRegistry.register(
987
+ :class => AdWords::V200902::CampaignService::SoapHeader,
988
+ :schema_type => XSD::QName.new(NsV200902, "SoapHeader"),
989
+ :schema_element => [
990
+ ["authToken", "SOAP::SOAPString", [0, 1]],
991
+ ["clientCustomerId", "SOAP::SOAPString", [0, 1]],
992
+ ["clientEmail", "SOAP::SOAPString", [0, 1]]
993
+ ]
994
+ )
995
+
996
+ LiteralRegistry.register(
997
+ :class => AdWords::V200902::CampaignService::SoapResponseHeader,
998
+ :schema_type => XSD::QName.new(NsV200902, "SoapResponseHeader"),
999
+ :schema_element => [
1000
+ ["requestId", "SOAP::SOAPString", [0, 1]],
1001
+ ["operations", "SOAP::SOAPLong", [0, 1]],
1002
+ ["responseTime", "SOAP::SOAPLong", [0, 1]]
1003
+ ]
1004
+ )
1005
+
1006
+ LiteralRegistry.register(
1007
+ :class => AdWords::V200902::CampaignService::Stats,
1008
+ :schema_type => XSD::QName.new(NsV200902, "Stats"),
1009
+ :schema_element => [
1010
+ ["startDate", "AdWords::V200902::CampaignService::Date", [0, 1]],
1011
+ ["endDate", "AdWords::V200902::CampaignService::Date", [0, 1]],
1012
+ ["network", "AdWords::V200902::CampaignService::StatsNetwork", [0, 1]],
1013
+ ["clicks", "SOAP::SOAPLong", [0, 1]],
1014
+ ["impressions", "SOAP::SOAPLong", [0, 1]],
1015
+ ["cost", "AdWords::V200902::CampaignService::Money", [0, 1]],
1016
+ ["averagePosition", "SOAP::SOAPDouble", [0, 1]],
1017
+ ["averageCpc", "AdWords::V200902::CampaignService::Money", [0, 1]],
1018
+ ["averageCpm", "AdWords::V200902::CampaignService::Money", [0, 1]],
1019
+ ["ctr", "SOAP::SOAPDouble", [0, 1]],
1020
+ ["conversions", "SOAP::SOAPLong", [0, 1]],
1021
+ ["conversionRate", "SOAP::SOAPDouble", [0, 1]],
1022
+ ["costPerConversion", "AdWords::V200902::CampaignService::Money", [0, 1]],
1023
+ ["conversionsManyPerClick", "SOAP::SOAPLong", [0, 1]],
1024
+ ["conversionRateManyPerClick", "SOAP::SOAPDouble", [0, 1]],
1025
+ ["costPerConversionManyPerClick", "AdWords::V200902::CampaignService::Money", [0, 1]],
1026
+ ["stats_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Stats.Type")], [0, 1]]
1027
+ ]
1028
+ )
1029
+
1030
+ LiteralRegistry.register(
1031
+ :class => AdWords::V200902::CampaignService::StatsQueryError,
1032
+ :schema_type => XSD::QName.new(NsV200902, "StatsQueryError"),
1033
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
1034
+ :schema_element => [
1035
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1036
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1037
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
1038
+ ["reason", "AdWords::V200902::CampaignService::StatsQueryErrorReason", [0, 1]]
1039
+ ]
1040
+ )
1041
+
1042
+ LiteralRegistry.register(
1043
+ :class => AdWords::V200902::CampaignService::StatsSelector,
1044
+ :schema_type => XSD::QName.new(NsV200902, "StatsSelector"),
1045
+ :schema_element => [
1046
+ ["dateRange", "AdWords::V200902::CampaignService::DateRange", [0, 1]]
1047
+ ]
1048
+ )
1049
+
1050
+ LiteralRegistry.register(
1051
+ :class => AdWords::V200902::CampaignService::StringLengthError,
1052
+ :schema_type => XSD::QName.new(NsV200902, "StringLengthError"),
1053
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
1054
+ :schema_element => [
1055
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1056
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1057
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
1058
+ ["reason", "AdWords::V200902::CampaignService::StringLengthErrorReason", [0, 1]]
1059
+ ]
1060
+ )
1061
+
1062
+ LiteralRegistry.register(
1063
+ :class => AdWords::V200902::CampaignService::Bid,
1064
+ :schema_type => XSD::QName.new(NsV200902, "Bid"),
1065
+ :schema_element => [
1066
+ ["event", "AdWords::V200902::CampaignService::BidEvent", [0, 1]],
1067
+ ["amount", "AdWords::V200902::CampaignService::Money", [0, 1]]
1068
+ ]
1069
+ )
1070
+
1071
+ LiteralRegistry.register(
1072
+ :class => AdWords::V200902::CampaignService::Budget,
1073
+ :schema_type => XSD::QName.new(NsV200902, "Budget"),
1074
+ :schema_element => [
1075
+ ["period", "AdWords::V200902::CampaignService::BudgetBudgetPeriod", [0, 1]],
1076
+ ["amount", "AdWords::V200902::CampaignService::Money", [0, 1]],
1077
+ ["deliveryMethod", "AdWords::V200902::CampaignService::BudgetBudgetDeliveryMethod", [0, 1]]
1078
+ ]
1079
+ )
1080
+
1081
+ LiteralRegistry.register(
1082
+ :class => AdWords::V200902::CampaignService::BudgetOptimizer,
1083
+ :schema_type => XSD::QName.new(NsV200902, "BudgetOptimizer"),
1084
+ :schema_basetype => XSD::QName.new(NsV200902, "BiddingStrategy"),
1085
+ :schema_element => [
1086
+ ["biddingStrategy_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "BiddingStrategy.Type")], [0, 1]],
1087
+ ["bidCeiling", "AdWords::V200902::CampaignService::Money", [0, 1]]
1088
+ ]
1089
+ )
1090
+
1091
+ LiteralRegistry.register(
1092
+ :class => AdWords::V200902::CampaignService::BudgetOptimizerAdGroupBids,
1093
+ :schema_type => XSD::QName.new(NsV200902, "BudgetOptimizerAdGroupBids"),
1094
+ :schema_basetype => XSD::QName.new(NsV200902, "AdGroupBids"),
1095
+ :schema_element => [
1096
+ ["adGroupBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "AdGroupBids.Type")], [0, 1]],
1097
+ ["proxyKeywordMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]],
1098
+ ["proxySiteMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]]
1099
+ ]
1100
+ )
1101
+
1102
+ LiteralRegistry.register(
1103
+ :class => AdWords::V200902::CampaignService::CampaignId,
1104
+ :schema_type => XSD::QName.new(NsV200902, "CampaignId"),
1105
+ :schema_element => [
1106
+ ["id", "SOAP::SOAPLong", [0, 1]],
1107
+ ["campaignId_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignId.Type")], [0, 1]]
1108
+ ]
1109
+ )
1110
+
1111
+ LiteralRegistry.register(
1112
+ :class => AdWords::V200902::CampaignService::ConversionOptimizerAdGroupBids,
1113
+ :schema_type => XSD::QName.new(NsV200902, "ConversionOptimizerAdGroupBids"),
1114
+ :schema_basetype => XSD::QName.new(NsV200902, "AdGroupBids"),
1115
+ :schema_element => [
1116
+ ["adGroupBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "AdGroupBids.Type")], [0, 1]],
1117
+ ["targetCpa", "AdWords::V200902::CampaignService::Bid", [0, 1]]
1118
+ ]
1119
+ )
1120
+
1121
+ LiteralRegistry.register(
1122
+ :class => AdWords::V200902::CampaignService::ManualCPCAdGroupBids,
1123
+ :schema_type => XSD::QName.new(NsV200902, "ManualCPCAdGroupBids"),
1124
+ :schema_basetype => XSD::QName.new(NsV200902, "AdGroupBids"),
1125
+ :schema_element => [
1126
+ ["adGroupBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "AdGroupBids.Type")], [0, 1]],
1127
+ ["keywordMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]],
1128
+ ["keywordContentMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]],
1129
+ ["siteMaxCpc", "AdWords::V200902::CampaignService::Bid", [0, 1]]
1130
+ ]
1131
+ )
1132
+
1133
+ LiteralRegistry.register(
1134
+ :class => AdWords::V200902::CampaignService::ManualCPMAdGroupBids,
1135
+ :schema_type => XSD::QName.new(NsV200902, "ManualCPMAdGroupBids"),
1136
+ :schema_basetype => XSD::QName.new(NsV200902, "AdGroupBids"),
1137
+ :schema_element => [
1138
+ ["adGroupBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "AdGroupBids.Type")], [0, 1]],
1139
+ ["maxCpm", "AdWords::V200902::CampaignService::Bid", [0, 1]]
1140
+ ]
1141
+ )
1142
+
1143
+ LiteralRegistry.register(
1144
+ :class => AdWords::V200902::CampaignService::ApiException,
1145
+ :schema_type => XSD::QName.new(NsV200902, "ApiException"),
1146
+ :schema_basetype => XSD::QName.new(NsV200902, "ApplicationException"),
1147
+ :schema_element => [
1148
+ ["message", "SOAP::SOAPString", [0, 1]],
1149
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]],
1150
+ ["errors", "AdWords::V200902::CampaignService::ApiError[]", [0, nil]]
1151
+ ]
1152
+ )
1153
+
1154
+ LiteralRegistry.register(
1155
+ :class => AdWords::V200902::CampaignService::ApplicationException,
1156
+ :schema_type => XSD::QName.new(NsV200902, "ApplicationException"),
1157
+ :schema_element => [
1158
+ ["message", "SOAP::SOAPString", [0, 1]],
1159
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]]
1160
+ ]
1161
+ )
1162
+
1163
+ LiteralRegistry.register(
1164
+ :class => AdWords::V200902::CampaignService::Campaign,
1165
+ :schema_type => XSD::QName.new(NsV200902, "Campaign"),
1166
+ :schema_element => [
1167
+ ["id", "AdWords::V200902::CampaignService::CampaignId", [0, 1]],
1168
+ ["name", "SOAP::SOAPString", [0, 1]],
1169
+ ["status", "AdWords::V200902::CampaignService::CampaignStatus", [0, 1]],
1170
+ ["servingStatus", "AdWords::V200902::CampaignService::ServingStatus", [0, 1]],
1171
+ ["startDate", "AdWords::V200902::CampaignService::Date", [0, 1]],
1172
+ ["endDate", "AdWords::V200902::CampaignService::Date", [0, 1]],
1173
+ ["budget", "AdWords::V200902::CampaignService::Budget", [0, 1]],
1174
+ ["biddingStrategy", "AdWords::V200902::CampaignService::BiddingStrategy", [0, 1]],
1175
+ ["autoKeywordMatchingStatus", "AdWords::V200902::CampaignService::AutoKeywordMatchingStatus", [0, 1]],
1176
+ ["stats", "AdWords::V200902::CampaignService::Stats", [0, 1]],
1177
+ ["campaignType", "AdWords::V200902::CampaignService::CampaignType", [0, 1]],
1178
+ ["adServingOptimizationStatus", "AdWords::V200902::CampaignService::AdServingOptimizationStatus", [0, 1]]
1179
+ ]
1180
+ )
1181
+
1182
+ LiteralRegistry.register(
1183
+ :class => AdWords::V200902::CampaignService::CampaignPage,
1184
+ :schema_type => XSD::QName.new(NsV200902, "CampaignPage"),
1185
+ :schema_basetype => XSD::QName.new(NsV200902, "Page"),
1186
+ :schema_element => [
1187
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
1188
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Page.Type")], [0, 1]],
1189
+ ["totalBudget", "AdWords::V200902::CampaignService::Budget", [0, 1]],
1190
+ ["entries", "AdWords::V200902::CampaignService::Campaign[]", [0, nil]]
1191
+ ]
1192
+ )
1193
+
1194
+ LiteralRegistry.register(
1195
+ :class => AdWords::V200902::CampaignService::CampaignReturnValue,
1196
+ :schema_type => XSD::QName.new(NsV200902, "CampaignReturnValue"),
1197
+ :schema_basetype => XSD::QName.new(NsV200902, "ListReturnValue"),
1198
+ :schema_element => [
1199
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ListReturnValue.Type")], [0, 1]],
1200
+ ["value", "AdWords::V200902::CampaignService::Campaign[]", [0, nil]]
1201
+ ]
1202
+ )
1203
+
1204
+ LiteralRegistry.register(
1205
+ :class => AdWords::V200902::CampaignService::CampaignSelector,
1206
+ :schema_type => XSD::QName.new(NsV200902, "CampaignSelector"),
1207
+ :schema_element => [
1208
+ ["campaignIds", "AdWords::V200902::CampaignService::CampaignId[]", [0, nil]],
1209
+ ["statsSelector", "AdWords::V200902::CampaignService::StatsSelector", [0, 1]],
1210
+ ["paging", "AdWords::V200902::CampaignService::Paging", [0, 1]]
1211
+ ]
1212
+ )
1213
+
1214
+ LiteralRegistry.register(
1215
+ :class => AdWords::V200902::CampaignService::ExplicitBids,
1216
+ :schema_type => XSD::QName.new(NsV200902, "ExplicitBids"),
1217
+ :schema_basetype => XSD::QName.new(NsV200902, "CampaignBidSource"),
1218
+ :schema_element => [
1219
+ ["campaignBidSource_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignBidSource.Type")], [0, 1]],
1220
+ ["adGroupBids", "AdWords::V200902::CampaignService::AdGroupBids", [0, 1]]
1221
+ ]
1222
+ )
1223
+
1224
+ LiteralRegistry.register(
1225
+ :class => AdWords::V200902::CampaignService::ListReturnValue,
1226
+ :schema_type => XSD::QName.new(NsV200902, "ListReturnValue"),
1227
+ :schema_element => [
1228
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ListReturnValue.Type")], [0, 1]]
1229
+ ]
1230
+ )
1231
+
1232
+ LiteralRegistry.register(
1233
+ :class => AdWords::V200902::CampaignService::BiddingTransition,
1234
+ :schema_type => XSD::QName.new(NsV200902, "BiddingTransition"),
1235
+ :schema_element => [
1236
+ ["targetBiddingStrategy", "AdWords::V200902::CampaignService::BiddingStrategy", [0, 1]],
1237
+ ["bidSource", "AdWords::V200902::CampaignService::CampaignBidSource", [0, 1]]
1238
+ ]
1239
+ )
1240
+
1241
+ LiteralRegistry.register(
1242
+ :class => AdWords::V200902::CampaignService::CampaignOperation,
1243
+ :schema_type => XSD::QName.new(NsV200902, "CampaignOperation"),
1244
+ :schema_basetype => XSD::QName.new(NsV200902, "Operation"),
1245
+ :schema_element => [
1246
+ ["operator", "AdWords::V200902::CampaignService::Operator", [0, 1]],
1247
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Operation.Type")], [0, 1]],
1248
+ ["biddingTransition", "AdWords::V200902::CampaignService::BiddingTransition", [0, 1]],
1249
+ ["operand", "AdWords::V200902::CampaignService::Campaign", [0, 1]]
1250
+ ]
1251
+ )
1252
+
1253
+ LiteralRegistry.register(
1254
+ :class => AdWords::V200902::CampaignService::AdServingOptimizationStatus,
1255
+ :schema_type => XSD::QName.new(NsV200902, "AdServingOptimizationStatus")
1256
+ )
1257
+
1258
+ LiteralRegistry.register(
1259
+ :class => AdWords::V200902::CampaignService::AuthorizationErrorReason,
1260
+ :schema_type => XSD::QName.new(NsV200902, "AuthorizationError.Reason")
1261
+ )
1262
+
1263
+ LiteralRegistry.register(
1264
+ :class => AdWords::V200902::CampaignService::AutoKeywordMatchingStatus,
1265
+ :schema_type => XSD::QName.new(NsV200902, "AutoKeywordMatchingStatus")
1266
+ )
1267
+
1268
+ LiteralRegistry.register(
1269
+ :class => AdWords::V200902::CampaignService::BidEvent,
1270
+ :schema_type => XSD::QName.new(NsV200902, "Bid.Event")
1271
+ )
1272
+
1273
+ LiteralRegistry.register(
1274
+ :class => AdWords::V200902::CampaignService::BiddingErrorReason,
1275
+ :schema_type => XSD::QName.new(NsV200902, "BiddingError.Reason")
1276
+ )
1277
+
1278
+ LiteralRegistry.register(
1279
+ :class => AdWords::V200902::CampaignService::BiddingTransitionErrorReason,
1280
+ :schema_type => XSD::QName.new(NsV200902, "BiddingTransitionError.Reason")
1281
+ )
1282
+
1283
+ LiteralRegistry.register(
1284
+ :class => AdWords::V200902::CampaignService::BudgetBudgetDeliveryMethod,
1285
+ :schema_type => XSD::QName.new(NsV200902, "Budget.BudgetDeliveryMethod")
1286
+ )
1287
+
1288
+ LiteralRegistry.register(
1289
+ :class => AdWords::V200902::CampaignService::BudgetBudgetPeriod,
1290
+ :schema_type => XSD::QName.new(NsV200902, "Budget.BudgetPeriod")
1291
+ )
1292
+
1293
+ LiteralRegistry.register(
1294
+ :class => AdWords::V200902::CampaignService::BudgetErrorReason,
1295
+ :schema_type => XSD::QName.new(NsV200902, "BudgetError.Reason")
1296
+ )
1297
+
1298
+ LiteralRegistry.register(
1299
+ :class => AdWords::V200902::CampaignService::CampaignErrorReason,
1300
+ :schema_type => XSD::QName.new(NsV200902, "CampaignError.Reason")
1301
+ )
1302
+
1303
+ LiteralRegistry.register(
1304
+ :class => AdWords::V200902::CampaignService::CampaignStatus,
1305
+ :schema_type => XSD::QName.new(NsV200902, "CampaignStatus")
1306
+ )
1307
+
1308
+ LiteralRegistry.register(
1309
+ :class => AdWords::V200902::CampaignService::CampaignType,
1310
+ :schema_type => XSD::QName.new(NsV200902, "CampaignType")
1311
+ )
1312
+
1313
+ LiteralRegistry.register(
1314
+ :class => AdWords::V200902::CampaignService::DatabaseErrorReason,
1315
+ :schema_type => XSD::QName.new(NsV200902, "DatabaseError.Reason")
1316
+ )
1317
+
1318
+ LiteralRegistry.register(
1319
+ :class => AdWords::V200902::CampaignService::DistinctErrorReason,
1320
+ :schema_type => XSD::QName.new(NsV200902, "DistinctError.Reason")
1321
+ )
1322
+
1323
+ LiteralRegistry.register(
1324
+ :class => AdWords::V200902::CampaignService::NewEntityCreationErrorReason,
1325
+ :schema_type => XSD::QName.new(NsV200902, "NewEntityCreationError.Reason")
1326
+ )
1327
+
1328
+ LiteralRegistry.register(
1329
+ :class => AdWords::V200902::CampaignService::NotEmptyErrorReason,
1330
+ :schema_type => XSD::QName.new(NsV200902, "NotEmptyError.Reason")
1331
+ )
1332
+
1333
+ LiteralRegistry.register(
1334
+ :class => AdWords::V200902::CampaignService::NotWhitelistedErrorReason,
1335
+ :schema_type => XSD::QName.new(NsV200902, "NotWhitelistedError.Reason")
1336
+ )
1337
+
1338
+ LiteralRegistry.register(
1339
+ :class => AdWords::V200902::CampaignService::NullErrorReason,
1340
+ :schema_type => XSD::QName.new(NsV200902, "NullError.Reason")
1341
+ )
1342
+
1343
+ LiteralRegistry.register(
1344
+ :class => AdWords::V200902::CampaignService::OperationAccessDeniedReason,
1345
+ :schema_type => XSD::QName.new(NsV200902, "OperationAccessDenied.Reason")
1346
+ )
1347
+
1348
+ LiteralRegistry.register(
1349
+ :class => AdWords::V200902::CampaignService::Operator,
1350
+ :schema_type => XSD::QName.new(NsV200902, "Operator")
1351
+ )
1352
+
1353
+ LiteralRegistry.register(
1354
+ :class => AdWords::V200902::CampaignService::OperatorErrorReason,
1355
+ :schema_type => XSD::QName.new(NsV200902, "OperatorError.Reason")
1356
+ )
1357
+
1358
+ LiteralRegistry.register(
1359
+ :class => AdWords::V200902::CampaignService::PricingModel,
1360
+ :schema_type => XSD::QName.new(NsV200902, "PricingModel")
1361
+ )
1362
+
1363
+ LiteralRegistry.register(
1364
+ :class => AdWords::V200902::CampaignService::QuotaErrorReason,
1365
+ :schema_type => XSD::QName.new(NsV200902, "QuotaError.Reason")
1366
+ )
1367
+
1368
+ LiteralRegistry.register(
1369
+ :class => AdWords::V200902::CampaignService::RangeErrorReason,
1370
+ :schema_type => XSD::QName.new(NsV200902, "RangeError.Reason")
1371
+ )
1372
+
1373
+ LiteralRegistry.register(
1374
+ :class => AdWords::V200902::CampaignService::ReadOnlyErrorReason,
1375
+ :schema_type => XSD::QName.new(NsV200902, "ReadOnlyError.Reason")
1376
+ )
1377
+
1378
+ LiteralRegistry.register(
1379
+ :class => AdWords::V200902::CampaignService::RequiredErrorReason,
1380
+ :schema_type => XSD::QName.new(NsV200902, "RequiredError.Reason")
1381
+ )
1382
+
1383
+ LiteralRegistry.register(
1384
+ :class => AdWords::V200902::CampaignService::ServingStatus,
1385
+ :schema_type => XSD::QName.new(NsV200902, "ServingStatus")
1386
+ )
1387
+
1388
+ LiteralRegistry.register(
1389
+ :class => AdWords::V200902::CampaignService::StatsNetwork,
1390
+ :schema_type => XSD::QName.new(NsV200902, "Stats.Network")
1391
+ )
1392
+
1393
+ LiteralRegistry.register(
1394
+ :class => AdWords::V200902::CampaignService::StatsQueryErrorReason,
1395
+ :schema_type => XSD::QName.new(NsV200902, "StatsQueryError.Reason")
1396
+ )
1397
+
1398
+ LiteralRegistry.register(
1399
+ :class => AdWords::V200902::CampaignService::StringLengthErrorReason,
1400
+ :schema_type => XSD::QName.new(NsV200902, "StringLengthError.Reason")
1401
+ )
1402
+
1403
+ LiteralRegistry.register(
1404
+ :class => AdWords::V200902::CampaignService::Get,
1405
+ :schema_name => XSD::QName.new(NsV200902, "get"),
1406
+ :schema_element => [
1407
+ ["selector", "AdWords::V200902::CampaignService::CampaignSelector", [0, 1]]
1408
+ ]
1409
+ )
1410
+
1411
+ LiteralRegistry.register(
1412
+ :class => AdWords::V200902::CampaignService::GetResponse,
1413
+ :schema_name => XSD::QName.new(NsV200902, "getResponse"),
1414
+ :schema_element => [
1415
+ ["rval", "AdWords::V200902::CampaignService::CampaignPage", [0, 1]]
1416
+ ]
1417
+ )
1418
+
1419
+ LiteralRegistry.register(
1420
+ :class => AdWords::V200902::CampaignService::ApiException,
1421
+ :schema_name => XSD::QName.new(NsV200902, "ApiExceptionFault"),
1422
+ :schema_element => [
1423
+ ["message", "SOAP::SOAPString", [0, 1]],
1424
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]],
1425
+ ["errors", "AdWords::V200902::CampaignService::ApiError[]", [0, nil]]
1426
+ ]
1427
+ )
1428
+
1429
+ LiteralRegistry.register(
1430
+ :class => AdWords::V200902::CampaignService::Mutate,
1431
+ :schema_name => XSD::QName.new(NsV200902, "mutate"),
1432
+ :schema_element => [
1433
+ ["operations", "AdWords::V200902::CampaignService::CampaignOperation[]", [0, nil]]
1434
+ ]
1435
+ )
1436
+
1437
+ LiteralRegistry.register(
1438
+ :class => AdWords::V200902::CampaignService::MutateResponse,
1439
+ :schema_name => XSD::QName.new(NsV200902, "mutateResponse"),
1440
+ :schema_element => [
1441
+ ["rval", "AdWords::V200902::CampaignService::CampaignReturnValue", [0, 1]]
1442
+ ]
1443
+ )
1444
+
1445
+ LiteralRegistry.register(
1446
+ :class => AdWords::V200902::CampaignService::SoapHeader,
1447
+ :schema_name => XSD::QName.new(NsV200902, "RequestHeader"),
1448
+ :schema_element => [
1449
+ ["authToken", "SOAP::SOAPString", [0, 1]],
1450
+ ["clientCustomerId", "SOAP::SOAPString", [0, 1]],
1451
+ ["clientEmail", "SOAP::SOAPString", [0, 1]]
1452
+ ]
1453
+ )
1454
+
1455
+ LiteralRegistry.register(
1456
+ :class => AdWords::V200902::CampaignService::SoapResponseHeader,
1457
+ :schema_name => XSD::QName.new(NsV200902, "ResponseHeader"),
1458
+ :schema_element => [
1459
+ ["requestId", "SOAP::SOAPString", [0, 1]],
1460
+ ["operations", "SOAP::SOAPLong", [0, 1]],
1461
+ ["responseTime", "SOAP::SOAPLong", [0, 1]]
1462
+ ]
1463
+ )
1464
+ end
1465
+
1466
+ end; end; end