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/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::AdGroupService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::AdGroupService::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 AdGroupServiceInterface < ::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::AdGroupService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :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/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::AdParamService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::AdParamService::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 AdParamServiceInterface < ::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::AdParamService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::AdParamService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class AlertServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/mcm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::AlertService::ApiException_"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/mcm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::AlertService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/mcm/v201008", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -16,7 +16,7 @@ class BidLandscapeServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getBidLandscapeResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::BidLandscapeService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::BidLandscapeService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -16,7 +16,7 @@ class BulkMutateJobServiceInterface < ::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::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::BulkMutateJobService::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 BulkMutateJobServiceInterface < ::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::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :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/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::CampaignAdExtensionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::CampaignAdExtensionService::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 CampaignAdExtensionServiceInterface < ::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::CampaignAdExtensionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::CampaignAdExtensionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -3,102 +3,6 @@ require 'xsd/qname'
3
3
  module AdwordsApi; module V201008; 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
- # ProductConditionOperand
33
- # - operand - SOAP::SOAPString
34
- class ProductConditionOperand
35
- attr_accessor :operand
36
-
37
- def initialize(operand = nil)
38
- @operand = operand
39
- end
40
- end
41
-
42
- # SoapHeader
43
- # - authToken - SOAP::SOAPString
44
- # - clientCustomerId - SOAP::SOAPString
45
- # - clientEmail - SOAP::SOAPString
46
- # - developerToken - SOAP::SOAPString
47
- # - userAgent - SOAP::SOAPString
48
- # - validateOnly - SOAP::SOAPBoolean
49
- # - partialFailure - SOAP::SOAPBoolean
50
- class SoapHeader
51
- attr_accessor :authToken
52
- attr_accessor :clientCustomerId
53
- attr_accessor :clientEmail
54
- attr_accessor :developerToken
55
- attr_accessor :userAgent
56
- attr_accessor :validateOnly
57
- attr_accessor :partialFailure
58
-
59
- def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
60
- @authToken = authToken
61
- @clientCustomerId = clientCustomerId
62
- @clientEmail = clientEmail
63
- @developerToken = developerToken
64
- @userAgent = userAgent
65
- @validateOnly = validateOnly
66
- @partialFailure = partialFailure
67
- end
68
- end
69
-
70
- # SoapResponseHeader
71
- # - requestId - SOAP::SOAPString
72
- # - operations - SOAP::SOAPLong
73
- # - responseTime - SOAP::SOAPLong
74
- # - units - SOAP::SOAPLong
75
- class SoapResponseHeader
76
- attr_accessor :requestId
77
- attr_accessor :operations
78
- attr_accessor :responseTime
79
- attr_accessor :units
80
-
81
- def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
82
- @requestId = requestId
83
- @operations = operations
84
- @responseTime = responseTime
85
- @units = units
86
- end
87
- end
88
-
89
- # ProductCondition
90
- # - argument - SOAP::SOAPString
91
- # - operand - AdwordsApi::V201008::CampaignCriterionService::ProductConditionOperand
92
- class ProductCondition
93
- attr_accessor :argument
94
- attr_accessor :operand
95
-
96
- def initialize(argument = nil, operand = nil)
97
- @argument = argument
98
- @operand = operand
99
- end
100
- end
101
-
102
6
  # ApiError
103
7
  # abstract
104
8
  # - fieldPath - SOAP::SOAPString
@@ -207,6 +111,28 @@ class ClientTermsError < ApiError
207
111
  end
208
112
  end
209
113
 
114
+ # DatabaseError
115
+ # - fieldPath - SOAP::SOAPString
116
+ # - trigger - SOAP::SOAPString
117
+ # - errorString - SOAP::SOAPString
118
+ # - apiError_Type - SOAP::SOAPString
119
+ # - reason - AdwordsApi::V201008::CampaignCriterionService::DatabaseErrorReason
120
+ class DatabaseError < ApiError
121
+ attr_accessor :fieldPath
122
+ attr_accessor :trigger
123
+ attr_accessor :errorString
124
+ attr_accessor :apiError_Type
125
+ attr_accessor :reason
126
+
127
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
128
+ @fieldPath = fieldPath
129
+ @trigger = trigger
130
+ @errorString = errorString
131
+ @apiError_Type = apiError_Type
132
+ @reason = reason
133
+ end
134
+ end
135
+
210
136
  # DistinctError
211
137
  # - fieldPath - SOAP::SOAPString
212
138
  # - trigger - SOAP::SOAPString
@@ -649,28 +575,6 @@ class SizeLimitError < ApiError
649
575
  end
650
576
  end
651
577
 
652
- # DatabaseError
653
- # - fieldPath - SOAP::SOAPString
654
- # - trigger - SOAP::SOAPString
655
- # - errorString - SOAP::SOAPString
656
- # - apiError_Type - SOAP::SOAPString
657
- # - reason - AdwordsApi::V201008::CampaignCriterionService::DatabaseErrorReason
658
- class DatabaseError < ApiError
659
- attr_accessor :fieldPath
660
- attr_accessor :trigger
661
- attr_accessor :errorString
662
- attr_accessor :apiError_Type
663
- attr_accessor :reason
664
-
665
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
666
- @fieldPath = fieldPath
667
- @trigger = trigger
668
- @errorString = errorString
669
- @apiError_Type = apiError_Type
670
- @reason = reason
671
- end
672
- end
673
-
674
578
  # ApplicationException
675
579
  # - message - SOAP::SOAPString
676
580
  # - applicationException_Type - SOAP::SOAPString
@@ -700,6 +604,64 @@ class ApiException < ApplicationException
700
604
  end
701
605
  end
702
606
 
607
+ # CampaignCriterion
608
+ # - campaignId - SOAP::SOAPLong
609
+ # - criterion - AdwordsApi::V201008::CampaignCriterionService::Criterion
610
+ # - campaignCriterion_Type - SOAP::SOAPString
611
+ class CampaignCriterion
612
+ attr_accessor :campaignId
613
+ attr_accessor :criterion
614
+ attr_accessor :campaignCriterion_Type
615
+
616
+ def initialize(campaignId = nil, criterion = nil, campaignCriterion_Type = nil)
617
+ @campaignId = campaignId
618
+ @criterion = criterion
619
+ @campaignCriterion_Type = campaignCriterion_Type
620
+ end
621
+ end
622
+
623
+ # NegativeCampaignCriterion
624
+ # - campaignId - SOAP::SOAPLong
625
+ # - criterion - AdwordsApi::V201008::CampaignCriterionService::Criterion
626
+ # - campaignCriterion_Type - SOAP::SOAPString
627
+ class NegativeCampaignCriterion < CampaignCriterion
628
+ attr_accessor :campaignId
629
+ attr_accessor :criterion
630
+ attr_accessor :campaignCriterion_Type
631
+
632
+ def initialize(campaignId = nil, criterion = nil, campaignCriterion_Type = nil)
633
+ @campaignId = campaignId
634
+ @criterion = criterion
635
+ @campaignCriterion_Type = campaignCriterion_Type
636
+ end
637
+ end
638
+
639
+ # CampaignCriterionIdFilter
640
+ # - campaignId - SOAP::SOAPLong
641
+ # - criterionId - SOAP::SOAPLong
642
+ class CampaignCriterionIdFilter
643
+ attr_accessor :campaignId
644
+ attr_accessor :criterionId
645
+
646
+ def initialize(campaignId = nil, criterionId = nil)
647
+ @campaignId = campaignId
648
+ @criterionId = criterionId
649
+ end
650
+ end
651
+
652
+ # CampaignCriterionSelector
653
+ # - idFilters - AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionIdFilter
654
+ # - paging - AdwordsApi::V201008::CampaignCriterionService::Paging
655
+ class CampaignCriterionSelector
656
+ attr_accessor :idFilters
657
+ attr_accessor :paging
658
+
659
+ def initialize(idFilters = [], paging = nil)
660
+ @idFilters = idFilters
661
+ @paging = paging
662
+ end
663
+ end
664
+
703
665
  # Criterion
704
666
  # - id - SOAP::SOAPLong
705
667
  # - criterion_Type - SOAP::SOAPString
@@ -764,6 +726,25 @@ class Placement < Criterion
764
726
  end
765
727
  end
766
728
 
729
+ # Product
730
+ # - id - SOAP::SOAPLong
731
+ # - criterion_Type - SOAP::SOAPString
732
+ # - conditions - AdwordsApi::V201008::CampaignCriterionService::ProductCondition
733
+ # - text - SOAP::SOAPString
734
+ class Product < Criterion
735
+ attr_accessor :id
736
+ attr_accessor :criterion_Type
737
+ attr_accessor :conditions
738
+ attr_accessor :text
739
+
740
+ def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
741
+ @id = id
742
+ @criterion_Type = criterion_Type
743
+ @conditions = conditions
744
+ @text = text
745
+ end
746
+ end
747
+
767
748
  # CriterionUserInterest
768
749
  # - id - SOAP::SOAPLong
769
750
  # - criterion_Type - SOAP::SOAPString
@@ -824,57 +805,6 @@ class Vertical < Criterion
824
805
  end
825
806
  end
826
807
 
827
- # Product
828
- # - id - SOAP::SOAPLong
829
- # - criterion_Type - SOAP::SOAPString
830
- # - conditions - AdwordsApi::V201008::CampaignCriterionService::ProductCondition
831
- # - text - SOAP::SOAPString
832
- class Product < Criterion
833
- attr_accessor :id
834
- attr_accessor :criterion_Type
835
- attr_accessor :conditions
836
- attr_accessor :text
837
-
838
- def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
839
- @id = id
840
- @criterion_Type = criterion_Type
841
- @conditions = conditions
842
- @text = text
843
- end
844
- end
845
-
846
- # CampaignCriterion
847
- # - campaignId - SOAP::SOAPLong
848
- # - criterion - AdwordsApi::V201008::CampaignCriterionService::Criterion
849
- # - campaignCriterion_Type - SOAP::SOAPString
850
- class CampaignCriterion
851
- attr_accessor :campaignId
852
- attr_accessor :criterion
853
- attr_accessor :campaignCriterion_Type
854
-
855
- def initialize(campaignId = nil, criterion = nil, campaignCriterion_Type = nil)
856
- @campaignId = campaignId
857
- @criterion = criterion
858
- @campaignCriterion_Type = campaignCriterion_Type
859
- end
860
- end
861
-
862
- # NegativeCampaignCriterion
863
- # - campaignId - SOAP::SOAPLong
864
- # - criterion - AdwordsApi::V201008::CampaignCriterionService::Criterion
865
- # - campaignCriterion_Type - SOAP::SOAPString
866
- class NegativeCampaignCriterion < CampaignCriterion
867
- attr_accessor :campaignId
868
- attr_accessor :criterion
869
- attr_accessor :campaignCriterion_Type
870
-
871
- def initialize(campaignId = nil, criterion = nil, campaignCriterion_Type = nil)
872
- @campaignId = campaignId
873
- @criterion = criterion
874
- @campaignCriterion_Type = campaignCriterion_Type
875
- end
876
- end
877
-
878
808
  # ListReturnValue
879
809
  # abstract
880
810
  # - listReturnValue_Type - SOAP::SOAPString
@@ -959,16 +889,86 @@ class CampaignCriterionPage < Page
959
889
  end
960
890
  end
961
891
 
962
- # CampaignCriterionSelector
963
- # - idFilters - AdwordsApi::V201008::CampaignCriterionService::CampaignCriterionIdFilter
964
- # - paging - AdwordsApi::V201008::CampaignCriterionService::Paging
965
- class CampaignCriterionSelector
966
- attr_accessor :idFilters
967
- attr_accessor :paging
892
+ # Paging
893
+ # - startIndex - SOAP::SOAPInt
894
+ # - numberResults - SOAP::SOAPInt
895
+ class Paging
896
+ attr_accessor :startIndex
897
+ attr_accessor :numberResults
968
898
 
969
- def initialize(idFilters = [], paging = nil)
970
- @idFilters = idFilters
971
- @paging = paging
899
+ def initialize(startIndex = nil, numberResults = nil)
900
+ @startIndex = startIndex
901
+ @numberResults = numberResults
902
+ end
903
+ end
904
+
905
+ # ProductCondition
906
+ # - argument - SOAP::SOAPString
907
+ # - operand - AdwordsApi::V201008::CampaignCriterionService::ProductConditionOperand
908
+ class ProductCondition
909
+ attr_accessor :argument
910
+ attr_accessor :operand
911
+
912
+ def initialize(argument = nil, operand = nil)
913
+ @argument = argument
914
+ @operand = operand
915
+ end
916
+ end
917
+
918
+ # ProductConditionOperand
919
+ # - operand - SOAP::SOAPString
920
+ class ProductConditionOperand
921
+ attr_accessor :operand
922
+
923
+ def initialize(operand = nil)
924
+ @operand = operand
925
+ end
926
+ end
927
+
928
+ # SoapHeader
929
+ # - authToken - SOAP::SOAPString
930
+ # - clientCustomerId - SOAP::SOAPString
931
+ # - clientEmail - SOAP::SOAPString
932
+ # - developerToken - SOAP::SOAPString
933
+ # - userAgent - SOAP::SOAPString
934
+ # - validateOnly - SOAP::SOAPBoolean
935
+ # - partialFailure - SOAP::SOAPBoolean
936
+ class SoapHeader
937
+ attr_accessor :authToken
938
+ attr_accessor :clientCustomerId
939
+ attr_accessor :clientEmail
940
+ attr_accessor :developerToken
941
+ attr_accessor :userAgent
942
+ attr_accessor :validateOnly
943
+ attr_accessor :partialFailure
944
+
945
+ def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
946
+ @authToken = authToken
947
+ @clientCustomerId = clientCustomerId
948
+ @clientEmail = clientEmail
949
+ @developerToken = developerToken
950
+ @userAgent = userAgent
951
+ @validateOnly = validateOnly
952
+ @partialFailure = partialFailure
953
+ end
954
+ end
955
+
956
+ # SoapResponseHeader
957
+ # - requestId - SOAP::SOAPString
958
+ # - operations - SOAP::SOAPLong
959
+ # - responseTime - SOAP::SOAPLong
960
+ # - units - SOAP::SOAPLong
961
+ class SoapResponseHeader
962
+ attr_accessor :requestId
963
+ attr_accessor :operations
964
+ attr_accessor :responseTime
965
+ attr_accessor :units
966
+
967
+ def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
968
+ @requestId = requestId
969
+ @operations = operations
970
+ @responseTime = responseTime
971
+ @units = units
972
972
  end
973
973
  end
974
974