adwords4r 12.0.0 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. data/ChangeLog.txt +4 -0
  2. data/Rakefile +1 -1
  3. data/Readme.txt +2 -2
  4. data/adwords.properties +1 -1
  5. data/examples/account_info.rb +131 -0
  6. data/examples/create_all.rb +165 -0
  7. data/examples/keyword_suggestions.rb +2 -2
  8. data/examples/reports.rb +2 -2
  9. data/lib/adwords4r/credentials.rb +11 -0
  10. data/lib/adwords4r/services.rb +0 -2
  11. metadata +24 -60
  12. data/examples/campaign.rb +0 -40
  13. data/examples/framework.rb +0 -8
  14. data/examples/get_free_usage_this_month.rb +0 -20
  15. data/examples/get_unit_count.rb +0 -21
  16. data/examples/keyword_tool_demo.rb +0 -31
  17. data/examples/traffic_estimator.rb +0 -34
  18. data/lib/adwords4r/v11/AccountService.rb +0 -215
  19. data/lib/adwords4r/v11/AccountServiceDriver.rb +0 -69
  20. data/lib/adwords4r/v11/AccountServiceMappingRegistry.rb +0 -243
  21. data/lib/adwords4r/v11/AdGroupService.rb +0 -257
  22. data/lib/adwords4r/v11/AdGroupServiceDriver.rb +0 -109
  23. data/lib/adwords4r/v11/AdGroupServiceMappingRegistry.rb +0 -276
  24. data/lib/adwords4r/v11/AdService.rb +0 -760
  25. data/lib/adwords4r/v11/AdServiceDriver.rb +0 -125
  26. data/lib/adwords4r/v11/AdServiceMappingRegistry.rb +0 -807
  27. data/lib/adwords4r/v11/CampaignService.rb +0 -443
  28. data/lib/adwords4r/v11/CampaignServiceDriver.rb +0 -125
  29. data/lib/adwords4r/v11/CampaignServiceMappingRegistry.rb +0 -564
  30. data/lib/adwords4r/v11/CriterionService.rb +0 -442
  31. data/lib/adwords4r/v11/CriterionServiceDriver.rb +0 -117
  32. data/lib/adwords4r/v11/CriterionServiceMappingRegistry.rb +0 -507
  33. data/lib/adwords4r/v11/InfoService.rb +0 -242
  34. data/lib/adwords4r/v11/InfoServiceDriver.rb +0 -109
  35. data/lib/adwords4r/v11/InfoServiceMappingRegistry.rb +0 -228
  36. data/lib/adwords4r/v11/KeywordToolService.rb +0 -205
  37. data/lib/adwords4r/v11/KeywordToolServiceDriver.rb +0 -61
  38. data/lib/adwords4r/v11/KeywordToolServiceMappingRegistry.rb +0 -227
  39. data/lib/adwords4r/v11/ReportService.rb +0 -322
  40. data/lib/adwords4r/v11/ReportServiceDriver.rb +0 -101
  41. data/lib/adwords4r/v11/ReportServiceMappingRegistry.rb +0 -298
  42. data/lib/adwords4r/v11/SiteSuggestionService.rb +0 -242
  43. data/lib/adwords4r/v11/SiteSuggestionServiceDriver.rb +0 -77
  44. data/lib/adwords4r/v11/SiteSuggestionServiceMappingRegistry.rb +0 -271
  45. data/lib/adwords4r/v11/TrafficEstimatorService.rb +0 -312
  46. data/lib/adwords4r/v11/TrafficEstimatorServiceDriver.rb +0 -77
  47. data/lib/adwords4r/v11/TrafficEstimatorServiceMappingRegistry.rb +0 -483
  48. data/svn-commit.2.tmp +0 -60
  49. data/svn-commit.tmp +0 -60
@@ -1,109 +0,0 @@
1
- require 'adwords4r/v11/AdGroupService'
2
- require 'adwords4r/v11/AdGroupServiceMappingRegistry'
3
- require 'soap/rpc/driver'
4
-
5
- module AdWords
6
- module AdGroupService
7
-
8
- class AdGroupInterface < ::SOAP::RPC::Driver
9
- DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v11/AdGroupService"
10
-
11
- Methods = [
12
- [ "",
13
- "addAdGroup",
14
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "addAdGroup"]],
15
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "addAdGroupResponse"]] ],
16
- { :request_style => :document, :request_use => :literal,
17
- :response_style => :document, :response_use => :literal,
18
- :faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
19
- ],
20
- [ "",
21
- "addAdGroupList",
22
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "addAdGroupList"]],
23
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "addAdGroupListResponse"]] ],
24
- { :request_style => :document, :request_use => :literal,
25
- :response_style => :document, :response_use => :literal,
26
- :faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
27
- ],
28
- [ "",
29
- "getAdGroup",
30
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getAdGroup"]],
31
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getAdGroupResponse"]] ],
32
- { :request_style => :document, :request_use => :literal,
33
- :response_style => :document, :response_use => :literal,
34
- :faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
35
- ],
36
- [ "",
37
- "getAdGroupList",
38
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getAdGroupList"]],
39
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getAdGroupListResponse"]] ],
40
- { :request_style => :document, :request_use => :literal,
41
- :response_style => :document, :response_use => :literal,
42
- :faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
43
- ],
44
- [ "",
45
- "getAdGroupStats",
46
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getAdGroupStats"]],
47
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getAdGroupStatsResponse"]] ],
48
- { :request_style => :document, :request_use => :literal,
49
- :response_style => :document, :response_use => :literal,
50
- :faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
51
- ],
52
- [ "",
53
- "getAllAdGroups",
54
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getAllAdGroups"]],
55
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getAllAdGroupsResponse"]] ],
56
- { :request_style => :document, :request_use => :literal,
57
- :response_style => :document, :response_use => :literal,
58
- :faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
59
- ],
60
- [ "",
61
- "updateAdGroup",
62
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "updateAdGroup"]],
63
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "updateAdGroupResponse"]] ],
64
- { :request_style => :document, :request_use => :literal,
65
- :response_style => :document, :response_use => :literal,
66
- :faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
67
- ],
68
- [ "",
69
- "updateAdGroupList",
70
- [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "updateAdGroupList"]],
71
- ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "updateAdGroupListResponse"]] ],
72
- { :request_style => :document, :request_use => :literal,
73
- :response_style => :document, :response_use => :literal,
74
- :faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
75
- ]
76
- ]
77
-
78
- def initialize(endpoint_url = nil)
79
- endpoint_url ||= DefaultEndpointUrl
80
- super(endpoint_url, nil)
81
- self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
82
- self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
83
- init_methods
84
- end
85
-
86
- private
87
-
88
- def init_methods
89
- Methods.each do |definitions|
90
- opt = definitions.last
91
- if opt[:request_style] == :document
92
- add_document_operation(*definitions)
93
- else
94
- add_rpc_operation(*definitions)
95
- qname = definitions[0]
96
- name = definitions[2]
97
- if qname.name != name and qname.name.capitalize == name.capitalize
98
- ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
99
- __send__(name, *arg)
100
- end
101
- end
102
- end
103
- end
104
- end
105
- end
106
-
107
-
108
- end
109
- end
@@ -1,276 +0,0 @@
1
- require 'adwords4r/v11/AdGroupService'
2
- require 'soap/mapping'
3
-
4
- module AdWords; module AdGroupService
5
-
6
- module DefaultMappingRegistry
7
- EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
8
- LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
9
- NsV11 = "https://adwords.google.com/api/adwords/v11"
10
-
11
- EncodedRegistry.register(
12
- :class => AdWords::AdGroupService::AdGroup,
13
- :schema_type => XSD::QName.new(NsV11, "AdGroup"),
14
- :schema_element => [
15
- ["campaignId", "SOAP::SOAPInt"],
16
- ["id", "SOAP::SOAPInt"],
17
- ["keywordContentMaxCpc", "SOAP::SOAPLong", [0, 1]],
18
- ["keywordMaxCpc", "SOAP::SOAPLong", [0, 1]],
19
- ["name", "SOAP::SOAPString"],
20
- ["proxyKeywordMaxCpc", "SOAP::SOAPLong", [0, 1]],
21
- ["siteMaxCpm", "SOAP::SOAPLong", [0, 1]],
22
- ["status", "AdWords::AdGroupService::AdGroupStatus", [0, 1]]
23
- ]
24
- )
25
-
26
- EncodedRegistry.register(
27
- :class => AdWords::AdGroupService::ApiError,
28
- :schema_type => XSD::QName.new(NsV11, "ApiError"),
29
- :schema_element => [
30
- ["code", "SOAP::SOAPInt"],
31
- ["detail", "SOAP::SOAPString"],
32
- ["field", "SOAP::SOAPString", [0, 1]],
33
- ["index", "SOAP::SOAPInt"],
34
- ["isExemptable", "SOAP::SOAPBoolean"],
35
- ["textIndex", "SOAP::SOAPInt", [0, 1]],
36
- ["textLength", "SOAP::SOAPInt", [0, 1]],
37
- ["trigger", "SOAP::SOAPString", [0, 1]]
38
- ]
39
- )
40
-
41
- EncodedRegistry.register(
42
- :class => AdWords::AdGroupService::ApiException,
43
- :schema_type => XSD::QName.new(NsV11, "ApiException"),
44
- :schema_element => [
45
- ["code", "SOAP::SOAPInt"],
46
- ["errors", "AdWords::AdGroupService::ApiError[]", [1, nil]],
47
- ["internal", "SOAP::SOAPBoolean"],
48
- ["message", "SOAP::SOAPString"],
49
- ["trigger", "SOAP::SOAPString"]
50
- ]
51
- )
52
-
53
- EncodedRegistry.register(
54
- :class => AdWords::AdGroupService::StatsRecord,
55
- :schema_type => XSD::QName.new(NsV11, "StatsRecord"),
56
- :schema_element => [
57
- ["averagePosition", "SOAP::SOAPDouble"],
58
- ["clicks", "SOAP::SOAPLong"],
59
- ["conversionRate", "SOAP::SOAPDouble"],
60
- ["conversions", "SOAP::SOAPLong"],
61
- ["cost", "SOAP::SOAPLong"],
62
- ["id", "SOAP::SOAPLong"],
63
- ["impressions", "SOAP::SOAPLong"]
64
- ]
65
- )
66
-
67
- EncodedRegistry.register(
68
- :class => AdWords::AdGroupService::AdGroupStatus,
69
- :schema_type => XSD::QName.new(NsV11, "AdGroupStatus")
70
- )
71
-
72
- LiteralRegistry.register(
73
- :class => AdWords::AdGroupService::AdGroup,
74
- :schema_type => XSD::QName.new(NsV11, "AdGroup"),
75
- :schema_element => [
76
- ["campaignId", "SOAP::SOAPInt"],
77
- ["id", "SOAP::SOAPInt"],
78
- ["keywordContentMaxCpc", "SOAP::SOAPLong", [0, 1]],
79
- ["keywordMaxCpc", "SOAP::SOAPLong", [0, 1]],
80
- ["name", "SOAP::SOAPString"],
81
- ["proxyKeywordMaxCpc", "SOAP::SOAPLong", [0, 1]],
82
- ["siteMaxCpm", "SOAP::SOAPLong", [0, 1]],
83
- ["status", "AdWords::AdGroupService::AdGroupStatus", [0, 1]]
84
- ]
85
- )
86
-
87
- LiteralRegistry.register(
88
- :class => AdWords::AdGroupService::ApiError,
89
- :schema_type => XSD::QName.new(NsV11, "ApiError"),
90
- :schema_element => [
91
- ["code", "SOAP::SOAPInt"],
92
- ["detail", "SOAP::SOAPString"],
93
- ["field", "SOAP::SOAPString", [0, 1]],
94
- ["index", "SOAP::SOAPInt"],
95
- ["isExemptable", "SOAP::SOAPBoolean"],
96
- ["textIndex", "SOAP::SOAPInt", [0, 1]],
97
- ["textLength", "SOAP::SOAPInt", [0, 1]],
98
- ["trigger", "SOAP::SOAPString", [0, 1]]
99
- ]
100
- )
101
-
102
- LiteralRegistry.register(
103
- :class => AdWords::AdGroupService::ApiException,
104
- :schema_type => XSD::QName.new(NsV11, "ApiException"),
105
- :schema_element => [
106
- ["code", "SOAP::SOAPInt"],
107
- ["errors", "AdWords::AdGroupService::ApiError[]", [1, nil]],
108
- ["internal", "SOAP::SOAPBoolean"],
109
- ["message", "SOAP::SOAPString"],
110
- ["trigger", "SOAP::SOAPString"]
111
- ]
112
- )
113
-
114
- LiteralRegistry.register(
115
- :class => AdWords::AdGroupService::StatsRecord,
116
- :schema_type => XSD::QName.new(NsV11, "StatsRecord"),
117
- :schema_element => [
118
- ["averagePosition", "SOAP::SOAPDouble"],
119
- ["clicks", "SOAP::SOAPLong"],
120
- ["conversionRate", "SOAP::SOAPDouble"],
121
- ["conversions", "SOAP::SOAPLong"],
122
- ["cost", "SOAP::SOAPLong"],
123
- ["id", "SOAP::SOAPLong"],
124
- ["impressions", "SOAP::SOAPLong"]
125
- ]
126
- )
127
-
128
- LiteralRegistry.register(
129
- :class => AdWords::AdGroupService::AdGroupStatus,
130
- :schema_type => XSD::QName.new(NsV11, "AdGroupStatus")
131
- )
132
-
133
- LiteralRegistry.register(
134
- :class => AdWords::AdGroupService::AddAdGroup,
135
- :schema_name => XSD::QName.new(NsV11, "addAdGroup"),
136
- :schema_element => [
137
- ["campaignID", "SOAP::SOAPInt"],
138
- ["newData", "AdWords::AdGroupService::AdGroup"]
139
- ]
140
- )
141
-
142
- LiteralRegistry.register(
143
- :class => AdWords::AdGroupService::AddAdGroupList,
144
- :schema_name => XSD::QName.new(NsV11, "addAdGroupList"),
145
- :schema_element => [
146
- ["campaignID", "SOAP::SOAPInt"],
147
- ["newData", "AdWords::AdGroupService::AdGroup[]", [1, nil]]
148
- ]
149
- )
150
-
151
- LiteralRegistry.register(
152
- :class => AdWords::AdGroupService::AddAdGroupListResponse,
153
- :schema_name => XSD::QName.new(NsV11, "addAdGroupListResponse"),
154
- :schema_element => [
155
- ["addAdGroupListReturn", "AdWords::AdGroupService::AdGroup[]", [1, nil]]
156
- ]
157
- )
158
-
159
- LiteralRegistry.register(
160
- :class => AdWords::AdGroupService::AddAdGroupResponse,
161
- :schema_name => XSD::QName.new(NsV11, "addAdGroupResponse"),
162
- :schema_element => [
163
- ["addAdGroupReturn", "AdWords::AdGroupService::AdGroup"]
164
- ]
165
- )
166
-
167
- LiteralRegistry.register(
168
- :class => AdWords::AdGroupService::ApiException,
169
- :schema_name => XSD::QName.new(NsV11, "fault"),
170
- :schema_element => [
171
- ["code", "SOAP::SOAPInt"],
172
- ["errors", "AdWords::AdGroupService::ApiError[]", [1, nil]],
173
- ["internal", "SOAP::SOAPBoolean"],
174
- ["message", "SOAP::SOAPString"],
175
- ["trigger", "SOAP::SOAPString"]
176
- ]
177
- )
178
-
179
- LiteralRegistry.register(
180
- :class => AdWords::AdGroupService::GetAdGroup,
181
- :schema_name => XSD::QName.new(NsV11, "getAdGroup"),
182
- :schema_element => [
183
- ["adGroupId", "SOAP::SOAPInt"]
184
- ]
185
- )
186
-
187
- LiteralRegistry.register(
188
- :class => AdWords::AdGroupService::GetAdGroupList,
189
- :schema_name => XSD::QName.new(NsV11, "getAdGroupList"),
190
- :schema_element => [
191
- ["adgroupIDs", "SOAP::SOAPInt[]", [1, nil]]
192
- ]
193
- )
194
-
195
- LiteralRegistry.register(
196
- :class => AdWords::AdGroupService::GetAdGroupListResponse,
197
- :schema_name => XSD::QName.new(NsV11, "getAdGroupListResponse"),
198
- :schema_element => [
199
- ["getAdGroupListReturn", "AdWords::AdGroupService::AdGroup[]", [1, nil]]
200
- ]
201
- )
202
-
203
- LiteralRegistry.register(
204
- :class => AdWords::AdGroupService::GetAdGroupResponse,
205
- :schema_name => XSD::QName.new(NsV11, "getAdGroupResponse"),
206
- :schema_element => [
207
- ["getAdGroupReturn", "AdWords::AdGroupService::AdGroup"]
208
- ]
209
- )
210
-
211
- LiteralRegistry.register(
212
- :class => AdWords::AdGroupService::GetAdGroupStats,
213
- :schema_name => XSD::QName.new(NsV11, "getAdGroupStats"),
214
- :schema_element => [
215
- ["campaignId", "SOAP::SOAPInt"],
216
- ["adGroupIds", "SOAP::SOAPInt[]", [1, nil]],
217
- ["startDay", "SOAP::SOAPDate"],
218
- ["endDay", "SOAP::SOAPDate"]
219
- ]
220
- )
221
-
222
- LiteralRegistry.register(
223
- :class => AdWords::AdGroupService::GetAdGroupStatsResponse,
224
- :schema_name => XSD::QName.new(NsV11, "getAdGroupStatsResponse"),
225
- :schema_element => [
226
- ["getAdGroupStatsReturn", "AdWords::AdGroupService::StatsRecord[]", [1, nil]]
227
- ]
228
- )
229
-
230
- LiteralRegistry.register(
231
- :class => AdWords::AdGroupService::GetAllAdGroups,
232
- :schema_name => XSD::QName.new(NsV11, "getAllAdGroups"),
233
- :schema_element => [
234
- ["campaignID", "SOAP::SOAPInt"]
235
- ]
236
- )
237
-
238
- LiteralRegistry.register(
239
- :class => AdWords::AdGroupService::GetAllAdGroupsResponse,
240
- :schema_name => XSD::QName.new(NsV11, "getAllAdGroupsResponse"),
241
- :schema_element => [
242
- ["getAllAdGroupsReturn", "AdWords::AdGroupService::AdGroup[]", [1, nil]]
243
- ]
244
- )
245
-
246
- LiteralRegistry.register(
247
- :class => AdWords::AdGroupService::UpdateAdGroup,
248
- :schema_name => XSD::QName.new(NsV11, "updateAdGroup"),
249
- :schema_element => [
250
- ["changedData", "AdWords::AdGroupService::AdGroup"]
251
- ]
252
- )
253
-
254
- LiteralRegistry.register(
255
- :class => AdWords::AdGroupService::UpdateAdGroupList,
256
- :schema_name => XSD::QName.new(NsV11, "updateAdGroupList"),
257
- :schema_element => [
258
- ["changedData", "AdWords::AdGroupService::AdGroup[]", [1, nil]]
259
- ]
260
- )
261
-
262
- LiteralRegistry.register(
263
- :class => AdWords::AdGroupService::UpdateAdGroupListResponse,
264
- :schema_name => XSD::QName.new(NsV11, "updateAdGroupListResponse"),
265
- :schema_element => []
266
- )
267
-
268
- LiteralRegistry.register(
269
- :class => AdWords::AdGroupService::UpdateAdGroupResponse,
270
- :schema_name => XSD::QName.new(NsV11, "updateAdGroupResponse"),
271
- :schema_element => []
272
- )
273
-
274
- end
275
-
276
- end; end
@@ -1,760 +0,0 @@
1
- require 'xsd/qname'
2
-
3
- module AdWords; module AdService
4
-
5
-
6
- # {https://adwords.google.com/api/adwords/v11}Ad
7
- # abstract
8
- # adGroupId - SOAP::SOAPInt
9
- # adType - AdWords::AdService::AdType
10
- # destinationUrl - SOAP::SOAPString
11
- # disapproved - SOAP::SOAPBoolean
12
- # displayUrl - SOAP::SOAPString
13
- # exemptionRequest - SOAP::SOAPString
14
- # id - SOAP::SOAPLong
15
- # status - AdWords::AdService::AdStatus
16
- class Ad
17
- attr_accessor :adGroupId
18
- attr_accessor :adType
19
- attr_accessor :destinationUrl
20
- attr_accessor :disapproved
21
- attr_accessor :displayUrl
22
- attr_accessor :exemptionRequest
23
- attr_accessor :id
24
- attr_accessor :status
25
-
26
- def initialize(adGroupId = nil, adType = nil, destinationUrl = nil, disapproved = nil, displayUrl = nil, exemptionRequest = nil, id = nil, status = nil)
27
- @adGroupId = adGroupId
28
- @adType = adType
29
- @destinationUrl = destinationUrl
30
- @disapproved = disapproved
31
- @displayUrl = displayUrl
32
- @exemptionRequest = exemptionRequest
33
- @id = id
34
- @status = status
35
- end
36
- end
37
-
38
- # {https://adwords.google.com/api/adwords/v11}CommerceAd
39
- # adGroupId - SOAP::SOAPInt
40
- # adType - AdWords::AdService::AdType
41
- # destinationUrl - SOAP::SOAPString
42
- # disapproved - SOAP::SOAPBoolean
43
- # displayUrl - SOAP::SOAPString
44
- # exemptionRequest - SOAP::SOAPString
45
- # id - SOAP::SOAPLong
46
- # status - AdWords::AdService::AdStatus
47
- # description1 - SOAP::SOAPString
48
- # description2 - SOAP::SOAPString
49
- # headline - SOAP::SOAPString
50
- # postPriceAnnotation - SOAP::SOAPString
51
- # prePriceAnnotation - SOAP::SOAPString
52
- # priceString - SOAP::SOAPString
53
- # productImage - AdWords::AdService::Image
54
- class CommerceAd < Ad
55
- attr_accessor :adGroupId
56
- attr_accessor :adType
57
- attr_accessor :destinationUrl
58
- attr_accessor :disapproved
59
- attr_accessor :displayUrl
60
- attr_accessor :exemptionRequest
61
- attr_accessor :id
62
- attr_accessor :status
63
- attr_accessor :description1
64
- attr_accessor :description2
65
- attr_accessor :headline
66
- attr_accessor :postPriceAnnotation
67
- attr_accessor :prePriceAnnotation
68
- attr_accessor :priceString
69
- attr_accessor :productImage
70
-
71
- def initialize(adGroupId = nil, adType = nil, destinationUrl = nil, disapproved = nil, displayUrl = nil, exemptionRequest = nil, id = nil, status = nil, description1 = nil, description2 = nil, headline = nil, postPriceAnnotation = nil, prePriceAnnotation = nil, priceString = nil, productImage = nil)
72
- @adGroupId = adGroupId
73
- @adType = adType
74
- @destinationUrl = destinationUrl
75
- @disapproved = disapproved
76
- @displayUrl = displayUrl
77
- @exemptionRequest = exemptionRequest
78
- @id = id
79
- @status = status
80
- @description1 = description1
81
- @description2 = description2
82
- @headline = headline
83
- @postPriceAnnotation = postPriceAnnotation
84
- @prePriceAnnotation = prePriceAnnotation
85
- @priceString = priceString
86
- @productImage = productImage
87
- end
88
- end
89
-
90
- # {https://adwords.google.com/api/adwords/v11}ImageAd
91
- # adGroupId - SOAP::SOAPInt
92
- # adType - AdWords::AdService::AdType
93
- # destinationUrl - SOAP::SOAPString
94
- # disapproved - SOAP::SOAPBoolean
95
- # displayUrl - SOAP::SOAPString
96
- # exemptionRequest - SOAP::SOAPString
97
- # id - SOAP::SOAPLong
98
- # status - AdWords::AdService::AdStatus
99
- # image - AdWords::AdService::Image
100
- class ImageAd < Ad
101
- attr_accessor :adGroupId
102
- attr_accessor :adType
103
- attr_accessor :destinationUrl
104
- attr_accessor :disapproved
105
- attr_accessor :displayUrl
106
- attr_accessor :exemptionRequest
107
- attr_accessor :id
108
- attr_accessor :status
109
- attr_accessor :image
110
-
111
- def initialize(adGroupId = nil, adType = nil, destinationUrl = nil, disapproved = nil, displayUrl = nil, exemptionRequest = nil, id = nil, status = nil, image = nil)
112
- @adGroupId = adGroupId
113
- @adType = adType
114
- @destinationUrl = destinationUrl
115
- @disapproved = disapproved
116
- @displayUrl = displayUrl
117
- @exemptionRequest = exemptionRequest
118
- @id = id
119
- @status = status
120
- @image = image
121
- end
122
- end
123
-
124
- # {https://adwords.google.com/api/adwords/v11}LocalBusinessAd
125
- # adGroupId - SOAP::SOAPInt
126
- # adType - AdWords::AdService::AdType
127
- # destinationUrl - SOAP::SOAPString
128
- # disapproved - SOAP::SOAPBoolean
129
- # displayUrl - SOAP::SOAPString
130
- # exemptionRequest - SOAP::SOAPString
131
- # id - SOAP::SOAPLong
132
- # status - AdWords::AdService::AdStatus
133
- # address - SOAP::SOAPString
134
- # businessImage - AdWords::AdService::Image
135
- # businessKey - SOAP::SOAPString
136
- # businessName - SOAP::SOAPString
137
- # city - SOAP::SOAPString
138
- # countryCode - SOAP::SOAPString
139
- # customIcon - AdWords::AdService::Image
140
- # customIconId - SOAP::SOAPLong
141
- # description1 - SOAP::SOAPString
142
- # description2 - SOAP::SOAPString
143
- # phoneNumber - SOAP::SOAPString
144
- # postalCode - SOAP::SOAPString
145
- # region - SOAP::SOAPString
146
- # stockIcon - AdWords::AdService::StockIcon
147
- # targetRadiusInKm - SOAP::SOAPDouble
148
- class LocalBusinessAd < Ad
149
- attr_accessor :adGroupId
150
- attr_accessor :adType
151
- attr_accessor :destinationUrl
152
- attr_accessor :disapproved
153
- attr_accessor :displayUrl
154
- attr_accessor :exemptionRequest
155
- attr_accessor :id
156
- attr_accessor :status
157
- attr_accessor :address
158
- attr_accessor :businessImage
159
- attr_accessor :businessKey
160
- attr_accessor :businessName
161
- attr_accessor :city
162
- attr_accessor :countryCode
163
- attr_accessor :customIcon
164
- attr_accessor :customIconId
165
- attr_accessor :description1
166
- attr_accessor :description2
167
- attr_accessor :phoneNumber
168
- attr_accessor :postalCode
169
- attr_accessor :region
170
- attr_accessor :stockIcon
171
- attr_accessor :targetRadiusInKm
172
-
173
- def initialize(adGroupId = nil, adType = nil, destinationUrl = nil, disapproved = nil, displayUrl = nil, exemptionRequest = nil, id = nil, status = nil, address = nil, businessImage = nil, businessKey = nil, businessName = nil, city = nil, countryCode = nil, customIcon = nil, customIconId = nil, description1 = nil, description2 = nil, phoneNumber = nil, postalCode = nil, region = nil, stockIcon = nil, targetRadiusInKm = nil)
174
- @adGroupId = adGroupId
175
- @adType = adType
176
- @destinationUrl = destinationUrl
177
- @disapproved = disapproved
178
- @displayUrl = displayUrl
179
- @exemptionRequest = exemptionRequest
180
- @id = id
181
- @status = status
182
- @address = address
183
- @businessImage = businessImage
184
- @businessKey = businessKey
185
- @businessName = businessName
186
- @city = city
187
- @countryCode = countryCode
188
- @customIcon = customIcon
189
- @customIconId = customIconId
190
- @description1 = description1
191
- @description2 = description2
192
- @phoneNumber = phoneNumber
193
- @postalCode = postalCode
194
- @region = region
195
- @stockIcon = stockIcon
196
- @targetRadiusInKm = targetRadiusInKm
197
- end
198
- end
199
-
200
- # {https://adwords.google.com/api/adwords/v11}MobileAd
201
- # adGroupId - SOAP::SOAPInt
202
- # adType - AdWords::AdService::AdType
203
- # destinationUrl - SOAP::SOAPString
204
- # disapproved - SOAP::SOAPBoolean
205
- # displayUrl - SOAP::SOAPString
206
- # exemptionRequest - SOAP::SOAPString
207
- # id - SOAP::SOAPLong
208
- # status - AdWords::AdService::AdStatus
209
- # businessName - SOAP::SOAPString
210
- # countryCode - SOAP::SOAPString
211
- # description - SOAP::SOAPString
212
- # headline - SOAP::SOAPString
213
- # markupLanguages - SOAP::SOAPString
214
- # mobileCarriers - SOAP::SOAPString
215
- # phoneNumber - SOAP::SOAPString
216
- class MobileAd < Ad
217
- attr_accessor :adGroupId
218
- attr_accessor :adType
219
- attr_accessor :destinationUrl
220
- attr_accessor :disapproved
221
- attr_accessor :displayUrl
222
- attr_accessor :exemptionRequest
223
- attr_accessor :id
224
- attr_accessor :status
225
- attr_accessor :businessName
226
- attr_accessor :countryCode
227
- attr_accessor :description
228
- attr_accessor :headline
229
- attr_accessor :markupLanguages
230
- attr_accessor :mobileCarriers
231
- attr_accessor :phoneNumber
232
-
233
- def initialize(adGroupId = nil, adType = nil, destinationUrl = nil, disapproved = nil, displayUrl = nil, exemptionRequest = nil, id = nil, status = nil, businessName = nil, countryCode = nil, description = nil, headline = nil, markupLanguages = [], mobileCarriers = [], phoneNumber = nil)
234
- @adGroupId = adGroupId
235
- @adType = adType
236
- @destinationUrl = destinationUrl
237
- @disapproved = disapproved
238
- @displayUrl = displayUrl
239
- @exemptionRequest = exemptionRequest
240
- @id = id
241
- @status = status
242
- @businessName = businessName
243
- @countryCode = countryCode
244
- @description = description
245
- @headline = headline
246
- @markupLanguages = markupLanguages
247
- @mobileCarriers = mobileCarriers
248
- @phoneNumber = phoneNumber
249
- end
250
- end
251
-
252
- # {https://adwords.google.com/api/adwords/v11}TextAd
253
- # adGroupId - SOAP::SOAPInt
254
- # adType - AdWords::AdService::AdType
255
- # destinationUrl - SOAP::SOAPString
256
- # disapproved - SOAP::SOAPBoolean
257
- # displayUrl - SOAP::SOAPString
258
- # exemptionRequest - SOAP::SOAPString
259
- # id - SOAP::SOAPLong
260
- # status - AdWords::AdService::AdStatus
261
- # description1 - SOAP::SOAPString
262
- # description2 - SOAP::SOAPString
263
- # headline - SOAP::SOAPString
264
- class TextAd < Ad
265
- attr_accessor :adGroupId
266
- attr_accessor :adType
267
- attr_accessor :destinationUrl
268
- attr_accessor :disapproved
269
- attr_accessor :displayUrl
270
- attr_accessor :exemptionRequest
271
- attr_accessor :id
272
- attr_accessor :status
273
- attr_accessor :description1
274
- attr_accessor :description2
275
- attr_accessor :headline
276
-
277
- def initialize(adGroupId = nil, adType = nil, destinationUrl = nil, disapproved = nil, displayUrl = nil, exemptionRequest = nil, id = nil, status = nil, description1 = nil, description2 = nil, headline = nil)
278
- @adGroupId = adGroupId
279
- @adType = adType
280
- @destinationUrl = destinationUrl
281
- @disapproved = disapproved
282
- @displayUrl = displayUrl
283
- @exemptionRequest = exemptionRequest
284
- @id = id
285
- @status = status
286
- @description1 = description1
287
- @description2 = description2
288
- @headline = headline
289
- end
290
- end
291
-
292
- # {https://adwords.google.com/api/adwords/v11}VideoAd
293
- # adGroupId - SOAP::SOAPInt
294
- # adType - AdWords::AdService::AdType
295
- # destinationUrl - SOAP::SOAPString
296
- # disapproved - SOAP::SOAPBoolean
297
- # displayUrl - SOAP::SOAPString
298
- # exemptionRequest - SOAP::SOAPString
299
- # id - SOAP::SOAPLong
300
- # status - AdWords::AdService::AdStatus
301
- # image - AdWords::AdService::Image
302
- # name - SOAP::SOAPString
303
- # video - AdWords::AdService::Video
304
- class VideoAd < Ad
305
- attr_accessor :adGroupId
306
- attr_accessor :adType
307
- attr_accessor :destinationUrl
308
- attr_accessor :disapproved
309
- attr_accessor :displayUrl
310
- attr_accessor :exemptionRequest
311
- attr_accessor :id
312
- attr_accessor :status
313
- attr_accessor :image
314
- attr_accessor :name
315
- attr_accessor :video
316
-
317
- def initialize(adGroupId = nil, adType = nil, destinationUrl = nil, disapproved = nil, displayUrl = nil, exemptionRequest = nil, id = nil, status = nil, image = nil, name = nil, video = nil)
318
- @adGroupId = adGroupId
319
- @adType = adType
320
- @destinationUrl = destinationUrl
321
- @disapproved = disapproved
322
- @displayUrl = displayUrl
323
- @exemptionRequest = exemptionRequest
324
- @id = id
325
- @status = status
326
- @image = image
327
- @name = name
328
- @video = video
329
- end
330
- end
331
-
332
- # {https://adwords.google.com/api/adwords/v11}ApiError
333
- # code - SOAP::SOAPInt
334
- # detail - SOAP::SOAPString
335
- # field - SOAP::SOAPString
336
- # index - SOAP::SOAPInt
337
- # isExemptable - SOAP::SOAPBoolean
338
- # textIndex - SOAP::SOAPInt
339
- # textLength - SOAP::SOAPInt
340
- # trigger - SOAP::SOAPString
341
- class ApiError
342
- attr_accessor :code
343
- attr_accessor :detail
344
- attr_accessor :field
345
- attr_accessor :index
346
- attr_accessor :isExemptable
347
- attr_accessor :textIndex
348
- attr_accessor :textLength
349
- attr_accessor :trigger
350
-
351
- def initialize(code = nil, detail = nil, field = nil, index = nil, isExemptable = nil, textIndex = nil, textLength = nil, trigger = nil)
352
- @code = code
353
- @detail = detail
354
- @field = field
355
- @index = index
356
- @isExemptable = isExemptable
357
- @textIndex = textIndex
358
- @textLength = textLength
359
- @trigger = trigger
360
- end
361
- end
362
-
363
- # {https://adwords.google.com/api/adwords/v11}ApiException
364
- # code - SOAP::SOAPInt
365
- # errors - AdWords::AdService::ApiError
366
- # internal - SOAP::SOAPBoolean
367
- # message - SOAP::SOAPString
368
- # trigger - SOAP::SOAPString
369
- class ApiException
370
- attr_accessor :code
371
- attr_accessor :errors
372
- attr_accessor :internal
373
- attr_accessor :message
374
- attr_accessor :trigger
375
-
376
- def initialize(code = nil, errors = [], internal = nil, message = nil, trigger = nil)
377
- @code = code
378
- @errors = errors
379
- @internal = internal
380
- @message = message
381
- @trigger = trigger
382
- end
383
- end
384
-
385
- # {https://adwords.google.com/api/adwords/v11}Business
386
- # address - SOAP::SOAPString
387
- # city - SOAP::SOAPString
388
- # countryCode - SOAP::SOAPString
389
- # key - SOAP::SOAPString
390
- # latitude - SOAP::SOAPString
391
- # longitude - SOAP::SOAPString
392
- # name - SOAP::SOAPString
393
- # phoneNumber - SOAP::SOAPString
394
- # postalCode - SOAP::SOAPString
395
- # region - SOAP::SOAPString
396
- # timestamp - SOAP::SOAPLong
397
- class Business
398
- attr_accessor :address
399
- attr_accessor :city
400
- attr_accessor :countryCode
401
- attr_accessor :key
402
- attr_accessor :latitude
403
- attr_accessor :longitude
404
- attr_accessor :name
405
- attr_accessor :phoneNumber
406
- attr_accessor :postalCode
407
- attr_accessor :region
408
- attr_accessor :timestamp
409
-
410
- def initialize(address = nil, city = nil, countryCode = nil, key = nil, latitude = nil, longitude = nil, name = nil, phoneNumber = nil, postalCode = nil, region = nil, timestamp = nil)
411
- @address = address
412
- @city = city
413
- @countryCode = countryCode
414
- @key = key
415
- @latitude = latitude
416
- @longitude = longitude
417
- @name = name
418
- @phoneNumber = phoneNumber
419
- @postalCode = postalCode
420
- @region = region
421
- @timestamp = timestamp
422
- end
423
- end
424
-
425
- # {https://adwords.google.com/api/adwords/v11}Circle
426
- # latitudeMicroDegrees - SOAP::SOAPInt
427
- # longitudeMicroDegrees - SOAP::SOAPInt
428
- # radiusMeters - SOAP::SOAPInt
429
- class Circle
430
- attr_accessor :latitudeMicroDegrees
431
- attr_accessor :longitudeMicroDegrees
432
- attr_accessor :radiusMeters
433
-
434
- def initialize(latitudeMicroDegrees = nil, longitudeMicroDegrees = nil, radiusMeters = nil)
435
- @latitudeMicroDegrees = latitudeMicroDegrees
436
- @longitudeMicroDegrees = longitudeMicroDegrees
437
- @radiusMeters = radiusMeters
438
- end
439
- end
440
-
441
- # {https://adwords.google.com/api/adwords/v11}CityTargets
442
- class CityTargets < ::Array
443
- end
444
-
445
- # {https://adwords.google.com/api/adwords/v11}CountryTargets
446
- class CountryTargets < ::Array
447
- end
448
-
449
- # {https://adwords.google.com/api/adwords/v11}GeoTarget
450
- # cityTargets - AdWords::AdService::CityTargets
451
- # countryTargets - AdWords::AdService::CountryTargets
452
- # metroTargets - AdWords::AdService::MetroTargets
453
- # proximityTargets - AdWords::AdService::ProximityTargets
454
- # regionTargets - AdWords::AdService::RegionTargets
455
- # targetAll - SOAP::SOAPBoolean
456
- class GeoTarget
457
- attr_accessor :cityTargets
458
- attr_accessor :countryTargets
459
- attr_accessor :metroTargets
460
- attr_accessor :proximityTargets
461
- attr_accessor :regionTargets
462
- attr_accessor :targetAll
463
-
464
- def initialize(cityTargets = nil, countryTargets = nil, metroTargets = nil, proximityTargets = nil, regionTargets = nil, targetAll = nil)
465
- @cityTargets = cityTargets
466
- @countryTargets = countryTargets
467
- @metroTargets = metroTargets
468
- @proximityTargets = proximityTargets
469
- @regionTargets = regionTargets
470
- @targetAll = targetAll
471
- end
472
- end
473
-
474
- # {https://adwords.google.com/api/adwords/v11}Image
475
- # data - SOAP::SOAPBase64
476
- # height - SOAP::SOAPInt
477
- # imageUrl - SOAP::SOAPString
478
- # mimeType - SOAP::SOAPString
479
- # name - SOAP::SOAPString
480
- # shrunkenUrl - SOAP::SOAPString
481
- # thumbnailUrl - SOAP::SOAPString
482
- # type - AdWords::AdService::ImageType
483
- # width - SOAP::SOAPInt
484
- class Image
485
- attr_accessor :data
486
- attr_accessor :height
487
- attr_accessor :imageUrl
488
- attr_accessor :mimeType
489
- attr_accessor :name
490
- attr_accessor :shrunkenUrl
491
- attr_accessor :thumbnailUrl
492
- attr_accessor :type
493
- attr_accessor :width
494
-
495
- def initialize(data = nil, height = nil, imageUrl = nil, mimeType = nil, name = nil, shrunkenUrl = nil, thumbnailUrl = nil, type = nil, width = nil)
496
- @data = data
497
- @height = height
498
- @imageUrl = imageUrl
499
- @mimeType = mimeType
500
- @name = name
501
- @shrunkenUrl = shrunkenUrl
502
- @thumbnailUrl = thumbnailUrl
503
- @type = type
504
- @width = width
505
- end
506
- end
507
-
508
- # {https://adwords.google.com/api/adwords/v11}LanguageTarget
509
- class LanguageTarget < ::Array
510
- end
511
-
512
- # {https://adwords.google.com/api/adwords/v11}MetroTargets
513
- class MetroTargets < ::Array
514
- end
515
-
516
- # {https://adwords.google.com/api/adwords/v11}ProximityTargets
517
- class ProximityTargets < ::Array
518
- end
519
-
520
- # {https://adwords.google.com/api/adwords/v11}RegionTargets
521
- class RegionTargets < ::Array
522
- end
523
-
524
- # {https://adwords.google.com/api/adwords/v11}StatsRecord
525
- # averagePosition - SOAP::SOAPDouble
526
- # clicks - SOAP::SOAPLong
527
- # conversionRate - SOAP::SOAPDouble
528
- # conversions - SOAP::SOAPLong
529
- # cost - SOAP::SOAPLong
530
- # id - SOAP::SOAPLong
531
- # impressions - SOAP::SOAPLong
532
- class StatsRecord
533
- attr_accessor :averagePosition
534
- attr_accessor :clicks
535
- attr_accessor :conversionRate
536
- attr_accessor :conversions
537
- attr_accessor :cost
538
- attr_accessor :id
539
- attr_accessor :impressions
540
-
541
- def initialize(averagePosition = nil, clicks = nil, conversionRate = nil, conversions = nil, cost = nil, id = nil, impressions = nil)
542
- @averagePosition = averagePosition
543
- @clicks = clicks
544
- @conversionRate = conversionRate
545
- @conversions = conversions
546
- @cost = cost
547
- @id = id
548
- @impressions = impressions
549
- end
550
- end
551
-
552
- # {https://adwords.google.com/api/adwords/v11}Video
553
- # duration - SOAP::SOAPLong
554
- # filename - SOAP::SOAPString
555
- # preview - SOAP::SOAPString
556
- # title - SOAP::SOAPString
557
- # videoId - SOAP::SOAPLong
558
- class Video
559
- attr_accessor :duration
560
- attr_accessor :filename
561
- attr_accessor :preview
562
- attr_accessor :title
563
- attr_accessor :videoId
564
-
565
- def initialize(duration = nil, filename = nil, preview = nil, title = nil, videoId = nil)
566
- @duration = duration
567
- @filename = filename
568
- @preview = preview
569
- @title = title
570
- @videoId = videoId
571
- end
572
- end
573
-
574
- # {https://adwords.google.com/api/adwords/v11}AdStatus
575
- class AdStatus < ::String
576
- Disabled = AdStatus.new("Disabled")
577
- Enabled = AdStatus.new("Enabled")
578
- Paused = AdStatus.new("Paused")
579
- end
580
-
581
- # {https://adwords.google.com/api/adwords/v11}AdType
582
- class AdType < ::String
583
- CommerceAd = AdType.new("CommerceAd")
584
- ImageAd = AdType.new("ImageAd")
585
- LocalBusinessAd = AdType.new("LocalBusinessAd")
586
- MobileAd = AdType.new("MobileAd")
587
- TextAd = AdType.new("TextAd")
588
- VideoAd = AdType.new("VideoAd")
589
- end
590
-
591
- # {https://adwords.google.com/api/adwords/v11}ImageType
592
- class ImageType < ::String
593
- DynamicImage = ImageType.new("dynamicImage")
594
- Flash = ImageType.new("flash")
595
- Image = ImageType.new("image")
596
- end
597
-
598
- # {https://adwords.google.com/api/adwords/v11}StockIcon
599
- class StockIcon < ::String
600
- Standard_1 = StockIcon.new("Standard_1")
601
- Standard_10 = StockIcon.new("Standard_10")
602
- Standard_11 = StockIcon.new("Standard_11")
603
- Standard_12 = StockIcon.new("Standard_12")
604
- Standard_13 = StockIcon.new("Standard_13")
605
- Standard_14 = StockIcon.new("Standard_14")
606
- Standard_15 = StockIcon.new("Standard_15")
607
- Standard_16 = StockIcon.new("Standard_16")
608
- Standard_17 = StockIcon.new("Standard_17")
609
- Standard_2 = StockIcon.new("Standard_2")
610
- Standard_3 = StockIcon.new("Standard_3")
611
- Standard_4 = StockIcon.new("Standard_4")
612
- Standard_5 = StockIcon.new("Standard_5")
613
- Standard_6 = StockIcon.new("Standard_6")
614
- Standard_7 = StockIcon.new("Standard_7")
615
- Standard_8 = StockIcon.new("Standard_8")
616
- Standard_9 = StockIcon.new("Standard_9")
617
- end
618
-
619
- # {https://adwords.google.com/api/adwords/v11}addAds
620
- class AddAds < ::Array
621
- end
622
-
623
- # {https://adwords.google.com/api/adwords/v11}addAdsResponse
624
- class AddAdsResponse < ::Array
625
- end
626
-
627
- # {https://adwords.google.com/api/adwords/v11}checkAds
628
- # ads - AdWords::AdService::Ad
629
- # languageTarget - AdWords::AdService::LanguageTarget
630
- # geoTarget - AdWords::AdService::GeoTarget
631
- class CheckAds
632
- attr_accessor :ads
633
- attr_accessor :languageTarget
634
- attr_accessor :geoTarget
635
-
636
- def initialize(ads = [], languageTarget = nil, geoTarget = nil)
637
- @ads = ads
638
- @languageTarget = languageTarget
639
- @geoTarget = geoTarget
640
- end
641
- end
642
-
643
- # {https://adwords.google.com/api/adwords/v11}checkAdsResponse
644
- class CheckAdsResponse < ::Array
645
- end
646
-
647
- # {https://adwords.google.com/api/adwords/v11}findBusinesses
648
- # name - SOAP::SOAPString
649
- # address - SOAP::SOAPString
650
- # countryCode - SOAP::SOAPString
651
- class FindBusinesses
652
- attr_accessor :name
653
- attr_accessor :address
654
- attr_accessor :countryCode
655
-
656
- def initialize(name = nil, address = nil, countryCode = nil)
657
- @name = name
658
- @address = address
659
- @countryCode = countryCode
660
- end
661
- end
662
-
663
- # {https://adwords.google.com/api/adwords/v11}findBusinessesResponse
664
- class FindBusinessesResponse < ::Array
665
- end
666
-
667
- # {https://adwords.google.com/api/adwords/v11}getActiveAds
668
- class GetActiveAds < ::Array
669
- end
670
-
671
- # {https://adwords.google.com/api/adwords/v11}getActiveAdsResponse
672
- class GetActiveAdsResponse < ::Array
673
- end
674
-
675
- # {https://adwords.google.com/api/adwords/v11}getAd
676
- # adGroupId - SOAP::SOAPInt
677
- # adId - SOAP::SOAPLong
678
- class GetAd
679
- attr_accessor :adGroupId
680
- attr_accessor :adId
681
-
682
- def initialize(adGroupId = nil, adId = nil)
683
- @adGroupId = adGroupId
684
- @adId = adId
685
- end
686
- end
687
-
688
- # {https://adwords.google.com/api/adwords/v11}getAdResponse
689
- # getAdReturn - AdWords::AdService::Ad
690
- class GetAdResponse
691
- attr_accessor :getAdReturn
692
-
693
- def initialize(getAdReturn = nil)
694
- @getAdReturn = getAdReturn
695
- end
696
- end
697
-
698
- # {https://adwords.google.com/api/adwords/v11}getAdStats
699
- # adGroupId - SOAP::SOAPInt
700
- # adIds - SOAP::SOAPLong
701
- # startDay - SOAP::SOAPDate
702
- # endDay - SOAP::SOAPDate
703
- class GetAdStats
704
- attr_accessor :adGroupId
705
- attr_accessor :adIds
706
- attr_accessor :startDay
707
- attr_accessor :endDay
708
-
709
- def initialize(adGroupId = nil, adIds = [], startDay = nil, endDay = nil)
710
- @adGroupId = adGroupId
711
- @adIds = adIds
712
- @startDay = startDay
713
- @endDay = endDay
714
- end
715
- end
716
-
717
- # {https://adwords.google.com/api/adwords/v11}getAdStatsResponse
718
- class GetAdStatsResponse < ::Array
719
- end
720
-
721
- # {https://adwords.google.com/api/adwords/v11}getAllAds
722
- class GetAllAds < ::Array
723
- end
724
-
725
- # {https://adwords.google.com/api/adwords/v11}getAllAdsResponse
726
- class GetAllAdsResponse < ::Array
727
- end
728
-
729
- # {https://adwords.google.com/api/adwords/v11}getMyBusinesses
730
- class GetMyBusinesses
731
- def initialize
732
- end
733
- end
734
-
735
- # {https://adwords.google.com/api/adwords/v11}getMyBusinessesResponse
736
- class GetMyBusinessesResponse < ::Array
737
- end
738
-
739
- # {https://adwords.google.com/api/adwords/v11}getMyVideos
740
- class GetMyVideos
741
- def initialize
742
- end
743
- end
744
-
745
- # {https://adwords.google.com/api/adwords/v11}getMyVideosResponse
746
- class GetMyVideosResponse < ::Array
747
- end
748
-
749
- # {https://adwords.google.com/api/adwords/v11}updateAds
750
- class UpdateAds < ::Array
751
- end
752
-
753
- # {https://adwords.google.com/api/adwords/v11}updateAdsResponse
754
- class UpdateAdsResponse
755
- def initialize
756
- end
757
- end
758
-
759
-
760
- end; end