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,102 +0,0 @@
|
|
1
|
-
require 'default.rb'
|
2
|
-
|
3
|
-
require 'soap/rpc/driver'
|
4
|
-
|
5
|
-
class CreativeService < ::SOAP::RPC::Driver
|
6
|
-
DefaultEndpointUrl = "https://adwords.google.com:443/api/adwords/v2/CreativeService"
|
7
|
-
MappingRegistry = ::SOAP::Mapping::Registry.new
|
8
|
-
|
9
|
-
Methods = [
|
10
|
-
[ "",
|
11
|
-
"getAllCreatives",
|
12
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getAllCreatives"], true],
|
13
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getAllCreativesResponse"], true] ],
|
14
|
-
{ :request_style => :document, :request_use => :literal,
|
15
|
-
:response_style => :document, :response_use => :literal }
|
16
|
-
],
|
17
|
-
[ "",
|
18
|
-
"getActiveCreatives",
|
19
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getActiveCreatives"], true],
|
20
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getActiveCreativesResponse"], true] ],
|
21
|
-
{ :request_style => :document, :request_use => :literal,
|
22
|
-
:response_style => :document, :response_use => :literal }
|
23
|
-
],
|
24
|
-
[ "",
|
25
|
-
"getCreative",
|
26
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getCreative"], true],
|
27
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "getCreativeResponse"], true] ],
|
28
|
-
{ :request_style => :document, :request_use => :literal,
|
29
|
-
:response_style => :document, :response_use => :literal }
|
30
|
-
],
|
31
|
-
[ "",
|
32
|
-
"addCreative",
|
33
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "addCreative"], true],
|
34
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "addCreativeResponse"], true] ],
|
35
|
-
{ :request_style => :document, :request_use => :literal,
|
36
|
-
:response_style => :document, :response_use => :literal }
|
37
|
-
],
|
38
|
-
[ "",
|
39
|
-
"addCreativeList",
|
40
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "addCreativeList"], true],
|
41
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "addCreativeListResponse"], true] ],
|
42
|
-
{ :request_style => :document, :request_use => :literal,
|
43
|
-
:response_style => :document, :response_use => :literal }
|
44
|
-
],
|
45
|
-
[ "",
|
46
|
-
"deleteCreative",
|
47
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "deleteCreative"], true],
|
48
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "deleteCreativeResponse"], true] ],
|
49
|
-
{ :request_style => :document, :request_use => :literal,
|
50
|
-
:response_style => :document, :response_use => :literal }
|
51
|
-
],
|
52
|
-
[ "",
|
53
|
-
"deleteCreativeList",
|
54
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "deleteCreativeList"], true],
|
55
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "deleteCreativeListResponse"], true] ],
|
56
|
-
{ :request_style => :document, :request_use => :literal,
|
57
|
-
:response_style => :document, :response_use => :literal }
|
58
|
-
],
|
59
|
-
[ "",
|
60
|
-
"activateCreative",
|
61
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "activateCreative"], true],
|
62
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "activateCreativeResponse"], true] ],
|
63
|
-
{ :request_style => :document, :request_use => :literal,
|
64
|
-
:response_style => :document, :response_use => :literal }
|
65
|
-
],
|
66
|
-
[ "",
|
67
|
-
"activateCreativeList",
|
68
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "activateCreativeList"], true],
|
69
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v2", "activateCreativeListResponse"], true] ],
|
70
|
-
{ :request_style => :document, :request_use => :literal,
|
71
|
-
:response_style => :document, :response_use => :literal }
|
72
|
-
]
|
73
|
-
]
|
74
|
-
|
75
|
-
def initialize(endpoint_url = nil)
|
76
|
-
endpoint_url ||= DefaultEndpointUrl
|
77
|
-
super(endpoint_url, nil)
|
78
|
-
self.mapping_registry = MappingRegistry
|
79
|
-
init_methods
|
80
|
-
end
|
81
|
-
|
82
|
-
private
|
83
|
-
|
84
|
-
def init_methods
|
85
|
-
Methods.each do |definitions|
|
86
|
-
opt = definitions.last
|
87
|
-
if opt[:request_style] == :document
|
88
|
-
add_document_operation(*definitions)
|
89
|
-
else
|
90
|
-
add_rpc_operation(*definitions)
|
91
|
-
qname = definitions[0]
|
92
|
-
name = definitions[2]
|
93
|
-
if qname.name != name and qname.name.capitalize == name.capitalize
|
94
|
-
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
95
|
-
__send__(name, *arg)
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
99
|
-
end
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
@@ -1,104 +0,0 @@
|
|
1
|
-
module AdWords
|
2
|
-
require 'adwords4r/v3/CreativeService'
|
3
|
-
|
4
|
-
require 'soap/rpc/driver'
|
5
|
-
|
6
|
-
class CreativeService < ::SOAP::RPC::Driver
|
7
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/CreativeService"
|
8
|
-
MappingRegistry = ::SOAP::Mapping::Registry.new
|
9
|
-
|
10
|
-
Methods = [
|
11
|
-
[ "",
|
12
|
-
"getAllCreatives",
|
13
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getAllCreatives"], true],
|
14
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getAllCreativesResponse"], true] ],
|
15
|
-
{ :request_style => :document, :request_use => :literal,
|
16
|
-
:response_style => :document, :response_use => :literal }
|
17
|
-
],
|
18
|
-
[ "",
|
19
|
-
"getActiveCreatives",
|
20
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getActiveCreatives"], true],
|
21
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getActiveCreativesResponse"], true] ],
|
22
|
-
{ :request_style => :document, :request_use => :literal,
|
23
|
-
:response_style => :document, :response_use => :literal }
|
24
|
-
],
|
25
|
-
[ "",
|
26
|
-
"getCreative",
|
27
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getCreative"], true],
|
28
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getCreativeResponse"], true] ],
|
29
|
-
{ :request_style => :document, :request_use => :literal,
|
30
|
-
:response_style => :document, :response_use => :literal }
|
31
|
-
],
|
32
|
-
[ "",
|
33
|
-
"addCreative",
|
34
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "addCreative"], true],
|
35
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "addCreativeResponse"], true] ],
|
36
|
-
{ :request_style => :document, :request_use => :literal,
|
37
|
-
:response_style => :document, :response_use => :literal }
|
38
|
-
],
|
39
|
-
[ "",
|
40
|
-
"addCreativeList",
|
41
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "addCreativeList"], true],
|
42
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "addCreativeListResponse"], true] ],
|
43
|
-
{ :request_style => :document, :request_use => :literal,
|
44
|
-
:response_style => :document, :response_use => :literal }
|
45
|
-
],
|
46
|
-
[ "",
|
47
|
-
"deleteCreative",
|
48
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "deleteCreative"], true],
|
49
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "deleteCreativeResponse"], true] ],
|
50
|
-
{ :request_style => :document, :request_use => :literal,
|
51
|
-
:response_style => :document, :response_use => :literal }
|
52
|
-
],
|
53
|
-
[ "",
|
54
|
-
"deleteCreativeList",
|
55
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "deleteCreativeList"], true],
|
56
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "deleteCreativeListResponse"], true] ],
|
57
|
-
{ :request_style => :document, :request_use => :literal,
|
58
|
-
:response_style => :document, :response_use => :literal }
|
59
|
-
],
|
60
|
-
[ "",
|
61
|
-
"activateCreative",
|
62
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "activateCreative"], true],
|
63
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "activateCreativeResponse"], true] ],
|
64
|
-
{ :request_style => :document, :request_use => :literal,
|
65
|
-
:response_style => :document, :response_use => :literal }
|
66
|
-
],
|
67
|
-
[ "",
|
68
|
-
"activateCreativeList",
|
69
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "activateCreativeList"], true],
|
70
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "activateCreativeListResponse"], true] ],
|
71
|
-
{ :request_style => :document, :request_use => :literal,
|
72
|
-
:response_style => :document, :response_use => :literal }
|
73
|
-
]
|
74
|
-
]
|
75
|
-
|
76
|
-
def initialize(endpoint_url = nil)
|
77
|
-
endpoint_url ||= DefaultEndpointUrl
|
78
|
-
super(endpoint_url, nil)
|
79
|
-
self.mapping_registry = MappingRegistry
|
80
|
-
init_methods
|
81
|
-
end
|
82
|
-
|
83
|
-
private
|
84
|
-
|
85
|
-
def init_methods
|
86
|
-
Methods.each do |definitions|
|
87
|
-
opt = definitions.last
|
88
|
-
if opt[:request_style] == :document
|
89
|
-
add_document_operation(*definitions)
|
90
|
-
else
|
91
|
-
add_rpc_operation(*definitions)
|
92
|
-
qname = definitions[0]
|
93
|
-
name = definitions[2]
|
94
|
-
if qname.name != name and qname.name.capitalize == name.capitalize
|
95
|
-
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
96
|
-
__send__(name, *arg)
|
97
|
-
end
|
98
|
-
end
|
99
|
-
end
|
100
|
-
end
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
end
|
@@ -1,90 +0,0 @@
|
|
1
|
-
module AdWords
|
2
|
-
require 'adwords4r/v3/InfoService'
|
3
|
-
|
4
|
-
require 'soap/rpc/driver'
|
5
|
-
|
6
|
-
class InfoServiceInterface < ::SOAP::RPC::Driver
|
7
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v3/InfoService"
|
8
|
-
MappingRegistry = ::SOAP::Mapping::Registry.new
|
9
|
-
|
10
|
-
Methods = [
|
11
|
-
[ "",
|
12
|
-
"getOperationCount",
|
13
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getOperationCount"], true],
|
14
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getOperationCountResponse"], true] ],
|
15
|
-
{ :request_style => :document, :request_use => :literal,
|
16
|
-
:response_style => :document, :response_use => :literal }
|
17
|
-
],
|
18
|
-
[ "",
|
19
|
-
"getOperationsQuotaThisMonth",
|
20
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getOperationsQuotaThisMonth"], true],
|
21
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getOperationsQuotaThisMonthResponse"], true] ],
|
22
|
-
{ :request_style => :document, :request_use => :literal,
|
23
|
-
:response_style => :document, :response_use => :literal }
|
24
|
-
],
|
25
|
-
[ "",
|
26
|
-
"getUsageQuotaThisMonth",
|
27
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getUsageQuotaThisMonth"], true],
|
28
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getUsageQuotaThisMonthResponse"], true] ],
|
29
|
-
{ :request_style => :document, :request_use => :literal,
|
30
|
-
:response_style => :document, :response_use => :literal }
|
31
|
-
],
|
32
|
-
[ "",
|
33
|
-
"getFreeUsageQuotaThisMonth",
|
34
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getFreeUsageQuotaThisMonth"], true],
|
35
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getFreeUsageQuotaThisMonthResponse"], true] ],
|
36
|
-
{ :request_style => :document, :request_use => :literal,
|
37
|
-
:response_style => :document, :response_use => :literal }
|
38
|
-
],
|
39
|
-
[ "",
|
40
|
-
"getMethodCost",
|
41
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getMethodCost"], true],
|
42
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getMethodCostResponse"], true] ],
|
43
|
-
{ :request_style => :document, :request_use => :literal,
|
44
|
-
:response_style => :document, :response_use => :literal }
|
45
|
-
],
|
46
|
-
[ "",
|
47
|
-
"getUnitCount",
|
48
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getUnitCount"], true],
|
49
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getUnitCountResponse"], true] ],
|
50
|
-
{ :request_style => :document, :request_use => :literal,
|
51
|
-
:response_style => :document, :response_use => :literal }
|
52
|
-
],
|
53
|
-
[ "",
|
54
|
-
"getUnitCountForMethod",
|
55
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getUnitCountForMethod"], true],
|
56
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v3", "getUnitCountForMethodResponse"], true] ],
|
57
|
-
{ :request_style => :document, :request_use => :literal,
|
58
|
-
:response_style => :document, :response_use => :literal }
|
59
|
-
]
|
60
|
-
]
|
61
|
-
|
62
|
-
def initialize(endpoint_url = nil)
|
63
|
-
endpoint_url ||= DefaultEndpointUrl
|
64
|
-
super(endpoint_url, nil)
|
65
|
-
self.mapping_registry = MappingRegistry
|
66
|
-
init_methods
|
67
|
-
end
|
68
|
-
|
69
|
-
private
|
70
|
-
|
71
|
-
def init_methods
|
72
|
-
Methods.each do |definitions|
|
73
|
-
opt = definitions.last
|
74
|
-
if opt[:request_style] == :document
|
75
|
-
add_document_operation(*definitions)
|
76
|
-
else
|
77
|
-
add_rpc_operation(*definitions)
|
78
|
-
qname = definitions[0]
|
79
|
-
name = definitions[2]
|
80
|
-
if qname.name != name and qname.name.capitalize == name.capitalize
|
81
|
-
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
82
|
-
__send__(name, *arg)
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
|
-
end
|
@@ -1,543 +0,0 @@
|
|
1
|
-
module AdWords
|
2
|
-
require 'xsd/qname'
|
3
|
-
|
4
|
-
# {https://adwords.google.com/api/adwords/v3}getAllKeywords
|
5
|
-
class GetAllKeywords
|
6
|
-
@@schema_type = "getAllKeywords"
|
7
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
8
|
-
@@schema_qualified = "true"
|
9
|
-
@@schema_element = [
|
10
|
-
["adGroupId", "SOAP::SOAPInt"]
|
11
|
-
]
|
12
|
-
|
13
|
-
attr_accessor :adGroupId
|
14
|
-
|
15
|
-
def initialize(adGroupId = nil)
|
16
|
-
@adGroupId = adGroupId
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
# {https://adwords.google.com/api/adwords/v3}getAllKeywordsResponse
|
21
|
-
class GetAllKeywordsResponse < ::Array
|
22
|
-
@@schema_element = [
|
23
|
-
["getAllKeywordsReturn", ["Keyword[]", XSD::QName.new("https://adwords.google.com/api/adwords/v3", "getAllKeywordsReturn")]]
|
24
|
-
]
|
25
|
-
end
|
26
|
-
|
27
|
-
# {https://adwords.google.com/api/adwords/v3}getKeywordList
|
28
|
-
class GetKeywordList
|
29
|
-
@@schema_type = "getKeywordList"
|
30
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
31
|
-
@@schema_qualified = "true"
|
32
|
-
@@schema_element = [
|
33
|
-
["adGroupId", "SOAP::SOAPInt"],
|
34
|
-
["keywordIds", "SOAP::SOAPLong[]"]
|
35
|
-
]
|
36
|
-
|
37
|
-
attr_accessor :adGroupId
|
38
|
-
attr_accessor :keywordIds
|
39
|
-
|
40
|
-
def initialize(adGroupId = nil, keywordIds = [])
|
41
|
-
@adGroupId = adGroupId
|
42
|
-
@keywordIds = keywordIds
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# {https://adwords.google.com/api/adwords/v3}getKeywordListResponse
|
47
|
-
class GetKeywordListResponse < ::Array
|
48
|
-
@@schema_element = [
|
49
|
-
["getKeywordListReturn", ["Keyword[]", XSD::QName.new("https://adwords.google.com/api/adwords/v3", "getKeywordListReturn")]]
|
50
|
-
]
|
51
|
-
end
|
52
|
-
|
53
|
-
# {https://adwords.google.com/api/adwords/v3}getActiveKeywords
|
54
|
-
class GetActiveKeywords
|
55
|
-
@@schema_type = "getActiveKeywords"
|
56
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
57
|
-
@@schema_qualified = "true"
|
58
|
-
@@schema_element = [
|
59
|
-
["adGroupId", "SOAP::SOAPInt"]
|
60
|
-
]
|
61
|
-
|
62
|
-
attr_accessor :adGroupId
|
63
|
-
|
64
|
-
def initialize(adGroupId = nil)
|
65
|
-
@adGroupId = adGroupId
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
# {https://adwords.google.com/api/adwords/v3}getActiveKeywordsResponse
|
70
|
-
class GetActiveKeywordsResponse < ::Array
|
71
|
-
@@schema_element = [
|
72
|
-
["getActiveKeywordsReturn", ["Keyword[]", XSD::QName.new("https://adwords.google.com/api/adwords/v3", "getActiveKeywordsReturn")]]
|
73
|
-
]
|
74
|
-
end
|
75
|
-
|
76
|
-
# {https://adwords.google.com/api/adwords/v3}setKeywordListMaxCpc
|
77
|
-
class SetKeywordListMaxCpc
|
78
|
-
@@schema_type = "setKeywordListMaxCpc"
|
79
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
80
|
-
@@schema_qualified = "true"
|
81
|
-
@@schema_element = [
|
82
|
-
["adGroupId", "SOAP::SOAPInt"],
|
83
|
-
["keywordIds", "SOAP::SOAPLong[]"],
|
84
|
-
["maxCpcs", "SOAP::SOAPLong[]"]
|
85
|
-
]
|
86
|
-
|
87
|
-
attr_accessor :adGroupId
|
88
|
-
attr_accessor :keywordIds
|
89
|
-
attr_accessor :maxCpcs
|
90
|
-
|
91
|
-
def initialize(adGroupId = nil, keywordIds = [], maxCpcs = [])
|
92
|
-
@adGroupId = adGroupId
|
93
|
-
@keywordIds = keywordIds
|
94
|
-
@maxCpcs = maxCpcs
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|
98
|
-
# {https://adwords.google.com/api/adwords/v3}setKeywordListMaxCpcResponse
|
99
|
-
class SetKeywordListMaxCpcResponse
|
100
|
-
@@schema_type = "setKeywordListMaxCpcResponse"
|
101
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
102
|
-
@@schema_qualified = "true"
|
103
|
-
@@schema_element = []
|
104
|
-
|
105
|
-
def initialize
|
106
|
-
end
|
107
|
-
end
|
108
|
-
|
109
|
-
# {https://adwords.google.com/api/adwords/v3}setKeywordListSingleMaxCpc
|
110
|
-
class SetKeywordListSingleMaxCpc
|
111
|
-
@@schema_type = "setKeywordListSingleMaxCpc"
|
112
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
113
|
-
@@schema_qualified = "true"
|
114
|
-
@@schema_element = [
|
115
|
-
["adGroupId", "SOAP::SOAPInt"],
|
116
|
-
["keywordIds", "SOAP::SOAPLong[]"],
|
117
|
-
["maxCpc", "SOAP::SOAPLong"]
|
118
|
-
]
|
119
|
-
|
120
|
-
attr_accessor :adGroupId
|
121
|
-
attr_accessor :keywordIds
|
122
|
-
attr_accessor :maxCpc
|
123
|
-
|
124
|
-
def initialize(adGroupId = nil, keywordIds = [], maxCpc = nil)
|
125
|
-
@adGroupId = adGroupId
|
126
|
-
@keywordIds = keywordIds
|
127
|
-
@maxCpc = maxCpc
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
# {https://adwords.google.com/api/adwords/v3}setKeywordListSingleMaxCpcResponse
|
132
|
-
class SetKeywordListSingleMaxCpcResponse
|
133
|
-
@@schema_type = "setKeywordListSingleMaxCpcResponse"
|
134
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
135
|
-
@@schema_qualified = "true"
|
136
|
-
@@schema_element = []
|
137
|
-
|
138
|
-
def initialize
|
139
|
-
end
|
140
|
-
end
|
141
|
-
|
142
|
-
# {https://adwords.google.com/api/adwords/v3}updateKeyword
|
143
|
-
class UpdateKeyword
|
144
|
-
@@schema_type = "updateKeyword"
|
145
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
146
|
-
@@schema_qualified = "true"
|
147
|
-
@@schema_element = [
|
148
|
-
["keyword", "Keyword"]
|
149
|
-
]
|
150
|
-
|
151
|
-
attr_accessor :keyword
|
152
|
-
|
153
|
-
def initialize(keyword = nil)
|
154
|
-
@keyword = keyword
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
|
-
# {https://adwords.google.com/api/adwords/v3}updateKeywordResponse
|
159
|
-
class UpdateKeywordResponse
|
160
|
-
@@schema_type = "updateKeywordResponse"
|
161
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
162
|
-
@@schema_qualified = "true"
|
163
|
-
@@schema_element = []
|
164
|
-
|
165
|
-
def initialize
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
|
-
# {https://adwords.google.com/api/adwords/v3}updateKeywordList
|
170
|
-
class UpdateKeywordList < ::Array
|
171
|
-
@@schema_element = [
|
172
|
-
["keywords", ["Keyword[]", XSD::QName.new("https://adwords.google.com/api/adwords/v3", "keywords")]]
|
173
|
-
]
|
174
|
-
end
|
175
|
-
|
176
|
-
# {https://adwords.google.com/api/adwords/v3}updateKeywordListResponse
|
177
|
-
class UpdateKeywordListResponse
|
178
|
-
@@schema_type = "updateKeywordListResponse"
|
179
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
180
|
-
@@schema_qualified = "true"
|
181
|
-
@@schema_element = []
|
182
|
-
|
183
|
-
def initialize
|
184
|
-
end
|
185
|
-
end
|
186
|
-
|
187
|
-
# {https://adwords.google.com/api/adwords/v3}addKeyword
|
188
|
-
class AddKeyword
|
189
|
-
@@schema_type = "addKeyword"
|
190
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
191
|
-
@@schema_qualified = "true"
|
192
|
-
@@schema_element = [
|
193
|
-
["newKeyword", "Keyword"]
|
194
|
-
]
|
195
|
-
|
196
|
-
attr_accessor :newKeyword
|
197
|
-
|
198
|
-
def initialize(newKeyword = nil)
|
199
|
-
@newKeyword = newKeyword
|
200
|
-
end
|
201
|
-
end
|
202
|
-
|
203
|
-
# {https://adwords.google.com/api/adwords/v3}addKeywordResponse
|
204
|
-
class AddKeywordResponse
|
205
|
-
@@schema_type = "addKeywordResponse"
|
206
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
207
|
-
@@schema_qualified = "true"
|
208
|
-
@@schema_element = [
|
209
|
-
["addKeywordReturn", "Keyword"]
|
210
|
-
]
|
211
|
-
|
212
|
-
attr_accessor :addKeywordReturn
|
213
|
-
|
214
|
-
def initialize(addKeywordReturn = nil)
|
215
|
-
@addKeywordReturn = addKeywordReturn
|
216
|
-
end
|
217
|
-
end
|
218
|
-
|
219
|
-
# {https://adwords.google.com/api/adwords/v3}addKeywordList
|
220
|
-
class AddKeywordList
|
221
|
-
@@schema_type = "addKeywordList"
|
222
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
223
|
-
@@schema_qualified = "true"
|
224
|
-
@@schema_element = [
|
225
|
-
["adGroupId", "SOAP::SOAPInt"],
|
226
|
-
["newKeywords", "Keyword[]"]
|
227
|
-
]
|
228
|
-
|
229
|
-
attr_accessor :adGroupId
|
230
|
-
attr_accessor :newKeywords
|
231
|
-
|
232
|
-
def initialize(adGroupId = nil, newKeywords = [])
|
233
|
-
@adGroupId = adGroupId
|
234
|
-
@newKeywords = newKeywords
|
235
|
-
end
|
236
|
-
end
|
237
|
-
|
238
|
-
# {https://adwords.google.com/api/adwords/v3}addKeywordListResponse
|
239
|
-
class AddKeywordListResponse < ::Array
|
240
|
-
@@schema_element = [
|
241
|
-
["addKeywordListReturn", ["Keyword[]", XSD::QName.new("https://adwords.google.com/api/adwords/v3", "addKeywordListReturn")]]
|
242
|
-
]
|
243
|
-
end
|
244
|
-
|
245
|
-
# {https://adwords.google.com/api/adwords/v3}removeKeywordList
|
246
|
-
class RemoveKeywordList
|
247
|
-
@@schema_type = "removeKeywordList"
|
248
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
249
|
-
@@schema_qualified = "true"
|
250
|
-
@@schema_element = [
|
251
|
-
["adGroupId", "SOAP::SOAPInt"],
|
252
|
-
["keywordIds", "SOAP::SOAPLong[]"]
|
253
|
-
]
|
254
|
-
|
255
|
-
attr_accessor :adGroupId
|
256
|
-
attr_accessor :keywordIds
|
257
|
-
|
258
|
-
def initialize(adGroupId = nil, keywordIds = [])
|
259
|
-
@adGroupId = adGroupId
|
260
|
-
@keywordIds = keywordIds
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
# {https://adwords.google.com/api/adwords/v3}removeKeywordListResponse
|
265
|
-
class RemoveKeywordListResponse
|
266
|
-
@@schema_type = "removeKeywordListResponse"
|
267
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
268
|
-
@@schema_qualified = "true"
|
269
|
-
@@schema_element = []
|
270
|
-
|
271
|
-
def initialize
|
272
|
-
end
|
273
|
-
end
|
274
|
-
|
275
|
-
# {https://adwords.google.com/api/adwords/v3}removeKeyword
|
276
|
-
class RemoveKeyword
|
277
|
-
@@schema_type = "removeKeyword"
|
278
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
279
|
-
@@schema_qualified = "true"
|
280
|
-
@@schema_element = [
|
281
|
-
["adGroupId", "SOAP::SOAPInt"],
|
282
|
-
["keywordId", "SOAP::SOAPLong"]
|
283
|
-
]
|
284
|
-
|
285
|
-
attr_accessor :adGroupId
|
286
|
-
attr_accessor :keywordId
|
287
|
-
|
288
|
-
def initialize(adGroupId = nil, keywordId = nil)
|
289
|
-
@adGroupId = adGroupId
|
290
|
-
@keywordId = keywordId
|
291
|
-
end
|
292
|
-
end
|
293
|
-
|
294
|
-
# {https://adwords.google.com/api/adwords/v3}removeKeywordResponse
|
295
|
-
class RemoveKeywordResponse
|
296
|
-
@@schema_type = "removeKeywordResponse"
|
297
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
298
|
-
@@schema_qualified = "true"
|
299
|
-
@@schema_element = []
|
300
|
-
|
301
|
-
def initialize
|
302
|
-
end
|
303
|
-
end
|
304
|
-
|
305
|
-
# {https://adwords.google.com/api/adwords/v3}getKeywordStats
|
306
|
-
class GetKeywordStats
|
307
|
-
@@schema_type = "getKeywordStats"
|
308
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
309
|
-
@@schema_qualified = "true"
|
310
|
-
@@schema_element = [
|
311
|
-
["adGroupId", "SOAP::SOAPInt"],
|
312
|
-
["keywordIds", "SOAP::SOAPLong[]"],
|
313
|
-
["start", "SOAP::SOAPDateTime"],
|
314
|
-
["v_end", ["SOAP::SOAPDateTime", XSD::QName.new("https://adwords.google.com/api/adwords/v3", "end")]]
|
315
|
-
]
|
316
|
-
|
317
|
-
attr_accessor :adGroupId
|
318
|
-
attr_accessor :keywordIds
|
319
|
-
attr_accessor :start
|
320
|
-
|
321
|
-
def end
|
322
|
-
@v_end
|
323
|
-
end
|
324
|
-
|
325
|
-
def end=(value)
|
326
|
-
@v_end = value
|
327
|
-
end
|
328
|
-
|
329
|
-
def initialize(adGroupId = nil, keywordIds = [], start = nil, v_end = nil)
|
330
|
-
@adGroupId = adGroupId
|
331
|
-
@keywordIds = keywordIds
|
332
|
-
@start = start
|
333
|
-
@v_end = v_end
|
334
|
-
end
|
335
|
-
end
|
336
|
-
|
337
|
-
# {https://adwords.google.com/api/adwords/v3}getKeywordStatsResponse
|
338
|
-
class GetKeywordStatsResponse < ::Array
|
339
|
-
@@schema_element = [
|
340
|
-
["getKeywordStatsReturn", ["StatsRecord[]", XSD::QName.new("https://adwords.google.com/api/adwords/v3", "getKeywordStatsReturn")]]
|
341
|
-
]
|
342
|
-
end
|
343
|
-
|
344
|
-
# {https://adwords.google.com/api/adwords/v3}Criterion
|
345
|
-
class Criterion
|
346
|
-
@@schema_type = "Criterion"
|
347
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
348
|
-
@@schema_element = [
|
349
|
-
["id", "SOAP::SOAPLong"],
|
350
|
-
["adGroupId", "SOAP::SOAPInt"],
|
351
|
-
["exemptionRequest", "SOAP::SOAPString"],
|
352
|
-
["criterionType", "SOAP::SOAPString"],
|
353
|
-
["language", "SOAP::SOAPString"],
|
354
|
-
["status", "SOAP::SOAPString"],
|
355
|
-
["negative", "SOAP::SOAPBoolean"],
|
356
|
-
["destinationUrl", "SOAP::SOAPString"]
|
357
|
-
]
|
358
|
-
|
359
|
-
attr_accessor :id
|
360
|
-
attr_accessor :adGroupId
|
361
|
-
attr_accessor :exemptionRequest
|
362
|
-
attr_accessor :criterionType
|
363
|
-
attr_accessor :language
|
364
|
-
attr_accessor :status
|
365
|
-
attr_accessor :negative
|
366
|
-
attr_accessor :destinationUrl
|
367
|
-
|
368
|
-
def initialize(id = nil, adGroupId = nil, exemptionRequest = nil, criterionType = nil, language = nil, status = nil, negative = nil, destinationUrl = nil)
|
369
|
-
@id = id
|
370
|
-
@adGroupId = adGroupId
|
371
|
-
@exemptionRequest = exemptionRequest
|
372
|
-
@criterionType = criterionType
|
373
|
-
@language = language
|
374
|
-
@status = status
|
375
|
-
@negative = negative
|
376
|
-
@destinationUrl = destinationUrl
|
377
|
-
end
|
378
|
-
end
|
379
|
-
|
380
|
-
# {https://adwords.google.com/api/adwords/v3}Keyword
|
381
|
-
class Keyword
|
382
|
-
@@schema_type = "Keyword"
|
383
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
384
|
-
@@schema_element = [
|
385
|
-
["id", "SOAP::SOAPLong"],
|
386
|
-
["adGroupId", "SOAP::SOAPInt"],
|
387
|
-
["exemptionRequest", "SOAP::SOAPString"],
|
388
|
-
["criterionType", "SOAP::SOAPString"],
|
389
|
-
["language", "SOAP::SOAPString"],
|
390
|
-
["status", "SOAP::SOAPString"],
|
391
|
-
["negative", "SOAP::SOAPBoolean"],
|
392
|
-
["destinationUrl", "SOAP::SOAPString"],
|
393
|
-
["type", "SOAP::SOAPString"],
|
394
|
-
["minCpc", "SOAP::SOAPLong"],
|
395
|
-
["maxCpc", "SOAP::SOAPLong"],
|
396
|
-
["text", "SOAP::SOAPString"]
|
397
|
-
]
|
398
|
-
|
399
|
-
attr_accessor :id
|
400
|
-
attr_accessor :adGroupId
|
401
|
-
attr_accessor :exemptionRequest
|
402
|
-
attr_accessor :criterionType
|
403
|
-
attr_accessor :language
|
404
|
-
attr_accessor :status
|
405
|
-
attr_accessor :negative
|
406
|
-
attr_accessor :destinationUrl
|
407
|
-
attr_accessor :type
|
408
|
-
attr_accessor :minCpc
|
409
|
-
attr_accessor :maxCpc
|
410
|
-
attr_accessor :text
|
411
|
-
|
412
|
-
def initialize(id = nil, adGroupId = nil, exemptionRequest = nil, criterionType = nil, language = nil, status = nil, negative = nil, destinationUrl = nil, type = nil, minCpc = nil, maxCpc = nil, text = nil)
|
413
|
-
@id = id
|
414
|
-
@adGroupId = adGroupId
|
415
|
-
@exemptionRequest = exemptionRequest
|
416
|
-
@criterionType = criterionType
|
417
|
-
@language = language
|
418
|
-
@status = status
|
419
|
-
@negative = negative
|
420
|
-
@destinationUrl = destinationUrl
|
421
|
-
@type = type
|
422
|
-
@minCpc = minCpc
|
423
|
-
@maxCpc = maxCpc
|
424
|
-
@text = text
|
425
|
-
end
|
426
|
-
end
|
427
|
-
|
428
|
-
# {https://adwords.google.com/api/adwords/v3}ApiException
|
429
|
-
class ApiException
|
430
|
-
@@schema_type = "ApiException"
|
431
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
432
|
-
@@schema_element = [
|
433
|
-
["code", "SOAP::SOAPInt"],
|
434
|
-
["internal", "SOAP::SOAPBoolean"],
|
435
|
-
["message", "SOAP::SOAPString"],
|
436
|
-
["trigger", "SOAP::SOAPString"],
|
437
|
-
["violations", "SOAP::SOAPString"]
|
438
|
-
]
|
439
|
-
|
440
|
-
attr_accessor :code
|
441
|
-
attr_accessor :internal
|
442
|
-
attr_accessor :message
|
443
|
-
attr_accessor :trigger
|
444
|
-
attr_accessor :violations
|
445
|
-
|
446
|
-
def initialize(code = nil, internal = nil, message = nil, trigger = nil, violations = nil)
|
447
|
-
@code = code
|
448
|
-
@internal = internal
|
449
|
-
@message = message
|
450
|
-
@trigger = trigger
|
451
|
-
@violations = violations
|
452
|
-
end
|
453
|
-
end
|
454
|
-
|
455
|
-
# {https://adwords.google.com/api/adwords/v3}AdPolicyViolation
|
456
|
-
class AdPolicyViolation
|
457
|
-
@@schema_type = "AdPolicyViolation"
|
458
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
459
|
-
@@schema_element = [
|
460
|
-
["index", "SOAP::SOAPInt"],
|
461
|
-
["line", "SOAP::SOAPInt"],
|
462
|
-
["textIndex", "SOAP::SOAPInt"],
|
463
|
-
["textLength", "SOAP::SOAPInt"],
|
464
|
-
["trigger", "SOAP::SOAPString"],
|
465
|
-
["detail", "SOAP::SOAPString"],
|
466
|
-
["isExemptable", "SOAP::SOAPBoolean"]
|
467
|
-
]
|
468
|
-
|
469
|
-
attr_accessor :index
|
470
|
-
attr_accessor :line
|
471
|
-
attr_accessor :textIndex
|
472
|
-
attr_accessor :textLength
|
473
|
-
attr_accessor :trigger
|
474
|
-
attr_accessor :detail
|
475
|
-
attr_accessor :isExemptable
|
476
|
-
|
477
|
-
def initialize(index = nil, line = nil, textIndex = nil, textLength = nil, trigger = nil, detail = nil, isExemptable = nil)
|
478
|
-
@index = index
|
479
|
-
@line = line
|
480
|
-
@textIndex = textIndex
|
481
|
-
@textLength = textLength
|
482
|
-
@trigger = trigger
|
483
|
-
@detail = detail
|
484
|
-
@isExemptable = isExemptable
|
485
|
-
end
|
486
|
-
end
|
487
|
-
|
488
|
-
# {https://adwords.google.com/api/adwords/v3}StatsRecord
|
489
|
-
class StatsRecord
|
490
|
-
@@schema_type = "StatsRecord"
|
491
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
492
|
-
@@schema_element = [
|
493
|
-
["averagePosition", "SOAP::SOAPDouble"],
|
494
|
-
["clicks", "SOAP::SOAPLong"],
|
495
|
-
["conversionRate", "SOAP::SOAPDouble"],
|
496
|
-
["conversions", "SOAP::SOAPLong"],
|
497
|
-
["cost", "SOAP::SOAPLong"],
|
498
|
-
["id", "SOAP::SOAPLong"],
|
499
|
-
["impressions", "SOAP::SOAPLong"]
|
500
|
-
]
|
501
|
-
|
502
|
-
attr_accessor :averagePosition
|
503
|
-
attr_accessor :clicks
|
504
|
-
attr_accessor :conversionRate
|
505
|
-
attr_accessor :conversions
|
506
|
-
attr_accessor :cost
|
507
|
-
attr_accessor :id
|
508
|
-
attr_accessor :impressions
|
509
|
-
|
510
|
-
def initialize(averagePosition = nil, clicks = nil, conversionRate = nil, conversions = nil, cost = nil, id = nil, impressions = nil)
|
511
|
-
@averagePosition = averagePosition
|
512
|
-
@clicks = clicks
|
513
|
-
@conversionRate = conversionRate
|
514
|
-
@conversions = conversions
|
515
|
-
@cost = cost
|
516
|
-
@id = id
|
517
|
-
@impressions = impressions
|
518
|
-
end
|
519
|
-
end
|
520
|
-
|
521
|
-
# {https://adwords.google.com/api/adwords/v3}CriterionStatus
|
522
|
-
class CriterionStatus < ::String
|
523
|
-
@@schema_type = "CriterionStatus"
|
524
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
525
|
-
|
526
|
-
Deleted = CriterionStatus.new("Deleted")
|
527
|
-
Disabled = CriterionStatus.new("Disabled")
|
528
|
-
Disapproved = CriterionStatus.new("Disapproved")
|
529
|
-
InTrial = CriterionStatus.new("InTrial")
|
530
|
-
Normal = CriterionStatus.new("Normal")
|
531
|
-
OnHold = CriterionStatus.new("OnHold")
|
532
|
-
end
|
533
|
-
|
534
|
-
# {https://adwords.google.com/api/adwords/v3}KeywordType
|
535
|
-
class KeywordType < ::String
|
536
|
-
@@schema_type = "KeywordType"
|
537
|
-
@@schema_ns = "https://adwords.google.com/api/adwords/v3"
|
538
|
-
|
539
|
-
Broad = KeywordType.new("Broad")
|
540
|
-
Exact = KeywordType.new("Exact")
|
541
|
-
Phrase = KeywordType.new("Phrase")
|
542
|
-
end
|
543
|
-
end
|