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/CampaignCriterionService'
2
+ require 'adwords4r/v200902/CampaignCriterionServiceMappingRegistry'
3
+ require 'soap/rpc/driver'
4
+
5
+ module AdWords
6
+ module V200902
7
+ module CampaignCriterionService
8
+
9
+ class CampaignCriterionServiceInterface < ::SOAP::RPC::Driver
10
+ DefaultEndpointUrl = "https://adwords-sandbox.google.com/api/adwords/cm/v200902/CampaignCriterionService"
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::CampaignCriterionService::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::CampaignCriterionService::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,904 @@
1
+ require 'adwords4r/v200902/CampaignCriterionService'
2
+ require 'soap/mapping'
3
+
4
+ module AdWords; module V200902; module CampaignCriterionService
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::CampaignCriterionService::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::CampaignCriterionService::AuthorizationErrorReason", [0, 1]]
20
+ ]
21
+ )
22
+
23
+ EncodedRegistry.register(
24
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionError,
25
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionError"),
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::CampaignCriterionService::CampaignCriterionErrorReason", [0, 1]]
32
+ ]
33
+ )
34
+
35
+ EncodedRegistry.register(
36
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionLimitExceeded,
37
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionLimitExceeded"),
38
+ :schema_basetype => XSD::QName.new(NsV200902, "EntityCountLimitExceeded"),
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::CampaignCriterionService::EntityCountLimitExceededReason", [0, 1]],
44
+ ["enclosingId", "SOAP::SOAPString", [0, 1]],
45
+ ["limit", "SOAP::SOAPInt", [0, 1]],
46
+ ["limitType", "AdWords::V200902::CampaignCriterionService::CampaignCriterionLimitExceededCriteriaLimitType", [0, 1]]
47
+ ]
48
+ )
49
+
50
+ EncodedRegistry.register(
51
+ :class => AdWords::V200902::CampaignCriterionService::ContentLabel,
52
+ :schema_type => XSD::QName.new(NsV200902, "ContentLabel"),
53
+ :schema_basetype => XSD::QName.new(NsV200902, "Criterion"),
54
+ :schema_element => [
55
+ ["id", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]],
56
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Criterion.Type")], [0, 1]],
57
+ ["contentLabelType", "AdWords::V200902::CampaignCriterionService::ContentLabelType", [0, 1]]
58
+ ]
59
+ )
60
+
61
+ EncodedRegistry.register(
62
+ :class => AdWords::V200902::CampaignCriterionService::CriterionId,
63
+ :schema_type => XSD::QName.new(NsV200902, "CriterionId"),
64
+ :schema_element => [
65
+ ["id", "SOAP::SOAPLong", [0, 1]]
66
+ ]
67
+ )
68
+
69
+ EncodedRegistry.register(
70
+ :class => AdWords::V200902::CampaignCriterionService::DatabaseError,
71
+ :schema_type => XSD::QName.new(NsV200902, "DatabaseError"),
72
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
73
+ :schema_element => [
74
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
75
+ ["trigger", "SOAP::SOAPString", [0, 1]],
76
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
77
+ ["reason", "AdWords::V200902::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
78
+ ]
79
+ )
80
+
81
+ EncodedRegistry.register(
82
+ :class => AdWords::V200902::CampaignCriterionService::DistinctError,
83
+ :schema_type => XSD::QName.new(NsV200902, "DistinctError"),
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::CampaignCriterionService::DistinctErrorReason", [0, 1]]
90
+ ]
91
+ )
92
+
93
+ EncodedRegistry.register(
94
+ :class => AdWords::V200902::CampaignCriterionService::Keyword,
95
+ :schema_type => XSD::QName.new(NsV200902, "Keyword"),
96
+ :schema_basetype => XSD::QName.new(NsV200902, "Criterion"),
97
+ :schema_element => [
98
+ ["id", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]],
99
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Criterion.Type")], [0, 1]],
100
+ ["text", "SOAP::SOAPString", [0, 1]],
101
+ ["matchType", "AdWords::V200902::CampaignCriterionService::KeywordMatchType", [0, 1]]
102
+ ]
103
+ )
104
+
105
+ EncodedRegistry.register(
106
+ :class => AdWords::V200902::CampaignCriterionService::NegativeCampaignCriterion,
107
+ :schema_type => XSD::QName.new(NsV200902, "NegativeCampaignCriterion"),
108
+ :schema_basetype => XSD::QName.new(NsV200902, "CampaignCriterion"),
109
+ :schema_element => [
110
+ ["campaignId", "AdWords::V200902::CampaignCriterionService::CampaignId", [0, 1]],
111
+ ["criterion", "AdWords::V200902::CampaignCriterionService::Criterion", [0, 1]],
112
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignCriterion.Type")], [0, 1]]
113
+ ]
114
+ )
115
+
116
+ EncodedRegistry.register(
117
+ :class => AdWords::V200902::CampaignCriterionService::NewEntityCreationError,
118
+ :schema_type => XSD::QName.new(NsV200902, "NewEntityCreationError"),
119
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
120
+ :schema_element => [
121
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
122
+ ["trigger", "SOAP::SOAPString", [0, 1]],
123
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
124
+ ["reason", "AdWords::V200902::CampaignCriterionService::NewEntityCreationErrorReason", [0, 1]]
125
+ ]
126
+ )
127
+
128
+ EncodedRegistry.register(
129
+ :class => AdWords::V200902::CampaignCriterionService::NotEmptyError,
130
+ :schema_type => XSD::QName.new(NsV200902, "NotEmptyError"),
131
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
132
+ :schema_element => [
133
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
134
+ ["trigger", "SOAP::SOAPString", [0, 1]],
135
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
136
+ ["reason", "AdWords::V200902::CampaignCriterionService::NotEmptyErrorReason", [0, 1]]
137
+ ]
138
+ )
139
+
140
+ EncodedRegistry.register(
141
+ :class => AdWords::V200902::CampaignCriterionService::NotWhitelistedError,
142
+ :schema_type => XSD::QName.new(NsV200902, "NotWhitelistedError"),
143
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
144
+ :schema_element => [
145
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
146
+ ["trigger", "SOAP::SOAPString", [0, 1]],
147
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
148
+ ["reason", "AdWords::V200902::CampaignCriterionService::NotWhitelistedErrorReason", [0, 1]]
149
+ ]
150
+ )
151
+
152
+ EncodedRegistry.register(
153
+ :class => AdWords::V200902::CampaignCriterionService::NullError,
154
+ :schema_type => XSD::QName.new(NsV200902, "NullError"),
155
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
156
+ :schema_element => [
157
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
158
+ ["trigger", "SOAP::SOAPString", [0, 1]],
159
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
160
+ ["reason", "AdWords::V200902::CampaignCriterionService::NullErrorReason", [0, 1]]
161
+ ]
162
+ )
163
+
164
+ EncodedRegistry.register(
165
+ :class => AdWords::V200902::CampaignCriterionService::OperatorError,
166
+ :schema_type => XSD::QName.new(NsV200902, "OperatorError"),
167
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
168
+ :schema_element => [
169
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
170
+ ["trigger", "SOAP::SOAPString", [0, 1]],
171
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
172
+ ["reason", "AdWords::V200902::CampaignCriterionService::OperatorErrorReason", [0, 1]]
173
+ ]
174
+ )
175
+
176
+ EncodedRegistry.register(
177
+ :class => AdWords::V200902::CampaignCriterionService::Paging,
178
+ :schema_type => XSD::QName.new(NsV200902, "Paging"),
179
+ :schema_element => [
180
+ ["startIndex", "SOAP::SOAPInt", [0, 1]],
181
+ ["numberResults", "SOAP::SOAPInt", [0, 1]]
182
+ ]
183
+ )
184
+
185
+ EncodedRegistry.register(
186
+ :class => AdWords::V200902::CampaignCriterionService::Placement,
187
+ :schema_type => XSD::QName.new(NsV200902, "Placement"),
188
+ :schema_basetype => XSD::QName.new(NsV200902, "Criterion"),
189
+ :schema_element => [
190
+ ["id", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]],
191
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Criterion.Type")], [0, 1]],
192
+ ["url", "SOAP::SOAPString", [0, 1]]
193
+ ]
194
+ )
195
+
196
+ EncodedRegistry.register(
197
+ :class => AdWords::V200902::CampaignCriterionService::ReadOnlyError,
198
+ :schema_type => XSD::QName.new(NsV200902, "ReadOnlyError"),
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::CampaignCriterionService::ReadOnlyErrorReason", [0, 1]]
205
+ ]
206
+ )
207
+
208
+ EncodedRegistry.register(
209
+ :class => AdWords::V200902::CampaignCriterionService::RequiredError,
210
+ :schema_type => XSD::QName.new(NsV200902, "RequiredError"),
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::CampaignCriterionService::RequiredErrorReason", [0, 1]]
217
+ ]
218
+ )
219
+
220
+ EncodedRegistry.register(
221
+ :class => AdWords::V200902::CampaignCriterionService::SoapHeader,
222
+ :schema_type => XSD::QName.new(NsV200902, "SoapHeader"),
223
+ :schema_element => [
224
+ ["authToken", "SOAP::SOAPString", [0, 1]],
225
+ ["clientCustomerId", "SOAP::SOAPString", [0, 1]],
226
+ ["clientEmail", "SOAP::SOAPString", [0, 1]]
227
+ ]
228
+ )
229
+
230
+ EncodedRegistry.register(
231
+ :class => AdWords::V200902::CampaignCriterionService::SoapResponseHeader,
232
+ :schema_type => XSD::QName.new(NsV200902, "SoapResponseHeader"),
233
+ :schema_element => [
234
+ ["requestId", "SOAP::SOAPString", [0, 1]],
235
+ ["operations", "SOAP::SOAPLong", [0, 1]],
236
+ ["responseTime", "SOAP::SOAPLong", [0, 1]]
237
+ ]
238
+ )
239
+
240
+ EncodedRegistry.register(
241
+ :class => AdWords::V200902::CampaignCriterionService::CampaignId,
242
+ :schema_type => XSD::QName.new(NsV200902, "CampaignId"),
243
+ :schema_element => [
244
+ ["id", "SOAP::SOAPLong", [0, 1]],
245
+ ["campaignId_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignId.Type")], [0, 1]]
246
+ ]
247
+ )
248
+
249
+ EncodedRegistry.register(
250
+ :class => AdWords::V200902::CampaignCriterionService::Criterion,
251
+ :schema_type => XSD::QName.new(NsV200902, "Criterion"),
252
+ :schema_element => [
253
+ ["id", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]],
254
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Criterion.Type")], [0, 1]]
255
+ ]
256
+ )
257
+
258
+ EncodedRegistry.register(
259
+ :class => AdWords::V200902::CampaignCriterionService::ApiException,
260
+ :schema_type => XSD::QName.new(NsV200902, "ApiException"),
261
+ :schema_basetype => XSD::QName.new(NsV200902, "ApplicationException"),
262
+ :schema_element => [
263
+ ["message", "SOAP::SOAPString", [0, 1]],
264
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]],
265
+ ["errors", "AdWords::V200902::CampaignCriterionService::ApiError[]", [0, nil]]
266
+ ]
267
+ )
268
+
269
+ EncodedRegistry.register(
270
+ :class => AdWords::V200902::CampaignCriterionService::ApplicationException,
271
+ :schema_type => XSD::QName.new(NsV200902, "ApplicationException"),
272
+ :schema_element => [
273
+ ["message", "SOAP::SOAPString", [0, 1]],
274
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]]
275
+ ]
276
+ )
277
+
278
+ EncodedRegistry.register(
279
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterion,
280
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterion"),
281
+ :schema_element => [
282
+ ["campaignId", "AdWords::V200902::CampaignCriterionService::CampaignId", [0, 1]],
283
+ ["criterion", "AdWords::V200902::CampaignCriterionService::Criterion", [0, 1]],
284
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignCriterion.Type")], [0, 1]]
285
+ ]
286
+ )
287
+
288
+ EncodedRegistry.register(
289
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionIdFilter,
290
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionIdFilter"),
291
+ :schema_element => [
292
+ ["campaignId", "AdWords::V200902::CampaignCriterionService::CampaignId", [0, 1]],
293
+ ["criterionId", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]]
294
+ ]
295
+ )
296
+
297
+ EncodedRegistry.register(
298
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionOperation,
299
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionOperation"),
300
+ :schema_basetype => XSD::QName.new(NsV200902, "Operation"),
301
+ :schema_element => [
302
+ ["operator", "AdWords::V200902::CampaignCriterionService::Operator", [0, 1]],
303
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Operation.Type")], [0, 1]],
304
+ ["operand", "AdWords::V200902::CampaignCriterionService::CampaignCriterion", [0, 1]]
305
+ ]
306
+ )
307
+
308
+ EncodedRegistry.register(
309
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionPage,
310
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionPage"),
311
+ :schema_basetype => XSD::QName.new(NsV200902, "Page"),
312
+ :schema_element => [
313
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
314
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Page.Type")], [0, 1]],
315
+ ["entries", "AdWords::V200902::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
316
+ ]
317
+ )
318
+
319
+ EncodedRegistry.register(
320
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionReturnValue,
321
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionReturnValue"),
322
+ :schema_basetype => XSD::QName.new(NsV200902, "ListReturnValue"),
323
+ :schema_element => [
324
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ListReturnValue.Type")], [0, 1]],
325
+ ["value", "AdWords::V200902::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
326
+ ]
327
+ )
328
+
329
+ EncodedRegistry.register(
330
+ :class => AdWords::V200902::CampaignCriterionService::ListReturnValue,
331
+ :schema_type => XSD::QName.new(NsV200902, "ListReturnValue"),
332
+ :schema_element => [
333
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ListReturnValue.Type")], [0, 1]]
334
+ ]
335
+ )
336
+
337
+ EncodedRegistry.register(
338
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionSelector,
339
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionSelector"),
340
+ :schema_element => [
341
+ ["idFilters", "AdWords::V200902::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
342
+ ["paging", "AdWords::V200902::CampaignCriterionService::Paging", [0, 1]]
343
+ ]
344
+ )
345
+
346
+ EncodedRegistry.register(
347
+ :class => AdWords::V200902::CampaignCriterionService::AuthorizationErrorReason,
348
+ :schema_type => XSD::QName.new(NsV200902, "AuthorizationError.Reason")
349
+ )
350
+
351
+ EncodedRegistry.register(
352
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionErrorReason,
353
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionError.Reason")
354
+ )
355
+
356
+ EncodedRegistry.register(
357
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionLimitExceededCriteriaLimitType,
358
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionLimitExceeded.CriteriaLimitType")
359
+ )
360
+
361
+ EncodedRegistry.register(
362
+ :class => AdWords::V200902::CampaignCriterionService::ContentLabelType,
363
+ :schema_type => XSD::QName.new(NsV200902, "ContentLabelType")
364
+ )
365
+
366
+ EncodedRegistry.register(
367
+ :class => AdWords::V200902::CampaignCriterionService::DatabaseErrorReason,
368
+ :schema_type => XSD::QName.new(NsV200902, "DatabaseError.Reason")
369
+ )
370
+
371
+ EncodedRegistry.register(
372
+ :class => AdWords::V200902::CampaignCriterionService::DistinctErrorReason,
373
+ :schema_type => XSD::QName.new(NsV200902, "DistinctError.Reason")
374
+ )
375
+
376
+ EncodedRegistry.register(
377
+ :class => AdWords::V200902::CampaignCriterionService::EntityCountLimitExceededReason,
378
+ :schema_type => XSD::QName.new(NsV200902, "EntityCountLimitExceeded.Reason")
379
+ )
380
+
381
+ EncodedRegistry.register(
382
+ :class => AdWords::V200902::CampaignCriterionService::KeywordMatchType,
383
+ :schema_type => XSD::QName.new(NsV200902, "KeywordMatchType")
384
+ )
385
+
386
+ EncodedRegistry.register(
387
+ :class => AdWords::V200902::CampaignCriterionService::NewEntityCreationErrorReason,
388
+ :schema_type => XSD::QName.new(NsV200902, "NewEntityCreationError.Reason")
389
+ )
390
+
391
+ EncodedRegistry.register(
392
+ :class => AdWords::V200902::CampaignCriterionService::NotEmptyErrorReason,
393
+ :schema_type => XSD::QName.new(NsV200902, "NotEmptyError.Reason")
394
+ )
395
+
396
+ EncodedRegistry.register(
397
+ :class => AdWords::V200902::CampaignCriterionService::NotWhitelistedErrorReason,
398
+ :schema_type => XSD::QName.new(NsV200902, "NotWhitelistedError.Reason")
399
+ )
400
+
401
+ EncodedRegistry.register(
402
+ :class => AdWords::V200902::CampaignCriterionService::NullErrorReason,
403
+ :schema_type => XSD::QName.new(NsV200902, "NullError.Reason")
404
+ )
405
+
406
+ EncodedRegistry.register(
407
+ :class => AdWords::V200902::CampaignCriterionService::Operator,
408
+ :schema_type => XSD::QName.new(NsV200902, "Operator")
409
+ )
410
+
411
+ EncodedRegistry.register(
412
+ :class => AdWords::V200902::CampaignCriterionService::OperatorErrorReason,
413
+ :schema_type => XSD::QName.new(NsV200902, "OperatorError.Reason")
414
+ )
415
+
416
+ EncodedRegistry.register(
417
+ :class => AdWords::V200902::CampaignCriterionService::ReadOnlyErrorReason,
418
+ :schema_type => XSD::QName.new(NsV200902, "ReadOnlyError.Reason")
419
+ )
420
+
421
+ EncodedRegistry.register(
422
+ :class => AdWords::V200902::CampaignCriterionService::RequiredErrorReason,
423
+ :schema_type => XSD::QName.new(NsV200902, "RequiredError.Reason")
424
+ )
425
+
426
+ LiteralRegistry.register(
427
+ :class => AdWords::V200902::CampaignCriterionService::AuthorizationError,
428
+ :schema_type => XSD::QName.new(NsV200902, "AuthorizationError"),
429
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
430
+ :schema_element => [
431
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
432
+ ["trigger", "SOAP::SOAPString", [0, 1]],
433
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
434
+ ["reason", "AdWords::V200902::CampaignCriterionService::AuthorizationErrorReason", [0, 1]]
435
+ ]
436
+ )
437
+
438
+ LiteralRegistry.register(
439
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionError,
440
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionError"),
441
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
442
+ :schema_element => [
443
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
444
+ ["trigger", "SOAP::SOAPString", [0, 1]],
445
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
446
+ ["reason", "AdWords::V200902::CampaignCriterionService::CampaignCriterionErrorReason", [0, 1]]
447
+ ]
448
+ )
449
+
450
+ LiteralRegistry.register(
451
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionLimitExceeded,
452
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionLimitExceeded"),
453
+ :schema_basetype => XSD::QName.new(NsV200902, "EntityCountLimitExceeded"),
454
+ :schema_element => [
455
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
456
+ ["trigger", "SOAP::SOAPString", [0, 1]],
457
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
458
+ ["reason", "AdWords::V200902::CampaignCriterionService::EntityCountLimitExceededReason", [0, 1]],
459
+ ["enclosingId", "SOAP::SOAPString", [0, 1]],
460
+ ["limit", "SOAP::SOAPInt", [0, 1]],
461
+ ["limitType", "AdWords::V200902::CampaignCriterionService::CampaignCriterionLimitExceededCriteriaLimitType", [0, 1]]
462
+ ]
463
+ )
464
+
465
+ LiteralRegistry.register(
466
+ :class => AdWords::V200902::CampaignCriterionService::ContentLabel,
467
+ :schema_type => XSD::QName.new(NsV200902, "ContentLabel"),
468
+ :schema_basetype => XSD::QName.new(NsV200902, "Criterion"),
469
+ :schema_element => [
470
+ ["id", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]],
471
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Criterion.Type")], [0, 1]],
472
+ ["contentLabelType", "AdWords::V200902::CampaignCriterionService::ContentLabelType", [0, 1]]
473
+ ]
474
+ )
475
+
476
+ LiteralRegistry.register(
477
+ :class => AdWords::V200902::CampaignCriterionService::CriterionId,
478
+ :schema_type => XSD::QName.new(NsV200902, "CriterionId"),
479
+ :schema_element => [
480
+ ["id", "SOAP::SOAPLong", [0, 1]]
481
+ ]
482
+ )
483
+
484
+ LiteralRegistry.register(
485
+ :class => AdWords::V200902::CampaignCriterionService::DatabaseError,
486
+ :schema_type => XSD::QName.new(NsV200902, "DatabaseError"),
487
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
488
+ :schema_element => [
489
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
490
+ ["trigger", "SOAP::SOAPString", [0, 1]],
491
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
492
+ ["reason", "AdWords::V200902::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
493
+ ]
494
+ )
495
+
496
+ LiteralRegistry.register(
497
+ :class => AdWords::V200902::CampaignCriterionService::DistinctError,
498
+ :schema_type => XSD::QName.new(NsV200902, "DistinctError"),
499
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
500
+ :schema_element => [
501
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
502
+ ["trigger", "SOAP::SOAPString", [0, 1]],
503
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
504
+ ["reason", "AdWords::V200902::CampaignCriterionService::DistinctErrorReason", [0, 1]]
505
+ ]
506
+ )
507
+
508
+ LiteralRegistry.register(
509
+ :class => AdWords::V200902::CampaignCriterionService::Keyword,
510
+ :schema_type => XSD::QName.new(NsV200902, "Keyword"),
511
+ :schema_basetype => XSD::QName.new(NsV200902, "Criterion"),
512
+ :schema_element => [
513
+ ["id", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]],
514
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Criterion.Type")], [0, 1]],
515
+ ["text", "SOAP::SOAPString", [0, 1]],
516
+ ["matchType", "AdWords::V200902::CampaignCriterionService::KeywordMatchType", [0, 1]]
517
+ ]
518
+ )
519
+
520
+ LiteralRegistry.register(
521
+ :class => AdWords::V200902::CampaignCriterionService::NegativeCampaignCriterion,
522
+ :schema_type => XSD::QName.new(NsV200902, "NegativeCampaignCriterion"),
523
+ :schema_basetype => XSD::QName.new(NsV200902, "CampaignCriterion"),
524
+ :schema_element => [
525
+ ["campaignId", "AdWords::V200902::CampaignCriterionService::CampaignId", [0, 1]],
526
+ ["criterion", "AdWords::V200902::CampaignCriterionService::Criterion", [0, 1]],
527
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignCriterion.Type")], [0, 1]]
528
+ ]
529
+ )
530
+
531
+ LiteralRegistry.register(
532
+ :class => AdWords::V200902::CampaignCriterionService::NewEntityCreationError,
533
+ :schema_type => XSD::QName.new(NsV200902, "NewEntityCreationError"),
534
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
535
+ :schema_element => [
536
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
537
+ ["trigger", "SOAP::SOAPString", [0, 1]],
538
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
539
+ ["reason", "AdWords::V200902::CampaignCriterionService::NewEntityCreationErrorReason", [0, 1]]
540
+ ]
541
+ )
542
+
543
+ LiteralRegistry.register(
544
+ :class => AdWords::V200902::CampaignCriterionService::NotEmptyError,
545
+ :schema_type => XSD::QName.new(NsV200902, "NotEmptyError"),
546
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
547
+ :schema_element => [
548
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
549
+ ["trigger", "SOAP::SOAPString", [0, 1]],
550
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
551
+ ["reason", "AdWords::V200902::CampaignCriterionService::NotEmptyErrorReason", [0, 1]]
552
+ ]
553
+ )
554
+
555
+ LiteralRegistry.register(
556
+ :class => AdWords::V200902::CampaignCriterionService::NotWhitelistedError,
557
+ :schema_type => XSD::QName.new(NsV200902, "NotWhitelistedError"),
558
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
559
+ :schema_element => [
560
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
561
+ ["trigger", "SOAP::SOAPString", [0, 1]],
562
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
563
+ ["reason", "AdWords::V200902::CampaignCriterionService::NotWhitelistedErrorReason", [0, 1]]
564
+ ]
565
+ )
566
+
567
+ LiteralRegistry.register(
568
+ :class => AdWords::V200902::CampaignCriterionService::NullError,
569
+ :schema_type => XSD::QName.new(NsV200902, "NullError"),
570
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
571
+ :schema_element => [
572
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
573
+ ["trigger", "SOAP::SOAPString", [0, 1]],
574
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
575
+ ["reason", "AdWords::V200902::CampaignCriterionService::NullErrorReason", [0, 1]]
576
+ ]
577
+ )
578
+
579
+ LiteralRegistry.register(
580
+ :class => AdWords::V200902::CampaignCriterionService::OperatorError,
581
+ :schema_type => XSD::QName.new(NsV200902, "OperatorError"),
582
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
583
+ :schema_element => [
584
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
585
+ ["trigger", "SOAP::SOAPString", [0, 1]],
586
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
587
+ ["reason", "AdWords::V200902::CampaignCriterionService::OperatorErrorReason", [0, 1]]
588
+ ]
589
+ )
590
+
591
+ LiteralRegistry.register(
592
+ :class => AdWords::V200902::CampaignCriterionService::Paging,
593
+ :schema_type => XSD::QName.new(NsV200902, "Paging"),
594
+ :schema_element => [
595
+ ["startIndex", "SOAP::SOAPInt", [0, 1]],
596
+ ["numberResults", "SOAP::SOAPInt", [0, 1]]
597
+ ]
598
+ )
599
+
600
+ LiteralRegistry.register(
601
+ :class => AdWords::V200902::CampaignCriterionService::Placement,
602
+ :schema_type => XSD::QName.new(NsV200902, "Placement"),
603
+ :schema_basetype => XSD::QName.new(NsV200902, "Criterion"),
604
+ :schema_element => [
605
+ ["id", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]],
606
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Criterion.Type")], [0, 1]],
607
+ ["url", "SOAP::SOAPString", [0, 1]]
608
+ ]
609
+ )
610
+
611
+ LiteralRegistry.register(
612
+ :class => AdWords::V200902::CampaignCriterionService::ReadOnlyError,
613
+ :schema_type => XSD::QName.new(NsV200902, "ReadOnlyError"),
614
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
615
+ :schema_element => [
616
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
617
+ ["trigger", "SOAP::SOAPString", [0, 1]],
618
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
619
+ ["reason", "AdWords::V200902::CampaignCriterionService::ReadOnlyErrorReason", [0, 1]]
620
+ ]
621
+ )
622
+
623
+ LiteralRegistry.register(
624
+ :class => AdWords::V200902::CampaignCriterionService::RequiredError,
625
+ :schema_type => XSD::QName.new(NsV200902, "RequiredError"),
626
+ :schema_basetype => XSD::QName.new(NsV200902, "ApiError"),
627
+ :schema_element => [
628
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
629
+ ["trigger", "SOAP::SOAPString", [0, 1]],
630
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApiError.Type")], [0, 1]],
631
+ ["reason", "AdWords::V200902::CampaignCriterionService::RequiredErrorReason", [0, 1]]
632
+ ]
633
+ )
634
+
635
+ LiteralRegistry.register(
636
+ :class => AdWords::V200902::CampaignCriterionService::SoapHeader,
637
+ :schema_type => XSD::QName.new(NsV200902, "SoapHeader"),
638
+ :schema_element => [
639
+ ["authToken", "SOAP::SOAPString", [0, 1]],
640
+ ["clientCustomerId", "SOAP::SOAPString", [0, 1]],
641
+ ["clientEmail", "SOAP::SOAPString", [0, 1]]
642
+ ]
643
+ )
644
+
645
+ LiteralRegistry.register(
646
+ :class => AdWords::V200902::CampaignCriterionService::SoapResponseHeader,
647
+ :schema_type => XSD::QName.new(NsV200902, "SoapResponseHeader"),
648
+ :schema_element => [
649
+ ["requestId", "SOAP::SOAPString", [0, 1]],
650
+ ["operations", "SOAP::SOAPLong", [0, 1]],
651
+ ["responseTime", "SOAP::SOAPLong", [0, 1]]
652
+ ]
653
+ )
654
+
655
+ LiteralRegistry.register(
656
+ :class => AdWords::V200902::CampaignCriterionService::CampaignId,
657
+ :schema_type => XSD::QName.new(NsV200902, "CampaignId"),
658
+ :schema_element => [
659
+ ["id", "SOAP::SOAPLong", [0, 1]],
660
+ ["campaignId_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignId.Type")], [0, 1]]
661
+ ]
662
+ )
663
+
664
+ LiteralRegistry.register(
665
+ :class => AdWords::V200902::CampaignCriterionService::Criterion,
666
+ :schema_type => XSD::QName.new(NsV200902, "Criterion"),
667
+ :schema_element => [
668
+ ["id", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]],
669
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Criterion.Type")], [0, 1]]
670
+ ]
671
+ )
672
+
673
+ LiteralRegistry.register(
674
+ :class => AdWords::V200902::CampaignCriterionService::ApiException,
675
+ :schema_type => XSD::QName.new(NsV200902, "ApiException"),
676
+ :schema_basetype => XSD::QName.new(NsV200902, "ApplicationException"),
677
+ :schema_element => [
678
+ ["message", "SOAP::SOAPString", [0, 1]],
679
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]],
680
+ ["errors", "AdWords::V200902::CampaignCriterionService::ApiError[]", [0, nil]]
681
+ ]
682
+ )
683
+
684
+ LiteralRegistry.register(
685
+ :class => AdWords::V200902::CampaignCriterionService::ApplicationException,
686
+ :schema_type => XSD::QName.new(NsV200902, "ApplicationException"),
687
+ :schema_element => [
688
+ ["message", "SOAP::SOAPString", [0, 1]],
689
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]]
690
+ ]
691
+ )
692
+
693
+ LiteralRegistry.register(
694
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterion,
695
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterion"),
696
+ :schema_element => [
697
+ ["campaignId", "AdWords::V200902::CampaignCriterionService::CampaignId", [0, 1]],
698
+ ["criterion", "AdWords::V200902::CampaignCriterionService::Criterion", [0, 1]],
699
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "CampaignCriterion.Type")], [0, 1]]
700
+ ]
701
+ )
702
+
703
+ LiteralRegistry.register(
704
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionIdFilter,
705
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionIdFilter"),
706
+ :schema_element => [
707
+ ["campaignId", "AdWords::V200902::CampaignCriterionService::CampaignId", [0, 1]],
708
+ ["criterionId", "AdWords::V200902::CampaignCriterionService::CriterionId", [0, 1]]
709
+ ]
710
+ )
711
+
712
+ LiteralRegistry.register(
713
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionOperation,
714
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionOperation"),
715
+ :schema_basetype => XSD::QName.new(NsV200902, "Operation"),
716
+ :schema_element => [
717
+ ["operator", "AdWords::V200902::CampaignCriterionService::Operator", [0, 1]],
718
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Operation.Type")], [0, 1]],
719
+ ["operand", "AdWords::V200902::CampaignCriterionService::CampaignCriterion", [0, 1]]
720
+ ]
721
+ )
722
+
723
+ LiteralRegistry.register(
724
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionPage,
725
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionPage"),
726
+ :schema_basetype => XSD::QName.new(NsV200902, "Page"),
727
+ :schema_element => [
728
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
729
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "Page.Type")], [0, 1]],
730
+ ["entries", "AdWords::V200902::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
731
+ ]
732
+ )
733
+
734
+ LiteralRegistry.register(
735
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionReturnValue,
736
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionReturnValue"),
737
+ :schema_basetype => XSD::QName.new(NsV200902, "ListReturnValue"),
738
+ :schema_element => [
739
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ListReturnValue.Type")], [0, 1]],
740
+ ["value", "AdWords::V200902::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
741
+ ]
742
+ )
743
+
744
+ LiteralRegistry.register(
745
+ :class => AdWords::V200902::CampaignCriterionService::ListReturnValue,
746
+ :schema_type => XSD::QName.new(NsV200902, "ListReturnValue"),
747
+ :schema_element => [
748
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ListReturnValue.Type")], [0, 1]]
749
+ ]
750
+ )
751
+
752
+ LiteralRegistry.register(
753
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionSelector,
754
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionSelector"),
755
+ :schema_element => [
756
+ ["idFilters", "AdWords::V200902::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
757
+ ["paging", "AdWords::V200902::CampaignCriterionService::Paging", [0, 1]]
758
+ ]
759
+ )
760
+
761
+ LiteralRegistry.register(
762
+ :class => AdWords::V200902::CampaignCriterionService::AuthorizationErrorReason,
763
+ :schema_type => XSD::QName.new(NsV200902, "AuthorizationError.Reason")
764
+ )
765
+
766
+ LiteralRegistry.register(
767
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionErrorReason,
768
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionError.Reason")
769
+ )
770
+
771
+ LiteralRegistry.register(
772
+ :class => AdWords::V200902::CampaignCriterionService::CampaignCriterionLimitExceededCriteriaLimitType,
773
+ :schema_type => XSD::QName.new(NsV200902, "CampaignCriterionLimitExceeded.CriteriaLimitType")
774
+ )
775
+
776
+ LiteralRegistry.register(
777
+ :class => AdWords::V200902::CampaignCriterionService::ContentLabelType,
778
+ :schema_type => XSD::QName.new(NsV200902, "ContentLabelType")
779
+ )
780
+
781
+ LiteralRegistry.register(
782
+ :class => AdWords::V200902::CampaignCriterionService::DatabaseErrorReason,
783
+ :schema_type => XSD::QName.new(NsV200902, "DatabaseError.Reason")
784
+ )
785
+
786
+ LiteralRegistry.register(
787
+ :class => AdWords::V200902::CampaignCriterionService::DistinctErrorReason,
788
+ :schema_type => XSD::QName.new(NsV200902, "DistinctError.Reason")
789
+ )
790
+
791
+ LiteralRegistry.register(
792
+ :class => AdWords::V200902::CampaignCriterionService::EntityCountLimitExceededReason,
793
+ :schema_type => XSD::QName.new(NsV200902, "EntityCountLimitExceeded.Reason")
794
+ )
795
+
796
+ LiteralRegistry.register(
797
+ :class => AdWords::V200902::CampaignCriterionService::KeywordMatchType,
798
+ :schema_type => XSD::QName.new(NsV200902, "KeywordMatchType")
799
+ )
800
+
801
+ LiteralRegistry.register(
802
+ :class => AdWords::V200902::CampaignCriterionService::NewEntityCreationErrorReason,
803
+ :schema_type => XSD::QName.new(NsV200902, "NewEntityCreationError.Reason")
804
+ )
805
+
806
+ LiteralRegistry.register(
807
+ :class => AdWords::V200902::CampaignCriterionService::NotEmptyErrorReason,
808
+ :schema_type => XSD::QName.new(NsV200902, "NotEmptyError.Reason")
809
+ )
810
+
811
+ LiteralRegistry.register(
812
+ :class => AdWords::V200902::CampaignCriterionService::NotWhitelistedErrorReason,
813
+ :schema_type => XSD::QName.new(NsV200902, "NotWhitelistedError.Reason")
814
+ )
815
+
816
+ LiteralRegistry.register(
817
+ :class => AdWords::V200902::CampaignCriterionService::NullErrorReason,
818
+ :schema_type => XSD::QName.new(NsV200902, "NullError.Reason")
819
+ )
820
+
821
+ LiteralRegistry.register(
822
+ :class => AdWords::V200902::CampaignCriterionService::Operator,
823
+ :schema_type => XSD::QName.new(NsV200902, "Operator")
824
+ )
825
+
826
+ LiteralRegistry.register(
827
+ :class => AdWords::V200902::CampaignCriterionService::OperatorErrorReason,
828
+ :schema_type => XSD::QName.new(NsV200902, "OperatorError.Reason")
829
+ )
830
+
831
+ LiteralRegistry.register(
832
+ :class => AdWords::V200902::CampaignCriterionService::ReadOnlyErrorReason,
833
+ :schema_type => XSD::QName.new(NsV200902, "ReadOnlyError.Reason")
834
+ )
835
+
836
+ LiteralRegistry.register(
837
+ :class => AdWords::V200902::CampaignCriterionService::RequiredErrorReason,
838
+ :schema_type => XSD::QName.new(NsV200902, "RequiredError.Reason")
839
+ )
840
+
841
+ LiteralRegistry.register(
842
+ :class => AdWords::V200902::CampaignCriterionService::Get,
843
+ :schema_name => XSD::QName.new(NsV200902, "get"),
844
+ :schema_element => [
845
+ ["selector", "AdWords::V200902::CampaignCriterionService::CampaignCriterionSelector", [0, 1]]
846
+ ]
847
+ )
848
+
849
+ LiteralRegistry.register(
850
+ :class => AdWords::V200902::CampaignCriterionService::GetResponse,
851
+ :schema_name => XSD::QName.new(NsV200902, "getResponse"),
852
+ :schema_element => [
853
+ ["rval", "AdWords::V200902::CampaignCriterionService::CampaignCriterionPage", [0, 1]]
854
+ ]
855
+ )
856
+
857
+ LiteralRegistry.register(
858
+ :class => AdWords::V200902::CampaignCriterionService::ApiException,
859
+ :schema_name => XSD::QName.new(NsV200902, "ApiExceptionFault"),
860
+ :schema_element => [
861
+ ["message", "SOAP::SOAPString", [0, 1]],
862
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200902, "ApplicationException.Type")], [0, 1]],
863
+ ["errors", "AdWords::V200902::CampaignCriterionService::ApiError[]", [0, nil]]
864
+ ]
865
+ )
866
+
867
+ LiteralRegistry.register(
868
+ :class => AdWords::V200902::CampaignCriterionService::Mutate,
869
+ :schema_name => XSD::QName.new(NsV200902, "mutate"),
870
+ :schema_element => [
871
+ ["operations", "AdWords::V200902::CampaignCriterionService::CampaignCriterionOperation[]", [0, nil]]
872
+ ]
873
+ )
874
+
875
+ LiteralRegistry.register(
876
+ :class => AdWords::V200902::CampaignCriterionService::MutateResponse,
877
+ :schema_name => XSD::QName.new(NsV200902, "mutateResponse"),
878
+ :schema_element => [
879
+ ["rval", "AdWords::V200902::CampaignCriterionService::CampaignCriterionReturnValue", [0, 1]]
880
+ ]
881
+ )
882
+
883
+ LiteralRegistry.register(
884
+ :class => AdWords::V200902::CampaignCriterionService::SoapHeader,
885
+ :schema_name => XSD::QName.new(NsV200902, "RequestHeader"),
886
+ :schema_element => [
887
+ ["authToken", "SOAP::SOAPString", [0, 1]],
888
+ ["clientCustomerId", "SOAP::SOAPString", [0, 1]],
889
+ ["clientEmail", "SOAP::SOAPString", [0, 1]]
890
+ ]
891
+ )
892
+
893
+ LiteralRegistry.register(
894
+ :class => AdWords::V200902::CampaignCriterionService::SoapResponseHeader,
895
+ :schema_name => XSD::QName.new(NsV200902, "ResponseHeader"),
896
+ :schema_element => [
897
+ ["requestId", "SOAP::SOAPString", [0, 1]],
898
+ ["operations", "SOAP::SOAPLong", [0, 1]],
899
+ ["responseTime", "SOAP::SOAPLong", [0, 1]]
900
+ ]
901
+ )
902
+ end
903
+
904
+ end; end; end