google-adwords-api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/Rakefile +1 -1
  2. data/examples/v201101/add_conversion.rb +97 -0
  3. data/examples/v201101/add_user_list.rb +28 -2
  4. data/examples/v201101/get_all_conversions.rb +88 -0
  5. data/examples/v201101/get_keyword_opportunities.rb +103 -0
  6. data/examples/v201101/update_conversion.rb +96 -0
  7. data/lib/adwords_api/api_config.rb +6 -3
  8. data/lib/adwords_api/errors.rb +4 -1
  9. data/lib/adwords_api/extensions.rb +1 -1
  10. data/lib/adwords_api/v13/AccountServiceDriver.rb +5 -5
  11. data/lib/adwords_api/v13/ReportServiceDriver.rb +7 -7
  12. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +4 -4
  13. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +2 -2
  14. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +2 -2
  15. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +506 -506
  16. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +2 -2
  17. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +428 -428
  18. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +2 -2
  19. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +2 -2
  20. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +2 -2
  21. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +2 -2
  22. data/lib/adwords_api/v200909/CampaignCriterionService.rb +133 -133
  23. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +2 -2
  24. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +184 -184
  25. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +2 -2
  26. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +2 -2
  27. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +1 -1
  28. data/lib/adwords_api/v200909/InfoServiceDriver.rb +1 -1
  29. data/lib/adwords_api/v200909/TargetingIdeaService.rb +907 -907
  30. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +2 -2
  31. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +384 -384
  32. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +2 -2
  33. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +2 -2
  34. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +527 -527
  35. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +2 -2
  36. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +469 -469
  37. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +2 -2
  38. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +2 -2
  39. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +1 -1
  40. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +2 -2
  41. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +2 -2
  42. data/lib/adwords_api/v201003/CampaignCriterionService.rb +133 -133
  43. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +2 -2
  44. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +186 -186
  45. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +2 -2
  46. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +2 -2
  47. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +1 -1
  48. data/lib/adwords_api/v201003/InfoServiceDriver.rb +1 -1
  49. data/lib/adwords_api/v201003/MediaServiceDriver.rb +2 -2
  50. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +3 -3
  51. data/lib/adwords_api/v201003/TargetingIdeaService.rb +1304 -1304
  52. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +2 -2
  53. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +401 -401
  54. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +2 -2
  55. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +2 -2
  56. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +598 -598
  57. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +2 -2
  58. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +680 -680
  59. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +2 -2
  60. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +2 -2
  61. data/lib/adwords_api/v201008/AlertServiceDriver.rb +1 -1
  62. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +1 -1
  63. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +2 -2
  64. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +2 -2
  65. data/lib/adwords_api/v201008/CampaignCriterionService.rb +178 -178
  66. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +2 -2
  67. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +228 -228
  68. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +2 -2
  69. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +2 -2
  70. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +1 -1
  71. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +2 -2
  72. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +1 -1
  73. data/lib/adwords_api/v201008/InfoServiceDriver.rb +1 -1
  74. data/lib/adwords_api/v201008/MediaServiceDriver.rb +2 -2
  75. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +3 -3
  76. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +1 -1
  77. data/lib/adwords_api/v201008/TargetingIdeaService.rb +1459 -1459
  78. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +2 -2
  79. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +447 -447
  80. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +855 -855
  81. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +1 -1
  82. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  83. data/lib/adwords_api/v201008/UserListServiceDriver.rb +2 -2
  84. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +2 -2
  85. data/lib/adwords_api/v201101/AdGroupAdService.rb +2 -0
  86. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +2 -2
  87. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +700 -700
  88. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +2 -2
  89. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +670 -670
  90. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +2 -2
  91. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +2 -2
  92. data/lib/adwords_api/v201101/AlertServiceDriver.rb +1 -1
  93. data/lib/adwords_api/v201101/BulkMutateJobService.rb +2 -0
  94. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +2 -2
  95. data/lib/adwords_api/v201101/BulkOpportunityService.rb +1367 -0
  96. data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +55 -0
  97. data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +1668 -0
  98. data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +303 -0
  99. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +2 -2
  100. data/lib/adwords_api/v201101/CampaignCriterionService.rb +216 -216
  101. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +2 -2
  102. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +234 -234
  103. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +2 -2
  104. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +2 -2
  105. data/lib/adwords_api/v201101/ConversionTrackerService.rb +1105 -0
  106. data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +63 -0
  107. data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +1161 -0
  108. data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +332 -0
  109. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +1 -1
  110. data/lib/adwords_api/v201101/DataServiceDriver.rb +2 -2
  111. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +2 -2
  112. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +1 -1
  113. data/lib/adwords_api/v201101/InfoServiceDriver.rb +1 -1
  114. data/lib/adwords_api/v201101/MediaServiceDriver.rb +2 -2
  115. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +3 -3
  116. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +14 -0
  117. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +1 -1
  118. data/lib/adwords_api/v201101/TargetingIdeaService.rb +1490 -1490
  119. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +2 -2
  120. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +507 -507
  121. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +841 -841
  122. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +1 -1
  123. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  124. data/lib/adwords_api/v201101/UserListServiceDriver.rb +2 -2
  125. metadata +17 -5
@@ -0,0 +1,55 @@
1
+ require 'adwords_api/v201101/BulkOpportunityService'
2
+ require 'adwords_api/v201101/BulkOpportunityServiceMappingRegistry'
3
+ require 'soap/rpc/driver'
4
+
5
+ module AdwordsApi
6
+ module V201101
7
+ module BulkOpportunityService
8
+
9
+ class BulkOpportunityServiceInterface < ::SOAP::RPC::Driver
10
+ DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/o/v201101/BulkOpportunityService"
11
+
12
+ Methods = [
13
+ [ "",
14
+ "get",
15
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/o/v201101", "get"]],
16
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/o/v201101", "getResponse"]] ],
17
+ { :request_style => :document, :request_use => :literal,
18
+ :response_style => :document, :response_use => :literal,
19
+ :faults => {"AdwordsApi::V201101::BulkOpportunityService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/o/v201101", :name=>"ApiException"}} }
20
+ ]
21
+ ]
22
+
23
+ def initialize(endpoint_url = nil)
24
+ endpoint_url ||= DefaultEndpointUrl
25
+ super(endpoint_url, nil)
26
+ self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
27
+ self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
28
+ init_methods
29
+ end
30
+
31
+ private
32
+
33
+ def init_methods
34
+ Methods.each do |definitions|
35
+ opt = definitions.last
36
+ if opt[:request_style] == :document
37
+ add_document_operation(*definitions)
38
+ else
39
+ add_rpc_operation(*definitions)
40
+ qname = definitions[0]
41
+ name = definitions[2]
42
+ if qname.name != name and qname.name.capitalize == name.capitalize
43
+ ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
44
+ __send__(name, *arg)
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+
52
+
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,1668 @@
1
+ require 'adwords_api/v201101/BulkOpportunityService'
2
+ require 'soap/mapping'
3
+
4
+ module AdwordsApi; module V201101; module BulkOpportunityService
5
+
6
+ module DefaultMappingRegistry
7
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
8
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
9
+ NsV201101 = "https://adwords.google.com/api/adwords/cm/v201101"
10
+ NsV201101_0 = "https://adwords.google.com/api/adwords/o/v201101"
11
+
12
+ EncodedRegistry.register(
13
+ :class => AdwordsApi::V201101::BulkOpportunityService::AdGroupBidLandscape,
14
+ :schema_type => XSD::QName.new(NsV201101, "AdGroupBidLandscape"),
15
+ :schema_basetype => XSD::QName.new(NsV201101, "BidLandscape"),
16
+ :schema_element => [
17
+ ["dataEntry_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "DataEntry.Type")], [0, 1]],
18
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
19
+ ["adGroupId", "SOAP::SOAPLong", [0, 1]],
20
+ ["startDate", "SOAP::SOAPString", [0, 1]],
21
+ ["endDate", "SOAP::SOAPString", [0, 1]],
22
+ ["landscapePoints", "AdwordsApi::V201101::BulkOpportunityService::BidLandscapeLandscapePoint[]", [0, nil]],
23
+ ["type", "AdwordsApi::V201101::BulkOpportunityService::AdGroupBidLandscapeType", [0, 1]],
24
+ ["landscapeCurrent", "SOAP::SOAPBoolean", [0, 1]]
25
+ ]
26
+ )
27
+
28
+ EncodedRegistry.register(
29
+ :class => AdwordsApi::V201101::BulkOpportunityService::ApiException,
30
+ :schema_type => XSD::QName.new(NsV201101, "ApiException"),
31
+ :schema_basetype => XSD::QName.new(NsV201101, "ApplicationException"),
32
+ :schema_element => [
33
+ ["message", "SOAP::SOAPString", [0, 1]],
34
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]],
35
+ ["errors", "AdwordsApi::V201101::BulkOpportunityService::ApiError[]", [0, nil]]
36
+ ]
37
+ )
38
+
39
+ EncodedRegistry.register(
40
+ :class => AdwordsApi::V201101::BulkOpportunityService::ApplicationException,
41
+ :schema_type => XSD::QName.new(NsV201101, "ApplicationException"),
42
+ :schema_element => [
43
+ ["message", "SOAP::SOAPString", [0, 1]],
44
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]]
45
+ ]
46
+ )
47
+
48
+ EncodedRegistry.register(
49
+ :class => AdwordsApi::V201101::BulkOpportunityService::AuthenticationError,
50
+ :schema_type => XSD::QName.new(NsV201101, "AuthenticationError"),
51
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
52
+ :schema_element => [
53
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
54
+ ["trigger", "SOAP::SOAPString", [0, 1]],
55
+ ["errorString", "SOAP::SOAPString", [0, 1]],
56
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
57
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::AuthenticationErrorReason", [0, 1]]
58
+ ]
59
+ )
60
+
61
+ EncodedRegistry.register(
62
+ :class => AdwordsApi::V201101::BulkOpportunityService::AuthorizationError,
63
+ :schema_type => XSD::QName.new(NsV201101, "AuthorizationError"),
64
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
65
+ :schema_element => [
66
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
67
+ ["trigger", "SOAP::SOAPString", [0, 1]],
68
+ ["errorString", "SOAP::SOAPString", [0, 1]],
69
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
70
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::AuthorizationErrorReason", [0, 1]]
71
+ ]
72
+ )
73
+
74
+ EncodedRegistry.register(
75
+ :class => AdwordsApi::V201101::BulkOpportunityService::BidLandscapeLandscapePoint,
76
+ :schema_type => XSD::QName.new(NsV201101, "BidLandscape.LandscapePoint"),
77
+ :schema_element => [
78
+ ["bid", "AdwordsApi::V201101::BulkOpportunityService::Money", [0, 1]],
79
+ ["clicks", "SOAP::SOAPLong", [0, 1]],
80
+ ["cost", "AdwordsApi::V201101::BulkOpportunityService::Money", [0, 1]],
81
+ ["marginalCpc", "AdwordsApi::V201101::BulkOpportunityService::Money", [0, 1]],
82
+ ["impressions", "SOAP::SOAPLong", [0, 1]]
83
+ ]
84
+ )
85
+
86
+ EncodedRegistry.register(
87
+ :class => AdwordsApi::V201101::BulkOpportunityService::ClientTermsError,
88
+ :schema_type => XSD::QName.new(NsV201101, "ClientTermsError"),
89
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
90
+ :schema_element => [
91
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
92
+ ["trigger", "SOAP::SOAPString", [0, 1]],
93
+ ["errorString", "SOAP::SOAPString", [0, 1]],
94
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
95
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::ClientTermsErrorReason", [0, 1]]
96
+ ]
97
+ )
98
+
99
+ EncodedRegistry.register(
100
+ :class => AdwordsApi::V201101::BulkOpportunityService::Criterion,
101
+ :schema_type => XSD::QName.new(NsV201101, "Criterion"),
102
+ :schema_element => [
103
+ ["id", "SOAP::SOAPLong", [0, 1]],
104
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]]
105
+ ]
106
+ )
107
+
108
+ EncodedRegistry.register(
109
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionBidLandscape,
110
+ :schema_type => XSD::QName.new(NsV201101, "CriterionBidLandscape"),
111
+ :schema_basetype => XSD::QName.new(NsV201101, "BidLandscape"),
112
+ :schema_element => [
113
+ ["dataEntry_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "DataEntry.Type")], [0, 1]],
114
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
115
+ ["adGroupId", "SOAP::SOAPLong", [0, 1]],
116
+ ["startDate", "SOAP::SOAPString", [0, 1]],
117
+ ["endDate", "SOAP::SOAPString", [0, 1]],
118
+ ["landscapePoints", "AdwordsApi::V201101::BulkOpportunityService::BidLandscapeLandscapePoint[]", [0, nil]],
119
+ ["criterionId", "SOAP::SOAPLong", [0, 1]]
120
+ ]
121
+ )
122
+
123
+ EncodedRegistry.register(
124
+ :class => AdwordsApi::V201101::BulkOpportunityService::DatabaseError,
125
+ :schema_type => XSD::QName.new(NsV201101, "DatabaseError"),
126
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
127
+ :schema_element => [
128
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
129
+ ["trigger", "SOAP::SOAPString", [0, 1]],
130
+ ["errorString", "SOAP::SOAPString", [0, 1]],
131
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
132
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::DatabaseErrorReason", [0, 1]]
133
+ ]
134
+ )
135
+
136
+ EncodedRegistry.register(
137
+ :class => AdwordsApi::V201101::BulkOpportunityService::DoubleValue,
138
+ :schema_type => XSD::QName.new(NsV201101, "DoubleValue"),
139
+ :schema_basetype => XSD::QName.new(NsV201101, "NumberValue"),
140
+ :schema_element => [
141
+ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ComparableValue.Type")], [0, 1]],
142
+ ["number", "SOAP::SOAPDouble", [0, 1]]
143
+ ]
144
+ )
145
+
146
+ EncodedRegistry.register(
147
+ :class => AdwordsApi::V201101::BulkOpportunityService::InternalApiError,
148
+ :schema_type => XSD::QName.new(NsV201101, "InternalApiError"),
149
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
150
+ :schema_element => [
151
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
152
+ ["trigger", "SOAP::SOAPString", [0, 1]],
153
+ ["errorString", "SOAP::SOAPString", [0, 1]],
154
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
155
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::InternalApiErrorReason", [0, 1]]
156
+ ]
157
+ )
158
+
159
+ EncodedRegistry.register(
160
+ :class => AdwordsApi::V201101::BulkOpportunityService::Keyword,
161
+ :schema_type => XSD::QName.new(NsV201101, "Keyword"),
162
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
163
+ :schema_element => [
164
+ ["id", "SOAP::SOAPLong", [0, 1]],
165
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
166
+ ["text", "SOAP::SOAPString", [0, 1]],
167
+ ["matchType", "AdwordsApi::V201101::BulkOpportunityService::KeywordMatchType", [0, 1]]
168
+ ]
169
+ )
170
+
171
+ EncodedRegistry.register(
172
+ :class => AdwordsApi::V201101::BulkOpportunityService::LongValue,
173
+ :schema_type => XSD::QName.new(NsV201101, "LongValue"),
174
+ :schema_basetype => XSD::QName.new(NsV201101, "NumberValue"),
175
+ :schema_element => [
176
+ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ComparableValue.Type")], [0, 1]],
177
+ ["number", "SOAP::SOAPLong", [0, 1]]
178
+ ]
179
+ )
180
+
181
+ EncodedRegistry.register(
182
+ :class => AdwordsApi::V201101::BulkOpportunityService::Money,
183
+ :schema_type => XSD::QName.new(NsV201101, "Money"),
184
+ :schema_basetype => XSD::QName.new(NsV201101, "ComparableValue"),
185
+ :schema_element => [
186
+ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ComparableValue.Type")], [0, 1]],
187
+ ["microAmount", "SOAP::SOAPLong", [0, 1]]
188
+ ]
189
+ )
190
+
191
+ EncodedRegistry.register(
192
+ :class => AdwordsApi::V201101::BulkOpportunityService::NotWhitelistedError,
193
+ :schema_type => XSD::QName.new(NsV201101, "NotWhitelistedError"),
194
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
195
+ :schema_element => [
196
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
197
+ ["trigger", "SOAP::SOAPString", [0, 1]],
198
+ ["errorString", "SOAP::SOAPString", [0, 1]],
199
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
200
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::NotWhitelistedErrorReason", [0, 1]]
201
+ ]
202
+ )
203
+
204
+ EncodedRegistry.register(
205
+ :class => AdwordsApi::V201101::BulkOpportunityService::NullError,
206
+ :schema_type => XSD::QName.new(NsV201101, "NullError"),
207
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
208
+ :schema_element => [
209
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
210
+ ["trigger", "SOAP::SOAPString", [0, 1]],
211
+ ["errorString", "SOAP::SOAPString", [0, 1]],
212
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
213
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::NullErrorReason", [0, 1]]
214
+ ]
215
+ )
216
+
217
+ EncodedRegistry.register(
218
+ :class => AdwordsApi::V201101::BulkOpportunityService::Paging,
219
+ :schema_type => XSD::QName.new(NsV201101, "Paging"),
220
+ :schema_element => [
221
+ ["startIndex", "SOAP::SOAPInt", [0, 1]],
222
+ ["numberResults", "SOAP::SOAPInt", [0, 1]]
223
+ ]
224
+ )
225
+
226
+ EncodedRegistry.register(
227
+ :class => AdwordsApi::V201101::BulkOpportunityService::Placement,
228
+ :schema_type => XSD::QName.new(NsV201101, "Placement"),
229
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
230
+ :schema_element => [
231
+ ["id", "SOAP::SOAPLong", [0, 1]],
232
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
233
+ ["url", "SOAP::SOAPString", [0, 1]]
234
+ ]
235
+ )
236
+
237
+ EncodedRegistry.register(
238
+ :class => AdwordsApi::V201101::BulkOpportunityService::Product,
239
+ :schema_type => XSD::QName.new(NsV201101, "Product"),
240
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
241
+ :schema_element => [
242
+ ["id", "SOAP::SOAPLong", [0, 1]],
243
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
244
+ ["conditions", "AdwordsApi::V201101::BulkOpportunityService::ProductCondition[]", [0, nil]],
245
+ ["text", "SOAP::SOAPString", [0, 1]]
246
+ ]
247
+ )
248
+
249
+ EncodedRegistry.register(
250
+ :class => AdwordsApi::V201101::BulkOpportunityService::ProductCondition,
251
+ :schema_type => XSD::QName.new(NsV201101, "ProductCondition"),
252
+ :schema_element => [
253
+ ["argument", "SOAP::SOAPString", [0, 1]],
254
+ ["operand", "AdwordsApi::V201101::BulkOpportunityService::ProductConditionOperand", [0, 1]]
255
+ ]
256
+ )
257
+
258
+ EncodedRegistry.register(
259
+ :class => AdwordsApi::V201101::BulkOpportunityService::ProductConditionOperand,
260
+ :schema_type => XSD::QName.new(NsV201101, "ProductConditionOperand"),
261
+ :schema_element => [
262
+ ["operand", "SOAP::SOAPString", [0, 1]]
263
+ ]
264
+ )
265
+
266
+ EncodedRegistry.register(
267
+ :class => AdwordsApi::V201101::BulkOpportunityService::QuotaCheckError,
268
+ :schema_type => XSD::QName.new(NsV201101, "QuotaCheckError"),
269
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
270
+ :schema_element => [
271
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
272
+ ["trigger", "SOAP::SOAPString", [0, 1]],
273
+ ["errorString", "SOAP::SOAPString", [0, 1]],
274
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
275
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::QuotaCheckErrorReason", [0, 1]]
276
+ ]
277
+ )
278
+
279
+ EncodedRegistry.register(
280
+ :class => AdwordsApi::V201101::BulkOpportunityService::RateExceededError,
281
+ :schema_type => XSD::QName.new(NsV201101, "RateExceededError"),
282
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
283
+ :schema_element => [
284
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
285
+ ["trigger", "SOAP::SOAPString", [0, 1]],
286
+ ["errorString", "SOAP::SOAPString", [0, 1]],
287
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
288
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::RateExceededErrorReason", [0, 1]],
289
+ ["rateName", "SOAP::SOAPString", [0, 1]],
290
+ ["rateScope", "SOAP::SOAPString", [0, 1]],
291
+ ["retryAfterSeconds", "SOAP::SOAPInt", [0, 1]]
292
+ ]
293
+ )
294
+
295
+ EncodedRegistry.register(
296
+ :class => AdwordsApi::V201101::BulkOpportunityService::RequestError,
297
+ :schema_type => XSD::QName.new(NsV201101, "RequestError"),
298
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
299
+ :schema_element => [
300
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
301
+ ["trigger", "SOAP::SOAPString", [0, 1]],
302
+ ["errorString", "SOAP::SOAPString", [0, 1]],
303
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
304
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::RequestErrorReason", [0, 1]]
305
+ ]
306
+ )
307
+
308
+ EncodedRegistry.register(
309
+ :class => AdwordsApi::V201101::BulkOpportunityService::RequiredError,
310
+ :schema_type => XSD::QName.new(NsV201101, "RequiredError"),
311
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
312
+ :schema_element => [
313
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
314
+ ["trigger", "SOAP::SOAPString", [0, 1]],
315
+ ["errorString", "SOAP::SOAPString", [0, 1]],
316
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
317
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::RequiredErrorReason", [0, 1]]
318
+ ]
319
+ )
320
+
321
+ EncodedRegistry.register(
322
+ :class => AdwordsApi::V201101::BulkOpportunityService::SizeLimitError,
323
+ :schema_type => XSD::QName.new(NsV201101, "SizeLimitError"),
324
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
325
+ :schema_element => [
326
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
327
+ ["trigger", "SOAP::SOAPString", [0, 1]],
328
+ ["errorString", "SOAP::SOAPString", [0, 1]],
329
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
330
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::SizeLimitErrorReason", [0, 1]]
331
+ ]
332
+ )
333
+
334
+ EncodedRegistry.register(
335
+ :class => AdwordsApi::V201101::BulkOpportunityService::SoapHeader,
336
+ :schema_type => XSD::QName.new(NsV201101, "SoapHeader"),
337
+ :schema_element => [
338
+ ["authToken", "SOAP::SOAPString", [0, 1]],
339
+ ["clientCustomerId", "SOAP::SOAPString", [0, 1]],
340
+ ["clientEmail", "SOAP::SOAPString", [0, 1]],
341
+ ["developerToken", "SOAP::SOAPString", [0, 1]],
342
+ ["userAgent", "SOAP::SOAPString", [0, 1]],
343
+ ["validateOnly", "SOAP::SOAPBoolean", [0, 1]],
344
+ ["partialFailure", "SOAP::SOAPBoolean", [0, 1]]
345
+ ]
346
+ )
347
+
348
+ EncodedRegistry.register(
349
+ :class => AdwordsApi::V201101::BulkOpportunityService::SoapResponseHeader,
350
+ :schema_type => XSD::QName.new(NsV201101, "SoapResponseHeader"),
351
+ :schema_element => [
352
+ ["requestId", "SOAP::SOAPString", [0, 1]],
353
+ ["operations", "SOAP::SOAPLong", [0, 1]],
354
+ ["responseTime", "SOAP::SOAPLong", [0, 1]],
355
+ ["units", "SOAP::SOAPLong", [0, 1]]
356
+ ]
357
+ )
358
+
359
+ EncodedRegistry.register(
360
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionUserInterest,
361
+ :schema_type => XSD::QName.new(NsV201101, "CriterionUserInterest"),
362
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
363
+ :schema_element => [
364
+ ["id", "SOAP::SOAPLong", [0, 1]],
365
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
366
+ ["userInterestId", "SOAP::SOAPLong", [0, 1]],
367
+ ["userInterestName", "SOAP::SOAPString", [0, 1]]
368
+ ]
369
+ )
370
+
371
+ EncodedRegistry.register(
372
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionUserList,
373
+ :schema_type => XSD::QName.new(NsV201101, "CriterionUserList"),
374
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
375
+ :schema_element => [
376
+ ["id", "SOAP::SOAPLong", [0, 1]],
377
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
378
+ ["userListId", "SOAP::SOAPLong", [0, 1]],
379
+ ["userListName", "SOAP::SOAPString", [0, 1]],
380
+ ["userListMembershipStatus", "AdwordsApi::V201101::BulkOpportunityService::CriterionUserListMembershipStatus", [0, 1]]
381
+ ]
382
+ )
383
+
384
+ EncodedRegistry.register(
385
+ :class => AdwordsApi::V201101::BulkOpportunityService::Vertical,
386
+ :schema_type => XSD::QName.new(NsV201101, "Vertical"),
387
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
388
+ :schema_element => [
389
+ ["id", "SOAP::SOAPLong", [0, 1]],
390
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
391
+ ["path", "SOAP::SOAPString[]", [0, nil]]
392
+ ]
393
+ )
394
+
395
+ EncodedRegistry.register(
396
+ :class => AdwordsApi::V201101::BulkOpportunityService::AdFormatSpec,
397
+ :schema_type => XSD::QName.new(NsV201101_0, "AdFormatSpec"),
398
+ :schema_element => [
399
+ ["format", "AdwordsApi::V201101::BulkOpportunityService::SiteConstantsAdFormat", [0, 1]]
400
+ ]
401
+ )
402
+
403
+ EncodedRegistry.register(
404
+ :class => AdwordsApi::V201101::BulkOpportunityService::AdFormatSpecListAttribute,
405
+ :schema_type => XSD::QName.new(NsV201101_0, "AdFormatSpecListAttribute"),
406
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
407
+ :schema_element => [
408
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
409
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::AdFormatSpec[]", [0, nil]]
410
+ ]
411
+ )
412
+
413
+ EncodedRegistry.register(
414
+ :class => AdwordsApi::V201101::BulkOpportunityService::BidLandscapeAttribute,
415
+ :schema_type => XSD::QName.new(NsV201101_0, "BidLandscapeAttribute"),
416
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
417
+ :schema_element => [
418
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
419
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::BidLandscape", [0, 1]]
420
+ ]
421
+ )
422
+
423
+ EncodedRegistry.register(
424
+ :class => AdwordsApi::V201101::BulkOpportunityService::BooleanAttribute,
425
+ :schema_type => XSD::QName.new(NsV201101_0, "BooleanAttribute"),
426
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
427
+ :schema_element => [
428
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
429
+ ["value", "SOAP::SOAPBoolean", [0, 1]]
430
+ ]
431
+ )
432
+
433
+ EncodedRegistry.register(
434
+ :class => AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityPage,
435
+ :schema_type => XSD::QName.new(NsV201101_0, "BulkOpportunityPage"),
436
+ :schema_element => [
437
+ ["entries", "AdwordsApi::V201101::BulkOpportunityService::Opportunity[]", [0, nil]],
438
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]]
439
+ ]
440
+ )
441
+
442
+ EncodedRegistry.register(
443
+ :class => AdwordsApi::V201101::BulkOpportunityService::BulkOpportunitySelector,
444
+ :schema_type => XSD::QName.new(NsV201101_0, "BulkOpportunitySelector"),
445
+ :schema_element => [
446
+ ["ideaTypes", "AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaType[]", [0, nil]],
447
+ ["requestedAttributeTypes", "AdwordsApi::V201101::BulkOpportunityService::OpportunityAttributeType[]", [0, nil]],
448
+ ["paging", "AdwordsApi::V201101::BulkOpportunityService::Paging", [0, 1]]
449
+ ]
450
+ )
451
+
452
+ EncodedRegistry.register(
453
+ :class => AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityServiceError,
454
+ :schema_type => XSD::QName.new(NsV201101_0, "BulkOpportunityServiceError"),
455
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
456
+ :schema_element => [
457
+ ["fieldPath", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "fieldPath")], [0, 1]],
458
+ ["trigger", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "trigger")], [0, 1]],
459
+ ["errorString", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "errorString")], [0, 1]],
460
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
461
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityServiceErrorReason", [0, 1]]
462
+ ]
463
+ )
464
+
465
+ EncodedRegistry.register(
466
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionAttribute,
467
+ :schema_type => XSD::QName.new(NsV201101_0, "CriterionAttribute"),
468
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
469
+ :schema_element => [
470
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
471
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Criterion", [0, 1]]
472
+ ]
473
+ )
474
+
475
+ EncodedRegistry.register(
476
+ :class => AdwordsApi::V201101::BulkOpportunityService::DoubleAttribute,
477
+ :schema_type => XSD::QName.new(NsV201101_0, "DoubleAttribute"),
478
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
479
+ :schema_element => [
480
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
481
+ ["value", "SOAP::SOAPDouble", [0, 1]]
482
+ ]
483
+ )
484
+
485
+ EncodedRegistry.register(
486
+ :class => AdwordsApi::V201101::BulkOpportunityService::IdeaTypeAttribute,
487
+ :schema_type => XSD::QName.new(NsV201101_0, "IdeaTypeAttribute"),
488
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
489
+ :schema_element => [
490
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
491
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::IdeaType", [0, 1]]
492
+ ]
493
+ )
494
+
495
+ EncodedRegistry.register(
496
+ :class => AdwordsApi::V201101::BulkOpportunityService::InStreamAdInfo,
497
+ :schema_type => XSD::QName.new(NsV201101_0, "InStreamAdInfo"),
498
+ :schema_element => [
499
+ ["maxAdDuration", "SOAP::SOAPInt", [0, 1]],
500
+ ["minAdDuration", "SOAP::SOAPInt", [0, 1]],
501
+ ["medianAdDuration", "SOAP::SOAPInt", [0, 1]],
502
+ ["preRollPercent", "SOAP::SOAPDouble", [0, 1]],
503
+ ["midRollPercent", "SOAP::SOAPDouble", [0, 1]],
504
+ ["postRollPercent", "SOAP::SOAPDouble", [0, 1]]
505
+ ]
506
+ )
507
+
508
+ EncodedRegistry.register(
509
+ :class => AdwordsApi::V201101::BulkOpportunityService::InStreamAdInfoAttribute,
510
+ :schema_type => XSD::QName.new(NsV201101_0, "InStreamAdInfoAttribute"),
511
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
512
+ :schema_element => [
513
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
514
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::InStreamAdInfo", [0, 1]]
515
+ ]
516
+ )
517
+
518
+ EncodedRegistry.register(
519
+ :class => AdwordsApi::V201101::BulkOpportunityService::IntegerAttribute,
520
+ :schema_type => XSD::QName.new(NsV201101_0, "IntegerAttribute"),
521
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
522
+ :schema_element => [
523
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
524
+ ["value", "SOAP::SOAPInt", [0, 1]]
525
+ ]
526
+ )
527
+
528
+ EncodedRegistry.register(
529
+ :class => AdwordsApi::V201101::BulkOpportunityService::IntegerSetAttribute,
530
+ :schema_type => XSD::QName.new(NsV201101_0, "IntegerSetAttribute"),
531
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
532
+ :schema_element => [
533
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
534
+ ["value", "SOAP::SOAPInt[]", [0, nil]]
535
+ ]
536
+ )
537
+
538
+ EncodedRegistry.register(
539
+ :class => AdwordsApi::V201101::BulkOpportunityService::KeywordAttribute,
540
+ :schema_type => XSD::QName.new(NsV201101_0, "KeywordAttribute"),
541
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
542
+ :schema_element => [
543
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
544
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Keyword", [0, 1]]
545
+ ]
546
+ )
547
+
548
+ EncodedRegistry.register(
549
+ :class => AdwordsApi::V201101::BulkOpportunityService::LongAttribute,
550
+ :schema_type => XSD::QName.new(NsV201101_0, "LongAttribute"),
551
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
552
+ :schema_element => [
553
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
554
+ ["value", "SOAP::SOAPLong", [0, 1]]
555
+ ]
556
+ )
557
+
558
+ EncodedRegistry.register(
559
+ :class => AdwordsApi::V201101::BulkOpportunityService::LongRangeAttribute,
560
+ :schema_type => XSD::QName.new(NsV201101_0, "LongRangeAttribute"),
561
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
562
+ :schema_element => [
563
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
564
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::C_Range", [0, 1]]
565
+ ]
566
+ )
567
+
568
+ EncodedRegistry.register(
569
+ :class => AdwordsApi::V201101::BulkOpportunityService::MoneyAttribute,
570
+ :schema_type => XSD::QName.new(NsV201101_0, "MoneyAttribute"),
571
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
572
+ :schema_element => [
573
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
574
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Money", [0, 1]]
575
+ ]
576
+ )
577
+
578
+ EncodedRegistry.register(
579
+ :class => AdwordsApi::V201101::BulkOpportunityService::MonthlySearchVolume,
580
+ :schema_type => XSD::QName.new(NsV201101_0, "MonthlySearchVolume"),
581
+ :schema_element => [
582
+ ["year", "SOAP::SOAPInt", [0, 1]],
583
+ ["month", "SOAP::SOAPInt", [0, 1]],
584
+ ["count", "SOAP::SOAPLong", [0, 1]]
585
+ ]
586
+ )
587
+
588
+ EncodedRegistry.register(
589
+ :class => AdwordsApi::V201101::BulkOpportunityService::MonthlySearchVolumeAttribute,
590
+ :schema_type => XSD::QName.new(NsV201101_0, "MonthlySearchVolumeAttribute"),
591
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
592
+ :schema_element => [
593
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
594
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::MonthlySearchVolume[]", [0, nil]]
595
+ ]
596
+ )
597
+
598
+ EncodedRegistry.register(
599
+ :class => AdwordsApi::V201101::BulkOpportunityService::Opportunity,
600
+ :schema_type => XSD::QName.new(NsV201101_0, "Opportunity"),
601
+ :schema_element => [
602
+ ["opportunityIdeas", "AdwordsApi::V201101::BulkOpportunityService::OpportunityIdea[]", [0, nil]]
603
+ ]
604
+ )
605
+
606
+ EncodedRegistry.register(
607
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityAttribute_AttributeMapEntry,
608
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityAttribute_AttributeMapEntry"),
609
+ :schema_element => [
610
+ ["key", "AdwordsApi::V201101::BulkOpportunityService::OpportunityAttributeType", [0, 1]],
611
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Attribute", [0, 1]]
612
+ ]
613
+ )
614
+
615
+ EncodedRegistry.register(
616
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityError,
617
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityError"),
618
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
619
+ :schema_element => [
620
+ ["fieldPath", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "fieldPath")], [0, 1]],
621
+ ["trigger", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "trigger")], [0, 1]],
622
+ ["errorString", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "errorString")], [0, 1]],
623
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
624
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::OpportunityErrorReason", [0, 1]]
625
+ ]
626
+ )
627
+
628
+ EncodedRegistry.register(
629
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityIdea,
630
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityIdea"),
631
+ :schema_element => [
632
+ ["data", "AdwordsApi::V201101::BulkOpportunityService::OpportunityAttribute_AttributeMapEntry[]", [0, nil]]
633
+ ]
634
+ )
635
+
636
+ EncodedRegistry.register(
637
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaTypeAttribute,
638
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityIdeaTypeAttribute"),
639
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
640
+ :schema_element => [
641
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
642
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaType", [0, 1]]
643
+ ]
644
+ )
645
+
646
+ EncodedRegistry.register(
647
+ :class => AdwordsApi::V201101::BulkOpportunityService::PlacementAttribute,
648
+ :schema_type => XSD::QName.new(NsV201101_0, "PlacementAttribute"),
649
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
650
+ :schema_element => [
651
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
652
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Placement", [0, 1]]
653
+ ]
654
+ )
655
+
656
+ EncodedRegistry.register(
657
+ :class => AdwordsApi::V201101::BulkOpportunityService::PlacementTypeAttribute,
658
+ :schema_type => XSD::QName.new(NsV201101_0, "PlacementTypeAttribute"),
659
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
660
+ :schema_element => [
661
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
662
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::SiteConstantsPlacementType", [0, 1]]
663
+ ]
664
+ )
665
+
666
+ EncodedRegistry.register(
667
+ :class => AdwordsApi::V201101::BulkOpportunityService::C_Range,
668
+ :schema_type => XSD::QName.new(NsV201101_0, "Range"),
669
+ :schema_element => [
670
+ ["min", "AdwordsApi::V201101::BulkOpportunityService::ComparableValue", [0, 1]],
671
+ ["max", "AdwordsApi::V201101::BulkOpportunityService::ComparableValue", [0, 1]]
672
+ ]
673
+ )
674
+
675
+ EncodedRegistry.register(
676
+ :class => AdwordsApi::V201101::BulkOpportunityService::StringAttribute,
677
+ :schema_type => XSD::QName.new(NsV201101_0, "StringAttribute"),
678
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
679
+ :schema_element => [
680
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
681
+ ["value", "SOAP::SOAPString", [0, 1]]
682
+ ]
683
+ )
684
+
685
+ EncodedRegistry.register(
686
+ :class => AdwordsApi::V201101::BulkOpportunityService::WebpageDescriptor,
687
+ :schema_type => XSD::QName.new(NsV201101_0, "WebpageDescriptor"),
688
+ :schema_element => [
689
+ ["url", "SOAP::SOAPString", [0, 1]],
690
+ ["title", "SOAP::SOAPString", [0, 1]]
691
+ ]
692
+ )
693
+
694
+ EncodedRegistry.register(
695
+ :class => AdwordsApi::V201101::BulkOpportunityService::WebpageDescriptorAttribute,
696
+ :schema_type => XSD::QName.new(NsV201101_0, "WebpageDescriptorAttribute"),
697
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
698
+ :schema_element => [
699
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
700
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::WebpageDescriptor", [0, 1]]
701
+ ]
702
+ )
703
+
704
+ EncodedRegistry.register(
705
+ :class => AdwordsApi::V201101::BulkOpportunityService::AdGroupBidLandscapeType,
706
+ :schema_type => XSD::QName.new(NsV201101, "AdGroupBidLandscape.Type")
707
+ )
708
+
709
+ EncodedRegistry.register(
710
+ :class => AdwordsApi::V201101::BulkOpportunityService::AuthenticationErrorReason,
711
+ :schema_type => XSD::QName.new(NsV201101, "AuthenticationError.Reason")
712
+ )
713
+
714
+ EncodedRegistry.register(
715
+ :class => AdwordsApi::V201101::BulkOpportunityService::AuthorizationErrorReason,
716
+ :schema_type => XSD::QName.new(NsV201101, "AuthorizationError.Reason")
717
+ )
718
+
719
+ EncodedRegistry.register(
720
+ :class => AdwordsApi::V201101::BulkOpportunityService::ClientTermsErrorReason,
721
+ :schema_type => XSD::QName.new(NsV201101, "ClientTermsError.Reason")
722
+ )
723
+
724
+ EncodedRegistry.register(
725
+ :class => AdwordsApi::V201101::BulkOpportunityService::DatabaseErrorReason,
726
+ :schema_type => XSD::QName.new(NsV201101, "DatabaseError.Reason")
727
+ )
728
+
729
+ EncodedRegistry.register(
730
+ :class => AdwordsApi::V201101::BulkOpportunityService::InternalApiErrorReason,
731
+ :schema_type => XSD::QName.new(NsV201101, "InternalApiError.Reason")
732
+ )
733
+
734
+ EncodedRegistry.register(
735
+ :class => AdwordsApi::V201101::BulkOpportunityService::KeywordMatchType,
736
+ :schema_type => XSD::QName.new(NsV201101, "KeywordMatchType")
737
+ )
738
+
739
+ EncodedRegistry.register(
740
+ :class => AdwordsApi::V201101::BulkOpportunityService::NotWhitelistedErrorReason,
741
+ :schema_type => XSD::QName.new(NsV201101, "NotWhitelistedError.Reason")
742
+ )
743
+
744
+ EncodedRegistry.register(
745
+ :class => AdwordsApi::V201101::BulkOpportunityService::NullErrorReason,
746
+ :schema_type => XSD::QName.new(NsV201101, "NullError.Reason")
747
+ )
748
+
749
+ EncodedRegistry.register(
750
+ :class => AdwordsApi::V201101::BulkOpportunityService::QuotaCheckErrorReason,
751
+ :schema_type => XSD::QName.new(NsV201101, "QuotaCheckError.Reason")
752
+ )
753
+
754
+ EncodedRegistry.register(
755
+ :class => AdwordsApi::V201101::BulkOpportunityService::RateExceededErrorReason,
756
+ :schema_type => XSD::QName.new(NsV201101, "RateExceededError.Reason")
757
+ )
758
+
759
+ EncodedRegistry.register(
760
+ :class => AdwordsApi::V201101::BulkOpportunityService::RequestErrorReason,
761
+ :schema_type => XSD::QName.new(NsV201101, "RequestError.Reason")
762
+ )
763
+
764
+ EncodedRegistry.register(
765
+ :class => AdwordsApi::V201101::BulkOpportunityService::RequiredErrorReason,
766
+ :schema_type => XSD::QName.new(NsV201101, "RequiredError.Reason")
767
+ )
768
+
769
+ EncodedRegistry.register(
770
+ :class => AdwordsApi::V201101::BulkOpportunityService::SizeLimitErrorReason,
771
+ :schema_type => XSD::QName.new(NsV201101, "SizeLimitError.Reason")
772
+ )
773
+
774
+ EncodedRegistry.register(
775
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionUserListMembershipStatus,
776
+ :schema_type => XSD::QName.new(NsV201101, "CriterionUserList.MembershipStatus")
777
+ )
778
+
779
+ EncodedRegistry.register(
780
+ :class => AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityServiceErrorReason,
781
+ :schema_type => XSD::QName.new(NsV201101_0, "BulkOpportunityServiceError.Reason")
782
+ )
783
+
784
+ EncodedRegistry.register(
785
+ :class => AdwordsApi::V201101::BulkOpportunityService::IdeaType,
786
+ :schema_type => XSD::QName.new(NsV201101_0, "IdeaType")
787
+ )
788
+
789
+ EncodedRegistry.register(
790
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityAttributeType,
791
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityAttributeType")
792
+ )
793
+
794
+ EncodedRegistry.register(
795
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityErrorReason,
796
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityError.Reason")
797
+ )
798
+
799
+ EncodedRegistry.register(
800
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaType,
801
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityIdeaType")
802
+ )
803
+
804
+ EncodedRegistry.register(
805
+ :class => AdwordsApi::V201101::BulkOpportunityService::SiteConstantsAdFormat,
806
+ :schema_type => XSD::QName.new(NsV201101_0, "SiteConstants.AdFormat")
807
+ )
808
+
809
+ EncodedRegistry.register(
810
+ :class => AdwordsApi::V201101::BulkOpportunityService::SiteConstantsPlacementType,
811
+ :schema_type => XSD::QName.new(NsV201101_0, "SiteConstants.PlacementType")
812
+ )
813
+
814
+ LiteralRegistry.register(
815
+ :class => AdwordsApi::V201101::BulkOpportunityService::AdGroupBidLandscape,
816
+ :schema_type => XSD::QName.new(NsV201101, "AdGroupBidLandscape"),
817
+ :schema_basetype => XSD::QName.new(NsV201101, "BidLandscape"),
818
+ :schema_element => [
819
+ ["dataEntry_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "DataEntry.Type")], [0, 1]],
820
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
821
+ ["adGroupId", "SOAP::SOAPLong", [0, 1]],
822
+ ["startDate", "SOAP::SOAPString", [0, 1]],
823
+ ["endDate", "SOAP::SOAPString", [0, 1]],
824
+ ["landscapePoints", "AdwordsApi::V201101::BulkOpportunityService::BidLandscapeLandscapePoint[]", [0, nil]],
825
+ ["type", "AdwordsApi::V201101::BulkOpportunityService::AdGroupBidLandscapeType", [0, 1]],
826
+ ["landscapeCurrent", "SOAP::SOAPBoolean", [0, 1]]
827
+ ]
828
+ )
829
+
830
+ LiteralRegistry.register(
831
+ :class => AdwordsApi::V201101::BulkOpportunityService::ApiException,
832
+ :schema_type => XSD::QName.new(NsV201101, "ApiException"),
833
+ :schema_basetype => XSD::QName.new(NsV201101, "ApplicationException"),
834
+ :schema_element => [
835
+ ["message", "SOAP::SOAPString", [0, 1]],
836
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]],
837
+ ["errors", "AdwordsApi::V201101::BulkOpportunityService::ApiError[]", [0, nil]]
838
+ ]
839
+ )
840
+
841
+ LiteralRegistry.register(
842
+ :class => AdwordsApi::V201101::BulkOpportunityService::ApplicationException,
843
+ :schema_type => XSD::QName.new(NsV201101, "ApplicationException"),
844
+ :schema_element => [
845
+ ["message", "SOAP::SOAPString", [0, 1]],
846
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]]
847
+ ]
848
+ )
849
+
850
+ LiteralRegistry.register(
851
+ :class => AdwordsApi::V201101::BulkOpportunityService::AuthenticationError,
852
+ :schema_type => XSD::QName.new(NsV201101, "AuthenticationError"),
853
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
854
+ :schema_element => [
855
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
856
+ ["trigger", "SOAP::SOAPString", [0, 1]],
857
+ ["errorString", "SOAP::SOAPString", [0, 1]],
858
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
859
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::AuthenticationErrorReason", [0, 1]]
860
+ ]
861
+ )
862
+
863
+ LiteralRegistry.register(
864
+ :class => AdwordsApi::V201101::BulkOpportunityService::AuthorizationError,
865
+ :schema_type => XSD::QName.new(NsV201101, "AuthorizationError"),
866
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
867
+ :schema_element => [
868
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
869
+ ["trigger", "SOAP::SOAPString", [0, 1]],
870
+ ["errorString", "SOAP::SOAPString", [0, 1]],
871
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
872
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::AuthorizationErrorReason", [0, 1]]
873
+ ]
874
+ )
875
+
876
+ LiteralRegistry.register(
877
+ :class => AdwordsApi::V201101::BulkOpportunityService::BidLandscapeLandscapePoint,
878
+ :schema_type => XSD::QName.new(NsV201101, "BidLandscape.LandscapePoint"),
879
+ :schema_element => [
880
+ ["bid", "AdwordsApi::V201101::BulkOpportunityService::Money", [0, 1]],
881
+ ["clicks", "SOAP::SOAPLong", [0, 1]],
882
+ ["cost", "AdwordsApi::V201101::BulkOpportunityService::Money", [0, 1]],
883
+ ["marginalCpc", "AdwordsApi::V201101::BulkOpportunityService::Money", [0, 1]],
884
+ ["impressions", "SOAP::SOAPLong", [0, 1]]
885
+ ]
886
+ )
887
+
888
+ LiteralRegistry.register(
889
+ :class => AdwordsApi::V201101::BulkOpportunityService::ClientTermsError,
890
+ :schema_type => XSD::QName.new(NsV201101, "ClientTermsError"),
891
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
892
+ :schema_element => [
893
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
894
+ ["trigger", "SOAP::SOAPString", [0, 1]],
895
+ ["errorString", "SOAP::SOAPString", [0, 1]],
896
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
897
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::ClientTermsErrorReason", [0, 1]]
898
+ ]
899
+ )
900
+
901
+ LiteralRegistry.register(
902
+ :class => AdwordsApi::V201101::BulkOpportunityService::Criterion,
903
+ :schema_type => XSD::QName.new(NsV201101, "Criterion"),
904
+ :schema_element => [
905
+ ["id", "SOAP::SOAPLong", [0, 1]],
906
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]]
907
+ ]
908
+ )
909
+
910
+ LiteralRegistry.register(
911
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionBidLandscape,
912
+ :schema_type => XSD::QName.new(NsV201101, "CriterionBidLandscape"),
913
+ :schema_basetype => XSD::QName.new(NsV201101, "BidLandscape"),
914
+ :schema_element => [
915
+ ["dataEntry_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "DataEntry.Type")], [0, 1]],
916
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
917
+ ["adGroupId", "SOAP::SOAPLong", [0, 1]],
918
+ ["startDate", "SOAP::SOAPString", [0, 1]],
919
+ ["endDate", "SOAP::SOAPString", [0, 1]],
920
+ ["landscapePoints", "AdwordsApi::V201101::BulkOpportunityService::BidLandscapeLandscapePoint[]", [0, nil]],
921
+ ["criterionId", "SOAP::SOAPLong", [0, 1]]
922
+ ]
923
+ )
924
+
925
+ LiteralRegistry.register(
926
+ :class => AdwordsApi::V201101::BulkOpportunityService::DatabaseError,
927
+ :schema_type => XSD::QName.new(NsV201101, "DatabaseError"),
928
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
929
+ :schema_element => [
930
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
931
+ ["trigger", "SOAP::SOAPString", [0, 1]],
932
+ ["errorString", "SOAP::SOAPString", [0, 1]],
933
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
934
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::DatabaseErrorReason", [0, 1]]
935
+ ]
936
+ )
937
+
938
+ LiteralRegistry.register(
939
+ :class => AdwordsApi::V201101::BulkOpportunityService::DoubleValue,
940
+ :schema_type => XSD::QName.new(NsV201101, "DoubleValue"),
941
+ :schema_basetype => XSD::QName.new(NsV201101, "NumberValue"),
942
+ :schema_element => [
943
+ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ComparableValue.Type")], [0, 1]],
944
+ ["number", "SOAP::SOAPDouble", [0, 1]]
945
+ ]
946
+ )
947
+
948
+ LiteralRegistry.register(
949
+ :class => AdwordsApi::V201101::BulkOpportunityService::InternalApiError,
950
+ :schema_type => XSD::QName.new(NsV201101, "InternalApiError"),
951
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
952
+ :schema_element => [
953
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
954
+ ["trigger", "SOAP::SOAPString", [0, 1]],
955
+ ["errorString", "SOAP::SOAPString", [0, 1]],
956
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
957
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::InternalApiErrorReason", [0, 1]]
958
+ ]
959
+ )
960
+
961
+ LiteralRegistry.register(
962
+ :class => AdwordsApi::V201101::BulkOpportunityService::Keyword,
963
+ :schema_type => XSD::QName.new(NsV201101, "Keyword"),
964
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
965
+ :schema_element => [
966
+ ["id", "SOAP::SOAPLong", [0, 1]],
967
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
968
+ ["text", "SOAP::SOAPString", [0, 1]],
969
+ ["matchType", "AdwordsApi::V201101::BulkOpportunityService::KeywordMatchType", [0, 1]]
970
+ ]
971
+ )
972
+
973
+ LiteralRegistry.register(
974
+ :class => AdwordsApi::V201101::BulkOpportunityService::LongValue,
975
+ :schema_type => XSD::QName.new(NsV201101, "LongValue"),
976
+ :schema_basetype => XSD::QName.new(NsV201101, "NumberValue"),
977
+ :schema_element => [
978
+ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ComparableValue.Type")], [0, 1]],
979
+ ["number", "SOAP::SOAPLong", [0, 1]]
980
+ ]
981
+ )
982
+
983
+ LiteralRegistry.register(
984
+ :class => AdwordsApi::V201101::BulkOpportunityService::Money,
985
+ :schema_type => XSD::QName.new(NsV201101, "Money"),
986
+ :schema_basetype => XSD::QName.new(NsV201101, "ComparableValue"),
987
+ :schema_element => [
988
+ ["comparableValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ComparableValue.Type")], [0, 1]],
989
+ ["microAmount", "SOAP::SOAPLong", [0, 1]]
990
+ ]
991
+ )
992
+
993
+ LiteralRegistry.register(
994
+ :class => AdwordsApi::V201101::BulkOpportunityService::NotWhitelistedError,
995
+ :schema_type => XSD::QName.new(NsV201101, "NotWhitelistedError"),
996
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
997
+ :schema_element => [
998
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
999
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1000
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1001
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1002
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::NotWhitelistedErrorReason", [0, 1]]
1003
+ ]
1004
+ )
1005
+
1006
+ LiteralRegistry.register(
1007
+ :class => AdwordsApi::V201101::BulkOpportunityService::NullError,
1008
+ :schema_type => XSD::QName.new(NsV201101, "NullError"),
1009
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
1010
+ :schema_element => [
1011
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1012
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1013
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1014
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1015
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::NullErrorReason", [0, 1]]
1016
+ ]
1017
+ )
1018
+
1019
+ LiteralRegistry.register(
1020
+ :class => AdwordsApi::V201101::BulkOpportunityService::Paging,
1021
+ :schema_type => XSD::QName.new(NsV201101, "Paging"),
1022
+ :schema_element => [
1023
+ ["startIndex", "SOAP::SOAPInt", [0, 1]],
1024
+ ["numberResults", "SOAP::SOAPInt", [0, 1]]
1025
+ ]
1026
+ )
1027
+
1028
+ LiteralRegistry.register(
1029
+ :class => AdwordsApi::V201101::BulkOpportunityService::Placement,
1030
+ :schema_type => XSD::QName.new(NsV201101, "Placement"),
1031
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
1032
+ :schema_element => [
1033
+ ["id", "SOAP::SOAPLong", [0, 1]],
1034
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
1035
+ ["url", "SOAP::SOAPString", [0, 1]]
1036
+ ]
1037
+ )
1038
+
1039
+ LiteralRegistry.register(
1040
+ :class => AdwordsApi::V201101::BulkOpportunityService::Product,
1041
+ :schema_type => XSD::QName.new(NsV201101, "Product"),
1042
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
1043
+ :schema_element => [
1044
+ ["id", "SOAP::SOAPLong", [0, 1]],
1045
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
1046
+ ["conditions", "AdwordsApi::V201101::BulkOpportunityService::ProductCondition[]", [0, nil]],
1047
+ ["text", "SOAP::SOAPString", [0, 1]]
1048
+ ]
1049
+ )
1050
+
1051
+ LiteralRegistry.register(
1052
+ :class => AdwordsApi::V201101::BulkOpportunityService::ProductCondition,
1053
+ :schema_type => XSD::QName.new(NsV201101, "ProductCondition"),
1054
+ :schema_element => [
1055
+ ["argument", "SOAP::SOAPString", [0, 1]],
1056
+ ["operand", "AdwordsApi::V201101::BulkOpportunityService::ProductConditionOperand", [0, 1]]
1057
+ ]
1058
+ )
1059
+
1060
+ LiteralRegistry.register(
1061
+ :class => AdwordsApi::V201101::BulkOpportunityService::ProductConditionOperand,
1062
+ :schema_type => XSD::QName.new(NsV201101, "ProductConditionOperand"),
1063
+ :schema_element => [
1064
+ ["operand", "SOAP::SOAPString", [0, 1]]
1065
+ ]
1066
+ )
1067
+
1068
+ LiteralRegistry.register(
1069
+ :class => AdwordsApi::V201101::BulkOpportunityService::QuotaCheckError,
1070
+ :schema_type => XSD::QName.new(NsV201101, "QuotaCheckError"),
1071
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
1072
+ :schema_element => [
1073
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1074
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1075
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1076
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1077
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::QuotaCheckErrorReason", [0, 1]]
1078
+ ]
1079
+ )
1080
+
1081
+ LiteralRegistry.register(
1082
+ :class => AdwordsApi::V201101::BulkOpportunityService::RateExceededError,
1083
+ :schema_type => XSD::QName.new(NsV201101, "RateExceededError"),
1084
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
1085
+ :schema_element => [
1086
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1087
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1088
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1089
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1090
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::RateExceededErrorReason", [0, 1]],
1091
+ ["rateName", "SOAP::SOAPString", [0, 1]],
1092
+ ["rateScope", "SOAP::SOAPString", [0, 1]],
1093
+ ["retryAfterSeconds", "SOAP::SOAPInt", [0, 1]]
1094
+ ]
1095
+ )
1096
+
1097
+ LiteralRegistry.register(
1098
+ :class => AdwordsApi::V201101::BulkOpportunityService::RequestError,
1099
+ :schema_type => XSD::QName.new(NsV201101, "RequestError"),
1100
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
1101
+ :schema_element => [
1102
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1103
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1104
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1105
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1106
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::RequestErrorReason", [0, 1]]
1107
+ ]
1108
+ )
1109
+
1110
+ LiteralRegistry.register(
1111
+ :class => AdwordsApi::V201101::BulkOpportunityService::RequiredError,
1112
+ :schema_type => XSD::QName.new(NsV201101, "RequiredError"),
1113
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
1114
+ :schema_element => [
1115
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1116
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1117
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1118
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1119
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::RequiredErrorReason", [0, 1]]
1120
+ ]
1121
+ )
1122
+
1123
+ LiteralRegistry.register(
1124
+ :class => AdwordsApi::V201101::BulkOpportunityService::SizeLimitError,
1125
+ :schema_type => XSD::QName.new(NsV201101, "SizeLimitError"),
1126
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
1127
+ :schema_element => [
1128
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1129
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1130
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1131
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1132
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::SizeLimitErrorReason", [0, 1]]
1133
+ ]
1134
+ )
1135
+
1136
+ LiteralRegistry.register(
1137
+ :class => AdwordsApi::V201101::BulkOpportunityService::SoapHeader,
1138
+ :schema_type => XSD::QName.new(NsV201101, "SoapHeader"),
1139
+ :schema_element => [
1140
+ ["authToken", "SOAP::SOAPString", [0, 1]],
1141
+ ["clientCustomerId", "SOAP::SOAPString", [0, 1]],
1142
+ ["clientEmail", "SOAP::SOAPString", [0, 1]],
1143
+ ["developerToken", "SOAP::SOAPString", [0, 1]],
1144
+ ["userAgent", "SOAP::SOAPString", [0, 1]],
1145
+ ["validateOnly", "SOAP::SOAPBoolean", [0, 1]],
1146
+ ["partialFailure", "SOAP::SOAPBoolean", [0, 1]]
1147
+ ]
1148
+ )
1149
+
1150
+ LiteralRegistry.register(
1151
+ :class => AdwordsApi::V201101::BulkOpportunityService::SoapResponseHeader,
1152
+ :schema_type => XSD::QName.new(NsV201101, "SoapResponseHeader"),
1153
+ :schema_element => [
1154
+ ["requestId", "SOAP::SOAPString", [0, 1]],
1155
+ ["operations", "SOAP::SOAPLong", [0, 1]],
1156
+ ["responseTime", "SOAP::SOAPLong", [0, 1]],
1157
+ ["units", "SOAP::SOAPLong", [0, 1]]
1158
+ ]
1159
+ )
1160
+
1161
+ LiteralRegistry.register(
1162
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionUserInterest,
1163
+ :schema_type => XSD::QName.new(NsV201101, "CriterionUserInterest"),
1164
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
1165
+ :schema_element => [
1166
+ ["id", "SOAP::SOAPLong", [0, 1]],
1167
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
1168
+ ["userInterestId", "SOAP::SOAPLong", [0, 1]],
1169
+ ["userInterestName", "SOAP::SOAPString", [0, 1]]
1170
+ ]
1171
+ )
1172
+
1173
+ LiteralRegistry.register(
1174
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionUserList,
1175
+ :schema_type => XSD::QName.new(NsV201101, "CriterionUserList"),
1176
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
1177
+ :schema_element => [
1178
+ ["id", "SOAP::SOAPLong", [0, 1]],
1179
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
1180
+ ["userListId", "SOAP::SOAPLong", [0, 1]],
1181
+ ["userListName", "SOAP::SOAPString", [0, 1]],
1182
+ ["userListMembershipStatus", "AdwordsApi::V201101::BulkOpportunityService::CriterionUserListMembershipStatus", [0, 1]]
1183
+ ]
1184
+ )
1185
+
1186
+ LiteralRegistry.register(
1187
+ :class => AdwordsApi::V201101::BulkOpportunityService::Vertical,
1188
+ :schema_type => XSD::QName.new(NsV201101, "Vertical"),
1189
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
1190
+ :schema_element => [
1191
+ ["id", "SOAP::SOAPLong", [0, 1]],
1192
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
1193
+ ["path", "SOAP::SOAPString[]", [0, nil]]
1194
+ ]
1195
+ )
1196
+
1197
+ LiteralRegistry.register(
1198
+ :class => AdwordsApi::V201101::BulkOpportunityService::AdFormatSpec,
1199
+ :schema_type => XSD::QName.new(NsV201101_0, "AdFormatSpec"),
1200
+ :schema_element => [
1201
+ ["format", "AdwordsApi::V201101::BulkOpportunityService::SiteConstantsAdFormat", [0, 1]]
1202
+ ]
1203
+ )
1204
+
1205
+ LiteralRegistry.register(
1206
+ :class => AdwordsApi::V201101::BulkOpportunityService::AdFormatSpecListAttribute,
1207
+ :schema_type => XSD::QName.new(NsV201101_0, "AdFormatSpecListAttribute"),
1208
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1209
+ :schema_element => [
1210
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1211
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::AdFormatSpec[]", [0, nil]]
1212
+ ]
1213
+ )
1214
+
1215
+ LiteralRegistry.register(
1216
+ :class => AdwordsApi::V201101::BulkOpportunityService::BidLandscapeAttribute,
1217
+ :schema_type => XSD::QName.new(NsV201101_0, "BidLandscapeAttribute"),
1218
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1219
+ :schema_element => [
1220
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1221
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::BidLandscape", [0, 1]]
1222
+ ]
1223
+ )
1224
+
1225
+ LiteralRegistry.register(
1226
+ :class => AdwordsApi::V201101::BulkOpportunityService::BooleanAttribute,
1227
+ :schema_type => XSD::QName.new(NsV201101_0, "BooleanAttribute"),
1228
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1229
+ :schema_element => [
1230
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1231
+ ["value", "SOAP::SOAPBoolean", [0, 1]]
1232
+ ]
1233
+ )
1234
+
1235
+ LiteralRegistry.register(
1236
+ :class => AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityPage,
1237
+ :schema_type => XSD::QName.new(NsV201101_0, "BulkOpportunityPage"),
1238
+ :schema_element => [
1239
+ ["entries", "AdwordsApi::V201101::BulkOpportunityService::Opportunity[]", [0, nil]],
1240
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]]
1241
+ ]
1242
+ )
1243
+
1244
+ LiteralRegistry.register(
1245
+ :class => AdwordsApi::V201101::BulkOpportunityService::BulkOpportunitySelector,
1246
+ :schema_type => XSD::QName.new(NsV201101_0, "BulkOpportunitySelector"),
1247
+ :schema_element => [
1248
+ ["ideaTypes", "AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaType[]", [0, nil]],
1249
+ ["requestedAttributeTypes", "AdwordsApi::V201101::BulkOpportunityService::OpportunityAttributeType[]", [0, nil]],
1250
+ ["paging", "AdwordsApi::V201101::BulkOpportunityService::Paging", [0, 1]]
1251
+ ]
1252
+ )
1253
+
1254
+ LiteralRegistry.register(
1255
+ :class => AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityServiceError,
1256
+ :schema_type => XSD::QName.new(NsV201101_0, "BulkOpportunityServiceError"),
1257
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
1258
+ :schema_element => [
1259
+ ["fieldPath", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "fieldPath")], [0, 1]],
1260
+ ["trigger", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "trigger")], [0, 1]],
1261
+ ["errorString", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "errorString")], [0, 1]],
1262
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1263
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityServiceErrorReason", [0, 1]]
1264
+ ]
1265
+ )
1266
+
1267
+ LiteralRegistry.register(
1268
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionAttribute,
1269
+ :schema_type => XSD::QName.new(NsV201101_0, "CriterionAttribute"),
1270
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1271
+ :schema_element => [
1272
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1273
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Criterion", [0, 1]]
1274
+ ]
1275
+ )
1276
+
1277
+ LiteralRegistry.register(
1278
+ :class => AdwordsApi::V201101::BulkOpportunityService::DoubleAttribute,
1279
+ :schema_type => XSD::QName.new(NsV201101_0, "DoubleAttribute"),
1280
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1281
+ :schema_element => [
1282
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1283
+ ["value", "SOAP::SOAPDouble", [0, 1]]
1284
+ ]
1285
+ )
1286
+
1287
+ LiteralRegistry.register(
1288
+ :class => AdwordsApi::V201101::BulkOpportunityService::IdeaTypeAttribute,
1289
+ :schema_type => XSD::QName.new(NsV201101_0, "IdeaTypeAttribute"),
1290
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1291
+ :schema_element => [
1292
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1293
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::IdeaType", [0, 1]]
1294
+ ]
1295
+ )
1296
+
1297
+ LiteralRegistry.register(
1298
+ :class => AdwordsApi::V201101::BulkOpportunityService::InStreamAdInfo,
1299
+ :schema_type => XSD::QName.new(NsV201101_0, "InStreamAdInfo"),
1300
+ :schema_element => [
1301
+ ["maxAdDuration", "SOAP::SOAPInt", [0, 1]],
1302
+ ["minAdDuration", "SOAP::SOAPInt", [0, 1]],
1303
+ ["medianAdDuration", "SOAP::SOAPInt", [0, 1]],
1304
+ ["preRollPercent", "SOAP::SOAPDouble", [0, 1]],
1305
+ ["midRollPercent", "SOAP::SOAPDouble", [0, 1]],
1306
+ ["postRollPercent", "SOAP::SOAPDouble", [0, 1]]
1307
+ ]
1308
+ )
1309
+
1310
+ LiteralRegistry.register(
1311
+ :class => AdwordsApi::V201101::BulkOpportunityService::InStreamAdInfoAttribute,
1312
+ :schema_type => XSD::QName.new(NsV201101_0, "InStreamAdInfoAttribute"),
1313
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1314
+ :schema_element => [
1315
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1316
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::InStreamAdInfo", [0, 1]]
1317
+ ]
1318
+ )
1319
+
1320
+ LiteralRegistry.register(
1321
+ :class => AdwordsApi::V201101::BulkOpportunityService::IntegerAttribute,
1322
+ :schema_type => XSD::QName.new(NsV201101_0, "IntegerAttribute"),
1323
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1324
+ :schema_element => [
1325
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1326
+ ["value", "SOAP::SOAPInt", [0, 1]]
1327
+ ]
1328
+ )
1329
+
1330
+ LiteralRegistry.register(
1331
+ :class => AdwordsApi::V201101::BulkOpportunityService::IntegerSetAttribute,
1332
+ :schema_type => XSD::QName.new(NsV201101_0, "IntegerSetAttribute"),
1333
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1334
+ :schema_element => [
1335
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1336
+ ["value", "SOAP::SOAPInt[]", [0, nil]]
1337
+ ]
1338
+ )
1339
+
1340
+ LiteralRegistry.register(
1341
+ :class => AdwordsApi::V201101::BulkOpportunityService::KeywordAttribute,
1342
+ :schema_type => XSD::QName.new(NsV201101_0, "KeywordAttribute"),
1343
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1344
+ :schema_element => [
1345
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1346
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Keyword", [0, 1]]
1347
+ ]
1348
+ )
1349
+
1350
+ LiteralRegistry.register(
1351
+ :class => AdwordsApi::V201101::BulkOpportunityService::LongAttribute,
1352
+ :schema_type => XSD::QName.new(NsV201101_0, "LongAttribute"),
1353
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1354
+ :schema_element => [
1355
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1356
+ ["value", "SOAP::SOAPLong", [0, 1]]
1357
+ ]
1358
+ )
1359
+
1360
+ LiteralRegistry.register(
1361
+ :class => AdwordsApi::V201101::BulkOpportunityService::LongRangeAttribute,
1362
+ :schema_type => XSD::QName.new(NsV201101_0, "LongRangeAttribute"),
1363
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1364
+ :schema_element => [
1365
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1366
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::C_Range", [0, 1]]
1367
+ ]
1368
+ )
1369
+
1370
+ LiteralRegistry.register(
1371
+ :class => AdwordsApi::V201101::BulkOpportunityService::MoneyAttribute,
1372
+ :schema_type => XSD::QName.new(NsV201101_0, "MoneyAttribute"),
1373
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1374
+ :schema_element => [
1375
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1376
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Money", [0, 1]]
1377
+ ]
1378
+ )
1379
+
1380
+ LiteralRegistry.register(
1381
+ :class => AdwordsApi::V201101::BulkOpportunityService::MonthlySearchVolume,
1382
+ :schema_type => XSD::QName.new(NsV201101_0, "MonthlySearchVolume"),
1383
+ :schema_element => [
1384
+ ["year", "SOAP::SOAPInt", [0, 1]],
1385
+ ["month", "SOAP::SOAPInt", [0, 1]],
1386
+ ["count", "SOAP::SOAPLong", [0, 1]]
1387
+ ]
1388
+ )
1389
+
1390
+ LiteralRegistry.register(
1391
+ :class => AdwordsApi::V201101::BulkOpportunityService::MonthlySearchVolumeAttribute,
1392
+ :schema_type => XSD::QName.new(NsV201101_0, "MonthlySearchVolumeAttribute"),
1393
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1394
+ :schema_element => [
1395
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1396
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::MonthlySearchVolume[]", [0, nil]]
1397
+ ]
1398
+ )
1399
+
1400
+ LiteralRegistry.register(
1401
+ :class => AdwordsApi::V201101::BulkOpportunityService::Opportunity,
1402
+ :schema_type => XSD::QName.new(NsV201101_0, "Opportunity"),
1403
+ :schema_element => [
1404
+ ["opportunityIdeas", "AdwordsApi::V201101::BulkOpportunityService::OpportunityIdea[]", [0, nil]]
1405
+ ]
1406
+ )
1407
+
1408
+ LiteralRegistry.register(
1409
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityAttribute_AttributeMapEntry,
1410
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityAttribute_AttributeMapEntry"),
1411
+ :schema_element => [
1412
+ ["key", "AdwordsApi::V201101::BulkOpportunityService::OpportunityAttributeType", [0, 1]],
1413
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Attribute", [0, 1]]
1414
+ ]
1415
+ )
1416
+
1417
+ LiteralRegistry.register(
1418
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityError,
1419
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityError"),
1420
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
1421
+ :schema_element => [
1422
+ ["fieldPath", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "fieldPath")], [0, 1]],
1423
+ ["trigger", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "trigger")], [0, 1]],
1424
+ ["errorString", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "errorString")], [0, 1]],
1425
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1426
+ ["reason", "AdwordsApi::V201101::BulkOpportunityService::OpportunityErrorReason", [0, 1]]
1427
+ ]
1428
+ )
1429
+
1430
+ LiteralRegistry.register(
1431
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityIdea,
1432
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityIdea"),
1433
+ :schema_element => [
1434
+ ["data", "AdwordsApi::V201101::BulkOpportunityService::OpportunityAttribute_AttributeMapEntry[]", [0, nil]]
1435
+ ]
1436
+ )
1437
+
1438
+ LiteralRegistry.register(
1439
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaTypeAttribute,
1440
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityIdeaTypeAttribute"),
1441
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1442
+ :schema_element => [
1443
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1444
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaType", [0, 1]]
1445
+ ]
1446
+ )
1447
+
1448
+ LiteralRegistry.register(
1449
+ :class => AdwordsApi::V201101::BulkOpportunityService::PlacementAttribute,
1450
+ :schema_type => XSD::QName.new(NsV201101_0, "PlacementAttribute"),
1451
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1452
+ :schema_element => [
1453
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1454
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::Placement", [0, 1]]
1455
+ ]
1456
+ )
1457
+
1458
+ LiteralRegistry.register(
1459
+ :class => AdwordsApi::V201101::BulkOpportunityService::PlacementTypeAttribute,
1460
+ :schema_type => XSD::QName.new(NsV201101_0, "PlacementTypeAttribute"),
1461
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1462
+ :schema_element => [
1463
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1464
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::SiteConstantsPlacementType", [0, 1]]
1465
+ ]
1466
+ )
1467
+
1468
+ LiteralRegistry.register(
1469
+ :class => AdwordsApi::V201101::BulkOpportunityService::C_Range,
1470
+ :schema_type => XSD::QName.new(NsV201101_0, "Range"),
1471
+ :schema_element => [
1472
+ ["min", "AdwordsApi::V201101::BulkOpportunityService::ComparableValue", [0, 1]],
1473
+ ["max", "AdwordsApi::V201101::BulkOpportunityService::ComparableValue", [0, 1]]
1474
+ ]
1475
+ )
1476
+
1477
+ LiteralRegistry.register(
1478
+ :class => AdwordsApi::V201101::BulkOpportunityService::StringAttribute,
1479
+ :schema_type => XSD::QName.new(NsV201101_0, "StringAttribute"),
1480
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1481
+ :schema_element => [
1482
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1483
+ ["value", "SOAP::SOAPString", [0, 1]]
1484
+ ]
1485
+ )
1486
+
1487
+ LiteralRegistry.register(
1488
+ :class => AdwordsApi::V201101::BulkOpportunityService::WebpageDescriptor,
1489
+ :schema_type => XSD::QName.new(NsV201101_0, "WebpageDescriptor"),
1490
+ :schema_element => [
1491
+ ["url", "SOAP::SOAPString", [0, 1]],
1492
+ ["title", "SOAP::SOAPString", [0, 1]]
1493
+ ]
1494
+ )
1495
+
1496
+ LiteralRegistry.register(
1497
+ :class => AdwordsApi::V201101::BulkOpportunityService::WebpageDescriptorAttribute,
1498
+ :schema_type => XSD::QName.new(NsV201101_0, "WebpageDescriptorAttribute"),
1499
+ :schema_basetype => XSD::QName.new(NsV201101_0, "Attribute"),
1500
+ :schema_element => [
1501
+ ["attribute_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101_0, "Attribute.Type")], [0, 1]],
1502
+ ["value", "AdwordsApi::V201101::BulkOpportunityService::WebpageDescriptor", [0, 1]]
1503
+ ]
1504
+ )
1505
+
1506
+ LiteralRegistry.register(
1507
+ :class => AdwordsApi::V201101::BulkOpportunityService::AdGroupBidLandscapeType,
1508
+ :schema_type => XSD::QName.new(NsV201101, "AdGroupBidLandscape.Type")
1509
+ )
1510
+
1511
+ LiteralRegistry.register(
1512
+ :class => AdwordsApi::V201101::BulkOpportunityService::AuthenticationErrorReason,
1513
+ :schema_type => XSD::QName.new(NsV201101, "AuthenticationError.Reason")
1514
+ )
1515
+
1516
+ LiteralRegistry.register(
1517
+ :class => AdwordsApi::V201101::BulkOpportunityService::AuthorizationErrorReason,
1518
+ :schema_type => XSD::QName.new(NsV201101, "AuthorizationError.Reason")
1519
+ )
1520
+
1521
+ LiteralRegistry.register(
1522
+ :class => AdwordsApi::V201101::BulkOpportunityService::ClientTermsErrorReason,
1523
+ :schema_type => XSD::QName.new(NsV201101, "ClientTermsError.Reason")
1524
+ )
1525
+
1526
+ LiteralRegistry.register(
1527
+ :class => AdwordsApi::V201101::BulkOpportunityService::DatabaseErrorReason,
1528
+ :schema_type => XSD::QName.new(NsV201101, "DatabaseError.Reason")
1529
+ )
1530
+
1531
+ LiteralRegistry.register(
1532
+ :class => AdwordsApi::V201101::BulkOpportunityService::InternalApiErrorReason,
1533
+ :schema_type => XSD::QName.new(NsV201101, "InternalApiError.Reason")
1534
+ )
1535
+
1536
+ LiteralRegistry.register(
1537
+ :class => AdwordsApi::V201101::BulkOpportunityService::KeywordMatchType,
1538
+ :schema_type => XSD::QName.new(NsV201101, "KeywordMatchType")
1539
+ )
1540
+
1541
+ LiteralRegistry.register(
1542
+ :class => AdwordsApi::V201101::BulkOpportunityService::NotWhitelistedErrorReason,
1543
+ :schema_type => XSD::QName.new(NsV201101, "NotWhitelistedError.Reason")
1544
+ )
1545
+
1546
+ LiteralRegistry.register(
1547
+ :class => AdwordsApi::V201101::BulkOpportunityService::NullErrorReason,
1548
+ :schema_type => XSD::QName.new(NsV201101, "NullError.Reason")
1549
+ )
1550
+
1551
+ LiteralRegistry.register(
1552
+ :class => AdwordsApi::V201101::BulkOpportunityService::QuotaCheckErrorReason,
1553
+ :schema_type => XSD::QName.new(NsV201101, "QuotaCheckError.Reason")
1554
+ )
1555
+
1556
+ LiteralRegistry.register(
1557
+ :class => AdwordsApi::V201101::BulkOpportunityService::RateExceededErrorReason,
1558
+ :schema_type => XSD::QName.new(NsV201101, "RateExceededError.Reason")
1559
+ )
1560
+
1561
+ LiteralRegistry.register(
1562
+ :class => AdwordsApi::V201101::BulkOpportunityService::RequestErrorReason,
1563
+ :schema_type => XSD::QName.new(NsV201101, "RequestError.Reason")
1564
+ )
1565
+
1566
+ LiteralRegistry.register(
1567
+ :class => AdwordsApi::V201101::BulkOpportunityService::RequiredErrorReason,
1568
+ :schema_type => XSD::QName.new(NsV201101, "RequiredError.Reason")
1569
+ )
1570
+
1571
+ LiteralRegistry.register(
1572
+ :class => AdwordsApi::V201101::BulkOpportunityService::SizeLimitErrorReason,
1573
+ :schema_type => XSD::QName.new(NsV201101, "SizeLimitError.Reason")
1574
+ )
1575
+
1576
+ LiteralRegistry.register(
1577
+ :class => AdwordsApi::V201101::BulkOpportunityService::CriterionUserListMembershipStatus,
1578
+ :schema_type => XSD::QName.new(NsV201101, "CriterionUserList.MembershipStatus")
1579
+ )
1580
+
1581
+ LiteralRegistry.register(
1582
+ :class => AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityServiceErrorReason,
1583
+ :schema_type => XSD::QName.new(NsV201101_0, "BulkOpportunityServiceError.Reason")
1584
+ )
1585
+
1586
+ LiteralRegistry.register(
1587
+ :class => AdwordsApi::V201101::BulkOpportunityService::IdeaType,
1588
+ :schema_type => XSD::QName.new(NsV201101_0, "IdeaType")
1589
+ )
1590
+
1591
+ LiteralRegistry.register(
1592
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityAttributeType,
1593
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityAttributeType")
1594
+ )
1595
+
1596
+ LiteralRegistry.register(
1597
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityErrorReason,
1598
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityError.Reason")
1599
+ )
1600
+
1601
+ LiteralRegistry.register(
1602
+ :class => AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaType,
1603
+ :schema_type => XSD::QName.new(NsV201101_0, "OpportunityIdeaType")
1604
+ )
1605
+
1606
+ LiteralRegistry.register(
1607
+ :class => AdwordsApi::V201101::BulkOpportunityService::SiteConstantsAdFormat,
1608
+ :schema_type => XSD::QName.new(NsV201101_0, "SiteConstants.AdFormat")
1609
+ )
1610
+
1611
+ LiteralRegistry.register(
1612
+ :class => AdwordsApi::V201101::BulkOpportunityService::SiteConstantsPlacementType,
1613
+ :schema_type => XSD::QName.new(NsV201101_0, "SiteConstants.PlacementType")
1614
+ )
1615
+
1616
+ LiteralRegistry.register(
1617
+ :class => AdwordsApi::V201101::BulkOpportunityService::Get,
1618
+ :schema_name => XSD::QName.new(NsV201101_0, "get"),
1619
+ :schema_element => [
1620
+ ["selector", "AdwordsApi::V201101::BulkOpportunityService::BulkOpportunitySelector", [0, 1]]
1621
+ ]
1622
+ )
1623
+
1624
+ LiteralRegistry.register(
1625
+ :class => AdwordsApi::V201101::BulkOpportunityService::GetResponse,
1626
+ :schema_name => XSD::QName.new(NsV201101_0, "getResponse"),
1627
+ :schema_element => [
1628
+ ["rval", "AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityPage", [0, 1]]
1629
+ ]
1630
+ )
1631
+
1632
+ LiteralRegistry.register(
1633
+ :class => AdwordsApi::V201101::BulkOpportunityService::ApiException,
1634
+ :schema_name => XSD::QName.new(NsV201101_0, "ApiExceptionFault"),
1635
+ :schema_element => [
1636
+ ["message", "SOAP::SOAPString", [0, 1]],
1637
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]],
1638
+ ["errors", "AdwordsApi::V201101::BulkOpportunityService::ApiError[]", [0, nil]]
1639
+ ]
1640
+ )
1641
+
1642
+ LiteralRegistry.register(
1643
+ :class => AdwordsApi::V201101::BulkOpportunityService::SoapHeader,
1644
+ :schema_name => XSD::QName.new(NsV201101_0, "RequestHeader"),
1645
+ :schema_element => [
1646
+ ["authToken", "SOAP::SOAPString", [0, 1]],
1647
+ ["clientCustomerId", "SOAP::SOAPString", [0, 1]],
1648
+ ["clientEmail", "SOAP::SOAPString", [0, 1]],
1649
+ ["developerToken", "SOAP::SOAPString", [0, 1]],
1650
+ ["userAgent", "SOAP::SOAPString", [0, 1]],
1651
+ ["validateOnly", "SOAP::SOAPBoolean", [0, 1]],
1652
+ ["partialFailure", "SOAP::SOAPBoolean", [0, 1]]
1653
+ ]
1654
+ )
1655
+
1656
+ LiteralRegistry.register(
1657
+ :class => AdwordsApi::V201101::BulkOpportunityService::SoapResponseHeader,
1658
+ :schema_name => XSD::QName.new(NsV201101_0, "ResponseHeader"),
1659
+ :schema_element => [
1660
+ ["requestId", "SOAP::SOAPString", [0, 1]],
1661
+ ["operations", "SOAP::SOAPLong", [0, 1]],
1662
+ ["responseTime", "SOAP::SOAPLong", [0, 1]],
1663
+ ["units", "SOAP::SOAPLong", [0, 1]]
1664
+ ]
1665
+ )
1666
+ end
1667
+
1668
+ end; end; end