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.
- data/Rakefile +1 -1
- data/examples/v201101/add_conversion.rb +97 -0
- data/examples/v201101/add_user_list.rb +28 -2
- data/examples/v201101/get_all_conversions.rb +88 -0
- data/examples/v201101/get_keyword_opportunities.rb +103 -0
- data/examples/v201101/update_conversion.rb +96 -0
- data/lib/adwords_api/api_config.rb +6 -3
- data/lib/adwords_api/errors.rb +4 -1
- data/lib/adwords_api/extensions.rb +1 -1
- data/lib/adwords_api/v13/AccountServiceDriver.rb +5 -5
- data/lib/adwords_api/v13/ReportServiceDriver.rb +7 -7
- data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +4 -4
- data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/AdGroupCriterionService.rb +506 -506
- data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +428 -428
- data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/AdParamServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/CampaignCriterionService.rb +133 -133
- data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +184 -184
- data/lib/adwords_api/v200909/CampaignServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +1 -1
- data/lib/adwords_api/v200909/InfoServiceDriver.rb +1 -1
- data/lib/adwords_api/v200909/TargetingIdeaService.rb +907 -907
- data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +2 -2
- data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +384 -384
- data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/AdGroupCriterionService.rb +527 -527
- data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +469 -469
- data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/AdParamServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +1 -1
- data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/CampaignCriterionService.rb +133 -133
- data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +186 -186
- data/lib/adwords_api/v201003/CampaignServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +1 -1
- data/lib/adwords_api/v201003/InfoServiceDriver.rb +1 -1
- data/lib/adwords_api/v201003/MediaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +3 -3
- data/lib/adwords_api/v201003/TargetingIdeaService.rb +1304 -1304
- data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +401 -401
- data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AdGroupCriterionService.rb +598 -598
- data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +680 -680
- data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AdParamServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/AlertServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CampaignCriterionService.rb +178 -178
- data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +228 -228
- data/lib/adwords_api/v201008/CampaignServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/InfoServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/MediaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +3 -3
- data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/TargetingIdeaService.rb +1459 -1459
- data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +447 -447
- data/lib/adwords_api/v201008/TrafficEstimatorService.rb +855 -855
- data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +1 -1
- data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +126 -126
- data/lib/adwords_api/v201008/UserListServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdGroupAdService.rb +2 -0
- data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdGroupCriterionService.rb +700 -700
- data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +670 -670
- data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AdParamServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/AlertServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/BulkMutateJobService.rb +2 -0
- data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/BulkOpportunityService.rb +1367 -0
- data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +55 -0
- data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +1668 -0
- data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +303 -0
- data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/CampaignCriterionService.rb +216 -216
- data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +234 -234
- data/lib/adwords_api/v201101/CampaignServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/ConversionTrackerService.rb +1105 -0
- data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +63 -0
- data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +1161 -0
- data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +332 -0
- data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/DataServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/InfoServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/MediaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +3 -3
- data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +14 -0
- data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/TargetingIdeaService.rb +1490 -1490
- data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +2 -2
- data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +507 -507
- data/lib/adwords_api/v201101/TrafficEstimatorService.rb +841 -841
- data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +1 -1
- data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +126 -126
- data/lib/adwords_api/v201101/UserListServiceDriver.rb +2 -2
- metadata +17 -5
@@ -16,7 +16,7 @@ class CampaignServiceInterface < ::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::CampaignService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :
|
19
|
+
:faults => {"AdwordsApi::V200909::CampaignService::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 CampaignServiceInterface < ::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::CampaignService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :
|
27
|
+
:faults => {"AdwordsApi::V200909::CampaignService::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 CampaignTargetServiceInterface < ::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::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :
|
19
|
+
:faults => {"AdwordsApi::V200909::CampaignTargetService::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 CampaignTargetServiceInterface < ::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::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :
|
27
|
+
:faults => {"AdwordsApi::V200909::CampaignTargetService::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 GeoLocationServiceInterface < ::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::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :
|
19
|
+
:faults => {"AdwordsApi::V200909::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v200909", :name=>"ApiException"}} }
|
20
20
|
]
|
21
21
|
]
|
22
22
|
|
@@ -16,7 +16,7 @@ class InfoServiceInterface < ::SOAP::RPC::Driver
|
|
16
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/info/v200909", "getResponse"]] ],
|
17
17
|
{ :request_style => :document, :request_use => :literal,
|
18
18
|
:response_style => :document, :response_use => :literal,
|
19
|
-
:faults => {"AdwordsApi::V200909::InfoService::ApiException_"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v200909", :
|
19
|
+
:faults => {"AdwordsApi::V200909::InfoService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v200909", :name=>"ApiException"}} }
|
20
20
|
]
|
21
21
|
]
|
22
22
|
|
@@ -31,418 +31,6 @@ class Address
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
# GeoPoint
|
35
|
-
# - latitudeInMicroDegrees - SOAP::SOAPInt
|
36
|
-
# - longitudeInMicroDegrees - SOAP::SOAPInt
|
37
|
-
class GeoPoint
|
38
|
-
attr_accessor :latitudeInMicroDegrees
|
39
|
-
attr_accessor :longitudeInMicroDegrees
|
40
|
-
|
41
|
-
def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
|
42
|
-
@latitudeInMicroDegrees = latitudeInMicroDegrees
|
43
|
-
@longitudeInMicroDegrees = longitudeInMicroDegrees
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
# Paging
|
48
|
-
# - startIndex - SOAP::SOAPInt
|
49
|
-
# - numberResults - SOAP::SOAPInt
|
50
|
-
class Paging
|
51
|
-
attr_accessor :startIndex
|
52
|
-
attr_accessor :numberResults
|
53
|
-
|
54
|
-
def initialize(startIndex = nil, numberResults = nil)
|
55
|
-
@startIndex = startIndex
|
56
|
-
@numberResults = numberResults
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
# PolicyViolationError.Part
|
61
|
-
# - index - SOAP::SOAPInt
|
62
|
-
# - length - SOAP::SOAPInt
|
63
|
-
class PolicyViolationErrorPart
|
64
|
-
attr_accessor :index
|
65
|
-
attr_accessor :length
|
66
|
-
|
67
|
-
def initialize(index = nil, length = nil)
|
68
|
-
@index = index
|
69
|
-
@length = length
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
# PolicyViolationKey
|
74
|
-
# - policyName - SOAP::SOAPString
|
75
|
-
# - violatingText - SOAP::SOAPString
|
76
|
-
class PolicyViolationKey
|
77
|
-
attr_accessor :policyName
|
78
|
-
attr_accessor :violatingText
|
79
|
-
|
80
|
-
def initialize(policyName = nil, violatingText = nil)
|
81
|
-
@policyName = policyName
|
82
|
-
@violatingText = violatingText
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
# SoapHeader
|
87
|
-
# - applicationToken - SOAP::SOAPString
|
88
|
-
# - authToken - SOAP::SOAPString
|
89
|
-
# - clientCustomerId - SOAP::SOAPString
|
90
|
-
# - clientEmail - SOAP::SOAPString
|
91
|
-
# - developerToken - SOAP::SOAPString
|
92
|
-
# - userAgent - SOAP::SOAPString
|
93
|
-
# - validateOnly - SOAP::SOAPBoolean
|
94
|
-
class SoapHeader
|
95
|
-
attr_accessor :applicationToken
|
96
|
-
attr_accessor :authToken
|
97
|
-
attr_accessor :clientCustomerId
|
98
|
-
attr_accessor :clientEmail
|
99
|
-
attr_accessor :developerToken
|
100
|
-
attr_accessor :userAgent
|
101
|
-
attr_accessor :validateOnly
|
102
|
-
|
103
|
-
def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
|
104
|
-
@applicationToken = applicationToken
|
105
|
-
@authToken = authToken
|
106
|
-
@clientCustomerId = clientCustomerId
|
107
|
-
@clientEmail = clientEmail
|
108
|
-
@developerToken = developerToken
|
109
|
-
@userAgent = userAgent
|
110
|
-
@validateOnly = validateOnly
|
111
|
-
end
|
112
|
-
end
|
113
|
-
|
114
|
-
# SoapResponseHeader
|
115
|
-
# - requestId - SOAP::SOAPString
|
116
|
-
# - operations - SOAP::SOAPLong
|
117
|
-
# - responseTime - SOAP::SOAPLong
|
118
|
-
# - units - SOAP::SOAPLong
|
119
|
-
class SoapResponseHeader
|
120
|
-
attr_accessor :requestId
|
121
|
-
attr_accessor :operations
|
122
|
-
attr_accessor :responseTime
|
123
|
-
attr_accessor :units
|
124
|
-
|
125
|
-
def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
|
126
|
-
@requestId = requestId
|
127
|
-
@operations = operations
|
128
|
-
@responseTime = responseTime
|
129
|
-
@units = units
|
130
|
-
end
|
131
|
-
end
|
132
|
-
|
133
|
-
# ComparableValue
|
134
|
-
# abstract
|
135
|
-
# - comparableValue_Type - SOAP::SOAPString
|
136
|
-
class ComparableValue
|
137
|
-
attr_accessor :comparableValue_Type
|
138
|
-
|
139
|
-
def initialize(comparableValue_Type = nil)
|
140
|
-
@comparableValue_Type = comparableValue_Type
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
# Money
|
145
|
-
# - comparableValue_Type - SOAP::SOAPString
|
146
|
-
# - microAmount - SOAP::SOAPLong
|
147
|
-
class Money < ComparableValue
|
148
|
-
attr_accessor :comparableValue_Type
|
149
|
-
attr_accessor :microAmount
|
150
|
-
|
151
|
-
def initialize(comparableValue_Type = nil, microAmount = nil)
|
152
|
-
@comparableValue_Type = comparableValue_Type
|
153
|
-
@microAmount = microAmount
|
154
|
-
end
|
155
|
-
end
|
156
|
-
|
157
|
-
# NumberValue
|
158
|
-
# abstract
|
159
|
-
# - comparableValue_Type - SOAP::SOAPString
|
160
|
-
class NumberValue < ComparableValue
|
161
|
-
attr_accessor :comparableValue_Type
|
162
|
-
|
163
|
-
def initialize(comparableValue_Type = nil)
|
164
|
-
@comparableValue_Type = comparableValue_Type
|
165
|
-
end
|
166
|
-
end
|
167
|
-
|
168
|
-
# DoubleValue
|
169
|
-
# - comparableValue_Type - SOAP::SOAPString
|
170
|
-
# - number - SOAP::SOAPDouble
|
171
|
-
class DoubleValue < NumberValue
|
172
|
-
attr_accessor :comparableValue_Type
|
173
|
-
attr_accessor :number
|
174
|
-
|
175
|
-
def initialize(comparableValue_Type = nil, number = nil)
|
176
|
-
@comparableValue_Type = comparableValue_Type
|
177
|
-
@number = number
|
178
|
-
end
|
179
|
-
end
|
180
|
-
|
181
|
-
# LongValue
|
182
|
-
# - comparableValue_Type - SOAP::SOAPString
|
183
|
-
# - number - SOAP::SOAPLong
|
184
|
-
class LongValue < NumberValue
|
185
|
-
attr_accessor :comparableValue_Type
|
186
|
-
attr_accessor :number
|
187
|
-
|
188
|
-
def initialize(comparableValue_Type = nil, number = nil)
|
189
|
-
@comparableValue_Type = comparableValue_Type
|
190
|
-
@number = number
|
191
|
-
end
|
192
|
-
end
|
193
|
-
|
194
|
-
# Target
|
195
|
-
# abstract
|
196
|
-
# - target_Type - SOAP::SOAPString
|
197
|
-
class Target
|
198
|
-
attr_accessor :target_Type
|
199
|
-
|
200
|
-
def initialize(target_Type = nil)
|
201
|
-
@target_Type = target_Type
|
202
|
-
end
|
203
|
-
end
|
204
|
-
|
205
|
-
# AdScheduleTarget
|
206
|
-
# - target_Type - SOAP::SOAPString
|
207
|
-
# - dayOfWeek - AdwordsApi::V200909::TargetingIdeaService::DayOfWeek
|
208
|
-
# - startHour - SOAP::SOAPInt
|
209
|
-
# - startMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
|
210
|
-
# - endHour - SOAP::SOAPInt
|
211
|
-
# - endMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
|
212
|
-
# - bidMultiplier - SOAP::SOAPDouble
|
213
|
-
class AdScheduleTarget < Target
|
214
|
-
attr_accessor :target_Type
|
215
|
-
attr_accessor :dayOfWeek
|
216
|
-
attr_accessor :startHour
|
217
|
-
attr_accessor :startMinute
|
218
|
-
attr_accessor :endHour
|
219
|
-
attr_accessor :endMinute
|
220
|
-
attr_accessor :bidMultiplier
|
221
|
-
|
222
|
-
def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
|
223
|
-
@target_Type = target_Type
|
224
|
-
@dayOfWeek = dayOfWeek
|
225
|
-
@startHour = startHour
|
226
|
-
@startMinute = startMinute
|
227
|
-
@endHour = endHour
|
228
|
-
@endMinute = endMinute
|
229
|
-
@bidMultiplier = bidMultiplier
|
230
|
-
end
|
231
|
-
end
|
232
|
-
|
233
|
-
# LanguageTarget
|
234
|
-
# - target_Type - SOAP::SOAPString
|
235
|
-
# - languageCode - SOAP::SOAPString
|
236
|
-
class LanguageTarget < Target
|
237
|
-
attr_accessor :target_Type
|
238
|
-
attr_accessor :languageCode
|
239
|
-
|
240
|
-
def initialize(target_Type = nil, languageCode = nil)
|
241
|
-
@target_Type = target_Type
|
242
|
-
@languageCode = languageCode
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
|
-
# NetworkTarget
|
247
|
-
# - target_Type - SOAP::SOAPString
|
248
|
-
# - networkCoverageType - AdwordsApi::V200909::TargetingIdeaService::NetworkCoverageType
|
249
|
-
class NetworkTarget < Target
|
250
|
-
attr_accessor :target_Type
|
251
|
-
attr_accessor :networkCoverageType
|
252
|
-
|
253
|
-
def initialize(target_Type = nil, networkCoverageType = nil)
|
254
|
-
@target_Type = target_Type
|
255
|
-
@networkCoverageType = networkCoverageType
|
256
|
-
end
|
257
|
-
end
|
258
|
-
|
259
|
-
# PlatformTarget
|
260
|
-
# - target_Type - SOAP::SOAPString
|
261
|
-
# - platformType - AdwordsApi::V200909::TargetingIdeaService::PlatformType
|
262
|
-
class PlatformTarget < Target
|
263
|
-
attr_accessor :target_Type
|
264
|
-
attr_accessor :platformType
|
265
|
-
|
266
|
-
def initialize(target_Type = nil, platformType = nil)
|
267
|
-
@target_Type = target_Type
|
268
|
-
@platformType = platformType
|
269
|
-
end
|
270
|
-
end
|
271
|
-
|
272
|
-
# DemographicTarget
|
273
|
-
# abstract
|
274
|
-
# - target_Type - SOAP::SOAPString
|
275
|
-
# - bidModifier - SOAP::SOAPInt
|
276
|
-
class DemographicTarget < Target
|
277
|
-
attr_accessor :target_Type
|
278
|
-
attr_accessor :bidModifier
|
279
|
-
|
280
|
-
def initialize(target_Type = nil, bidModifier = nil)
|
281
|
-
@target_Type = target_Type
|
282
|
-
@bidModifier = bidModifier
|
283
|
-
end
|
284
|
-
end
|
285
|
-
|
286
|
-
# AgeTarget
|
287
|
-
# - target_Type - SOAP::SOAPString
|
288
|
-
# - bidModifier - SOAP::SOAPInt
|
289
|
-
# - age - AdwordsApi::V200909::TargetingIdeaService::AgeTargetAge
|
290
|
-
class AgeTarget < DemographicTarget
|
291
|
-
attr_accessor :target_Type
|
292
|
-
attr_accessor :bidModifier
|
293
|
-
attr_accessor :age
|
294
|
-
|
295
|
-
def initialize(target_Type = nil, bidModifier = nil, age = nil)
|
296
|
-
@target_Type = target_Type
|
297
|
-
@bidModifier = bidModifier
|
298
|
-
@age = age
|
299
|
-
end
|
300
|
-
end
|
301
|
-
|
302
|
-
# GenderTarget
|
303
|
-
# - target_Type - SOAP::SOAPString
|
304
|
-
# - bidModifier - SOAP::SOAPInt
|
305
|
-
# - gender - AdwordsApi::V200909::TargetingIdeaService::GenderTargetGender
|
306
|
-
class GenderTarget < DemographicTarget
|
307
|
-
attr_accessor :target_Type
|
308
|
-
attr_accessor :bidModifier
|
309
|
-
attr_accessor :gender
|
310
|
-
|
311
|
-
def initialize(target_Type = nil, bidModifier = nil, gender = nil)
|
312
|
-
@target_Type = target_Type
|
313
|
-
@bidModifier = bidModifier
|
314
|
-
@gender = gender
|
315
|
-
end
|
316
|
-
end
|
317
|
-
|
318
|
-
# GeoTarget
|
319
|
-
# abstract
|
320
|
-
# - target_Type - SOAP::SOAPString
|
321
|
-
# - excluded - SOAP::SOAPBoolean
|
322
|
-
class GeoTarget < Target
|
323
|
-
attr_accessor :target_Type
|
324
|
-
attr_accessor :excluded
|
325
|
-
|
326
|
-
def initialize(target_Type = nil, excluded = nil)
|
327
|
-
@target_Type = target_Type
|
328
|
-
@excluded = excluded
|
329
|
-
end
|
330
|
-
end
|
331
|
-
|
332
|
-
# CityTarget
|
333
|
-
# - target_Type - SOAP::SOAPString
|
334
|
-
# - excluded - SOAP::SOAPBoolean
|
335
|
-
# - cityName - SOAP::SOAPString
|
336
|
-
# - provinceCode - SOAP::SOAPString
|
337
|
-
# - countryCode - SOAP::SOAPString
|
338
|
-
class CityTarget < GeoTarget
|
339
|
-
attr_accessor :target_Type
|
340
|
-
attr_accessor :excluded
|
341
|
-
attr_accessor :cityName
|
342
|
-
attr_accessor :provinceCode
|
343
|
-
attr_accessor :countryCode
|
344
|
-
|
345
|
-
def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
|
346
|
-
@target_Type = target_Type
|
347
|
-
@excluded = excluded
|
348
|
-
@cityName = cityName
|
349
|
-
@provinceCode = provinceCode
|
350
|
-
@countryCode = countryCode
|
351
|
-
end
|
352
|
-
end
|
353
|
-
|
354
|
-
# CountryTarget
|
355
|
-
# - target_Type - SOAP::SOAPString
|
356
|
-
# - excluded - SOAP::SOAPBoolean
|
357
|
-
# - countryCode - SOAP::SOAPString
|
358
|
-
class CountryTarget < GeoTarget
|
359
|
-
attr_accessor :target_Type
|
360
|
-
attr_accessor :excluded
|
361
|
-
attr_accessor :countryCode
|
362
|
-
|
363
|
-
def initialize(target_Type = nil, excluded = nil, countryCode = nil)
|
364
|
-
@target_Type = target_Type
|
365
|
-
@excluded = excluded
|
366
|
-
@countryCode = countryCode
|
367
|
-
end
|
368
|
-
end
|
369
|
-
|
370
|
-
# MetroTarget
|
371
|
-
# - target_Type - SOAP::SOAPString
|
372
|
-
# - excluded - SOAP::SOAPBoolean
|
373
|
-
# - metroCode - SOAP::SOAPString
|
374
|
-
class MetroTarget < GeoTarget
|
375
|
-
attr_accessor :target_Type
|
376
|
-
attr_accessor :excluded
|
377
|
-
attr_accessor :metroCode
|
378
|
-
|
379
|
-
def initialize(target_Type = nil, excluded = nil, metroCode = nil)
|
380
|
-
@target_Type = target_Type
|
381
|
-
@excluded = excluded
|
382
|
-
@metroCode = metroCode
|
383
|
-
end
|
384
|
-
end
|
385
|
-
|
386
|
-
# PolygonTarget
|
387
|
-
# - target_Type - SOAP::SOAPString
|
388
|
-
# - excluded - SOAP::SOAPBoolean
|
389
|
-
# - vertices - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
|
390
|
-
class PolygonTarget < GeoTarget
|
391
|
-
attr_accessor :target_Type
|
392
|
-
attr_accessor :excluded
|
393
|
-
attr_accessor :vertices
|
394
|
-
|
395
|
-
def initialize(target_Type = nil, excluded = nil, vertices = [])
|
396
|
-
@target_Type = target_Type
|
397
|
-
@excluded = excluded
|
398
|
-
@vertices = vertices
|
399
|
-
end
|
400
|
-
end
|
401
|
-
|
402
|
-
# ProvinceTarget
|
403
|
-
# - target_Type - SOAP::SOAPString
|
404
|
-
# - excluded - SOAP::SOAPBoolean
|
405
|
-
# - provinceCode - SOAP::SOAPString
|
406
|
-
class ProvinceTarget < GeoTarget
|
407
|
-
attr_accessor :target_Type
|
408
|
-
attr_accessor :excluded
|
409
|
-
attr_accessor :provinceCode
|
410
|
-
|
411
|
-
def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
|
412
|
-
@target_Type = target_Type
|
413
|
-
@excluded = excluded
|
414
|
-
@provinceCode = provinceCode
|
415
|
-
end
|
416
|
-
end
|
417
|
-
|
418
|
-
# ProximityTarget
|
419
|
-
# - target_Type - SOAP::SOAPString
|
420
|
-
# - excluded - SOAP::SOAPBoolean
|
421
|
-
# - geoPoint - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
|
422
|
-
# - radiusDistanceUnits - AdwordsApi::V200909::TargetingIdeaService::ProximityTargetDistanceUnits
|
423
|
-
# - radiusInUnits - SOAP::SOAPDouble
|
424
|
-
# - address - AdwordsApi::V200909::TargetingIdeaService::Address
|
425
|
-
# - allowServiceOfAddress - SOAP::SOAPBoolean
|
426
|
-
class ProximityTarget < GeoTarget
|
427
|
-
attr_accessor :target_Type
|
428
|
-
attr_accessor :excluded
|
429
|
-
attr_accessor :geoPoint
|
430
|
-
attr_accessor :radiusDistanceUnits
|
431
|
-
attr_accessor :radiusInUnits
|
432
|
-
attr_accessor :address
|
433
|
-
attr_accessor :allowServiceOfAddress
|
434
|
-
|
435
|
-
def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
|
436
|
-
@target_Type = target_Type
|
437
|
-
@excluded = excluded
|
438
|
-
@geoPoint = geoPoint
|
439
|
-
@radiusDistanceUnits = radiusDistanceUnits
|
440
|
-
@radiusInUnits = radiusInUnits
|
441
|
-
@address = address
|
442
|
-
@allowServiceOfAddress = allowServiceOfAddress
|
443
|
-
end
|
444
|
-
end
|
445
|
-
|
446
34
|
# ApiError
|
447
35
|
# abstract
|
448
36
|
# - fieldPath - SOAP::SOAPString
|
@@ -574,6 +162,25 @@ class ClientTermsError < ApiError
|
|
574
162
|
end
|
575
163
|
end
|
576
164
|
|
165
|
+
# DatabaseError
|
166
|
+
# - fieldPath - SOAP::SOAPString
|
167
|
+
# - trigger - SOAP::SOAPString
|
168
|
+
# - apiError_Type - SOAP::SOAPString
|
169
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::DatabaseErrorReason
|
170
|
+
class DatabaseError < ApiError
|
171
|
+
attr_accessor :fieldPath
|
172
|
+
attr_accessor :trigger
|
173
|
+
attr_accessor :apiError_Type
|
174
|
+
attr_accessor :reason
|
175
|
+
|
176
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
177
|
+
@fieldPath = fieldPath
|
178
|
+
@trigger = trigger
|
179
|
+
@apiError_Type = apiError_Type
|
180
|
+
@reason = reason
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
577
184
|
# DateError
|
578
185
|
# - fieldPath - SOAP::SOAPString
|
579
186
|
# - trigger - SOAP::SOAPString
|
@@ -760,69 +367,80 @@ class NullError < ApiError
|
|
760
367
|
end
|
761
368
|
end
|
762
369
|
|
763
|
-
#
|
764
|
-
# - fieldPath - SOAP::SOAPString
|
765
|
-
# - trigger - SOAP::SOAPString
|
766
|
-
# - apiError_Type - SOAP::SOAPString
|
767
|
-
# - reason - AdwordsApi::V200909::TargetingIdeaService::QuotaCheckErrorReason
|
768
|
-
class QuotaCheckError < ApiError
|
769
|
-
attr_accessor :fieldPath
|
770
|
-
attr_accessor :trigger
|
771
|
-
attr_accessor :apiError_Type
|
772
|
-
attr_accessor :reason
|
773
|
-
|
774
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
775
|
-
@fieldPath = fieldPath
|
776
|
-
@trigger = trigger
|
777
|
-
@apiError_Type = apiError_Type
|
778
|
-
@reason = reason
|
779
|
-
end
|
780
|
-
end
|
781
|
-
|
782
|
-
# QuotaExceededError
|
370
|
+
# PolicyViolationError
|
783
371
|
# - fieldPath - SOAP::SOAPString
|
784
372
|
# - trigger - SOAP::SOAPString
|
785
373
|
# - apiError_Type - SOAP::SOAPString
|
786
|
-
# -
|
787
|
-
|
374
|
+
# - key - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationKey
|
375
|
+
# - externalPolicyName - SOAP::SOAPString
|
376
|
+
# - externalPolicyUrl - SOAP::SOAPString
|
377
|
+
# - externalPolicyDescription - SOAP::SOAPString
|
378
|
+
# - isExemptable - SOAP::SOAPBoolean
|
379
|
+
# - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
|
380
|
+
class PolicyViolationError < ApiError
|
788
381
|
attr_accessor :fieldPath
|
789
382
|
attr_accessor :trigger
|
790
383
|
attr_accessor :apiError_Type
|
791
|
-
attr_accessor :
|
384
|
+
attr_accessor :key
|
385
|
+
attr_accessor :externalPolicyName
|
386
|
+
attr_accessor :externalPolicyUrl
|
387
|
+
attr_accessor :externalPolicyDescription
|
388
|
+
attr_accessor :isExemptable
|
389
|
+
attr_accessor :violatingParts
|
792
390
|
|
793
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil,
|
391
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
|
794
392
|
@fieldPath = fieldPath
|
795
393
|
@trigger = trigger
|
796
394
|
@apiError_Type = apiError_Type
|
797
|
-
@
|
395
|
+
@key = key
|
396
|
+
@externalPolicyName = externalPolicyName
|
397
|
+
@externalPolicyUrl = externalPolicyUrl
|
398
|
+
@externalPolicyDescription = externalPolicyDescription
|
399
|
+
@isExemptable = isExemptable
|
400
|
+
@violatingParts = violatingParts
|
798
401
|
end
|
799
402
|
end
|
800
403
|
|
801
|
-
#
|
404
|
+
# CriterionPolicyError
|
802
405
|
# - fieldPath - SOAP::SOAPString
|
803
406
|
# - trigger - SOAP::SOAPString
|
804
407
|
# - apiError_Type - SOAP::SOAPString
|
805
|
-
# -
|
806
|
-
|
408
|
+
# - key - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationKey
|
409
|
+
# - externalPolicyName - SOAP::SOAPString
|
410
|
+
# - externalPolicyUrl - SOAP::SOAPString
|
411
|
+
# - externalPolicyDescription - SOAP::SOAPString
|
412
|
+
# - isExemptable - SOAP::SOAPBoolean
|
413
|
+
# - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
|
414
|
+
class CriterionPolicyError < PolicyViolationError
|
807
415
|
attr_accessor :fieldPath
|
808
416
|
attr_accessor :trigger
|
809
417
|
attr_accessor :apiError_Type
|
810
|
-
attr_accessor :
|
418
|
+
attr_accessor :key
|
419
|
+
attr_accessor :externalPolicyName
|
420
|
+
attr_accessor :externalPolicyUrl
|
421
|
+
attr_accessor :externalPolicyDescription
|
422
|
+
attr_accessor :isExemptable
|
423
|
+
attr_accessor :violatingParts
|
811
424
|
|
812
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil,
|
425
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
|
813
426
|
@fieldPath = fieldPath
|
814
427
|
@trigger = trigger
|
815
428
|
@apiError_Type = apiError_Type
|
816
|
-
@
|
429
|
+
@key = key
|
430
|
+
@externalPolicyName = externalPolicyName
|
431
|
+
@externalPolicyUrl = externalPolicyUrl
|
432
|
+
@externalPolicyDescription = externalPolicyDescription
|
433
|
+
@isExemptable = isExemptable
|
434
|
+
@violatingParts = violatingParts
|
817
435
|
end
|
818
436
|
end
|
819
437
|
|
820
|
-
#
|
438
|
+
# QuotaCheckError
|
821
439
|
# - fieldPath - SOAP::SOAPString
|
822
440
|
# - trigger - SOAP::SOAPString
|
823
441
|
# - apiError_Type - SOAP::SOAPString
|
824
|
-
# - reason - AdwordsApi::V200909::TargetingIdeaService::
|
825
|
-
class
|
442
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::QuotaCheckErrorReason
|
443
|
+
class QuotaCheckError < ApiError
|
826
444
|
attr_accessor :fieldPath
|
827
445
|
attr_accessor :trigger
|
828
446
|
attr_accessor :apiError_Type
|
@@ -836,12 +454,12 @@ class ReadOnlyError < ApiError
|
|
836
454
|
end
|
837
455
|
end
|
838
456
|
|
839
|
-
#
|
457
|
+
# QuotaExceededError
|
840
458
|
# - fieldPath - SOAP::SOAPString
|
841
459
|
# - trigger - SOAP::SOAPString
|
842
460
|
# - apiError_Type - SOAP::SOAPString
|
843
|
-
# - reason - AdwordsApi::V200909::TargetingIdeaService::
|
844
|
-
class
|
461
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::QuotaExceededErrorReason
|
462
|
+
class QuotaExceededError < ApiError
|
845
463
|
attr_accessor :fieldPath
|
846
464
|
attr_accessor :trigger
|
847
465
|
attr_accessor :apiError_Type
|
@@ -855,12 +473,12 @@ class RegionCodeError < ApiError
|
|
855
473
|
end
|
856
474
|
end
|
857
475
|
|
858
|
-
#
|
476
|
+
# RangeError
|
859
477
|
# - fieldPath - SOAP::SOAPString
|
860
478
|
# - trigger - SOAP::SOAPString
|
861
479
|
# - apiError_Type - SOAP::SOAPString
|
862
|
-
# - reason - AdwordsApi::V200909::TargetingIdeaService::
|
863
|
-
class
|
480
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::RangeErrorReason
|
481
|
+
class C_RangeError < ApiError
|
864
482
|
attr_accessor :fieldPath
|
865
483
|
attr_accessor :trigger
|
866
484
|
attr_accessor :apiError_Type
|
@@ -874,12 +492,12 @@ class RequiredError < ApiError
|
|
874
492
|
end
|
875
493
|
end
|
876
494
|
|
877
|
-
#
|
495
|
+
# ReadOnlyError
|
878
496
|
# - fieldPath - SOAP::SOAPString
|
879
497
|
# - trigger - SOAP::SOAPString
|
880
498
|
# - apiError_Type - SOAP::SOAPString
|
881
|
-
# - reason - AdwordsApi::V200909::TargetingIdeaService::
|
882
|
-
class
|
499
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::ReadOnlyErrorReason
|
500
|
+
class ReadOnlyError < ApiError
|
883
501
|
attr_accessor :fieldPath
|
884
502
|
attr_accessor :trigger
|
885
503
|
attr_accessor :apiError_Type
|
@@ -893,12 +511,12 @@ class SizeLimitError < ApiError
|
|
893
511
|
end
|
894
512
|
end
|
895
513
|
|
896
|
-
#
|
514
|
+
# RegionCodeError
|
897
515
|
# - fieldPath - SOAP::SOAPString
|
898
516
|
# - trigger - SOAP::SOAPString
|
899
517
|
# - apiError_Type - SOAP::SOAPString
|
900
|
-
# - reason - AdwordsApi::V200909::TargetingIdeaService::
|
901
|
-
class
|
518
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::RegionCodeErrorReason
|
519
|
+
class RegionCodeError < ApiError
|
902
520
|
attr_accessor :fieldPath
|
903
521
|
attr_accessor :trigger
|
904
522
|
attr_accessor :apiError_Type
|
@@ -912,12 +530,12 @@ class StatsQueryError < ApiError
|
|
912
530
|
end
|
913
531
|
end
|
914
532
|
|
915
|
-
#
|
533
|
+
# RequiredError
|
916
534
|
# - fieldPath - SOAP::SOAPString
|
917
535
|
# - trigger - SOAP::SOAPString
|
918
536
|
# - apiError_Type - SOAP::SOAPString
|
919
|
-
# - reason - AdwordsApi::V200909::TargetingIdeaService::
|
920
|
-
class
|
537
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::RequiredErrorReason
|
538
|
+
class RequiredError < ApiError
|
921
539
|
attr_accessor :fieldPath
|
922
540
|
attr_accessor :trigger
|
923
541
|
attr_accessor :apiError_Type
|
@@ -931,12 +549,12 @@ class StringLengthError < ApiError
|
|
931
549
|
end
|
932
550
|
end
|
933
551
|
|
934
|
-
#
|
552
|
+
# SizeLimitError
|
935
553
|
# - fieldPath - SOAP::SOAPString
|
936
554
|
# - trigger - SOAP::SOAPString
|
937
555
|
# - apiError_Type - SOAP::SOAPString
|
938
|
-
# - reason - AdwordsApi::V200909::TargetingIdeaService::
|
939
|
-
class
|
556
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::SizeLimitErrorReason
|
557
|
+
class SizeLimitError < ApiError
|
940
558
|
attr_accessor :fieldPath
|
941
559
|
attr_accessor :trigger
|
942
560
|
attr_accessor :apiError_Type
|
@@ -950,12 +568,12 @@ class TargetError < ApiError
|
|
950
568
|
end
|
951
569
|
end
|
952
570
|
|
953
|
-
#
|
571
|
+
# StatsQueryError
|
954
572
|
# - fieldPath - SOAP::SOAPString
|
955
573
|
# - trigger - SOAP::SOAPString
|
956
574
|
# - apiError_Type - SOAP::SOAPString
|
957
|
-
# - reason - AdwordsApi::V200909::TargetingIdeaService::
|
958
|
-
class
|
575
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::StatsQueryErrorReason
|
576
|
+
class StatsQueryError < ApiError
|
959
577
|
attr_accessor :fieldPath
|
960
578
|
attr_accessor :trigger
|
961
579
|
attr_accessor :apiError_Type
|
@@ -969,71 +587,41 @@ class DatabaseError < ApiError
|
|
969
587
|
end
|
970
588
|
end
|
971
589
|
|
972
|
-
#
|
590
|
+
# StringLengthError
|
973
591
|
# - fieldPath - SOAP::SOAPString
|
974
592
|
# - trigger - SOAP::SOAPString
|
975
593
|
# - apiError_Type - SOAP::SOAPString
|
976
|
-
# -
|
977
|
-
|
978
|
-
# - externalPolicyUrl - SOAP::SOAPString
|
979
|
-
# - externalPolicyDescription - SOAP::SOAPString
|
980
|
-
# - isExemptable - SOAP::SOAPBoolean
|
981
|
-
# - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
|
982
|
-
class PolicyViolationError < ApiError
|
594
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::StringLengthErrorReason
|
595
|
+
class StringLengthError < ApiError
|
983
596
|
attr_accessor :fieldPath
|
984
597
|
attr_accessor :trigger
|
985
598
|
attr_accessor :apiError_Type
|
986
|
-
attr_accessor :
|
987
|
-
attr_accessor :externalPolicyName
|
988
|
-
attr_accessor :externalPolicyUrl
|
989
|
-
attr_accessor :externalPolicyDescription
|
990
|
-
attr_accessor :isExemptable
|
991
|
-
attr_accessor :violatingParts
|
599
|
+
attr_accessor :reason
|
992
600
|
|
993
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil,
|
601
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
994
602
|
@fieldPath = fieldPath
|
995
603
|
@trigger = trigger
|
996
604
|
@apiError_Type = apiError_Type
|
997
|
-
@
|
998
|
-
@externalPolicyName = externalPolicyName
|
999
|
-
@externalPolicyUrl = externalPolicyUrl
|
1000
|
-
@externalPolicyDescription = externalPolicyDescription
|
1001
|
-
@isExemptable = isExemptable
|
1002
|
-
@violatingParts = violatingParts
|
605
|
+
@reason = reason
|
1003
606
|
end
|
1004
607
|
end
|
1005
608
|
|
1006
|
-
#
|
609
|
+
# TargetError
|
1007
610
|
# - fieldPath - SOAP::SOAPString
|
1008
611
|
# - trigger - SOAP::SOAPString
|
1009
612
|
# - apiError_Type - SOAP::SOAPString
|
1010
|
-
# -
|
1011
|
-
|
1012
|
-
# - externalPolicyUrl - SOAP::SOAPString
|
1013
|
-
# - externalPolicyDescription - SOAP::SOAPString
|
1014
|
-
# - isExemptable - SOAP::SOAPBoolean
|
1015
|
-
# - violatingParts - AdwordsApi::V200909::TargetingIdeaService::PolicyViolationErrorPart
|
1016
|
-
class CriterionPolicyError < PolicyViolationError
|
613
|
+
# - reason - AdwordsApi::V200909::TargetingIdeaService::TargetErrorReason
|
614
|
+
class TargetError < ApiError
|
1017
615
|
attr_accessor :fieldPath
|
1018
616
|
attr_accessor :trigger
|
1019
617
|
attr_accessor :apiError_Type
|
1020
|
-
attr_accessor :
|
1021
|
-
attr_accessor :externalPolicyName
|
1022
|
-
attr_accessor :externalPolicyUrl
|
1023
|
-
attr_accessor :externalPolicyDescription
|
1024
|
-
attr_accessor :isExemptable
|
1025
|
-
attr_accessor :violatingParts
|
618
|
+
attr_accessor :reason
|
1026
619
|
|
1027
|
-
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil,
|
620
|
+
def initialize(fieldPath = nil, trigger = nil, apiError_Type = nil, reason = nil)
|
1028
621
|
@fieldPath = fieldPath
|
1029
622
|
@trigger = trigger
|
1030
623
|
@apiError_Type = apiError_Type
|
1031
|
-
@
|
1032
|
-
@externalPolicyName = externalPolicyName
|
1033
|
-
@externalPolicyUrl = externalPolicyUrl
|
1034
|
-
@externalPolicyDescription = externalPolicyDescription
|
1035
|
-
@isExemptable = isExemptable
|
1036
|
-
@violatingParts = violatingParts
|
624
|
+
@reason = reason
|
1037
625
|
end
|
1038
626
|
end
|
1039
627
|
|
@@ -1104,6 +692,67 @@ class ApiException < ApplicationException
|
|
1104
692
|
end
|
1105
693
|
end
|
1106
694
|
|
695
|
+
# ComparableValue
|
696
|
+
# abstract
|
697
|
+
# - comparableValue_Type - SOAP::SOAPString
|
698
|
+
class ComparableValue
|
699
|
+
attr_accessor :comparableValue_Type
|
700
|
+
|
701
|
+
def initialize(comparableValue_Type = nil)
|
702
|
+
@comparableValue_Type = comparableValue_Type
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
706
|
+
# Money
|
707
|
+
# - comparableValue_Type - SOAP::SOAPString
|
708
|
+
# - microAmount - SOAP::SOAPLong
|
709
|
+
class Money < ComparableValue
|
710
|
+
attr_accessor :comparableValue_Type
|
711
|
+
attr_accessor :microAmount
|
712
|
+
|
713
|
+
def initialize(comparableValue_Type = nil, microAmount = nil)
|
714
|
+
@comparableValue_Type = comparableValue_Type
|
715
|
+
@microAmount = microAmount
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
719
|
+
# NumberValue
|
720
|
+
# abstract
|
721
|
+
# - comparableValue_Type - SOAP::SOAPString
|
722
|
+
class NumberValue < ComparableValue
|
723
|
+
attr_accessor :comparableValue_Type
|
724
|
+
|
725
|
+
def initialize(comparableValue_Type = nil)
|
726
|
+
@comparableValue_Type = comparableValue_Type
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
730
|
+
# DoubleValue
|
731
|
+
# - comparableValue_Type - SOAP::SOAPString
|
732
|
+
# - number - SOAP::SOAPDouble
|
733
|
+
class DoubleValue < NumberValue
|
734
|
+
attr_accessor :comparableValue_Type
|
735
|
+
attr_accessor :number
|
736
|
+
|
737
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
738
|
+
@comparableValue_Type = comparableValue_Type
|
739
|
+
@number = number
|
740
|
+
end
|
741
|
+
end
|
742
|
+
|
743
|
+
# LongValue
|
744
|
+
# - comparableValue_Type - SOAP::SOAPString
|
745
|
+
# - number - SOAP::SOAPLong
|
746
|
+
class LongValue < NumberValue
|
747
|
+
attr_accessor :comparableValue_Type
|
748
|
+
attr_accessor :number
|
749
|
+
|
750
|
+
def initialize(comparableValue_Type = nil, number = nil)
|
751
|
+
@comparableValue_Type = comparableValue_Type
|
752
|
+
@number = number
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
1107
756
|
# Criterion
|
1108
757
|
# - id - SOAP::SOAPLong
|
1109
758
|
# - criterion_Type - SOAP::SOAPString
|
@@ -1111,399 +760,566 @@ class Criterion
|
|
1111
760
|
attr_accessor :id
|
1112
761
|
attr_accessor :criterion_Type
|
1113
762
|
|
1114
|
-
def initialize(id = nil, criterion_Type = nil)
|
1115
|
-
@id = id
|
1116
|
-
@criterion_Type = criterion_Type
|
763
|
+
def initialize(id = nil, criterion_Type = nil)
|
764
|
+
@id = id
|
765
|
+
@criterion_Type = criterion_Type
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
# Keyword
|
770
|
+
# - id - SOAP::SOAPLong
|
771
|
+
# - criterion_Type - SOAP::SOAPString
|
772
|
+
# - text - SOAP::SOAPString
|
773
|
+
# - matchType - AdwordsApi::V200909::TargetingIdeaService::KeywordMatchType
|
774
|
+
class Keyword < Criterion
|
775
|
+
attr_accessor :id
|
776
|
+
attr_accessor :criterion_Type
|
777
|
+
attr_accessor :text
|
778
|
+
attr_accessor :matchType
|
779
|
+
|
780
|
+
def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
|
781
|
+
@id = id
|
782
|
+
@criterion_Type = criterion_Type
|
783
|
+
@text = text
|
784
|
+
@matchType = matchType
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
788
|
+
# Placement
|
789
|
+
# - id - SOAP::SOAPLong
|
790
|
+
# - criterion_Type - SOAP::SOAPString
|
791
|
+
# - url - SOAP::SOAPString
|
792
|
+
class Placement < Criterion
|
793
|
+
attr_accessor :id
|
794
|
+
attr_accessor :criterion_Type
|
795
|
+
attr_accessor :url
|
796
|
+
|
797
|
+
def initialize(id = nil, criterion_Type = nil, url = nil)
|
798
|
+
@id = id
|
799
|
+
@criterion_Type = criterion_Type
|
800
|
+
@url = url
|
801
|
+
end
|
802
|
+
end
|
803
|
+
|
804
|
+
# GeoPoint
|
805
|
+
# - latitudeInMicroDegrees - SOAP::SOAPInt
|
806
|
+
# - longitudeInMicroDegrees - SOAP::SOAPInt
|
807
|
+
class GeoPoint
|
808
|
+
attr_accessor :latitudeInMicroDegrees
|
809
|
+
attr_accessor :longitudeInMicroDegrees
|
810
|
+
|
811
|
+
def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
|
812
|
+
@latitudeInMicroDegrees = latitudeInMicroDegrees
|
813
|
+
@longitudeInMicroDegrees = longitudeInMicroDegrees
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
# Paging
|
818
|
+
# - startIndex - SOAP::SOAPInt
|
819
|
+
# - numberResults - SOAP::SOAPInt
|
820
|
+
class Paging
|
821
|
+
attr_accessor :startIndex
|
822
|
+
attr_accessor :numberResults
|
823
|
+
|
824
|
+
def initialize(startIndex = nil, numberResults = nil)
|
825
|
+
@startIndex = startIndex
|
826
|
+
@numberResults = numberResults
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
# PolicyViolationError.Part
|
831
|
+
# - index - SOAP::SOAPInt
|
832
|
+
# - length - SOAP::SOAPInt
|
833
|
+
class PolicyViolationErrorPart
|
834
|
+
attr_accessor :index
|
835
|
+
attr_accessor :length
|
836
|
+
|
837
|
+
def initialize(index = nil, length = nil)
|
838
|
+
@index = index
|
839
|
+
@length = length
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
843
|
+
# PolicyViolationKey
|
844
|
+
# - policyName - SOAP::SOAPString
|
845
|
+
# - violatingText - SOAP::SOAPString
|
846
|
+
class PolicyViolationKey
|
847
|
+
attr_accessor :policyName
|
848
|
+
attr_accessor :violatingText
|
849
|
+
|
850
|
+
def initialize(policyName = nil, violatingText = nil)
|
851
|
+
@policyName = policyName
|
852
|
+
@violatingText = violatingText
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
856
|
+
# SoapHeader
|
857
|
+
# - applicationToken - SOAP::SOAPString
|
858
|
+
# - authToken - SOAP::SOAPString
|
859
|
+
# - clientCustomerId - SOAP::SOAPString
|
860
|
+
# - clientEmail - SOAP::SOAPString
|
861
|
+
# - developerToken - SOAP::SOAPString
|
862
|
+
# - userAgent - SOAP::SOAPString
|
863
|
+
# - validateOnly - SOAP::SOAPBoolean
|
864
|
+
class SoapHeader
|
865
|
+
attr_accessor :applicationToken
|
866
|
+
attr_accessor :authToken
|
867
|
+
attr_accessor :clientCustomerId
|
868
|
+
attr_accessor :clientEmail
|
869
|
+
attr_accessor :developerToken
|
870
|
+
attr_accessor :userAgent
|
871
|
+
attr_accessor :validateOnly
|
872
|
+
|
873
|
+
def initialize(applicationToken = nil, authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil)
|
874
|
+
@applicationToken = applicationToken
|
875
|
+
@authToken = authToken
|
876
|
+
@clientCustomerId = clientCustomerId
|
877
|
+
@clientEmail = clientEmail
|
878
|
+
@developerToken = developerToken
|
879
|
+
@userAgent = userAgent
|
880
|
+
@validateOnly = validateOnly
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
884
|
+
# SoapResponseHeader
|
885
|
+
# - requestId - SOAP::SOAPString
|
886
|
+
# - operations - SOAP::SOAPLong
|
887
|
+
# - responseTime - SOAP::SOAPLong
|
888
|
+
# - units - SOAP::SOAPLong
|
889
|
+
class SoapResponseHeader
|
890
|
+
attr_accessor :requestId
|
891
|
+
attr_accessor :operations
|
892
|
+
attr_accessor :responseTime
|
893
|
+
attr_accessor :units
|
894
|
+
|
895
|
+
def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
|
896
|
+
@requestId = requestId
|
897
|
+
@operations = operations
|
898
|
+
@responseTime = responseTime
|
899
|
+
@units = units
|
1117
900
|
end
|
1118
901
|
end
|
1119
902
|
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
# -
|
1123
|
-
|
1124
|
-
|
1125
|
-
class Keyword < Criterion
|
1126
|
-
attr_accessor :id
|
1127
|
-
attr_accessor :criterion_Type
|
1128
|
-
attr_accessor :text
|
1129
|
-
attr_accessor :matchType
|
903
|
+
# Target
|
904
|
+
# abstract
|
905
|
+
# - target_Type - SOAP::SOAPString
|
906
|
+
class Target
|
907
|
+
attr_accessor :target_Type
|
1130
908
|
|
1131
|
-
def initialize(
|
1132
|
-
@
|
1133
|
-
@criterion_Type = criterion_Type
|
1134
|
-
@text = text
|
1135
|
-
@matchType = matchType
|
909
|
+
def initialize(target_Type = nil)
|
910
|
+
@target_Type = target_Type
|
1136
911
|
end
|
1137
912
|
end
|
1138
913
|
|
1139
|
-
#
|
1140
|
-
# -
|
1141
|
-
# -
|
1142
|
-
# -
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
914
|
+
# AdScheduleTarget
|
915
|
+
# - target_Type - SOAP::SOAPString
|
916
|
+
# - dayOfWeek - AdwordsApi::V200909::TargetingIdeaService::DayOfWeek
|
917
|
+
# - startHour - SOAP::SOAPInt
|
918
|
+
# - startMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
|
919
|
+
# - endHour - SOAP::SOAPInt
|
920
|
+
# - endMinute - AdwordsApi::V200909::TargetingIdeaService::MinuteOfHour
|
921
|
+
# - bidMultiplier - SOAP::SOAPDouble
|
922
|
+
class AdScheduleTarget < Target
|
923
|
+
attr_accessor :target_Type
|
924
|
+
attr_accessor :dayOfWeek
|
925
|
+
attr_accessor :startHour
|
926
|
+
attr_accessor :startMinute
|
927
|
+
attr_accessor :endHour
|
928
|
+
attr_accessor :endMinute
|
929
|
+
attr_accessor :bidMultiplier
|
1147
930
|
|
1148
|
-
def initialize(
|
1149
|
-
@
|
1150
|
-
@
|
1151
|
-
@
|
931
|
+
def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
|
932
|
+
@target_Type = target_Type
|
933
|
+
@dayOfWeek = dayOfWeek
|
934
|
+
@startHour = startHour
|
935
|
+
@startMinute = startMinute
|
936
|
+
@endHour = endHour
|
937
|
+
@endMinute = endMinute
|
938
|
+
@bidMultiplier = bidMultiplier
|
1152
939
|
end
|
1153
940
|
end
|
1154
941
|
|
1155
|
-
#
|
1156
|
-
#
|
1157
|
-
|
1158
|
-
|
942
|
+
# DemographicTarget
|
943
|
+
# abstract
|
944
|
+
# - target_Type - SOAP::SOAPString
|
945
|
+
# - bidModifier - SOAP::SOAPInt
|
946
|
+
class DemographicTarget < Target
|
947
|
+
attr_accessor :target_Type
|
948
|
+
attr_accessor :bidModifier
|
1159
949
|
|
1160
|
-
def initialize(
|
1161
|
-
@
|
950
|
+
def initialize(target_Type = nil, bidModifier = nil)
|
951
|
+
@target_Type = target_Type
|
952
|
+
@bidModifier = bidModifier
|
1162
953
|
end
|
1163
954
|
end
|
1164
955
|
|
1165
|
-
#
|
1166
|
-
# -
|
1167
|
-
# -
|
1168
|
-
# -
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
attr_accessor :maxAdDuration
|
1174
|
-
attr_accessor :minAdDuration
|
1175
|
-
attr_accessor :medianAdDuration
|
1176
|
-
attr_accessor :preRollPercent
|
1177
|
-
attr_accessor :midRollPercent
|
1178
|
-
attr_accessor :postRollPercent
|
956
|
+
# AgeTarget
|
957
|
+
# - target_Type - SOAP::SOAPString
|
958
|
+
# - bidModifier - SOAP::SOAPInt
|
959
|
+
# - age - AdwordsApi::V200909::TargetingIdeaService::AgeTargetAge
|
960
|
+
class AgeTarget < DemographicTarget
|
961
|
+
attr_accessor :target_Type
|
962
|
+
attr_accessor :bidModifier
|
963
|
+
attr_accessor :age
|
1179
964
|
|
1180
|
-
def initialize(
|
1181
|
-
@
|
1182
|
-
@
|
1183
|
-
@
|
1184
|
-
@preRollPercent = preRollPercent
|
1185
|
-
@midRollPercent = midRollPercent
|
1186
|
-
@postRollPercent = postRollPercent
|
965
|
+
def initialize(target_Type = nil, bidModifier = nil, age = nil)
|
966
|
+
@target_Type = target_Type
|
967
|
+
@bidModifier = bidModifier
|
968
|
+
@age = age
|
1187
969
|
end
|
1188
970
|
end
|
1189
971
|
|
1190
|
-
#
|
1191
|
-
# -
|
1192
|
-
# -
|
1193
|
-
# -
|
1194
|
-
class
|
1195
|
-
attr_accessor :
|
1196
|
-
attr_accessor :
|
1197
|
-
attr_accessor :
|
972
|
+
# GenderTarget
|
973
|
+
# - target_Type - SOAP::SOAPString
|
974
|
+
# - bidModifier - SOAP::SOAPInt
|
975
|
+
# - gender - AdwordsApi::V200909::TargetingIdeaService::GenderTargetGender
|
976
|
+
class GenderTarget < DemographicTarget
|
977
|
+
attr_accessor :target_Type
|
978
|
+
attr_accessor :bidModifier
|
979
|
+
attr_accessor :gender
|
1198
980
|
|
1199
|
-
def initialize(
|
1200
|
-
@
|
1201
|
-
@
|
1202
|
-
@
|
981
|
+
def initialize(target_Type = nil, bidModifier = nil, gender = nil)
|
982
|
+
@target_Type = target_Type
|
983
|
+
@bidModifier = bidModifier
|
984
|
+
@gender = gender
|
1203
985
|
end
|
1204
986
|
end
|
1205
987
|
|
1206
|
-
#
|
1207
|
-
#
|
1208
|
-
# -
|
1209
|
-
# -
|
1210
|
-
class
|
1211
|
-
attr_accessor :
|
1212
|
-
attr_accessor :
|
1213
|
-
attr_accessor :count
|
988
|
+
# GeoTarget
|
989
|
+
# abstract
|
990
|
+
# - target_Type - SOAP::SOAPString
|
991
|
+
# - excluded - SOAP::SOAPBoolean
|
992
|
+
class GeoTarget < Target
|
993
|
+
attr_accessor :target_Type
|
994
|
+
attr_accessor :excluded
|
1214
995
|
|
1215
|
-
def initialize(
|
1216
|
-
@
|
1217
|
-
@
|
1218
|
-
@count = count
|
996
|
+
def initialize(target_Type = nil, excluded = nil)
|
997
|
+
@target_Type = target_Type
|
998
|
+
@excluded = excluded
|
1219
999
|
end
|
1220
1000
|
end
|
1221
1001
|
|
1222
|
-
#
|
1223
|
-
# -
|
1224
|
-
# -
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1002
|
+
# CityTarget
|
1003
|
+
# - target_Type - SOAP::SOAPString
|
1004
|
+
# - excluded - SOAP::SOAPBoolean
|
1005
|
+
# - cityName - SOAP::SOAPString
|
1006
|
+
# - provinceCode - SOAP::SOAPString
|
1007
|
+
# - countryCode - SOAP::SOAPString
|
1008
|
+
class CityTarget < GeoTarget
|
1009
|
+
attr_accessor :target_Type
|
1010
|
+
attr_accessor :excluded
|
1011
|
+
attr_accessor :cityName
|
1012
|
+
attr_accessor :provinceCode
|
1013
|
+
attr_accessor :countryCode
|
1228
1014
|
|
1229
|
-
def initialize(
|
1230
|
-
@
|
1231
|
-
@
|
1015
|
+
def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
|
1016
|
+
@target_Type = target_Type
|
1017
|
+
@excluded = excluded
|
1018
|
+
@cityName = cityName
|
1019
|
+
@provinceCode = provinceCode
|
1020
|
+
@countryCode = countryCode
|
1232
1021
|
end
|
1233
1022
|
end
|
1234
1023
|
|
1235
|
-
#
|
1236
|
-
# -
|
1237
|
-
# -
|
1238
|
-
|
1239
|
-
|
1240
|
-
attr_accessor :
|
1024
|
+
# CountryTarget
|
1025
|
+
# - target_Type - SOAP::SOAPString
|
1026
|
+
# - excluded - SOAP::SOAPBoolean
|
1027
|
+
# - countryCode - SOAP::SOAPString
|
1028
|
+
class CountryTarget < GeoTarget
|
1029
|
+
attr_accessor :target_Type
|
1030
|
+
attr_accessor :excluded
|
1031
|
+
attr_accessor :countryCode
|
1241
1032
|
|
1242
|
-
def initialize(
|
1243
|
-
@
|
1244
|
-
@
|
1033
|
+
def initialize(target_Type = nil, excluded = nil, countryCode = nil)
|
1034
|
+
@target_Type = target_Type
|
1035
|
+
@excluded = excluded
|
1036
|
+
@countryCode = countryCode
|
1245
1037
|
end
|
1246
1038
|
end
|
1247
1039
|
|
1248
|
-
#
|
1249
|
-
#
|
1250
|
-
# -
|
1251
|
-
|
1252
|
-
|
1040
|
+
# MetroTarget
|
1041
|
+
# - target_Type - SOAP::SOAPString
|
1042
|
+
# - excluded - SOAP::SOAPBoolean
|
1043
|
+
# - metroCode - SOAP::SOAPString
|
1044
|
+
class MetroTarget < GeoTarget
|
1045
|
+
attr_accessor :target_Type
|
1046
|
+
attr_accessor :excluded
|
1047
|
+
attr_accessor :metroCode
|
1253
1048
|
|
1254
|
-
def initialize(
|
1255
|
-
@
|
1049
|
+
def initialize(target_Type = nil, excluded = nil, metroCode = nil)
|
1050
|
+
@target_Type = target_Type
|
1051
|
+
@excluded = excluded
|
1052
|
+
@metroCode = metroCode
|
1256
1053
|
end
|
1257
1054
|
end
|
1258
1055
|
|
1259
|
-
#
|
1260
|
-
# -
|
1261
|
-
# -
|
1262
|
-
|
1263
|
-
|
1264
|
-
attr_accessor :
|
1056
|
+
# PolygonTarget
|
1057
|
+
# - target_Type - SOAP::SOAPString
|
1058
|
+
# - excluded - SOAP::SOAPBoolean
|
1059
|
+
# - vertices - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
|
1060
|
+
class PolygonTarget < GeoTarget
|
1061
|
+
attr_accessor :target_Type
|
1062
|
+
attr_accessor :excluded
|
1063
|
+
attr_accessor :vertices
|
1064
|
+
|
1065
|
+
def initialize(target_Type = nil, excluded = nil, vertices = [])
|
1066
|
+
@target_Type = target_Type
|
1067
|
+
@excluded = excluded
|
1068
|
+
@vertices = vertices
|
1069
|
+
end
|
1070
|
+
end
|
1265
1071
|
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1072
|
+
# ProvinceTarget
|
1073
|
+
# - target_Type - SOAP::SOAPString
|
1074
|
+
# - excluded - SOAP::SOAPBoolean
|
1075
|
+
# - provinceCode - SOAP::SOAPString
|
1076
|
+
class ProvinceTarget < GeoTarget
|
1077
|
+
attr_accessor :target_Type
|
1078
|
+
attr_accessor :excluded
|
1079
|
+
attr_accessor :provinceCode
|
1080
|
+
|
1081
|
+
def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
|
1082
|
+
@target_Type = target_Type
|
1083
|
+
@excluded = excluded
|
1084
|
+
@provinceCode = provinceCode
|
1269
1085
|
end
|
1270
1086
|
end
|
1271
1087
|
|
1272
|
-
#
|
1273
|
-
# -
|
1274
|
-
# -
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1088
|
+
# ProximityTarget
|
1089
|
+
# - target_Type - SOAP::SOAPString
|
1090
|
+
# - excluded - SOAP::SOAPBoolean
|
1091
|
+
# - geoPoint - AdwordsApi::V200909::TargetingIdeaService::GeoPoint
|
1092
|
+
# - radiusDistanceUnits - AdwordsApi::V200909::TargetingIdeaService::ProximityTargetDistanceUnits
|
1093
|
+
# - radiusInUnits - SOAP::SOAPDouble
|
1094
|
+
# - address - AdwordsApi::V200909::TargetingIdeaService::Address
|
1095
|
+
# - allowServiceOfAddress - SOAP::SOAPBoolean
|
1096
|
+
class ProximityTarget < GeoTarget
|
1097
|
+
attr_accessor :target_Type
|
1098
|
+
attr_accessor :excluded
|
1099
|
+
attr_accessor :geoPoint
|
1100
|
+
attr_accessor :radiusDistanceUnits
|
1101
|
+
attr_accessor :radiusInUnits
|
1102
|
+
attr_accessor :address
|
1103
|
+
attr_accessor :allowServiceOfAddress
|
1278
1104
|
|
1279
|
-
def initialize(
|
1280
|
-
@
|
1281
|
-
@
|
1105
|
+
def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
|
1106
|
+
@target_Type = target_Type
|
1107
|
+
@excluded = excluded
|
1108
|
+
@geoPoint = geoPoint
|
1109
|
+
@radiusDistanceUnits = radiusDistanceUnits
|
1110
|
+
@radiusInUnits = radiusInUnits
|
1111
|
+
@address = address
|
1112
|
+
@allowServiceOfAddress = allowServiceOfAddress
|
1282
1113
|
end
|
1283
1114
|
end
|
1284
1115
|
|
1285
|
-
#
|
1286
|
-
# -
|
1287
|
-
|
1288
|
-
|
1116
|
+
# LanguageTarget
|
1117
|
+
# - target_Type - SOAP::SOAPString
|
1118
|
+
# - languageCode - SOAP::SOAPString
|
1119
|
+
class LanguageTarget < Target
|
1120
|
+
attr_accessor :target_Type
|
1121
|
+
attr_accessor :languageCode
|
1289
1122
|
|
1290
|
-
def initialize(
|
1291
|
-
@
|
1123
|
+
def initialize(target_Type = nil, languageCode = nil)
|
1124
|
+
@target_Type = target_Type
|
1125
|
+
@languageCode = languageCode
|
1292
1126
|
end
|
1293
1127
|
end
|
1294
1128
|
|
1295
|
-
#
|
1296
|
-
# -
|
1297
|
-
# -
|
1298
|
-
class
|
1299
|
-
attr_accessor :
|
1300
|
-
attr_accessor :
|
1129
|
+
# NetworkTarget
|
1130
|
+
# - target_Type - SOAP::SOAPString
|
1131
|
+
# - networkCoverageType - AdwordsApi::V200909::TargetingIdeaService::NetworkCoverageType
|
1132
|
+
class NetworkTarget < Target
|
1133
|
+
attr_accessor :target_Type
|
1134
|
+
attr_accessor :networkCoverageType
|
1301
1135
|
|
1302
|
-
def initialize(
|
1303
|
-
@
|
1304
|
-
@
|
1136
|
+
def initialize(target_Type = nil, networkCoverageType = nil)
|
1137
|
+
@target_Type = target_Type
|
1138
|
+
@networkCoverageType = networkCoverageType
|
1305
1139
|
end
|
1306
1140
|
end
|
1307
1141
|
|
1308
|
-
#
|
1309
|
-
# -
|
1310
|
-
# -
|
1311
|
-
class
|
1312
|
-
attr_accessor :
|
1313
|
-
attr_accessor :
|
1142
|
+
# PlatformTarget
|
1143
|
+
# - target_Type - SOAP::SOAPString
|
1144
|
+
# - platformType - AdwordsApi::V200909::TargetingIdeaService::PlatformType
|
1145
|
+
class PlatformTarget < Target
|
1146
|
+
attr_accessor :target_Type
|
1147
|
+
attr_accessor :platformType
|
1314
1148
|
|
1315
|
-
def initialize(
|
1316
|
-
@
|
1317
|
-
@
|
1149
|
+
def initialize(target_Type = nil, platformType = nil)
|
1150
|
+
@target_Type = target_Type
|
1151
|
+
@platformType = platformType
|
1318
1152
|
end
|
1319
1153
|
end
|
1320
1154
|
|
1321
|
-
#
|
1322
|
-
# -
|
1323
|
-
class
|
1324
|
-
attr_accessor :
|
1155
|
+
# AdFormatSpec
|
1156
|
+
# - format - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsAdFormat
|
1157
|
+
class AdFormatSpec
|
1158
|
+
attr_accessor :format
|
1325
1159
|
|
1326
|
-
def initialize(
|
1327
|
-
@
|
1160
|
+
def initialize(format = nil)
|
1161
|
+
@format = format
|
1328
1162
|
end
|
1329
1163
|
end
|
1330
1164
|
|
1331
|
-
#
|
1332
|
-
#
|
1333
|
-
# -
|
1334
|
-
class
|
1335
|
-
attr_accessor :
|
1336
|
-
attr_accessor :ngramGroups
|
1165
|
+
# Attribute
|
1166
|
+
# abstract
|
1167
|
+
# - attribute_Type - SOAP::SOAPString
|
1168
|
+
class Attribute
|
1169
|
+
attr_accessor :attribute_Type
|
1337
1170
|
|
1338
|
-
def initialize(
|
1339
|
-
@
|
1340
|
-
@ngramGroups = ngramGroups
|
1171
|
+
def initialize(attribute_Type = nil)
|
1172
|
+
@attribute_Type = attribute_Type
|
1341
1173
|
end
|
1342
1174
|
end
|
1343
1175
|
|
1344
|
-
#
|
1345
|
-
# -
|
1346
|
-
# -
|
1347
|
-
class
|
1348
|
-
attr_accessor :
|
1349
|
-
attr_accessor :
|
1176
|
+
# AdFormatSpecListAttribute
|
1177
|
+
# - attribute_Type - SOAP::SOAPString
|
1178
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::AdFormatSpec
|
1179
|
+
class AdFormatSpecListAttribute < Attribute
|
1180
|
+
attr_accessor :attribute_Type
|
1181
|
+
attr_accessor :value
|
1350
1182
|
|
1351
|
-
def initialize(
|
1352
|
-
@
|
1353
|
-
@
|
1183
|
+
def initialize(attribute_Type = nil, value = [])
|
1184
|
+
@attribute_Type = attribute_Type
|
1185
|
+
@value = value
|
1354
1186
|
end
|
1355
1187
|
end
|
1356
1188
|
|
1357
|
-
#
|
1358
|
-
# -
|
1359
|
-
# -
|
1360
|
-
|
1361
|
-
|
1362
|
-
attr_accessor :
|
1363
|
-
attr_accessor :urls
|
1364
|
-
attr_accessor :includeSubUrls
|
1189
|
+
# BooleanAttribute
|
1190
|
+
# - attribute_Type - SOAP::SOAPString
|
1191
|
+
# - value - SOAP::SOAPBoolean
|
1192
|
+
class BooleanAttribute < Attribute
|
1193
|
+
attr_accessor :attribute_Type
|
1194
|
+
attr_accessor :value
|
1365
1195
|
|
1366
|
-
def initialize(
|
1367
|
-
@
|
1368
|
-
@
|
1369
|
-
@includeSubUrls = includeSubUrls
|
1196
|
+
def initialize(attribute_Type = nil, value = nil)
|
1197
|
+
@attribute_Type = attribute_Type
|
1198
|
+
@value = value
|
1370
1199
|
end
|
1371
1200
|
end
|
1372
1201
|
|
1373
|
-
#
|
1374
|
-
# -
|
1375
|
-
# -
|
1376
|
-
class
|
1377
|
-
attr_accessor :
|
1378
|
-
attr_accessor :
|
1202
|
+
# DoubleAttribute
|
1203
|
+
# - attribute_Type - SOAP::SOAPString
|
1204
|
+
# - value - SOAP::SOAPDouble
|
1205
|
+
class DoubleAttribute < Attribute
|
1206
|
+
attr_accessor :attribute_Type
|
1207
|
+
attr_accessor :value
|
1379
1208
|
|
1380
|
-
def initialize(
|
1381
|
-
@
|
1382
|
-
@
|
1209
|
+
def initialize(attribute_Type = nil, value = nil)
|
1210
|
+
@attribute_Type = attribute_Type
|
1211
|
+
@value = value
|
1383
1212
|
end
|
1384
1213
|
end
|
1385
1214
|
|
1386
|
-
#
|
1387
|
-
# -
|
1388
|
-
# -
|
1389
|
-
class
|
1390
|
-
attr_accessor :
|
1391
|
-
attr_accessor :
|
1215
|
+
# IdeaTypeAttribute
|
1216
|
+
# - attribute_Type - SOAP::SOAPString
|
1217
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::IdeaType
|
1218
|
+
class IdeaTypeAttribute < Attribute
|
1219
|
+
attr_accessor :attribute_Type
|
1220
|
+
attr_accessor :value
|
1392
1221
|
|
1393
|
-
def initialize(
|
1394
|
-
@
|
1395
|
-
@
|
1222
|
+
def initialize(attribute_Type = nil, value = nil)
|
1223
|
+
@attribute_Type = attribute_Type
|
1224
|
+
@value = value
|
1396
1225
|
end
|
1397
1226
|
end
|
1398
1227
|
|
1399
|
-
#
|
1400
|
-
# -
|
1401
|
-
# -
|
1402
|
-
class
|
1403
|
-
attr_accessor :
|
1404
|
-
attr_accessor :
|
1228
|
+
# InStreamAdInfoAttribute
|
1229
|
+
# - attribute_Type - SOAP::SOAPString
|
1230
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::InStreamAdInfo
|
1231
|
+
class InStreamAdInfoAttribute < Attribute
|
1232
|
+
attr_accessor :attribute_Type
|
1233
|
+
attr_accessor :value
|
1405
1234
|
|
1406
|
-
def initialize(
|
1407
|
-
@
|
1408
|
-
@
|
1235
|
+
def initialize(attribute_Type = nil, value = nil)
|
1236
|
+
@attribute_Type = attribute_Type
|
1237
|
+
@value = value
|
1409
1238
|
end
|
1410
1239
|
end
|
1411
1240
|
|
1412
|
-
#
|
1413
|
-
# -
|
1414
|
-
# -
|
1415
|
-
class
|
1416
|
-
attr_accessor :
|
1417
|
-
attr_accessor :
|
1241
|
+
# IntegerAttribute
|
1242
|
+
# - attribute_Type - SOAP::SOAPString
|
1243
|
+
# - value - SOAP::SOAPInt
|
1244
|
+
class IntegerAttribute < Attribute
|
1245
|
+
attr_accessor :attribute_Type
|
1246
|
+
attr_accessor :value
|
1418
1247
|
|
1419
|
-
def initialize(
|
1420
|
-
@
|
1421
|
-
@
|
1248
|
+
def initialize(attribute_Type = nil, value = nil)
|
1249
|
+
@attribute_Type = attribute_Type
|
1250
|
+
@value = value
|
1422
1251
|
end
|
1423
1252
|
end
|
1424
1253
|
|
1425
|
-
#
|
1426
|
-
# -
|
1427
|
-
# -
|
1428
|
-
class
|
1429
|
-
attr_accessor :
|
1430
|
-
attr_accessor :
|
1254
|
+
# IntegerSetAttribute
|
1255
|
+
# - attribute_Type - SOAP::SOAPString
|
1256
|
+
# - value - SOAP::SOAPInt
|
1257
|
+
class IntegerSetAttribute < Attribute
|
1258
|
+
attr_accessor :attribute_Type
|
1259
|
+
attr_accessor :value
|
1431
1260
|
|
1432
|
-
def initialize(
|
1433
|
-
@
|
1434
|
-
@
|
1261
|
+
def initialize(attribute_Type = nil, value = [])
|
1262
|
+
@attribute_Type = attribute_Type
|
1263
|
+
@value = value
|
1435
1264
|
end
|
1436
1265
|
end
|
1437
1266
|
|
1438
|
-
#
|
1439
|
-
# -
|
1440
|
-
# -
|
1441
|
-
class
|
1442
|
-
attr_accessor :
|
1443
|
-
attr_accessor :
|
1267
|
+
# KeywordAttribute
|
1268
|
+
# - attribute_Type - SOAP::SOAPString
|
1269
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::Keyword
|
1270
|
+
class KeywordAttribute < Attribute
|
1271
|
+
attr_accessor :attribute_Type
|
1272
|
+
attr_accessor :value
|
1444
1273
|
|
1445
|
-
def initialize(
|
1446
|
-
@
|
1447
|
-
@
|
1274
|
+
def initialize(attribute_Type = nil, value = nil)
|
1275
|
+
@attribute_Type = attribute_Type
|
1276
|
+
@value = value
|
1448
1277
|
end
|
1449
1278
|
end
|
1450
1279
|
|
1451
|
-
#
|
1452
|
-
# -
|
1453
|
-
# -
|
1454
|
-
class
|
1455
|
-
attr_accessor :
|
1456
|
-
attr_accessor :
|
1280
|
+
# LongAttribute
|
1281
|
+
# - attribute_Type - SOAP::SOAPString
|
1282
|
+
# - value - SOAP::SOAPLong
|
1283
|
+
class LongAttribute < Attribute
|
1284
|
+
attr_accessor :attribute_Type
|
1285
|
+
attr_accessor :value
|
1457
1286
|
|
1458
|
-
def initialize(
|
1459
|
-
@
|
1460
|
-
@
|
1287
|
+
def initialize(attribute_Type = nil, value = nil)
|
1288
|
+
@attribute_Type = attribute_Type
|
1289
|
+
@value = value
|
1461
1290
|
end
|
1462
1291
|
end
|
1463
1292
|
|
1464
|
-
#
|
1465
|
-
# -
|
1466
|
-
# -
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
# - localeCode - SOAP::SOAPString
|
1471
|
-
# - currencyCode - SOAP::SOAPString
|
1472
|
-
class TargetingIdeaSelector
|
1473
|
-
attr_accessor :searchParameters
|
1474
|
-
attr_accessor :ideaType
|
1475
|
-
attr_accessor :requestType
|
1476
|
-
attr_accessor :requestedAttributeTypes
|
1477
|
-
attr_accessor :paging
|
1478
|
-
attr_accessor :localeCode
|
1479
|
-
attr_accessor :currencyCode
|
1293
|
+
# LongRangeAttribute
|
1294
|
+
# - attribute_Type - SOAP::SOAPString
|
1295
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::C_Range
|
1296
|
+
class LongRangeAttribute < Attribute
|
1297
|
+
attr_accessor :attribute_Type
|
1298
|
+
attr_accessor :value
|
1480
1299
|
|
1481
|
-
def initialize(
|
1482
|
-
@
|
1483
|
-
@
|
1484
|
-
@requestType = requestType
|
1485
|
-
@requestedAttributeTypes = requestedAttributeTypes
|
1486
|
-
@paging = paging
|
1487
|
-
@localeCode = localeCode
|
1488
|
-
@currencyCode = currencyCode
|
1300
|
+
def initialize(attribute_Type = nil, value = nil)
|
1301
|
+
@attribute_Type = attribute_Type
|
1302
|
+
@value = value
|
1489
1303
|
end
|
1490
1304
|
end
|
1491
1305
|
|
1492
|
-
#
|
1493
|
-
# abstract
|
1306
|
+
# MoneyAttribute
|
1494
1307
|
# - attribute_Type - SOAP::SOAPString
|
1495
|
-
|
1308
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::Money
|
1309
|
+
class MoneyAttribute < Attribute
|
1496
1310
|
attr_accessor :attribute_Type
|
1311
|
+
attr_accessor :value
|
1497
1312
|
|
1498
|
-
def initialize(attribute_Type = nil)
|
1313
|
+
def initialize(attribute_Type = nil, value = nil)
|
1499
1314
|
@attribute_Type = attribute_Type
|
1315
|
+
@value = value
|
1500
1316
|
end
|
1501
1317
|
end
|
1502
1318
|
|
1503
|
-
#
|
1319
|
+
# MonthlySearchVolumeAttribute
|
1504
1320
|
# - attribute_Type - SOAP::SOAPString
|
1505
|
-
# - value - AdwordsApi::V200909::TargetingIdeaService::
|
1506
|
-
class
|
1321
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::MonthlySearchVolume
|
1322
|
+
class MonthlySearchVolumeAttribute < Attribute
|
1507
1323
|
attr_accessor :attribute_Type
|
1508
1324
|
attr_accessor :value
|
1509
1325
|
|
@@ -1513,10 +1329,10 @@ class AdFormatSpecListAttribute < Attribute
|
|
1513
1329
|
end
|
1514
1330
|
end
|
1515
1331
|
|
1516
|
-
#
|
1332
|
+
# PlacementAttribute
|
1517
1333
|
# - attribute_Type - SOAP::SOAPString
|
1518
|
-
# - value -
|
1519
|
-
class
|
1334
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::Placement
|
1335
|
+
class PlacementAttribute < Attribute
|
1520
1336
|
attr_accessor :attribute_Type
|
1521
1337
|
attr_accessor :value
|
1522
1338
|
|
@@ -1526,10 +1342,10 @@ class BooleanAttribute < Attribute
|
|
1526
1342
|
end
|
1527
1343
|
end
|
1528
1344
|
|
1529
|
-
#
|
1345
|
+
# PlacementTypeAttribute
|
1530
1346
|
# - attribute_Type - SOAP::SOAPString
|
1531
|
-
# - value -
|
1532
|
-
class
|
1347
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsPlacementType
|
1348
|
+
class PlacementTypeAttribute < Attribute
|
1533
1349
|
attr_accessor :attribute_Type
|
1534
1350
|
attr_accessor :value
|
1535
1351
|
|
@@ -1539,10 +1355,10 @@ class DoubleAttribute < Attribute
|
|
1539
1355
|
end
|
1540
1356
|
end
|
1541
1357
|
|
1542
|
-
#
|
1358
|
+
# StringAttribute
|
1543
1359
|
# - attribute_Type - SOAP::SOAPString
|
1544
|
-
# - value -
|
1545
|
-
class
|
1360
|
+
# - value - SOAP::SOAPString
|
1361
|
+
class StringAttribute < Attribute
|
1546
1362
|
attr_accessor :attribute_Type
|
1547
1363
|
attr_accessor :value
|
1548
1364
|
|
@@ -1552,10 +1368,10 @@ class IdeaTypeAttribute < Attribute
|
|
1552
1368
|
end
|
1553
1369
|
end
|
1554
1370
|
|
1555
|
-
#
|
1371
|
+
# WebpageDescriptorAttribute
|
1556
1372
|
# - attribute_Type - SOAP::SOAPString
|
1557
|
-
# - value - AdwordsApi::V200909::TargetingIdeaService::
|
1558
|
-
class
|
1373
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::WebpageDescriptor
|
1374
|
+
class WebpageDescriptorAttribute < Attribute
|
1559
1375
|
attr_accessor :attribute_Type
|
1560
1376
|
attr_accessor :value
|
1561
1377
|
|
@@ -1565,159 +1381,289 @@ class InStreamAdInfoAttribute < Attribute
|
|
1565
1381
|
end
|
1566
1382
|
end
|
1567
1383
|
|
1568
|
-
#
|
1569
|
-
# -
|
1570
|
-
# -
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1384
|
+
# InStreamAdInfo
|
1385
|
+
# - maxAdDuration - SOAP::SOAPInt
|
1386
|
+
# - minAdDuration - SOAP::SOAPInt
|
1387
|
+
# - medianAdDuration - SOAP::SOAPInt
|
1388
|
+
# - preRollPercent - SOAP::SOAPDouble
|
1389
|
+
# - midRollPercent - SOAP::SOAPDouble
|
1390
|
+
# - postRollPercent - SOAP::SOAPDouble
|
1391
|
+
class InStreamAdInfo
|
1392
|
+
attr_accessor :maxAdDuration
|
1393
|
+
attr_accessor :minAdDuration
|
1394
|
+
attr_accessor :medianAdDuration
|
1395
|
+
attr_accessor :preRollPercent
|
1396
|
+
attr_accessor :midRollPercent
|
1397
|
+
attr_accessor :postRollPercent
|
1398
|
+
|
1399
|
+
def initialize(maxAdDuration = nil, minAdDuration = nil, medianAdDuration = nil, preRollPercent = nil, midRollPercent = nil, postRollPercent = nil)
|
1400
|
+
@maxAdDuration = maxAdDuration
|
1401
|
+
@minAdDuration = minAdDuration
|
1402
|
+
@medianAdDuration = medianAdDuration
|
1403
|
+
@preRollPercent = preRollPercent
|
1404
|
+
@midRollPercent = midRollPercent
|
1405
|
+
@postRollPercent = postRollPercent
|
1406
|
+
end
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
# LongComparisonOperation
|
1410
|
+
# - minimum - SOAP::SOAPLong
|
1411
|
+
# - maximum - SOAP::SOAPLong
|
1412
|
+
# - excludes - SOAP::SOAPLong
|
1413
|
+
class LongComparisonOperation
|
1414
|
+
attr_accessor :minimum
|
1415
|
+
attr_accessor :maximum
|
1416
|
+
attr_accessor :excludes
|
1417
|
+
|
1418
|
+
def initialize(minimum = nil, maximum = nil, excludes = [])
|
1419
|
+
@minimum = minimum
|
1420
|
+
@maximum = maximum
|
1421
|
+
@excludes = excludes
|
1422
|
+
end
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
# MonthlySearchVolume
|
1426
|
+
# - year - SOAP::SOAPInt
|
1427
|
+
# - month - SOAP::SOAPInt
|
1428
|
+
# - count - SOAP::SOAPLong
|
1429
|
+
class MonthlySearchVolume
|
1430
|
+
attr_accessor :year
|
1431
|
+
attr_accessor :month
|
1432
|
+
attr_accessor :count
|
1433
|
+
|
1434
|
+
def initialize(year = nil, month = nil, count = nil)
|
1435
|
+
@year = year
|
1436
|
+
@month = month
|
1437
|
+
@count = count
|
1438
|
+
end
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
# Range
|
1442
|
+
# - min - AdwordsApi::V200909::TargetingIdeaService::ComparableValue
|
1443
|
+
# - max - AdwordsApi::V200909::TargetingIdeaService::ComparableValue
|
1444
|
+
class C_Range
|
1445
|
+
attr_accessor :min
|
1446
|
+
attr_accessor :max
|
1447
|
+
|
1448
|
+
def initialize(min = nil, max = nil)
|
1449
|
+
@min = min
|
1450
|
+
@max = max
|
1451
|
+
end
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
# SearchParameter
|
1455
|
+
# abstract
|
1456
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1457
|
+
class SearchParameter
|
1458
|
+
attr_accessor :searchParameter_Type
|
1459
|
+
|
1460
|
+
def initialize(searchParameter_Type = nil)
|
1461
|
+
@searchParameter_Type = searchParameter_Type
|
1462
|
+
end
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
# AdTypeSearchParameter
|
1466
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1467
|
+
# - adTypes - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsAdType
|
1468
|
+
class AdTypeSearchParameter < SearchParameter
|
1469
|
+
attr_accessor :searchParameter_Type
|
1470
|
+
attr_accessor :adTypes
|
1471
|
+
|
1472
|
+
def initialize(searchParameter_Type = nil, adTypes = [])
|
1473
|
+
@searchParameter_Type = searchParameter_Type
|
1474
|
+
@adTypes = adTypes
|
1475
|
+
end
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
# AverageTargetedMonthlySearchesSearchParameter
|
1479
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1480
|
+
# - operation - AdwordsApi::V200909::TargetingIdeaService::LongComparisonOperation
|
1481
|
+
class AverageTargetedMonthlySearchesSearchParameter < SearchParameter
|
1482
|
+
attr_accessor :searchParameter_Type
|
1483
|
+
attr_accessor :operation
|
1484
|
+
|
1485
|
+
def initialize(searchParameter_Type = nil, operation = nil)
|
1486
|
+
@searchParameter_Type = searchParameter_Type
|
1487
|
+
@operation = operation
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
# CompetitionSearchParameter
|
1492
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1493
|
+
# - levels - AdwordsApi::V200909::TargetingIdeaService::CompetitionSearchParameterLevel
|
1494
|
+
class CompetitionSearchParameter < SearchParameter
|
1495
|
+
attr_accessor :searchParameter_Type
|
1496
|
+
attr_accessor :levels
|
1497
|
+
|
1498
|
+
def initialize(searchParameter_Type = nil, levels = [])
|
1499
|
+
@searchParameter_Type = searchParameter_Type
|
1500
|
+
@levels = levels
|
1501
|
+
end
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
# CountryTargetSearchParameter
|
1505
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1506
|
+
# - countryTargets - AdwordsApi::V200909::TargetingIdeaService::CountryTarget
|
1507
|
+
class CountryTargetSearchParameter < SearchParameter
|
1508
|
+
attr_accessor :searchParameter_Type
|
1509
|
+
attr_accessor :countryTargets
|
1510
|
+
|
1511
|
+
def initialize(searchParameter_Type = nil, countryTargets = [])
|
1512
|
+
@searchParameter_Type = searchParameter_Type
|
1513
|
+
@countryTargets = countryTargets
|
1514
|
+
end
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
# ExcludedKeywordSearchParameter
|
1518
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1519
|
+
# - keywords - AdwordsApi::V200909::TargetingIdeaService::Keyword
|
1520
|
+
class ExcludedKeywordSearchParameter < SearchParameter
|
1521
|
+
attr_accessor :searchParameter_Type
|
1522
|
+
attr_accessor :keywords
|
1574
1523
|
|
1575
|
-
def initialize(
|
1576
|
-
@
|
1577
|
-
@
|
1524
|
+
def initialize(searchParameter_Type = nil, keywords = [])
|
1525
|
+
@searchParameter_Type = searchParameter_Type
|
1526
|
+
@keywords = keywords
|
1578
1527
|
end
|
1579
1528
|
end
|
1580
1529
|
|
1581
|
-
#
|
1582
|
-
# -
|
1583
|
-
# -
|
1584
|
-
class
|
1585
|
-
attr_accessor :
|
1586
|
-
attr_accessor :
|
1530
|
+
# GlobalMonthlySearchesSearchParameter
|
1531
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1532
|
+
# - operation - AdwordsApi::V200909::TargetingIdeaService::LongComparisonOperation
|
1533
|
+
class GlobalMonthlySearchesSearchParameter < SearchParameter
|
1534
|
+
attr_accessor :searchParameter_Type
|
1535
|
+
attr_accessor :operation
|
1587
1536
|
|
1588
|
-
def initialize(
|
1589
|
-
@
|
1590
|
-
@
|
1537
|
+
def initialize(searchParameter_Type = nil, operation = nil)
|
1538
|
+
@searchParameter_Type = searchParameter_Type
|
1539
|
+
@operation = operation
|
1591
1540
|
end
|
1592
1541
|
end
|
1593
1542
|
|
1594
|
-
#
|
1595
|
-
# -
|
1596
|
-
|
1597
|
-
|
1598
|
-
attr_accessor :attribute_Type
|
1599
|
-
attr_accessor :value
|
1543
|
+
# IncludeAdultContentSearchParameter
|
1544
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1545
|
+
class IncludeAdultContentSearchParameter < SearchParameter
|
1546
|
+
attr_accessor :searchParameter_Type
|
1600
1547
|
|
1601
|
-
def initialize(
|
1602
|
-
@
|
1603
|
-
@value = value
|
1548
|
+
def initialize(searchParameter_Type = nil)
|
1549
|
+
@searchParameter_Type = searchParameter_Type
|
1604
1550
|
end
|
1605
1551
|
end
|
1606
1552
|
|
1607
|
-
#
|
1608
|
-
# -
|
1609
|
-
# -
|
1610
|
-
class
|
1611
|
-
attr_accessor :
|
1612
|
-
attr_accessor :
|
1553
|
+
# KeywordCategoryIdSearchParameter
|
1554
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1555
|
+
# - categoryId - SOAP::SOAPInt
|
1556
|
+
class KeywordCategoryIdSearchParameter < SearchParameter
|
1557
|
+
attr_accessor :searchParameter_Type
|
1558
|
+
attr_accessor :categoryId
|
1613
1559
|
|
1614
|
-
def initialize(
|
1615
|
-
@
|
1616
|
-
@
|
1560
|
+
def initialize(searchParameter_Type = nil, categoryId = nil)
|
1561
|
+
@searchParameter_Type = searchParameter_Type
|
1562
|
+
@categoryId = categoryId
|
1617
1563
|
end
|
1618
1564
|
end
|
1619
1565
|
|
1620
|
-
#
|
1621
|
-
# -
|
1622
|
-
# -
|
1623
|
-
class
|
1624
|
-
attr_accessor :
|
1625
|
-
attr_accessor :
|
1566
|
+
# KeywordMatchTypeSearchParameter
|
1567
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1568
|
+
# - keywordMatchTypes - AdwordsApi::V200909::TargetingIdeaService::KeywordMatchType
|
1569
|
+
class KeywordMatchTypeSearchParameter < SearchParameter
|
1570
|
+
attr_accessor :searchParameter_Type
|
1571
|
+
attr_accessor :keywordMatchTypes
|
1626
1572
|
|
1627
|
-
def initialize(
|
1628
|
-
@
|
1629
|
-
@
|
1573
|
+
def initialize(searchParameter_Type = nil, keywordMatchTypes = [])
|
1574
|
+
@searchParameter_Type = searchParameter_Type
|
1575
|
+
@keywordMatchTypes = keywordMatchTypes
|
1630
1576
|
end
|
1631
1577
|
end
|
1632
1578
|
|
1633
|
-
#
|
1634
|
-
# -
|
1635
|
-
# -
|
1636
|
-
class
|
1637
|
-
attr_accessor :
|
1638
|
-
attr_accessor :
|
1579
|
+
# LanguageTargetSearchParameter
|
1580
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1581
|
+
# - languageTargets - AdwordsApi::V200909::TargetingIdeaService::LanguageTarget
|
1582
|
+
class LanguageTargetSearchParameter < SearchParameter
|
1583
|
+
attr_accessor :searchParameter_Type
|
1584
|
+
attr_accessor :languageTargets
|
1639
1585
|
|
1640
|
-
def initialize(
|
1641
|
-
@
|
1642
|
-
@
|
1586
|
+
def initialize(searchParameter_Type = nil, languageTargets = [])
|
1587
|
+
@searchParameter_Type = searchParameter_Type
|
1588
|
+
@languageTargets = languageTargets
|
1643
1589
|
end
|
1644
1590
|
end
|
1645
1591
|
|
1646
|
-
#
|
1647
|
-
# -
|
1648
|
-
|
1649
|
-
|
1650
|
-
attr_accessor :attribute_Type
|
1651
|
-
attr_accessor :value
|
1592
|
+
# MobileSearchParameter
|
1593
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1594
|
+
class MobileSearchParameter < SearchParameter
|
1595
|
+
attr_accessor :searchParameter_Type
|
1652
1596
|
|
1653
|
-
def initialize(
|
1654
|
-
@
|
1655
|
-
@value = value
|
1597
|
+
def initialize(searchParameter_Type = nil)
|
1598
|
+
@searchParameter_Type = searchParameter_Type
|
1656
1599
|
end
|
1657
1600
|
end
|
1658
1601
|
|
1659
|
-
#
|
1660
|
-
# -
|
1661
|
-
# -
|
1662
|
-
class
|
1663
|
-
attr_accessor :
|
1664
|
-
attr_accessor :
|
1602
|
+
# NgramGroupsSearchParameter
|
1603
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1604
|
+
# - ngramGroups - SOAP::SOAPString
|
1605
|
+
class NgramGroupsSearchParameter < SearchParameter
|
1606
|
+
attr_accessor :searchParameter_Type
|
1607
|
+
attr_accessor :ngramGroups
|
1665
1608
|
|
1666
|
-
def initialize(
|
1667
|
-
@
|
1668
|
-
@
|
1609
|
+
def initialize(searchParameter_Type = nil, ngramGroups = [])
|
1610
|
+
@searchParameter_Type = searchParameter_Type
|
1611
|
+
@ngramGroups = ngramGroups
|
1669
1612
|
end
|
1670
1613
|
end
|
1671
1614
|
|
1672
|
-
#
|
1673
|
-
# -
|
1674
|
-
# -
|
1675
|
-
class
|
1676
|
-
attr_accessor :
|
1677
|
-
attr_accessor :
|
1615
|
+
# PlacementTypeSearchParameter
|
1616
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1617
|
+
# - placementTypes - AdwordsApi::V200909::TargetingIdeaService::SiteConstantsPlacementType
|
1618
|
+
class PlacementTypeSearchParameter < SearchParameter
|
1619
|
+
attr_accessor :searchParameter_Type
|
1620
|
+
attr_accessor :placementTypes
|
1678
1621
|
|
1679
|
-
def initialize(
|
1680
|
-
@
|
1681
|
-
@
|
1622
|
+
def initialize(searchParameter_Type = nil, placementTypes = [])
|
1623
|
+
@searchParameter_Type = searchParameter_Type
|
1624
|
+
@placementTypes = placementTypes
|
1682
1625
|
end
|
1683
1626
|
end
|
1684
1627
|
|
1685
|
-
#
|
1686
|
-
# -
|
1687
|
-
# -
|
1688
|
-
class
|
1689
|
-
attr_accessor :
|
1690
|
-
attr_accessor :
|
1628
|
+
# RelatedToKeywordSearchParameter
|
1629
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1630
|
+
# - keywords - AdwordsApi::V200909::TargetingIdeaService::Keyword
|
1631
|
+
class RelatedToKeywordSearchParameter < SearchParameter
|
1632
|
+
attr_accessor :searchParameter_Type
|
1633
|
+
attr_accessor :keywords
|
1691
1634
|
|
1692
|
-
def initialize(
|
1693
|
-
@
|
1694
|
-
@
|
1635
|
+
def initialize(searchParameter_Type = nil, keywords = [])
|
1636
|
+
@searchParameter_Type = searchParameter_Type
|
1637
|
+
@keywords = keywords
|
1695
1638
|
end
|
1696
1639
|
end
|
1697
1640
|
|
1698
|
-
#
|
1699
|
-
# -
|
1700
|
-
# -
|
1701
|
-
|
1702
|
-
|
1703
|
-
attr_accessor :
|
1641
|
+
# RelatedToUrlSearchParameter
|
1642
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1643
|
+
# - urls - SOAP::SOAPString
|
1644
|
+
# - includeSubUrls - SOAP::SOAPBoolean
|
1645
|
+
class RelatedToUrlSearchParameter < SearchParameter
|
1646
|
+
attr_accessor :searchParameter_Type
|
1647
|
+
attr_accessor :urls
|
1648
|
+
attr_accessor :includeSubUrls
|
1704
1649
|
|
1705
|
-
def initialize(
|
1706
|
-
@
|
1707
|
-
@
|
1650
|
+
def initialize(searchParameter_Type = nil, urls = [], includeSubUrls = nil)
|
1651
|
+
@searchParameter_Type = searchParameter_Type
|
1652
|
+
@urls = urls
|
1653
|
+
@includeSubUrls = includeSubUrls
|
1708
1654
|
end
|
1709
1655
|
end
|
1710
1656
|
|
1711
|
-
#
|
1712
|
-
# -
|
1713
|
-
# -
|
1714
|
-
class
|
1715
|
-
attr_accessor :
|
1716
|
-
attr_accessor :
|
1657
|
+
# SeedAdGroupIdSearchParameter
|
1658
|
+
# - searchParameter_Type - SOAP::SOAPString
|
1659
|
+
# - adGroupId - SOAP::SOAPLong
|
1660
|
+
class SeedAdGroupIdSearchParameter < SearchParameter
|
1661
|
+
attr_accessor :searchParameter_Type
|
1662
|
+
attr_accessor :adGroupId
|
1717
1663
|
|
1718
|
-
def initialize(
|
1719
|
-
@
|
1720
|
-
@
|
1664
|
+
def initialize(searchParameter_Type = nil, adGroupId = nil)
|
1665
|
+
@searchParameter_Type = searchParameter_Type
|
1666
|
+
@adGroupId = adGroupId
|
1721
1667
|
end
|
1722
1668
|
end
|
1723
1669
|
|
@@ -1744,6 +1690,60 @@ class TargetingIdeaPage
|
|
1744
1690
|
end
|
1745
1691
|
end
|
1746
1692
|
|
1693
|
+
# TargetingIdeaSelector
|
1694
|
+
# - searchParameters - AdwordsApi::V200909::TargetingIdeaService::SearchParameter
|
1695
|
+
# - ideaType - AdwordsApi::V200909::TargetingIdeaService::IdeaType
|
1696
|
+
# - requestType - AdwordsApi::V200909::TargetingIdeaService::RequestType
|
1697
|
+
# - requestedAttributeTypes - AdwordsApi::V200909::TargetingIdeaService::AttributeType
|
1698
|
+
# - paging - AdwordsApi::V200909::TargetingIdeaService::Paging
|
1699
|
+
# - localeCode - SOAP::SOAPString
|
1700
|
+
# - currencyCode - SOAP::SOAPString
|
1701
|
+
class TargetingIdeaSelector
|
1702
|
+
attr_accessor :searchParameters
|
1703
|
+
attr_accessor :ideaType
|
1704
|
+
attr_accessor :requestType
|
1705
|
+
attr_accessor :requestedAttributeTypes
|
1706
|
+
attr_accessor :paging
|
1707
|
+
attr_accessor :localeCode
|
1708
|
+
attr_accessor :currencyCode
|
1709
|
+
|
1710
|
+
def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
|
1711
|
+
@searchParameters = searchParameters
|
1712
|
+
@ideaType = ideaType
|
1713
|
+
@requestType = requestType
|
1714
|
+
@requestedAttributeTypes = requestedAttributeTypes
|
1715
|
+
@paging = paging
|
1716
|
+
@localeCode = localeCode
|
1717
|
+
@currencyCode = currencyCode
|
1718
|
+
end
|
1719
|
+
end
|
1720
|
+
|
1721
|
+
# Type_AttributeMapEntry
|
1722
|
+
# - key - AdwordsApi::V200909::TargetingIdeaService::AttributeType
|
1723
|
+
# - value - AdwordsApi::V200909::TargetingIdeaService::Attribute
|
1724
|
+
class Type_AttributeMapEntry
|
1725
|
+
attr_accessor :key
|
1726
|
+
attr_accessor :value
|
1727
|
+
|
1728
|
+
def initialize(key = nil, value = nil)
|
1729
|
+
@key = key
|
1730
|
+
@value = value
|
1731
|
+
end
|
1732
|
+
end
|
1733
|
+
|
1734
|
+
# WebpageDescriptor
|
1735
|
+
# - url - SOAP::SOAPString
|
1736
|
+
# - title - SOAP::SOAPString
|
1737
|
+
class WebpageDescriptor
|
1738
|
+
attr_accessor :url
|
1739
|
+
attr_accessor :title
|
1740
|
+
|
1741
|
+
def initialize(url = nil, title = nil)
|
1742
|
+
@url = url
|
1743
|
+
@title = title
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
|
1747
1747
|
# AdGroupCriterionError.Reason
|
1748
1748
|
class AdGroupCriterionErrorReason < ::String
|
1749
1749
|
BID_INCOMPATIBLE_WITH_ADGROUP = AdGroupCriterionErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")
|