adwords4r 11.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog.txt +4 -0
- data/Rakefile +76 -70
- data/examples/campaign.rb +40 -0
- data/examples/{old/framework.rb → framework.rb} +0 -0
- data/examples/{old/get_free_usage_this_month.rb → get_free_usage_this_month.rb} +8 -6
- data/examples/get_unit_count.rb +21 -0
- data/examples/keyword_suggestions.rb +179 -0
- data/examples/keyword_tool_demo.rb +31 -0
- data/examples/reports.rb +6 -6
- data/examples/traffic_estimator.rb +34 -0
- data/lib/adwords4r.rb +26 -19
- data/lib/adwords4r/credentials.rb +4 -2
- data/lib/adwords4r/services.rb +4 -2
- data/lib/adwords4r/v11/AccountServiceDriver.rb +3 -3
- data/lib/adwords4r/v11/AdGroupServiceDriver.rb +8 -8
- data/lib/adwords4r/v11/AdServiceDriver.rb +10 -10
- data/lib/adwords4r/v11/CampaignServiceDriver.rb +10 -10
- data/lib/adwords4r/v11/CriterionServiceDriver.rb +9 -9
- data/lib/adwords4r/v11/InfoServiceDriver.rb +8 -8
- data/lib/adwords4r/v11/KeywordToolServiceDriver.rb +2 -2
- data/lib/adwords4r/v11/ReportServiceDriver.rb +7 -7
- data/lib/adwords4r/v11/SiteSuggestionServiceDriver.rb +4 -4
- data/lib/adwords4r/v11/TrafficEstimatorServiceDriver.rb +4 -4
- data/lib/adwords4r/{v10 → v12}/AccountService.rb +13 -32
- data/lib/adwords4r/{v10 → v12}/AccountServiceDriver.rb +12 -20
- data/lib/adwords4r/{v10 → v12}/AccountServiceMappingRegistry.rb +23 -38
- data/lib/adwords4r/{v10 → v12}/AdGroupService.rb +43 -37
- data/lib/adwords4r/{v10 → v12}/AdGroupServiceDriver.rb +27 -27
- data/lib/adwords4r/{v10 → v12}/AdGroupServiceMappingRegistry.rb +46 -42
- data/lib/adwords4r/{v10 → v12}/AdService.rb +68 -56
- data/lib/adwords4r/{v10 → v12}/AdServiceDriver.rb +33 -33
- data/lib/adwords4r/{v10 → v12}/AdServiceMappingRegistry.rb +113 -105
- data/lib/adwords4r/{v10 → v12}/CampaignService.rb +99 -44
- data/lib/adwords4r/{v10 → v12}/CampaignServiceDriver.rb +41 -33
- data/lib/adwords4r/{v10 → v12}/CampaignServiceMappingRegistry.rb +143 -65
- data/lib/adwords4r/{v10 → v12}/CriterionService.rb +46 -43
- data/lib/adwords4r/{v10 → v12}/CriterionServiceDriver.rb +30 -30
- data/lib/adwords4r/{v10 → v12}/CriterionServiceMappingRegistry.rb +67 -65
- data/lib/adwords4r/{v10 → v12}/InfoService.rb +19 -19
- data/lib/adwords4r/{v10 → v12}/InfoServiceDriver.rb +27 -27
- data/lib/adwords4r/{v10 → v12}/InfoServiceMappingRegistry.rb +25 -25
- data/lib/adwords4r/{v10 → v12}/KeywordToolService.rb +12 -12
- data/lib/adwords4r/{v10 → v12}/KeywordToolServiceDriver.rb +9 -9
- data/lib/adwords4r/{v10 → v12}/KeywordToolServiceMappingRegistry.rb +23 -23
- data/lib/adwords4r/v12/ReportService.rb +322 -0
- data/lib/adwords4r/{v10 → v12}/ReportServiceDriver.rb +29 -21
- data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +298 -0
- data/lib/adwords4r/{v10 → v12}/SiteSuggestionService.rb +18 -18
- data/lib/adwords4r/{v10 → v12}/SiteSuggestionServiceDriver.rb +15 -15
- data/lib/adwords4r/{v10 → v12}/SiteSuggestionServiceMappingRegistry.rb +45 -45
- data/lib/adwords4r/{v10 → v12}/TrafficEstimatorService.rb +29 -29
- data/lib/adwords4r/{v10 → v12}/TrafficEstimatorServiceDriver.rb +15 -15
- data/lib/adwords4r/{v10 → v12}/TrafficEstimatorServiceMappingRegistry.rb +55 -55
- data/svn-commit.2.tmp +60 -0
- data/svn-commit.tmp +60 -0
- metadata +41 -38
- data/examples/old/campaign.rb +0 -40
- data/examples/old/get_unit_count.rb +0 -21
- data/examples/old/keyword_tool_demo.rb +0 -30
- data/examples/old/traffic_estimator.rb +0 -34
- data/lib/adwords4r/v10/ReportService.rb +0 -652
- data/lib/adwords4r/v10/ReportServiceMappingRegistry.rb +0 -559
@@ -1,45 +1,45 @@
|
|
1
|
-
require 'adwords4r/
|
2
|
-
require 'adwords4r/
|
1
|
+
require 'adwords4r/v12/SiteSuggestionService'
|
2
|
+
require 'adwords4r/v12/SiteSuggestionServiceMappingRegistry'
|
3
3
|
require 'soap/rpc/driver'
|
4
4
|
|
5
5
|
module AdWords
|
6
6
|
module SiteSuggestionService
|
7
7
|
|
8
8
|
class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
9
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/
|
9
|
+
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v12/SiteSuggestionService"
|
10
10
|
|
11
11
|
Methods = [
|
12
12
|
[ "",
|
13
13
|
"getSitesByCategoryName",
|
14
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
15
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
14
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getSitesByCategoryName"]],
|
15
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getSitesByCategoryNameResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
18
|
+
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"getSitesByDemographics",
|
22
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
23
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
22
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getSitesByDemographics"]],
|
23
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getSitesByDemographicsResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
26
|
+
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"getSitesByTopics",
|
30
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
31
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
30
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getSitesByTopics"]],
|
31
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getSitesByTopicsResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
34
|
+
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"getSitesByUrls",
|
38
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
39
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
38
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getSitesByUrls"]],
|
39
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getSitesByUrlsResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
42
|
+
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
43
43
|
]
|
44
44
|
]
|
45
45
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'adwords4r/
|
1
|
+
require 'adwords4r/v12/SiteSuggestionService'
|
2
2
|
require 'soap/mapping'
|
3
3
|
|
4
4
|
module AdWords; module SiteSuggestionService
|
@@ -6,11 +6,11 @@ module AdWords; module SiteSuggestionService
|
|
6
6
|
module DefaultMappingRegistry
|
7
7
|
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
8
8
|
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
9
|
-
|
9
|
+
NsV12 = "https://adwords.google.com/api/adwords/v12"
|
10
10
|
|
11
11
|
EncodedRegistry.register(
|
12
12
|
:class => AdWords::SiteSuggestionService::ApiError,
|
13
|
-
:schema_type => XSD::QName.new(
|
13
|
+
:schema_type => XSD::QName.new(NsV12, "ApiError"),
|
14
14
|
:schema_element => [
|
15
15
|
["code", "SOAP::SOAPInt"],
|
16
16
|
["detail", "SOAP::SOAPString"],
|
@@ -25,7 +25,7 @@ module DefaultMappingRegistry
|
|
25
25
|
|
26
26
|
EncodedRegistry.register(
|
27
27
|
:class => AdWords::SiteSuggestionService::ApiException,
|
28
|
-
:schema_type => XSD::QName.new(
|
28
|
+
:schema_type => XSD::QName.new(NsV12, "ApiException"),
|
29
29
|
:schema_element => [
|
30
30
|
["code", "SOAP::SOAPInt"],
|
31
31
|
["errors", "AdWords::SiteSuggestionService::ApiError[]", [1, nil]],
|
@@ -37,21 +37,21 @@ module DefaultMappingRegistry
|
|
37
37
|
|
38
38
|
EncodedRegistry.register(
|
39
39
|
:class => AdWords::SiteSuggestionService::DemographicsTarget,
|
40
|
-
:schema_type => XSD::QName.new(
|
40
|
+
:schema_type => XSD::QName.new(NsV12, "DemographicsTarget"),
|
41
41
|
:schema_element => [
|
42
|
-
["childrenTarget", "AdWords::SiteSuggestionService::ChildrenTarget"],
|
43
|
-
["ethnicityTarget", "AdWords::SiteSuggestionService::EthnicityTarget"],
|
44
|
-
["genderTarget", "AdWords::SiteSuggestionService::GenderTarget"],
|
45
|
-
["maxAgeRange", "AdWords::SiteSuggestionService::AgeRange"],
|
46
|
-
["maxHouseholdIncomeRange", "AdWords::SiteSuggestionService::HouseholdIncomeRange"],
|
47
|
-
["minAgeRange", "AdWords::SiteSuggestionService::AgeRange"],
|
48
|
-
["minHouseholdIncomeRange", "AdWords::SiteSuggestionService::HouseholdIncomeRange"]
|
42
|
+
["childrenTarget", "AdWords::SiteSuggestionService::ChildrenTarget", [0, 1]],
|
43
|
+
["ethnicityTarget", "AdWords::SiteSuggestionService::EthnicityTarget", [0, 1]],
|
44
|
+
["genderTarget", "AdWords::SiteSuggestionService::GenderTarget", [0, 1]],
|
45
|
+
["maxAgeRange", "AdWords::SiteSuggestionService::AgeRange", [0, 1]],
|
46
|
+
["maxHouseholdIncomeRange", "AdWords::SiteSuggestionService::HouseholdIncomeRange", [0, 1]],
|
47
|
+
["minAgeRange", "AdWords::SiteSuggestionService::AgeRange", [0, 1]],
|
48
|
+
["minHouseholdIncomeRange", "AdWords::SiteSuggestionService::HouseholdIncomeRange", [0, 1]]
|
49
49
|
]
|
50
50
|
)
|
51
51
|
|
52
52
|
EncodedRegistry.register(
|
53
53
|
:class => AdWords::SiteSuggestionService::LanguageGeoTargeting,
|
54
|
-
:schema_type => XSD::QName.new(
|
54
|
+
:schema_type => XSD::QName.new(NsV12, "LanguageGeoTargeting"),
|
55
55
|
:schema_element => [
|
56
56
|
["countries", "SOAP::SOAPString[]", [1, nil]],
|
57
57
|
["languages", "SOAP::SOAPString[]", [1, nil]],
|
@@ -62,7 +62,7 @@ module DefaultMappingRegistry
|
|
62
62
|
|
63
63
|
EncodedRegistry.register(
|
64
64
|
:class => AdWords::SiteSuggestionService::SiteSuggestion,
|
65
|
-
:schema_type => XSD::QName.new(
|
65
|
+
:schema_type => XSD::QName.new(NsV12, "SiteSuggestion"),
|
66
66
|
:schema_element => [
|
67
67
|
["acceptsImageAds", "SOAP::SOAPBoolean"],
|
68
68
|
["acceptsTextAds", "SOAP::SOAPBoolean"],
|
@@ -74,32 +74,32 @@ module DefaultMappingRegistry
|
|
74
74
|
|
75
75
|
EncodedRegistry.register(
|
76
76
|
:class => AdWords::SiteSuggestionService::AgeRange,
|
77
|
-
:schema_type => XSD::QName.new(
|
77
|
+
:schema_type => XSD::QName.new(NsV12, "AgeRange")
|
78
78
|
)
|
79
79
|
|
80
80
|
EncodedRegistry.register(
|
81
81
|
:class => AdWords::SiteSuggestionService::ChildrenTarget,
|
82
|
-
:schema_type => XSD::QName.new(
|
82
|
+
:schema_type => XSD::QName.new(NsV12, "ChildrenTarget")
|
83
83
|
)
|
84
84
|
|
85
85
|
EncodedRegistry.register(
|
86
86
|
:class => AdWords::SiteSuggestionService::EthnicityTarget,
|
87
|
-
:schema_type => XSD::QName.new(
|
87
|
+
:schema_type => XSD::QName.new(NsV12, "EthnicityTarget")
|
88
88
|
)
|
89
89
|
|
90
90
|
EncodedRegistry.register(
|
91
91
|
:class => AdWords::SiteSuggestionService::GenderTarget,
|
92
|
-
:schema_type => XSD::QName.new(
|
92
|
+
:schema_type => XSD::QName.new(NsV12, "GenderTarget")
|
93
93
|
)
|
94
94
|
|
95
95
|
EncodedRegistry.register(
|
96
96
|
:class => AdWords::SiteSuggestionService::HouseholdIncomeRange,
|
97
|
-
:schema_type => XSD::QName.new(
|
97
|
+
:schema_type => XSD::QName.new(NsV12, "HouseholdIncomeRange")
|
98
98
|
)
|
99
99
|
|
100
100
|
LiteralRegistry.register(
|
101
101
|
:class => AdWords::SiteSuggestionService::ApiError,
|
102
|
-
:schema_type => XSD::QName.new(
|
102
|
+
:schema_type => XSD::QName.new(NsV12, "ApiError"),
|
103
103
|
:schema_element => [
|
104
104
|
["code", "SOAP::SOAPInt"],
|
105
105
|
["detail", "SOAP::SOAPString"],
|
@@ -114,7 +114,7 @@ module DefaultMappingRegistry
|
|
114
114
|
|
115
115
|
LiteralRegistry.register(
|
116
116
|
:class => AdWords::SiteSuggestionService::ApiException,
|
117
|
-
:schema_type => XSD::QName.new(
|
117
|
+
:schema_type => XSD::QName.new(NsV12, "ApiException"),
|
118
118
|
:schema_element => [
|
119
119
|
["code", "SOAP::SOAPInt"],
|
120
120
|
["errors", "AdWords::SiteSuggestionService::ApiError[]", [1, nil]],
|
@@ -126,21 +126,21 @@ module DefaultMappingRegistry
|
|
126
126
|
|
127
127
|
LiteralRegistry.register(
|
128
128
|
:class => AdWords::SiteSuggestionService::DemographicsTarget,
|
129
|
-
:schema_type => XSD::QName.new(
|
129
|
+
:schema_type => XSD::QName.new(NsV12, "DemographicsTarget"),
|
130
130
|
:schema_element => [
|
131
|
-
["childrenTarget", "AdWords::SiteSuggestionService::ChildrenTarget"],
|
132
|
-
["ethnicityTarget", "AdWords::SiteSuggestionService::EthnicityTarget"],
|
133
|
-
["genderTarget", "AdWords::SiteSuggestionService::GenderTarget"],
|
134
|
-
["maxAgeRange", "AdWords::SiteSuggestionService::AgeRange"],
|
135
|
-
["maxHouseholdIncomeRange", "AdWords::SiteSuggestionService::HouseholdIncomeRange"],
|
136
|
-
["minAgeRange", "AdWords::SiteSuggestionService::AgeRange"],
|
137
|
-
["minHouseholdIncomeRange", "AdWords::SiteSuggestionService::HouseholdIncomeRange"]
|
131
|
+
["childrenTarget", "AdWords::SiteSuggestionService::ChildrenTarget", [0, 1]],
|
132
|
+
["ethnicityTarget", "AdWords::SiteSuggestionService::EthnicityTarget", [0, 1]],
|
133
|
+
["genderTarget", "AdWords::SiteSuggestionService::GenderTarget", [0, 1]],
|
134
|
+
["maxAgeRange", "AdWords::SiteSuggestionService::AgeRange", [0, 1]],
|
135
|
+
["maxHouseholdIncomeRange", "AdWords::SiteSuggestionService::HouseholdIncomeRange", [0, 1]],
|
136
|
+
["minAgeRange", "AdWords::SiteSuggestionService::AgeRange", [0, 1]],
|
137
|
+
["minHouseholdIncomeRange", "AdWords::SiteSuggestionService::HouseholdIncomeRange", [0, 1]]
|
138
138
|
]
|
139
139
|
)
|
140
140
|
|
141
141
|
LiteralRegistry.register(
|
142
142
|
:class => AdWords::SiteSuggestionService::LanguageGeoTargeting,
|
143
|
-
:schema_type => XSD::QName.new(
|
143
|
+
:schema_type => XSD::QName.new(NsV12, "LanguageGeoTargeting"),
|
144
144
|
:schema_element => [
|
145
145
|
["countries", "SOAP::SOAPString[]", [1, nil]],
|
146
146
|
["languages", "SOAP::SOAPString[]", [1, nil]],
|
@@ -151,7 +151,7 @@ module DefaultMappingRegistry
|
|
151
151
|
|
152
152
|
LiteralRegistry.register(
|
153
153
|
:class => AdWords::SiteSuggestionService::SiteSuggestion,
|
154
|
-
:schema_type => XSD::QName.new(
|
154
|
+
:schema_type => XSD::QName.new(NsV12, "SiteSuggestion"),
|
155
155
|
:schema_element => [
|
156
156
|
["acceptsImageAds", "SOAP::SOAPBoolean"],
|
157
157
|
["acceptsTextAds", "SOAP::SOAPBoolean"],
|
@@ -163,32 +163,32 @@ module DefaultMappingRegistry
|
|
163
163
|
|
164
164
|
LiteralRegistry.register(
|
165
165
|
:class => AdWords::SiteSuggestionService::AgeRange,
|
166
|
-
:schema_type => XSD::QName.new(
|
166
|
+
:schema_type => XSD::QName.new(NsV12, "AgeRange")
|
167
167
|
)
|
168
168
|
|
169
169
|
LiteralRegistry.register(
|
170
170
|
:class => AdWords::SiteSuggestionService::ChildrenTarget,
|
171
|
-
:schema_type => XSD::QName.new(
|
171
|
+
:schema_type => XSD::QName.new(NsV12, "ChildrenTarget")
|
172
172
|
)
|
173
173
|
|
174
174
|
LiteralRegistry.register(
|
175
175
|
:class => AdWords::SiteSuggestionService::EthnicityTarget,
|
176
|
-
:schema_type => XSD::QName.new(
|
176
|
+
:schema_type => XSD::QName.new(NsV12, "EthnicityTarget")
|
177
177
|
)
|
178
178
|
|
179
179
|
LiteralRegistry.register(
|
180
180
|
:class => AdWords::SiteSuggestionService::GenderTarget,
|
181
|
-
:schema_type => XSD::QName.new(
|
181
|
+
:schema_type => XSD::QName.new(NsV12, "GenderTarget")
|
182
182
|
)
|
183
183
|
|
184
184
|
LiteralRegistry.register(
|
185
185
|
:class => AdWords::SiteSuggestionService::HouseholdIncomeRange,
|
186
|
-
:schema_type => XSD::QName.new(
|
186
|
+
:schema_type => XSD::QName.new(NsV12, "HouseholdIncomeRange")
|
187
187
|
)
|
188
188
|
|
189
189
|
LiteralRegistry.register(
|
190
190
|
:class => AdWords::SiteSuggestionService::ApiException,
|
191
|
-
:schema_name => XSD::QName.new(
|
191
|
+
:schema_name => XSD::QName.new(NsV12, "fault"),
|
192
192
|
:schema_element => [
|
193
193
|
["code", "SOAP::SOAPInt"],
|
194
194
|
["errors", "AdWords::SiteSuggestionService::ApiError[]", [1, nil]],
|
@@ -200,7 +200,7 @@ module DefaultMappingRegistry
|
|
200
200
|
|
201
201
|
LiteralRegistry.register(
|
202
202
|
:class => AdWords::SiteSuggestionService::GetSitesByCategoryName,
|
203
|
-
:schema_name => XSD::QName.new(
|
203
|
+
:schema_name => XSD::QName.new(NsV12, "getSitesByCategoryName"),
|
204
204
|
:schema_element => [
|
205
205
|
["categoryName", "SOAP::SOAPString"],
|
206
206
|
["targeting", "AdWords::SiteSuggestionService::LanguageGeoTargeting"]
|
@@ -209,7 +209,7 @@ module DefaultMappingRegistry
|
|
209
209
|
|
210
210
|
LiteralRegistry.register(
|
211
211
|
:class => AdWords::SiteSuggestionService::GetSitesByCategoryNameResponse,
|
212
|
-
:schema_name => XSD::QName.new(
|
212
|
+
:schema_name => XSD::QName.new(NsV12, "getSitesByCategoryNameResponse"),
|
213
213
|
:schema_element => [
|
214
214
|
["getSitesByCategoryNameReturn", "AdWords::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
215
215
|
]
|
@@ -217,7 +217,7 @@ module DefaultMappingRegistry
|
|
217
217
|
|
218
218
|
LiteralRegistry.register(
|
219
219
|
:class => AdWords::SiteSuggestionService::GetSitesByDemographics,
|
220
|
-
:schema_name => XSD::QName.new(
|
220
|
+
:schema_name => XSD::QName.new(NsV12, "getSitesByDemographics"),
|
221
221
|
:schema_element => [
|
222
222
|
["demo", "AdWords::SiteSuggestionService::DemographicsTarget"],
|
223
223
|
["targeting", "AdWords::SiteSuggestionService::LanguageGeoTargeting"]
|
@@ -226,7 +226,7 @@ module DefaultMappingRegistry
|
|
226
226
|
|
227
227
|
LiteralRegistry.register(
|
228
228
|
:class => AdWords::SiteSuggestionService::GetSitesByDemographicsResponse,
|
229
|
-
:schema_name => XSD::QName.new(
|
229
|
+
:schema_name => XSD::QName.new(NsV12, "getSitesByDemographicsResponse"),
|
230
230
|
:schema_element => [
|
231
231
|
["getSitesByDemographicsReturn", "AdWords::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
232
232
|
]
|
@@ -234,7 +234,7 @@ module DefaultMappingRegistry
|
|
234
234
|
|
235
235
|
LiteralRegistry.register(
|
236
236
|
:class => AdWords::SiteSuggestionService::GetSitesByTopics,
|
237
|
-
:schema_name => XSD::QName.new(
|
237
|
+
:schema_name => XSD::QName.new(NsV12, "getSitesByTopics"),
|
238
238
|
:schema_element => [
|
239
239
|
["topics", "SOAP::SOAPString[]", [1, nil]],
|
240
240
|
["targeting", "AdWords::SiteSuggestionService::LanguageGeoTargeting"]
|
@@ -243,7 +243,7 @@ module DefaultMappingRegistry
|
|
243
243
|
|
244
244
|
LiteralRegistry.register(
|
245
245
|
:class => AdWords::SiteSuggestionService::GetSitesByTopicsResponse,
|
246
|
-
:schema_name => XSD::QName.new(
|
246
|
+
:schema_name => XSD::QName.new(NsV12, "getSitesByTopicsResponse"),
|
247
247
|
:schema_element => [
|
248
248
|
["getSitesByTopicsReturn", "AdWords::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
249
249
|
]
|
@@ -251,7 +251,7 @@ module DefaultMappingRegistry
|
|
251
251
|
|
252
252
|
LiteralRegistry.register(
|
253
253
|
:class => AdWords::SiteSuggestionService::GetSitesByUrls,
|
254
|
-
:schema_name => XSD::QName.new(
|
254
|
+
:schema_name => XSD::QName.new(NsV12, "getSitesByUrls"),
|
255
255
|
:schema_element => [
|
256
256
|
["urls", "SOAP::SOAPString[]", [1, nil]],
|
257
257
|
["targeting", "AdWords::SiteSuggestionService::LanguageGeoTargeting"]
|
@@ -260,7 +260,7 @@ module DefaultMappingRegistry
|
|
260
260
|
|
261
261
|
LiteralRegistry.register(
|
262
262
|
:class => AdWords::SiteSuggestionService::GetSitesByUrlsResponse,
|
263
|
-
:schema_name => XSD::QName.new(
|
263
|
+
:schema_name => XSD::QName.new(NsV12, "getSitesByUrlsResponse"),
|
264
264
|
:schema_element => [
|
265
265
|
["getSitesByUrlsReturn", "AdWords::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
266
266
|
]
|
@@ -3,7 +3,7 @@ require 'xsd/qname'
|
|
3
3
|
module AdWords; module TrafficEstimatorService
|
4
4
|
|
5
5
|
|
6
|
-
# {https://adwords.google.com/api/adwords/
|
6
|
+
# {https://adwords.google.com/api/adwords/v12}AdGroupEstimate
|
7
7
|
# id - SOAP::SOAPInt
|
8
8
|
# keywordEstimates - AdWords::TrafficEstimatorService::KeywordEstimate
|
9
9
|
class AdGroupEstimate
|
@@ -16,7 +16,7 @@ class AdGroupEstimate
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
# {https://adwords.google.com/api/adwords/
|
19
|
+
# {https://adwords.google.com/api/adwords/v12}AdGroupRequest
|
20
20
|
# id - SOAP::SOAPInt
|
21
21
|
# keywordRequests - AdWords::TrafficEstimatorService::KeywordRequest
|
22
22
|
# maxCpc - SOAP::SOAPLong
|
@@ -32,7 +32,7 @@ class AdGroupRequest
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# {https://adwords.google.com/api/adwords/
|
35
|
+
# {https://adwords.google.com/api/adwords/v12}ApiError
|
36
36
|
# code - SOAP::SOAPInt
|
37
37
|
# detail - SOAP::SOAPString
|
38
38
|
# field - SOAP::SOAPString
|
@@ -63,7 +63,7 @@ class ApiError
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
# {https://adwords.google.com/api/adwords/
|
66
|
+
# {https://adwords.google.com/api/adwords/v12}ApiException
|
67
67
|
# code - SOAP::SOAPInt
|
68
68
|
# errors - AdWords::TrafficEstimatorService::ApiError
|
69
69
|
# internal - SOAP::SOAPBoolean
|
@@ -85,7 +85,7 @@ class ApiException
|
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
88
|
-
# {https://adwords.google.com/api/adwords/
|
88
|
+
# {https://adwords.google.com/api/adwords/v12}CampaignEstimate
|
89
89
|
# adGroupEstimates - AdWords::TrafficEstimatorService::AdGroupEstimate
|
90
90
|
# id - SOAP::SOAPInt
|
91
91
|
class CampaignEstimate
|
@@ -98,7 +98,7 @@ class CampaignEstimate
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
-
# {https://adwords.google.com/api/adwords/
|
101
|
+
# {https://adwords.google.com/api/adwords/v12}CampaignRequest
|
102
102
|
# adGroupRequests - AdWords::TrafficEstimatorService::AdGroupRequest
|
103
103
|
# geoTargeting - AdWords::TrafficEstimatorService::GeoTarget
|
104
104
|
# id - SOAP::SOAPInt
|
@@ -120,7 +120,7 @@ class CampaignRequest
|
|
120
120
|
end
|
121
121
|
end
|
122
122
|
|
123
|
-
# {https://adwords.google.com/api/adwords/
|
123
|
+
# {https://adwords.google.com/api/adwords/v12}Circle
|
124
124
|
# latitudeMicroDegrees - SOAP::SOAPInt
|
125
125
|
# longitudeMicroDegrees - SOAP::SOAPInt
|
126
126
|
# radiusMeters - SOAP::SOAPInt
|
@@ -136,15 +136,15 @@ class Circle
|
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
139
|
-
# {https://adwords.google.com/api/adwords/
|
139
|
+
# {https://adwords.google.com/api/adwords/v12}CityTargets
|
140
140
|
class CityTargets < ::Array
|
141
141
|
end
|
142
142
|
|
143
|
-
# {https://adwords.google.com/api/adwords/
|
143
|
+
# {https://adwords.google.com/api/adwords/v12}CountryTargets
|
144
144
|
class CountryTargets < ::Array
|
145
145
|
end
|
146
146
|
|
147
|
-
# {https://adwords.google.com/api/adwords/
|
147
|
+
# {https://adwords.google.com/api/adwords/v12}GeoTarget
|
148
148
|
# cityTargets - AdWords::TrafficEstimatorService::CityTargets
|
149
149
|
# countryTargets - AdWords::TrafficEstimatorService::CountryTargets
|
150
150
|
# metroTargets - AdWords::TrafficEstimatorService::MetroTargets
|
@@ -169,7 +169,7 @@ class GeoTarget
|
|
169
169
|
end
|
170
170
|
end
|
171
171
|
|
172
|
-
# {https://adwords.google.com/api/adwords/
|
172
|
+
# {https://adwords.google.com/api/adwords/v12}KeywordEstimate
|
173
173
|
# id - SOAP::SOAPLong
|
174
174
|
# lowerAvgPosition - SOAP::SOAPFloat
|
175
175
|
# lowerClicksPerDay - SOAP::SOAPFloat
|
@@ -197,7 +197,7 @@ class KeywordEstimate
|
|
197
197
|
end
|
198
198
|
end
|
199
199
|
|
200
|
-
# {https://adwords.google.com/api/adwords/
|
200
|
+
# {https://adwords.google.com/api/adwords/v12}KeywordRequest
|
201
201
|
# id - SOAP::SOAPLong
|
202
202
|
# maxCpc - SOAP::SOAPLong
|
203
203
|
# negative - SOAP::SOAPBoolean
|
@@ -219,7 +219,7 @@ class KeywordRequest
|
|
219
219
|
end
|
220
220
|
end
|
221
221
|
|
222
|
-
# {https://adwords.google.com/api/adwords/
|
222
|
+
# {https://adwords.google.com/api/adwords/v12}KeywordTrafficRequest
|
223
223
|
# keywordText - SOAP::SOAPString
|
224
224
|
# keywordType - AdWords::TrafficEstimatorService::KeywordType
|
225
225
|
# language - SOAP::SOAPString
|
@@ -235,76 +235,76 @@ class KeywordTrafficRequest
|
|
235
235
|
end
|
236
236
|
end
|
237
237
|
|
238
|
-
# {https://adwords.google.com/api/adwords/
|
238
|
+
# {https://adwords.google.com/api/adwords/v12}LanguageTarget
|
239
239
|
class LanguageTarget < ::Array
|
240
240
|
end
|
241
241
|
|
242
|
-
# {https://adwords.google.com/api/adwords/
|
242
|
+
# {https://adwords.google.com/api/adwords/v12}MetroTargets
|
243
243
|
class MetroTargets < ::Array
|
244
244
|
end
|
245
245
|
|
246
|
-
# {https://adwords.google.com/api/adwords/
|
246
|
+
# {https://adwords.google.com/api/adwords/v12}NetworkTarget
|
247
247
|
class NetworkTarget < ::Array
|
248
248
|
end
|
249
249
|
|
250
|
-
# {https://adwords.google.com/api/adwords/
|
250
|
+
# {https://adwords.google.com/api/adwords/v12}ProximityTargets
|
251
251
|
class ProximityTargets < ::Array
|
252
252
|
end
|
253
253
|
|
254
|
-
# {https://adwords.google.com/api/adwords/
|
254
|
+
# {https://adwords.google.com/api/adwords/v12}RegionTargets
|
255
255
|
class RegionTargets < ::Array
|
256
256
|
end
|
257
257
|
|
258
|
-
# {https://adwords.google.com/api/adwords/
|
258
|
+
# {https://adwords.google.com/api/adwords/v12}KeywordTraffic
|
259
259
|
class KeywordTraffic < ::String
|
260
260
|
HasTraffic = KeywordTraffic.new("HasTraffic")
|
261
261
|
Unknown = KeywordTraffic.new("Unknown")
|
262
262
|
VeryLowTraffic = KeywordTraffic.new("VeryLowTraffic")
|
263
263
|
end
|
264
264
|
|
265
|
-
# {https://adwords.google.com/api/adwords/
|
265
|
+
# {https://adwords.google.com/api/adwords/v12}KeywordType
|
266
266
|
class KeywordType < ::String
|
267
267
|
Broad = KeywordType.new("Broad")
|
268
268
|
Exact = KeywordType.new("Exact")
|
269
269
|
Phrase = KeywordType.new("Phrase")
|
270
270
|
end
|
271
271
|
|
272
|
-
# {https://adwords.google.com/api/adwords/
|
272
|
+
# {https://adwords.google.com/api/adwords/v12}NetworkType
|
273
273
|
class NetworkType < ::String
|
274
274
|
ContentNetwork = NetworkType.new("ContentNetwork")
|
275
275
|
GoogleSearch = NetworkType.new("GoogleSearch")
|
276
276
|
SearchNetwork = NetworkType.new("SearchNetwork")
|
277
277
|
end
|
278
278
|
|
279
|
-
# {https://adwords.google.com/api/adwords/
|
279
|
+
# {https://adwords.google.com/api/adwords/v12}checkKeywordTraffic
|
280
280
|
class CheckKeywordTraffic < ::Array
|
281
281
|
end
|
282
282
|
|
283
|
-
# {https://adwords.google.com/api/adwords/
|
283
|
+
# {https://adwords.google.com/api/adwords/v12}checkKeywordTrafficResponse
|
284
284
|
class CheckKeywordTrafficResponse < ::Array
|
285
285
|
end
|
286
286
|
|
287
|
-
# {https://adwords.google.com/api/adwords/
|
287
|
+
# {https://adwords.google.com/api/adwords/v12}estimateAdGroupList
|
288
288
|
class EstimateAdGroupList < ::Array
|
289
289
|
end
|
290
290
|
|
291
|
-
# {https://adwords.google.com/api/adwords/
|
291
|
+
# {https://adwords.google.com/api/adwords/v12}estimateAdGroupListResponse
|
292
292
|
class EstimateAdGroupListResponse < ::Array
|
293
293
|
end
|
294
294
|
|
295
|
-
# {https://adwords.google.com/api/adwords/
|
295
|
+
# {https://adwords.google.com/api/adwords/v12}estimateCampaignList
|
296
296
|
class EstimateCampaignList < ::Array
|
297
297
|
end
|
298
298
|
|
299
|
-
# {https://adwords.google.com/api/adwords/
|
299
|
+
# {https://adwords.google.com/api/adwords/v12}estimateCampaignListResponse
|
300
300
|
class EstimateCampaignListResponse < ::Array
|
301
301
|
end
|
302
302
|
|
303
|
-
# {https://adwords.google.com/api/adwords/
|
303
|
+
# {https://adwords.google.com/api/adwords/v12}estimateKeywordList
|
304
304
|
class EstimateKeywordList < ::Array
|
305
305
|
end
|
306
306
|
|
307
|
-
# {https://adwords.google.com/api/adwords/
|
307
|
+
# {https://adwords.google.com/api/adwords/v12}estimateKeywordListResponse
|
308
308
|
class EstimateKeywordListResponse < ::Array
|
309
309
|
end
|
310
310
|
|