adwords4r 12.1.0 → 13.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.txt +3 -0
- data/Rakefile +1 -1
- data/examples/account_info.rb +2 -2
- data/examples/create_all.rb +2 -2
- data/examples/keyword_suggestions.rb +14 -8
- data/examples/reports.rb +2 -2
- data/lib/adwords4r/services.rb +2 -0
- data/lib/adwords4r/v12/AccountServiceDriver.rb +3 -3
- data/lib/adwords4r/v12/AdGroupServiceDriver.rb +8 -8
- data/lib/adwords4r/v12/AdServiceDriver.rb +10 -10
- data/lib/adwords4r/v12/CampaignServiceDriver.rb +11 -11
- data/lib/adwords4r/v12/CriterionServiceDriver.rb +9 -9
- data/lib/adwords4r/v12/InfoServiceDriver.rb +8 -8
- data/lib/adwords4r/v12/KeywordToolServiceDriver.rb +2 -2
- data/lib/adwords4r/v12/ReportServiceDriver.rb +7 -7
- data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +2 -2
- data/lib/adwords4r/v12/SiteSuggestionServiceDriver.rb +4 -4
- data/lib/adwords4r/v12/TrafficEstimatorService.rb +1 -1
- data/lib/adwords4r/v12/TrafficEstimatorServiceDriver.rb +4 -4
- data/lib/adwords4r/v12/TrafficEstimatorServiceMappingRegistry.rb +2 -2
- data/lib/adwords4r/v13/AccountService.rb +297 -0
- data/lib/adwords4r/v13/AccountServiceDriver.rb +85 -0
- data/lib/adwords4r/v13/AccountServiceMappingRegistry.rb +337 -0
- data/lib/adwords4r/v13/AdGroupService.rb +277 -0
- data/lib/adwords4r/v13/AdGroupServiceDriver.rb +117 -0
- data/lib/adwords4r/v13/AdGroupServiceMappingRegistry.rb +296 -0
- data/lib/adwords4r/v13/AdService.rb +846 -0
- data/lib/adwords4r/v13/AdServiceDriver.rb +125 -0
- data/lib/adwords4r/v13/AdServiceMappingRegistry.rb +859 -0
- data/lib/adwords4r/v13/CampaignService.rb +562 -0
- data/lib/adwords4r/v13/CampaignServiceDriver.rb +149 -0
- data/lib/adwords4r/v13/CampaignServiceMappingRegistry.rb +696 -0
- data/lib/adwords4r/v13/CriterionService.rb +484 -0
- data/lib/adwords4r/v13/CriterionServiceDriver.rb +117 -0
- data/lib/adwords4r/v13/CriterionServiceMappingRegistry.rb +519 -0
- data/lib/adwords4r/v13/InfoService.rb +242 -0
- data/lib/adwords4r/v13/InfoServiceDriver.rb +109 -0
- data/lib/adwords4r/v13/InfoServiceMappingRegistry.rb +228 -0
- data/lib/adwords4r/v13/KeywordToolService.rb +211 -0
- data/lib/adwords4r/v13/KeywordToolServiceDriver.rb +61 -0
- data/lib/adwords4r/v13/KeywordToolServiceMappingRegistry.rb +231 -0
- data/lib/adwords4r/v13/ReportService.rb +322 -0
- data/lib/adwords4r/v13/ReportServiceDriver.rb +101 -0
- data/lib/adwords4r/v13/ReportServiceMappingRegistry.rb +298 -0
- data/lib/adwords4r/v13/SiteSuggestionService.rb +242 -0
- data/lib/adwords4r/v13/SiteSuggestionServiceDriver.rb +77 -0
- data/lib/adwords4r/v13/SiteSuggestionServiceMappingRegistry.rb +271 -0
- data/lib/adwords4r/v13/TrafficEstimatorService.rb +348 -0
- data/lib/adwords4r/v13/TrafficEstimatorServiceDriver.rb +77 -0
- data/lib/adwords4r/v13/TrafficEstimatorServiceMappingRegistry.rb +491 -0
- data/setup.rb +0 -0
- metadata +93 -54
@@ -0,0 +1,211 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module AdWords; module KeywordToolService
|
4
|
+
|
5
|
+
|
6
|
+
# {https://adwords.google.com/api/adwords/v13}ApiError
|
7
|
+
# code - SOAP::SOAPInt
|
8
|
+
# detail - SOAP::SOAPString
|
9
|
+
# field - SOAP::SOAPString
|
10
|
+
# index - SOAP::SOAPInt
|
11
|
+
# isExemptable - SOAP::SOAPBoolean
|
12
|
+
# textIndex - SOAP::SOAPInt
|
13
|
+
# textLength - SOAP::SOAPInt
|
14
|
+
# trigger - SOAP::SOAPString
|
15
|
+
class ApiError
|
16
|
+
attr_accessor :code
|
17
|
+
attr_accessor :detail
|
18
|
+
attr_accessor :field
|
19
|
+
attr_accessor :index
|
20
|
+
attr_accessor :isExemptable
|
21
|
+
attr_accessor :textIndex
|
22
|
+
attr_accessor :textLength
|
23
|
+
attr_accessor :trigger
|
24
|
+
|
25
|
+
def initialize(code = nil, detail = nil, field = nil, index = nil, isExemptable = nil, textIndex = nil, textLength = nil, trigger = nil)
|
26
|
+
@code = code
|
27
|
+
@detail = detail
|
28
|
+
@field = field
|
29
|
+
@index = index
|
30
|
+
@isExemptable = isExemptable
|
31
|
+
@textIndex = textIndex
|
32
|
+
@textLength = textLength
|
33
|
+
@trigger = trigger
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
# {https://adwords.google.com/api/adwords/v13}ApiException
|
38
|
+
# code - SOAP::SOAPInt
|
39
|
+
# errors - AdWords::KeywordToolService::ApiError
|
40
|
+
# internal - SOAP::SOAPBoolean
|
41
|
+
# message - SOAP::SOAPString
|
42
|
+
# trigger - SOAP::SOAPString
|
43
|
+
class ApiException
|
44
|
+
attr_accessor :code
|
45
|
+
attr_accessor :errors
|
46
|
+
attr_accessor :internal
|
47
|
+
attr_accessor :message
|
48
|
+
attr_accessor :trigger
|
49
|
+
|
50
|
+
def initialize(code = nil, errors = [], internal = nil, message = nil, trigger = nil)
|
51
|
+
@code = code
|
52
|
+
@errors = errors
|
53
|
+
@internal = internal
|
54
|
+
@message = message
|
55
|
+
@trigger = trigger
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# {https://adwords.google.com/api/adwords/v13}KeywordVariation
|
60
|
+
# advertiserCompetitionScale - SOAP::SOAPInt
|
61
|
+
# avgSearchVolume - SOAP::SOAPLong
|
62
|
+
# language - SOAP::SOAPString
|
63
|
+
# lastMonthSearchVolume - SOAP::SOAPLong
|
64
|
+
# text - SOAP::SOAPString
|
65
|
+
class KeywordVariation
|
66
|
+
attr_accessor :advertiserCompetitionScale
|
67
|
+
attr_accessor :avgSearchVolume
|
68
|
+
attr_accessor :language
|
69
|
+
attr_accessor :lastMonthSearchVolume
|
70
|
+
attr_accessor :text
|
71
|
+
|
72
|
+
def initialize(advertiserCompetitionScale = nil, avgSearchVolume = nil, language = nil, lastMonthSearchVolume = nil, text = nil)
|
73
|
+
@advertiserCompetitionScale = advertiserCompetitionScale
|
74
|
+
@avgSearchVolume = avgSearchVolume
|
75
|
+
@language = language
|
76
|
+
@lastMonthSearchVolume = lastMonthSearchVolume
|
77
|
+
@text = text
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# {https://adwords.google.com/api/adwords/v13}KeywordVariations
|
82
|
+
# additionalToConsider - AdWords::KeywordToolService::KeywordVariation
|
83
|
+
# moreSpecific - AdWords::KeywordToolService::KeywordVariation
|
84
|
+
class KeywordVariations
|
85
|
+
attr_accessor :additionalToConsider
|
86
|
+
attr_accessor :moreSpecific
|
87
|
+
|
88
|
+
def initialize(additionalToConsider = [], moreSpecific = [])
|
89
|
+
@additionalToConsider = additionalToConsider
|
90
|
+
@moreSpecific = moreSpecific
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# {https://adwords.google.com/api/adwords/v13}SeedKeyword
|
95
|
+
# negative - SOAP::SOAPBoolean
|
96
|
+
# text - SOAP::SOAPString
|
97
|
+
# type - AdWords::KeywordToolService::KeywordType
|
98
|
+
class SeedKeyword
|
99
|
+
attr_accessor :negative
|
100
|
+
attr_accessor :text
|
101
|
+
attr_accessor :type
|
102
|
+
|
103
|
+
def initialize(negative = nil, text = nil, type = nil)
|
104
|
+
@negative = negative
|
105
|
+
@text = text
|
106
|
+
@type = type
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# {https://adwords.google.com/api/adwords/v13}SiteKeyword
|
111
|
+
# advertiserCompetitionScale - SOAP::SOAPInt
|
112
|
+
# avgSearchVolume - SOAP::SOAPLong
|
113
|
+
# groupId - SOAP::SOAPInt
|
114
|
+
# lastMonthSearchVolume - SOAP::SOAPLong
|
115
|
+
# text - SOAP::SOAPString
|
116
|
+
class SiteKeyword
|
117
|
+
attr_accessor :advertiserCompetitionScale
|
118
|
+
attr_accessor :avgSearchVolume
|
119
|
+
attr_accessor :groupId
|
120
|
+
attr_accessor :lastMonthSearchVolume
|
121
|
+
attr_accessor :text
|
122
|
+
|
123
|
+
def initialize(advertiserCompetitionScale = nil, avgSearchVolume = nil, groupId = nil, lastMonthSearchVolume = nil, text = nil)
|
124
|
+
@advertiserCompetitionScale = advertiserCompetitionScale
|
125
|
+
@avgSearchVolume = avgSearchVolume
|
126
|
+
@groupId = groupId
|
127
|
+
@lastMonthSearchVolume = lastMonthSearchVolume
|
128
|
+
@text = text
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# {https://adwords.google.com/api/adwords/v13}SiteKeywordGroups
|
133
|
+
# groups - SOAP::SOAPString
|
134
|
+
# keywords - AdWords::KeywordToolService::SiteKeyword
|
135
|
+
class SiteKeywordGroups
|
136
|
+
attr_accessor :groups
|
137
|
+
attr_accessor :keywords
|
138
|
+
|
139
|
+
def initialize(groups = [], keywords = [])
|
140
|
+
@groups = groups
|
141
|
+
@keywords = keywords
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
# {https://adwords.google.com/api/adwords/v13}KeywordType
|
146
|
+
class KeywordType < ::String
|
147
|
+
Broad = KeywordType.new("Broad")
|
148
|
+
Exact = KeywordType.new("Exact")
|
149
|
+
Phrase = KeywordType.new("Phrase")
|
150
|
+
end
|
151
|
+
|
152
|
+
# {https://adwords.google.com/api/adwords/v13}getKeywordVariations
|
153
|
+
# seedKeywords - AdWords::KeywordToolService::SeedKeyword
|
154
|
+
# useSynonyms - SOAP::SOAPBoolean
|
155
|
+
# languages - SOAP::SOAPString
|
156
|
+
# countries - SOAP::SOAPString
|
157
|
+
class GetKeywordVariations
|
158
|
+
attr_accessor :seedKeywords
|
159
|
+
attr_accessor :useSynonyms
|
160
|
+
attr_accessor :languages
|
161
|
+
attr_accessor :countries
|
162
|
+
|
163
|
+
def initialize(seedKeywords = [], useSynonyms = nil, languages = [], countries = [])
|
164
|
+
@seedKeywords = seedKeywords
|
165
|
+
@useSynonyms = useSynonyms
|
166
|
+
@languages = languages
|
167
|
+
@countries = countries
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# {https://adwords.google.com/api/adwords/v13}getKeywordVariationsResponse
|
172
|
+
# getKeywordVariationsReturn - AdWords::KeywordToolService::KeywordVariations
|
173
|
+
class GetKeywordVariationsResponse
|
174
|
+
attr_accessor :getKeywordVariationsReturn
|
175
|
+
|
176
|
+
def initialize(getKeywordVariationsReturn = nil)
|
177
|
+
@getKeywordVariationsReturn = getKeywordVariationsReturn
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
# {https://adwords.google.com/api/adwords/v13}getKeywordsFromSite
|
182
|
+
# url - SOAP::SOAPString
|
183
|
+
# includeLinkedPages - SOAP::SOAPBoolean
|
184
|
+
# languages - SOAP::SOAPString
|
185
|
+
# countries - SOAP::SOAPString
|
186
|
+
class GetKeywordsFromSite
|
187
|
+
attr_accessor :url
|
188
|
+
attr_accessor :includeLinkedPages
|
189
|
+
attr_accessor :languages
|
190
|
+
attr_accessor :countries
|
191
|
+
|
192
|
+
def initialize(url = nil, includeLinkedPages = nil, languages = [], countries = [])
|
193
|
+
@url = url
|
194
|
+
@includeLinkedPages = includeLinkedPages
|
195
|
+
@languages = languages
|
196
|
+
@countries = countries
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# {https://adwords.google.com/api/adwords/v13}getKeywordsFromSiteResponse
|
201
|
+
# getKeywordsFromSiteReturn - AdWords::KeywordToolService::SiteKeywordGroups
|
202
|
+
class GetKeywordsFromSiteResponse
|
203
|
+
attr_accessor :getKeywordsFromSiteReturn
|
204
|
+
|
205
|
+
def initialize(getKeywordsFromSiteReturn = nil)
|
206
|
+
@getKeywordsFromSiteReturn = getKeywordsFromSiteReturn
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
|
211
|
+
end; end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require 'adwords4r/v13/KeywordToolService'
|
2
|
+
require 'adwords4r/v13/KeywordToolServiceMappingRegistry'
|
3
|
+
require 'soap/rpc/driver'
|
4
|
+
|
5
|
+
module AdWords
|
6
|
+
module KeywordToolService
|
7
|
+
|
8
|
+
class KeywordToolInterface < ::SOAP::RPC::Driver
|
9
|
+
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v13/KeywordToolService"
|
10
|
+
|
11
|
+
Methods = [
|
12
|
+
[ "",
|
13
|
+
"getKeywordVariations",
|
14
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getKeywordVariations"]],
|
15
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getKeywordVariationsResponse"]] ],
|
16
|
+
{ :request_style => :document, :request_use => :literal,
|
17
|
+
:response_style => :document, :response_use => :literal,
|
18
|
+
:faults => {"AdWords::KeywordToolService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
|
19
|
+
],
|
20
|
+
[ "",
|
21
|
+
"getKeywordsFromSite",
|
22
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getKeywordsFromSite"]],
|
23
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getKeywordsFromSiteResponse"]] ],
|
24
|
+
{ :request_style => :document, :request_use => :literal,
|
25
|
+
:response_style => :document, :response_use => :literal,
|
26
|
+
:faults => {"AdWords::KeywordToolService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v13", :use=>"literal"}} }
|
27
|
+
]
|
28
|
+
]
|
29
|
+
|
30
|
+
def initialize(endpoint_url = nil)
|
31
|
+
endpoint_url ||= DefaultEndpointUrl
|
32
|
+
super(endpoint_url, nil)
|
33
|
+
self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
|
34
|
+
self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
|
35
|
+
init_methods
|
36
|
+
end
|
37
|
+
|
38
|
+
private
|
39
|
+
|
40
|
+
def init_methods
|
41
|
+
Methods.each do |definitions|
|
42
|
+
opt = definitions.last
|
43
|
+
if opt[:request_style] == :document
|
44
|
+
add_document_operation(*definitions)
|
45
|
+
else
|
46
|
+
add_rpc_operation(*definitions)
|
47
|
+
qname = definitions[0]
|
48
|
+
name = definitions[2]
|
49
|
+
if qname.name != name and qname.name.capitalize == name.capitalize
|
50
|
+
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
51
|
+
__send__(name, *arg)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,231 @@
|
|
1
|
+
require 'adwords4r/v13/KeywordToolService'
|
2
|
+
require 'soap/mapping'
|
3
|
+
|
4
|
+
module AdWords; module KeywordToolService
|
5
|
+
|
6
|
+
module DefaultMappingRegistry
|
7
|
+
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
8
|
+
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
9
|
+
NsV13 = "https://adwords.google.com/api/adwords/v13"
|
10
|
+
|
11
|
+
EncodedRegistry.register(
|
12
|
+
:class => AdWords::KeywordToolService::ApiError,
|
13
|
+
:schema_type => XSD::QName.new(NsV13, "ApiError"),
|
14
|
+
:schema_element => [
|
15
|
+
["code", "SOAP::SOAPInt"],
|
16
|
+
["detail", "SOAP::SOAPString"],
|
17
|
+
["field", "SOAP::SOAPString", [0, 1]],
|
18
|
+
["index", "SOAP::SOAPInt"],
|
19
|
+
["isExemptable", "SOAP::SOAPBoolean"],
|
20
|
+
["textIndex", "SOAP::SOAPInt", [0, 1]],
|
21
|
+
["textLength", "SOAP::SOAPInt", [0, 1]],
|
22
|
+
["trigger", "SOAP::SOAPString", [0, 1]]
|
23
|
+
]
|
24
|
+
)
|
25
|
+
|
26
|
+
EncodedRegistry.register(
|
27
|
+
:class => AdWords::KeywordToolService::ApiException,
|
28
|
+
:schema_type => XSD::QName.new(NsV13, "ApiException"),
|
29
|
+
:schema_element => [
|
30
|
+
["code", "SOAP::SOAPInt"],
|
31
|
+
["errors", "AdWords::KeywordToolService::ApiError[]", [1, nil]],
|
32
|
+
["internal", "SOAP::SOAPBoolean"],
|
33
|
+
["message", "SOAP::SOAPString"],
|
34
|
+
["trigger", "SOAP::SOAPString"]
|
35
|
+
]
|
36
|
+
)
|
37
|
+
|
38
|
+
EncodedRegistry.register(
|
39
|
+
:class => AdWords::KeywordToolService::KeywordVariation,
|
40
|
+
:schema_type => XSD::QName.new(NsV13, "KeywordVariation"),
|
41
|
+
:schema_element => [
|
42
|
+
["advertiserCompetitionScale", "SOAP::SOAPInt"],
|
43
|
+
["avgSearchVolume", "SOAP::SOAPLong"],
|
44
|
+
["language", "SOAP::SOAPString"],
|
45
|
+
["lastMonthSearchVolume", "SOAP::SOAPLong"],
|
46
|
+
["text", "SOAP::SOAPString"]
|
47
|
+
]
|
48
|
+
)
|
49
|
+
|
50
|
+
EncodedRegistry.register(
|
51
|
+
:class => AdWords::KeywordToolService::KeywordVariations,
|
52
|
+
:schema_type => XSD::QName.new(NsV13, "KeywordVariations"),
|
53
|
+
:schema_element => [
|
54
|
+
["additionalToConsider", "AdWords::KeywordToolService::KeywordVariation[]", [1, nil]],
|
55
|
+
["moreSpecific", "AdWords::KeywordToolService::KeywordVariation[]", [1, nil]]
|
56
|
+
]
|
57
|
+
)
|
58
|
+
|
59
|
+
EncodedRegistry.register(
|
60
|
+
:class => AdWords::KeywordToolService::SeedKeyword,
|
61
|
+
:schema_type => XSD::QName.new(NsV13, "SeedKeyword"),
|
62
|
+
:schema_element => [
|
63
|
+
["negative", "SOAP::SOAPBoolean", [0, 1]],
|
64
|
+
["text", "SOAP::SOAPString"],
|
65
|
+
["type", "AdWords::KeywordToolService::KeywordType"]
|
66
|
+
]
|
67
|
+
)
|
68
|
+
|
69
|
+
EncodedRegistry.register(
|
70
|
+
:class => AdWords::KeywordToolService::SiteKeyword,
|
71
|
+
:schema_type => XSD::QName.new(NsV13, "SiteKeyword"),
|
72
|
+
:schema_element => [
|
73
|
+
["advertiserCompetitionScale", "SOAP::SOAPInt"],
|
74
|
+
["avgSearchVolume", "SOAP::SOAPLong"],
|
75
|
+
["groupId", "SOAP::SOAPInt"],
|
76
|
+
["lastMonthSearchVolume", "SOAP::SOAPLong"],
|
77
|
+
["text", "SOAP::SOAPString"]
|
78
|
+
]
|
79
|
+
)
|
80
|
+
|
81
|
+
EncodedRegistry.register(
|
82
|
+
:class => AdWords::KeywordToolService::SiteKeywordGroups,
|
83
|
+
:schema_type => XSD::QName.new(NsV13, "SiteKeywordGroups"),
|
84
|
+
:schema_element => [
|
85
|
+
["groups", "SOAP::SOAPString[]", [1, nil]],
|
86
|
+
["keywords", "AdWords::KeywordToolService::SiteKeyword[]", [1, nil]]
|
87
|
+
]
|
88
|
+
)
|
89
|
+
|
90
|
+
EncodedRegistry.register(
|
91
|
+
:class => AdWords::KeywordToolService::KeywordType,
|
92
|
+
:schema_type => XSD::QName.new(NsV13, "KeywordType")
|
93
|
+
)
|
94
|
+
|
95
|
+
LiteralRegistry.register(
|
96
|
+
:class => AdWords::KeywordToolService::ApiError,
|
97
|
+
:schema_type => XSD::QName.new(NsV13, "ApiError"),
|
98
|
+
:schema_element => [
|
99
|
+
["code", "SOAP::SOAPInt"],
|
100
|
+
["detail", "SOAP::SOAPString"],
|
101
|
+
["field", "SOAP::SOAPString", [0, 1]],
|
102
|
+
["index", "SOAP::SOAPInt"],
|
103
|
+
["isExemptable", "SOAP::SOAPBoolean"],
|
104
|
+
["textIndex", "SOAP::SOAPInt", [0, 1]],
|
105
|
+
["textLength", "SOAP::SOAPInt", [0, 1]],
|
106
|
+
["trigger", "SOAP::SOAPString", [0, 1]]
|
107
|
+
]
|
108
|
+
)
|
109
|
+
|
110
|
+
LiteralRegistry.register(
|
111
|
+
:class => AdWords::KeywordToolService::ApiException,
|
112
|
+
:schema_type => XSD::QName.new(NsV13, "ApiException"),
|
113
|
+
:schema_element => [
|
114
|
+
["code", "SOAP::SOAPInt"],
|
115
|
+
["errors", "AdWords::KeywordToolService::ApiError[]", [1, nil]],
|
116
|
+
["internal", "SOAP::SOAPBoolean"],
|
117
|
+
["message", "SOAP::SOAPString"],
|
118
|
+
["trigger", "SOAP::SOAPString"]
|
119
|
+
]
|
120
|
+
)
|
121
|
+
|
122
|
+
LiteralRegistry.register(
|
123
|
+
:class => AdWords::KeywordToolService::KeywordVariation,
|
124
|
+
:schema_type => XSD::QName.new(NsV13, "KeywordVariation"),
|
125
|
+
:schema_element => [
|
126
|
+
["advertiserCompetitionScale", "SOAP::SOAPInt"],
|
127
|
+
["avgSearchVolume", "SOAP::SOAPLong"],
|
128
|
+
["language", "SOAP::SOAPString"],
|
129
|
+
["lastMonthSearchVolume", "SOAP::SOAPLong"],
|
130
|
+
["text", "SOAP::SOAPString"]
|
131
|
+
]
|
132
|
+
)
|
133
|
+
|
134
|
+
LiteralRegistry.register(
|
135
|
+
:class => AdWords::KeywordToolService::KeywordVariations,
|
136
|
+
:schema_type => XSD::QName.new(NsV13, "KeywordVariations"),
|
137
|
+
:schema_element => [
|
138
|
+
["additionalToConsider", "AdWords::KeywordToolService::KeywordVariation[]", [1, nil]],
|
139
|
+
["moreSpecific", "AdWords::KeywordToolService::KeywordVariation[]", [1, nil]]
|
140
|
+
]
|
141
|
+
)
|
142
|
+
|
143
|
+
LiteralRegistry.register(
|
144
|
+
:class => AdWords::KeywordToolService::SeedKeyword,
|
145
|
+
:schema_type => XSD::QName.new(NsV13, "SeedKeyword"),
|
146
|
+
:schema_element => [
|
147
|
+
["negative", "SOAP::SOAPBoolean", [0, 1]],
|
148
|
+
["text", "SOAP::SOAPString"],
|
149
|
+
["type", "AdWords::KeywordToolService::KeywordType"]
|
150
|
+
]
|
151
|
+
)
|
152
|
+
|
153
|
+
LiteralRegistry.register(
|
154
|
+
:class => AdWords::KeywordToolService::SiteKeyword,
|
155
|
+
:schema_type => XSD::QName.new(NsV13, "SiteKeyword"),
|
156
|
+
:schema_element => [
|
157
|
+
["advertiserCompetitionScale", "SOAP::SOAPInt"],
|
158
|
+
["avgSearchVolume", "SOAP::SOAPLong"],
|
159
|
+
["groupId", "SOAP::SOAPInt"],
|
160
|
+
["lastMonthSearchVolume", "SOAP::SOAPLong"],
|
161
|
+
["text", "SOAP::SOAPString"]
|
162
|
+
]
|
163
|
+
)
|
164
|
+
|
165
|
+
LiteralRegistry.register(
|
166
|
+
:class => AdWords::KeywordToolService::SiteKeywordGroups,
|
167
|
+
:schema_type => XSD::QName.new(NsV13, "SiteKeywordGroups"),
|
168
|
+
:schema_element => [
|
169
|
+
["groups", "SOAP::SOAPString[]", [1, nil]],
|
170
|
+
["keywords", "AdWords::KeywordToolService::SiteKeyword[]", [1, nil]]
|
171
|
+
]
|
172
|
+
)
|
173
|
+
|
174
|
+
LiteralRegistry.register(
|
175
|
+
:class => AdWords::KeywordToolService::KeywordType,
|
176
|
+
:schema_type => XSD::QName.new(NsV13, "KeywordType")
|
177
|
+
)
|
178
|
+
|
179
|
+
LiteralRegistry.register(
|
180
|
+
:class => AdWords::KeywordToolService::ApiException,
|
181
|
+
:schema_name => XSD::QName.new(NsV13, "fault"),
|
182
|
+
:schema_element => [
|
183
|
+
["code", "SOAP::SOAPInt"],
|
184
|
+
["errors", "AdWords::KeywordToolService::ApiError[]", [1, nil]],
|
185
|
+
["internal", "SOAP::SOAPBoolean"],
|
186
|
+
["message", "SOAP::SOAPString"],
|
187
|
+
["trigger", "SOAP::SOAPString"]
|
188
|
+
]
|
189
|
+
)
|
190
|
+
|
191
|
+
LiteralRegistry.register(
|
192
|
+
:class => AdWords::KeywordToolService::GetKeywordVariations,
|
193
|
+
:schema_name => XSD::QName.new(NsV13, "getKeywordVariations"),
|
194
|
+
:schema_element => [
|
195
|
+
["seedKeywords", "AdWords::KeywordToolService::SeedKeyword[]", [1, nil]],
|
196
|
+
["useSynonyms", "SOAP::SOAPBoolean"],
|
197
|
+
["languages", "SOAP::SOAPString[]", [1, nil]],
|
198
|
+
["countries", "SOAP::SOAPString[]", [1, nil]]
|
199
|
+
]
|
200
|
+
)
|
201
|
+
|
202
|
+
LiteralRegistry.register(
|
203
|
+
:class => AdWords::KeywordToolService::GetKeywordVariationsResponse,
|
204
|
+
:schema_name => XSD::QName.new(NsV13, "getKeywordVariationsResponse"),
|
205
|
+
:schema_element => [
|
206
|
+
["getKeywordVariationsReturn", "AdWords::KeywordToolService::KeywordVariations"]
|
207
|
+
]
|
208
|
+
)
|
209
|
+
|
210
|
+
LiteralRegistry.register(
|
211
|
+
:class => AdWords::KeywordToolService::GetKeywordsFromSite,
|
212
|
+
:schema_name => XSD::QName.new(NsV13, "getKeywordsFromSite"),
|
213
|
+
:schema_element => [
|
214
|
+
["url", "SOAP::SOAPString"],
|
215
|
+
["includeLinkedPages", "SOAP::SOAPBoolean"],
|
216
|
+
["languages", "SOAP::SOAPString[]", [1, nil]],
|
217
|
+
["countries", "SOAP::SOAPString[]", [1, nil]]
|
218
|
+
]
|
219
|
+
)
|
220
|
+
|
221
|
+
LiteralRegistry.register(
|
222
|
+
:class => AdWords::KeywordToolService::GetKeywordsFromSiteResponse,
|
223
|
+
:schema_name => XSD::QName.new(NsV13, "getKeywordsFromSiteResponse"),
|
224
|
+
:schema_element => [
|
225
|
+
["getKeywordsFromSiteReturn", "AdWords::KeywordToolService::SiteKeywordGroups"]
|
226
|
+
]
|
227
|
+
)
|
228
|
+
|
229
|
+
end
|
230
|
+
|
231
|
+
end; end
|