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/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :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/v201101", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201101::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201101::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -8,6 +8,26 @@ module DefaultMappingRegistry
8
8
  LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
9
9
  NsV201101 = "https://adwords.google.com/api/adwords/cm/v201101"
10
10
 
11
+ EncodedRegistry.register(
12
+ :class => AdwordsApi::V201101::CampaignCriterionService::ApiException,
13
+ :schema_type => XSD::QName.new(NsV201101, "ApiException"),
14
+ :schema_basetype => XSD::QName.new(NsV201101, "ApplicationException"),
15
+ :schema_element => [
16
+ ["message", "SOAP::SOAPString", [0, 1]],
17
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]],
18
+ ["errors", "AdwordsApi::V201101::CampaignCriterionService::ApiError[]", [0, nil]]
19
+ ]
20
+ )
21
+
22
+ EncodedRegistry.register(
23
+ :class => AdwordsApi::V201101::CampaignCriterionService::ApplicationException,
24
+ :schema_type => XSD::QName.new(NsV201101, "ApplicationException"),
25
+ :schema_element => [
26
+ ["message", "SOAP::SOAPString", [0, 1]],
27
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]]
28
+ ]
29
+ )
30
+
11
31
  EncodedRegistry.register(
12
32
  :class => AdwordsApi::V201101::CampaignCriterionService::AuthenticationError,
13
33
  :schema_type => XSD::QName.new(NsV201101, "AuthenticationError"),
@@ -34,6 +54,16 @@ module DefaultMappingRegistry
34
54
  ]
35
55
  )
36
56
 
57
+ EncodedRegistry.register(
58
+ :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion,
59
+ :schema_type => XSD::QName.new(NsV201101, "CampaignCriterion"),
60
+ :schema_element => [
61
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
62
+ ["criterion", "AdwordsApi::V201101::CampaignCriterionService::Criterion", [0, 1]],
63
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "CampaignCriterion.Type")], [0, 1]]
64
+ ]
65
+ )
66
+
37
67
  EncodedRegistry.register(
38
68
  :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionError,
39
69
  :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionError"),
@@ -63,6 +93,38 @@ module DefaultMappingRegistry
63
93
  ]
64
94
  )
65
95
 
96
+ EncodedRegistry.register(
97
+ :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionOperation,
98
+ :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionOperation"),
99
+ :schema_basetype => XSD::QName.new(NsV201101, "Operation"),
100
+ :schema_element => [
101
+ ["operator", "AdwordsApi::V201101::CampaignCriterionService::Operator", [0, 1]],
102
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Operation.Type")], [0, 1]],
103
+ ["operand", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion", [0, 1]]
104
+ ]
105
+ )
106
+
107
+ EncodedRegistry.register(
108
+ :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionPage,
109
+ :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionPage"),
110
+ :schema_basetype => XSD::QName.new(NsV201101, "Page"),
111
+ :schema_element => [
112
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
113
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Page.Type")], [0, 1]],
114
+ ["entries", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
115
+ ]
116
+ )
117
+
118
+ EncodedRegistry.register(
119
+ :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionReturnValue,
120
+ :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionReturnValue"),
121
+ :schema_basetype => XSD::QName.new(NsV201101, "ListReturnValue"),
122
+ :schema_element => [
123
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ListReturnValue.Type")], [0, 1]],
124
+ ["value", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
125
+ ]
126
+ )
127
+
66
128
  EncodedRegistry.register(
67
129
  :class => AdwordsApi::V201101::CampaignCriterionService::ClientTermsError,
68
130
  :schema_type => XSD::QName.new(NsV201101, "ClientTermsError"),
@@ -87,6 +149,15 @@ module DefaultMappingRegistry
87
149
  ]
88
150
  )
89
151
 
152
+ EncodedRegistry.register(
153
+ :class => AdwordsApi::V201101::CampaignCriterionService::Criterion,
154
+ :schema_type => XSD::QName.new(NsV201101, "Criterion"),
155
+ :schema_element => [
156
+ ["id", "SOAP::SOAPLong", [0, 1]],
157
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]]
158
+ ]
159
+ )
160
+
90
161
  EncodedRegistry.register(
91
162
  :class => AdwordsApi::V201101::CampaignCriterionService::CriterionError,
92
163
  :schema_type => XSD::QName.new(NsV201101, "CriterionError"),
@@ -100,6 +171,19 @@ module DefaultMappingRegistry
100
171
  ]
101
172
  )
102
173
 
174
+ EncodedRegistry.register(
175
+ :class => AdwordsApi::V201101::CampaignCriterionService::DatabaseError,
176
+ :schema_type => XSD::QName.new(NsV201101, "DatabaseError"),
177
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
178
+ :schema_element => [
179
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
180
+ ["trigger", "SOAP::SOAPString", [0, 1]],
181
+ ["errorString", "SOAP::SOAPString", [0, 1]],
182
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
183
+ ["reason", "AdwordsApi::V201101::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
184
+ ]
185
+ )
186
+
103
187
  EncodedRegistry.register(
104
188
  :class => AdwordsApi::V201101::CampaignCriterionService::DateRange,
105
189
  :schema_type => XSD::QName.new(NsV201101, "DateRange"),
@@ -316,6 +400,27 @@ module DefaultMappingRegistry
316
400
  ]
317
401
  )
318
402
 
403
+ EncodedRegistry.register(
404
+ :class => AdwordsApi::V201101::CampaignCriterionService::Product,
405
+ :schema_type => XSD::QName.new(NsV201101, "Product"),
406
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
407
+ :schema_element => [
408
+ ["id", "SOAP::SOAPLong", [0, 1]],
409
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
410
+ ["conditions", "AdwordsApi::V201101::CampaignCriterionService::ProductCondition[]", [0, nil]],
411
+ ["text", "SOAP::SOAPString", [0, 1]]
412
+ ]
413
+ )
414
+
415
+ EncodedRegistry.register(
416
+ :class => AdwordsApi::V201101::CampaignCriterionService::ProductCondition,
417
+ :schema_type => XSD::QName.new(NsV201101, "ProductCondition"),
418
+ :schema_element => [
419
+ ["argument", "SOAP::SOAPString", [0, 1]],
420
+ ["operand", "AdwordsApi::V201101::CampaignCriterionService::ProductConditionOperand", [0, 1]]
421
+ ]
422
+ )
423
+
319
424
  EncodedRegistry.register(
320
425
  :class => AdwordsApi::V201101::CampaignCriterionService::ProductConditionOperand,
321
426
  :schema_type => XSD::QName.new(NsV201101, "ProductConditionOperand"),
@@ -405,6 +510,18 @@ module DefaultMappingRegistry
405
510
  ]
406
511
  )
407
512
 
513
+ EncodedRegistry.register(
514
+ :class => AdwordsApi::V201101::CampaignCriterionService::Selector,
515
+ :schema_type => XSD::QName.new(NsV201101, "Selector"),
516
+ :schema_element => [
517
+ ["fields", "SOAP::SOAPString[]", [0, nil]],
518
+ ["predicates", "AdwordsApi::V201101::CampaignCriterionService::Predicate[]", [0, nil]],
519
+ ["dateRange", "AdwordsApi::V201101::CampaignCriterionService::DateRange", [0, 1]],
520
+ ["ordering", "AdwordsApi::V201101::CampaignCriterionService::OrderBy[]", [0, nil]],
521
+ ["paging", "AdwordsApi::V201101::CampaignCriterionService::Paging", [0, 1]]
522
+ ]
523
+ )
524
+
408
525
  EncodedRegistry.register(
409
526
  :class => AdwordsApi::V201101::CampaignCriterionService::SelectorError,
410
527
  :schema_type => XSD::QName.new(NsV201101, "SelectorError"),
@@ -492,123 +609,6 @@ module DefaultMappingRegistry
492
609
  ]
493
610
  )
494
611
 
495
- EncodedRegistry.register(
496
- :class => AdwordsApi::V201101::CampaignCriterionService::DatabaseError,
497
- :schema_type => XSD::QName.new(NsV201101, "DatabaseError"),
498
- :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
499
- :schema_element => [
500
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
501
- ["trigger", "SOAP::SOAPString", [0, 1]],
502
- ["errorString", "SOAP::SOAPString", [0, 1]],
503
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
504
- ["reason", "AdwordsApi::V201101::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
505
- ]
506
- )
507
-
508
- EncodedRegistry.register(
509
- :class => AdwordsApi::V201101::CampaignCriterionService::ProductCondition,
510
- :schema_type => XSD::QName.new(NsV201101, "ProductCondition"),
511
- :schema_element => [
512
- ["argument", "SOAP::SOAPString", [0, 1]],
513
- ["operand", "AdwordsApi::V201101::CampaignCriterionService::ProductConditionOperand", [0, 1]]
514
- ]
515
- )
516
-
517
- EncodedRegistry.register(
518
- :class => AdwordsApi::V201101::CampaignCriterionService::Selector,
519
- :schema_type => XSD::QName.new(NsV201101, "Selector"),
520
- :schema_element => [
521
- ["fields", "SOAP::SOAPString[]", [0, nil]],
522
- ["predicates", "AdwordsApi::V201101::CampaignCriterionService::Predicate[]", [0, nil]],
523
- ["dateRange", "AdwordsApi::V201101::CampaignCriterionService::DateRange", [0, 1]],
524
- ["ordering", "AdwordsApi::V201101::CampaignCriterionService::OrderBy[]", [0, nil]],
525
- ["paging", "AdwordsApi::V201101::CampaignCriterionService::Paging", [0, 1]]
526
- ]
527
- )
528
-
529
- EncodedRegistry.register(
530
- :class => AdwordsApi::V201101::CampaignCriterionService::ApiException,
531
- :schema_type => XSD::QName.new(NsV201101, "ApiException"),
532
- :schema_basetype => XSD::QName.new(NsV201101, "ApplicationException"),
533
- :schema_element => [
534
- ["message", "SOAP::SOAPString", [0, 1]],
535
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]],
536
- ["errors", "AdwordsApi::V201101::CampaignCriterionService::ApiError[]", [0, nil]]
537
- ]
538
- )
539
-
540
- EncodedRegistry.register(
541
- :class => AdwordsApi::V201101::CampaignCriterionService::ApplicationException,
542
- :schema_type => XSD::QName.new(NsV201101, "ApplicationException"),
543
- :schema_element => [
544
- ["message", "SOAP::SOAPString", [0, 1]],
545
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]]
546
- ]
547
- )
548
-
549
- EncodedRegistry.register(
550
- :class => AdwordsApi::V201101::CampaignCriterionService::Product,
551
- :schema_type => XSD::QName.new(NsV201101, "Product"),
552
- :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
553
- :schema_element => [
554
- ["id", "SOAP::SOAPLong", [0, 1]],
555
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
556
- ["conditions", "AdwordsApi::V201101::CampaignCriterionService::ProductCondition[]", [0, nil]],
557
- ["text", "SOAP::SOAPString", [0, 1]]
558
- ]
559
- )
560
-
561
- EncodedRegistry.register(
562
- :class => AdwordsApi::V201101::CampaignCriterionService::Criterion,
563
- :schema_type => XSD::QName.new(NsV201101, "Criterion"),
564
- :schema_element => [
565
- ["id", "SOAP::SOAPLong", [0, 1]],
566
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]]
567
- ]
568
- )
569
-
570
- EncodedRegistry.register(
571
- :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion,
572
- :schema_type => XSD::QName.new(NsV201101, "CampaignCriterion"),
573
- :schema_element => [
574
- ["campaignId", "SOAP::SOAPLong", [0, 1]],
575
- ["criterion", "AdwordsApi::V201101::CampaignCriterionService::Criterion", [0, 1]],
576
- ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "CampaignCriterion.Type")], [0, 1]]
577
- ]
578
- )
579
-
580
- EncodedRegistry.register(
581
- :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionOperation,
582
- :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionOperation"),
583
- :schema_basetype => XSD::QName.new(NsV201101, "Operation"),
584
- :schema_element => [
585
- ["operator", "AdwordsApi::V201101::CampaignCriterionService::Operator", [0, 1]],
586
- ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Operation.Type")], [0, 1]],
587
- ["operand", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion", [0, 1]]
588
- ]
589
- )
590
-
591
- EncodedRegistry.register(
592
- :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionPage,
593
- :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionPage"),
594
- :schema_basetype => XSD::QName.new(NsV201101, "Page"),
595
- :schema_element => [
596
- ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
597
- ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Page.Type")], [0, 1]],
598
- ["entries", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
599
- ]
600
- )
601
-
602
- EncodedRegistry.register(
603
- :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionReturnValue,
604
- :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionReturnValue"),
605
- :schema_basetype => XSD::QName.new(NsV201101, "ListReturnValue"),
606
- :schema_element => [
607
- ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ListReturnValue.Type")], [0, 1]],
608
- ["value", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
609
- ]
610
- )
611
-
612
612
  EncodedRegistry.register(
613
613
  :class => AdwordsApi::V201101::CampaignCriterionService::AuthenticationErrorReason,
614
614
  :schema_type => XSD::QName.new(NsV201101, "AuthenticationError.Reason")
@@ -769,6 +769,26 @@ module DefaultMappingRegistry
769
769
  :schema_type => XSD::QName.new(NsV201101, "CriterionUserList.MembershipStatus")
770
770
  )
771
771
 
772
+ LiteralRegistry.register(
773
+ :class => AdwordsApi::V201101::CampaignCriterionService::ApiException,
774
+ :schema_type => XSD::QName.new(NsV201101, "ApiException"),
775
+ :schema_basetype => XSD::QName.new(NsV201101, "ApplicationException"),
776
+ :schema_element => [
777
+ ["message", "SOAP::SOAPString", [0, 1]],
778
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]],
779
+ ["errors", "AdwordsApi::V201101::CampaignCriterionService::ApiError[]", [0, nil]]
780
+ ]
781
+ )
782
+
783
+ LiteralRegistry.register(
784
+ :class => AdwordsApi::V201101::CampaignCriterionService::ApplicationException,
785
+ :schema_type => XSD::QName.new(NsV201101, "ApplicationException"),
786
+ :schema_element => [
787
+ ["message", "SOAP::SOAPString", [0, 1]],
788
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]]
789
+ ]
790
+ )
791
+
772
792
  LiteralRegistry.register(
773
793
  :class => AdwordsApi::V201101::CampaignCriterionService::AuthenticationError,
774
794
  :schema_type => XSD::QName.new(NsV201101, "AuthenticationError"),
@@ -795,6 +815,16 @@ module DefaultMappingRegistry
795
815
  ]
796
816
  )
797
817
 
818
+ LiteralRegistry.register(
819
+ :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion,
820
+ :schema_type => XSD::QName.new(NsV201101, "CampaignCriterion"),
821
+ :schema_element => [
822
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
823
+ ["criterion", "AdwordsApi::V201101::CampaignCriterionService::Criterion", [0, 1]],
824
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "CampaignCriterion.Type")], [0, 1]]
825
+ ]
826
+ )
827
+
798
828
  LiteralRegistry.register(
799
829
  :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionError,
800
830
  :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionError"),
@@ -824,6 +854,38 @@ module DefaultMappingRegistry
824
854
  ]
825
855
  )
826
856
 
857
+ LiteralRegistry.register(
858
+ :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionOperation,
859
+ :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionOperation"),
860
+ :schema_basetype => XSD::QName.new(NsV201101, "Operation"),
861
+ :schema_element => [
862
+ ["operator", "AdwordsApi::V201101::CampaignCriterionService::Operator", [0, 1]],
863
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Operation.Type")], [0, 1]],
864
+ ["operand", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion", [0, 1]]
865
+ ]
866
+ )
867
+
868
+ LiteralRegistry.register(
869
+ :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionPage,
870
+ :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionPage"),
871
+ :schema_basetype => XSD::QName.new(NsV201101, "Page"),
872
+ :schema_element => [
873
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
874
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Page.Type")], [0, 1]],
875
+ ["entries", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
876
+ ]
877
+ )
878
+
879
+ LiteralRegistry.register(
880
+ :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionReturnValue,
881
+ :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionReturnValue"),
882
+ :schema_basetype => XSD::QName.new(NsV201101, "ListReturnValue"),
883
+ :schema_element => [
884
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ListReturnValue.Type")], [0, 1]],
885
+ ["value", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
886
+ ]
887
+ )
888
+
827
889
  LiteralRegistry.register(
828
890
  :class => AdwordsApi::V201101::CampaignCriterionService::ClientTermsError,
829
891
  :schema_type => XSD::QName.new(NsV201101, "ClientTermsError"),
@@ -848,6 +910,15 @@ module DefaultMappingRegistry
848
910
  ]
849
911
  )
850
912
 
913
+ LiteralRegistry.register(
914
+ :class => AdwordsApi::V201101::CampaignCriterionService::Criterion,
915
+ :schema_type => XSD::QName.new(NsV201101, "Criterion"),
916
+ :schema_element => [
917
+ ["id", "SOAP::SOAPLong", [0, 1]],
918
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]]
919
+ ]
920
+ )
921
+
851
922
  LiteralRegistry.register(
852
923
  :class => AdwordsApi::V201101::CampaignCriterionService::CriterionError,
853
924
  :schema_type => XSD::QName.new(NsV201101, "CriterionError"),
@@ -861,6 +932,19 @@ module DefaultMappingRegistry
861
932
  ]
862
933
  )
863
934
 
935
+ LiteralRegistry.register(
936
+ :class => AdwordsApi::V201101::CampaignCriterionService::DatabaseError,
937
+ :schema_type => XSD::QName.new(NsV201101, "DatabaseError"),
938
+ :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
939
+ :schema_element => [
940
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
941
+ ["trigger", "SOAP::SOAPString", [0, 1]],
942
+ ["errorString", "SOAP::SOAPString", [0, 1]],
943
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
944
+ ["reason", "AdwordsApi::V201101::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
945
+ ]
946
+ )
947
+
864
948
  LiteralRegistry.register(
865
949
  :class => AdwordsApi::V201101::CampaignCriterionService::DateRange,
866
950
  :schema_type => XSD::QName.new(NsV201101, "DateRange"),
@@ -1077,6 +1161,27 @@ module DefaultMappingRegistry
1077
1161
  ]
1078
1162
  )
1079
1163
 
1164
+ LiteralRegistry.register(
1165
+ :class => AdwordsApi::V201101::CampaignCriterionService::Product,
1166
+ :schema_type => XSD::QName.new(NsV201101, "Product"),
1167
+ :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
1168
+ :schema_element => [
1169
+ ["id", "SOAP::SOAPLong", [0, 1]],
1170
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
1171
+ ["conditions", "AdwordsApi::V201101::CampaignCriterionService::ProductCondition[]", [0, nil]],
1172
+ ["text", "SOAP::SOAPString", [0, 1]]
1173
+ ]
1174
+ )
1175
+
1176
+ LiteralRegistry.register(
1177
+ :class => AdwordsApi::V201101::CampaignCriterionService::ProductCondition,
1178
+ :schema_type => XSD::QName.new(NsV201101, "ProductCondition"),
1179
+ :schema_element => [
1180
+ ["argument", "SOAP::SOAPString", [0, 1]],
1181
+ ["operand", "AdwordsApi::V201101::CampaignCriterionService::ProductConditionOperand", [0, 1]]
1182
+ ]
1183
+ )
1184
+
1080
1185
  LiteralRegistry.register(
1081
1186
  :class => AdwordsApi::V201101::CampaignCriterionService::ProductConditionOperand,
1082
1187
  :schema_type => XSD::QName.new(NsV201101, "ProductConditionOperand"),
@@ -1166,6 +1271,18 @@ module DefaultMappingRegistry
1166
1271
  ]
1167
1272
  )
1168
1273
 
1274
+ LiteralRegistry.register(
1275
+ :class => AdwordsApi::V201101::CampaignCriterionService::Selector,
1276
+ :schema_type => XSD::QName.new(NsV201101, "Selector"),
1277
+ :schema_element => [
1278
+ ["fields", "SOAP::SOAPString[]", [0, nil]],
1279
+ ["predicates", "AdwordsApi::V201101::CampaignCriterionService::Predicate[]", [0, nil]],
1280
+ ["dateRange", "AdwordsApi::V201101::CampaignCriterionService::DateRange", [0, 1]],
1281
+ ["ordering", "AdwordsApi::V201101::CampaignCriterionService::OrderBy[]", [0, nil]],
1282
+ ["paging", "AdwordsApi::V201101::CampaignCriterionService::Paging", [0, 1]]
1283
+ ]
1284
+ )
1285
+
1169
1286
  LiteralRegistry.register(
1170
1287
  :class => AdwordsApi::V201101::CampaignCriterionService::SelectorError,
1171
1288
  :schema_type => XSD::QName.new(NsV201101, "SelectorError"),
@@ -1253,123 +1370,6 @@ module DefaultMappingRegistry
1253
1370
  ]
1254
1371
  )
1255
1372
 
1256
- LiteralRegistry.register(
1257
- :class => AdwordsApi::V201101::CampaignCriterionService::DatabaseError,
1258
- :schema_type => XSD::QName.new(NsV201101, "DatabaseError"),
1259
- :schema_basetype => XSD::QName.new(NsV201101, "ApiError"),
1260
- :schema_element => [
1261
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
1262
- ["trigger", "SOAP::SOAPString", [0, 1]],
1263
- ["errorString", "SOAP::SOAPString", [0, 1]],
1264
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApiError.Type")], [0, 1]],
1265
- ["reason", "AdwordsApi::V201101::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
1266
- ]
1267
- )
1268
-
1269
- LiteralRegistry.register(
1270
- :class => AdwordsApi::V201101::CampaignCriterionService::ProductCondition,
1271
- :schema_type => XSD::QName.new(NsV201101, "ProductCondition"),
1272
- :schema_element => [
1273
- ["argument", "SOAP::SOAPString", [0, 1]],
1274
- ["operand", "AdwordsApi::V201101::CampaignCriterionService::ProductConditionOperand", [0, 1]]
1275
- ]
1276
- )
1277
-
1278
- LiteralRegistry.register(
1279
- :class => AdwordsApi::V201101::CampaignCriterionService::Selector,
1280
- :schema_type => XSD::QName.new(NsV201101, "Selector"),
1281
- :schema_element => [
1282
- ["fields", "SOAP::SOAPString[]", [0, nil]],
1283
- ["predicates", "AdwordsApi::V201101::CampaignCriterionService::Predicate[]", [0, nil]],
1284
- ["dateRange", "AdwordsApi::V201101::CampaignCriterionService::DateRange", [0, 1]],
1285
- ["ordering", "AdwordsApi::V201101::CampaignCriterionService::OrderBy[]", [0, nil]],
1286
- ["paging", "AdwordsApi::V201101::CampaignCriterionService::Paging", [0, 1]]
1287
- ]
1288
- )
1289
-
1290
- LiteralRegistry.register(
1291
- :class => AdwordsApi::V201101::CampaignCriterionService::ApiException,
1292
- :schema_type => XSD::QName.new(NsV201101, "ApiException"),
1293
- :schema_basetype => XSD::QName.new(NsV201101, "ApplicationException"),
1294
- :schema_element => [
1295
- ["message", "SOAP::SOAPString", [0, 1]],
1296
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]],
1297
- ["errors", "AdwordsApi::V201101::CampaignCriterionService::ApiError[]", [0, nil]]
1298
- ]
1299
- )
1300
-
1301
- LiteralRegistry.register(
1302
- :class => AdwordsApi::V201101::CampaignCriterionService::ApplicationException,
1303
- :schema_type => XSD::QName.new(NsV201101, "ApplicationException"),
1304
- :schema_element => [
1305
- ["message", "SOAP::SOAPString", [0, 1]],
1306
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ApplicationException.Type")], [0, 1]]
1307
- ]
1308
- )
1309
-
1310
- LiteralRegistry.register(
1311
- :class => AdwordsApi::V201101::CampaignCriterionService::Product,
1312
- :schema_type => XSD::QName.new(NsV201101, "Product"),
1313
- :schema_basetype => XSD::QName.new(NsV201101, "Criterion"),
1314
- :schema_element => [
1315
- ["id", "SOAP::SOAPLong", [0, 1]],
1316
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]],
1317
- ["conditions", "AdwordsApi::V201101::CampaignCriterionService::ProductCondition[]", [0, nil]],
1318
- ["text", "SOAP::SOAPString", [0, 1]]
1319
- ]
1320
- )
1321
-
1322
- LiteralRegistry.register(
1323
- :class => AdwordsApi::V201101::CampaignCriterionService::Criterion,
1324
- :schema_type => XSD::QName.new(NsV201101, "Criterion"),
1325
- :schema_element => [
1326
- ["id", "SOAP::SOAPLong", [0, 1]],
1327
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Criterion.Type")], [0, 1]]
1328
- ]
1329
- )
1330
-
1331
- LiteralRegistry.register(
1332
- :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion,
1333
- :schema_type => XSD::QName.new(NsV201101, "CampaignCriterion"),
1334
- :schema_element => [
1335
- ["campaignId", "SOAP::SOAPLong", [0, 1]],
1336
- ["criterion", "AdwordsApi::V201101::CampaignCriterionService::Criterion", [0, 1]],
1337
- ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "CampaignCriterion.Type")], [0, 1]]
1338
- ]
1339
- )
1340
-
1341
- LiteralRegistry.register(
1342
- :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionOperation,
1343
- :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionOperation"),
1344
- :schema_basetype => XSD::QName.new(NsV201101, "Operation"),
1345
- :schema_element => [
1346
- ["operator", "AdwordsApi::V201101::CampaignCriterionService::Operator", [0, 1]],
1347
- ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Operation.Type")], [0, 1]],
1348
- ["operand", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion", [0, 1]]
1349
- ]
1350
- )
1351
-
1352
- LiteralRegistry.register(
1353
- :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionPage,
1354
- :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionPage"),
1355
- :schema_basetype => XSD::QName.new(NsV201101, "Page"),
1356
- :schema_element => [
1357
- ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
1358
- ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "Page.Type")], [0, 1]],
1359
- ["entries", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
1360
- ]
1361
- )
1362
-
1363
- LiteralRegistry.register(
1364
- :class => AdwordsApi::V201101::CampaignCriterionService::CampaignCriterionReturnValue,
1365
- :schema_type => XSD::QName.new(NsV201101, "CampaignCriterionReturnValue"),
1366
- :schema_basetype => XSD::QName.new(NsV201101, "ListReturnValue"),
1367
- :schema_element => [
1368
- ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV201101, "ListReturnValue.Type")], [0, 1]],
1369
- ["value", "AdwordsApi::V201101::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
1370
- ]
1371
- )
1372
-
1373
1373
  LiteralRegistry.register(
1374
1374
  :class => AdwordsApi::V201101::CampaignCriterionService::AuthenticationErrorReason,
1375
1375
  :schema_type => XSD::QName.new(NsV201101, "AuthenticationError.Reason")