google-adwords-api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/Rakefile +1 -1
  2. data/examples/v201101/add_conversion.rb +97 -0
  3. data/examples/v201101/add_user_list.rb +28 -2
  4. data/examples/v201101/get_all_conversions.rb +88 -0
  5. data/examples/v201101/get_keyword_opportunities.rb +103 -0
  6. data/examples/v201101/update_conversion.rb +96 -0
  7. data/lib/adwords_api/api_config.rb +6 -3
  8. data/lib/adwords_api/errors.rb +4 -1
  9. data/lib/adwords_api/extensions.rb +1 -1
  10. data/lib/adwords_api/v13/AccountServiceDriver.rb +5 -5
  11. data/lib/adwords_api/v13/ReportServiceDriver.rb +7 -7
  12. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +4 -4
  13. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +2 -2
  14. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +2 -2
  15. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +506 -506
  16. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +2 -2
  17. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +428 -428
  18. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +2 -2
  19. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +2 -2
  20. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +2 -2
  21. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +2 -2
  22. data/lib/adwords_api/v200909/CampaignCriterionService.rb +133 -133
  23. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +2 -2
  24. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +184 -184
  25. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +2 -2
  26. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +2 -2
  27. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +1 -1
  28. data/lib/adwords_api/v200909/InfoServiceDriver.rb +1 -1
  29. data/lib/adwords_api/v200909/TargetingIdeaService.rb +907 -907
  30. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +2 -2
  31. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +384 -384
  32. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +2 -2
  33. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +2 -2
  34. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +527 -527
  35. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +2 -2
  36. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +469 -469
  37. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +2 -2
  38. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +2 -2
  39. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +1 -1
  40. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +2 -2
  41. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +2 -2
  42. data/lib/adwords_api/v201003/CampaignCriterionService.rb +133 -133
  43. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +2 -2
  44. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +186 -186
  45. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +2 -2
  46. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +2 -2
  47. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +1 -1
  48. data/lib/adwords_api/v201003/InfoServiceDriver.rb +1 -1
  49. data/lib/adwords_api/v201003/MediaServiceDriver.rb +2 -2
  50. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +3 -3
  51. data/lib/adwords_api/v201003/TargetingIdeaService.rb +1304 -1304
  52. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +2 -2
  53. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +401 -401
  54. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +2 -2
  55. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +2 -2
  56. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +598 -598
  57. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +2 -2
  58. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +680 -680
  59. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +2 -2
  60. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +2 -2
  61. data/lib/adwords_api/v201008/AlertServiceDriver.rb +1 -1
  62. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +1 -1
  63. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +2 -2
  64. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +2 -2
  65. data/lib/adwords_api/v201008/CampaignCriterionService.rb +178 -178
  66. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +2 -2
  67. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +228 -228
  68. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +2 -2
  69. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +2 -2
  70. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +1 -1
  71. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +2 -2
  72. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +1 -1
  73. data/lib/adwords_api/v201008/InfoServiceDriver.rb +1 -1
  74. data/lib/adwords_api/v201008/MediaServiceDriver.rb +2 -2
  75. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +3 -3
  76. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +1 -1
  77. data/lib/adwords_api/v201008/TargetingIdeaService.rb +1459 -1459
  78. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +2 -2
  79. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +447 -447
  80. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +855 -855
  81. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +1 -1
  82. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  83. data/lib/adwords_api/v201008/UserListServiceDriver.rb +2 -2
  84. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +2 -2
  85. data/lib/adwords_api/v201101/AdGroupAdService.rb +2 -0
  86. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +2 -2
  87. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +700 -700
  88. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +2 -2
  89. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +670 -670
  90. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +2 -2
  91. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +2 -2
  92. data/lib/adwords_api/v201101/AlertServiceDriver.rb +1 -1
  93. data/lib/adwords_api/v201101/BulkMutateJobService.rb +2 -0
  94. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +2 -2
  95. data/lib/adwords_api/v201101/BulkOpportunityService.rb +1367 -0
  96. data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +55 -0
  97. data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +1668 -0
  98. data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +303 -0
  99. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +2 -2
  100. data/lib/adwords_api/v201101/CampaignCriterionService.rb +216 -216
  101. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +2 -2
  102. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +234 -234
  103. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +2 -2
  104. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +2 -2
  105. data/lib/adwords_api/v201101/ConversionTrackerService.rb +1105 -0
  106. data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +63 -0
  107. data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +1161 -0
  108. data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +332 -0
  109. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +1 -1
  110. data/lib/adwords_api/v201101/DataServiceDriver.rb +2 -2
  111. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +2 -2
  112. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +1 -1
  113. data/lib/adwords_api/v201101/InfoServiceDriver.rb +1 -1
  114. data/lib/adwords_api/v201101/MediaServiceDriver.rb +2 -2
  115. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +3 -3
  116. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +14 -0
  117. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +1 -1
  118. data/lib/adwords_api/v201101/TargetingIdeaService.rb +1490 -1490
  119. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +2 -2
  120. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +507 -507
  121. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +841 -841
  122. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +1 -1
  123. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  124. data/lib/adwords_api/v201101/UserListServiceDriver.rb +2 -2
  125. metadata +17 -5
@@ -16,7 +16,7 @@ class AdGroupCriterionServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201003::AdGroupCriterionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201003::AdGroupCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class AdGroupCriterionServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201003", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201003::AdGroupCriterionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201003::AdGroupCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201003", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -8,6 +8,16 @@ module DefaultMappingRegistry
8
8
  LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
9
9
  NsV201003 = "https://adwords.google.com/api/adwords/cm/v201003"
10
10
 
11
+ EncodedRegistry.register(
12
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion,
13
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterion"),
14
+ :schema_element => [
15
+ ["adGroupId", "SOAP::SOAPLong", [0, 1]],
16
+ ["criterion", "AdwordsApi::V201003::AdGroupCriterionService::Criterion", [0, 1]],
17
+ ["adGroupCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterion.Type")], [0, 1]]
18
+ ]
19
+ )
20
+
11
21
  EncodedRegistry.register(
12
22
  :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionError,
13
23
  :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionError"),
@@ -47,6 +57,71 @@ module DefaultMappingRegistry
47
57
  ]
48
58
  )
49
59
 
60
+ EncodedRegistry.register(
61
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionOperation,
62
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionOperation"),
63
+ :schema_basetype => XSD::QName.new(NsV201003, "Operation"),
64
+ :schema_element => [
65
+ ["operator", "AdwordsApi::V201003::AdGroupCriterionService::Operator", [0, 1]],
66
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Operation.Type")], [0, 1]],
67
+ ["operand", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion", [0, 1]],
68
+ ["exemptionRequests", "AdwordsApi::V201003::AdGroupCriterionService::ExemptionRequest[]", [0, nil]]
69
+ ]
70
+ )
71
+
72
+ EncodedRegistry.register(
73
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionPage,
74
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionPage"),
75
+ :schema_basetype => XSD::QName.new(NsV201003, "Page"),
76
+ :schema_element => [
77
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
78
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Page.Type")], [0, 1]],
79
+ ["entries", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion[]", [0, nil]]
80
+ ]
81
+ )
82
+
83
+ EncodedRegistry.register(
84
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionReturnValue,
85
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionReturnValue"),
86
+ :schema_basetype => XSD::QName.new(NsV201003, "ListReturnValue"),
87
+ :schema_element => [
88
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ListReturnValue.Type")], [0, 1]],
89
+ ["value", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion[]", [0, nil]]
90
+ ]
91
+ )
92
+
93
+ EncodedRegistry.register(
94
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionSelector,
95
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionSelector"),
96
+ :schema_element => [
97
+ ["idFilters", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionIdFilter[]", [0, nil]],
98
+ ["criterionUse", "AdwordsApi::V201003::AdGroupCriterionService::CriterionUse", [0, 1]],
99
+ ["userStatuses", "AdwordsApi::V201003::AdGroupCriterionService::UserStatus[]", [0, nil]],
100
+ ["statsSelector", "AdwordsApi::V201003::AdGroupCriterionService::StatsSelector", [0, 1]],
101
+ ["paging", "AdwordsApi::V201003::AdGroupCriterionService::Paging", [0, 1]]
102
+ ]
103
+ )
104
+
105
+ EncodedRegistry.register(
106
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ApiException,
107
+ :schema_type => XSD::QName.new(NsV201003, "ApiException"),
108
+ :schema_basetype => XSD::QName.new(NsV201003, "ApplicationException"),
109
+ :schema_element => [
110
+ ["message", "SOAP::SOAPString", [0, 1]],
111
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApplicationException.Type")], [0, 1]],
112
+ ["errors", "AdwordsApi::V201003::AdGroupCriterionService::ApiError[]", [0, nil]]
113
+ ]
114
+ )
115
+
116
+ EncodedRegistry.register(
117
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ApplicationException,
118
+ :schema_type => XSD::QName.new(NsV201003, "ApplicationException"),
119
+ :schema_element => [
120
+ ["message", "SOAP::SOAPString", [0, 1]],
121
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApplicationException.Type")], [0, 1]]
122
+ ]
123
+ )
124
+
50
125
  EncodedRegistry.register(
51
126
  :class => AdwordsApi::V201003::AdGroupCriterionService::AuthenticationError,
52
127
  :schema_type => XSD::QName.new(NsV201003, "AuthenticationError"),
@@ -73,6 +148,33 @@ module DefaultMappingRegistry
73
148
  ]
74
149
  )
75
150
 
151
+ EncodedRegistry.register(
152
+ :class => AdwordsApi::V201003::AdGroupCriterionService::Bid,
153
+ :schema_type => XSD::QName.new(NsV201003, "Bid"),
154
+ :schema_element => [
155
+ ["amount", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]]
156
+ ]
157
+ )
158
+
159
+ EncodedRegistry.register(
160
+ :class => AdwordsApi::V201003::AdGroupCriterionService::BiddableAdGroupCriterion,
161
+ :schema_type => XSD::QName.new(NsV201003, "BiddableAdGroupCriterion"),
162
+ :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterion"),
163
+ :schema_element => [
164
+ ["adGroupId", "SOAP::SOAPLong", [0, 1]],
165
+ ["criterion", "AdwordsApi::V201003::AdGroupCriterionService::Criterion", [0, 1]],
166
+ ["adGroupCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterion.Type")], [0, 1]],
167
+ ["userStatus", "AdwordsApi::V201003::AdGroupCriterionService::UserStatus", [0, 1]],
168
+ ["systemServingStatus", "AdwordsApi::V201003::AdGroupCriterionService::SystemServingStatus", [0, 1]],
169
+ ["approvalStatus", "AdwordsApi::V201003::AdGroupCriterionService::ApprovalStatus", [0, 1]],
170
+ ["destinationUrl", "SOAP::SOAPString", [0, 1]],
171
+ ["bids", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionBids", [0, 1]],
172
+ ["firstPageCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
173
+ ["qualityInfo", "AdwordsApi::V201003::AdGroupCriterionService::QualityInfo", [0, 1]],
174
+ ["stats", "AdwordsApi::V201003::AdGroupCriterionService::Stats", [0, 1]]
175
+ ]
176
+ )
177
+
76
178
  EncodedRegistry.register(
77
179
  :class => AdwordsApi::V201003::AdGroupCriterionService::BiddingError,
78
180
  :schema_type => XSD::QName.new(NsV201003, "BiddingError"),
@@ -86,6 +188,17 @@ module DefaultMappingRegistry
86
188
  ]
87
189
  )
88
190
 
191
+ EncodedRegistry.register(
192
+ :class => AdwordsApi::V201003::AdGroupCriterionService::BudgetOptimizerAdGroupCriterionBids,
193
+ :schema_type => XSD::QName.new(NsV201003, "BudgetOptimizerAdGroupCriterionBids"),
194
+ :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
195
+ :schema_element => [
196
+ ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
197
+ ["proxyBid", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
198
+ ["enhancedCpcEnabled", "SOAP::SOAPBoolean", [0, 1]]
199
+ ]
200
+ )
201
+
89
202
  EncodedRegistry.register(
90
203
  :class => AdwordsApi::V201003::AdGroupCriterionService::ClientTermsError,
91
204
  :schema_type => XSD::QName.new(NsV201003, "ClientTermsError"),
@@ -108,6 +221,15 @@ module DefaultMappingRegistry
108
221
  ]
109
222
  )
110
223
 
224
+ EncodedRegistry.register(
225
+ :class => AdwordsApi::V201003::AdGroupCriterionService::Criterion,
226
+ :schema_type => XSD::QName.new(NsV201003, "Criterion"),
227
+ :schema_element => [
228
+ ["id", "SOAP::SOAPLong", [0, 1]],
229
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Criterion.Type")], [0, 1]]
230
+ ]
231
+ )
232
+
111
233
  EncodedRegistry.register(
112
234
  :class => AdwordsApi::V201003::AdGroupCriterionService::CriterionPolicyError,
113
235
  :schema_type => XSD::QName.new(NsV201003, "CriterionPolicyError"),
@@ -126,6 +248,19 @@ module DefaultMappingRegistry
126
248
  ]
127
249
  )
128
250
 
251
+ EncodedRegistry.register(
252
+ :class => AdwordsApi::V201003::AdGroupCriterionService::DatabaseError,
253
+ :schema_type => XSD::QName.new(NsV201003, "DatabaseError"),
254
+ :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
255
+ :schema_element => [
256
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
257
+ ["trigger", "SOAP::SOAPString", [0, 1]],
258
+ ["errorString", "SOAP::SOAPString", [0, 1]],
259
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
260
+ ["reason", "AdwordsApi::V201003::AdGroupCriterionService::DatabaseErrorReason", [0, 1]]
261
+ ]
262
+ )
263
+
129
264
  EncodedRegistry.register(
130
265
  :class => AdwordsApi::V201003::AdGroupCriterionService::DateError,
131
266
  :schema_type => XSD::QName.new(NsV201003, "DateError"),
@@ -212,6 +347,14 @@ module DefaultMappingRegistry
212
347
  ]
213
348
  )
214
349
 
350
+ EncodedRegistry.register(
351
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ExemptionRequest,
352
+ :schema_type => XSD::QName.new(NsV201003, "ExemptionRequest"),
353
+ :schema_element => [
354
+ ["key", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationKey", [0, 1]]
355
+ ]
356
+ )
357
+
215
358
  EncodedRegistry.register(
216
359
  :class => AdwordsApi::V201003::AdGroupCriterionService::InternalApiError,
217
360
  :schema_type => XSD::QName.new(NsV201003, "InternalApiError"),
@@ -247,6 +390,30 @@ module DefaultMappingRegistry
247
390
  ]
248
391
  )
249
392
 
393
+ EncodedRegistry.register(
394
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ManualCPCAdGroupCriterionBids,
395
+ :schema_type => XSD::QName.new(NsV201003, "ManualCPCAdGroupCriterionBids"),
396
+ :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
397
+ :schema_element => [
398
+ ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
399
+ ["maxCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
400
+ ["bidSource", "AdwordsApi::V201003::AdGroupCriterionService::BidSource", [0, 1]],
401
+ ["positionPreferenceBids", "AdwordsApi::V201003::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids", [0, 1]],
402
+ ["enhancedCpcEnabled", "SOAP::SOAPBoolean", [0, 1]]
403
+ ]
404
+ )
405
+
406
+ EncodedRegistry.register(
407
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ManualCPMAdGroupCriterionBids,
408
+ :schema_type => XSD::QName.new(NsV201003, "ManualCPMAdGroupCriterionBids"),
409
+ :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
410
+ :schema_element => [
411
+ ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
412
+ ["maxCpm", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
413
+ ["bidSource", "AdwordsApi::V201003::AdGroupCriterionService::BidSource", [0, 1]]
414
+ ]
415
+ )
416
+
250
417
  EncodedRegistry.register(
251
418
  :class => AdwordsApi::V201003::AdGroupCriterionService::Money,
252
419
  :schema_type => XSD::QName.new(NsV201003, "Money"),
@@ -366,6 +533,24 @@ module DefaultMappingRegistry
366
533
  ]
367
534
  )
368
535
 
536
+ EncodedRegistry.register(
537
+ :class => AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationError,
538
+ :schema_type => XSD::QName.new(NsV201003, "PolicyViolationError"),
539
+ :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
540
+ :schema_element => [
541
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
542
+ ["trigger", "SOAP::SOAPString", [0, 1]],
543
+ ["errorString", "SOAP::SOAPString", [0, 1]],
544
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
545
+ ["key", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationKey", [0, 1]],
546
+ ["externalPolicyName", "SOAP::SOAPString", [0, 1]],
547
+ ["externalPolicyUrl", "SOAP::SOAPString", [0, 1]],
548
+ ["externalPolicyDescription", "SOAP::SOAPString", [0, 1]],
549
+ ["isExemptable", "SOAP::SOAPBoolean", [0, 1]],
550
+ ["violatingParts", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationErrorPart[]", [0, nil]]
551
+ ]
552
+ )
553
+
369
554
  EncodedRegistry.register(
370
555
  :class => AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationErrorPart,
371
556
  :schema_type => XSD::QName.new(NsV201003, "PolicyViolationError.Part"),
@@ -384,6 +569,16 @@ module DefaultMappingRegistry
384
569
  ]
385
570
  )
386
571
 
572
+ EncodedRegistry.register(
573
+ :class => AdwordsApi::V201003::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids,
574
+ :schema_type => XSD::QName.new(NsV201003, "PositionPreferenceAdGroupCriterionBids"),
575
+ :schema_element => [
576
+ ["proxyMaxCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
577
+ ["preferredPosition", "SOAP::SOAPInt", [0, 1]],
578
+ ["bottomPosition", "SOAP::SOAPInt", [0, 1]]
579
+ ]
580
+ )
581
+
387
582
  EncodedRegistry.register(
388
583
  :class => AdwordsApi::V201003::AdGroupCriterionService::QualityInfo,
389
584
  :schema_type => XSD::QName.new(NsV201003, "QualityInfo"),
@@ -526,6 +721,30 @@ module DefaultMappingRegistry
526
721
  ]
527
722
  )
528
723
 
724
+ EncodedRegistry.register(
725
+ :class => AdwordsApi::V201003::AdGroupCriterionService::Stats,
726
+ :schema_type => XSD::QName.new(NsV201003, "Stats"),
727
+ :schema_element => [
728
+ ["startDate", "SOAP::SOAPString", [0, 1]],
729
+ ["endDate", "SOAP::SOAPString", [0, 1]],
730
+ ["network", "AdwordsApi::V201003::AdGroupCriterionService::StatsNetwork", [0, 1]],
731
+ ["clicks", "SOAP::SOAPLong", [0, 1]],
732
+ ["impressions", "SOAP::SOAPLong", [0, 1]],
733
+ ["cost", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
734
+ ["averagePosition", "SOAP::SOAPDouble", [0, 1]],
735
+ ["averageCpc", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
736
+ ["averageCpm", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
737
+ ["ctr", "SOAP::SOAPDouble", [0, 1]],
738
+ ["conversions", "SOAP::SOAPLong", [0, 1]],
739
+ ["conversionRate", "SOAP::SOAPDouble", [0, 1]],
740
+ ["costPerConversion", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
741
+ ["conversionsManyPerClick", "SOAP::SOAPLong", [0, 1]],
742
+ ["conversionRateManyPerClick", "SOAP::SOAPDouble", [0, 1]],
743
+ ["costPerConversionManyPerClick", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
744
+ ["stats_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Stats.Type")], [0, 1]]
745
+ ]
746
+ )
747
+
529
748
  EncodedRegistry.register(
530
749
  :class => AdwordsApi::V201003::AdGroupCriterionService::StatsQueryError,
531
750
  :schema_type => XSD::QName.new(NsV201003, "StatsQueryError"),
@@ -560,237 +779,18 @@ module DefaultMappingRegistry
560
779
  )
561
780
 
562
781
  EncodedRegistry.register(
563
- :class => AdwordsApi::V201003::AdGroupCriterionService::DatabaseError,
564
- :schema_type => XSD::QName.new(NsV201003, "DatabaseError"),
565
- :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
566
- :schema_element => [
567
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
568
- ["trigger", "SOAP::SOAPString", [0, 1]],
569
- ["errorString", "SOAP::SOAPString", [0, 1]],
570
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
571
- ["reason", "AdwordsApi::V201003::AdGroupCriterionService::DatabaseErrorReason", [0, 1]]
572
- ]
782
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionErrorReason,
783
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionError.Reason")
573
784
  )
574
785
 
575
786
  EncodedRegistry.register(
576
- :class => AdwordsApi::V201003::AdGroupCriterionService::ExemptionRequest,
577
- :schema_type => XSD::QName.new(NsV201003, "ExemptionRequest"),
578
- :schema_element => [
579
- ["key", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationKey", [0, 1]]
580
- ]
787
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionLimitExceededCriteriaLimitType,
788
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionLimitExceeded.CriteriaLimitType")
581
789
  )
582
790
 
583
791
  EncodedRegistry.register(
584
- :class => AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationError,
585
- :schema_type => XSD::QName.new(NsV201003, "PolicyViolationError"),
586
- :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
587
- :schema_element => [
588
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
589
- ["trigger", "SOAP::SOAPString", [0, 1]],
590
- ["errorString", "SOAP::SOAPString", [0, 1]],
591
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
592
- ["key", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationKey", [0, 1]],
593
- ["externalPolicyName", "SOAP::SOAPString", [0, 1]],
594
- ["externalPolicyUrl", "SOAP::SOAPString", [0, 1]],
595
- ["externalPolicyDescription", "SOAP::SOAPString", [0, 1]],
596
- ["isExemptable", "SOAP::SOAPBoolean", [0, 1]],
597
- ["violatingParts", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationErrorPart[]", [0, nil]]
598
- ]
599
- )
600
-
601
- EncodedRegistry.register(
602
- :class => AdwordsApi::V201003::AdGroupCriterionService::Stats,
603
- :schema_type => XSD::QName.new(NsV201003, "Stats"),
604
- :schema_element => [
605
- ["startDate", "SOAP::SOAPString", [0, 1]],
606
- ["endDate", "SOAP::SOAPString", [0, 1]],
607
- ["network", "AdwordsApi::V201003::AdGroupCriterionService::StatsNetwork", [0, 1]],
608
- ["clicks", "SOAP::SOAPLong", [0, 1]],
609
- ["impressions", "SOAP::SOAPLong", [0, 1]],
610
- ["cost", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
611
- ["averagePosition", "SOAP::SOAPDouble", [0, 1]],
612
- ["averageCpc", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
613
- ["averageCpm", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
614
- ["ctr", "SOAP::SOAPDouble", [0, 1]],
615
- ["conversions", "SOAP::SOAPLong", [0, 1]],
616
- ["conversionRate", "SOAP::SOAPDouble", [0, 1]],
617
- ["costPerConversion", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
618
- ["conversionsManyPerClick", "SOAP::SOAPLong", [0, 1]],
619
- ["conversionRateManyPerClick", "SOAP::SOAPDouble", [0, 1]],
620
- ["costPerConversionManyPerClick", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]],
621
- ["stats_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Stats.Type")], [0, 1]]
622
- ]
623
- )
624
-
625
- EncodedRegistry.register(
626
- :class => AdwordsApi::V201003::AdGroupCriterionService::ApiException,
627
- :schema_type => XSD::QName.new(NsV201003, "ApiException"),
628
- :schema_basetype => XSD::QName.new(NsV201003, "ApplicationException"),
629
- :schema_element => [
630
- ["message", "SOAP::SOAPString", [0, 1]],
631
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApplicationException.Type")], [0, 1]],
632
- ["errors", "AdwordsApi::V201003::AdGroupCriterionService::ApiError[]", [0, nil]]
633
- ]
634
- )
635
-
636
- EncodedRegistry.register(
637
- :class => AdwordsApi::V201003::AdGroupCriterionService::ApplicationException,
638
- :schema_type => XSD::QName.new(NsV201003, "ApplicationException"),
639
- :schema_element => [
640
- ["message", "SOAP::SOAPString", [0, 1]],
641
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApplicationException.Type")], [0, 1]]
642
- ]
643
- )
644
-
645
- EncodedRegistry.register(
646
- :class => AdwordsApi::V201003::AdGroupCriterionService::Bid,
647
- :schema_type => XSD::QName.new(NsV201003, "Bid"),
648
- :schema_element => [
649
- ["amount", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]]
650
- ]
651
- )
652
-
653
- EncodedRegistry.register(
654
- :class => AdwordsApi::V201003::AdGroupCriterionService::BudgetOptimizerAdGroupCriterionBids,
655
- :schema_type => XSD::QName.new(NsV201003, "BudgetOptimizerAdGroupCriterionBids"),
656
- :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
657
- :schema_element => [
658
- ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
659
- ["proxyBid", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
660
- ["enhancedCpcEnabled", "SOAP::SOAPBoolean", [0, 1]]
661
- ]
662
- )
663
-
664
- EncodedRegistry.register(
665
- :class => AdwordsApi::V201003::AdGroupCriterionService::ManualCPMAdGroupCriterionBids,
666
- :schema_type => XSD::QName.new(NsV201003, "ManualCPMAdGroupCriterionBids"),
667
- :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
668
- :schema_element => [
669
- ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
670
- ["maxCpm", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
671
- ["bidSource", "AdwordsApi::V201003::AdGroupCriterionService::BidSource", [0, 1]]
672
- ]
673
- )
674
-
675
- EncodedRegistry.register(
676
- :class => AdwordsApi::V201003::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids,
677
- :schema_type => XSD::QName.new(NsV201003, "PositionPreferenceAdGroupCriterionBids"),
678
- :schema_element => [
679
- ["proxyMaxCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
680
- ["preferredPosition", "SOAP::SOAPInt", [0, 1]],
681
- ["bottomPosition", "SOAP::SOAPInt", [0, 1]]
682
- ]
683
- )
684
-
685
- EncodedRegistry.register(
686
- :class => AdwordsApi::V201003::AdGroupCriterionService::Criterion,
687
- :schema_type => XSD::QName.new(NsV201003, "Criterion"),
688
- :schema_element => [
689
- ["id", "SOAP::SOAPLong", [0, 1]],
690
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Criterion.Type")], [0, 1]]
691
- ]
692
- )
693
-
694
- EncodedRegistry.register(
695
- :class => AdwordsApi::V201003::AdGroupCriterionService::ManualCPCAdGroupCriterionBids,
696
- :schema_type => XSD::QName.new(NsV201003, "ManualCPCAdGroupCriterionBids"),
697
- :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
698
- :schema_element => [
699
- ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
700
- ["maxCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
701
- ["bidSource", "AdwordsApi::V201003::AdGroupCriterionService::BidSource", [0, 1]],
702
- ["positionPreferenceBids", "AdwordsApi::V201003::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids", [0, 1]],
703
- ["enhancedCpcEnabled", "SOAP::SOAPBoolean", [0, 1]]
704
- ]
705
- )
706
-
707
- EncodedRegistry.register(
708
- :class => AdwordsApi::V201003::AdGroupCriterionService::BiddableAdGroupCriterion,
709
- :schema_type => XSD::QName.new(NsV201003, "BiddableAdGroupCriterion"),
710
- :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterion"),
711
- :schema_element => [
712
- ["adGroupId", "SOAP::SOAPLong", [0, 1]],
713
- ["criterion", "AdwordsApi::V201003::AdGroupCriterionService::Criterion", [0, 1]],
714
- ["adGroupCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterion.Type")], [0, 1]],
715
- ["userStatus", "AdwordsApi::V201003::AdGroupCriterionService::UserStatus", [0, 1]],
716
- ["systemServingStatus", "AdwordsApi::V201003::AdGroupCriterionService::SystemServingStatus", [0, 1]],
717
- ["approvalStatus", "AdwordsApi::V201003::AdGroupCriterionService::ApprovalStatus", [0, 1]],
718
- ["destinationUrl", "SOAP::SOAPString", [0, 1]],
719
- ["bids", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionBids", [0, 1]],
720
- ["firstPageCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
721
- ["qualityInfo", "AdwordsApi::V201003::AdGroupCriterionService::QualityInfo", [0, 1]],
722
- ["stats", "AdwordsApi::V201003::AdGroupCriterionService::Stats", [0, 1]]
723
- ]
724
- )
725
-
726
- EncodedRegistry.register(
727
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion,
728
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterion"),
729
- :schema_element => [
730
- ["adGroupId", "SOAP::SOAPLong", [0, 1]],
731
- ["criterion", "AdwordsApi::V201003::AdGroupCriterionService::Criterion", [0, 1]],
732
- ["adGroupCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterion.Type")], [0, 1]]
733
- ]
734
- )
735
-
736
- EncodedRegistry.register(
737
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionOperation,
738
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionOperation"),
739
- :schema_basetype => XSD::QName.new(NsV201003, "Operation"),
740
- :schema_element => [
741
- ["operator", "AdwordsApi::V201003::AdGroupCriterionService::Operator", [0, 1]],
742
- ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Operation.Type")], [0, 1]],
743
- ["operand", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion", [0, 1]],
744
- ["exemptionRequests", "AdwordsApi::V201003::AdGroupCriterionService::ExemptionRequest[]", [0, nil]]
745
- ]
746
- )
747
-
748
- EncodedRegistry.register(
749
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionPage,
750
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionPage"),
751
- :schema_basetype => XSD::QName.new(NsV201003, "Page"),
752
- :schema_element => [
753
- ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
754
- ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Page.Type")], [0, 1]],
755
- ["entries", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion[]", [0, nil]]
756
- ]
757
- )
758
-
759
- EncodedRegistry.register(
760
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionReturnValue,
761
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionReturnValue"),
762
- :schema_basetype => XSD::QName.new(NsV201003, "ListReturnValue"),
763
- :schema_element => [
764
- ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ListReturnValue.Type")], [0, 1]],
765
- ["value", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion[]", [0, nil]]
766
- ]
767
- )
768
-
769
- EncodedRegistry.register(
770
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionSelector,
771
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionSelector"),
772
- :schema_element => [
773
- ["idFilters", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionIdFilter[]", [0, nil]],
774
- ["criterionUse", "AdwordsApi::V201003::AdGroupCriterionService::CriterionUse", [0, 1]],
775
- ["userStatuses", "AdwordsApi::V201003::AdGroupCriterionService::UserStatus[]", [0, nil]],
776
- ["statsSelector", "AdwordsApi::V201003::AdGroupCriterionService::StatsSelector", [0, 1]],
777
- ["paging", "AdwordsApi::V201003::AdGroupCriterionService::Paging", [0, 1]]
778
- ]
779
- )
780
-
781
- EncodedRegistry.register(
782
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionErrorReason,
783
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionError.Reason")
784
- )
785
-
786
- EncodedRegistry.register(
787
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionLimitExceededCriteriaLimitType,
788
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionLimitExceeded.CriteriaLimitType")
789
- )
790
-
791
- EncodedRegistry.register(
792
- :class => AdwordsApi::V201003::AdGroupCriterionService::ApprovalStatus,
793
- :schema_type => XSD::QName.new(NsV201003, "ApprovalStatus")
792
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ApprovalStatus,
793
+ :schema_type => XSD::QName.new(NsV201003, "ApprovalStatus")
794
794
  )
795
795
 
796
796
  EncodedRegistry.register(
@@ -958,6 +958,16 @@ module DefaultMappingRegistry
958
958
  :schema_type => XSD::QName.new(NsV201003, "UserStatus")
959
959
  )
960
960
 
961
+ LiteralRegistry.register(
962
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion,
963
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterion"),
964
+ :schema_element => [
965
+ ["adGroupId", "SOAP::SOAPLong", [0, 1]],
966
+ ["criterion", "AdwordsApi::V201003::AdGroupCriterionService::Criterion", [0, 1]],
967
+ ["adGroupCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterion.Type")], [0, 1]]
968
+ ]
969
+ )
970
+
961
971
  LiteralRegistry.register(
962
972
  :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionError,
963
973
  :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionError"),
@@ -998,54 +1008,157 @@ module DefaultMappingRegistry
998
1008
  )
999
1009
 
1000
1010
  LiteralRegistry.register(
1001
- :class => AdwordsApi::V201003::AdGroupCriterionService::AuthenticationError,
1002
- :schema_type => XSD::QName.new(NsV201003, "AuthenticationError"),
1003
- :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1011
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionOperation,
1012
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionOperation"),
1013
+ :schema_basetype => XSD::QName.new(NsV201003, "Operation"),
1004
1014
  :schema_element => [
1005
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
1006
- ["trigger", "SOAP::SOAPString", [0, 1]],
1007
- ["errorString", "SOAP::SOAPString", [0, 1]],
1008
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1009
- ["reason", "AdwordsApi::V201003::AdGroupCriterionService::AuthenticationErrorReason", [0, 1]]
1015
+ ["operator", "AdwordsApi::V201003::AdGroupCriterionService::Operator", [0, 1]],
1016
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Operation.Type")], [0, 1]],
1017
+ ["operand", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion", [0, 1]],
1018
+ ["exemptionRequests", "AdwordsApi::V201003::AdGroupCriterionService::ExemptionRequest[]", [0, nil]]
1010
1019
  ]
1011
1020
  )
1012
1021
 
1013
1022
  LiteralRegistry.register(
1014
- :class => AdwordsApi::V201003::AdGroupCriterionService::AuthorizationError,
1015
- :schema_type => XSD::QName.new(NsV201003, "AuthorizationError"),
1016
- :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1023
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionPage,
1024
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionPage"),
1025
+ :schema_basetype => XSD::QName.new(NsV201003, "Page"),
1017
1026
  :schema_element => [
1018
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
1019
- ["trigger", "SOAP::SOAPString", [0, 1]],
1020
- ["errorString", "SOAP::SOAPString", [0, 1]],
1021
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1022
- ["reason", "AdwordsApi::V201003::AdGroupCriterionService::AuthorizationErrorReason", [0, 1]]
1027
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
1028
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Page.Type")], [0, 1]],
1029
+ ["entries", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion[]", [0, nil]]
1023
1030
  ]
1024
1031
  )
1025
1032
 
1026
1033
  LiteralRegistry.register(
1027
- :class => AdwordsApi::V201003::AdGroupCriterionService::BiddingError,
1028
- :schema_type => XSD::QName.new(NsV201003, "BiddingError"),
1029
- :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1034
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionReturnValue,
1035
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionReturnValue"),
1036
+ :schema_basetype => XSD::QName.new(NsV201003, "ListReturnValue"),
1030
1037
  :schema_element => [
1031
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
1032
- ["trigger", "SOAP::SOAPString", [0, 1]],
1033
- ["errorString", "SOAP::SOAPString", [0, 1]],
1034
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1035
- ["reason", "AdwordsApi::V201003::AdGroupCriterionService::BiddingErrorReason", [0, 1]]
1038
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ListReturnValue.Type")], [0, 1]],
1039
+ ["value", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion[]", [0, nil]]
1036
1040
  ]
1037
1041
  )
1038
1042
 
1039
1043
  LiteralRegistry.register(
1040
- :class => AdwordsApi::V201003::AdGroupCriterionService::ClientTermsError,
1041
- :schema_type => XSD::QName.new(NsV201003, "ClientTermsError"),
1042
- :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1044
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionSelector,
1045
+ :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionSelector"),
1043
1046
  :schema_element => [
1044
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
1045
- ["trigger", "SOAP::SOAPString", [0, 1]],
1046
- ["errorString", "SOAP::SOAPString", [0, 1]],
1047
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1048
- ["reason", "AdwordsApi::V201003::AdGroupCriterionService::ClientTermsErrorReason", [0, 1]]
1047
+ ["idFilters", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionIdFilter[]", [0, nil]],
1048
+ ["criterionUse", "AdwordsApi::V201003::AdGroupCriterionService::CriterionUse", [0, 1]],
1049
+ ["userStatuses", "AdwordsApi::V201003::AdGroupCriterionService::UserStatus[]", [0, nil]],
1050
+ ["statsSelector", "AdwordsApi::V201003::AdGroupCriterionService::StatsSelector", [0, 1]],
1051
+ ["paging", "AdwordsApi::V201003::AdGroupCriterionService::Paging", [0, 1]]
1052
+ ]
1053
+ )
1054
+
1055
+ LiteralRegistry.register(
1056
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ApiException,
1057
+ :schema_type => XSD::QName.new(NsV201003, "ApiException"),
1058
+ :schema_basetype => XSD::QName.new(NsV201003, "ApplicationException"),
1059
+ :schema_element => [
1060
+ ["message", "SOAP::SOAPString", [0, 1]],
1061
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApplicationException.Type")], [0, 1]],
1062
+ ["errors", "AdwordsApi::V201003::AdGroupCriterionService::ApiError[]", [0, nil]]
1063
+ ]
1064
+ )
1065
+
1066
+ LiteralRegistry.register(
1067
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ApplicationException,
1068
+ :schema_type => XSD::QName.new(NsV201003, "ApplicationException"),
1069
+ :schema_element => [
1070
+ ["message", "SOAP::SOAPString", [0, 1]],
1071
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApplicationException.Type")], [0, 1]]
1072
+ ]
1073
+ )
1074
+
1075
+ LiteralRegistry.register(
1076
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AuthenticationError,
1077
+ :schema_type => XSD::QName.new(NsV201003, "AuthenticationError"),
1078
+ :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1079
+ :schema_element => [
1080
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1081
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1082
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1083
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1084
+ ["reason", "AdwordsApi::V201003::AdGroupCriterionService::AuthenticationErrorReason", [0, 1]]
1085
+ ]
1086
+ )
1087
+
1088
+ LiteralRegistry.register(
1089
+ :class => AdwordsApi::V201003::AdGroupCriterionService::AuthorizationError,
1090
+ :schema_type => XSD::QName.new(NsV201003, "AuthorizationError"),
1091
+ :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1092
+ :schema_element => [
1093
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1094
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1095
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1096
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1097
+ ["reason", "AdwordsApi::V201003::AdGroupCriterionService::AuthorizationErrorReason", [0, 1]]
1098
+ ]
1099
+ )
1100
+
1101
+ LiteralRegistry.register(
1102
+ :class => AdwordsApi::V201003::AdGroupCriterionService::Bid,
1103
+ :schema_type => XSD::QName.new(NsV201003, "Bid"),
1104
+ :schema_element => [
1105
+ ["amount", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]]
1106
+ ]
1107
+ )
1108
+
1109
+ LiteralRegistry.register(
1110
+ :class => AdwordsApi::V201003::AdGroupCriterionService::BiddableAdGroupCriterion,
1111
+ :schema_type => XSD::QName.new(NsV201003, "BiddableAdGroupCriterion"),
1112
+ :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterion"),
1113
+ :schema_element => [
1114
+ ["adGroupId", "SOAP::SOAPLong", [0, 1]],
1115
+ ["criterion", "AdwordsApi::V201003::AdGroupCriterionService::Criterion", [0, 1]],
1116
+ ["adGroupCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterion.Type")], [0, 1]],
1117
+ ["userStatus", "AdwordsApi::V201003::AdGroupCriterionService::UserStatus", [0, 1]],
1118
+ ["systemServingStatus", "AdwordsApi::V201003::AdGroupCriterionService::SystemServingStatus", [0, 1]],
1119
+ ["approvalStatus", "AdwordsApi::V201003::AdGroupCriterionService::ApprovalStatus", [0, 1]],
1120
+ ["destinationUrl", "SOAP::SOAPString", [0, 1]],
1121
+ ["bids", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionBids", [0, 1]],
1122
+ ["firstPageCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1123
+ ["qualityInfo", "AdwordsApi::V201003::AdGroupCriterionService::QualityInfo", [0, 1]],
1124
+ ["stats", "AdwordsApi::V201003::AdGroupCriterionService::Stats", [0, 1]]
1125
+ ]
1126
+ )
1127
+
1128
+ LiteralRegistry.register(
1129
+ :class => AdwordsApi::V201003::AdGroupCriterionService::BiddingError,
1130
+ :schema_type => XSD::QName.new(NsV201003, "BiddingError"),
1131
+ :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1132
+ :schema_element => [
1133
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1134
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1135
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1136
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1137
+ ["reason", "AdwordsApi::V201003::AdGroupCriterionService::BiddingErrorReason", [0, 1]]
1138
+ ]
1139
+ )
1140
+
1141
+ LiteralRegistry.register(
1142
+ :class => AdwordsApi::V201003::AdGroupCriterionService::BudgetOptimizerAdGroupCriterionBids,
1143
+ :schema_type => XSD::QName.new(NsV201003, "BudgetOptimizerAdGroupCriterionBids"),
1144
+ :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
1145
+ :schema_element => [
1146
+ ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
1147
+ ["proxyBid", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1148
+ ["enhancedCpcEnabled", "SOAP::SOAPBoolean", [0, 1]]
1149
+ ]
1150
+ )
1151
+
1152
+ LiteralRegistry.register(
1153
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ClientTermsError,
1154
+ :schema_type => XSD::QName.new(NsV201003, "ClientTermsError"),
1155
+ :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1156
+ :schema_element => [
1157
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1158
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1159
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1160
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1161
+ ["reason", "AdwordsApi::V201003::AdGroupCriterionService::ClientTermsErrorReason", [0, 1]]
1049
1162
  ]
1050
1163
  )
1051
1164
 
@@ -1058,6 +1171,15 @@ module DefaultMappingRegistry
1058
1171
  ]
1059
1172
  )
1060
1173
 
1174
+ LiteralRegistry.register(
1175
+ :class => AdwordsApi::V201003::AdGroupCriterionService::Criterion,
1176
+ :schema_type => XSD::QName.new(NsV201003, "Criterion"),
1177
+ :schema_element => [
1178
+ ["id", "SOAP::SOAPLong", [0, 1]],
1179
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Criterion.Type")], [0, 1]]
1180
+ ]
1181
+ )
1182
+
1061
1183
  LiteralRegistry.register(
1062
1184
  :class => AdwordsApi::V201003::AdGroupCriterionService::CriterionPolicyError,
1063
1185
  :schema_type => XSD::QName.new(NsV201003, "CriterionPolicyError"),
@@ -1076,6 +1198,19 @@ module DefaultMappingRegistry
1076
1198
  ]
1077
1199
  )
1078
1200
 
1201
+ LiteralRegistry.register(
1202
+ :class => AdwordsApi::V201003::AdGroupCriterionService::DatabaseError,
1203
+ :schema_type => XSD::QName.new(NsV201003, "DatabaseError"),
1204
+ :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1205
+ :schema_element => [
1206
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1207
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1208
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1209
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1210
+ ["reason", "AdwordsApi::V201003::AdGroupCriterionService::DatabaseErrorReason", [0, 1]]
1211
+ ]
1212
+ )
1213
+
1079
1214
  LiteralRegistry.register(
1080
1215
  :class => AdwordsApi::V201003::AdGroupCriterionService::DateError,
1081
1216
  :schema_type => XSD::QName.new(NsV201003, "DateError"),
@@ -1162,6 +1297,14 @@ module DefaultMappingRegistry
1162
1297
  ]
1163
1298
  )
1164
1299
 
1300
+ LiteralRegistry.register(
1301
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ExemptionRequest,
1302
+ :schema_type => XSD::QName.new(NsV201003, "ExemptionRequest"),
1303
+ :schema_element => [
1304
+ ["key", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationKey", [0, 1]]
1305
+ ]
1306
+ )
1307
+
1165
1308
  LiteralRegistry.register(
1166
1309
  :class => AdwordsApi::V201003::AdGroupCriterionService::InternalApiError,
1167
1310
  :schema_type => XSD::QName.new(NsV201003, "InternalApiError"),
@@ -1197,6 +1340,30 @@ module DefaultMappingRegistry
1197
1340
  ]
1198
1341
  )
1199
1342
 
1343
+ LiteralRegistry.register(
1344
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ManualCPCAdGroupCriterionBids,
1345
+ :schema_type => XSD::QName.new(NsV201003, "ManualCPCAdGroupCriterionBids"),
1346
+ :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
1347
+ :schema_element => [
1348
+ ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
1349
+ ["maxCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1350
+ ["bidSource", "AdwordsApi::V201003::AdGroupCriterionService::BidSource", [0, 1]],
1351
+ ["positionPreferenceBids", "AdwordsApi::V201003::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids", [0, 1]],
1352
+ ["enhancedCpcEnabled", "SOAP::SOAPBoolean", [0, 1]]
1353
+ ]
1354
+ )
1355
+
1356
+ LiteralRegistry.register(
1357
+ :class => AdwordsApi::V201003::AdGroupCriterionService::ManualCPMAdGroupCriterionBids,
1358
+ :schema_type => XSD::QName.new(NsV201003, "ManualCPMAdGroupCriterionBids"),
1359
+ :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
1360
+ :schema_element => [
1361
+ ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
1362
+ ["maxCpm", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1363
+ ["bidSource", "AdwordsApi::V201003::AdGroupCriterionService::BidSource", [0, 1]]
1364
+ ]
1365
+ )
1366
+
1200
1367
  LiteralRegistry.register(
1201
1368
  :class => AdwordsApi::V201003::AdGroupCriterionService::Money,
1202
1369
  :schema_type => XSD::QName.new(NsV201003, "Money"),
@@ -1316,6 +1483,24 @@ module DefaultMappingRegistry
1316
1483
  ]
1317
1484
  )
1318
1485
 
1486
+ LiteralRegistry.register(
1487
+ :class => AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationError,
1488
+ :schema_type => XSD::QName.new(NsV201003, "PolicyViolationError"),
1489
+ :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1490
+ :schema_element => [
1491
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1492
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1493
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1494
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1495
+ ["key", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationKey", [0, 1]],
1496
+ ["externalPolicyName", "SOAP::SOAPString", [0, 1]],
1497
+ ["externalPolicyUrl", "SOAP::SOAPString", [0, 1]],
1498
+ ["externalPolicyDescription", "SOAP::SOAPString", [0, 1]],
1499
+ ["isExemptable", "SOAP::SOAPBoolean", [0, 1]],
1500
+ ["violatingParts", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationErrorPart[]", [0, nil]]
1501
+ ]
1502
+ )
1503
+
1319
1504
  LiteralRegistry.register(
1320
1505
  :class => AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationErrorPart,
1321
1506
  :schema_type => XSD::QName.new(NsV201003, "PolicyViolationError.Part"),
@@ -1334,6 +1519,16 @@ module DefaultMappingRegistry
1334
1519
  ]
1335
1520
  )
1336
1521
 
1522
+ LiteralRegistry.register(
1523
+ :class => AdwordsApi::V201003::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids,
1524
+ :schema_type => XSD::QName.new(NsV201003, "PositionPreferenceAdGroupCriterionBids"),
1525
+ :schema_element => [
1526
+ ["proxyMaxCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1527
+ ["preferredPosition", "SOAP::SOAPInt", [0, 1]],
1528
+ ["bottomPosition", "SOAP::SOAPInt", [0, 1]]
1529
+ ]
1530
+ )
1531
+
1337
1532
  LiteralRegistry.register(
1338
1533
  :class => AdwordsApi::V201003::AdGroupCriterionService::QualityInfo,
1339
1534
  :schema_type => XSD::QName.new(NsV201003, "QualityInfo"),
@@ -1476,78 +1671,6 @@ module DefaultMappingRegistry
1476
1671
  ]
1477
1672
  )
1478
1673
 
1479
- LiteralRegistry.register(
1480
- :class => AdwordsApi::V201003::AdGroupCriterionService::StatsQueryError,
1481
- :schema_type => XSD::QName.new(NsV201003, "StatsQueryError"),
1482
- :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1483
- :schema_element => [
1484
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
1485
- ["trigger", "SOAP::SOAPString", [0, 1]],
1486
- ["errorString", "SOAP::SOAPString", [0, 1]],
1487
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1488
- ["reason", "AdwordsApi::V201003::AdGroupCriterionService::StatsQueryErrorReason", [0, 1]]
1489
- ]
1490
- )
1491
-
1492
- LiteralRegistry.register(
1493
- :class => AdwordsApi::V201003::AdGroupCriterionService::StatsSelector,
1494
- :schema_type => XSD::QName.new(NsV201003, "StatsSelector"),
1495
- :schema_element => [
1496
- ["dateRange", "AdwordsApi::V201003::AdGroupCriterionService::DateRange", [0, 1]],
1497
- ["statsSelector_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "StatsSelector.Type")], [0, 1]]
1498
- ]
1499
- )
1500
-
1501
- LiteralRegistry.register(
1502
- :class => AdwordsApi::V201003::AdGroupCriterionService::Vertical,
1503
- :schema_type => XSD::QName.new(NsV201003, "Vertical"),
1504
- :schema_basetype => XSD::QName.new(NsV201003, "Criterion"),
1505
- :schema_element => [
1506
- ["id", "SOAP::SOAPLong", [0, 1]],
1507
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Criterion.Type")], [0, 1]],
1508
- ["path", "SOAP::SOAPString[]", [0, nil]]
1509
- ]
1510
- )
1511
-
1512
- LiteralRegistry.register(
1513
- :class => AdwordsApi::V201003::AdGroupCriterionService::DatabaseError,
1514
- :schema_type => XSD::QName.new(NsV201003, "DatabaseError"),
1515
- :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1516
- :schema_element => [
1517
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
1518
- ["trigger", "SOAP::SOAPString", [0, 1]],
1519
- ["errorString", "SOAP::SOAPString", [0, 1]],
1520
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1521
- ["reason", "AdwordsApi::V201003::AdGroupCriterionService::DatabaseErrorReason", [0, 1]]
1522
- ]
1523
- )
1524
-
1525
- LiteralRegistry.register(
1526
- :class => AdwordsApi::V201003::AdGroupCriterionService::ExemptionRequest,
1527
- :schema_type => XSD::QName.new(NsV201003, "ExemptionRequest"),
1528
- :schema_element => [
1529
- ["key", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationKey", [0, 1]]
1530
- ]
1531
- )
1532
-
1533
- LiteralRegistry.register(
1534
- :class => AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationError,
1535
- :schema_type => XSD::QName.new(NsV201003, "PolicyViolationError"),
1536
- :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1537
- :schema_element => [
1538
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
1539
- ["trigger", "SOAP::SOAPString", [0, 1]],
1540
- ["errorString", "SOAP::SOAPString", [0, 1]],
1541
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1542
- ["key", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationKey", [0, 1]],
1543
- ["externalPolicyName", "SOAP::SOAPString", [0, 1]],
1544
- ["externalPolicyUrl", "SOAP::SOAPString", [0, 1]],
1545
- ["externalPolicyDescription", "SOAP::SOAPString", [0, 1]],
1546
- ["isExemptable", "SOAP::SOAPBoolean", [0, 1]],
1547
- ["violatingParts", "AdwordsApi::V201003::AdGroupCriterionService::PolicyViolationErrorPart[]", [0, nil]]
1548
- ]
1549
- )
1550
-
1551
1674
  LiteralRegistry.register(
1552
1675
  :class => AdwordsApi::V201003::AdGroupCriterionService::Stats,
1553
1676
  :schema_type => XSD::QName.new(NsV201003, "Stats"),
@@ -1573,158 +1696,35 @@ module DefaultMappingRegistry
1573
1696
  )
1574
1697
 
1575
1698
  LiteralRegistry.register(
1576
- :class => AdwordsApi::V201003::AdGroupCriterionService::ApiException,
1577
- :schema_type => XSD::QName.new(NsV201003, "ApiException"),
1578
- :schema_basetype => XSD::QName.new(NsV201003, "ApplicationException"),
1579
- :schema_element => [
1580
- ["message", "SOAP::SOAPString", [0, 1]],
1581
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApplicationException.Type")], [0, 1]],
1582
- ["errors", "AdwordsApi::V201003::AdGroupCriterionService::ApiError[]", [0, nil]]
1583
- ]
1584
- )
1585
-
1586
- LiteralRegistry.register(
1587
- :class => AdwordsApi::V201003::AdGroupCriterionService::ApplicationException,
1588
- :schema_type => XSD::QName.new(NsV201003, "ApplicationException"),
1589
- :schema_element => [
1590
- ["message", "SOAP::SOAPString", [0, 1]],
1591
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApplicationException.Type")], [0, 1]]
1592
- ]
1593
- )
1594
-
1595
- LiteralRegistry.register(
1596
- :class => AdwordsApi::V201003::AdGroupCriterionService::Bid,
1597
- :schema_type => XSD::QName.new(NsV201003, "Bid"),
1598
- :schema_element => [
1599
- ["amount", "AdwordsApi::V201003::AdGroupCriterionService::Money", [0, 1]]
1600
- ]
1601
- )
1602
-
1603
- LiteralRegistry.register(
1604
- :class => AdwordsApi::V201003::AdGroupCriterionService::BudgetOptimizerAdGroupCriterionBids,
1605
- :schema_type => XSD::QName.new(NsV201003, "BudgetOptimizerAdGroupCriterionBids"),
1606
- :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
1607
- :schema_element => [
1608
- ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
1609
- ["proxyBid", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1610
- ["enhancedCpcEnabled", "SOAP::SOAPBoolean", [0, 1]]
1611
- ]
1612
- )
1613
-
1614
- LiteralRegistry.register(
1615
- :class => AdwordsApi::V201003::AdGroupCriterionService::ManualCPMAdGroupCriterionBids,
1616
- :schema_type => XSD::QName.new(NsV201003, "ManualCPMAdGroupCriterionBids"),
1617
- :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
1699
+ :class => AdwordsApi::V201003::AdGroupCriterionService::StatsQueryError,
1700
+ :schema_type => XSD::QName.new(NsV201003, "StatsQueryError"),
1701
+ :schema_basetype => XSD::QName.new(NsV201003, "ApiError"),
1618
1702
  :schema_element => [
1619
- ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
1620
- ["maxCpm", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1621
- ["bidSource", "AdwordsApi::V201003::AdGroupCriterionService::BidSource", [0, 1]]
1703
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
1704
+ ["trigger", "SOAP::SOAPString", [0, 1]],
1705
+ ["errorString", "SOAP::SOAPString", [0, 1]],
1706
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ApiError.Type")], [0, 1]],
1707
+ ["reason", "AdwordsApi::V201003::AdGroupCriterionService::StatsQueryErrorReason", [0, 1]]
1622
1708
  ]
1623
1709
  )
1624
1710
 
1625
1711
  LiteralRegistry.register(
1626
- :class => AdwordsApi::V201003::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids,
1627
- :schema_type => XSD::QName.new(NsV201003, "PositionPreferenceAdGroupCriterionBids"),
1712
+ :class => AdwordsApi::V201003::AdGroupCriterionService::StatsSelector,
1713
+ :schema_type => XSD::QName.new(NsV201003, "StatsSelector"),
1628
1714
  :schema_element => [
1629
- ["proxyMaxCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1630
- ["preferredPosition", "SOAP::SOAPInt", [0, 1]],
1631
- ["bottomPosition", "SOAP::SOAPInt", [0, 1]]
1715
+ ["dateRange", "AdwordsApi::V201003::AdGroupCriterionService::DateRange", [0, 1]],
1716
+ ["statsSelector_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "StatsSelector.Type")], [0, 1]]
1632
1717
  ]
1633
1718
  )
1634
1719
 
1635
1720
  LiteralRegistry.register(
1636
- :class => AdwordsApi::V201003::AdGroupCriterionService::Criterion,
1637
- :schema_type => XSD::QName.new(NsV201003, "Criterion"),
1721
+ :class => AdwordsApi::V201003::AdGroupCriterionService::Vertical,
1722
+ :schema_type => XSD::QName.new(NsV201003, "Vertical"),
1723
+ :schema_basetype => XSD::QName.new(NsV201003, "Criterion"),
1638
1724
  :schema_element => [
1639
1725
  ["id", "SOAP::SOAPLong", [0, 1]],
1640
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Criterion.Type")], [0, 1]]
1641
- ]
1642
- )
1643
-
1644
- LiteralRegistry.register(
1645
- :class => AdwordsApi::V201003::AdGroupCriterionService::ManualCPCAdGroupCriterionBids,
1646
- :schema_type => XSD::QName.new(NsV201003, "ManualCPCAdGroupCriterionBids"),
1647
- :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterionBids"),
1648
- :schema_element => [
1649
- ["adGroupCriterionBids_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterionBids.Type")], [0, 1]],
1650
- ["maxCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1651
- ["bidSource", "AdwordsApi::V201003::AdGroupCriterionService::BidSource", [0, 1]],
1652
- ["positionPreferenceBids", "AdwordsApi::V201003::AdGroupCriterionService::PositionPreferenceAdGroupCriterionBids", [0, 1]],
1653
- ["enhancedCpcEnabled", "SOAP::SOAPBoolean", [0, 1]]
1654
- ]
1655
- )
1656
-
1657
- LiteralRegistry.register(
1658
- :class => AdwordsApi::V201003::AdGroupCriterionService::BiddableAdGroupCriterion,
1659
- :schema_type => XSD::QName.new(NsV201003, "BiddableAdGroupCriterion"),
1660
- :schema_basetype => XSD::QName.new(NsV201003, "AdGroupCriterion"),
1661
- :schema_element => [
1662
- ["adGroupId", "SOAP::SOAPLong", [0, 1]],
1663
- ["criterion", "AdwordsApi::V201003::AdGroupCriterionService::Criterion", [0, 1]],
1664
- ["adGroupCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterion.Type")], [0, 1]],
1665
- ["userStatus", "AdwordsApi::V201003::AdGroupCriterionService::UserStatus", [0, 1]],
1666
- ["systemServingStatus", "AdwordsApi::V201003::AdGroupCriterionService::SystemServingStatus", [0, 1]],
1667
- ["approvalStatus", "AdwordsApi::V201003::AdGroupCriterionService::ApprovalStatus", [0, 1]],
1668
- ["destinationUrl", "SOAP::SOAPString", [0, 1]],
1669
- ["bids", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionBids", [0, 1]],
1670
- ["firstPageCpc", "AdwordsApi::V201003::AdGroupCriterionService::Bid", [0, 1]],
1671
- ["qualityInfo", "AdwordsApi::V201003::AdGroupCriterionService::QualityInfo", [0, 1]],
1672
- ["stats", "AdwordsApi::V201003::AdGroupCriterionService::Stats", [0, 1]]
1673
- ]
1674
- )
1675
-
1676
- LiteralRegistry.register(
1677
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion,
1678
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterion"),
1679
- :schema_element => [
1680
- ["adGroupId", "SOAP::SOAPLong", [0, 1]],
1681
- ["criterion", "AdwordsApi::V201003::AdGroupCriterionService::Criterion", [0, 1]],
1682
- ["adGroupCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "AdGroupCriterion.Type")], [0, 1]]
1683
- ]
1684
- )
1685
-
1686
- LiteralRegistry.register(
1687
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionOperation,
1688
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionOperation"),
1689
- :schema_basetype => XSD::QName.new(NsV201003, "Operation"),
1690
- :schema_element => [
1691
- ["operator", "AdwordsApi::V201003::AdGroupCriterionService::Operator", [0, 1]],
1692
- ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Operation.Type")], [0, 1]],
1693
- ["operand", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion", [0, 1]],
1694
- ["exemptionRequests", "AdwordsApi::V201003::AdGroupCriterionService::ExemptionRequest[]", [0, nil]]
1695
- ]
1696
- )
1697
-
1698
- LiteralRegistry.register(
1699
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionPage,
1700
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionPage"),
1701
- :schema_basetype => XSD::QName.new(NsV201003, "Page"),
1702
- :schema_element => [
1703
- ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
1704
- ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Page.Type")], [0, 1]],
1705
- ["entries", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion[]", [0, nil]]
1706
- ]
1707
- )
1708
-
1709
- LiteralRegistry.register(
1710
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionReturnValue,
1711
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionReturnValue"),
1712
- :schema_basetype => XSD::QName.new(NsV201003, "ListReturnValue"),
1713
- :schema_element => [
1714
- ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "ListReturnValue.Type")], [0, 1]],
1715
- ["value", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterion[]", [0, nil]]
1716
- ]
1717
- )
1718
-
1719
- LiteralRegistry.register(
1720
- :class => AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionSelector,
1721
- :schema_type => XSD::QName.new(NsV201003, "AdGroupCriterionSelector"),
1722
- :schema_element => [
1723
- ["idFilters", "AdwordsApi::V201003::AdGroupCriterionService::AdGroupCriterionIdFilter[]", [0, nil]],
1724
- ["criterionUse", "AdwordsApi::V201003::AdGroupCriterionService::CriterionUse", [0, 1]],
1725
- ["userStatuses", "AdwordsApi::V201003::AdGroupCriterionService::UserStatus[]", [0, nil]],
1726
- ["statsSelector", "AdwordsApi::V201003::AdGroupCriterionService::StatsSelector", [0, 1]],
1727
- ["paging", "AdwordsApi::V201003::AdGroupCriterionService::Paging", [0, 1]]
1726
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201003, "Criterion.Type")], [0, 1]],
1727
+ ["path", "SOAP::SOAPString[]", [0, nil]]
1728
1728
  ]
1729
1729
  )
1730
1730