adwords4r 11.1.0 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.txt +4 -0
- data/Rakefile +76 -70
- data/examples/campaign.rb +40 -0
- data/examples/{old/framework.rb → framework.rb} +0 -0
- data/examples/{old/get_free_usage_this_month.rb → get_free_usage_this_month.rb} +8 -6
- data/examples/get_unit_count.rb +21 -0
- data/examples/keyword_suggestions.rb +179 -0
- data/examples/keyword_tool_demo.rb +31 -0
- data/examples/reports.rb +6 -6
- data/examples/traffic_estimator.rb +34 -0
- data/lib/adwords4r.rb +26 -19
- data/lib/adwords4r/credentials.rb +4 -2
- data/lib/adwords4r/services.rb +4 -2
- data/lib/adwords4r/v11/AccountServiceDriver.rb +3 -3
- data/lib/adwords4r/v11/AdGroupServiceDriver.rb +8 -8
- data/lib/adwords4r/v11/AdServiceDriver.rb +10 -10
- data/lib/adwords4r/v11/CampaignServiceDriver.rb +10 -10
- data/lib/adwords4r/v11/CriterionServiceDriver.rb +9 -9
- data/lib/adwords4r/v11/InfoServiceDriver.rb +8 -8
- data/lib/adwords4r/v11/KeywordToolServiceDriver.rb +2 -2
- data/lib/adwords4r/v11/ReportServiceDriver.rb +7 -7
- data/lib/adwords4r/v11/SiteSuggestionServiceDriver.rb +4 -4
- data/lib/adwords4r/v11/TrafficEstimatorServiceDriver.rb +4 -4
- data/lib/adwords4r/{v10 → v12}/AccountService.rb +13 -32
- data/lib/adwords4r/{v10 → v12}/AccountServiceDriver.rb +12 -20
- data/lib/adwords4r/{v10 → v12}/AccountServiceMappingRegistry.rb +23 -38
- data/lib/adwords4r/{v10 → v12}/AdGroupService.rb +43 -37
- data/lib/adwords4r/{v10 → v12}/AdGroupServiceDriver.rb +27 -27
- data/lib/adwords4r/{v10 → v12}/AdGroupServiceMappingRegistry.rb +46 -42
- data/lib/adwords4r/{v10 → v12}/AdService.rb +68 -56
- data/lib/adwords4r/{v10 → v12}/AdServiceDriver.rb +33 -33
- data/lib/adwords4r/{v10 → v12}/AdServiceMappingRegistry.rb +113 -105
- data/lib/adwords4r/{v10 → v12}/CampaignService.rb +99 -44
- data/lib/adwords4r/{v10 → v12}/CampaignServiceDriver.rb +41 -33
- data/lib/adwords4r/{v10 → v12}/CampaignServiceMappingRegistry.rb +143 -65
- data/lib/adwords4r/{v10 → v12}/CriterionService.rb +46 -43
- data/lib/adwords4r/{v10 → v12}/CriterionServiceDriver.rb +30 -30
- data/lib/adwords4r/{v10 → v12}/CriterionServiceMappingRegistry.rb +67 -65
- data/lib/adwords4r/{v10 → v12}/InfoService.rb +19 -19
- data/lib/adwords4r/{v10 → v12}/InfoServiceDriver.rb +27 -27
- data/lib/adwords4r/{v10 → v12}/InfoServiceMappingRegistry.rb +25 -25
- data/lib/adwords4r/{v10 → v12}/KeywordToolService.rb +12 -12
- data/lib/adwords4r/{v10 → v12}/KeywordToolServiceDriver.rb +9 -9
- data/lib/adwords4r/{v10 → v12}/KeywordToolServiceMappingRegistry.rb +23 -23
- data/lib/adwords4r/v12/ReportService.rb +322 -0
- data/lib/adwords4r/{v10 → v12}/ReportServiceDriver.rb +29 -21
- data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +298 -0
- data/lib/adwords4r/{v10 → v12}/SiteSuggestionService.rb +18 -18
- data/lib/adwords4r/{v10 → v12}/SiteSuggestionServiceDriver.rb +15 -15
- data/lib/adwords4r/{v10 → v12}/SiteSuggestionServiceMappingRegistry.rb +45 -45
- data/lib/adwords4r/{v10 → v12}/TrafficEstimatorService.rb +29 -29
- data/lib/adwords4r/{v10 → v12}/TrafficEstimatorServiceDriver.rb +15 -15
- data/lib/adwords4r/{v10 → v12}/TrafficEstimatorServiceMappingRegistry.rb +55 -55
- data/svn-commit.2.tmp +60 -0
- data/svn-commit.tmp +60 -0
- metadata +41 -38
- data/examples/old/campaign.rb +0 -40
- data/examples/old/get_unit_count.rb +0 -21
- data/examples/old/keyword_tool_demo.rb +0 -30
- data/examples/old/traffic_estimator.rb +0 -34
- data/lib/adwords4r/v10/ReportService.rb +0 -652
- data/lib/adwords4r/v10/ReportServiceMappingRegistry.rb +0 -559
@@ -15,7 +15,7 @@ class CriterionInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "addCriteriaResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:
|
18
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
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/v11", "checkCriteriaResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:
|
26
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
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/v11", "getAllCriteriaResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:
|
34
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
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/v11", "getCampaignNegativeCriteriaResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:
|
42
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
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/v11", "getCriteriaResponse"]] ],
|
48
48
|
{ :request_style => :document, :request_use => :literal,
|
49
49
|
:response_style => :document, :response_use => :literal,
|
50
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:
|
50
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
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/v11", "getCriterionStatsResponse"]] ],
|
56
56
|
{ :request_style => :document, :request_use => :literal,
|
57
57
|
:response_style => :document, :response_use => :literal,
|
58
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:
|
58
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
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/v11", "removeCriteriaResponse"]] ],
|
64
64
|
{ :request_style => :document, :request_use => :literal,
|
65
65
|
:response_style => :document, :response_use => :literal,
|
66
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:
|
66
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
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/v11", "setCampaignNegativeCriteriaResponse"]] ],
|
72
72
|
{ :request_style => :document, :request_use => :literal,
|
73
73
|
:response_style => :document, :response_use => :literal,
|
74
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:
|
74
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
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/v11", "updateCriteriaResponse"]] ],
|
80
80
|
{ :request_style => :document, :request_use => :literal,
|
81
81
|
:response_style => :document, :response_use => :literal,
|
82
|
-
:faults => {"AdWords::CriterionService::ApiException"=>{:
|
82
|
+
:faults => {"AdWords::CriterionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
83
83
|
]
|
84
84
|
]
|
85
85
|
|
@@ -15,7 +15,7 @@ class InfoInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getFreeUsageQuotaThisMonthResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
18
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"getMethodCost",
|
@@ -23,7 +23,7 @@ class InfoInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getMethodCostResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
26
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"getOperationCount",
|
@@ -31,7 +31,7 @@ class InfoInterface < ::SOAP::RPC::Driver
|
|
31
31
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getOperationCountResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
34
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"getOperationsQuotaThisMonth",
|
@@ -39,7 +39,7 @@ class InfoInterface < ::SOAP::RPC::Driver
|
|
39
39
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getOperationsQuotaThisMonthResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
42
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
43
43
|
],
|
44
44
|
[ "",
|
45
45
|
"getUnitCount",
|
@@ -47,7 +47,7 @@ class InfoInterface < ::SOAP::RPC::Driver
|
|
47
47
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getUnitCountResponse"]] ],
|
48
48
|
{ :request_style => :document, :request_use => :literal,
|
49
49
|
:response_style => :document, :response_use => :literal,
|
50
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
50
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
51
51
|
],
|
52
52
|
[ "",
|
53
53
|
"getUnitCountForClients",
|
@@ -55,7 +55,7 @@ class InfoInterface < ::SOAP::RPC::Driver
|
|
55
55
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getUnitCountForClientsResponse"]] ],
|
56
56
|
{ :request_style => :document, :request_use => :literal,
|
57
57
|
:response_style => :document, :response_use => :literal,
|
58
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
58
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
59
59
|
],
|
60
60
|
[ "",
|
61
61
|
"getUnitCountForMethod",
|
@@ -63,7 +63,7 @@ class InfoInterface < ::SOAP::RPC::Driver
|
|
63
63
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getUnitCountForMethodResponse"]] ],
|
64
64
|
{ :request_style => :document, :request_use => :literal,
|
65
65
|
:response_style => :document, :response_use => :literal,
|
66
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
66
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
67
67
|
],
|
68
68
|
[ "",
|
69
69
|
"getUsageQuotaThisMonth",
|
@@ -71,7 +71,7 @@ class InfoInterface < ::SOAP::RPC::Driver
|
|
71
71
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getUsageQuotaThisMonthResponse"]] ],
|
72
72
|
{ :request_style => :document, :request_use => :literal,
|
73
73
|
:response_style => :document, :response_use => :literal,
|
74
|
-
:faults => {"AdWords::InfoService::ApiException"=>{:
|
74
|
+
:faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
75
75
|
]
|
76
76
|
]
|
77
77
|
|
@@ -15,7 +15,7 @@ class KeywordToolInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getKeywordVariationsResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::KeywordToolService::ApiException"=>{:
|
18
|
+
:faults => {"AdWords::KeywordToolService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"getKeywordsFromSite",
|
@@ -23,7 +23,7 @@ class KeywordToolInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getKeywordsFromSiteResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::KeywordToolService::ApiException"=>{:
|
26
|
+
:faults => {"AdWords::KeywordToolService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
27
27
|
]
|
28
28
|
]
|
29
29
|
|
@@ -15,7 +15,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "deleteReportResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::ReportService::ApiException"=>{:
|
18
|
+
:faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"getAllJobs",
|
@@ -23,7 +23,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getAllJobsResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::ReportService::ApiException"=>{:
|
26
|
+
:faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"getGzipReportDownloadUrl",
|
@@ -31,7 +31,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
31
31
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getGzipReportDownloadUrlResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::ReportService::ApiException"=>{:
|
34
|
+
:faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"getReportDownloadUrl",
|
@@ -39,7 +39,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
39
39
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getReportDownloadUrlResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::ReportService::ApiException"=>{:
|
42
|
+
:faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
43
43
|
],
|
44
44
|
[ "",
|
45
45
|
"getReportJobStatus",
|
@@ -47,7 +47,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
47
47
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getReportJobStatusResponse"]] ],
|
48
48
|
{ :request_style => :document, :request_use => :literal,
|
49
49
|
:response_style => :document, :response_use => :literal,
|
50
|
-
:faults => {"AdWords::ReportService::ApiException"=>{:
|
50
|
+
:faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
51
51
|
],
|
52
52
|
[ "",
|
53
53
|
"scheduleReportJob",
|
@@ -55,7 +55,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
55
55
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "scheduleReportJobResponse"]] ],
|
56
56
|
{ :request_style => :document, :request_use => :literal,
|
57
57
|
:response_style => :document, :response_use => :literal,
|
58
|
-
:faults => {"AdWords::ReportService::ApiException"=>{:
|
58
|
+
:faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
59
59
|
],
|
60
60
|
[ "",
|
61
61
|
"validateReportJob",
|
@@ -63,7 +63,7 @@ class ReportInterface < ::SOAP::RPC::Driver
|
|
63
63
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "validateReportJobResponse"]] ],
|
64
64
|
{ :request_style => :document, :request_use => :literal,
|
65
65
|
:response_style => :document, :response_use => :literal,
|
66
|
-
:faults => {"AdWords::ReportService::ApiException"=>{:
|
66
|
+
:faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
67
67
|
]
|
68
68
|
]
|
69
69
|
|
@@ -15,7 +15,7 @@ class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getSitesByCategoryNameResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
18
|
+
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"getSitesByDemographics",
|
@@ -23,7 +23,7 @@ class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getSitesByDemographicsResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
26
|
+
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"getSitesByTopics",
|
@@ -31,7 +31,7 @@ class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
|
31
31
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getSitesByTopicsResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
34
|
+
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"getSitesByUrls",
|
@@ -39,7 +39,7 @@ class SiteSuggestionInterface < ::SOAP::RPC::Driver
|
|
39
39
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "getSitesByUrlsResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:
|
42
|
+
:faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
43
43
|
]
|
44
44
|
]
|
45
45
|
|
@@ -15,7 +15,7 @@ class TrafficEstimatorInterface < ::SOAP::RPC::Driver
|
|
15
15
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "checkKeywordTrafficResponse"]] ],
|
16
16
|
{ :request_style => :document, :request_use => :literal,
|
17
17
|
:response_style => :document, :response_use => :literal,
|
18
|
-
:faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:
|
18
|
+
:faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"estimateAdGroupList",
|
@@ -23,7 +23,7 @@ class TrafficEstimatorInterface < ::SOAP::RPC::Driver
|
|
23
23
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "estimateAdGroupListResponse"]] ],
|
24
24
|
{ :request_style => :document, :request_use => :literal,
|
25
25
|
:response_style => :document, :response_use => :literal,
|
26
|
-
:faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:
|
26
|
+
:faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
27
27
|
],
|
28
28
|
[ "",
|
29
29
|
"estimateCampaignList",
|
@@ -31,7 +31,7 @@ class TrafficEstimatorInterface < ::SOAP::RPC::Driver
|
|
31
31
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "estimateCampaignListResponse"]] ],
|
32
32
|
{ :request_style => :document, :request_use => :literal,
|
33
33
|
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:
|
34
|
+
:faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
35
35
|
],
|
36
36
|
[ "",
|
37
37
|
"estimateKeywordList",
|
@@ -39,7 +39,7 @@ class TrafficEstimatorInterface < ::SOAP::RPC::Driver
|
|
39
39
|
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v11", "estimateKeywordListResponse"]] ],
|
40
40
|
{ :request_style => :document, :request_use => :literal,
|
41
41
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:
|
42
|
+
:faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v11", :name=>"ApiException", :namespace=>nil}} }
|
43
43
|
]
|
44
44
|
]
|
45
45
|
|
@@ -3,7 +3,7 @@ require 'xsd/qname'
|
|
3
3
|
module AdWords; module AccountService
|
4
4
|
|
5
5
|
|
6
|
-
# {https://adwords.google.com/api/adwords/
|
6
|
+
# {https://adwords.google.com/api/adwords/v12}AccountInfo
|
7
7
|
# billingAddress - AdWords::AccountService::Address
|
8
8
|
# currencyCode - SOAP::SOAPString
|
9
9
|
# customerId - SOAP::SOAPLong
|
@@ -43,7 +43,7 @@ class AccountInfo
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
# {https://adwords.google.com/api/adwords/
|
46
|
+
# {https://adwords.google.com/api/adwords/v12}Address
|
47
47
|
# addressLine1 - SOAP::SOAPString
|
48
48
|
# addressLine2 - SOAP::SOAPString
|
49
49
|
# city - SOAP::SOAPString
|
@@ -83,7 +83,7 @@ class Address
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
-
# {https://adwords.google.com/api/adwords/
|
86
|
+
# {https://adwords.google.com/api/adwords/v12}ApiError
|
87
87
|
# code - SOAP::SOAPInt
|
88
88
|
# detail - SOAP::SOAPString
|
89
89
|
# field - SOAP::SOAPString
|
@@ -114,7 +114,7 @@ class ApiError
|
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
117
|
-
# {https://adwords.google.com/api/adwords/
|
117
|
+
# {https://adwords.google.com/api/adwords/v12}ApiException
|
118
118
|
# code - SOAP::SOAPInt
|
119
119
|
# errors - AdWords::AccountService::ApiError
|
120
120
|
# internal - SOAP::SOAPBoolean
|
@@ -136,7 +136,7 @@ class ApiException
|
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
139
|
-
# {https://adwords.google.com/api/adwords/
|
139
|
+
# {https://adwords.google.com/api/adwords/v12}EmailPromotionsPreferences
|
140
140
|
# accountPerformanceEnabled - SOAP::SOAPBoolean
|
141
141
|
# disapprovedAdsEnabled - SOAP::SOAPBoolean
|
142
142
|
# marketResearchEnabled - SOAP::SOAPBoolean
|
@@ -158,24 +158,24 @@ class EmailPromotionsPreferences
|
|
158
158
|
end
|
159
159
|
end
|
160
160
|
|
161
|
-
# {https://adwords.google.com/api/adwords/
|
161
|
+
# {https://adwords.google.com/api/adwords/v12}NetworkTarget
|
162
162
|
class NetworkTarget < ::Array
|
163
163
|
end
|
164
164
|
|
165
|
-
# {https://adwords.google.com/api/adwords/
|
165
|
+
# {https://adwords.google.com/api/adwords/v12}NetworkType
|
166
166
|
class NetworkType < ::String
|
167
167
|
ContentNetwork = NetworkType.new("ContentNetwork")
|
168
168
|
GoogleSearch = NetworkType.new("GoogleSearch")
|
169
169
|
SearchNetwork = NetworkType.new("SearchNetwork")
|
170
170
|
end
|
171
171
|
|
172
|
-
# {https://adwords.google.com/api/adwords/
|
172
|
+
# {https://adwords.google.com/api/adwords/v12}getAccountInfo
|
173
173
|
class GetAccountInfo
|
174
174
|
def initialize
|
175
175
|
end
|
176
176
|
end
|
177
177
|
|
178
|
-
# {https://adwords.google.com/api/adwords/
|
178
|
+
# {https://adwords.google.com/api/adwords/v12}getAccountInfoResponse
|
179
179
|
# getAccountInfoReturn - AdWords::AccountService::AccountInfo
|
180
180
|
class GetAccountInfoResponse
|
181
181
|
attr_accessor :getAccountInfoReturn
|
@@ -185,36 +185,17 @@ class GetAccountInfoResponse
|
|
185
185
|
end
|
186
186
|
end
|
187
187
|
|
188
|
-
# {https://adwords.google.com/api/adwords/
|
188
|
+
# {https://adwords.google.com/api/adwords/v12}getClientAccounts
|
189
189
|
class GetClientAccounts
|
190
190
|
def initialize
|
191
191
|
end
|
192
192
|
end
|
193
193
|
|
194
|
-
# {https://adwords.google.com/api/adwords/
|
194
|
+
# {https://adwords.google.com/api/adwords/v12}getClientAccountsResponse
|
195
195
|
class GetClientAccountsResponse < ::Array
|
196
196
|
end
|
197
197
|
|
198
|
-
# {https://adwords.google.com/api/adwords/
|
199
|
-
# login - SOAP::SOAPString
|
200
|
-
# newPassword - SOAP::SOAPString
|
201
|
-
class SetLoginInfo
|
202
|
-
attr_accessor :login
|
203
|
-
attr_accessor :newPassword
|
204
|
-
|
205
|
-
def initialize(login = nil, newPassword = nil)
|
206
|
-
@login = login
|
207
|
-
@newPassword = newPassword
|
208
|
-
end
|
209
|
-
end
|
210
|
-
|
211
|
-
# {https://adwords.google.com/api/adwords/v10}setLoginInfoResponse
|
212
|
-
class SetLoginInfoResponse
|
213
|
-
def initialize
|
214
|
-
end
|
215
|
-
end
|
216
|
-
|
217
|
-
# {https://adwords.google.com/api/adwords/v10}updateAccountInfo
|
198
|
+
# {https://adwords.google.com/api/adwords/v12}updateAccountInfo
|
218
199
|
# accountInfo - AdWords::AccountService::AccountInfo
|
219
200
|
class UpdateAccountInfo
|
220
201
|
attr_accessor :accountInfo
|
@@ -224,7 +205,7 @@ class UpdateAccountInfo
|
|
224
205
|
end
|
225
206
|
end
|
226
207
|
|
227
|
-
# {https://adwords.google.com/api/adwords/
|
208
|
+
# {https://adwords.google.com/api/adwords/v12}updateAccountInfoResponse
|
228
209
|
class UpdateAccountInfoResponse
|
229
210
|
def initialize
|
230
211
|
end
|
@@ -1,45 +1,37 @@
|
|
1
|
-
require 'adwords4r/
|
2
|
-
require 'adwords4r/
|
1
|
+
require 'adwords4r/v12/AccountService'
|
2
|
+
require 'adwords4r/v12/AccountServiceMappingRegistry'
|
3
3
|
require 'soap/rpc/driver'
|
4
4
|
|
5
5
|
module AdWords
|
6
6
|
module AccountService
|
7
7
|
|
8
8
|
class AccountInterface < ::SOAP::RPC::Driver
|
9
|
-
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/
|
9
|
+
DefaultEndpointUrl = "https://adwords.google.com/api/adwords/v12/AccountService"
|
10
10
|
|
11
11
|
Methods = [
|
12
12
|
[ "",
|
13
13
|
"getAccountInfo",
|
14
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
15
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
14
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getAccountInfo"]],
|
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"=>{:
|
18
|
+
:faults => {"AdWords::AccountService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
19
19
|
],
|
20
20
|
[ "",
|
21
21
|
"getClientAccounts",
|
22
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
23
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
22
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getClientAccounts"]],
|
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"=>{:
|
27
|
-
],
|
28
|
-
[ "",
|
29
|
-
"setLoginInfo",
|
30
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "setLoginInfo"]],
|
31
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v10", "setLoginInfoResponse"]] ],
|
32
|
-
{ :request_style => :document, :request_use => :literal,
|
33
|
-
:response_style => :document, :response_use => :literal,
|
34
|
-
:faults => {"AdWords::AccountService::ApiException"=>{:namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v10", :encodingstyle=>"document", :use=>"literal", :name=>"ApiException"}} }
|
26
|
+
:faults => {"AdWords::AccountService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
35
27
|
],
|
36
28
|
[ "",
|
37
29
|
"updateAccountInfo",
|
38
|
-
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
39
|
-
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/
|
30
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateAccountInfo"]],
|
31
|
+
["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "updateAccountInfoResponse"]] ],
|
40
32
|
{ :request_style => :document, :request_use => :literal,
|
41
33
|
:response_style => :document, :response_use => :literal,
|
42
|
-
:faults => {"AdWords::AccountService::ApiException"=>{:
|
34
|
+
:faults => {"AdWords::AccountService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
|
43
35
|
]
|
44
36
|
]
|
45
37
|
|