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