adwords4r 12.1.0 → 13.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.txt +3 -0
- data/Rakefile +1 -1
- data/examples/account_info.rb +2 -2
- data/examples/create_all.rb +2 -2
- data/examples/keyword_suggestions.rb +14 -8
- data/examples/reports.rb +2 -2
- data/lib/adwords4r/services.rb +2 -0
- data/lib/adwords4r/v12/AccountServiceDriver.rb +3 -3
- data/lib/adwords4r/v12/AdGroupServiceDriver.rb +8 -8
- data/lib/adwords4r/v12/AdServiceDriver.rb +10 -10
- data/lib/adwords4r/v12/CampaignServiceDriver.rb +11 -11
- data/lib/adwords4r/v12/CriterionServiceDriver.rb +9 -9
- data/lib/adwords4r/v12/InfoServiceDriver.rb +8 -8
- data/lib/adwords4r/v12/KeywordToolServiceDriver.rb +2 -2
- data/lib/adwords4r/v12/ReportServiceDriver.rb +7 -7
- data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +2 -2
- data/lib/adwords4r/v12/SiteSuggestionServiceDriver.rb +4 -4
- data/lib/adwords4r/v12/TrafficEstimatorService.rb +1 -1
- data/lib/adwords4r/v12/TrafficEstimatorServiceDriver.rb +4 -4
- data/lib/adwords4r/v12/TrafficEstimatorServiceMappingRegistry.rb +2 -2
- data/lib/adwords4r/v13/AccountService.rb +297 -0
- data/lib/adwords4r/v13/AccountServiceDriver.rb +85 -0
- data/lib/adwords4r/v13/AccountServiceMappingRegistry.rb +337 -0
- data/lib/adwords4r/v13/AdGroupService.rb +277 -0
- data/lib/adwords4r/v13/AdGroupServiceDriver.rb +117 -0
- data/lib/adwords4r/v13/AdGroupServiceMappingRegistry.rb +296 -0
- data/lib/adwords4r/v13/AdService.rb +846 -0
- data/lib/adwords4r/v13/AdServiceDriver.rb +125 -0
- data/lib/adwords4r/v13/AdServiceMappingRegistry.rb +859 -0
- data/lib/adwords4r/v13/CampaignService.rb +562 -0
- data/lib/adwords4r/v13/CampaignServiceDriver.rb +149 -0
- data/lib/adwords4r/v13/CampaignServiceMappingRegistry.rb +696 -0
- data/lib/adwords4r/v13/CriterionService.rb +484 -0
- data/lib/adwords4r/v13/CriterionServiceDriver.rb +117 -0
- data/lib/adwords4r/v13/CriterionServiceMappingRegistry.rb +519 -0
- data/lib/adwords4r/v13/InfoService.rb +242 -0
- data/lib/adwords4r/v13/InfoServiceDriver.rb +109 -0
- data/lib/adwords4r/v13/InfoServiceMappingRegistry.rb +228 -0
- data/lib/adwords4r/v13/KeywordToolService.rb +211 -0
- data/lib/adwords4r/v13/KeywordToolServiceDriver.rb +61 -0
- data/lib/adwords4r/v13/KeywordToolServiceMappingRegistry.rb +231 -0
- data/lib/adwords4r/v13/ReportService.rb +322 -0
- data/lib/adwords4r/v13/ReportServiceDriver.rb +101 -0
- data/lib/adwords4r/v13/ReportServiceMappingRegistry.rb +298 -0
- data/lib/adwords4r/v13/SiteSuggestionService.rb +242 -0
- data/lib/adwords4r/v13/SiteSuggestionServiceDriver.rb +77 -0
- data/lib/adwords4r/v13/SiteSuggestionServiceMappingRegistry.rb +271 -0
- data/lib/adwords4r/v13/TrafficEstimatorService.rb +348 -0
- data/lib/adwords4r/v13/TrafficEstimatorServiceDriver.rb +77 -0
- data/lib/adwords4r/v13/TrafficEstimatorServiceMappingRegistry.rb +491 -0
- data/setup.rb +0 -0
- metadata +93 -54
data/ChangeLog.txt
CHANGED
data/Rakefile
CHANGED
data/examples/account_info.rb
CHANGED
@@ -44,9 +44,9 @@ def main()
|
|
44
44
|
# 'email' => 'user@domain.com',
|
45
45
|
# 'clientEmail' => 'client_1+user@domain.com',
|
46
46
|
# 'applicationToken' => 'IGNORED',
|
47
|
-
# 'alternateUrl' => 'https://sandbox.google.com/api/adwords/
|
47
|
+
# 'alternateUrl' => 'https://sandbox.google.com/api/adwords/v13/',
|
48
48
|
# }
|
49
|
-
# adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(creds),
|
49
|
+
# adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(creds), 13)
|
50
50
|
|
51
51
|
adwords = AdWords::API.new
|
52
52
|
|
data/examples/create_all.rb
CHANGED
@@ -44,9 +44,9 @@ def main()
|
|
44
44
|
# 'email' => 'user@domain.com',
|
45
45
|
# 'clientEmail' => 'client_1+user@domain.com',
|
46
46
|
# 'applicationToken' => 'IGNORED',
|
47
|
-
# 'alternateUrl' => 'https://sandbox.google.com/api/adwords/
|
47
|
+
# 'alternateUrl' => 'https://sandbox.google.com/api/adwords/v13/',
|
48
48
|
# }
|
49
|
-
# adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(creds),
|
49
|
+
# adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(creds), 13)
|
50
50
|
|
51
51
|
adwords = AdWords::API.new
|
52
52
|
|
@@ -44,16 +44,16 @@ def main()
|
|
44
44
|
# 'email' => 'user@domain.com',
|
45
45
|
# 'clientEmail' => 'client_1+user@domain.com',
|
46
46
|
# 'applicationToken' => 'IGNORED',
|
47
|
-
# 'alternateUrl' => 'https://sandbox.google.com/api/adwords/
|
47
|
+
# 'alternateUrl' => 'https://sandbox.google.com/api/adwords/v13/',
|
48
48
|
# }
|
49
|
-
# adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(creds),
|
49
|
+
# adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(creds), 13)
|
50
50
|
|
51
51
|
adwords = AdWords::API.new
|
52
52
|
|
53
53
|
# Modify the following values to set the seed keywords, language,
|
54
54
|
# country targeting, and synonyms options.
|
55
55
|
|
56
|
-
keywords = ['
|
56
|
+
keywords = ['new york']
|
57
57
|
languages = %w{en}
|
58
58
|
countries = %w{US}
|
59
59
|
use_synonyms = false
|
@@ -70,6 +70,10 @@ def main()
|
|
70
70
|
languages, countries
|
71
71
|
).getKeywordVariationsReturn
|
72
72
|
|
73
|
+
# Sort the list of variations using the following criteria:
|
74
|
+
# - treat moreSpecific and additionalToConsider results identically
|
75
|
+
# - sort in descending value based on lastMonthSearchVolume
|
76
|
+
# - in case of ties, use avgSearchVolume
|
73
77
|
variation_objects = []
|
74
78
|
unless variations.moreSpecific.nil?
|
75
79
|
variation_objects.concat(variations.moreSpecific)
|
@@ -78,14 +82,14 @@ def main()
|
|
78
82
|
variation_objects.concat(variations.additionalToConsider)
|
79
83
|
end
|
80
84
|
variation_objects.sort! do |a, b|
|
81
|
-
if b.
|
82
|
-
a.
|
85
|
+
if b.avgSearchVolume == a.avgSearchVolume
|
86
|
+
a.lastMonthSearchVolume <=> b.lastMonthSearchVolume
|
83
87
|
else
|
84
|
-
b.
|
88
|
+
b.avgSearchVolume <=> a.avgSearchVolume
|
85
89
|
end
|
86
90
|
end
|
87
91
|
|
88
|
-
max_estimates =
|
92
|
+
max_estimates = 5
|
89
93
|
keywords_to_estimate = []
|
90
94
|
variation_objects[0..max_estimates - 1].each do |variation_object|
|
91
95
|
keywords_to_estimate << variation_object.text
|
@@ -101,7 +105,9 @@ def main()
|
|
101
105
|
end
|
102
106
|
|
103
107
|
geo_targeting = AdWords::TrafficEstimatorService::GeoTarget.new
|
104
|
-
|
108
|
+
countryTargets = AdWords::TrafficEstimatorService::CountryTargets.new
|
109
|
+
countryTargets.countries = countries
|
110
|
+
geo_targeting.countryTargets = countryTargets
|
105
111
|
|
106
112
|
campaign_request = AdWords::TrafficEstimatorService::CampaignRequest.new
|
107
113
|
campaign_request.adGroupRequests = ad_group_request
|
data/examples/reports.rb
CHANGED
@@ -44,9 +44,9 @@ def main()
|
|
44
44
|
# 'email' => 'user@domain.com',
|
45
45
|
# 'clientEmail' => 'client_1+user@domain.com',
|
46
46
|
# 'applicationToken' => 'IGNORED',
|
47
|
-
# 'alternateUrl' => 'https://sandbox.google.com/api/adwords/
|
47
|
+
# 'alternateUrl' => 'https://sandbox.google.com/api/adwords/v13/',
|
48
48
|
# }
|
49
|
-
# adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(creds),
|
49
|
+
# adwords = AdWords::API.new(AdWords::AdWordsCredentials.new(creds), 13)
|
50
50
|
|
51
51
|
adwords = AdWords::API.new
|
52
52
|
|
data/lib/adwords4r/services.rb
CHANGED
@@ -3,6 +3,8 @@ module AdWords
|
|
3
3
|
|
4
4
|
@services = {
|
5
5
|
12 => ["Account", "AdGroup", "Ad", "Campaign", "Criterion", "Info",
|
6
|
+
"KeywordTool", "Report", "SiteSuggestion", "TrafficEstimator"],
|
7
|
+
13 => ["Account", "AdGroup", "Ad", "Campaign", "Criterion", "Info",
|
6
8
|
"KeywordTool", "Report", "SiteSuggestion", "TrafficEstimator"]
|
7
9
|
}
|
8
10
|
|
@@ -15,7 +15,7 @@ class AccountInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAccountInfoResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::AccountService::ApiException"=>{:encodingstyle=>"document", :
|
18
|
+
:faults => {"AdWords::AccountService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"getClientAccounts",
|
@@ -23,7 +23,7 @@ class AccountInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getClientAccountsResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::AccountService::ApiException"=>{:encodingstyle=>"document", :
|
26
|
+
:faults => {"AdWords::AccountService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"updateAccountInfo",
|
@@ -31,7 +31,7 @@ class AccountInterface < ::SOAP::RPC::Driver
|
|
31
31
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateAccountInfoResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::AccountService::ApiException"=>{:encodingstyle=>"document", :
|
34
|
+
:faults => {"AdWords::AccountService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
35
35
|
]
|
36
36
|
]
|
37
37
|
|
@@ -15,7 +15,7 @@ class AdGroupInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addAdGroupResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :
|
18
|
+
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"addAdGroupList",
|
@@ -23,7 +23,7 @@ class AdGroupInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addAdGroupListResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :
|
26
|
+
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"getAdGroup",
|
@@ -31,7 +31,7 @@ class AdGroupInterface < ::SOAP::RPC::Driver
|
|
31
31
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAdGroupResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :
|
34
|
+
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"getAdGroupList",
|
@@ -39,7 +39,7 @@ class AdGroupInterface < ::SOAP::RPC::Driver
|
|
39
39
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAdGroupListResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :
|
42
|
+
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
43
43
|
],
|
44
44
|
[ "",
|
45
45
|
"getAdGroupStats",
|
@@ -47,7 +47,7 @@ class AdGroupInterface < ::SOAP::RPC::Driver
|
|
47
47
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAdGroupStatsResponse"]] ],
|
48
48
|
{ :request_style => :document, :request_use => :literal,
|
49
49
|
:response_style => :document, :response_use => :literal,
|
50
|
-
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :
|
50
|
+
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
51
51
|
],
|
52
52
|
[ "",
|
53
53
|
"getAllAdGroups",
|
@@ -55,7 +55,7 @@ class AdGroupInterface < ::SOAP::RPC::Driver
|
|
55
55
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAllAdGroupsResponse"]] ],
|
56
56
|
{ :request_style => :document, :request_use => :literal,
|
57
57
|
:response_style => :document, :response_use => :literal,
|
58
|
-
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :
|
58
|
+
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
59
59
|
],
|
60
60
|
[ "",
|
61
61
|
"updateAdGroup",
|
@@ -63,7 +63,7 @@ class AdGroupInterface < ::SOAP::RPC::Driver
|
|
63
63
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateAdGroupResponse"]] ],
|
64
64
|
{ :request_style => :document, :request_use => :literal,
|
65
65
|
:response_style => :document, :response_use => :literal,
|
66
|
-
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :
|
66
|
+
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
67
67
|
],
|
68
68
|
[ "",
|
69
69
|
"updateAdGroupList",
|
@@ -71,7 +71,7 @@ class AdGroupInterface < ::SOAP::RPC::Driver
|
|
71
71
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateAdGroupListResponse"]] ],
|
72
72
|
{ :request_style => :document, :request_use => :literal,
|
73
73
|
:response_style => :document, :response_use => :literal,
|
74
|
-
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :
|
74
|
+
:faults => {"AdWords::AdGroupService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
75
75
|
]
|
76
76
|
]
|
77
77
|
|
@@ -15,7 +15,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addAdsResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
18
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"checkAds",
|
@@ -23,7 +23,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "checkAdsResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
26
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"findBusinesses",
|
@@ -31,7 +31,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
31
31
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "findBusinessesResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
34
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"getActiveAds",
|
@@ -39,7 +39,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
39
39
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getActiveAdsResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
42
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
43
43
|
],
|
44
44
|
[ "",
|
45
45
|
"getAd",
|
@@ -47,7 +47,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
47
47
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAdResponse"]] ],
|
48
48
|
{ :request_style => :document, :request_use => :literal,
|
49
49
|
:response_style => :document, :response_use => :literal,
|
50
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
50
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
51
51
|
],
|
52
52
|
[ "",
|
53
53
|
"getAdStats",
|
@@ -55,7 +55,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
55
55
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAdStatsResponse"]] ],
|
56
56
|
{ :request_style => :document, :request_use => :literal,
|
57
57
|
:response_style => :document, :response_use => :literal,
|
58
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
58
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
59
59
|
],
|
60
60
|
[ "",
|
61
61
|
"getAllAds",
|
@@ -63,7 +63,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
63
63
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAllAdsResponse"]] ],
|
64
64
|
{ :request_style => :document, :request_use => :literal,
|
65
65
|
:response_style => :document, :response_use => :literal,
|
66
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
66
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
67
67
|
],
|
68
68
|
[ "",
|
69
69
|
"getMyBusinesses",
|
@@ -71,7 +71,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
71
71
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getMyBusinessesResponse"]] ],
|
72
72
|
{ :request_style => :document, :request_use => :literal,
|
73
73
|
:response_style => :document, :response_use => :literal,
|
74
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
74
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
75
75
|
],
|
76
76
|
[ "",
|
77
77
|
"getMyVideos",
|
@@ -79,7 +79,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
79
79
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getMyVideosResponse"]] ],
|
80
80
|
{ :request_style => :document, :request_use => :literal,
|
81
81
|
:response_style => :document, :response_use => :literal,
|
82
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
82
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
83
83
|
],
|
84
84
|
[ "",
|
85
85
|
"updateAds",
|
@@ -87,7 +87,7 @@ class AdInterface < ::SOAP::RPC::Driver
|
|
87
87
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateAdsResponse"]] ],
|
88
88
|
{ :request_style => :document, :request_use => :literal,
|
89
89
|
:response_style => :document, :response_use => :literal,
|
90
|
-
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :
|
90
|
+
:faults => {"AdWords::AdService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
91
91
|
]
|
92
92
|
]
|
93
93
|
|
@@ -15,7 +15,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaignResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
18
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"addCampaignList",
|
@@ -23,7 +23,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCampaignListResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
26
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"getAllAdWordsCampaigns",
|
@@ -31,7 +31,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
31
31
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAllAdWordsCampaignsResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
34
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"getCampaign",
|
@@ -39,7 +39,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
39
39
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
42
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
43
43
|
],
|
44
44
|
[ "",
|
45
45
|
"getCampaignList",
|
@@ -47,7 +47,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
47
47
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignListResponse"]] ],
|
48
48
|
{ :request_style => :document, :request_use => :literal,
|
49
49
|
:response_style => :document, :response_use => :literal,
|
50
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
50
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
51
51
|
],
|
52
52
|
[ "",
|
53
53
|
"getCampaignStats",
|
@@ -55,7 +55,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
55
55
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignStatsResponse"]] ],
|
56
56
|
{ :request_style => :document, :request_use => :literal,
|
57
57
|
:response_style => :document, :response_use => :literal,
|
58
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
58
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
59
59
|
],
|
60
60
|
[ "",
|
61
61
|
"getConversionOptimizerEligibility",
|
@@ -63,7 +63,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
63
63
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getConversionOptimizerEligibilityResponse"]] ],
|
64
64
|
{ :request_style => :document, :request_use => :literal,
|
65
65
|
:response_style => :document, :response_use => :literal,
|
66
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
66
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
67
67
|
],
|
68
68
|
[ "",
|
69
69
|
"getOptimizeAdServing",
|
@@ -71,7 +71,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
71
71
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getOptimizeAdServingResponse"]] ],
|
72
72
|
{ :request_style => :document, :request_use => :literal,
|
73
73
|
:response_style => :document, :response_use => :literal,
|
74
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
74
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
75
75
|
],
|
76
76
|
[ "",
|
77
77
|
"setOptimizeAdServing",
|
@@ -79,7 +79,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
79
79
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "setOptimizeAdServingResponse"]] ],
|
80
80
|
{ :request_style => :document, :request_use => :literal,
|
81
81
|
:response_style => :document, :response_use => :literal,
|
82
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
82
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
83
83
|
],
|
84
84
|
[ "",
|
85
85
|
"updateCampaign",
|
@@ -87,7 +87,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
87
87
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaignResponse"]] ],
|
88
88
|
{ :request_style => :document, :request_use => :literal,
|
89
89
|
:response_style => :document, :response_use => :literal,
|
90
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
90
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
91
91
|
],
|
92
92
|
[ "",
|
93
93
|
"updateCampaignList",
|
@@ -95,7 +95,7 @@ class CampaignInterface < ::SOAP::RPC::Driver
|
|
95
95
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCampaignListResponse"]] ],
|
96
96
|
{ :request_style => :document, :request_use => :literal,
|
97
97
|
:response_style => :document, :response_use => :literal,
|
98
|
-
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :
|
98
|
+
:faults => {"AdWords::CampaignService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
99
99
|
]
|
100
100
|
]
|
101
101
|
|
@@ -15,7 +15,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "addCriteriaResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :
|
18
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"checkCriteria",
|
@@ -23,7 +23,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "checkCriteriaResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :
|
26
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"getAllCriteria",
|
@@ -31,7 +31,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
31
31
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAllCriteriaResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :
|
34
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"getCampaignNegativeCriteria",
|
@@ -39,7 +39,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
39
39
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCampaignNegativeCriteriaResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :
|
42
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
43
43
|
],
|
44
44
|
[ "",
|
45
45
|
"getCriteria",
|
@@ -47,7 +47,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
47
47
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCriteriaResponse"]] ],
|
48
48
|
{ :request_style => :document, :request_use => :literal,
|
49
49
|
:response_style => :document, :response_use => :literal,
|
50
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :
|
50
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
51
51
|
],
|
52
52
|
[ "",
|
53
53
|
"getCriterionStats",
|
@@ -55,7 +55,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
55
55
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getCriterionStatsResponse"]] ],
|
56
56
|
{ :request_style => :document, :request_use => :literal,
|
57
57
|
:response_style => :document, :response_use => :literal,
|
58
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :
|
58
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
59
59
|
],
|
60
60
|
[ "",
|
61
61
|
"removeCriteria",
|
@@ -63,7 +63,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
63
63
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "removeCriteriaResponse"]] ],
|
64
64
|
{ :request_style => :document, :request_use => :literal,
|
65
65
|
:response_style => :document, :response_use => :literal,
|
66
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :
|
66
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
67
67
|
],
|
68
68
|
[ "",
|
69
69
|
"setCampaignNegativeCriteria",
|
@@ -71,7 +71,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
71
71
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "setCampaignNegativeCriteriaResponse"]] ],
|
72
72
|
{ :request_style => :document, :request_use => :literal,
|
73
73
|
:response_style => :document, :response_use => :literal,
|
74
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :
|
74
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
75
75
|
],
|
76
76
|
[ "",
|
77
77
|
"updateCriteria",
|
@@ -79,7 +79,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
79
79
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateCriteriaResponse"]] ],
|
80
80
|
{ :request_style => :document, :request_use => :literal,
|
81
81
|
:response_style => :document, :response_use => :literal,
|
82
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :
|
82
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
|
83
83
|
]
|
84
84
|
]
|
85
85
|
|