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 CampaignCriterionServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignCriterionServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201008::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -8,6 +8,26 @@ module DefaultMappingRegistry
8
8
  LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
9
9
  NsV201008 = "https://adwords.google.com/api/adwords/cm/v201008"
10
10
 
11
+ EncodedRegistry.register(
12
+ :class => AdwordsApi::V201008::CampaignCriterionService::ApiException,
13
+ :schema_type => XSD::QName.new(NsV201008, "ApiException"),
14
+ :schema_basetype => XSD::QName.new(NsV201008, "ApplicationException"),
15
+ :schema_element => [
16
+ ["message", "SOAP::SOAPString", [0, 1]],
17
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApplicationException.Type")], [0, 1]],
18
+ ["errors", "AdwordsApi::V201008::CampaignCriterionService::ApiError[]", [0, nil]]
19
+ ]
20
+ )
21
+
22
+ EncodedRegistry.register(
23
+ :class => AdwordsApi::V201008::CampaignCriterionService::ApplicationException,
24
+ :schema_type => XSD::QName.new(NsV201008, "ApplicationException"),
25
+ :schema_element => [
26
+ ["message", "SOAP::SOAPString", [0, 1]],
27
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApplicationException.Type")], [0, 1]]
28
+ ]
29
+ )
30
+
11
31
  EncodedRegistry.register(
12
32
  :class => AdwordsApi::V201008::CampaignCriterionService::AuthenticationError,
13
33
  :schema_type => XSD::QName.new(NsV201008, "AuthenticationError"),
@@ -34,6 +54,16 @@ module DefaultMappingRegistry
34
54
  ]
35
55
  )
36
56
 
57
+ EncodedRegistry.register(
58
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion,
59
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterion"),
60
+ :schema_element => [
61
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
62
+ ["criterion", "AdwordsApi::V201008::CampaignCriterionService::Criterion", [0, 1]],
63
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "CampaignCriterion.Type")], [0, 1]]
64
+ ]
65
+ )
66
+
37
67
  EncodedRegistry.register(
38
68
  :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionError,
39
69
  :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionError"),
@@ -72,6 +102,47 @@ module DefaultMappingRegistry
72
102
  ]
73
103
  )
74
104
 
105
+ EncodedRegistry.register(
106
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionOperation,
107
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionOperation"),
108
+ :schema_basetype => XSD::QName.new(NsV201008, "Operation"),
109
+ :schema_element => [
110
+ ["operator", "AdwordsApi::V201008::CampaignCriterionService::Operator", [0, 1]],
111
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Operation.Type")], [0, 1]],
112
+ ["operand", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion", [0, 1]]
113
+ ]
114
+ )
115
+
116
+ EncodedRegistry.register(
117
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionPage,
118
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionPage"),
119
+ :schema_basetype => XSD::QName.new(NsV201008, "Page"),
120
+ :schema_element => [
121
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
122
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Page.Type")], [0, 1]],
123
+ ["entries", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
124
+ ]
125
+ )
126
+
127
+ EncodedRegistry.register(
128
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionReturnValue,
129
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionReturnValue"),
130
+ :schema_basetype => XSD::QName.new(NsV201008, "ListReturnValue"),
131
+ :schema_element => [
132
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ListReturnValue.Type")], [0, 1]],
133
+ ["value", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
134
+ ]
135
+ )
136
+
137
+ EncodedRegistry.register(
138
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionSelector,
139
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionSelector"),
140
+ :schema_element => [
141
+ ["idFilters", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
142
+ ["paging", "AdwordsApi::V201008::CampaignCriterionService::Paging", [0, 1]]
143
+ ]
144
+ )
145
+
75
146
  EncodedRegistry.register(
76
147
  :class => AdwordsApi::V201008::CampaignCriterionService::ClientTermsError,
77
148
  :schema_type => XSD::QName.new(NsV201008, "ClientTermsError"),
@@ -96,6 +167,28 @@ module DefaultMappingRegistry
96
167
  ]
97
168
  )
98
169
 
170
+ EncodedRegistry.register(
171
+ :class => AdwordsApi::V201008::CampaignCriterionService::Criterion,
172
+ :schema_type => XSD::QName.new(NsV201008, "Criterion"),
173
+ :schema_element => [
174
+ ["id", "SOAP::SOAPLong", [0, 1]],
175
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Criterion.Type")], [0, 1]]
176
+ ]
177
+ )
178
+
179
+ EncodedRegistry.register(
180
+ :class => AdwordsApi::V201008::CampaignCriterionService::DatabaseError,
181
+ :schema_type => XSD::QName.new(NsV201008, "DatabaseError"),
182
+ :schema_basetype => XSD::QName.new(NsV201008, "ApiError"),
183
+ :schema_element => [
184
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
185
+ ["trigger", "SOAP::SOAPString", [0, 1]],
186
+ ["errorString", "SOAP::SOAPString", [0, 1]],
187
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApiError.Type")], [0, 1]],
188
+ ["reason", "AdwordsApi::V201008::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
189
+ ]
190
+ )
191
+
99
192
  EncodedRegistry.register(
100
193
  :class => AdwordsApi::V201008::CampaignCriterionService::DistinctError,
101
194
  :schema_type => XSD::QName.new(NsV201008, "DistinctError"),
@@ -284,6 +377,27 @@ module DefaultMappingRegistry
284
377
  ]
285
378
  )
286
379
 
380
+ EncodedRegistry.register(
381
+ :class => AdwordsApi::V201008::CampaignCriterionService::Product,
382
+ :schema_type => XSD::QName.new(NsV201008, "Product"),
383
+ :schema_basetype => XSD::QName.new(NsV201008, "Criterion"),
384
+ :schema_element => [
385
+ ["id", "SOAP::SOAPLong", [0, 1]],
386
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Criterion.Type")], [0, 1]],
387
+ ["conditions", "AdwordsApi::V201008::CampaignCriterionService::ProductCondition[]", [0, nil]],
388
+ ["text", "SOAP::SOAPString", [0, 1]]
389
+ ]
390
+ )
391
+
392
+ EncodedRegistry.register(
393
+ :class => AdwordsApi::V201008::CampaignCriterionService::ProductCondition,
394
+ :schema_type => XSD::QName.new(NsV201008, "ProductCondition"),
395
+ :schema_element => [
396
+ ["argument", "SOAP::SOAPString", [0, 1]],
397
+ ["operand", "AdwordsApi::V201008::CampaignCriterionService::ProductConditionOperand", [0, 1]]
398
+ ]
399
+ )
400
+
287
401
  EncodedRegistry.register(
288
402
  :class => AdwordsApi::V201008::CampaignCriterionService::ProductConditionOperand,
289
403
  :schema_type => XSD::QName.new(NsV201008, "ProductConditionOperand"),
@@ -448,120 +562,6 @@ module DefaultMappingRegistry
448
562
  ]
449
563
  )
450
564
 
451
- EncodedRegistry.register(
452
- :class => AdwordsApi::V201008::CampaignCriterionService::DatabaseError,
453
- :schema_type => XSD::QName.new(NsV201008, "DatabaseError"),
454
- :schema_basetype => XSD::QName.new(NsV201008, "ApiError"),
455
- :schema_element => [
456
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
457
- ["trigger", "SOAP::SOAPString", [0, 1]],
458
- ["errorString", "SOAP::SOAPString", [0, 1]],
459
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApiError.Type")], [0, 1]],
460
- ["reason", "AdwordsApi::V201008::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
461
- ]
462
- )
463
-
464
- EncodedRegistry.register(
465
- :class => AdwordsApi::V201008::CampaignCriterionService::ProductCondition,
466
- :schema_type => XSD::QName.new(NsV201008, "ProductCondition"),
467
- :schema_element => [
468
- ["argument", "SOAP::SOAPString", [0, 1]],
469
- ["operand", "AdwordsApi::V201008::CampaignCriterionService::ProductConditionOperand", [0, 1]]
470
- ]
471
- )
472
-
473
- EncodedRegistry.register(
474
- :class => AdwordsApi::V201008::CampaignCriterionService::ApiException,
475
- :schema_type => XSD::QName.new(NsV201008, "ApiException"),
476
- :schema_basetype => XSD::QName.new(NsV201008, "ApplicationException"),
477
- :schema_element => [
478
- ["message", "SOAP::SOAPString", [0, 1]],
479
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApplicationException.Type")], [0, 1]],
480
- ["errors", "AdwordsApi::V201008::CampaignCriterionService::ApiError[]", [0, nil]]
481
- ]
482
- )
483
-
484
- EncodedRegistry.register(
485
- :class => AdwordsApi::V201008::CampaignCriterionService::ApplicationException,
486
- :schema_type => XSD::QName.new(NsV201008, "ApplicationException"),
487
- :schema_element => [
488
- ["message", "SOAP::SOAPString", [0, 1]],
489
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApplicationException.Type")], [0, 1]]
490
- ]
491
- )
492
-
493
- EncodedRegistry.register(
494
- :class => AdwordsApi::V201008::CampaignCriterionService::Product,
495
- :schema_type => XSD::QName.new(NsV201008, "Product"),
496
- :schema_basetype => XSD::QName.new(NsV201008, "Criterion"),
497
- :schema_element => [
498
- ["id", "SOAP::SOAPLong", [0, 1]],
499
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Criterion.Type")], [0, 1]],
500
- ["conditions", "AdwordsApi::V201008::CampaignCriterionService::ProductCondition[]", [0, nil]],
501
- ["text", "SOAP::SOAPString", [0, 1]]
502
- ]
503
- )
504
-
505
- EncodedRegistry.register(
506
- :class => AdwordsApi::V201008::CampaignCriterionService::Criterion,
507
- :schema_type => XSD::QName.new(NsV201008, "Criterion"),
508
- :schema_element => [
509
- ["id", "SOAP::SOAPLong", [0, 1]],
510
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Criterion.Type")], [0, 1]]
511
- ]
512
- )
513
-
514
- EncodedRegistry.register(
515
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion,
516
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterion"),
517
- :schema_element => [
518
- ["campaignId", "SOAP::SOAPLong", [0, 1]],
519
- ["criterion", "AdwordsApi::V201008::CampaignCriterionService::Criterion", [0, 1]],
520
- ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "CampaignCriterion.Type")], [0, 1]]
521
- ]
522
- )
523
-
524
- EncodedRegistry.register(
525
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionOperation,
526
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionOperation"),
527
- :schema_basetype => XSD::QName.new(NsV201008, "Operation"),
528
- :schema_element => [
529
- ["operator", "AdwordsApi::V201008::CampaignCriterionService::Operator", [0, 1]],
530
- ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Operation.Type")], [0, 1]],
531
- ["operand", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion", [0, 1]]
532
- ]
533
- )
534
-
535
- EncodedRegistry.register(
536
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionPage,
537
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionPage"),
538
- :schema_basetype => XSD::QName.new(NsV201008, "Page"),
539
- :schema_element => [
540
- ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
541
- ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Page.Type")], [0, 1]],
542
- ["entries", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
543
- ]
544
- )
545
-
546
- EncodedRegistry.register(
547
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionReturnValue,
548
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionReturnValue"),
549
- :schema_basetype => XSD::QName.new(NsV201008, "ListReturnValue"),
550
- :schema_element => [
551
- ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ListReturnValue.Type")], [0, 1]],
552
- ["value", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
553
- ]
554
- )
555
-
556
- EncodedRegistry.register(
557
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionSelector,
558
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionSelector"),
559
- :schema_element => [
560
- ["idFilters", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
561
- ["paging", "AdwordsApi::V201008::CampaignCriterionService::Paging", [0, 1]]
562
- ]
563
- )
564
-
565
565
  EncodedRegistry.register(
566
566
  :class => AdwordsApi::V201008::CampaignCriterionService::AuthenticationErrorReason,
567
567
  :schema_type => XSD::QName.new(NsV201008, "AuthenticationError.Reason")
@@ -702,6 +702,26 @@ module DefaultMappingRegistry
702
702
  :schema_type => XSD::QName.new(NsV201008, "CriterionUserList.MembershipStatus")
703
703
  )
704
704
 
705
+ LiteralRegistry.register(
706
+ :class => AdwordsApi::V201008::CampaignCriterionService::ApiException,
707
+ :schema_type => XSD::QName.new(NsV201008, "ApiException"),
708
+ :schema_basetype => XSD::QName.new(NsV201008, "ApplicationException"),
709
+ :schema_element => [
710
+ ["message", "SOAP::SOAPString", [0, 1]],
711
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApplicationException.Type")], [0, 1]],
712
+ ["errors", "AdwordsApi::V201008::CampaignCriterionService::ApiError[]", [0, nil]]
713
+ ]
714
+ )
715
+
716
+ LiteralRegistry.register(
717
+ :class => AdwordsApi::V201008::CampaignCriterionService::ApplicationException,
718
+ :schema_type => XSD::QName.new(NsV201008, "ApplicationException"),
719
+ :schema_element => [
720
+ ["message", "SOAP::SOAPString", [0, 1]],
721
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApplicationException.Type")], [0, 1]]
722
+ ]
723
+ )
724
+
705
725
  LiteralRegistry.register(
706
726
  :class => AdwordsApi::V201008::CampaignCriterionService::AuthenticationError,
707
727
  :schema_type => XSD::QName.new(NsV201008, "AuthenticationError"),
@@ -728,6 +748,16 @@ module DefaultMappingRegistry
728
748
  ]
729
749
  )
730
750
 
751
+ LiteralRegistry.register(
752
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion,
753
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterion"),
754
+ :schema_element => [
755
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
756
+ ["criterion", "AdwordsApi::V201008::CampaignCriterionService::Criterion", [0, 1]],
757
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "CampaignCriterion.Type")], [0, 1]]
758
+ ]
759
+ )
760
+
731
761
  LiteralRegistry.register(
732
762
  :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionError,
733
763
  :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionError"),
@@ -766,6 +796,47 @@ module DefaultMappingRegistry
766
796
  ]
767
797
  )
768
798
 
799
+ LiteralRegistry.register(
800
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionOperation,
801
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionOperation"),
802
+ :schema_basetype => XSD::QName.new(NsV201008, "Operation"),
803
+ :schema_element => [
804
+ ["operator", "AdwordsApi::V201008::CampaignCriterionService::Operator", [0, 1]],
805
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Operation.Type")], [0, 1]],
806
+ ["operand", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion", [0, 1]]
807
+ ]
808
+ )
809
+
810
+ LiteralRegistry.register(
811
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionPage,
812
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionPage"),
813
+ :schema_basetype => XSD::QName.new(NsV201008, "Page"),
814
+ :schema_element => [
815
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
816
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Page.Type")], [0, 1]],
817
+ ["entries", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
818
+ ]
819
+ )
820
+
821
+ LiteralRegistry.register(
822
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionReturnValue,
823
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionReturnValue"),
824
+ :schema_basetype => XSD::QName.new(NsV201008, "ListReturnValue"),
825
+ :schema_element => [
826
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ListReturnValue.Type")], [0, 1]],
827
+ ["value", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
828
+ ]
829
+ )
830
+
831
+ LiteralRegistry.register(
832
+ :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionSelector,
833
+ :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionSelector"),
834
+ :schema_element => [
835
+ ["idFilters", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
836
+ ["paging", "AdwordsApi::V201008::CampaignCriterionService::Paging", [0, 1]]
837
+ ]
838
+ )
839
+
769
840
  LiteralRegistry.register(
770
841
  :class => AdwordsApi::V201008::CampaignCriterionService::ClientTermsError,
771
842
  :schema_type => XSD::QName.new(NsV201008, "ClientTermsError"),
@@ -790,6 +861,28 @@ module DefaultMappingRegistry
790
861
  ]
791
862
  )
792
863
 
864
+ LiteralRegistry.register(
865
+ :class => AdwordsApi::V201008::CampaignCriterionService::Criterion,
866
+ :schema_type => XSD::QName.new(NsV201008, "Criterion"),
867
+ :schema_element => [
868
+ ["id", "SOAP::SOAPLong", [0, 1]],
869
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Criterion.Type")], [0, 1]]
870
+ ]
871
+ )
872
+
873
+ LiteralRegistry.register(
874
+ :class => AdwordsApi::V201008::CampaignCriterionService::DatabaseError,
875
+ :schema_type => XSD::QName.new(NsV201008, "DatabaseError"),
876
+ :schema_basetype => XSD::QName.new(NsV201008, "ApiError"),
877
+ :schema_element => [
878
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
879
+ ["trigger", "SOAP::SOAPString", [0, 1]],
880
+ ["errorString", "SOAP::SOAPString", [0, 1]],
881
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApiError.Type")], [0, 1]],
882
+ ["reason", "AdwordsApi::V201008::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
883
+ ]
884
+ )
885
+
793
886
  LiteralRegistry.register(
794
887
  :class => AdwordsApi::V201008::CampaignCriterionService::DistinctError,
795
888
  :schema_type => XSD::QName.new(NsV201008, "DistinctError"),
@@ -978,6 +1071,27 @@ module DefaultMappingRegistry
978
1071
  ]
979
1072
  )
980
1073
 
1074
+ LiteralRegistry.register(
1075
+ :class => AdwordsApi::V201008::CampaignCriterionService::Product,
1076
+ :schema_type => XSD::QName.new(NsV201008, "Product"),
1077
+ :schema_basetype => XSD::QName.new(NsV201008, "Criterion"),
1078
+ :schema_element => [
1079
+ ["id", "SOAP::SOAPLong", [0, 1]],
1080
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Criterion.Type")], [0, 1]],
1081
+ ["conditions", "AdwordsApi::V201008::CampaignCriterionService::ProductCondition[]", [0, nil]],
1082
+ ["text", "SOAP::SOAPString", [0, 1]]
1083
+ ]
1084
+ )
1085
+
1086
+ LiteralRegistry.register(
1087
+ :class => AdwordsApi::V201008::CampaignCriterionService::ProductCondition,
1088
+ :schema_type => XSD::QName.new(NsV201008, "ProductCondition"),
1089
+ :schema_element => [
1090
+ ["argument", "SOAP::SOAPString", [0, 1]],
1091
+ ["operand", "AdwordsApi::V201008::CampaignCriterionService::ProductConditionOperand", [0, 1]]
1092
+ ]
1093
+ )
1094
+
981
1095
  LiteralRegistry.register(
982
1096
  :class => AdwordsApi::V201008::CampaignCriterionService::ProductConditionOperand,
983
1097
  :schema_type => XSD::QName.new(NsV201008, "ProductConditionOperand"),
@@ -1142,120 +1256,6 @@ module DefaultMappingRegistry
1142
1256
  ]
1143
1257
  )
1144
1258
 
1145
- LiteralRegistry.register(
1146
- :class => AdwordsApi::V201008::CampaignCriterionService::DatabaseError,
1147
- :schema_type => XSD::QName.new(NsV201008, "DatabaseError"),
1148
- :schema_basetype => XSD::QName.new(NsV201008, "ApiError"),
1149
- :schema_element => [
1150
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
1151
- ["trigger", "SOAP::SOAPString", [0, 1]],
1152
- ["errorString", "SOAP::SOAPString", [0, 1]],
1153
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApiError.Type")], [0, 1]],
1154
- ["reason", "AdwordsApi::V201008::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
1155
- ]
1156
- )
1157
-
1158
- LiteralRegistry.register(
1159
- :class => AdwordsApi::V201008::CampaignCriterionService::ProductCondition,
1160
- :schema_type => XSD::QName.new(NsV201008, "ProductCondition"),
1161
- :schema_element => [
1162
- ["argument", "SOAP::SOAPString", [0, 1]],
1163
- ["operand", "AdwordsApi::V201008::CampaignCriterionService::ProductConditionOperand", [0, 1]]
1164
- ]
1165
- )
1166
-
1167
- LiteralRegistry.register(
1168
- :class => AdwordsApi::V201008::CampaignCriterionService::ApiException,
1169
- :schema_type => XSD::QName.new(NsV201008, "ApiException"),
1170
- :schema_basetype => XSD::QName.new(NsV201008, "ApplicationException"),
1171
- :schema_element => [
1172
- ["message", "SOAP::SOAPString", [0, 1]],
1173
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApplicationException.Type")], [0, 1]],
1174
- ["errors", "AdwordsApi::V201008::CampaignCriterionService::ApiError[]", [0, nil]]
1175
- ]
1176
- )
1177
-
1178
- LiteralRegistry.register(
1179
- :class => AdwordsApi::V201008::CampaignCriterionService::ApplicationException,
1180
- :schema_type => XSD::QName.new(NsV201008, "ApplicationException"),
1181
- :schema_element => [
1182
- ["message", "SOAP::SOAPString", [0, 1]],
1183
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ApplicationException.Type")], [0, 1]]
1184
- ]
1185
- )
1186
-
1187
- LiteralRegistry.register(
1188
- :class => AdwordsApi::V201008::CampaignCriterionService::Product,
1189
- :schema_type => XSD::QName.new(NsV201008, "Product"),
1190
- :schema_basetype => XSD::QName.new(NsV201008, "Criterion"),
1191
- :schema_element => [
1192
- ["id", "SOAP::SOAPLong", [0, 1]],
1193
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Criterion.Type")], [0, 1]],
1194
- ["conditions", "AdwordsApi::V201008::CampaignCriterionService::ProductCondition[]", [0, nil]],
1195
- ["text", "SOAP::SOAPString", [0, 1]]
1196
- ]
1197
- )
1198
-
1199
- LiteralRegistry.register(
1200
- :class => AdwordsApi::V201008::CampaignCriterionService::Criterion,
1201
- :schema_type => XSD::QName.new(NsV201008, "Criterion"),
1202
- :schema_element => [
1203
- ["id", "SOAP::SOAPLong", [0, 1]],
1204
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Criterion.Type")], [0, 1]]
1205
- ]
1206
- )
1207
-
1208
- LiteralRegistry.register(
1209
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion,
1210
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterion"),
1211
- :schema_element => [
1212
- ["campaignId", "SOAP::SOAPLong", [0, 1]],
1213
- ["criterion", "AdwordsApi::V201008::CampaignCriterionService::Criterion", [0, 1]],
1214
- ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "CampaignCriterion.Type")], [0, 1]]
1215
- ]
1216
- )
1217
-
1218
- LiteralRegistry.register(
1219
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionOperation,
1220
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionOperation"),
1221
- :schema_basetype => XSD::QName.new(NsV201008, "Operation"),
1222
- :schema_element => [
1223
- ["operator", "AdwordsApi::V201008::CampaignCriterionService::Operator", [0, 1]],
1224
- ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Operation.Type")], [0, 1]],
1225
- ["operand", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion", [0, 1]]
1226
- ]
1227
- )
1228
-
1229
- LiteralRegistry.register(
1230
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionPage,
1231
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionPage"),
1232
- :schema_basetype => XSD::QName.new(NsV201008, "Page"),
1233
- :schema_element => [
1234
- ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
1235
- ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "Page.Type")], [0, 1]],
1236
- ["entries", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
1237
- ]
1238
- )
1239
-
1240
- LiteralRegistry.register(
1241
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionReturnValue,
1242
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionReturnValue"),
1243
- :schema_basetype => XSD::QName.new(NsV201008, "ListReturnValue"),
1244
- :schema_element => [
1245
- ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201008, "ListReturnValue.Type")], [0, 1]],
1246
- ["value", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
1247
- ]
1248
- )
1249
-
1250
- LiteralRegistry.register(
1251
- :class => AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionSelector,
1252
- :schema_type => XSD::QName.new(NsV201008, "CampaignCriterionSelector"),
1253
- :schema_element => [
1254
- ["idFilters", "AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
1255
- ["paging", "AdwordsApi::V201008::CampaignCriterionService::Paging", [0, 1]]
1256
- ]
1257
- )
1258
-
1259
1259
  LiteralRegistry.register(
1260
1260
  :class => AdwordsApi::V201008::CampaignCriterionService::AuthenticationErrorReason,
1261
1261
  :schema_type => XSD::QName.new(NsV201008, "AuthenticationError.Reason")