adwords4r 12.1.0 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. data/ChangeLog.txt +3 -0
  2. data/Rakefile +1 -1
  3. data/examples/account_info.rb +2 -2
  4. data/examples/create_all.rb +2 -2
  5. data/examples/keyword_suggestions.rb +14 -8
  6. data/examples/reports.rb +2 -2
  7. data/lib/adwords4r/services.rb +2 -0
  8. data/lib/adwords4r/v12/AccountServiceDriver.rb +3 -3
  9. data/lib/adwords4r/v12/AdGroupServiceDriver.rb +8 -8
  10. data/lib/adwords4r/v12/AdServiceDriver.rb +10 -10
  11. data/lib/adwords4r/v12/CampaignServiceDriver.rb +11 -11
  12. data/lib/adwords4r/v12/CriterionServiceDriver.rb +9 -9
  13. data/lib/adwords4r/v12/InfoServiceDriver.rb +8 -8
  14. data/lib/adwords4r/v12/KeywordToolServiceDriver.rb +2 -2
  15. data/lib/adwords4r/v12/ReportServiceDriver.rb +7 -7
  16. data/lib/adwords4r/v12/ReportServiceMappingRegistry.rb +2 -2
  17. data/lib/adwords4r/v12/SiteSuggestionServiceDriver.rb +4 -4
  18. data/lib/adwords4r/v12/TrafficEstimatorService.rb +1 -1
  19. data/lib/adwords4r/v12/TrafficEstimatorServiceDriver.rb +4 -4
  20. data/lib/adwords4r/v12/TrafficEstimatorServiceMappingRegistry.rb +2 -2
  21. data/lib/adwords4r/v13/AccountService.rb +297 -0
  22. data/lib/adwords4r/v13/AccountServiceDriver.rb +85 -0
  23. data/lib/adwords4r/v13/AccountServiceMappingRegistry.rb +337 -0
  24. data/lib/adwords4r/v13/AdGroupService.rb +277 -0
  25. data/lib/adwords4r/v13/AdGroupServiceDriver.rb +117 -0
  26. data/lib/adwords4r/v13/AdGroupServiceMappingRegistry.rb +296 -0
  27. data/lib/adwords4r/v13/AdService.rb +846 -0
  28. data/lib/adwords4r/v13/AdServiceDriver.rb +125 -0
  29. data/lib/adwords4r/v13/AdServiceMappingRegistry.rb +859 -0
  30. data/lib/adwords4r/v13/CampaignService.rb +562 -0
  31. data/lib/adwords4r/v13/CampaignServiceDriver.rb +149 -0
  32. data/lib/adwords4r/v13/CampaignServiceMappingRegistry.rb +696 -0
  33. data/lib/adwords4r/v13/CriterionService.rb +484 -0
  34. data/lib/adwords4r/v13/CriterionServiceDriver.rb +117 -0
  35. data/lib/adwords4r/v13/CriterionServiceMappingRegistry.rb +519 -0
  36. data/lib/adwords4r/v13/InfoService.rb +242 -0
  37. data/lib/adwords4r/v13/InfoServiceDriver.rb +109 -0
  38. data/lib/adwords4r/v13/InfoServiceMappingRegistry.rb +228 -0
  39. data/lib/adwords4r/v13/KeywordToolService.rb +211 -0
  40. data/lib/adwords4r/v13/KeywordToolServiceDriver.rb +61 -0
  41. data/lib/adwords4r/v13/KeywordToolServiceMappingRegistry.rb +231 -0
  42. data/lib/adwords4r/v13/ReportService.rb +322 -0
  43. data/lib/adwords4r/v13/ReportServiceDriver.rb +101 -0
  44. data/lib/adwords4r/v13/ReportServiceMappingRegistry.rb +298 -0
  45. data/lib/adwords4r/v13/SiteSuggestionService.rb +242 -0
  46. data/lib/adwords4r/v13/SiteSuggestionServiceDriver.rb +77 -0
  47. data/lib/adwords4r/v13/SiteSuggestionServiceMappingRegistry.rb +271 -0
  48. data/lib/adwords4r/v13/TrafficEstimatorService.rb +348 -0
  49. data/lib/adwords4r/v13/TrafficEstimatorServiceDriver.rb +77 -0
  50. data/lib/adwords4r/v13/TrafficEstimatorServiceMappingRegistry.rb +491 -0
  51. data/setup.rb +0 -0
  52. metadata +93 -54
@@ -15,7 +15,7 @@ class InfoInterface < ::SOAP::RPC::Driver
15
15
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getFreeUsageQuotaThisMonthResponse"]] ],
16
16
  { :request_style => :document, :request_use => :literal,
17
17
  :response_style => :document, :response_use => :literal,
18
- :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
18
+ :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getMethodCostResponse"]] ],
24
24
  { :request_style => :document, :request_use => :literal,
25
25
  :response_style => :document, :response_use => :literal,
26
- :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
26
+ :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getOperationCountResponse"]] ],
32
32
  { :request_style => :document, :request_use => :literal,
33
33
  :response_style => :document, :response_use => :literal,
34
- :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
34
+ :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getOperationsQuotaThisMonthResponse"]] ],
40
40
  { :request_style => :document, :request_use => :literal,
41
41
  :response_style => :document, :response_use => :literal,
42
- :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
42
+ :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getUnitCountResponse"]] ],
48
48
  { :request_style => :document, :request_use => :literal,
49
49
  :response_style => :document, :response_use => :literal,
50
- :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
50
+ :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getUnitCountForClientsResponse"]] ],
56
56
  { :request_style => :document, :request_use => :literal,
57
57
  :response_style => :document, :response_use => :literal,
58
- :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
58
+ :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getUnitCountForMethodResponse"]] ],
64
64
  { :request_style => :document, :request_use => :literal,
65
65
  :response_style => :document, :response_use => :literal,
66
- :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
66
+ :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getUsageQuotaThisMonthResponse"]] ],
72
72
  { :request_style => :document, :request_use => :literal,
73
73
  :response_style => :document, :response_use => :literal,
74
- :faults => {"AdWords::InfoService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
74
+ :faults => {"AdWords::InfoService::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 KeywordToolInterface < ::SOAP::RPC::Driver
15
15
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getKeywordVariationsResponse"]] ],
16
16
  { :request_style => :document, :request_use => :literal,
17
17
  :response_style => :document, :response_use => :literal,
18
- :faults => {"AdWords::KeywordToolService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
18
+ :faults => {"AdWords::KeywordToolService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getKeywordsFromSiteResponse"]] ],
24
24
  { :request_style => :document, :request_use => :literal,
25
25
  :response_style => :document, :response_use => :literal,
26
- :faults => {"AdWords::KeywordToolService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
26
+ :faults => {"AdWords::KeywordToolService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "deleteReportResponse"]] ],
16
16
  { :request_style => :document, :request_use => :literal,
17
17
  :response_style => :document, :response_use => :literal,
18
- :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
18
+ :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getAllJobsResponse"]] ],
24
24
  { :request_style => :document, :request_use => :literal,
25
25
  :response_style => :document, :response_use => :literal,
26
- :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
26
+ :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getGzipReportDownloadUrlResponse"]] ],
32
32
  { :request_style => :document, :request_use => :literal,
33
33
  :response_style => :document, :response_use => :literal,
34
- :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
34
+ :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getReportDownloadUrlResponse"]] ],
40
40
  { :request_style => :document, :request_use => :literal,
41
41
  :response_style => :document, :response_use => :literal,
42
- :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
42
+ :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getReportJobStatusResponse"]] ],
48
48
  { :request_style => :document, :request_use => :literal,
49
49
  :response_style => :document, :response_use => :literal,
50
- :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
50
+ :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "scheduleReportJobResponse"]] ],
56
56
  { :request_style => :document, :request_use => :literal,
57
57
  :response_style => :document, :response_use => :literal,
58
- :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
58
+ :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "validateReportJobResponse"]] ],
64
64
  { :request_style => :document, :request_use => :literal,
65
65
  :response_style => :document, :response_use => :literal,
66
- :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
66
+ :faults => {"AdWords::ReportService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
67
67
  ]
68
68
  ]
69
69
 
@@ -54,7 +54,7 @@ module DefaultMappingRegistry
54
54
  ["campaignStatuses", "AdWords::ReportService::CampaignStatus[]", [0, nil]],
55
55
  ["campaigns", "SOAP::SOAPInt[]", [0, nil]],
56
56
  ["includeZeroImpression", "SOAP::SOAPBoolean", [0, 1]],
57
- ["keywordStatuses", "AdWords::ReportService::KeywordStatus[]", [1, nil]],
57
+ ["keywordStatuses", "AdWords::ReportService::KeywordStatus[]", [0, nil]],
58
58
  ["keywordType", "AdWords::ReportService::KeywordType", [0, 1]],
59
59
  ["keywords", "SOAP::SOAPString[]", [0, nil]],
60
60
  ["selectedColumns", "SOAP::SOAPString[]", [0, nil]],
@@ -138,7 +138,7 @@ module DefaultMappingRegistry
138
138
  ["campaignStatuses", "AdWords::ReportService::CampaignStatus[]", [0, nil]],
139
139
  ["campaigns", "SOAP::SOAPInt[]", [0, nil]],
140
140
  ["includeZeroImpression", "SOAP::SOAPBoolean", [0, 1]],
141
- ["keywordStatuses", "AdWords::ReportService::KeywordStatus[]", [1, nil]],
141
+ ["keywordStatuses", "AdWords::ReportService::KeywordStatus[]", [0, nil]],
142
142
  ["keywordType", "AdWords::ReportService::KeywordType", [0, 1]],
143
143
  ["keywords", "SOAP::SOAPString[]", [0, nil]],
144
144
  ["selectedColumns", "SOAP::SOAPString[]", [0, nil]],
@@ -15,7 +15,7 @@ class SiteSuggestionInterface < ::SOAP::RPC::Driver
15
15
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "getSitesByCategoryNameResponse"]] ],
16
16
  { :request_style => :document, :request_use => :literal,
17
17
  :response_style => :document, :response_use => :literal,
18
- :faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
18
+ :faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getSitesByDemographicsResponse"]] ],
24
24
  { :request_style => :document, :request_use => :literal,
25
25
  :response_style => :document, :response_use => :literal,
26
- :faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
26
+ :faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getSitesByTopicsResponse"]] ],
32
32
  { :request_style => :document, :request_use => :literal,
33
33
  :response_style => :document, :response_use => :literal,
34
- :faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
34
+ :faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "getSitesByUrlsResponse"]] ],
40
40
  { :request_style => :document, :request_use => :literal,
41
41
  :response_style => :document, :response_use => :literal,
42
- :faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
42
+ :faults => {"AdWords::SiteSuggestionService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
43
43
  ]
44
44
  ]
45
45
 
@@ -17,7 +17,7 @@ class AdGroupEstimate
17
17
  end
18
18
 
19
19
  # {https://adwords.google.com/api/adwords/v12}AdGroupRequest
20
- # id - SOAP::SOAPInt
20
+ # id - SOAP::SOAPLong
21
21
  # keywordRequests - AdWords::TrafficEstimatorService::KeywordRequest
22
22
  # maxCpc - SOAP::SOAPLong
23
23
  class AdGroupRequest
@@ -15,7 +15,7 @@ class TrafficEstimatorInterface < ::SOAP::RPC::Driver
15
15
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/v12", "checkKeywordTrafficResponse"]] ],
16
16
  { :request_style => :document, :request_use => :literal,
17
17
  :response_style => :document, :response_use => :literal,
18
- :faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
18
+ :faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "estimateAdGroupListResponse"]] ],
24
24
  { :request_style => :document, :request_use => :literal,
25
25
  :response_style => :document, :response_use => :literal,
26
- :faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
26
+ :faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "estimateCampaignListResponse"]] ],
32
32
  { :request_style => :document, :request_use => :literal,
33
33
  :response_style => :document, :response_use => :literal,
34
- :faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
34
+ :faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
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/v12", "estimateKeywordListResponse"]] ],
40
40
  { :request_style => :document, :request_use => :literal,
41
41
  :response_style => :document, :response_use => :literal,
42
- :faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adwords.google.com/api/adwords/v12", :name=>"ApiException", :namespace=>nil}} }
42
+ :faults => {"AdWords::TrafficEstimatorService::ApiException"=>{:encodingstyle=>"document", :name=>"ApiException", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/v12", :use=>"literal"}} }
43
43
  ]
44
44
  ]
45
45
 
@@ -21,7 +21,7 @@ module DefaultMappingRegistry
21
21
  :class => AdWords::TrafficEstimatorService::AdGroupRequest,
22
22
  :schema_type => XSD::QName.new(NsV12, "AdGroupRequest"),
23
23
  :schema_element => [
24
- ["id", "SOAP::SOAPInt", [0, 1]],
24
+ ["id", "SOAP::SOAPLong", [0, 1]],
25
25
  ["keywordRequests", "AdWords::TrafficEstimatorService::KeywordRequest[]", [1, nil]],
26
26
  ["maxCpc", "SOAP::SOAPLong", [0, 1]]
27
27
  ]
@@ -218,7 +218,7 @@ module DefaultMappingRegistry
218
218
  :class => AdWords::TrafficEstimatorService::AdGroupRequest,
219
219
  :schema_type => XSD::QName.new(NsV12, "AdGroupRequest"),
220
220
  :schema_element => [
221
- ["id", "SOAP::SOAPInt", [0, 1]],
221
+ ["id", "SOAP::SOAPLong", [0, 1]],
222
222
  ["keywordRequests", "AdWords::TrafficEstimatorService::KeywordRequest[]", [1, nil]],
223
223
  ["maxCpc", "SOAP::SOAPLong", [0, 1]]
224
224
  ]
@@ -0,0 +1,297 @@
1
+ require 'xsd/qname'
2
+
3
+ module AdWords; module AccountService
4
+
5
+
6
+ # {https://adwords.google.com/api/adwords/v13}AccountInfo
7
+ # billingAddress - AdWords::AccountService::Address
8
+ # currencyCode - SOAP::SOAPString
9
+ # customerId - SOAP::SOAPLong
10
+ # defaultNetworkTargeting - AdWords::AccountService::NetworkTarget
11
+ # descriptiveName - SOAP::SOAPString
12
+ # emailPromotionsPreferences - AdWords::AccountService::EmailPromotionsPreferences
13
+ # languagePreference - SOAP::SOAPString
14
+ # primaryAddress - AdWords::AccountService::Address
15
+ # primaryBusinessCategory - SOAP::SOAPString
16
+ # timeZoneEffectiveDate - SOAP::SOAPLong
17
+ # timeZoneId - SOAP::SOAPString
18
+ class AccountInfo
19
+ attr_accessor :billingAddress
20
+ attr_accessor :currencyCode
21
+ attr_accessor :customerId
22
+ attr_accessor :defaultNetworkTargeting
23
+ attr_accessor :descriptiveName
24
+ attr_accessor :emailPromotionsPreferences
25
+ attr_accessor :languagePreference
26
+ attr_accessor :primaryAddress
27
+ attr_accessor :primaryBusinessCategory
28
+ attr_accessor :timeZoneEffectiveDate
29
+ attr_accessor :timeZoneId
30
+
31
+ def initialize(billingAddress = nil, currencyCode = nil, customerId = nil, defaultNetworkTargeting = nil, descriptiveName = nil, emailPromotionsPreferences = nil, languagePreference = nil, primaryAddress = nil, primaryBusinessCategory = nil, timeZoneEffectiveDate = nil, timeZoneId = nil)
32
+ @billingAddress = billingAddress
33
+ @currencyCode = currencyCode
34
+ @customerId = customerId
35
+ @defaultNetworkTargeting = defaultNetworkTargeting
36
+ @descriptiveName = descriptiveName
37
+ @emailPromotionsPreferences = emailPromotionsPreferences
38
+ @languagePreference = languagePreference
39
+ @primaryAddress = primaryAddress
40
+ @primaryBusinessCategory = primaryBusinessCategory
41
+ @timeZoneEffectiveDate = timeZoneEffectiveDate
42
+ @timeZoneId = timeZoneId
43
+ end
44
+ end
45
+
46
+ # {https://adwords.google.com/api/adwords/v13}Address
47
+ # addressLine1 - SOAP::SOAPString
48
+ # addressLine2 - SOAP::SOAPString
49
+ # city - SOAP::SOAPString
50
+ # companyName - SOAP::SOAPString
51
+ # countryCode - SOAP::SOAPString
52
+ # emailAddress - SOAP::SOAPString
53
+ # faxNumber - SOAP::SOAPString
54
+ # name - SOAP::SOAPString
55
+ # phoneNumber - SOAP::SOAPString
56
+ # postalCode - SOAP::SOAPString
57
+ # state - SOAP::SOAPString
58
+ class Address
59
+ attr_accessor :addressLine1
60
+ attr_accessor :addressLine2
61
+ attr_accessor :city
62
+ attr_accessor :companyName
63
+ attr_accessor :countryCode
64
+ attr_accessor :emailAddress
65
+ attr_accessor :faxNumber
66
+ attr_accessor :name
67
+ attr_accessor :phoneNumber
68
+ attr_accessor :postalCode
69
+ attr_accessor :state
70
+
71
+ def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, companyName = nil, countryCode = nil, emailAddress = nil, faxNumber = nil, name = nil, phoneNumber = nil, postalCode = nil, state = nil)
72
+ @addressLine1 = addressLine1
73
+ @addressLine2 = addressLine2
74
+ @city = city
75
+ @companyName = companyName
76
+ @countryCode = countryCode
77
+ @emailAddress = emailAddress
78
+ @faxNumber = faxNumber
79
+ @name = name
80
+ @phoneNumber = phoneNumber
81
+ @postalCode = postalCode
82
+ @state = state
83
+ end
84
+ end
85
+
86
+ # {https://adwords.google.com/api/adwords/v13}ApiError
87
+ # code - SOAP::SOAPInt
88
+ # detail - SOAP::SOAPString
89
+ # field - SOAP::SOAPString
90
+ # index - SOAP::SOAPInt
91
+ # isExemptable - SOAP::SOAPBoolean
92
+ # textIndex - SOAP::SOAPInt
93
+ # textLength - SOAP::SOAPInt
94
+ # trigger - SOAP::SOAPString
95
+ class ApiError
96
+ attr_accessor :code
97
+ attr_accessor :detail
98
+ attr_accessor :field
99
+ attr_accessor :index
100
+ attr_accessor :isExemptable
101
+ attr_accessor :textIndex
102
+ attr_accessor :textLength
103
+ attr_accessor :trigger
104
+
105
+ def initialize(code = nil, detail = nil, field = nil, index = nil, isExemptable = nil, textIndex = nil, textLength = nil, trigger = nil)
106
+ @code = code
107
+ @detail = detail
108
+ @field = field
109
+ @index = index
110
+ @isExemptable = isExemptable
111
+ @textIndex = textIndex
112
+ @textLength = textLength
113
+ @trigger = trigger
114
+ end
115
+ end
116
+
117
+ # {https://adwords.google.com/api/adwords/v13}ApiException
118
+ # code - SOAP::SOAPInt
119
+ # errors - AdWords::AccountService::ApiError
120
+ # internal - SOAP::SOAPBoolean
121
+ # message - SOAP::SOAPString
122
+ # trigger - SOAP::SOAPString
123
+ class ApiException
124
+ attr_accessor :code
125
+ attr_accessor :errors
126
+ attr_accessor :internal
127
+ attr_accessor :message
128
+ attr_accessor :trigger
129
+
130
+ def initialize(code = nil, errors = [], internal = nil, message = nil, trigger = nil)
131
+ @code = code
132
+ @errors = errors
133
+ @internal = internal
134
+ @message = message
135
+ @trigger = trigger
136
+ end
137
+ end
138
+
139
+ # {https://adwords.google.com/api/adwords/v13}ClientAccountInfo
140
+ # emailAddress - SOAP::SOAPString
141
+ # isCustomerManager - SOAP::SOAPBoolean
142
+ class ClientAccountInfo
143
+ attr_accessor :emailAddress
144
+ attr_accessor :isCustomerManager
145
+
146
+ def initialize(emailAddress = nil, isCustomerManager = nil)
147
+ @emailAddress = emailAddress
148
+ @isCustomerManager = isCustomerManager
149
+ end
150
+ end
151
+
152
+ # {https://adwords.google.com/api/adwords/v13}EmailPromotionsPreferences
153
+ # accountPerformanceEnabled - SOAP::SOAPBoolean
154
+ # disapprovedAdsEnabled - SOAP::SOAPBoolean
155
+ # marketResearchEnabled - SOAP::SOAPBoolean
156
+ # newsletterEnabled - SOAP::SOAPBoolean
157
+ # promotionsEnabled - SOAP::SOAPBoolean
158
+ class EmailPromotionsPreferences
159
+ attr_accessor :accountPerformanceEnabled
160
+ attr_accessor :disapprovedAdsEnabled
161
+ attr_accessor :marketResearchEnabled
162
+ attr_accessor :newsletterEnabled
163
+ attr_accessor :promotionsEnabled
164
+
165
+ def initialize(accountPerformanceEnabled = nil, disapprovedAdsEnabled = nil, marketResearchEnabled = nil, newsletterEnabled = nil, promotionsEnabled = nil)
166
+ @accountPerformanceEnabled = accountPerformanceEnabled
167
+ @disapprovedAdsEnabled = disapprovedAdsEnabled
168
+ @marketResearchEnabled = marketResearchEnabled
169
+ @newsletterEnabled = newsletterEnabled
170
+ @promotionsEnabled = promotionsEnabled
171
+ end
172
+ end
173
+
174
+ # {https://adwords.google.com/api/adwords/v13}MccAlert
175
+ # clientCompanyName - SOAP::SOAPString
176
+ # clientCustomerId - SOAP::SOAPLong
177
+ # clientLogin - SOAP::SOAPString
178
+ # clientName - SOAP::SOAPString
179
+ # priority - AdWords::AccountService::MccAlertPriority
180
+ # triggerTime - SOAP::SOAPDateTime
181
+ # type - AdWords::AccountService::MccAlertType
182
+ class MccAlert
183
+ attr_accessor :clientCompanyName
184
+ attr_accessor :clientCustomerId
185
+ attr_accessor :clientLogin
186
+ attr_accessor :clientName
187
+ attr_accessor :priority
188
+ attr_accessor :triggerTime
189
+ attr_accessor :type
190
+
191
+ def initialize(clientCompanyName = nil, clientCustomerId = nil, clientLogin = nil, clientName = nil, priority = nil, triggerTime = nil, type = nil)
192
+ @clientCompanyName = clientCompanyName
193
+ @clientCustomerId = clientCustomerId
194
+ @clientLogin = clientLogin
195
+ @clientName = clientName
196
+ @priority = priority
197
+ @triggerTime = triggerTime
198
+ @type = type
199
+ end
200
+ end
201
+
202
+ # {https://adwords.google.com/api/adwords/v13}NetworkTarget
203
+ class NetworkTarget < ::Array
204
+ end
205
+
206
+ # {https://adwords.google.com/api/adwords/v13}MccAlertPriority
207
+ class MccAlertPriority < ::String
208
+ High = MccAlertPriority.new("High")
209
+ Low = MccAlertPriority.new("Low")
210
+ end
211
+
212
+ # {https://adwords.google.com/api/adwords/v13}MccAlertType
213
+ class MccAlertType < ::String
214
+ AccountBudgetBurnRate = MccAlertType.new("AccountBudgetBurnRate")
215
+ AccountBudgetEnding = MccAlertType.new("AccountBudgetEnding")
216
+ AccountOnTarget = MccAlertType.new("AccountOnTarget")
217
+ CampaignEnded = MccAlertType.new("CampaignEnded")
218
+ CampaignEnding = MccAlertType.new("CampaignEnding")
219
+ CreativeDisapproved = MccAlertType.new("CreativeDisapproved")
220
+ CreditCardExpiring = MccAlertType.new("CreditCardExpiring")
221
+ DeclinedPayment = MccAlertType.new("DeclinedPayment")
222
+ KeywordBelowMinCpc = MccAlertType.new("KeywordBelowMinCpc")
223
+ MissingBankReferenceNumber = MccAlertType.new("MissingBankReferenceNumber")
224
+ PaymentNotEntered = MccAlertType.new("PaymentNotEntered")
225
+ end
226
+
227
+ # {https://adwords.google.com/api/adwords/v13}NetworkType
228
+ class NetworkType < ::String
229
+ ContentNetwork = NetworkType.new("ContentNetwork")
230
+ GoogleSearch = NetworkType.new("GoogleSearch")
231
+ SearchNetwork = NetworkType.new("SearchNetwork")
232
+ end
233
+
234
+ # {https://adwords.google.com/api/adwords/v13}getAccountInfo
235
+ class GetAccountInfo
236
+ def initialize
237
+ end
238
+ end
239
+
240
+ # {https://adwords.google.com/api/adwords/v13}getAccountInfoResponse
241
+ # getAccountInfoReturn - AdWords::AccountService::AccountInfo
242
+ class GetAccountInfoResponse
243
+ attr_accessor :getAccountInfoReturn
244
+
245
+ def initialize(getAccountInfoReturn = nil)
246
+ @getAccountInfoReturn = getAccountInfoReturn
247
+ end
248
+ end
249
+
250
+ # {https://adwords.google.com/api/adwords/v13}getClientAccountInfos
251
+ class GetClientAccountInfos
252
+ def initialize
253
+ end
254
+ end
255
+
256
+ # {https://adwords.google.com/api/adwords/v13}getClientAccountInfosResponse
257
+ class GetClientAccountInfosResponse < ::Array
258
+ end
259
+
260
+ # {https://adwords.google.com/api/adwords/v13}getClientAccounts
261
+ class GetClientAccounts
262
+ def initialize
263
+ end
264
+ end
265
+
266
+ # {https://adwords.google.com/api/adwords/v13}getClientAccountsResponse
267
+ class GetClientAccountsResponse < ::Array
268
+ end
269
+
270
+ # {https://adwords.google.com/api/adwords/v13}getMccAlerts
271
+ class GetMccAlerts
272
+ def initialize
273
+ end
274
+ end
275
+
276
+ # {https://adwords.google.com/api/adwords/v13}getMccAlertsResponse
277
+ class GetMccAlertsResponse < ::Array
278
+ end
279
+
280
+ # {https://adwords.google.com/api/adwords/v13}updateAccountInfo
281
+ # accountInfo - AdWords::AccountService::AccountInfo
282
+ class UpdateAccountInfo
283
+ attr_accessor :accountInfo
284
+
285
+ def initialize(accountInfo = nil)
286
+ @accountInfo = accountInfo
287
+ end
288
+ end
289
+
290
+ # {https://adwords.google.com/api/adwords/v13}updateAccountInfoResponse
291
+ class UpdateAccountInfoResponse
292
+ def initialize
293
+ end
294
+ end
295
+
296
+
297
+ end; end