adwords4r 0.7 → 11.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Authors.txt +3 -1
- data/ChangeLog.txt +18 -1
- data/Rakefile +35 -50
- data/Readme.txt +28 -11
- data/Todo.txt +1 -9
- data/adwords.properties +7 -7
- data/examples/campaign.rb +7 -5
- data/examples/framework.rb +3 -1
- data/examples/get_free_usage_this_month.rb +3 -1
- data/examples/get_unit_count.rb +7 -2
- data/examples/keyword_tool_demo.rb +5 -2
- data/examples/traffic_estimator.rb +5 -2
- data/lib/adwords4r.rb +157 -147
- data/lib/adwords4r/credentials.rb +36 -36
- data/lib/adwords4r/services.rb +24 -32
- data/lib/adwords4r/v10/AccountService.rb +234 -0
- data/lib/adwords4r/v10/AccountServiceDriver.rb +77 -0
- data/lib/adwords4r/v10/AccountServiceMappingRegistry.rb +258 -0
- data/lib/adwords4r/v10/AdGroupService.rb +257 -0
- data/lib/adwords4r/v10/AdGroupServiceDriver.rb +109 -0
- data/lib/adwords4r/v10/AdGroupServiceMappingRegistry.rb +276 -0
- data/lib/adwords4r/v10/AdService.rb +757 -0
- data/lib/adwords4r/v10/AdServiceDriver.rb +125 -0
- data/lib/adwords4r/v10/AdServiceMappingRegistry.rb +805 -0
- data/lib/adwords4r/v10/CampaignService.rb +443 -0
- data/lib/adwords4r/v10/CampaignServiceDriver.rb +125 -0
- data/lib/adwords4r/v10/CampaignServiceMappingRegistry.rb +564 -0
- data/lib/adwords4r/v10/CriterionService.rb +442 -0
- data/lib/adwords4r/v10/CriterionServiceDriver.rb +117 -0
- data/lib/adwords4r/v10/CriterionServiceMappingRegistry.rb +507 -0
- data/lib/adwords4r/v10/InfoService.rb +242 -0
- data/lib/adwords4r/v10/InfoServiceDriver.rb +109 -0
- data/lib/adwords4r/v10/InfoServiceMappingRegistry.rb +228 -0
- data/lib/adwords4r/v10/KeywordToolService.rb +205 -0
- data/lib/adwords4r/{v6 → v10}/KeywordToolServiceDriver.rb +18 -12
- data/lib/adwords4r/v10/KeywordToolServiceMappingRegistry.rb +227 -0
- data/lib/adwords4r/{v6 → v10}/ReportService.rb +335 -472
- data/lib/adwords4r/v10/ReportServiceDriver.rb +93 -0
- data/lib/adwords4r/v10/ReportServiceMappingRegistry.rb +559 -0
- data/lib/adwords4r/v10/SiteSuggestionService.rb +242 -0
- data/lib/adwords4r/v10/SiteSuggestionServiceDriver.rb +77 -0
- data/lib/adwords4r/v10/SiteSuggestionServiceMappingRegistry.rb +271 -0
- data/lib/adwords4r/v10/TrafficEstimatorService.rb +312 -0
- data/lib/adwords4r/v10/TrafficEstimatorServiceDriver.rb +77 -0
- data/lib/adwords4r/v10/TrafficEstimatorServiceMappingRegistry.rb +483 -0
- data/lib/adwords4r/v11/AccountService.rb +215 -0
- data/lib/adwords4r/v11/AccountServiceDriver.rb +69 -0
- data/lib/adwords4r/v11/AccountServiceMappingRegistry.rb +243 -0
- data/lib/adwords4r/v11/AdGroupService.rb +257 -0
- data/lib/adwords4r/v11/AdGroupServiceDriver.rb +109 -0
- data/lib/adwords4r/v11/AdGroupServiceMappingRegistry.rb +276 -0
- data/lib/adwords4r/v11/AdService.rb +760 -0
- data/lib/adwords4r/v11/AdServiceDriver.rb +125 -0
- data/lib/adwords4r/v11/AdServiceMappingRegistry.rb +807 -0
- data/lib/adwords4r/v11/CampaignService.rb +443 -0
- data/lib/adwords4r/v11/CampaignServiceDriver.rb +125 -0
- data/lib/adwords4r/v11/CampaignServiceMappingRegistry.rb +564 -0
- data/lib/adwords4r/v11/CriterionService.rb +442 -0
- data/lib/adwords4r/v11/CriterionServiceDriver.rb +117 -0
- data/lib/adwords4r/v11/CriterionServiceMappingRegistry.rb +507 -0
- data/lib/adwords4r/v11/InfoService.rb +242 -0
- data/lib/adwords4r/v11/InfoServiceDriver.rb +109 -0
- data/lib/adwords4r/v11/InfoServiceMappingRegistry.rb +228 -0
- data/lib/adwords4r/v11/KeywordToolService.rb +205 -0
- data/lib/adwords4r/{v5 → v11}/KeywordToolServiceDriver.rb +18 -12
- data/lib/adwords4r/v11/KeywordToolServiceMappingRegistry.rb +227 -0
- data/lib/adwords4r/v11/ReportService.rb +322 -0
- data/lib/adwords4r/v11/ReportServiceDriver.rb +101 -0
- data/lib/adwords4r/v11/ReportServiceMappingRegistry.rb +298 -0
- data/lib/adwords4r/v11/SiteSuggestionService.rb +242 -0
- data/lib/adwords4r/v11/SiteSuggestionServiceDriver.rb +77 -0
- data/lib/adwords4r/v11/SiteSuggestionServiceMappingRegistry.rb +271 -0
- data/lib/adwords4r/v11/TrafficEstimatorService.rb +312 -0
- data/lib/adwords4r/v11/TrafficEstimatorServiceDriver.rb +77 -0
- data/lib/adwords4r/v11/TrafficEstimatorServiceMappingRegistry.rb +483 -0
- metadata +96 -74
- data/lib/adwords4r/v4/AccountService.rb +0 -709
- data/lib/adwords4r/v4/AccountServiceDriver.rb +0 -174
- data/lib/adwords4r/v4/AdGroupService.rb +0 -316
- data/lib/adwords4r/v4/AdGroupServiceDriver.rb +0 -97
- data/lib/adwords4r/v4/CampaignService.rb +0 -527
- data/lib/adwords4r/v4/CampaignServiceDriver.rb +0 -111
- data/lib/adwords4r/v4/CreativeService.rb +0 -368
- data/lib/adwords4r/v4/CreativeServiceDriver.rb +0 -104
- data/lib/adwords4r/v4/CriterionService.rb +0 -411
- data/lib/adwords4r/v4/CriterionServiceDriver.rb +0 -97
- data/lib/adwords4r/v4/InfoService.rb +0 -260
- data/lib/adwords4r/v4/InfoServiceDriver.rb +0 -90
- data/lib/adwords4r/v4/KeywordService.rb +0 -543
- data/lib/adwords4r/v4/KeywordServiceDriver.rb +0 -125
- data/lib/adwords4r/v4/KeywordToolService.rb +0 -227
- data/lib/adwords4r/v4/KeywordToolServiceDriver.rb +0 -55
- data/lib/adwords4r/v4/ReportService.rb +0 -575
- data/lib/adwords4r/v4/ReportServiceDriver.rb +0 -83
- data/lib/adwords4r/v4/TrafficEstimatorService.rb +0 -274
- data/lib/adwords4r/v4/TrafficEstimatorServiceDriver.rb +0 -62
- data/lib/adwords4r/v5/AccountService.rb +0 -853
- data/lib/adwords4r/v5/AccountServiceDriver.rb +0 -188
- data/lib/adwords4r/v5/AdGroupService.rb +0 -352
- data/lib/adwords4r/v5/AdGroupServiceDriver.rb +0 -97
- data/lib/adwords4r/v5/CampaignService.rb +0 -563
- data/lib/adwords4r/v5/CampaignServiceDriver.rb +0 -111
- data/lib/adwords4r/v5/CreativeService.rb +0 -404
- data/lib/adwords4r/v5/CreativeServiceDriver.rb +0 -104
- data/lib/adwords4r/v5/CriterionService.rb +0 -447
- data/lib/adwords4r/v5/CriterionServiceDriver.rb +0 -97
- data/lib/adwords4r/v5/InfoService.rb +0 -296
- data/lib/adwords4r/v5/InfoServiceDriver.rb +0 -90
- data/lib/adwords4r/v5/KeywordToolService.rb +0 -263
- data/lib/adwords4r/v5/ReportService.rb +0 -788
- data/lib/adwords4r/v5/ReportServiceDriver.rb +0 -83
- data/lib/adwords4r/v5/TrafficEstimatorService.rb +0 -310
- data/lib/adwords4r/v5/TrafficEstimatorServiceDriver.rb +0 -62
- data/lib/adwords4r/v6/AccountService.rb +0 -853
- data/lib/adwords4r/v6/AccountServiceDriver.rb +0 -188
- data/lib/adwords4r/v6/AdGroupService.rb +0 -352
- data/lib/adwords4r/v6/AdGroupServiceDriver.rb +0 -97
- data/lib/adwords4r/v6/CampaignService.rb +0 -563
- data/lib/adwords4r/v6/CampaignServiceDriver.rb +0 -111
- data/lib/adwords4r/v6/CreativeService.rb +0 -472
- data/lib/adwords4r/v6/CreativeServiceDriver.rb +0 -111
- data/lib/adwords4r/v6/CriterionService.rb +0 -447
- data/lib/adwords4r/v6/CriterionServiceDriver.rb +0 -97
- data/lib/adwords4r/v6/InfoService.rb +0 -343
- data/lib/adwords4r/v6/InfoServiceDriver.rb +0 -97
- data/lib/adwords4r/v6/KeywordToolService.rb +0 -263
- data/lib/adwords4r/v6/ReportServiceDriver.rb +0 -83
- data/lib/adwords4r/v6/TrafficEstimatorService.rb +0 -310
- data/lib/adwords4r/v6/TrafficEstimatorServiceDriver.rb +0 -62
@@ -0,0 +1,205 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module AdWords; module KeywordToolService
|
4
|
+
|
5
|
+
|
6
|
+
# {https://adwords.google.com/api/adwords/v10}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/v10}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/v10}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/v10}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/v10}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/v10}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/v10}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/v10}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/v10}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/v10}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/v10}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/v10}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,33 +1,37 @@
|
|
1
|
-
|
2
|
-
require 'adwords4r/
|
3
|
-
|
1
|
+
require 'adwords4r/v10/KeywordToolService'
|
2
|
+
require 'adwords4r/v10/KeywordToolServiceMappingRegistry'
|
4
3
|
require 'soap/rpc/driver'
|
5
4
|
|
5
|
+
module AdWords
|
6
|
+
module KeywordToolService
|
7
|
+
|
6
8
|
class KeywordToolInterface < ::SOAP::RPC::Driver
|
7
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/
|
8
|
-
MappingRegistry = ::SOAP::Mapping::Registry.new
|
9
|
+
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v10/KeywordToolService"
|
9
10
|
|
10
11
|
Methods = [
|
11
12
|
[ "",
|
12
13
|
"getKeywordVariations",
|
13
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
14
|
-
["out", "
|
14
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getKeywordVariations"]],
|
15
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getKeywordVariationsResponse"]] ],
|
15
16
|
{ :request_style => :document, :request_use => :literal,
|
16
|
-
:response_style => :document, :response_use => :literal
|
17
|
+
:response_style => :document, :response_use => :literal,
|
18
|
+
:faults => {"AdWords::KeywordToolService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
|
17
19
|
],
|
18
20
|
[ "",
|
19
21
|
"getKeywordsFromSite",
|
20
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
21
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
22
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getKeywordsFromSite"]],
|
23
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "getKeywordsFromSiteResponse"]] ],
|
22
24
|
{ :request_style => :document, :request_use => :literal,
|
23
|
-
:response_style => :document, :response_use => :literal
|
25
|
+
:response_style => :document, :response_use => :literal,
|
26
|
+
:faults => {"AdWords::KeywordToolService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
|
24
27
|
]
|
25
28
|
]
|
26
29
|
|
27
30
|
def initialize(endpoint_url = nil)
|
28
31
|
endpoint_url ||= DefaultEndpointUrl
|
29
32
|
super(endpoint_url, nil)
|
30
|
-
self.mapping_registry =
|
33
|
+
self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
|
34
|
+
self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
|
31
35
|
init_methods
|
32
36
|
end
|
33
37
|
|
@@ -52,4 +56,6 @@ private
|
|
52
56
|
end
|
53
57
|
end
|
54
58
|
|
59
|
+
|
60
|
+
end
|
55
61
|
end
|
@@ -0,0 +1,227 @@
|
|
1
|
+
require 'adwords4r/v10/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
|
+
NsV10 = "https://adwords.google.com/api/adwords/v10"
|
10
|
+
|
11
|
+
EncodedRegistry.register(
|
12
|
+
:class => AdWords::KeywordToolService::ApiError,
|
13
|
+
:schema_type => XSD::QName.new(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "KeywordType")
|
91
|
+
)
|
92
|
+
|
93
|
+
LiteralRegistry.register(
|
94
|
+
:class => AdWords::KeywordToolService::ApiError,
|
95
|
+
:schema_type => XSD::QName.new(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "KeywordType")
|
173
|
+
)
|
174
|
+
|
175
|
+
LiteralRegistry.register(
|
176
|
+
:class => AdWords::KeywordToolService::ApiException,
|
177
|
+
:schema_name => XSD::QName.new(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "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(NsV10, "getKeywordsFromSiteResponse"),
|
220
|
+
:schema_element => [
|
221
|
+
["getKeywordsFromSiteReturn", "AdWords::KeywordToolService::SiteKeywordGroups"]
|
222
|
+
]
|
223
|
+
)
|
224
|
+
|
225
|
+
end
|
226
|
+
|
227
|
+
end; end
|