adwords4r 13.0.1 → 15.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Authors.txt +2 -1
- data/ChangeLog.txt +28 -0
- data/Copying.txt +1 -1
- data/{Licence.txt → License.txt} +1 -1
- data/Rakefile +49 -54
- data/Readme.txt +78 -24
- data/adwords.properties +1 -1
- data/examples/account_info.rb +20 -26
- data/examples/create_all.rb +51 -53
- data/examples/create_all_v200902.rb +204 -0
- data/examples/keyword_suggestions.rb +35 -38
- data/examples/multiple_versions.rb +167 -0
- data/examples/reports.rb +37 -75
- data/lib/adwords4r.rb +123 -123
- data/lib/adwords4r/adwordslogger.rb +56 -0
- data/lib/adwords4r/apiextensions.rb +79 -0
- data/lib/adwords4r/authtoken.rb +56 -0
- data/lib/adwords4r/credentials.rb +115 -19
- data/lib/adwords4r/services.rb +139 -14
- data/lib/adwords4r/soap4rpatches.rb +129 -0
- data/lib/adwords4r/v13/AccountService.rb +11 -11
- data/lib/adwords4r/v13/AccountServiceDriver.rb +7 -5
- data/lib/adwords4r/v13/AccountServiceMappingRegistry.rb +56 -56
- data/lib/adwords4r/v13/AdGroupService.rb +9 -9
- data/lib/adwords4r/v13/AdGroupServiceDriver.rb +11 -9
- data/lib/adwords4r/v13/AdGroupServiceMappingRegistry.rb +47 -47
- data/lib/adwords4r/v13/AdService.rb +37 -37
- data/lib/adwords4r/v13/AdServiceDriver.rb +12 -10
- data/lib/adwords4r/v13/AdServiceMappingRegistry.rb +148 -148
- data/lib/adwords4r/v13/CampaignService.rb +46 -25
- data/lib/adwords4r/v13/CampaignServiceDriver.rb +23 -13
- data/lib/adwords4r/v13/CampaignServiceMappingRegistry.rb +169 -135
- data/lib/adwords4r/v13/CriterionService.rb +19 -19
- data/lib/adwords4r/v13/CriterionServiceDriver.rb +11 -9
- data/lib/adwords4r/v13/CriterionServiceMappingRegistry.rb +90 -90
- data/lib/adwords4r/v13/InfoService.rb +3 -3
- data/lib/adwords4r/v13/InfoServiceDriver.rb +10 -8
- data/lib/adwords4r/v13/InfoServiceMappingRegistry.rb +29 -29
- data/lib/adwords4r/v13/KeywordToolService.rb +10 -10
- data/lib/adwords4r/v13/KeywordToolServiceDriver.rb +4 -2
- data/lib/adwords4r/v13/KeywordToolServiceMappingRegistry.rb +37 -37
- data/lib/adwords4r/v13/ReportService.rb +13 -13
- data/lib/adwords4r/v13/ReportServiceDriver.rb +9 -7
- data/lib/adwords4r/v13/ReportServiceMappingRegistry.rb +54 -54
- data/lib/adwords4r/v13/SiteSuggestionService.rb +15 -15
- data/lib/adwords4r/v13/SiteSuggestionServiceDriver.rb +6 -4
- data/lib/adwords4r/v13/SiteSuggestionServiceMappingRegistry.rb +57 -57
- data/lib/adwords4r/v13/TrafficEstimatorService.rb +17 -17
- data/lib/adwords4r/v13/TrafficEstimatorServiceDriver.rb +6 -4
- data/lib/adwords4r/v13/TrafficEstimatorServiceMappingRegistry.rb +96 -96
- data/lib/adwords4r/v200902/AdGroupAdService.rb +2021 -0
- data/lib/adwords4r/v200902/AdGroupAdServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/AdGroupAdServiceMappingRegistry.rb +2234 -0
- data/lib/adwords4r/v200902/AdGroupCriterionService.rb +1209 -0
- data/lib/adwords4r/v200902/AdGroupCriterionServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/AdGroupCriterionServiceMappingRegistry.rb +1434 -0
- data/lib/adwords4r/v200902/AdGroupService.rb +968 -0
- data/lib/adwords4r/{v12/KeywordToolServiceDriver.rb → v200902/AdGroupServiceDriver.rb} +15 -13
- data/lib/adwords4r/v200902/AdGroupServiceMappingRegistry.rb +1114 -0
- data/lib/adwords4r/v200902/CampaignCriterionService.rb +741 -0
- data/lib/adwords4r/v200902/CampaignCriterionServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/CampaignCriterionServiceMappingRegistry.rb +904 -0
- data/lib/adwords4r/v200902/CampaignService.rb +1249 -0
- data/lib/adwords4r/v200902/CampaignServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/CampaignServiceMappingRegistry.rb +1466 -0
- data/lib/adwords4r/v200902/CampaignTargetService.rb +1156 -0
- data/lib/adwords4r/v200902/CampaignTargetServiceDriver.rb +63 -0
- data/lib/adwords4r/v200902/CampaignTargetServiceMappingRegistry.rb +1304 -0
- data/setup.rb +0 -0
- metadata +57 -65
- data/lib/adwords4r/v12/AccountService.rb +0 -215
- data/lib/adwords4r/v12/AccountServiceDriver.rb +0 -69
- data/lib/adwords4r/v12/AccountServiceMappingRegistry.rb +0 -243
- data/lib/adwords4r/v12/AdGroupService.rb +0 -263
- data/lib/adwords4r/v12/AdGroupServiceDriver.rb +0 -109
- data/lib/adwords4r/v12/AdGroupServiceMappingRegistry.rb +0 -280
- data/lib/adwords4r/v12/AdService.rb +0 -769
- data/lib/adwords4r/v12/AdServiceDriver.rb +0 -125
- data/lib/adwords4r/v12/AdServiceMappingRegistry.rb +0 -813
- data/lib/adwords4r/v12/CampaignService.rb +0 -498
- data/lib/adwords4r/v12/CampaignServiceDriver.rb +0 -133
- data/lib/adwords4r/v12/CampaignServiceMappingRegistry.rb +0 -642
- data/lib/adwords4r/v12/CriterionService.rb +0 -445
- data/lib/adwords4r/v12/CriterionServiceDriver.rb +0 -117
- data/lib/adwords4r/v12/CriterionServiceMappingRegistry.rb +0 -509
- data/lib/adwords4r/v12/InfoService.rb +0 -242
- data/lib/adwords4r/v12/InfoServiceDriver.rb +0 -109
- data/lib/adwords4r/v12/InfoServiceMappingRegistry.rb +0 -228
- data/lib/adwords4r/v12/KeywordToolService.rb +0 -205
- data/lib/adwords4r/v12/KeywordToolServiceMappingRegistry.rb +0 -227
- data/lib/adwords4r/v12/ReportService.rb +0 -322
- data/lib/adwords4r/v12/ReportServiceDriver.rb +0 -101
- data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +0 -298
- data/lib/adwords4r/v12/SiteSuggestionService.rb +0 -242
- data/lib/adwords4r/v12/SiteSuggestionServiceDriver.rb +0 -77
- data/lib/adwords4r/v12/SiteSuggestionServiceMappingRegistry.rb +0 -271
- data/lib/adwords4r/v12/TrafficEstimatorService.rb +0 -312
- data/lib/adwords4r/v12/TrafficEstimatorServiceDriver.rb +0 -77
- data/lib/adwords4r/v12/TrafficEstimatorServiceMappingRegistry.rb +0 -483
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'xsd/qname'
|
2
2
|
|
3
|
-
module AdWords; module SiteSuggestionService
|
3
|
+
module AdWords; module V13; module SiteSuggestionService
|
4
4
|
|
5
5
|
|
6
6
|
# {https://adwords.google.com/api/adwords/v13}ApiError
|
@@ -36,7 +36,7 @@ end
|
|
36
36
|
|
37
37
|
# {https://adwords.google.com/api/adwords/v13}ApiException
|
38
38
|
# code - SOAP::SOAPInt
|
39
|
-
# errors - AdWords::SiteSuggestionService::ApiError
|
39
|
+
# errors - AdWords::V13::SiteSuggestionService::ApiError
|
40
40
|
# internal - SOAP::SOAPBoolean
|
41
41
|
# message - SOAP::SOAPString
|
42
42
|
# trigger - SOAP::SOAPString
|
@@ -57,13 +57,13 @@ class ApiException
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# {https://adwords.google.com/api/adwords/v13}DemographicsTarget
|
60
|
-
# childrenTarget - AdWords::SiteSuggestionService::ChildrenTarget
|
61
|
-
# ethnicityTarget - AdWords::SiteSuggestionService::EthnicityTarget
|
62
|
-
# genderTarget - AdWords::SiteSuggestionService::GenderTarget
|
63
|
-
# maxAgeRange - AdWords::SiteSuggestionService::AgeRange
|
64
|
-
# maxHouseholdIncomeRange - AdWords::SiteSuggestionService::HouseholdIncomeRange
|
65
|
-
# minAgeRange - AdWords::SiteSuggestionService::AgeRange
|
66
|
-
# minHouseholdIncomeRange - AdWords::SiteSuggestionService::HouseholdIncomeRange
|
60
|
+
# childrenTarget - AdWords::V13::SiteSuggestionService::ChildrenTarget
|
61
|
+
# ethnicityTarget - AdWords::V13::SiteSuggestionService::EthnicityTarget
|
62
|
+
# genderTarget - AdWords::V13::SiteSuggestionService::GenderTarget
|
63
|
+
# maxAgeRange - AdWords::V13::SiteSuggestionService::AgeRange
|
64
|
+
# maxHouseholdIncomeRange - AdWords::V13::SiteSuggestionService::HouseholdIncomeRange
|
65
|
+
# minAgeRange - AdWords::V13::SiteSuggestionService::AgeRange
|
66
|
+
# minHouseholdIncomeRange - AdWords::V13::SiteSuggestionService::HouseholdIncomeRange
|
67
67
|
class DemographicsTarget
|
68
68
|
attr_accessor :childrenTarget
|
69
69
|
attr_accessor :ethnicityTarget
|
@@ -172,7 +172,7 @@ end
|
|
172
172
|
|
173
173
|
# {https://adwords.google.com/api/adwords/v13}getSitesByCategoryName
|
174
174
|
# categoryName - SOAP::SOAPString
|
175
|
-
# targeting - AdWords::SiteSuggestionService::LanguageGeoTargeting
|
175
|
+
# targeting - AdWords::V13::SiteSuggestionService::LanguageGeoTargeting
|
176
176
|
class GetSitesByCategoryName
|
177
177
|
attr_accessor :categoryName
|
178
178
|
attr_accessor :targeting
|
@@ -188,8 +188,8 @@ class GetSitesByCategoryNameResponse < ::Array
|
|
188
188
|
end
|
189
189
|
|
190
190
|
# {https://adwords.google.com/api/adwords/v13}getSitesByDemographics
|
191
|
-
# demo - AdWords::SiteSuggestionService::DemographicsTarget
|
192
|
-
# targeting - AdWords::SiteSuggestionService::LanguageGeoTargeting
|
191
|
+
# demo - AdWords::V13::SiteSuggestionService::DemographicsTarget
|
192
|
+
# targeting - AdWords::V13::SiteSuggestionService::LanguageGeoTargeting
|
193
193
|
class GetSitesByDemographics
|
194
194
|
attr_accessor :demo
|
195
195
|
attr_accessor :targeting
|
@@ -206,7 +206,7 @@ end
|
|
206
206
|
|
207
207
|
# {https://adwords.google.com/api/adwords/v13}getSitesByTopics
|
208
208
|
# topics - SOAP::SOAPString
|
209
|
-
# targeting - AdWords::SiteSuggestionService::LanguageGeoTargeting
|
209
|
+
# targeting - AdWords::V13::SiteSuggestionService::LanguageGeoTargeting
|
210
210
|
class GetSitesByTopics
|
211
211
|
attr_accessor :topics
|
212
212
|
attr_accessor :targeting
|
@@ -223,7 +223,7 @@ end
|
|
223
223
|
|
224
224
|
# {https://adwords.google.com/api/adwords/v13}getSitesByUrls
|
225
225
|
# urls - SOAP::SOAPString
|
226
|
-
# targeting - AdWords::SiteSuggestionService::LanguageGeoTargeting
|
226
|
+
# targeting - AdWords::V13::SiteSuggestionService::LanguageGeoTargeting
|
227
227
|
class GetSitesByUrls
|
228
228
|
attr_accessor :urls
|
229
229
|
attr_accessor :targeting
|
@@ -239,4 +239,4 @@ class GetSitesByUrlsResponse < ::Array
|
|
239
239
|
end
|
240
240
|
|
241
241
|
|
242
|
-
end; end
|
242
|
+
end; end; end
|
@@ -3,6 +3,7 @@ require 'adwords4r/v13/SiteSuggestionServiceMappingRegistry'
|
|
3
3
|
require 'soap/rpc/driver'
|
4
4
|
|
5
5
|
module AdWords
|
6
|
+
module V13
|
6
7
|
module SiteSuggestionService
|
7
8
|
|
8
9
|
class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
@@ -15,7 +16,7 @@ class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
|
15
16
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getSitesByCategoryNameResponse"]] ],
|
16
17
|
{ :request_style => :document, :request_use => :literal,
|
17
18
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
19
|
+
:faults => {"AdWords::V13::SiteSuggestionService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
|
19
20
|
],
|
20
21
|
[ "",
|
21
22
|
"getSitesByDemographics",
|
@@ -23,7 +24,7 @@ class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
|
23
24
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getSitesByDemographicsResponse"]] ],
|
24
25
|
{ :request_style => :document, :request_use => :literal,
|
25
26
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
27
|
+
:faults => {"AdWords::V13::SiteSuggestionService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
|
27
28
|
],
|
28
29
|
[ "",
|
29
30
|
"getSitesByTopics",
|
@@ -31,7 +32,7 @@ class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
|
31
32
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getSitesByTopicsResponse"]] ],
|
32
33
|
{ :request_style => :document, :request_use => :literal,
|
33
34
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
35
|
+
:faults => {"AdWords::V13::SiteSuggestionService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
|
35
36
|
],
|
36
37
|
[ "",
|
37
38
|
"getSitesByUrls",
|
@@ -39,7 +40,7 @@ class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
|
39
40
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v13", "getSitesByUrlsResponse"]] ],
|
40
41
|
{ :request_style => :document, :request_use => :literal,
|
41
42
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
43
|
+
:faults => {"AdWords::V13::SiteSuggestionService::ApiException"=>{:use=>"literal", :name=>"ApiException", :namespace=>nil, :encodingstyle=>"document", :ns=>"https://adwords.google.com/api/adwords/v13"}} }
|
43
44
|
]
|
44
45
|
]
|
45
46
|
|
@@ -75,3 +76,4 @@ end
|
|
75
76
|
|
76
77
|
end
|
77
78
|
end
|
79
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'adwords4r/v13/SiteSuggestionService'
|
2
2
|
require 'soap/mapping'
|
3
3
|
|
4
|
-
module AdWords; module SiteSuggestionService
|
4
|
+
module AdWords; module V13; module SiteSuggestionService
|
5
5
|
|
6
6
|
module DefaultMappingRegistry
|
7
7
|
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
@@ -9,7 +9,7 @@ module DefaultMappingRegistry
|
|
9
9
|
NsV13 = "https://adwords.google.com/api/adwords/v13"
|
10
10
|
|
11
11
|
EncodedRegistry.register(
|
12
|
-
:class => AdWords::SiteSuggestionService::ApiError,
|
12
|
+
:class => AdWords::V13::SiteSuggestionService::ApiError,
|
13
13
|
:schema_type => XSD::QName.new(NsV13, "ApiError"),
|
14
14
|
:schema_element => [
|
15
15
|
["code", "SOAP::SOAPInt"],
|
@@ -24,11 +24,11 @@ module DefaultMappingRegistry
|
|
24
24
|
)
|
25
25
|
|
26
26
|
EncodedRegistry.register(
|
27
|
-
:class => AdWords::SiteSuggestionService::ApiException,
|
27
|
+
:class => AdWords::V13::SiteSuggestionService::ApiException,
|
28
28
|
:schema_type => XSD::QName.new(NsV13, "ApiException"),
|
29
29
|
:schema_element => [
|
30
30
|
["code", "SOAP::SOAPInt"],
|
31
|
-
["errors", "AdWords::SiteSuggestionService::ApiError[]", [1, nil]],
|
31
|
+
["errors", "AdWords::V13::SiteSuggestionService::ApiError[]", [1, nil]],
|
32
32
|
["internal", "SOAP::SOAPBoolean"],
|
33
33
|
["message", "SOAP::SOAPString"],
|
34
34
|
["trigger", "SOAP::SOAPString"]
|
@@ -36,21 +36,21 @@ module DefaultMappingRegistry
|
|
36
36
|
)
|
37
37
|
|
38
38
|
EncodedRegistry.register(
|
39
|
-
:class => AdWords::SiteSuggestionService::DemographicsTarget,
|
39
|
+
:class => AdWords::V13::SiteSuggestionService::DemographicsTarget,
|
40
40
|
:schema_type => XSD::QName.new(NsV13, "DemographicsTarget"),
|
41
41
|
:schema_element => [
|
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]]
|
42
|
+
["childrenTarget", "AdWords::V13::SiteSuggestionService::ChildrenTarget", [0, 1]],
|
43
|
+
["ethnicityTarget", "AdWords::V13::SiteSuggestionService::EthnicityTarget", [0, 1]],
|
44
|
+
["genderTarget", "AdWords::V13::SiteSuggestionService::GenderTarget", [0, 1]],
|
45
|
+
["maxAgeRange", "AdWords::V13::SiteSuggestionService::AgeRange", [0, 1]],
|
46
|
+
["maxHouseholdIncomeRange", "AdWords::V13::SiteSuggestionService::HouseholdIncomeRange", [0, 1]],
|
47
|
+
["minAgeRange", "AdWords::V13::SiteSuggestionService::AgeRange", [0, 1]],
|
48
|
+
["minHouseholdIncomeRange", "AdWords::V13::SiteSuggestionService::HouseholdIncomeRange", [0, 1]]
|
49
49
|
]
|
50
50
|
)
|
51
51
|
|
52
52
|
EncodedRegistry.register(
|
53
|
-
:class => AdWords::SiteSuggestionService::LanguageGeoTargeting,
|
53
|
+
:class => AdWords::V13::SiteSuggestionService::LanguageGeoTargeting,
|
54
54
|
:schema_type => XSD::QName.new(NsV13, "LanguageGeoTargeting"),
|
55
55
|
:schema_element => [
|
56
56
|
["countries", "SOAP::SOAPString[]", [1, nil]],
|
@@ -61,7 +61,7 @@ module DefaultMappingRegistry
|
|
61
61
|
)
|
62
62
|
|
63
63
|
EncodedRegistry.register(
|
64
|
-
:class => AdWords::SiteSuggestionService::SiteSuggestion,
|
64
|
+
:class => AdWords::V13::SiteSuggestionService::SiteSuggestion,
|
65
65
|
:schema_type => XSD::QName.new(NsV13, "SiteSuggestion"),
|
66
66
|
:schema_element => [
|
67
67
|
["acceptsImageAds", "SOAP::SOAPBoolean"],
|
@@ -73,32 +73,32 @@ module DefaultMappingRegistry
|
|
73
73
|
)
|
74
74
|
|
75
75
|
EncodedRegistry.register(
|
76
|
-
:class => AdWords::SiteSuggestionService::AgeRange,
|
76
|
+
:class => AdWords::V13::SiteSuggestionService::AgeRange,
|
77
77
|
:schema_type => XSD::QName.new(NsV13, "AgeRange")
|
78
78
|
)
|
79
79
|
|
80
80
|
EncodedRegistry.register(
|
81
|
-
:class => AdWords::SiteSuggestionService::ChildrenTarget,
|
81
|
+
:class => AdWords::V13::SiteSuggestionService::ChildrenTarget,
|
82
82
|
:schema_type => XSD::QName.new(NsV13, "ChildrenTarget")
|
83
83
|
)
|
84
84
|
|
85
85
|
EncodedRegistry.register(
|
86
|
-
:class => AdWords::SiteSuggestionService::EthnicityTarget,
|
86
|
+
:class => AdWords::V13::SiteSuggestionService::EthnicityTarget,
|
87
87
|
:schema_type => XSD::QName.new(NsV13, "EthnicityTarget")
|
88
88
|
)
|
89
89
|
|
90
90
|
EncodedRegistry.register(
|
91
|
-
:class => AdWords::SiteSuggestionService::GenderTarget,
|
91
|
+
:class => AdWords::V13::SiteSuggestionService::GenderTarget,
|
92
92
|
:schema_type => XSD::QName.new(NsV13, "GenderTarget")
|
93
93
|
)
|
94
94
|
|
95
95
|
EncodedRegistry.register(
|
96
|
-
:class => AdWords::SiteSuggestionService::HouseholdIncomeRange,
|
96
|
+
:class => AdWords::V13::SiteSuggestionService::HouseholdIncomeRange,
|
97
97
|
:schema_type => XSD::QName.new(NsV13, "HouseholdIncomeRange")
|
98
98
|
)
|
99
99
|
|
100
100
|
LiteralRegistry.register(
|
101
|
-
:class => AdWords::SiteSuggestionService::ApiError,
|
101
|
+
:class => AdWords::V13::SiteSuggestionService::ApiError,
|
102
102
|
:schema_type => XSD::QName.new(NsV13, "ApiError"),
|
103
103
|
:schema_element => [
|
104
104
|
["code", "SOAP::SOAPInt"],
|
@@ -113,11 +113,11 @@ module DefaultMappingRegistry
|
|
113
113
|
)
|
114
114
|
|
115
115
|
LiteralRegistry.register(
|
116
|
-
:class => AdWords::SiteSuggestionService::ApiException,
|
116
|
+
:class => AdWords::V13::SiteSuggestionService::ApiException,
|
117
117
|
:schema_type => XSD::QName.new(NsV13, "ApiException"),
|
118
118
|
:schema_element => [
|
119
119
|
["code", "SOAP::SOAPInt"],
|
120
|
-
["errors", "AdWords::SiteSuggestionService::ApiError[]", [1, nil]],
|
120
|
+
["errors", "AdWords::V13::SiteSuggestionService::ApiError[]", [1, nil]],
|
121
121
|
["internal", "SOAP::SOAPBoolean"],
|
122
122
|
["message", "SOAP::SOAPString"],
|
123
123
|
["trigger", "SOAP::SOAPString"]
|
@@ -125,21 +125,21 @@ module DefaultMappingRegistry
|
|
125
125
|
)
|
126
126
|
|
127
127
|
LiteralRegistry.register(
|
128
|
-
:class => AdWords::SiteSuggestionService::DemographicsTarget,
|
128
|
+
:class => AdWords::V13::SiteSuggestionService::DemographicsTarget,
|
129
129
|
:schema_type => XSD::QName.new(NsV13, "DemographicsTarget"),
|
130
130
|
:schema_element => [
|
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]]
|
131
|
+
["childrenTarget", "AdWords::V13::SiteSuggestionService::ChildrenTarget", [0, 1]],
|
132
|
+
["ethnicityTarget", "AdWords::V13::SiteSuggestionService::EthnicityTarget", [0, 1]],
|
133
|
+
["genderTarget", "AdWords::V13::SiteSuggestionService::GenderTarget", [0, 1]],
|
134
|
+
["maxAgeRange", "AdWords::V13::SiteSuggestionService::AgeRange", [0, 1]],
|
135
|
+
["maxHouseholdIncomeRange", "AdWords::V13::SiteSuggestionService::HouseholdIncomeRange", [0, 1]],
|
136
|
+
["minAgeRange", "AdWords::V13::SiteSuggestionService::AgeRange", [0, 1]],
|
137
|
+
["minHouseholdIncomeRange", "AdWords::V13::SiteSuggestionService::HouseholdIncomeRange", [0, 1]]
|
138
138
|
]
|
139
139
|
)
|
140
140
|
|
141
141
|
LiteralRegistry.register(
|
142
|
-
:class => AdWords::SiteSuggestionService::LanguageGeoTargeting,
|
142
|
+
:class => AdWords::V13::SiteSuggestionService::LanguageGeoTargeting,
|
143
143
|
:schema_type => XSD::QName.new(NsV13, "LanguageGeoTargeting"),
|
144
144
|
:schema_element => [
|
145
145
|
["countries", "SOAP::SOAPString[]", [1, nil]],
|
@@ -150,7 +150,7 @@ module DefaultMappingRegistry
|
|
150
150
|
)
|
151
151
|
|
152
152
|
LiteralRegistry.register(
|
153
|
-
:class => AdWords::SiteSuggestionService::SiteSuggestion,
|
153
|
+
:class => AdWords::V13::SiteSuggestionService::SiteSuggestion,
|
154
154
|
:schema_type => XSD::QName.new(NsV13, "SiteSuggestion"),
|
155
155
|
:schema_element => [
|
156
156
|
["acceptsImageAds", "SOAP::SOAPBoolean"],
|
@@ -162,36 +162,36 @@ module DefaultMappingRegistry
|
|
162
162
|
)
|
163
163
|
|
164
164
|
LiteralRegistry.register(
|
165
|
-
:class => AdWords::SiteSuggestionService::AgeRange,
|
165
|
+
:class => AdWords::V13::SiteSuggestionService::AgeRange,
|
166
166
|
:schema_type => XSD::QName.new(NsV13, "AgeRange")
|
167
167
|
)
|
168
168
|
|
169
169
|
LiteralRegistry.register(
|
170
|
-
:class => AdWords::SiteSuggestionService::ChildrenTarget,
|
170
|
+
:class => AdWords::V13::SiteSuggestionService::ChildrenTarget,
|
171
171
|
:schema_type => XSD::QName.new(NsV13, "ChildrenTarget")
|
172
172
|
)
|
173
173
|
|
174
174
|
LiteralRegistry.register(
|
175
|
-
:class => AdWords::SiteSuggestionService::EthnicityTarget,
|
175
|
+
:class => AdWords::V13::SiteSuggestionService::EthnicityTarget,
|
176
176
|
:schema_type => XSD::QName.new(NsV13, "EthnicityTarget")
|
177
177
|
)
|
178
178
|
|
179
179
|
LiteralRegistry.register(
|
180
|
-
:class => AdWords::SiteSuggestionService::GenderTarget,
|
180
|
+
:class => AdWords::V13::SiteSuggestionService::GenderTarget,
|
181
181
|
:schema_type => XSD::QName.new(NsV13, "GenderTarget")
|
182
182
|
)
|
183
183
|
|
184
184
|
LiteralRegistry.register(
|
185
|
-
:class => AdWords::SiteSuggestionService::HouseholdIncomeRange,
|
185
|
+
:class => AdWords::V13::SiteSuggestionService::HouseholdIncomeRange,
|
186
186
|
:schema_type => XSD::QName.new(NsV13, "HouseholdIncomeRange")
|
187
187
|
)
|
188
188
|
|
189
189
|
LiteralRegistry.register(
|
190
|
-
:class => AdWords::SiteSuggestionService::ApiException,
|
190
|
+
:class => AdWords::V13::SiteSuggestionService::ApiException,
|
191
191
|
:schema_name => XSD::QName.new(NsV13, "fault"),
|
192
192
|
:schema_element => [
|
193
193
|
["code", "SOAP::SOAPInt"],
|
194
|
-
["errors", "AdWords::SiteSuggestionService::ApiError[]", [1, nil]],
|
194
|
+
["errors", "AdWords::V13::SiteSuggestionService::ApiError[]", [1, nil]],
|
195
195
|
["internal", "SOAP::SOAPBoolean"],
|
196
196
|
["message", "SOAP::SOAPString"],
|
197
197
|
["trigger", "SOAP::SOAPString"]
|
@@ -199,73 +199,73 @@ module DefaultMappingRegistry
|
|
199
199
|
)
|
200
200
|
|
201
201
|
LiteralRegistry.register(
|
202
|
-
:class => AdWords::SiteSuggestionService::GetSitesByCategoryName,
|
202
|
+
:class => AdWords::V13::SiteSuggestionService::GetSitesByCategoryName,
|
203
203
|
:schema_name => XSD::QName.new(NsV13, "getSitesByCategoryName"),
|
204
204
|
:schema_element => [
|
205
205
|
["categoryName", "SOAP::SOAPString"],
|
206
|
-
["targeting", "AdWords::SiteSuggestionService::LanguageGeoTargeting"]
|
206
|
+
["targeting", "AdWords::V13::SiteSuggestionService::LanguageGeoTargeting"]
|
207
207
|
]
|
208
208
|
)
|
209
209
|
|
210
210
|
LiteralRegistry.register(
|
211
|
-
:class => AdWords::SiteSuggestionService::GetSitesByCategoryNameResponse,
|
211
|
+
:class => AdWords::V13::SiteSuggestionService::GetSitesByCategoryNameResponse,
|
212
212
|
:schema_name => XSD::QName.new(NsV13, "getSitesByCategoryNameResponse"),
|
213
213
|
:schema_element => [
|
214
|
-
["getSitesByCategoryNameReturn", "AdWords::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
214
|
+
["getSitesByCategoryNameReturn", "AdWords::V13::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
215
215
|
]
|
216
216
|
)
|
217
217
|
|
218
218
|
LiteralRegistry.register(
|
219
|
-
:class => AdWords::SiteSuggestionService::GetSitesByDemographics,
|
219
|
+
:class => AdWords::V13::SiteSuggestionService::GetSitesByDemographics,
|
220
220
|
:schema_name => XSD::QName.new(NsV13, "getSitesByDemographics"),
|
221
221
|
:schema_element => [
|
222
|
-
["demo", "AdWords::SiteSuggestionService::DemographicsTarget"],
|
223
|
-
["targeting", "AdWords::SiteSuggestionService::LanguageGeoTargeting"]
|
222
|
+
["demo", "AdWords::V13::SiteSuggestionService::DemographicsTarget"],
|
223
|
+
["targeting", "AdWords::V13::SiteSuggestionService::LanguageGeoTargeting"]
|
224
224
|
]
|
225
225
|
)
|
226
226
|
|
227
227
|
LiteralRegistry.register(
|
228
|
-
:class => AdWords::SiteSuggestionService::GetSitesByDemographicsResponse,
|
228
|
+
:class => AdWords::V13::SiteSuggestionService::GetSitesByDemographicsResponse,
|
229
229
|
:schema_name => XSD::QName.new(NsV13, "getSitesByDemographicsResponse"),
|
230
230
|
:schema_element => [
|
231
|
-
["getSitesByDemographicsReturn", "AdWords::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
231
|
+
["getSitesByDemographicsReturn", "AdWords::V13::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
232
232
|
]
|
233
233
|
)
|
234
234
|
|
235
235
|
LiteralRegistry.register(
|
236
|
-
:class => AdWords::SiteSuggestionService::GetSitesByTopics,
|
236
|
+
:class => AdWords::V13::SiteSuggestionService::GetSitesByTopics,
|
237
237
|
:schema_name => XSD::QName.new(NsV13, "getSitesByTopics"),
|
238
238
|
:schema_element => [
|
239
239
|
["topics", "SOAP::SOAPString[]", [1, nil]],
|
240
|
-
["targeting", "AdWords::SiteSuggestionService::LanguageGeoTargeting"]
|
240
|
+
["targeting", "AdWords::V13::SiteSuggestionService::LanguageGeoTargeting"]
|
241
241
|
]
|
242
242
|
)
|
243
243
|
|
244
244
|
LiteralRegistry.register(
|
245
|
-
:class => AdWords::SiteSuggestionService::GetSitesByTopicsResponse,
|
245
|
+
:class => AdWords::V13::SiteSuggestionService::GetSitesByTopicsResponse,
|
246
246
|
:schema_name => XSD::QName.new(NsV13, "getSitesByTopicsResponse"),
|
247
247
|
:schema_element => [
|
248
|
-
["getSitesByTopicsReturn", "AdWords::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
248
|
+
["getSitesByTopicsReturn", "AdWords::V13::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
249
249
|
]
|
250
250
|
)
|
251
251
|
|
252
252
|
LiteralRegistry.register(
|
253
|
-
:class => AdWords::SiteSuggestionService::GetSitesByUrls,
|
253
|
+
:class => AdWords::V13::SiteSuggestionService::GetSitesByUrls,
|
254
254
|
:schema_name => XSD::QName.new(NsV13, "getSitesByUrls"),
|
255
255
|
:schema_element => [
|
256
256
|
["urls", "SOAP::SOAPString[]", [1, nil]],
|
257
|
-
["targeting", "AdWords::SiteSuggestionService::LanguageGeoTargeting"]
|
257
|
+
["targeting", "AdWords::V13::SiteSuggestionService::LanguageGeoTargeting"]
|
258
258
|
]
|
259
259
|
)
|
260
260
|
|
261
261
|
LiteralRegistry.register(
|
262
|
-
:class => AdWords::SiteSuggestionService::GetSitesByUrlsResponse,
|
262
|
+
:class => AdWords::V13::SiteSuggestionService::GetSitesByUrlsResponse,
|
263
263
|
:schema_name => XSD::QName.new(NsV13, "getSitesByUrlsResponse"),
|
264
264
|
:schema_element => [
|
265
|
-
["getSitesByUrlsReturn", "AdWords::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
265
|
+
["getSitesByUrlsReturn", "AdWords::V13::SiteSuggestionService::SiteSuggestion[]", [1, nil]]
|
266
266
|
]
|
267
267
|
)
|
268
268
|
|
269
269
|
end
|
270
270
|
|
271
|
-
end; end
|
271
|
+
end; end; end
|
@@ -1,11 +1,11 @@
|
|
1
1
|
require 'xsd/qname'
|
2
2
|
|
3
|
-
module AdWords; module TrafficEstimatorService
|
3
|
+
module AdWords; module V13; module TrafficEstimatorService
|
4
4
|
|
5
5
|
|
6
6
|
# {https://adwords.google.com/api/adwords/v13}AdGroupEstimate
|
7
7
|
# id - SOAP::SOAPInt
|
8
|
-
# keywordEstimates - AdWords::TrafficEstimatorService::KeywordEstimate
|
8
|
+
# keywordEstimates - AdWords::V13::TrafficEstimatorService::KeywordEstimate
|
9
9
|
class AdGroupEstimate
|
10
10
|
attr_accessor :id
|
11
11
|
attr_accessor :keywordEstimates
|
@@ -18,7 +18,7 @@ end
|
|
18
18
|
|
19
19
|
# {https://adwords.google.com/api/adwords/v13}AdGroupRequest
|
20
20
|
# id - SOAP::SOAPLong
|
21
|
-
# keywordRequests - AdWords::TrafficEstimatorService::KeywordRequest
|
21
|
+
# keywordRequests - AdWords::V13::TrafficEstimatorService::KeywordRequest
|
22
22
|
# maxCpc - SOAP::SOAPLong
|
23
23
|
class AdGroupRequest
|
24
24
|
attr_accessor :id
|
@@ -65,7 +65,7 @@ end
|
|
65
65
|
|
66
66
|
# {https://adwords.google.com/api/adwords/v13}ApiException
|
67
67
|
# code - SOAP::SOAPInt
|
68
|
-
# errors - AdWords::TrafficEstimatorService::ApiError
|
68
|
+
# errors - AdWords::V13::TrafficEstimatorService::ApiError
|
69
69
|
# internal - SOAP::SOAPBoolean
|
70
70
|
# message - SOAP::SOAPString
|
71
71
|
# trigger - SOAP::SOAPString
|
@@ -86,7 +86,7 @@ class ApiException
|
|
86
86
|
end
|
87
87
|
|
88
88
|
# {https://adwords.google.com/api/adwords/v13}CampaignEstimate
|
89
|
-
# adGroupEstimates - AdWords::TrafficEstimatorService::AdGroupEstimate
|
89
|
+
# adGroupEstimates - AdWords::V13::TrafficEstimatorService::AdGroupEstimate
|
90
90
|
# id - SOAP::SOAPInt
|
91
91
|
class CampaignEstimate
|
92
92
|
attr_accessor :adGroupEstimates
|
@@ -99,11 +99,11 @@ class CampaignEstimate
|
|
99
99
|
end
|
100
100
|
|
101
101
|
# {https://adwords.google.com/api/adwords/v13}CampaignRequest
|
102
|
-
# adGroupRequests - AdWords::TrafficEstimatorService::AdGroupRequest
|
103
|
-
# geoTargeting - AdWords::TrafficEstimatorService::GeoTarget
|
102
|
+
# adGroupRequests - AdWords::V13::TrafficEstimatorService::AdGroupRequest
|
103
|
+
# geoTargeting - AdWords::V13::TrafficEstimatorService::GeoTarget
|
104
104
|
# id - SOAP::SOAPInt
|
105
|
-
# languageTargeting - AdWords::TrafficEstimatorService::LanguageTarget
|
106
|
-
# networkTargeting - AdWords::TrafficEstimatorService::NetworkTarget
|
105
|
+
# languageTargeting - AdWords::V13::TrafficEstimatorService::LanguageTarget
|
106
|
+
# networkTargeting - AdWords::V13::TrafficEstimatorService::NetworkTarget
|
107
107
|
class CampaignRequest
|
108
108
|
attr_accessor :adGroupRequests
|
109
109
|
attr_accessor :geoTargeting
|
@@ -163,11 +163,11 @@ class CountryTargets
|
|
163
163
|
end
|
164
164
|
|
165
165
|
# {https://adwords.google.com/api/adwords/v13}GeoTarget
|
166
|
-
# cityTargets - AdWords::TrafficEstimatorService::CityTargets
|
167
|
-
# countryTargets - AdWords::TrafficEstimatorService::CountryTargets
|
168
|
-
# metroTargets - AdWords::TrafficEstimatorService::MetroTargets
|
169
|
-
# proximityTargets - AdWords::TrafficEstimatorService::ProximityTargets
|
170
|
-
# regionTargets - AdWords::TrafficEstimatorService::RegionTargets
|
166
|
+
# cityTargets - AdWords::V13::TrafficEstimatorService::CityTargets
|
167
|
+
# countryTargets - AdWords::V13::TrafficEstimatorService::CountryTargets
|
168
|
+
# metroTargets - AdWords::V13::TrafficEstimatorService::MetroTargets
|
169
|
+
# proximityTargets - AdWords::V13::TrafficEstimatorService::ProximityTargets
|
170
|
+
# regionTargets - AdWords::V13::TrafficEstimatorService::RegionTargets
|
171
171
|
# targetAll - SOAP::SOAPBoolean
|
172
172
|
class GeoTarget
|
173
173
|
attr_accessor :cityTargets
|
@@ -220,7 +220,7 @@ end
|
|
220
220
|
# maxCpc - SOAP::SOAPLong
|
221
221
|
# negative - SOAP::SOAPBoolean
|
222
222
|
# text - SOAP::SOAPString
|
223
|
-
# type - AdWords::TrafficEstimatorService::KeywordType
|
223
|
+
# type - AdWords::V13::TrafficEstimatorService::KeywordType
|
224
224
|
class KeywordRequest
|
225
225
|
attr_accessor :id
|
226
226
|
attr_accessor :maxCpc
|
@@ -239,7 +239,7 @@ end
|
|
239
239
|
|
240
240
|
# {https://adwords.google.com/api/adwords/v13}KeywordTrafficRequest
|
241
241
|
# keywordText - SOAP::SOAPString
|
242
|
-
# keywordType - AdWords::TrafficEstimatorService::KeywordType
|
242
|
+
# keywordType - AdWords::V13::TrafficEstimatorService::KeywordType
|
243
243
|
# language - SOAP::SOAPString
|
244
244
|
class KeywordTrafficRequest
|
245
245
|
attr_accessor :keywordText
|
@@ -345,4 +345,4 @@ class EstimateKeywordListResponse < ::Array
|
|
345
345
|
end
|
346
346
|
|
347
347
|
|
348
|
-
end; end
|
348
|
+
end; end; end
|