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,133 +0,0 @@
|
|
1
|
-
require 'adwords4r/v12/CampaignService'
|
2
|
-
require 'adwords4r/v12/CampaignServiceMappingRegistry'
|
3
|
-
require 'soap/rpc/driver'
|
4
|
-
|
5
|
-
module AdWords
|
6
|
-
module CampaignService
|
7
|
-
|
8
|
-
class CampaignInterface < ::SOAP::RPC::Driver
|
9
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v12/CampaignService"
|
10
|
-
|
11
|
-
Methods = [
|
12
|
-
[ "",
|
13
|
-
"addCampaign",
|
14
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaign"]],
|
15
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaignResponse"]] ],
|
16
|
-
{ :request_style => :document, :request_use => :literal,
|
17
|
-
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
19
|
-
],
|
20
|
-
[ "",
|
21
|
-
"addCampaignList",
|
22
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaignList"]],
|
23
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaignListResponse"]] ],
|
24
|
-
{ :request_style => :document, :request_use => :literal,
|
25
|
-
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
27
|
-
],
|
28
|
-
[ "",
|
29
|
-
"getAllAdWordsCampaigns",
|
30
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAllAdWordsCampaigns"]],
|
31
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAllAdWordsCampaignsResponse"]] ],
|
32
|
-
{ :request_style => :document, :request_use => :literal,
|
33
|
-
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
35
|
-
],
|
36
|
-
[ "",
|
37
|
-
"getCampaign",
|
38
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaign"]],
|
39
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignResponse"]] ],
|
40
|
-
{ :request_style => :document, :request_use => :literal,
|
41
|
-
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
43
|
-
],
|
44
|
-
[ "",
|
45
|
-
"getCampaignList",
|
46
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignList"]],
|
47
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignListResponse"]] ],
|
48
|
-
{ :request_style => :document, :request_use => :literal,
|
49
|
-
:response_style => :document, :response_use => :literal,
|
50
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
51
|
-
],
|
52
|
-
[ "",
|
53
|
-
"getCampaignStats",
|
54
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignStats"]],
|
55
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignStatsResponse"]] ],
|
56
|
-
{ :request_style => :document, :request_use => :literal,
|
57
|
-
:response_style => :document, :response_use => :literal,
|
58
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
59
|
-
],
|
60
|
-
[ "",
|
61
|
-
"getConversionOptimizerEligibility",
|
62
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getConversionOptimizerEligibility"]],
|
63
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getConversionOptimizerEligibilityResponse"]] ],
|
64
|
-
{ :request_style => :document, :request_use => :literal,
|
65
|
-
:response_style => :document, :response_use => :literal,
|
66
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
67
|
-
],
|
68
|
-
[ "",
|
69
|
-
"getOptimizeAdServing",
|
70
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getOptimizeAdServing"]],
|
71
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getOptimizeAdServingResponse"]] ],
|
72
|
-
{ :request_style => :document, :request_use => :literal,
|
73
|
-
:response_style => :document, :response_use => :literal,
|
74
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
75
|
-
],
|
76
|
-
[ "",
|
77
|
-
"setOptimizeAdServing",
|
78
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "setOptimizeAdServing"]],
|
79
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "setOptimizeAdServingResponse"]] ],
|
80
|
-
{ :request_style => :document, :request_use => :literal,
|
81
|
-
:response_style => :document, :response_use => :literal,
|
82
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
83
|
-
],
|
84
|
-
[ "",
|
85
|
-
"updateCampaign",
|
86
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaign"]],
|
87
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaignResponse"]] ],
|
88
|
-
{ :request_style => :document, :request_use => :literal,
|
89
|
-
:response_style => :document, :response_use => :literal,
|
90
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
91
|
-
],
|
92
|
-
[ "",
|
93
|
-
"updateCampaignList",
|
94
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaignList"]],
|
95
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaignListResponse"]] ],
|
96
|
-
{ :request_style => :document, :request_use => :literal,
|
97
|
-
:response_style => :document, :response_use => :literal,
|
98
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
99
|
-
]
|
100
|
-
]
|
101
|
-
|
102
|
-
def initialize(endpoint_url = nil)
|
103
|
-
endpoint_url ||= DefaultEndpointUrl
|
104
|
-
super(endpoint_url, nil)
|
105
|
-
self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
|
106
|
-
self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
|
107
|
-
init_methods
|
108
|
-
end
|
109
|
-
|
110
|
-
private
|
111
|
-
|
112
|
-
def init_methods
|
113
|
-
Methods.each do |definitions|
|
114
|
-
opt = definitions.last
|
115
|
-
if opt[:request_style] == :document
|
116
|
-
add_document_operation(*definitions)
|
117
|
-
else
|
118
|
-
add_rpc_operation(*definitions)
|
119
|
-
qname = definitions[0]
|
120
|
-
name = definitions[2]
|
121
|
-
if qname.name != name and qname.name.capitalize == name.capitalize
|
122
|
-
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
123
|
-
__send__(name, *arg)
|
124
|
-
end
|
125
|
-
end
|
126
|
-
end
|
127
|
-
end
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
|
132
|
-
end
|
133
|
-
end
|
@@ -1,642 +0,0 @@
|
|
1
|
-
require 'adwords4r/v12/CampaignService'
|
2
|
-
require 'soap/mapping'
|
3
|
-
|
4
|
-
module AdWords; module CampaignService
|
5
|
-
|
6
|
-
module DefaultMappingRegistry
|
7
|
-
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
8
|
-
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
9
|
-
NsV12 = "https://adwords.google.com/api/adwords/v12"
|
10
|
-
|
11
|
-
EncodedRegistry.register(
|
12
|
-
:class => AdWords::CampaignService::AdSchedule,
|
13
|
-
:schema_type => XSD::QName.new(NsV12, "AdSchedule"),
|
14
|
-
:schema_element => [
|
15
|
-
["intervals", "AdWords::CampaignService::SchedulingInterval[]", [1, nil]],
|
16
|
-
["status", "AdWords::CampaignService::AdScheduleStatus"]
|
17
|
-
]
|
18
|
-
)
|
19
|
-
|
20
|
-
EncodedRegistry.register(
|
21
|
-
:class => AdWords::CampaignService::ApiError,
|
22
|
-
:schema_type => XSD::QName.new(NsV12, "ApiError"),
|
23
|
-
:schema_element => [
|
24
|
-
["code", "SOAP::SOAPInt"],
|
25
|
-
["detail", "SOAP::SOAPString"],
|
26
|
-
["field", "SOAP::SOAPString", [0, 1]],
|
27
|
-
["index", "SOAP::SOAPInt"],
|
28
|
-
["isExemptable", "SOAP::SOAPBoolean"],
|
29
|
-
["textIndex", "SOAP::SOAPInt", [0, 1]],
|
30
|
-
["textLength", "SOAP::SOAPInt", [0, 1]],
|
31
|
-
["trigger", "SOAP::SOAPString", [0, 1]]
|
32
|
-
]
|
33
|
-
)
|
34
|
-
|
35
|
-
EncodedRegistry.register(
|
36
|
-
:class => AdWords::CampaignService::ApiException,
|
37
|
-
:schema_type => XSD::QName.new(NsV12, "ApiException"),
|
38
|
-
:schema_element => [
|
39
|
-
["code", "SOAP::SOAPInt"],
|
40
|
-
["errors", "AdWords::CampaignService::ApiError[]", [1, nil]],
|
41
|
-
["internal", "SOAP::SOAPBoolean"],
|
42
|
-
["message", "SOAP::SOAPString"],
|
43
|
-
["trigger", "SOAP::SOAPString"]
|
44
|
-
]
|
45
|
-
)
|
46
|
-
|
47
|
-
EncodedRegistry.register(
|
48
|
-
:class => AdWords::CampaignService::BudgetOptimizerSettings,
|
49
|
-
:schema_type => XSD::QName.new(NsV12, "BudgetOptimizerSettings"),
|
50
|
-
:schema_element => [
|
51
|
-
["bidCeiling", "SOAP::SOAPLong", [0, 1]],
|
52
|
-
["enabled", "SOAP::SOAPBoolean", [0, 1]],
|
53
|
-
["takeOnOptimizedBids", "SOAP::SOAPBoolean", [0, 1]]
|
54
|
-
]
|
55
|
-
)
|
56
|
-
|
57
|
-
EncodedRegistry.register(
|
58
|
-
:class => AdWords::CampaignService::Campaign,
|
59
|
-
:schema_type => XSD::QName.new(NsV12, "Campaign"),
|
60
|
-
:schema_element => [
|
61
|
-
["budgetAmount", "SOAP::SOAPLong", [0, 1]],
|
62
|
-
["budgetOptimizerSettings", "AdWords::CampaignService::BudgetOptimizerSettings"],
|
63
|
-
["budgetPeriod", "AdWords::CampaignService::BudgetPeriod", [0, 1]],
|
64
|
-
["contentTargeting", "AdWords::CampaignService::ContentTargeting"],
|
65
|
-
["conversionOptimizerSettings", "AdWords::CampaignService::ConversionOptimizerSettings", [0, 1]],
|
66
|
-
["enableSeparateContentBids", "SOAP::SOAPBoolean"],
|
67
|
-
["endDay", "SOAP::SOAPDate", [0, 1]],
|
68
|
-
["geoTargeting", "AdWords::CampaignService::GeoTarget"],
|
69
|
-
["id", "SOAP::SOAPInt"],
|
70
|
-
["languageTargeting", "AdWords::CampaignService::LanguageTarget"],
|
71
|
-
["name", "SOAP::SOAPString"],
|
72
|
-
["networkTargeting", "AdWords::CampaignService::NetworkTarget"],
|
73
|
-
["schedule", "AdWords::CampaignService::AdSchedule"],
|
74
|
-
["startDay", "SOAP::SOAPDate", [0, 1]],
|
75
|
-
["status", "AdWords::CampaignService::CampaignStatus"]
|
76
|
-
]
|
77
|
-
)
|
78
|
-
|
79
|
-
EncodedRegistry.register(
|
80
|
-
:class => AdWords::CampaignService::Circle,
|
81
|
-
:schema_type => XSD::QName.new(NsV12, "Circle"),
|
82
|
-
:schema_element => [
|
83
|
-
["latitudeMicroDegrees", "SOAP::SOAPInt"],
|
84
|
-
["longitudeMicroDegrees", "SOAP::SOAPInt"],
|
85
|
-
["radiusMeters", "SOAP::SOAPInt"]
|
86
|
-
]
|
87
|
-
)
|
88
|
-
|
89
|
-
EncodedRegistry.register(
|
90
|
-
:class => AdWords::CampaignService::CityTargets,
|
91
|
-
:schema_type => XSD::QName.new(NsV12, "CityTargets"),
|
92
|
-
:schema_element => [
|
93
|
-
["cities", "SOAP::SOAPString[]", [0, nil]]
|
94
|
-
]
|
95
|
-
)
|
96
|
-
|
97
|
-
EncodedRegistry.register(
|
98
|
-
:class => AdWords::CampaignService::ConversionOptimizerEligibility,
|
99
|
-
:schema_type => XSD::QName.new(NsV12, "ConversionOptimizerEligibility"),
|
100
|
-
:schema_element => [
|
101
|
-
["campaignId", "SOAP::SOAPInt"],
|
102
|
-
["eligibleToSwitchOn", "SOAP::SOAPBoolean", [0, 1]]
|
103
|
-
]
|
104
|
-
)
|
105
|
-
|
106
|
-
EncodedRegistry.register(
|
107
|
-
:class => AdWords::CampaignService::ConversionOptimizerSettings,
|
108
|
-
:schema_type => XSD::QName.new(NsV12, "ConversionOptimizerSettings"),
|
109
|
-
:schema_element => [
|
110
|
-
["enabled", "SOAP::SOAPBoolean", [0, 1]],
|
111
|
-
["maxCpaBidForAllAdGroups", "SOAP::SOAPLong", [0, 1]]
|
112
|
-
]
|
113
|
-
)
|
114
|
-
|
115
|
-
EncodedRegistry.register(
|
116
|
-
:class => AdWords::CampaignService::CountryTargets,
|
117
|
-
:schema_type => XSD::QName.new(NsV12, "CountryTargets"),
|
118
|
-
:schema_element => [
|
119
|
-
["countries", "SOAP::SOAPString[]", [0, nil]]
|
120
|
-
]
|
121
|
-
)
|
122
|
-
|
123
|
-
EncodedRegistry.register(
|
124
|
-
:class => AdWords::CampaignService::GeoTarget,
|
125
|
-
:schema_type => XSD::QName.new(NsV12, "GeoTarget"),
|
126
|
-
:schema_element => [
|
127
|
-
["cityTargets", "AdWords::CampaignService::CityTargets", [0, 1]],
|
128
|
-
["countryTargets", "AdWords::CampaignService::CountryTargets", [0, 1]],
|
129
|
-
["metroTargets", "AdWords::CampaignService::MetroTargets", [0, 1]],
|
130
|
-
["proximityTargets", "AdWords::CampaignService::ProximityTargets", [0, 1]],
|
131
|
-
["regionTargets", "AdWords::CampaignService::RegionTargets", [0, 1]],
|
132
|
-
["targetAll", "SOAP::SOAPBoolean"]
|
133
|
-
]
|
134
|
-
)
|
135
|
-
|
136
|
-
EncodedRegistry.register(
|
137
|
-
:class => AdWords::CampaignService::LanguageTarget,
|
138
|
-
:schema_type => XSD::QName.new(NsV12, "LanguageTarget"),
|
139
|
-
:schema_element => [
|
140
|
-
["languages", "SOAP::SOAPString[]", [1, nil]]
|
141
|
-
]
|
142
|
-
)
|
143
|
-
|
144
|
-
EncodedRegistry.register(
|
145
|
-
:class => AdWords::CampaignService::MetroTargets,
|
146
|
-
:schema_type => XSD::QName.new(NsV12, "MetroTargets"),
|
147
|
-
:schema_element => [
|
148
|
-
["metros", "SOAP::SOAPString[]", [0, nil]]
|
149
|
-
]
|
150
|
-
)
|
151
|
-
|
152
|
-
EncodedRegistry.register(
|
153
|
-
:class => AdWords::CampaignService::NetworkTarget,
|
154
|
-
:schema_type => XSD::QName.new(NsV12, "NetworkTarget"),
|
155
|
-
:schema_element => [
|
156
|
-
["networkTypes", "AdWords::CampaignService::NetworkType[]", [0, nil]]
|
157
|
-
]
|
158
|
-
)
|
159
|
-
|
160
|
-
EncodedRegistry.register(
|
161
|
-
:class => AdWords::CampaignService::ProximityTargets,
|
162
|
-
:schema_type => XSD::QName.new(NsV12, "ProximityTargets"),
|
163
|
-
:schema_element => [
|
164
|
-
["circles", "AdWords::CampaignService::Circle[]", [1, nil]]
|
165
|
-
]
|
166
|
-
)
|
167
|
-
|
168
|
-
EncodedRegistry.register(
|
169
|
-
:class => AdWords::CampaignService::RegionTargets,
|
170
|
-
:schema_type => XSD::QName.new(NsV12, "RegionTargets"),
|
171
|
-
:schema_element => [
|
172
|
-
["regions", "SOAP::SOAPString[]", [0, nil]]
|
173
|
-
]
|
174
|
-
)
|
175
|
-
|
176
|
-
EncodedRegistry.register(
|
177
|
-
:class => AdWords::CampaignService::SchedulingInterval,
|
178
|
-
:schema_type => XSD::QName.new(NsV12, "SchedulingInterval"),
|
179
|
-
:schema_element => [
|
180
|
-
["day", "AdWords::CampaignService::DayOfWeek"],
|
181
|
-
["endHour", "SOAP::SOAPInt"],
|
182
|
-
["endMinute", "SOAP::SOAPInt"],
|
183
|
-
["multiplier", "SOAP::SOAPDouble"],
|
184
|
-
["startHour", "SOAP::SOAPInt"],
|
185
|
-
["startMinute", "SOAP::SOAPInt"]
|
186
|
-
]
|
187
|
-
)
|
188
|
-
|
189
|
-
EncodedRegistry.register(
|
190
|
-
:class => AdWords::CampaignService::StatsRecord,
|
191
|
-
:schema_type => XSD::QName.new(NsV12, "StatsRecord"),
|
192
|
-
:schema_element => [
|
193
|
-
["averagePosition", "SOAP::SOAPDouble"],
|
194
|
-
["clicks", "SOAP::SOAPLong"],
|
195
|
-
["conversionRate", "SOAP::SOAPDouble"],
|
196
|
-
["conversions", "SOAP::SOAPLong"],
|
197
|
-
["cost", "SOAP::SOAPLong"],
|
198
|
-
["id", "SOAP::SOAPLong"],
|
199
|
-
["impressions", "SOAP::SOAPLong"]
|
200
|
-
]
|
201
|
-
)
|
202
|
-
|
203
|
-
EncodedRegistry.register(
|
204
|
-
:class => AdWords::CampaignService::AdScheduleStatus,
|
205
|
-
:schema_type => XSD::QName.new(NsV12, "AdScheduleStatus")
|
206
|
-
)
|
207
|
-
|
208
|
-
EncodedRegistry.register(
|
209
|
-
:class => AdWords::CampaignService::BudgetPeriod,
|
210
|
-
:schema_type => XSD::QName.new(NsV12, "BudgetPeriod")
|
211
|
-
)
|
212
|
-
|
213
|
-
EncodedRegistry.register(
|
214
|
-
:class => AdWords::CampaignService::CampaignStatus,
|
215
|
-
:schema_type => XSD::QName.new(NsV12, "CampaignStatus")
|
216
|
-
)
|
217
|
-
|
218
|
-
EncodedRegistry.register(
|
219
|
-
:class => AdWords::CampaignService::ContentTargeting,
|
220
|
-
:schema_type => XSD::QName.new(NsV12, "ContentTargeting")
|
221
|
-
)
|
222
|
-
|
223
|
-
EncodedRegistry.register(
|
224
|
-
:class => AdWords::CampaignService::DayOfWeek,
|
225
|
-
:schema_type => XSD::QName.new(NsV12, "DayOfWeek")
|
226
|
-
)
|
227
|
-
|
228
|
-
EncodedRegistry.register(
|
229
|
-
:class => AdWords::CampaignService::NetworkType,
|
230
|
-
:schema_type => XSD::QName.new(NsV12, "NetworkType")
|
231
|
-
)
|
232
|
-
|
233
|
-
LiteralRegistry.register(
|
234
|
-
:class => AdWords::CampaignService::AdSchedule,
|
235
|
-
:schema_type => XSD::QName.new(NsV12, "AdSchedule"),
|
236
|
-
:schema_element => [
|
237
|
-
["intervals", "AdWords::CampaignService::SchedulingInterval[]", [1, nil]],
|
238
|
-
["status", "AdWords::CampaignService::AdScheduleStatus"]
|
239
|
-
]
|
240
|
-
)
|
241
|
-
|
242
|
-
LiteralRegistry.register(
|
243
|
-
:class => AdWords::CampaignService::ApiError,
|
244
|
-
:schema_type => XSD::QName.new(NsV12, "ApiError"),
|
245
|
-
:schema_element => [
|
246
|
-
["code", "SOAP::SOAPInt"],
|
247
|
-
["detail", "SOAP::SOAPString"],
|
248
|
-
["field", "SOAP::SOAPString", [0, 1]],
|
249
|
-
["index", "SOAP::SOAPInt"],
|
250
|
-
["isExemptable", "SOAP::SOAPBoolean"],
|
251
|
-
["textIndex", "SOAP::SOAPInt", [0, 1]],
|
252
|
-
["textLength", "SOAP::SOAPInt", [0, 1]],
|
253
|
-
["trigger", "SOAP::SOAPString", [0, 1]]
|
254
|
-
]
|
255
|
-
)
|
256
|
-
|
257
|
-
LiteralRegistry.register(
|
258
|
-
:class => AdWords::CampaignService::ApiException,
|
259
|
-
:schema_type => XSD::QName.new(NsV12, "ApiException"),
|
260
|
-
:schema_element => [
|
261
|
-
["code", "SOAP::SOAPInt"],
|
262
|
-
["errors", "AdWords::CampaignService::ApiError[]", [1, nil]],
|
263
|
-
["internal", "SOAP::SOAPBoolean"],
|
264
|
-
["message", "SOAP::SOAPString"],
|
265
|
-
["trigger", "SOAP::SOAPString"]
|
266
|
-
]
|
267
|
-
)
|
268
|
-
|
269
|
-
LiteralRegistry.register(
|
270
|
-
:class => AdWords::CampaignService::BudgetOptimizerSettings,
|
271
|
-
:schema_type => XSD::QName.new(NsV12, "BudgetOptimizerSettings"),
|
272
|
-
:schema_element => [
|
273
|
-
["bidCeiling", "SOAP::SOAPLong", [0, 1]],
|
274
|
-
["enabled", "SOAP::SOAPBoolean", [0, 1]],
|
275
|
-
["takeOnOptimizedBids", "SOAP::SOAPBoolean", [0, 1]]
|
276
|
-
]
|
277
|
-
)
|
278
|
-
|
279
|
-
LiteralRegistry.register(
|
280
|
-
:class => AdWords::CampaignService::Campaign,
|
281
|
-
:schema_type => XSD::QName.new(NsV12, "Campaign"),
|
282
|
-
:schema_element => [
|
283
|
-
["budgetAmount", "SOAP::SOAPLong", [0, 1]],
|
284
|
-
["budgetOptimizerSettings", "AdWords::CampaignService::BudgetOptimizerSettings"],
|
285
|
-
["budgetPeriod", "AdWords::CampaignService::BudgetPeriod", [0, 1]],
|
286
|
-
["contentTargeting", "AdWords::CampaignService::ContentTargeting"],
|
287
|
-
["conversionOptimizerSettings", "AdWords::CampaignService::ConversionOptimizerSettings", [0, 1]],
|
288
|
-
["enableSeparateContentBids", "SOAP::SOAPBoolean"],
|
289
|
-
["endDay", "SOAP::SOAPDate", [0, 1]],
|
290
|
-
["geoTargeting", "AdWords::CampaignService::GeoTarget"],
|
291
|
-
["id", "SOAP::SOAPInt"],
|
292
|
-
["languageTargeting", "AdWords::CampaignService::LanguageTarget"],
|
293
|
-
["name", "SOAP::SOAPString"],
|
294
|
-
["networkTargeting", "AdWords::CampaignService::NetworkTarget"],
|
295
|
-
["schedule", "AdWords::CampaignService::AdSchedule"],
|
296
|
-
["startDay", "SOAP::SOAPDate", [0, 1]],
|
297
|
-
["status", "AdWords::CampaignService::CampaignStatus"]
|
298
|
-
]
|
299
|
-
)
|
300
|
-
|
301
|
-
LiteralRegistry.register(
|
302
|
-
:class => AdWords::CampaignService::Circle,
|
303
|
-
:schema_type => XSD::QName.new(NsV12, "Circle"),
|
304
|
-
:schema_element => [
|
305
|
-
["latitudeMicroDegrees", "SOAP::SOAPInt"],
|
306
|
-
["longitudeMicroDegrees", "SOAP::SOAPInt"],
|
307
|
-
["radiusMeters", "SOAP::SOAPInt"]
|
308
|
-
]
|
309
|
-
)
|
310
|
-
|
311
|
-
LiteralRegistry.register(
|
312
|
-
:class => AdWords::CampaignService::CityTargets,
|
313
|
-
:schema_type => XSD::QName.new(NsV12, "CityTargets"),
|
314
|
-
:schema_element => [
|
315
|
-
["cities", "SOAP::SOAPString[]", [0, nil]]
|
316
|
-
]
|
317
|
-
)
|
318
|
-
|
319
|
-
LiteralRegistry.register(
|
320
|
-
:class => AdWords::CampaignService::ConversionOptimizerEligibility,
|
321
|
-
:schema_type => XSD::QName.new(NsV12, "ConversionOptimizerEligibility"),
|
322
|
-
:schema_element => [
|
323
|
-
["campaignId", "SOAP::SOAPInt"],
|
324
|
-
["eligibleToSwitchOn", "SOAP::SOAPBoolean", [0, 1]]
|
325
|
-
]
|
326
|
-
)
|
327
|
-
|
328
|
-
LiteralRegistry.register(
|
329
|
-
:class => AdWords::CampaignService::ConversionOptimizerSettings,
|
330
|
-
:schema_type => XSD::QName.new(NsV12, "ConversionOptimizerSettings"),
|
331
|
-
:schema_element => [
|
332
|
-
["enabled", "SOAP::SOAPBoolean", [0, 1]],
|
333
|
-
["maxCpaBidForAllAdGroups", "SOAP::SOAPLong", [0, 1]]
|
334
|
-
]
|
335
|
-
)
|
336
|
-
|
337
|
-
LiteralRegistry.register(
|
338
|
-
:class => AdWords::CampaignService::CountryTargets,
|
339
|
-
:schema_type => XSD::QName.new(NsV12, "CountryTargets"),
|
340
|
-
:schema_element => [
|
341
|
-
["countries", "SOAP::SOAPString[]", [0, nil]]
|
342
|
-
]
|
343
|
-
)
|
344
|
-
|
345
|
-
LiteralRegistry.register(
|
346
|
-
:class => AdWords::CampaignService::GeoTarget,
|
347
|
-
:schema_type => XSD::QName.new(NsV12, "GeoTarget"),
|
348
|
-
:schema_element => [
|
349
|
-
["cityTargets", "AdWords::CampaignService::CityTargets", [0, 1]],
|
350
|
-
["countryTargets", "AdWords::CampaignService::CountryTargets", [0, 1]],
|
351
|
-
["metroTargets", "AdWords::CampaignService::MetroTargets", [0, 1]],
|
352
|
-
["proximityTargets", "AdWords::CampaignService::ProximityTargets", [0, 1]],
|
353
|
-
["regionTargets", "AdWords::CampaignService::RegionTargets", [0, 1]],
|
354
|
-
["targetAll", "SOAP::SOAPBoolean"]
|
355
|
-
]
|
356
|
-
)
|
357
|
-
|
358
|
-
LiteralRegistry.register(
|
359
|
-
:class => AdWords::CampaignService::LanguageTarget,
|
360
|
-
:schema_type => XSD::QName.new(NsV12, "LanguageTarget"),
|
361
|
-
:schema_element => [
|
362
|
-
["languages", "SOAP::SOAPString[]", [1, nil]]
|
363
|
-
]
|
364
|
-
)
|
365
|
-
|
366
|
-
LiteralRegistry.register(
|
367
|
-
:class => AdWords::CampaignService::MetroTargets,
|
368
|
-
:schema_type => XSD::QName.new(NsV12, "MetroTargets"),
|
369
|
-
:schema_element => [
|
370
|
-
["metros", "SOAP::SOAPString[]", [0, nil]]
|
371
|
-
]
|
372
|
-
)
|
373
|
-
|
374
|
-
LiteralRegistry.register(
|
375
|
-
:class => AdWords::CampaignService::NetworkTarget,
|
376
|
-
:schema_type => XSD::QName.new(NsV12, "NetworkTarget"),
|
377
|
-
:schema_element => [
|
378
|
-
["networkTypes", "AdWords::CampaignService::NetworkType[]", [0, nil]]
|
379
|
-
]
|
380
|
-
)
|
381
|
-
|
382
|
-
LiteralRegistry.register(
|
383
|
-
:class => AdWords::CampaignService::ProximityTargets,
|
384
|
-
:schema_type => XSD::QName.new(NsV12, "ProximityTargets"),
|
385
|
-
:schema_element => [
|
386
|
-
["circles", "AdWords::CampaignService::Circle[]", [1, nil]]
|
387
|
-
]
|
388
|
-
)
|
389
|
-
|
390
|
-
LiteralRegistry.register(
|
391
|
-
:class => AdWords::CampaignService::RegionTargets,
|
392
|
-
:schema_type => XSD::QName.new(NsV12, "RegionTargets"),
|
393
|
-
:schema_element => [
|
394
|
-
["regions", "SOAP::SOAPString[]", [0, nil]]
|
395
|
-
]
|
396
|
-
)
|
397
|
-
|
398
|
-
LiteralRegistry.register(
|
399
|
-
:class => AdWords::CampaignService::SchedulingInterval,
|
400
|
-
:schema_type => XSD::QName.new(NsV12, "SchedulingInterval"),
|
401
|
-
:schema_element => [
|
402
|
-
["day", "AdWords::CampaignService::DayOfWeek"],
|
403
|
-
["endHour", "SOAP::SOAPInt"],
|
404
|
-
["endMinute", "SOAP::SOAPInt"],
|
405
|
-
["multiplier", "SOAP::SOAPDouble"],
|
406
|
-
["startHour", "SOAP::SOAPInt"],
|
407
|
-
["startMinute", "SOAP::SOAPInt"]
|
408
|
-
]
|
409
|
-
)
|
410
|
-
|
411
|
-
LiteralRegistry.register(
|
412
|
-
:class => AdWords::CampaignService::StatsRecord,
|
413
|
-
:schema_type => XSD::QName.new(NsV12, "StatsRecord"),
|
414
|
-
:schema_element => [
|
415
|
-
["averagePosition", "SOAP::SOAPDouble"],
|
416
|
-
["clicks", "SOAP::SOAPLong"],
|
417
|
-
["conversionRate", "SOAP::SOAPDouble"],
|
418
|
-
["conversions", "SOAP::SOAPLong"],
|
419
|
-
["cost", "SOAP::SOAPLong"],
|
420
|
-
["id", "SOAP::SOAPLong"],
|
421
|
-
["impressions", "SOAP::SOAPLong"]
|
422
|
-
]
|
423
|
-
)
|
424
|
-
|
425
|
-
LiteralRegistry.register(
|
426
|
-
:class => AdWords::CampaignService::AdScheduleStatus,
|
427
|
-
:schema_type => XSD::QName.new(NsV12, "AdScheduleStatus")
|
428
|
-
)
|
429
|
-
|
430
|
-
LiteralRegistry.register(
|
431
|
-
:class => AdWords::CampaignService::BudgetPeriod,
|
432
|
-
:schema_type => XSD::QName.new(NsV12, "BudgetPeriod")
|
433
|
-
)
|
434
|
-
|
435
|
-
LiteralRegistry.register(
|
436
|
-
:class => AdWords::CampaignService::CampaignStatus,
|
437
|
-
:schema_type => XSD::QName.new(NsV12, "CampaignStatus")
|
438
|
-
)
|
439
|
-
|
440
|
-
LiteralRegistry.register(
|
441
|
-
:class => AdWords::CampaignService::ContentTargeting,
|
442
|
-
:schema_type => XSD::QName.new(NsV12, "ContentTargeting")
|
443
|
-
)
|
444
|
-
|
445
|
-
LiteralRegistry.register(
|
446
|
-
:class => AdWords::CampaignService::DayOfWeek,
|
447
|
-
:schema_type => XSD::QName.new(NsV12, "DayOfWeek")
|
448
|
-
)
|
449
|
-
|
450
|
-
LiteralRegistry.register(
|
451
|
-
:class => AdWords::CampaignService::NetworkType,
|
452
|
-
:schema_type => XSD::QName.new(NsV12, "NetworkType")
|
453
|
-
)
|
454
|
-
|
455
|
-
LiteralRegistry.register(
|
456
|
-
:class => AdWords::CampaignService::AddCampaign,
|
457
|
-
:schema_name => XSD::QName.new(NsV12, "addCampaign"),
|
458
|
-
:schema_element => [
|
459
|
-
["campaign", "AdWords::CampaignService::Campaign"]
|
460
|
-
]
|
461
|
-
)
|
462
|
-
|
463
|
-
LiteralRegistry.register(
|
464
|
-
:class => AdWords::CampaignService::AddCampaignList,
|
465
|
-
:schema_name => XSD::QName.new(NsV12, "addCampaignList"),
|
466
|
-
:schema_element => [
|
467
|
-
["campaigns", "AdWords::CampaignService::Campaign[]", [1, nil]]
|
468
|
-
]
|
469
|
-
)
|
470
|
-
|
471
|
-
LiteralRegistry.register(
|
472
|
-
:class => AdWords::CampaignService::AddCampaignListResponse,
|
473
|
-
:schema_name => XSD::QName.new(NsV12, "addCampaignListResponse"),
|
474
|
-
:schema_element => [
|
475
|
-
["addCampaignListReturn", "AdWords::CampaignService::Campaign[]", [1, nil]]
|
476
|
-
]
|
477
|
-
)
|
478
|
-
|
479
|
-
LiteralRegistry.register(
|
480
|
-
:class => AdWords::CampaignService::AddCampaignResponse,
|
481
|
-
:schema_name => XSD::QName.new(NsV12, "addCampaignResponse"),
|
482
|
-
:schema_element => [
|
483
|
-
["addCampaignReturn", "AdWords::CampaignService::Campaign"]
|
484
|
-
]
|
485
|
-
)
|
486
|
-
|
487
|
-
LiteralRegistry.register(
|
488
|
-
:class => AdWords::CampaignService::ApiException,
|
489
|
-
:schema_name => XSD::QName.new(NsV12, "fault"),
|
490
|
-
:schema_element => [
|
491
|
-
["code", "SOAP::SOAPInt"],
|
492
|
-
["errors", "AdWords::CampaignService::ApiError[]", [1, nil]],
|
493
|
-
["internal", "SOAP::SOAPBoolean"],
|
494
|
-
["message", "SOAP::SOAPString"],
|
495
|
-
["trigger", "SOAP::SOAPString"]
|
496
|
-
]
|
497
|
-
)
|
498
|
-
|
499
|
-
LiteralRegistry.register(
|
500
|
-
:class => AdWords::CampaignService::GetAllAdWordsCampaigns,
|
501
|
-
:schema_name => XSD::QName.new(NsV12, "getAllAdWordsCampaigns"),
|
502
|
-
:schema_element => [
|
503
|
-
["dummy", "SOAP::SOAPInt"]
|
504
|
-
]
|
505
|
-
)
|
506
|
-
|
507
|
-
LiteralRegistry.register(
|
508
|
-
:class => AdWords::CampaignService::GetAllAdWordsCampaignsResponse,
|
509
|
-
:schema_name => XSD::QName.new(NsV12, "getAllAdWordsCampaignsResponse"),
|
510
|
-
:schema_element => [
|
511
|
-
["getAllAdWordsCampaignsReturn", "AdWords::CampaignService::Campaign[]", [1, nil]]
|
512
|
-
]
|
513
|
-
)
|
514
|
-
|
515
|
-
LiteralRegistry.register(
|
516
|
-
:class => AdWords::CampaignService::GetCampaign,
|
517
|
-
:schema_name => XSD::QName.new(NsV12, "getCampaign"),
|
518
|
-
:schema_element => [
|
519
|
-
["id", "SOAP::SOAPInt"]
|
520
|
-
]
|
521
|
-
)
|
522
|
-
|
523
|
-
LiteralRegistry.register(
|
524
|
-
:class => AdWords::CampaignService::GetCampaignList,
|
525
|
-
:schema_name => XSD::QName.new(NsV12, "getCampaignList"),
|
526
|
-
:schema_element => [
|
527
|
-
["ids", "SOAP::SOAPInt[]", [1, nil]]
|
528
|
-
]
|
529
|
-
)
|
530
|
-
|
531
|
-
LiteralRegistry.register(
|
532
|
-
:class => AdWords::CampaignService::GetCampaignListResponse,
|
533
|
-
:schema_name => XSD::QName.new(NsV12, "getCampaignListResponse"),
|
534
|
-
:schema_element => [
|
535
|
-
["getCampaignListReturn", "AdWords::CampaignService::Campaign[]", [1, nil]]
|
536
|
-
]
|
537
|
-
)
|
538
|
-
|
539
|
-
LiteralRegistry.register(
|
540
|
-
:class => AdWords::CampaignService::GetCampaignResponse,
|
541
|
-
:schema_name => XSD::QName.new(NsV12, "getCampaignResponse"),
|
542
|
-
:schema_element => [
|
543
|
-
["getCampaignReturn", "AdWords::CampaignService::Campaign"]
|
544
|
-
]
|
545
|
-
)
|
546
|
-
|
547
|
-
LiteralRegistry.register(
|
548
|
-
:class => AdWords::CampaignService::GetCampaignStats,
|
549
|
-
:schema_name => XSD::QName.new(NsV12, "getCampaignStats"),
|
550
|
-
:schema_element => [
|
551
|
-
["campaignIds", "SOAP::SOAPInt[]", [1, nil]],
|
552
|
-
["startDay", "SOAP::SOAPDate"],
|
553
|
-
["endDay", "SOAP::SOAPDate"]
|
554
|
-
]
|
555
|
-
)
|
556
|
-
|
557
|
-
LiteralRegistry.register(
|
558
|
-
:class => AdWords::CampaignService::GetCampaignStatsResponse,
|
559
|
-
:schema_name => XSD::QName.new(NsV12, "getCampaignStatsResponse"),
|
560
|
-
:schema_element => [
|
561
|
-
["getCampaignStatsReturn", "AdWords::CampaignService::StatsRecord[]", [1, nil]]
|
562
|
-
]
|
563
|
-
)
|
564
|
-
|
565
|
-
LiteralRegistry.register(
|
566
|
-
:class => AdWords::CampaignService::GetConversionOptimizerEligibility,
|
567
|
-
:schema_name => XSD::QName.new(NsV12, "getConversionOptimizerEligibility"),
|
568
|
-
:schema_element => [
|
569
|
-
["campaignIds", "SOAP::SOAPInt[]", [1, nil]]
|
570
|
-
]
|
571
|
-
)
|
572
|
-
|
573
|
-
LiteralRegistry.register(
|
574
|
-
:class => AdWords::CampaignService::GetConversionOptimizerEligibilityResponse,
|
575
|
-
:schema_name => XSD::QName.new(NsV12, "getConversionOptimizerEligibilityResponse"),
|
576
|
-
:schema_element => [
|
577
|
-
["getConversionOptimizerEligibilityReturn", "AdWords::CampaignService::ConversionOptimizerEligibility[]", [1, nil]]
|
578
|
-
]
|
579
|
-
)
|
580
|
-
|
581
|
-
LiteralRegistry.register(
|
582
|
-
:class => AdWords::CampaignService::GetOptimizeAdServing,
|
583
|
-
:schema_name => XSD::QName.new(NsV12, "getOptimizeAdServing"),
|
584
|
-
:schema_element => [
|
585
|
-
["campaignId", "SOAP::SOAPInt"]
|
586
|
-
]
|
587
|
-
)
|
588
|
-
|
589
|
-
LiteralRegistry.register(
|
590
|
-
:class => AdWords::CampaignService::GetOptimizeAdServingResponse,
|
591
|
-
:schema_name => XSD::QName.new(NsV12, "getOptimizeAdServingResponse"),
|
592
|
-
:schema_element => [
|
593
|
-
["getOptimizeAdServingReturn", "SOAP::SOAPBoolean"]
|
594
|
-
]
|
595
|
-
)
|
596
|
-
|
597
|
-
LiteralRegistry.register(
|
598
|
-
:class => AdWords::CampaignService::SetOptimizeAdServing,
|
599
|
-
:schema_name => XSD::QName.new(NsV12, "setOptimizeAdServing"),
|
600
|
-
:schema_element => [
|
601
|
-
["campaignId", "SOAP::SOAPInt"],
|
602
|
-
["enable", "SOAP::SOAPBoolean"]
|
603
|
-
]
|
604
|
-
)
|
605
|
-
|
606
|
-
LiteralRegistry.register(
|
607
|
-
:class => AdWords::CampaignService::SetOptimizeAdServingResponse,
|
608
|
-
:schema_name => XSD::QName.new(NsV12, "setOptimizeAdServingResponse"),
|
609
|
-
:schema_element => []
|
610
|
-
)
|
611
|
-
|
612
|
-
LiteralRegistry.register(
|
613
|
-
:class => AdWords::CampaignService::UpdateCampaign,
|
614
|
-
:schema_name => XSD::QName.new(NsV12, "updateCampaign"),
|
615
|
-
:schema_element => [
|
616
|
-
["campaign", "AdWords::CampaignService::Campaign"]
|
617
|
-
]
|
618
|
-
)
|
619
|
-
|
620
|
-
LiteralRegistry.register(
|
621
|
-
:class => AdWords::CampaignService::UpdateCampaignList,
|
622
|
-
:schema_name => XSD::QName.new(NsV12, "updateCampaignList"),
|
623
|
-
:schema_element => [
|
624
|
-
["campaigns", "AdWords::CampaignService::Campaign[]", [1, nil]]
|
625
|
-
]
|
626
|
-
)
|
627
|
-
|
628
|
-
LiteralRegistry.register(
|
629
|
-
:class => AdWords::CampaignService::UpdateCampaignListResponse,
|
630
|
-
:schema_name => XSD::QName.new(NsV12, "updateCampaignListResponse"),
|
631
|
-
:schema_element => []
|
632
|
-
)
|
633
|
-
|
634
|
-
LiteralRegistry.register(
|
635
|
-
:class => AdWords::CampaignService::UpdateCampaignResponse,
|
636
|
-
:schema_name => XSD::QName.new(NsV12, "updateCampaignResponse"),
|
637
|
-
:schema_element => []
|
638
|
-
)
|
639
|
-
|
640
|
-
end
|
641
|
-
|
642
|
-
end; end
|