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 AdGroupServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V200909::AdGroupService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V200909::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class AdGroupServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V200909::AdGroupService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V200909::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class AdParamServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V200909::AdParamService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V200909::AdParamService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class AdParamServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V200909::AdParamService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V200909::AdParamService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class BulkMutateJobServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V200909::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V200909::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class BulkMutateJobServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V200909::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V200909::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class CampaignAdExtensionServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V200909::CampaignAdExtensionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V200909::CampaignAdExtensionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignAdExtensionServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V200909::CampaignAdExtensionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V200909::CampaignAdExtensionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -3,79 +3,6 @@ require 'xsd/qname'
3
3
  module AdwordsApi; module V200909; module CampaignCriterionService
4
4
 
5
5
 
6
- # CampaignCriterionIdFilter
7
- # - campaignId - SOAP::SOAPLong
8
- # - criterionId - SOAP::SOAPLong
9
- class CampaignCriterionIdFilter
10
- attr_accessor :campaignId
11
- attr_accessor :criterionId
12
-
13
- def initialize(campaignId = nil, criterionId = nil)
14
- @campaignId = campaignId
15
- @criterionId = criterionId
16
- end
17
- end
18
-
19
- # Paging
20
- # - startIndex - SOAP::SOAPInt
21
- # - numberResults - SOAP::SOAPInt
22
- class Paging
23
- attr_accessor :startIndex
24
- attr_accessor :numberResults
25
-
26
- def initialize(startIndex = nil, numberResults = nil)
27
- @startIndex = startIndex
28
- @numberResults = numberResults
29
- end
30
- end
31
-
32
- # SoapHeader
33
- # - applicationToken - SOAP::SOAPString
34
- # - authToken - SOAP::SOAPString
35
- # - clientCustomerId - SOAP::SOAPString
36
- # - clientEmail - SOAP::SOAPString
37
- # - developerToken - SOAP::SOAPString
38
- # - userAgent - SOAP::SOAPString
39
- # - validateOnly - SOAP::SOAPBoolean
40
- class SoapHeader
41
- attr_accessor :applicationToken
42
- attr_accessor :authToken
43
- attr_accessor :clientCustomerId
44
- attr_accessor :clientEmail
45
- attr_accessor :developerToken
46
- attr_accessor :userAgent
47
- attr_accessor :validateOnly
48
-
49
- def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
50
- @applicationToken = applicationToken
51
- @authToken = authToken
52
- @clientCustomerId = clientCustomerId
53
- @clientEmail = clientEmail
54
- @developerToken = developerToken
55
- @userAgent = userAgent
56
- @validateOnly = validateOnly
57
- end
58
- end
59
-
60
- # SoapResponseHeader
61
- # - requestId - SOAP::SOAPString
62
- # - operations - SOAP::SOAPLong
63
- # - responseTime - SOAP::SOAPLong
64
- # - units - SOAP::SOAPLong
65
- class SoapResponseHeader
66
- attr_accessor :requestId
67
- attr_accessor :operations
68
- attr_accessor :responseTime
69
- attr_accessor :units
70
-
71
- def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
72
- @requestId = requestId
73
- @operations = operations
74
- @responseTime = responseTime
75
- @units = units
76
- end
77
- end
78
-
79
6
  # ApiError
80
7
  # abstract
81
8
  # - fieldPath - SOAP::SOAPString
@@ -169,6 +96,25 @@ class ClientTermsError < ApiError
169
96
  end
170
97
  end
171
98
 
99
+ # DatabaseError
100
+ # - fieldPath - SOAP::SOAPString
101
+ # - trigger - SOAP::SOAPString
102
+ # - apiError_Type - SOAP::SOAPString
103
+ # - reason - AdwordsApi::V200909::CampaignCriterionService::DatabaseErrorReason
104
+ class DatabaseError < ApiError
105
+ attr_accessor :fieldPath
106
+ attr_accessor :trigger
107
+ attr_accessor :apiError_Type
108
+ attr_accessor :reason
109
+
110
+ def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
111
+ @fieldPath = fieldPath
112
+ @trigger = trigger
113
+ @apiError_Type = apiError_Type
114
+ @reason = reason
115
+ end
116
+ end
117
+
172
118
  # DistinctError
173
119
  # - fieldPath - SOAP::SOAPString
174
120
  # - trigger - SOAP::SOAPString
@@ -526,25 +472,6 @@ class SizeLimitError < ApiError
526
472
  end
527
473
  end
528
474
 
529
- # DatabaseError
530
- # - fieldPath - SOAP::SOAPString
531
- # - trigger - SOAP::SOAPString
532
- # - apiError_Type - SOAP::SOAPString
533
- # - reason - AdwordsApi::V200909::CampaignCriterionService::DatabaseErrorReason
534
- class DatabaseError < ApiError
535
- attr_accessor :fieldPath
536
- attr_accessor :trigger
537
- attr_accessor :apiError_Type
538
- attr_accessor :reason
539
-
540
- def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
541
- @fieldPath = fieldPath
542
- @trigger = trigger
543
- @apiError_Type = apiError_Type
544
- @reason = reason
545
- end
546
- end
547
-
548
475
  # ApplicationException
549
476
  # - message - SOAP::SOAPString
550
477
  # - applicationException_Type - SOAP::SOAPString
@@ -574,6 +501,64 @@ class ApiException < ApplicationException
574
501
  end
575
502
  end
576
503
 
504
+ # CampaignCriterion
505
+ # - campaignId - SOAP::SOAPLong
506
+ # - criterion - AdwordsApi::V200909::CampaignCriterionService::Criterion
507
+ # - campaignCriterion_Type - SOAP::SOAPString
508
+ class CampaignCriterion
509
+ attr_accessor :campaignId
510
+ attr_accessor :criterion
511
+ attr_accessor :campaignCriterion_Type
512
+
513
+ def initialize(campaignId = nil, criterion = nil, campaignCriterion_Type = nil)
514
+ @campaignId = campaignId
515
+ @criterion = criterion
516
+ @campaignCriterion_Type = campaignCriterion_Type
517
+ end
518
+ end
519
+
520
+ # NegativeCampaignCriterion
521
+ # - campaignId - SOAP::SOAPLong
522
+ # - criterion - AdwordsApi::V200909::CampaignCriterionService::Criterion
523
+ # - campaignCriterion_Type - SOAP::SOAPString
524
+ class NegativeCampaignCriterion < CampaignCriterion
525
+ attr_accessor :campaignId
526
+ attr_accessor :criterion
527
+ attr_accessor :campaignCriterion_Type
528
+
529
+ def initialize(campaignId = nil, criterion = nil, campaignCriterion_Type = nil)
530
+ @campaignId = campaignId
531
+ @criterion = criterion
532
+ @campaignCriterion_Type = campaignCriterion_Type
533
+ end
534
+ end
535
+
536
+ # CampaignCriterionIdFilter
537
+ # - campaignId - SOAP::SOAPLong
538
+ # - criterionId - SOAP::SOAPLong
539
+ class CampaignCriterionIdFilter
540
+ attr_accessor :campaignId
541
+ attr_accessor :criterionId
542
+
543
+ def initialize(campaignId = nil, criterionId = nil)
544
+ @campaignId = campaignId
545
+ @criterionId = criterionId
546
+ end
547
+ end
548
+
549
+ # CampaignCriterionSelector
550
+ # - idFilters - AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionIdFilter
551
+ # - paging - AdwordsApi::V200909::CampaignCriterionService::Paging
552
+ class CampaignCriterionSelector
553
+ attr_accessor :idFilters
554
+ attr_accessor :paging
555
+
556
+ def initialize(idFilters = [], paging = nil)
557
+ @idFilters = idFilters
558
+ @paging = paging
559
+ end
560
+ end
561
+
577
562
  # Criterion
578
563
  # - id - SOAP::SOAPLong
579
564
  # - criterion_Type - SOAP::SOAPString
@@ -638,38 +623,6 @@ class Placement < Criterion
638
623
  end
639
624
  end
640
625
 
641
- # CampaignCriterion
642
- # - campaignId - SOAP::SOAPLong
643
- # - criterion - AdwordsApi::V200909::CampaignCriterionService::Criterion
644
- # - campaignCriterion_Type - SOAP::SOAPString
645
- class CampaignCriterion
646
- attr_accessor :campaignId
647
- attr_accessor :criterion
648
- attr_accessor :campaignCriterion_Type
649
-
650
- def initialize(campaignId = nil, criterion = nil, campaignCriterion_Type = nil)
651
- @campaignId = campaignId
652
- @criterion = criterion
653
- @campaignCriterion_Type = campaignCriterion_Type
654
- end
655
- end
656
-
657
- # NegativeCampaignCriterion
658
- # - campaignId - SOAP::SOAPLong
659
- # - criterion - AdwordsApi::V200909::CampaignCriterionService::Criterion
660
- # - campaignCriterion_Type - SOAP::SOAPString
661
- class NegativeCampaignCriterion < CampaignCriterion
662
- attr_accessor :campaignId
663
- attr_accessor :criterion
664
- attr_accessor :campaignCriterion_Type
665
-
666
- def initialize(campaignId = nil, criterion = nil, campaignCriterion_Type = nil)
667
- @campaignId = campaignId
668
- @criterion = criterion
669
- @campaignCriterion_Type = campaignCriterion_Type
670
- end
671
- end
672
-
673
626
  # ListReturnValue
674
627
  # abstract
675
628
  # - listReturnValue_Type - SOAP::SOAPString
@@ -754,16 +707,63 @@ class CampaignCriterionPage < Page
754
707
  end
755
708
  end
756
709
 
757
- # CampaignCriterionSelector
758
- # - idFilters - AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionIdFilter
759
- # - paging - AdwordsApi::V200909::CampaignCriterionService::Paging
760
- class CampaignCriterionSelector
761
- attr_accessor :idFilters
762
- attr_accessor :paging
710
+ # Paging
711
+ # - startIndex - SOAP::SOAPInt
712
+ # - numberResults - SOAP::SOAPInt
713
+ class Paging
714
+ attr_accessor :startIndex
715
+ attr_accessor :numberResults
763
716
 
764
- def initialize(idFilters = [], paging = nil)
765
- @idFilters = idFilters
766
- @paging = paging
717
+ def initialize(startIndex = nil, numberResults = nil)
718
+ @startIndex = startIndex
719
+ @numberResults = numberResults
720
+ end
721
+ end
722
+
723
+ # SoapHeader
724
+ # - applicationToken - SOAP::SOAPString
725
+ # - authToken - SOAP::SOAPString
726
+ # - clientCustomerId - SOAP::SOAPString
727
+ # - clientEmail - SOAP::SOAPString
728
+ # - developerToken - SOAP::SOAPString
729
+ # - userAgent - SOAP::SOAPString
730
+ # - validateOnly - SOAP::SOAPBoolean
731
+ class SoapHeader
732
+ attr_accessor :applicationToken
733
+ attr_accessor :authToken
734
+ attr_accessor :clientCustomerId
735
+ attr_accessor :clientEmail
736
+ attr_accessor :developerToken
737
+ attr_accessor :userAgent
738
+ attr_accessor :validateOnly
739
+
740
+ def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
741
+ @applicationToken = applicationToken
742
+ @authToken = authToken
743
+ @clientCustomerId = clientCustomerId
744
+ @clientEmail = clientEmail
745
+ @developerToken = developerToken
746
+ @userAgent = userAgent
747
+ @validateOnly = validateOnly
748
+ end
749
+ end
750
+
751
+ # SoapResponseHeader
752
+ # - requestId - SOAP::SOAPString
753
+ # - operations - SOAP::SOAPLong
754
+ # - responseTime - SOAP::SOAPLong
755
+ # - units - SOAP::SOAPLong
756
+ class SoapResponseHeader
757
+ attr_accessor :requestId
758
+ attr_accessor :operations
759
+ attr_accessor :responseTime
760
+ attr_accessor :units
761
+
762
+ def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
763
+ @requestId = requestId
764
+ @operations = operations
765
+ @responseTime = responseTime
766
+ @units = units
767
767
  end
768
768
  end
769
769
 
@@ -16,7 +16,7 @@ class CampaignCriterionServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v200909", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V200909::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V200909::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :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/v200909", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V200909::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V200909::CampaignCriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -8,6 +8,26 @@ module DefaultMappingRegistry
8
8
  LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
9
9
  NsV200909 = "https://adwords.google.com/api/adwords/cm/v200909"
10
10
 
11
+ EncodedRegistry.register(
12
+ :class => AdwordsApi::V200909::CampaignCriterionService::ApiException,
13
+ :schema_type => XSD::QName.new(NsV200909, "ApiException"),
14
+ :schema_basetype => XSD::QName.new(NsV200909, "ApplicationException"),
15
+ :schema_element => [
16
+ ["message", "SOAP::SOAPString", [0, 1]],
17
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApplicationException.Type")], [0, 1]],
18
+ ["errors", "AdwordsApi::V200909::CampaignCriterionService::ApiError[]", [0, nil]]
19
+ ]
20
+ )
21
+
22
+ EncodedRegistry.register(
23
+ :class => AdwordsApi::V200909::CampaignCriterionService::ApplicationException,
24
+ :schema_type => XSD::QName.new(NsV200909, "ApplicationException"),
25
+ :schema_element => [
26
+ ["message", "SOAP::SOAPString", [0, 1]],
27
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApplicationException.Type")], [0, 1]]
28
+ ]
29
+ )
30
+
11
31
  EncodedRegistry.register(
12
32
  :class => AdwordsApi::V200909::CampaignCriterionService::AuthenticationError,
13
33
  :schema_type => XSD::QName.new(NsV200909, "AuthenticationError"),
@@ -32,6 +52,16 @@ module DefaultMappingRegistry
32
52
  ]
33
53
  )
34
54
 
55
+ EncodedRegistry.register(
56
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion,
57
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterion"),
58
+ :schema_element => [
59
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
60
+ ["criterion", "AdwordsApi::V200909::CampaignCriterionService::Criterion", [0, 1]],
61
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "CampaignCriterion.Type")], [0, 1]]
62
+ ]
63
+ )
64
+
35
65
  EncodedRegistry.register(
36
66
  :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionError,
37
67
  :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionError"),
@@ -68,6 +98,47 @@ module DefaultMappingRegistry
68
98
  ]
69
99
  )
70
100
 
101
+ EncodedRegistry.register(
102
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionOperation,
103
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionOperation"),
104
+ :schema_basetype => XSD::QName.new(NsV200909, "Operation"),
105
+ :schema_element => [
106
+ ["operator", "AdwordsApi::V200909::CampaignCriterionService::Operator", [0, 1]],
107
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Operation.Type")], [0, 1]],
108
+ ["operand", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion", [0, 1]]
109
+ ]
110
+ )
111
+
112
+ EncodedRegistry.register(
113
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionPage,
114
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionPage"),
115
+ :schema_basetype => XSD::QName.new(NsV200909, "Page"),
116
+ :schema_element => [
117
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
118
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Page.Type")], [0, 1]],
119
+ ["entries", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
120
+ ]
121
+ )
122
+
123
+ EncodedRegistry.register(
124
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionReturnValue,
125
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionReturnValue"),
126
+ :schema_basetype => XSD::QName.new(NsV200909, "ListReturnValue"),
127
+ :schema_element => [
128
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ListReturnValue.Type")], [0, 1]],
129
+ ["value", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
130
+ ]
131
+ )
132
+
133
+ EncodedRegistry.register(
134
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionSelector,
135
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionSelector"),
136
+ :schema_element => [
137
+ ["idFilters", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
138
+ ["paging", "AdwordsApi::V200909::CampaignCriterionService::Paging", [0, 1]]
139
+ ]
140
+ )
141
+
71
142
  EncodedRegistry.register(
72
143
  :class => AdwordsApi::V200909::CampaignCriterionService::ClientTermsError,
73
144
  :schema_type => XSD::QName.new(NsV200909, "ClientTermsError"),
@@ -91,6 +162,27 @@ module DefaultMappingRegistry
91
162
  ]
92
163
  )
93
164
 
165
+ EncodedRegistry.register(
166
+ :class => AdwordsApi::V200909::CampaignCriterionService::Criterion,
167
+ :schema_type => XSD::QName.new(NsV200909, "Criterion"),
168
+ :schema_element => [
169
+ ["id", "SOAP::SOAPLong", [0, 1]],
170
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Criterion.Type")], [0, 1]]
171
+ ]
172
+ )
173
+
174
+ EncodedRegistry.register(
175
+ :class => AdwordsApi::V200909::CampaignCriterionService::DatabaseError,
176
+ :schema_type => XSD::QName.new(NsV200909, "DatabaseError"),
177
+ :schema_basetype => XSD::QName.new(NsV200909, "ApiError"),
178
+ :schema_element => [
179
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
180
+ ["trigger", "SOAP::SOAPString", [0, 1]],
181
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApiError.Type")], [0, 1]],
182
+ ["reason", "AdwordsApi::V200909::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
183
+ ]
184
+ )
185
+
94
186
  EncodedRegistry.register(
95
187
  :class => AdwordsApi::V200909::CampaignCriterionService::DistinctError,
96
188
  :schema_type => XSD::QName.new(NsV200909, "DistinctError"),
@@ -365,98 +457,6 @@ module DefaultMappingRegistry
365
457
  ]
366
458
  )
367
459
 
368
- EncodedRegistry.register(
369
- :class => AdwordsApi::V200909::CampaignCriterionService::DatabaseError,
370
- :schema_type => XSD::QName.new(NsV200909, "DatabaseError"),
371
- :schema_basetype => XSD::QName.new(NsV200909, "ApiError"),
372
- :schema_element => [
373
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
374
- ["trigger", "SOAP::SOAPString", [0, 1]],
375
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApiError.Type")], [0, 1]],
376
- ["reason", "AdwordsApi::V200909::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
377
- ]
378
- )
379
-
380
- EncodedRegistry.register(
381
- :class => AdwordsApi::V200909::CampaignCriterionService::ApiException,
382
- :schema_type => XSD::QName.new(NsV200909, "ApiException"),
383
- :schema_basetype => XSD::QName.new(NsV200909, "ApplicationException"),
384
- :schema_element => [
385
- ["message", "SOAP::SOAPString", [0, 1]],
386
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApplicationException.Type")], [0, 1]],
387
- ["errors", "AdwordsApi::V200909::CampaignCriterionService::ApiError[]", [0, nil]]
388
- ]
389
- )
390
-
391
- EncodedRegistry.register(
392
- :class => AdwordsApi::V200909::CampaignCriterionService::ApplicationException,
393
- :schema_type => XSD::QName.new(NsV200909, "ApplicationException"),
394
- :schema_element => [
395
- ["message", "SOAP::SOAPString", [0, 1]],
396
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApplicationException.Type")], [0, 1]]
397
- ]
398
- )
399
-
400
- EncodedRegistry.register(
401
- :class => AdwordsApi::V200909::CampaignCriterionService::Criterion,
402
- :schema_type => XSD::QName.new(NsV200909, "Criterion"),
403
- :schema_element => [
404
- ["id", "SOAP::SOAPLong", [0, 1]],
405
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Criterion.Type")], [0, 1]]
406
- ]
407
- )
408
-
409
- EncodedRegistry.register(
410
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion,
411
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterion"),
412
- :schema_element => [
413
- ["campaignId", "SOAP::SOAPLong", [0, 1]],
414
- ["criterion", "AdwordsApi::V200909::CampaignCriterionService::Criterion", [0, 1]],
415
- ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "CampaignCriterion.Type")], [0, 1]]
416
- ]
417
- )
418
-
419
- EncodedRegistry.register(
420
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionOperation,
421
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionOperation"),
422
- :schema_basetype => XSD::QName.new(NsV200909, "Operation"),
423
- :schema_element => [
424
- ["operator", "AdwordsApi::V200909::CampaignCriterionService::Operator", [0, 1]],
425
- ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Operation.Type")], [0, 1]],
426
- ["operand", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion", [0, 1]]
427
- ]
428
- )
429
-
430
- EncodedRegistry.register(
431
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionPage,
432
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionPage"),
433
- :schema_basetype => XSD::QName.new(NsV200909, "Page"),
434
- :schema_element => [
435
- ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
436
- ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Page.Type")], [0, 1]],
437
- ["entries", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
438
- ]
439
- )
440
-
441
- EncodedRegistry.register(
442
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionReturnValue,
443
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionReturnValue"),
444
- :schema_basetype => XSD::QName.new(NsV200909, "ListReturnValue"),
445
- :schema_element => [
446
- ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ListReturnValue.Type")], [0, 1]],
447
- ["value", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
448
- ]
449
- )
450
-
451
- EncodedRegistry.register(
452
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionSelector,
453
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionSelector"),
454
- :schema_element => [
455
- ["idFilters", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
456
- ["paging", "AdwordsApi::V200909::CampaignCriterionService::Paging", [0, 1]]
457
- ]
458
- )
459
-
460
460
  EncodedRegistry.register(
461
461
  :class => AdwordsApi::V200909::CampaignCriterionService::AuthenticationErrorReason,
462
462
  :schema_type => XSD::QName.new(NsV200909, "AuthenticationError.Reason")
@@ -587,6 +587,26 @@ module DefaultMappingRegistry
587
587
  :schema_type => XSD::QName.new(NsV200909, "SizeLimitError.Reason")
588
588
  )
589
589
 
590
+ LiteralRegistry.register(
591
+ :class => AdwordsApi::V200909::CampaignCriterionService::ApiException,
592
+ :schema_type => XSD::QName.new(NsV200909, "ApiException"),
593
+ :schema_basetype => XSD::QName.new(NsV200909, "ApplicationException"),
594
+ :schema_element => [
595
+ ["message", "SOAP::SOAPString", [0, 1]],
596
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApplicationException.Type")], [0, 1]],
597
+ ["errors", "AdwordsApi::V200909::CampaignCriterionService::ApiError[]", [0, nil]]
598
+ ]
599
+ )
600
+
601
+ LiteralRegistry.register(
602
+ :class => AdwordsApi::V200909::CampaignCriterionService::ApplicationException,
603
+ :schema_type => XSD::QName.new(NsV200909, "ApplicationException"),
604
+ :schema_element => [
605
+ ["message", "SOAP::SOAPString", [0, 1]],
606
+ ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApplicationException.Type")], [0, 1]]
607
+ ]
608
+ )
609
+
590
610
  LiteralRegistry.register(
591
611
  :class => AdwordsApi::V200909::CampaignCriterionService::AuthenticationError,
592
612
  :schema_type => XSD::QName.new(NsV200909, "AuthenticationError"),
@@ -611,6 +631,16 @@ module DefaultMappingRegistry
611
631
  ]
612
632
  )
613
633
 
634
+ LiteralRegistry.register(
635
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion,
636
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterion"),
637
+ :schema_element => [
638
+ ["campaignId", "SOAP::SOAPLong", [0, 1]],
639
+ ["criterion", "AdwordsApi::V200909::CampaignCriterionService::Criterion", [0, 1]],
640
+ ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "CampaignCriterion.Type")], [0, 1]]
641
+ ]
642
+ )
643
+
614
644
  LiteralRegistry.register(
615
645
  :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionError,
616
646
  :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionError"),
@@ -647,6 +677,47 @@ module DefaultMappingRegistry
647
677
  ]
648
678
  )
649
679
 
680
+ LiteralRegistry.register(
681
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionOperation,
682
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionOperation"),
683
+ :schema_basetype => XSD::QName.new(NsV200909, "Operation"),
684
+ :schema_element => [
685
+ ["operator", "AdwordsApi::V200909::CampaignCriterionService::Operator", [0, 1]],
686
+ ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Operation.Type")], [0, 1]],
687
+ ["operand", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion", [0, 1]]
688
+ ]
689
+ )
690
+
691
+ LiteralRegistry.register(
692
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionPage,
693
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionPage"),
694
+ :schema_basetype => XSD::QName.new(NsV200909, "Page"),
695
+ :schema_element => [
696
+ ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
697
+ ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Page.Type")], [0, 1]],
698
+ ["entries", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
699
+ ]
700
+ )
701
+
702
+ LiteralRegistry.register(
703
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionReturnValue,
704
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionReturnValue"),
705
+ :schema_basetype => XSD::QName.new(NsV200909, "ListReturnValue"),
706
+ :schema_element => [
707
+ ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ListReturnValue.Type")], [0, 1]],
708
+ ["value", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
709
+ ]
710
+ )
711
+
712
+ LiteralRegistry.register(
713
+ :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionSelector,
714
+ :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionSelector"),
715
+ :schema_element => [
716
+ ["idFilters", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
717
+ ["paging", "AdwordsApi::V200909::CampaignCriterionService::Paging", [0, 1]]
718
+ ]
719
+ )
720
+
650
721
  LiteralRegistry.register(
651
722
  :class => AdwordsApi::V200909::CampaignCriterionService::ClientTermsError,
652
723
  :schema_type => XSD::QName.new(NsV200909, "ClientTermsError"),
@@ -670,6 +741,27 @@ module DefaultMappingRegistry
670
741
  ]
671
742
  )
672
743
 
744
+ LiteralRegistry.register(
745
+ :class => AdwordsApi::V200909::CampaignCriterionService::Criterion,
746
+ :schema_type => XSD::QName.new(NsV200909, "Criterion"),
747
+ :schema_element => [
748
+ ["id", "SOAP::SOAPLong", [0, 1]],
749
+ ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Criterion.Type")], [0, 1]]
750
+ ]
751
+ )
752
+
753
+ LiteralRegistry.register(
754
+ :class => AdwordsApi::V200909::CampaignCriterionService::DatabaseError,
755
+ :schema_type => XSD::QName.new(NsV200909, "DatabaseError"),
756
+ :schema_basetype => XSD::QName.new(NsV200909, "ApiError"),
757
+ :schema_element => [
758
+ ["fieldPath", "SOAP::SOAPString", [0, 1]],
759
+ ["trigger", "SOAP::SOAPString", [0, 1]],
760
+ ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApiError.Type")], [0, 1]],
761
+ ["reason", "AdwordsApi::V200909::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
762
+ ]
763
+ )
764
+
673
765
  LiteralRegistry.register(
674
766
  :class => AdwordsApi::V200909::CampaignCriterionService::DistinctError,
675
767
  :schema_type => XSD::QName.new(NsV200909, "DistinctError"),
@@ -944,98 +1036,6 @@ module DefaultMappingRegistry
944
1036
  ]
945
1037
  )
946
1038
 
947
- LiteralRegistry.register(
948
- :class => AdwordsApi::V200909::CampaignCriterionService::DatabaseError,
949
- :schema_type => XSD::QName.new(NsV200909, "DatabaseError"),
950
- :schema_basetype => XSD::QName.new(NsV200909, "ApiError"),
951
- :schema_element => [
952
- ["fieldPath", "SOAP::SOAPString", [0, 1]],
953
- ["trigger", "SOAP::SOAPString", [0, 1]],
954
- ["apiError_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApiError.Type")], [0, 1]],
955
- ["reason", "AdwordsApi::V200909::CampaignCriterionService::DatabaseErrorReason", [0, 1]]
956
- ]
957
- )
958
-
959
- LiteralRegistry.register(
960
- :class => AdwordsApi::V200909::CampaignCriterionService::ApiException,
961
- :schema_type => XSD::QName.new(NsV200909, "ApiException"),
962
- :schema_basetype => XSD::QName.new(NsV200909, "ApplicationException"),
963
- :schema_element => [
964
- ["message", "SOAP::SOAPString", [0, 1]],
965
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApplicationException.Type")], [0, 1]],
966
- ["errors", "AdwordsApi::V200909::CampaignCriterionService::ApiError[]", [0, nil]]
967
- ]
968
- )
969
-
970
- LiteralRegistry.register(
971
- :class => AdwordsApi::V200909::CampaignCriterionService::ApplicationException,
972
- :schema_type => XSD::QName.new(NsV200909, "ApplicationException"),
973
- :schema_element => [
974
- ["message", "SOAP::SOAPString", [0, 1]],
975
- ["applicationException_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ApplicationException.Type")], [0, 1]]
976
- ]
977
- )
978
-
979
- LiteralRegistry.register(
980
- :class => AdwordsApi::V200909::CampaignCriterionService::Criterion,
981
- :schema_type => XSD::QName.new(NsV200909, "Criterion"),
982
- :schema_element => [
983
- ["id", "SOAP::SOAPLong", [0, 1]],
984
- ["criterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Criterion.Type")], [0, 1]]
985
- ]
986
- )
987
-
988
- LiteralRegistry.register(
989
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion,
990
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterion"),
991
- :schema_element => [
992
- ["campaignId", "SOAP::SOAPLong", [0, 1]],
993
- ["criterion", "AdwordsApi::V200909::CampaignCriterionService::Criterion", [0, 1]],
994
- ["campaignCriterion_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "CampaignCriterion.Type")], [0, 1]]
995
- ]
996
- )
997
-
998
- LiteralRegistry.register(
999
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionOperation,
1000
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionOperation"),
1001
- :schema_basetype => XSD::QName.new(NsV200909, "Operation"),
1002
- :schema_element => [
1003
- ["operator", "AdwordsApi::V200909::CampaignCriterionService::Operator", [0, 1]],
1004
- ["operation_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Operation.Type")], [0, 1]],
1005
- ["operand", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion", [0, 1]]
1006
- ]
1007
- )
1008
-
1009
- LiteralRegistry.register(
1010
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionPage,
1011
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionPage"),
1012
- :schema_basetype => XSD::QName.new(NsV200909, "Page"),
1013
- :schema_element => [
1014
- ["totalNumEntries", "SOAP::SOAPInt", [0, 1]],
1015
- ["page_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "Page.Type")], [0, 1]],
1016
- ["entries", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
1017
- ]
1018
- )
1019
-
1020
- LiteralRegistry.register(
1021
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionReturnValue,
1022
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionReturnValue"),
1023
- :schema_basetype => XSD::QName.new(NsV200909, "ListReturnValue"),
1024
- :schema_element => [
1025
- ["listReturnValue_Type", ["SOAP::SOAPString", XSD::QName.new(NsV200909, "ListReturnValue.Type")], [0, 1]],
1026
- ["value", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterion[]", [0, nil]]
1027
- ]
1028
- )
1029
-
1030
- LiteralRegistry.register(
1031
- :class => AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionSelector,
1032
- :schema_type => XSD::QName.new(NsV200909, "CampaignCriterionSelector"),
1033
- :schema_element => [
1034
- ["idFilters", "AdwordsApi::V200909::CampaignCriterionService::CampaignCriterionIdFilter[]", [0, nil]],
1035
- ["paging", "AdwordsApi::V200909::CampaignCriterionService::Paging", [0, 1]]
1036
- ]
1037
- )
1038
-
1039
1039
  LiteralRegistry.register(
1040
1040
  :class => AdwordsApi::V200909::CampaignCriterionService::AuthenticationErrorReason,
1041
1041
  :schema_type => XSD::QName.new(NsV200909, "AuthenticationError.Reason")