adwords4r 0.5 → 0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.txt +4 -0
- data/Rakefile +10 -10
- data/Readme.txt +78 -74
- data/Todo.txt +12 -0
- data/adwords.properties +2 -0
- data/examples/campaign.rb +1 -2
- data/examples/keyword_tool_demo.rb +27 -0
- data/examples/sandbox.rb +30 -0
- data/lib/adwords4r.rb +7 -1
- data/lib/adwords4r/credentials.rb +5 -3
- data/lib/adwords4r/services.rb +2 -2
- data/lib/adwords4r/v4/CreativeService.rb +0 -33
- data/lib/adwords4r/{v3 → v5}/AccountService.rb +311 -86
- data/lib/adwords4r/{v3 → v5}/AccountServiceDriver.rb +69 -34
- data/lib/adwords4r/{v3 → v5}/AdGroupService.rb +90 -58
- data/lib/adwords4r/{v3 → v5}/AdGroupServiceDriver.rb +18 -18
- data/lib/adwords4r/{v3 → v5}/CampaignService.rb +121 -89
- data/lib/adwords4r/{v3 → v5}/CampaignServiceDriver.rb +22 -22
- data/lib/adwords4r/{v3 → v5}/CreativeService.rb +84 -81
- data/lib/adwords4r/{v2 → v5}/CreativeServiceDriver.rb +20 -20
- data/lib/adwords4r/{v3 → v5}/CriterionService.rb +96 -64
- data/lib/adwords4r/{v3 → v5}/CriterionServiceDriver.rb +18 -18
- data/lib/adwords4r/{v3 → v5}/InfoService.rb +70 -34
- data/lib/adwords4r/{v2 → v5}/InfoServiceDriver.rb +16 -16
- data/lib/adwords4r/{v3 → v5}/KeywordToolService.rb +62 -26
- data/lib/adwords4r/{v3 → v5}/KeywordToolServiceDriver.rb +6 -6
- data/lib/adwords4r/v5/ReportService.rb +788 -0
- data/lib/adwords4r/{v2 → v5}/ReportServiceDriver.rb +14 -14
- data/lib/adwords4r/{v3 → v5}/TrafficEstimatorService.rb +95 -50
- data/lib/adwords4r/{v2 → v5}/TrafficEstimatorServiceDriver.rb +8 -8
- metadata +23 -46
- data/examples/report_demo.rb +0 -42
- data/lib/adwords4r/registry.rb +0 -31
- data/lib/adwords4r/v2/AccountService.rb +0 -628
- data/lib/adwords4r/v2/AccountServiceDriver.rb +0 -153
- data/lib/adwords4r/v2/AdGroupService.rb +0 -317
- data/lib/adwords4r/v2/AdGroupServiceDriver.rb +0 -97
- data/lib/adwords4r/v2/CampaignService.rb +0 -517
- data/lib/adwords4r/v2/CampaignServiceDriver.rb +0 -111
- data/lib/adwords4r/v2/CreativeService.rb +0 -401
- data/lib/adwords4r/v2/CriterionService.rb +0 -415
- data/lib/adwords4r/v2/CriterionServiceDriver.rb +0 -97
- data/lib/adwords4r/v2/InfoService.rb +0 -260
- data/lib/adwords4r/v2/KeywordService.rb +0 -543
- data/lib/adwords4r/v2/KeywordServiceDriver.rb +0 -125
- data/lib/adwords4r/v2/ReportService.rb +0 -569
- data/lib/adwords4r/v2/TrafficEstimatorService.rb +0 -251
- data/lib/adwords4r/v2/default.rb +0 -364
- data/lib/adwords4r/v2/defaultDriver.rb +0 -102
- data/lib/adwords4r/v3/CreativeServiceDriver.rb +0 -104
- data/lib/adwords4r/v3/InfoServiceDriver.rb +0 -90
- data/lib/adwords4r/v3/KeywordService.rb +0 -543
- data/lib/adwords4r/v3/KeywordServiceDriver.rb +0 -125
- data/lib/adwords4r/v3/ReportService.rb +0 -569
- data/lib/adwords4r/v3/ReportServiceDriver.rb +0 -83
- data/lib/adwords4r/v3/TrafficEstimatorServiceDriver.rb +0 -62
- data/scripts/publish.rb +0 -16
@@ -1,80 +1,80 @@
|
|
1
1
|
module AdWords
|
2
|
-
require 'adwords4r/
|
2
|
+
require 'adwords4r/v5/CampaignService'
|
3
3
|
|
4
4
|
require 'soap/rpc/driver'
|
5
5
|
|
6
6
|
class CampaignService < ::SOAP::RPC::Driver
|
7
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/
|
7
|
+
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v5/CampaignService"
|
8
8
|
MappingRegistry = ::SOAP::Mapping::Registry.new
|
9
9
|
|
10
10
|
Methods = [
|
11
11
|
[ "",
|
12
12
|
"getCampaign",
|
13
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
14
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
13
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getCampaign"], true],
|
14
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getCampaignResponse"], true] ],
|
15
15
|
{ :request_style => :document, :request_use => :literal,
|
16
16
|
:response_style => :document, :response_use => :literal }
|
17
17
|
],
|
18
18
|
[ "",
|
19
19
|
"getCampaignList",
|
20
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
21
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
20
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getCampaignList"], true],
|
21
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getCampaignListResponse"], true] ],
|
22
22
|
{ :request_style => :document, :request_use => :literal,
|
23
23
|
:response_style => :document, :response_use => :literal }
|
24
24
|
],
|
25
25
|
[ "",
|
26
26
|
"getAllAdWordsCampaigns",
|
27
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
28
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
27
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getAllAdWordsCampaigns"], true],
|
28
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getAllAdWordsCampaignsResponse"], true] ],
|
29
29
|
{ :request_style => :document, :request_use => :literal,
|
30
30
|
:response_style => :document, :response_use => :literal }
|
31
31
|
],
|
32
32
|
[ "",
|
33
33
|
"addCampaign",
|
34
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
35
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
34
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "addCampaign"], true],
|
35
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "addCampaignResponse"], true] ],
|
36
36
|
{ :request_style => :document, :request_use => :literal,
|
37
37
|
:response_style => :document, :response_use => :literal }
|
38
38
|
],
|
39
39
|
[ "",
|
40
40
|
"addCampaignList",
|
41
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
42
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
41
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "addCampaignList"], true],
|
42
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "addCampaignListResponse"], true] ],
|
43
43
|
{ :request_style => :document, :request_use => :literal,
|
44
44
|
:response_style => :document, :response_use => :literal }
|
45
45
|
],
|
46
46
|
[ "",
|
47
47
|
"updateCampaign",
|
48
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
49
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
48
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "updateCampaign"], true],
|
49
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "updateCampaignResponse"], true] ],
|
50
50
|
{ :request_style => :document, :request_use => :literal,
|
51
51
|
:response_style => :document, :response_use => :literal }
|
52
52
|
],
|
53
53
|
[ "",
|
54
54
|
"updateCampaignList",
|
55
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
56
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
55
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "updateCampaignList"], true],
|
56
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "updateCampaignListResponse"], true] ],
|
57
57
|
{ :request_style => :document, :request_use => :literal,
|
58
58
|
:response_style => :document, :response_use => :literal }
|
59
59
|
],
|
60
60
|
[ "",
|
61
61
|
"getOptimizeAdServing",
|
62
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
63
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
62
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getOptimizeAdServing"], true],
|
63
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getOptimizeAdServingResponse"], true] ],
|
64
64
|
{ :request_style => :document, :request_use => :literal,
|
65
65
|
:response_style => :document, :response_use => :literal }
|
66
66
|
],
|
67
67
|
[ "",
|
68
68
|
"setOptimizeAdServing",
|
69
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
70
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
69
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "setOptimizeAdServing"], true],
|
70
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "setOptimizeAdServingResponse"], true] ],
|
71
71
|
{ :request_style => :document, :request_use => :literal,
|
72
72
|
:response_style => :document, :response_use => :literal }
|
73
73
|
],
|
74
74
|
[ "",
|
75
75
|
"getCampaignStats",
|
76
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
77
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
76
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getCampaignStats"], true],
|
77
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v5", "getCampaignStatsResponse"], true] ],
|
78
78
|
{ :request_style => :document, :request_use => :literal,
|
79
79
|
:response_style => :document, :response_use => :literal }
|
80
80
|
]
|
@@ -1,10 +1,10 @@
|
|
1
1
|
module AdWords
|
2
2
|
require 'xsd/qname'
|
3
3
|
|
4
|
-
# {https://adwords.google.com/api/adwords/
|
4
|
+
# {https://adwords.google.com/api/adwords/v5}getAllCreatives
|
5
5
|
class GetAllCreatives
|
6
6
|
@@schema_type = "getAllCreatives"
|
7
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
7
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
8
8
|
@@schema_qualified = "true"
|
9
9
|
@@schema_element = [
|
10
10
|
["adGroupId", "SOAP::SOAPInt"]
|
@@ -17,17 +17,17 @@ class GetAllCreatives
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
-
# {https://adwords.google.com/api/adwords/
|
20
|
+
# {https://adwords.google.com/api/adwords/v5}getAllCreativesResponse
|
21
21
|
class GetAllCreativesResponse < ::Array
|
22
22
|
@@schema_element = [
|
23
|
-
["getAllCreativesReturn", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/
|
23
|
+
["getAllCreativesReturn", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/v5", "getAllCreativesReturn")]]
|
24
24
|
]
|
25
25
|
end
|
26
26
|
|
27
|
-
# {https://adwords.google.com/api/adwords/
|
27
|
+
# {https://adwords.google.com/api/adwords/v5}getActiveCreatives
|
28
28
|
class GetActiveCreatives
|
29
29
|
@@schema_type = "getActiveCreatives"
|
30
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
30
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
31
31
|
@@schema_qualified = "true"
|
32
32
|
@@schema_element = [
|
33
33
|
["adGroupId", "SOAP::SOAPInt"]
|
@@ -40,17 +40,17 @@ class GetActiveCreatives
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
# {https://adwords.google.com/api/adwords/
|
43
|
+
# {https://adwords.google.com/api/adwords/v5}getActiveCreativesResponse
|
44
44
|
class GetActiveCreativesResponse < ::Array
|
45
45
|
@@schema_element = [
|
46
|
-
["getActiveCreativesReturn", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/
|
46
|
+
["getActiveCreativesReturn", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/v5", "getActiveCreativesReturn")]]
|
47
47
|
]
|
48
48
|
end
|
49
49
|
|
50
|
-
# {https://adwords.google.com/api/adwords/
|
50
|
+
# {https://adwords.google.com/api/adwords/v5}getCreative
|
51
51
|
class GetCreative
|
52
52
|
@@schema_type = "getCreative"
|
53
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
53
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
54
54
|
@@schema_qualified = "true"
|
55
55
|
@@schema_element = [
|
56
56
|
["adGroupId", "SOAP::SOAPInt"],
|
@@ -66,10 +66,10 @@ class GetCreative
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
# {https://adwords.google.com/api/adwords/
|
69
|
+
# {https://adwords.google.com/api/adwords/v5}getCreativeResponse
|
70
70
|
class GetCreativeResponse
|
71
71
|
@@schema_type = "getCreativeResponse"
|
72
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
72
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
73
73
|
@@schema_qualified = "true"
|
74
74
|
@@schema_element = [
|
75
75
|
["getCreativeReturn", "Creative"]
|
@@ -82,10 +82,10 @@ class GetCreativeResponse
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
# {https://adwords.google.com/api/adwords/
|
85
|
+
# {https://adwords.google.com/api/adwords/v5}addCreative
|
86
86
|
class AddCreative
|
87
87
|
@@schema_type = "addCreative"
|
88
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
88
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
89
89
|
@@schema_qualified = "true"
|
90
90
|
@@schema_element = [
|
91
91
|
["creative", "Creative"]
|
@@ -98,10 +98,10 @@ class AddCreative
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
-
# {https://adwords.google.com/api/adwords/
|
101
|
+
# {https://adwords.google.com/api/adwords/v5}addCreativeResponse
|
102
102
|
class AddCreativeResponse
|
103
103
|
@@schema_type = "addCreativeResponse"
|
104
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
104
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
105
105
|
@@schema_qualified = "true"
|
106
106
|
@@schema_element = [
|
107
107
|
["addCreativeReturn", "Creative"]
|
@@ -114,24 +114,24 @@ class AddCreativeResponse
|
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
117
|
-
# {https://adwords.google.com/api/adwords/
|
117
|
+
# {https://adwords.google.com/api/adwords/v5}addCreativeList
|
118
118
|
class AddCreativeList < ::Array
|
119
119
|
@@schema_element = [
|
120
|
-
["creatives", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/
|
120
|
+
["creatives", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/v5", "creatives")]]
|
121
121
|
]
|
122
122
|
end
|
123
123
|
|
124
|
-
# {https://adwords.google.com/api/adwords/
|
124
|
+
# {https://adwords.google.com/api/adwords/v5}addCreativeListResponse
|
125
125
|
class AddCreativeListResponse < ::Array
|
126
126
|
@@schema_element = [
|
127
|
-
["addCreativeListReturn", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/
|
127
|
+
["addCreativeListReturn", ["Creative[]", XSD::QName.new("https://adwords.google.com/api/adwords/v5", "addCreativeListReturn")]]
|
128
128
|
]
|
129
129
|
end
|
130
130
|
|
131
|
-
# {https://adwords.google.com/api/adwords/
|
131
|
+
# {https://adwords.google.com/api/adwords/v5}deleteCreative
|
132
132
|
class DeleteCreative
|
133
133
|
@@schema_type = "deleteCreative"
|
134
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
134
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
135
135
|
@@schema_qualified = "true"
|
136
136
|
@@schema_element = [
|
137
137
|
["adGroupId", "SOAP::SOAPInt"],
|
@@ -147,10 +147,10 @@ class DeleteCreative
|
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
-
# {https://adwords.google.com/api/adwords/
|
150
|
+
# {https://adwords.google.com/api/adwords/v5}deleteCreativeResponse
|
151
151
|
class DeleteCreativeResponse
|
152
152
|
@@schema_type = "deleteCreativeResponse"
|
153
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
153
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
154
154
|
@@schema_qualified = "true"
|
155
155
|
@@schema_element = []
|
156
156
|
|
@@ -158,10 +158,10 @@ class DeleteCreativeResponse
|
|
158
158
|
end
|
159
159
|
end
|
160
160
|
|
161
|
-
# {https://adwords.google.com/api/adwords/
|
161
|
+
# {https://adwords.google.com/api/adwords/v5}deleteCreativeList
|
162
162
|
class DeleteCreativeList
|
163
163
|
@@schema_type = "deleteCreativeList"
|
164
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
164
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
165
165
|
@@schema_qualified = "true"
|
166
166
|
@@schema_element = [
|
167
167
|
["adGroupIds", "SOAP::SOAPInt[]"],
|
@@ -177,10 +177,10 @@ class DeleteCreativeList
|
|
177
177
|
end
|
178
178
|
end
|
179
179
|
|
180
|
-
# {https://adwords.google.com/api/adwords/
|
180
|
+
# {https://adwords.google.com/api/adwords/v5}deleteCreativeListResponse
|
181
181
|
class DeleteCreativeListResponse
|
182
182
|
@@schema_type = "deleteCreativeListResponse"
|
183
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
183
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
184
184
|
@@schema_qualified = "true"
|
185
185
|
@@schema_element = []
|
186
186
|
|
@@ -188,10 +188,10 @@ class DeleteCreativeListResponse
|
|
188
188
|
end
|
189
189
|
end
|
190
190
|
|
191
|
-
# {https://adwords.google.com/api/adwords/
|
191
|
+
# {https://adwords.google.com/api/adwords/v5}activateCreative
|
192
192
|
class ActivateCreative
|
193
193
|
@@schema_type = "activateCreative"
|
194
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
194
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
195
195
|
@@schema_qualified = "true"
|
196
196
|
@@schema_element = [
|
197
197
|
["adGroupId", "SOAP::SOAPInt"],
|
@@ -207,10 +207,10 @@ class ActivateCreative
|
|
207
207
|
end
|
208
208
|
end
|
209
209
|
|
210
|
-
# {https://adwords.google.com/api/adwords/
|
210
|
+
# {https://adwords.google.com/api/adwords/v5}activateCreativeResponse
|
211
211
|
class ActivateCreativeResponse
|
212
212
|
@@schema_type = "activateCreativeResponse"
|
213
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
213
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
214
214
|
@@schema_qualified = "true"
|
215
215
|
@@schema_element = []
|
216
216
|
|
@@ -218,10 +218,10 @@ class ActivateCreativeResponse
|
|
218
218
|
end
|
219
219
|
end
|
220
220
|
|
221
|
-
# {https://adwords.google.com/api/adwords/
|
221
|
+
# {https://adwords.google.com/api/adwords/v5}activateCreativeList
|
222
222
|
class ActivateCreativeList
|
223
223
|
@@schema_type = "activateCreativeList"
|
224
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
224
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
225
225
|
@@schema_qualified = "true"
|
226
226
|
@@schema_element = [
|
227
227
|
["adGroupIds", "SOAP::SOAPInt[]"],
|
@@ -237,10 +237,10 @@ class ActivateCreativeList
|
|
237
237
|
end
|
238
238
|
end
|
239
239
|
|
240
|
-
# {https://adwords.google.com/api/adwords/
|
240
|
+
# {https://adwords.google.com/api/adwords/v5}activateCreativeListResponse
|
241
241
|
class ActivateCreativeListResponse
|
242
242
|
@@schema_type = "activateCreativeListResponse"
|
243
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
243
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
244
244
|
@@schema_qualified = "true"
|
245
245
|
@@schema_element = []
|
246
246
|
|
@@ -248,10 +248,10 @@ class ActivateCreativeListResponse
|
|
248
248
|
end
|
249
249
|
end
|
250
250
|
|
251
|
-
# {https://adwords.google.com/api/adwords/
|
251
|
+
# {https://adwords.google.com/api/adwords/v5}Image
|
252
252
|
class Image
|
253
253
|
@@schema_type = "Image"
|
254
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
254
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
255
255
|
@@schema_element = [
|
256
256
|
["data", "SOAP::SOAPBase64"],
|
257
257
|
["height", "SOAP::SOAPInt"],
|
@@ -284,10 +284,10 @@ class Image
|
|
284
284
|
end
|
285
285
|
end
|
286
286
|
|
287
|
-
# {https://adwords.google.com/api/adwords/
|
287
|
+
# {https://adwords.google.com/api/adwords/v5}Creative
|
288
288
|
class Creative
|
289
289
|
@@schema_type = "Creative"
|
290
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
290
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
291
291
|
@@schema_element = [
|
292
292
|
["adGroupId", "SOAP::SOAPInt"],
|
293
293
|
["deleted", "SOAP::SOAPBoolean"],
|
@@ -329,70 +329,73 @@ class Creative
|
|
329
329
|
end
|
330
330
|
end
|
331
331
|
|
332
|
-
# {https://adwords.google.com/api/adwords/
|
333
|
-
class AdPolicyViolation
|
334
|
-
@@schema_type = "AdPolicyViolation"
|
335
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
336
|
-
@@schema_element = [
|
337
|
-
["detail", "SOAP::SOAPString"],
|
338
|
-
["index", "SOAP::SOAPInt"],
|
339
|
-
["isExemptable", "SOAP::SOAPBoolean"],
|
340
|
-
["line", "SOAP::SOAPInt"],
|
341
|
-
["textIndex", "SOAP::SOAPInt"],
|
342
|
-
["textLength", "SOAP::SOAPInt"],
|
343
|
-
["trigger", "SOAP::SOAPString"]
|
344
|
-
]
|
345
|
-
|
346
|
-
attr_accessor :detail
|
347
|
-
attr_accessor :index
|
348
|
-
attr_accessor :isExemptable
|
349
|
-
attr_accessor :line
|
350
|
-
attr_accessor :textIndex
|
351
|
-
attr_accessor :textLength
|
352
|
-
attr_accessor :trigger
|
353
|
-
|
354
|
-
def initialize(detail = nil, index = nil, isExemptable = nil, line = nil, textIndex = nil, textLength = nil, trigger = nil)
|
355
|
-
@detail = detail
|
356
|
-
@index = index
|
357
|
-
@isExemptable = isExemptable
|
358
|
-
@line = line
|
359
|
-
@textIndex = textIndex
|
360
|
-
@textLength = textLength
|
361
|
-
@trigger = trigger
|
362
|
-
end
|
363
|
-
end
|
364
|
-
|
365
|
-
# {https://adwords.google.com/api/adwords/v3}ApiException
|
332
|
+
# {https://adwords.google.com/api/adwords/v5}ApiException
|
366
333
|
class ApiException
|
367
334
|
@@schema_type = "ApiException"
|
368
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
335
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
369
336
|
@@schema_element = [
|
370
337
|
["code", "SOAP::SOAPInt"],
|
371
338
|
["internal", "SOAP::SOAPBoolean"],
|
372
339
|
["message", "SOAP::SOAPString"],
|
373
340
|
["trigger", "SOAP::SOAPString"],
|
374
|
-
["
|
341
|
+
["errors", "ApiError[]"]
|
375
342
|
]
|
376
343
|
|
377
344
|
attr_accessor :code
|
378
345
|
attr_accessor :internal
|
379
346
|
attr_accessor :message
|
380
347
|
attr_accessor :trigger
|
381
|
-
attr_accessor :
|
348
|
+
attr_accessor :errors
|
382
349
|
|
383
|
-
def initialize(code = nil, internal = nil, message = nil, trigger = nil,
|
350
|
+
def initialize(code = nil, internal = nil, message = nil, trigger = nil, errors = [])
|
384
351
|
@code = code
|
385
352
|
@internal = internal
|
386
353
|
@message = message
|
387
354
|
@trigger = trigger
|
388
|
-
@
|
355
|
+
@errors = errors
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
# {https://adwords.google.com/api/adwords/v5}ApiError
|
360
|
+
class ApiError
|
361
|
+
@@schema_type = "ApiError"
|
362
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
363
|
+
@@schema_element = [
|
364
|
+
["index", "SOAP::SOAPInt"],
|
365
|
+
["field", "SOAP::SOAPString"],
|
366
|
+
["textIndex", "SOAP::SOAPInt"],
|
367
|
+
["textLength", "SOAP::SOAPInt"],
|
368
|
+
["trigger", "SOAP::SOAPString"],
|
369
|
+
["code", "SOAP::SOAPInt"],
|
370
|
+
["isExemptable", "SOAP::SOAPBoolean"],
|
371
|
+
["detail", "SOAP::SOAPString"]
|
372
|
+
]
|
373
|
+
|
374
|
+
attr_accessor :index
|
375
|
+
attr_accessor :field
|
376
|
+
attr_accessor :textIndex
|
377
|
+
attr_accessor :textLength
|
378
|
+
attr_accessor :trigger
|
379
|
+
attr_accessor :code
|
380
|
+
attr_accessor :isExemptable
|
381
|
+
attr_accessor :detail
|
382
|
+
|
383
|
+
def initialize(index = nil, field = nil, textIndex = nil, textLength = nil, trigger = nil, code = nil, isExemptable = nil, detail = nil)
|
384
|
+
@index = index
|
385
|
+
@field = field
|
386
|
+
@textIndex = textIndex
|
387
|
+
@textLength = textLength
|
388
|
+
@trigger = trigger
|
389
|
+
@code = code
|
390
|
+
@isExemptable = isExemptable
|
391
|
+
@detail = detail
|
389
392
|
end
|
390
393
|
end
|
391
394
|
|
392
|
-
# {https://adwords.google.com/api/adwords/
|
395
|
+
# {https://adwords.google.com/api/adwords/v5}ImageType
|
393
396
|
class ImageType < ::String
|
394
397
|
@@schema_type = "ImageType"
|
395
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/
|
398
|
+
@@schema_ns = "https://adwords.google.com/api/adwords/v5"
|
396
399
|
|
397
400
|
DynamicImage = ImageType.new("dynamicImage")
|
398
401
|
Flash = ImageType.new("flash")
|