google-adwords-api 0.1.0 → 0.1.1

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 (125) hide show
  1. data/Rakefile +1 -1
  2. data/examples/v201101/add_conversion.rb +97 -0
  3. data/examples/v201101/add_user_list.rb +28 -2
  4. data/examples/v201101/get_all_conversions.rb +88 -0
  5. data/examples/v201101/get_keyword_opportunities.rb +103 -0
  6. data/examples/v201101/update_conversion.rb +96 -0
  7. data/lib/adwords_api/api_config.rb +6 -3
  8. data/lib/adwords_api/errors.rb +4 -1
  9. data/lib/adwords_api/extensions.rb +1 -1
  10. data/lib/adwords_api/v13/AccountServiceDriver.rb +5 -5
  11. data/lib/adwords_api/v13/ReportServiceDriver.rb +7 -7
  12. data/lib/adwords_api/v13/TrafficEstimatorServiceDriver.rb +4 -4
  13. data/lib/adwords_api/v200909/AdExtensionOverrideServiceDriver.rb +2 -2
  14. data/lib/adwords_api/v200909/AdGroupAdServiceDriver.rb +2 -2
  15. data/lib/adwords_api/v200909/AdGroupCriterionService.rb +506 -506
  16. data/lib/adwords_api/v200909/AdGroupCriterionServiceDriver.rb +2 -2
  17. data/lib/adwords_api/v200909/AdGroupCriterionServiceMappingRegistry.rb +428 -428
  18. data/lib/adwords_api/v200909/AdGroupServiceDriver.rb +2 -2
  19. data/lib/adwords_api/v200909/AdParamServiceDriver.rb +2 -2
  20. data/lib/adwords_api/v200909/BulkMutateJobServiceDriver.rb +2 -2
  21. data/lib/adwords_api/v200909/CampaignAdExtensionServiceDriver.rb +2 -2
  22. data/lib/adwords_api/v200909/CampaignCriterionService.rb +133 -133
  23. data/lib/adwords_api/v200909/CampaignCriterionServiceDriver.rb +2 -2
  24. data/lib/adwords_api/v200909/CampaignCriterionServiceMappingRegistry.rb +184 -184
  25. data/lib/adwords_api/v200909/CampaignServiceDriver.rb +2 -2
  26. data/lib/adwords_api/v200909/CampaignTargetServiceDriver.rb +2 -2
  27. data/lib/adwords_api/v200909/GeoLocationServiceDriver.rb +1 -1
  28. data/lib/adwords_api/v200909/InfoServiceDriver.rb +1 -1
  29. data/lib/adwords_api/v200909/TargetingIdeaService.rb +907 -907
  30. data/lib/adwords_api/v200909/TargetingIdeaServiceDriver.rb +2 -2
  31. data/lib/adwords_api/v200909/TargetingIdeaServiceMappingRegistry.rb +384 -384
  32. data/lib/adwords_api/v201003/AdExtensionOverrideServiceDriver.rb +2 -2
  33. data/lib/adwords_api/v201003/AdGroupAdServiceDriver.rb +2 -2
  34. data/lib/adwords_api/v201003/AdGroupCriterionService.rb +527 -527
  35. data/lib/adwords_api/v201003/AdGroupCriterionServiceDriver.rb +2 -2
  36. data/lib/adwords_api/v201003/AdGroupCriterionServiceMappingRegistry.rb +469 -469
  37. data/lib/adwords_api/v201003/AdGroupServiceDriver.rb +2 -2
  38. data/lib/adwords_api/v201003/AdParamServiceDriver.rb +2 -2
  39. data/lib/adwords_api/v201003/BidLandscapeServiceDriver.rb +1 -1
  40. data/lib/adwords_api/v201003/BulkMutateJobServiceDriver.rb +2 -2
  41. data/lib/adwords_api/v201003/CampaignAdExtensionServiceDriver.rb +2 -2
  42. data/lib/adwords_api/v201003/CampaignCriterionService.rb +133 -133
  43. data/lib/adwords_api/v201003/CampaignCriterionServiceDriver.rb +2 -2
  44. data/lib/adwords_api/v201003/CampaignCriterionServiceMappingRegistry.rb +186 -186
  45. data/lib/adwords_api/v201003/CampaignServiceDriver.rb +2 -2
  46. data/lib/adwords_api/v201003/CampaignTargetServiceDriver.rb +2 -2
  47. data/lib/adwords_api/v201003/GeoLocationServiceDriver.rb +1 -1
  48. data/lib/adwords_api/v201003/InfoServiceDriver.rb +1 -1
  49. data/lib/adwords_api/v201003/MediaServiceDriver.rb +2 -2
  50. data/lib/adwords_api/v201003/ReportDefinitionServiceDriver.rb +3 -3
  51. data/lib/adwords_api/v201003/TargetingIdeaService.rb +1304 -1304
  52. data/lib/adwords_api/v201003/TargetingIdeaServiceDriver.rb +2 -2
  53. data/lib/adwords_api/v201003/TargetingIdeaServiceMappingRegistry.rb +401 -401
  54. data/lib/adwords_api/v201008/AdExtensionOverrideServiceDriver.rb +2 -2
  55. data/lib/adwords_api/v201008/AdGroupAdServiceDriver.rb +2 -2
  56. data/lib/adwords_api/v201008/AdGroupCriterionService.rb +598 -598
  57. data/lib/adwords_api/v201008/AdGroupCriterionServiceDriver.rb +2 -2
  58. data/lib/adwords_api/v201008/AdGroupCriterionServiceMappingRegistry.rb +680 -680
  59. data/lib/adwords_api/v201008/AdGroupServiceDriver.rb +2 -2
  60. data/lib/adwords_api/v201008/AdParamServiceDriver.rb +2 -2
  61. data/lib/adwords_api/v201008/AlertServiceDriver.rb +1 -1
  62. data/lib/adwords_api/v201008/BidLandscapeServiceDriver.rb +1 -1
  63. data/lib/adwords_api/v201008/BulkMutateJobServiceDriver.rb +2 -2
  64. data/lib/adwords_api/v201008/CampaignAdExtensionServiceDriver.rb +2 -2
  65. data/lib/adwords_api/v201008/CampaignCriterionService.rb +178 -178
  66. data/lib/adwords_api/v201008/CampaignCriterionServiceDriver.rb +2 -2
  67. data/lib/adwords_api/v201008/CampaignCriterionServiceMappingRegistry.rb +228 -228
  68. data/lib/adwords_api/v201008/CampaignServiceDriver.rb +2 -2
  69. data/lib/adwords_api/v201008/CampaignTargetServiceDriver.rb +2 -2
  70. data/lib/adwords_api/v201008/CustomerSyncServiceDriver.rb +1 -1
  71. data/lib/adwords_api/v201008/ExperimentServiceDriver.rb +2 -2
  72. data/lib/adwords_api/v201008/GeoLocationServiceDriver.rb +1 -1
  73. data/lib/adwords_api/v201008/InfoServiceDriver.rb +1 -1
  74. data/lib/adwords_api/v201008/MediaServiceDriver.rb +2 -2
  75. data/lib/adwords_api/v201008/ReportDefinitionServiceDriver.rb +3 -3
  76. data/lib/adwords_api/v201008/ServicedAccountServiceDriver.rb +1 -1
  77. data/lib/adwords_api/v201008/TargetingIdeaService.rb +1459 -1459
  78. data/lib/adwords_api/v201008/TargetingIdeaServiceDriver.rb +2 -2
  79. data/lib/adwords_api/v201008/TargetingIdeaServiceMappingRegistry.rb +447 -447
  80. data/lib/adwords_api/v201008/TrafficEstimatorService.rb +855 -855
  81. data/lib/adwords_api/v201008/TrafficEstimatorServiceDriver.rb +1 -1
  82. data/lib/adwords_api/v201008/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  83. data/lib/adwords_api/v201008/UserListServiceDriver.rb +2 -2
  84. data/lib/adwords_api/v201101/AdExtensionOverrideServiceDriver.rb +2 -2
  85. data/lib/adwords_api/v201101/AdGroupAdService.rb +2 -0
  86. data/lib/adwords_api/v201101/AdGroupAdServiceDriver.rb +2 -2
  87. data/lib/adwords_api/v201101/AdGroupCriterionService.rb +700 -700
  88. data/lib/adwords_api/v201101/AdGroupCriterionServiceDriver.rb +2 -2
  89. data/lib/adwords_api/v201101/AdGroupCriterionServiceMappingRegistry.rb +670 -670
  90. data/lib/adwords_api/v201101/AdGroupServiceDriver.rb +2 -2
  91. data/lib/adwords_api/v201101/AdParamServiceDriver.rb +2 -2
  92. data/lib/adwords_api/v201101/AlertServiceDriver.rb +1 -1
  93. data/lib/adwords_api/v201101/BulkMutateJobService.rb +2 -0
  94. data/lib/adwords_api/v201101/BulkMutateJobServiceDriver.rb +2 -2
  95. data/lib/adwords_api/v201101/BulkOpportunityService.rb +1367 -0
  96. data/lib/adwords_api/v201101/BulkOpportunityServiceDriver.rb +55 -0
  97. data/lib/adwords_api/v201101/BulkOpportunityServiceMappingRegistry.rb +1668 -0
  98. data/lib/adwords_api/v201101/BulkOpportunityServiceWrapper.rb +303 -0
  99. data/lib/adwords_api/v201101/CampaignAdExtensionServiceDriver.rb +2 -2
  100. data/lib/adwords_api/v201101/CampaignCriterionService.rb +216 -216
  101. data/lib/adwords_api/v201101/CampaignCriterionServiceDriver.rb +2 -2
  102. data/lib/adwords_api/v201101/CampaignCriterionServiceMappingRegistry.rb +234 -234
  103. data/lib/adwords_api/v201101/CampaignServiceDriver.rb +2 -2
  104. data/lib/adwords_api/v201101/CampaignTargetServiceDriver.rb +2 -2
  105. data/lib/adwords_api/v201101/ConversionTrackerService.rb +1105 -0
  106. data/lib/adwords_api/v201101/ConversionTrackerServiceDriver.rb +63 -0
  107. data/lib/adwords_api/v201101/ConversionTrackerServiceMappingRegistry.rb +1161 -0
  108. data/lib/adwords_api/v201101/ConversionTrackerServiceWrapper.rb +332 -0
  109. data/lib/adwords_api/v201101/CustomerSyncServiceDriver.rb +1 -1
  110. data/lib/adwords_api/v201101/DataServiceDriver.rb +2 -2
  111. data/lib/adwords_api/v201101/ExperimentServiceDriver.rb +2 -2
  112. data/lib/adwords_api/v201101/GeoLocationServiceDriver.rb +1 -1
  113. data/lib/adwords_api/v201101/InfoServiceDriver.rb +1 -1
  114. data/lib/adwords_api/v201101/MediaServiceDriver.rb +2 -2
  115. data/lib/adwords_api/v201101/ReportDefinitionServiceDriver.rb +3 -3
  116. data/lib/adwords_api/v201101/ReportDefinitionServiceWrapper.rb +14 -0
  117. data/lib/adwords_api/v201101/ServicedAccountServiceDriver.rb +1 -1
  118. data/lib/adwords_api/v201101/TargetingIdeaService.rb +1490 -1490
  119. data/lib/adwords_api/v201101/TargetingIdeaServiceDriver.rb +2 -2
  120. data/lib/adwords_api/v201101/TargetingIdeaServiceMappingRegistry.rb +507 -507
  121. data/lib/adwords_api/v201101/TrafficEstimatorService.rb +841 -841
  122. data/lib/adwords_api/v201101/TrafficEstimatorServiceDriver.rb +1 -1
  123. data/lib/adwords_api/v201101/TrafficEstimatorServiceMappingRegistry.rb +126 -126
  124. data/lib/adwords_api/v201101/UserListServiceDriver.rb +2 -2
  125. metadata +17 -5
@@ -16,7 +16,7 @@ class CampaignServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::CampaignService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201008::CampaignService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::CampaignService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class CampaignTargetServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class CampaignTargetServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201008::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::CampaignTargetService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class CustomerSyncServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/ch/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::CustomerSyncService::ApiException_"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/ch/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::CustomerSyncService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/ch/v201008", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -16,7 +16,7 @@ class ExperimentServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::ExperimentService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::ExperimentService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class ExperimentServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201008::ExperimentService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::ExperimentService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class GeoLocationServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::GeoLocationService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -16,7 +16,7 @@ class InfoServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/info/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::InfoService::ApiException_"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::InfoService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/info/v201008", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -16,7 +16,7 @@ class MediaServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::MediaService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::MediaService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "upload",
@@ -24,7 +24,7 @@ class MediaServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "uploadResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201008::MediaService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::MediaService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class ReportDefinitionServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "getReportFields",
@@ -24,7 +24,7 @@ class ReportDefinitionServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "getReportFieldsResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201008::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201008::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
28
28
  ],
29
29
  [ "",
30
30
  "mutate",
@@ -32,7 +32,7 @@ class ReportDefinitionServiceInterface < ::SOAP::RPC::Driver
32
32
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201008", "mutateResponse"]] ],
33
33
  { :request_style => :document, :request_use => :literal,
34
34
  :response_style => :document, :response_use => :literal,
35
- :faults => {"AdwordsApi::V201008::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :use=>"literal", :name=>"ApiException"}} }
35
+ :faults => {"AdwordsApi::V201008::ReportDefinitionService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201008", :name=>"ApiException"}} }
36
36
  ]
37
37
  ]
38
38
 
@@ -16,7 +16,7 @@ class ServicedAccountServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/mcm/v201008", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201008::ServicedAccountService::ApiException_"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/mcm/v201008", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201008::ServicedAccountService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/mcm/v201008", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -31,508 +31,637 @@ class Address
31
31
  end
32
32
  end
33
33
 
34
- # GeoPoint
35
- # - latitudeInMicroDegrees - SOAP::SOAPInt
36
- # - longitudeInMicroDegrees - SOAP::SOAPInt
37
- class GeoPoint
38
- attr_accessor :latitudeInMicroDegrees
39
- attr_accessor :longitudeInMicroDegrees
34
+ # ApiError
35
+ # abstract
36
+ # - fieldPath - SOAP::SOAPString
37
+ # - trigger - SOAP::SOAPString
38
+ # - errorString - SOAP::SOAPString
39
+ # - apiError_Type - SOAP::SOAPString
40
+ class ApiError
41
+ attr_accessor :fieldPath
42
+ attr_accessor :trigger
43
+ attr_accessor :errorString
44
+ attr_accessor :apiError_Type
40
45
 
41
- def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
42
- @latitudeInMicroDegrees = latitudeInMicroDegrees
43
- @longitudeInMicroDegrees = longitudeInMicroDegrees
46
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
47
+ @fieldPath = fieldPath
48
+ @trigger = trigger
49
+ @errorString = errorString
50
+ @apiError_Type = apiError_Type
44
51
  end
45
52
  end
46
53
 
47
- # Paging
48
- # - startIndex - SOAP::SOAPInt
49
- # - numberResults - SOAP::SOAPInt
50
- class Paging
51
- attr_accessor :startIndex
52
- attr_accessor :numberResults
54
+ # AdGroupCriterionError
55
+ # - fieldPath - SOAP::SOAPString
56
+ # - trigger - SOAP::SOAPString
57
+ # - errorString - SOAP::SOAPString
58
+ # - apiError_Type - SOAP::SOAPString
59
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::AdGroupCriterionErrorReason
60
+ class AdGroupCriterionError < ApiError
61
+ attr_accessor :fieldPath
62
+ attr_accessor :trigger
63
+ attr_accessor :errorString
64
+ attr_accessor :apiError_Type
65
+ attr_accessor :reason
53
66
 
54
- def initialize(startIndex = nil, numberResults = nil)
55
- @startIndex = startIndex
56
- @numberResults = numberResults
67
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
68
+ @fieldPath = fieldPath
69
+ @trigger = trigger
70
+ @errorString = errorString
71
+ @apiError_Type = apiError_Type
72
+ @reason = reason
57
73
  end
58
74
  end
59
75
 
60
- # PolicyViolationError.Part
61
- # - index - SOAP::SOAPInt
62
- # - length - SOAP::SOAPInt
63
- class PolicyViolationErrorPart
64
- attr_accessor :index
65
- attr_accessor :length
76
+ # AuthenticationError
77
+ # - fieldPath - SOAP::SOAPString
78
+ # - trigger - SOAP::SOAPString
79
+ # - errorString - SOAP::SOAPString
80
+ # - apiError_Type - SOAP::SOAPString
81
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::AuthenticationErrorReason
82
+ class AuthenticationError < ApiError
83
+ attr_accessor :fieldPath
84
+ attr_accessor :trigger
85
+ attr_accessor :errorString
86
+ attr_accessor :apiError_Type
87
+ attr_accessor :reason
66
88
 
67
- def initialize(index = nil, length = nil)
68
- @index = index
69
- @length = length
89
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
90
+ @fieldPath = fieldPath
91
+ @trigger = trigger
92
+ @errorString = errorString
93
+ @apiError_Type = apiError_Type
94
+ @reason = reason
70
95
  end
71
96
  end
72
97
 
73
- # PolicyViolationKey
74
- # - policyName - SOAP::SOAPString
75
- # - violatingText - SOAP::SOAPString
76
- class PolicyViolationKey
77
- attr_accessor :policyName
78
- attr_accessor :violatingText
98
+ # AuthorizationError
99
+ # - fieldPath - SOAP::SOAPString
100
+ # - trigger - SOAP::SOAPString
101
+ # - errorString - SOAP::SOAPString
102
+ # - apiError_Type - SOAP::SOAPString
103
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::AuthorizationErrorReason
104
+ class AuthorizationError < ApiError
105
+ attr_accessor :fieldPath
106
+ attr_accessor :trigger
107
+ attr_accessor :errorString
108
+ attr_accessor :apiError_Type
109
+ attr_accessor :reason
79
110
 
80
- def initialize(policyName = nil, violatingText = nil)
81
- @policyName = policyName
82
- @violatingText = violatingText
111
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
112
+ @fieldPath = fieldPath
113
+ @trigger = trigger
114
+ @errorString = errorString
115
+ @apiError_Type = apiError_Type
116
+ @reason = reason
83
117
  end
84
118
  end
85
119
 
86
- # ProductConditionOperand
87
- # - operand - SOAP::SOAPString
88
- class ProductConditionOperand
89
- attr_accessor :operand
120
+ # BiddingError
121
+ # - fieldPath - SOAP::SOAPString
122
+ # - trigger - SOAP::SOAPString
123
+ # - errorString - SOAP::SOAPString
124
+ # - apiError_Type - SOAP::SOAPString
125
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::BiddingErrorReason
126
+ class BiddingError < ApiError
127
+ attr_accessor :fieldPath
128
+ attr_accessor :trigger
129
+ attr_accessor :errorString
130
+ attr_accessor :apiError_Type
131
+ attr_accessor :reason
90
132
 
91
- def initialize(operand = nil)
92
- @operand = operand
133
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
134
+ @fieldPath = fieldPath
135
+ @trigger = trigger
136
+ @errorString = errorString
137
+ @apiError_Type = apiError_Type
138
+ @reason = reason
93
139
  end
94
140
  end
95
141
 
96
- # SoapHeader
97
- # - authToken - SOAP::SOAPString
98
- # - clientCustomerId - SOAP::SOAPString
99
- # - clientEmail - SOAP::SOAPString
100
- # - developerToken - SOAP::SOAPString
101
- # - userAgent - SOAP::SOAPString
102
- # - validateOnly - SOAP::SOAPBoolean
103
- # - partialFailure - SOAP::SOAPBoolean
104
- class SoapHeader
105
- attr_accessor :authToken
106
- attr_accessor :clientCustomerId
107
- attr_accessor :clientEmail
108
- attr_accessor :developerToken
109
- attr_accessor :userAgent
110
- attr_accessor :validateOnly
111
- attr_accessor :partialFailure
142
+ # BudgetError
143
+ # - fieldPath - SOAP::SOAPString
144
+ # - trigger - SOAP::SOAPString
145
+ # - errorString - SOAP::SOAPString
146
+ # - apiError_Type - SOAP::SOAPString
147
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::BudgetErrorReason
148
+ class BudgetError < ApiError
149
+ attr_accessor :fieldPath
150
+ attr_accessor :trigger
151
+ attr_accessor :errorString
152
+ attr_accessor :apiError_Type
153
+ attr_accessor :reason
112
154
 
113
- def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
114
- @authToken = authToken
115
- @clientCustomerId = clientCustomerId
116
- @clientEmail = clientEmail
117
- @developerToken = developerToken
118
- @userAgent = userAgent
119
- @validateOnly = validateOnly
120
- @partialFailure = partialFailure
155
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
156
+ @fieldPath = fieldPath
157
+ @trigger = trigger
158
+ @errorString = errorString
159
+ @apiError_Type = apiError_Type
160
+ @reason = reason
121
161
  end
122
162
  end
123
163
 
124
- # SoapResponseHeader
125
- # - requestId - SOAP::SOAPString
126
- # - operations - SOAP::SOAPLong
127
- # - responseTime - SOAP::SOAPLong
128
- # - units - SOAP::SOAPLong
129
- class SoapResponseHeader
130
- attr_accessor :requestId
131
- attr_accessor :operations
132
- attr_accessor :responseTime
133
- attr_accessor :units
164
+ # ClientTermsError
165
+ # - fieldPath - SOAP::SOAPString
166
+ # - trigger - SOAP::SOAPString
167
+ # - errorString - SOAP::SOAPString
168
+ # - apiError_Type - SOAP::SOAPString
169
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::ClientTermsErrorReason
170
+ class ClientTermsError < ApiError
171
+ attr_accessor :fieldPath
172
+ attr_accessor :trigger
173
+ attr_accessor :errorString
174
+ attr_accessor :apiError_Type
175
+ attr_accessor :reason
134
176
 
135
- def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
136
- @requestId = requestId
137
- @operations = operations
138
- @responseTime = responseTime
139
- @units = units
177
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
178
+ @fieldPath = fieldPath
179
+ @trigger = trigger
180
+ @errorString = errorString
181
+ @apiError_Type = apiError_Type
182
+ @reason = reason
140
183
  end
141
184
  end
142
185
 
143
- # ComparableValue
144
- # abstract
145
- # - comparableValue_Type - SOAP::SOAPString
146
- class ComparableValue
147
- attr_accessor :comparableValue_Type
186
+ # DatabaseError
187
+ # - fieldPath - SOAP::SOAPString
188
+ # - trigger - SOAP::SOAPString
189
+ # - errorString - SOAP::SOAPString
190
+ # - apiError_Type - SOAP::SOAPString
191
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::DatabaseErrorReason
192
+ class DatabaseError < ApiError
193
+ attr_accessor :fieldPath
194
+ attr_accessor :trigger
195
+ attr_accessor :errorString
196
+ attr_accessor :apiError_Type
197
+ attr_accessor :reason
148
198
 
149
- def initialize(comparableValue_Type = nil)
150
- @comparableValue_Type = comparableValue_Type
199
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
200
+ @fieldPath = fieldPath
201
+ @trigger = trigger
202
+ @errorString = errorString
203
+ @apiError_Type = apiError_Type
204
+ @reason = reason
151
205
  end
152
206
  end
153
207
 
154
- # Money
155
- # - comparableValue_Type - SOAP::SOAPString
156
- # - microAmount - SOAP::SOAPLong
157
- class Money < ComparableValue
158
- attr_accessor :comparableValue_Type
159
- attr_accessor :microAmount
160
-
161
- def initialize(comparableValue_Type = nil, microAmount = nil)
162
- @comparableValue_Type = comparableValue_Type
163
- @microAmount = microAmount
164
- end
165
- end
208
+ # DateError
209
+ # - fieldPath - SOAP::SOAPString
210
+ # - trigger - SOAP::SOAPString
211
+ # - errorString - SOAP::SOAPString
212
+ # - apiError_Type - SOAP::SOAPString
213
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::DateErrorReason
214
+ class DateError < ApiError
215
+ attr_accessor :fieldPath
216
+ attr_accessor :trigger
217
+ attr_accessor :errorString
218
+ attr_accessor :apiError_Type
219
+ attr_accessor :reason
166
220
 
167
- # NumberValue
168
- # abstract
169
- # - comparableValue_Type - SOAP::SOAPString
170
- class NumberValue < ComparableValue
171
- attr_accessor :comparableValue_Type
172
-
173
- def initialize(comparableValue_Type = nil)
174
- @comparableValue_Type = comparableValue_Type
221
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
222
+ @fieldPath = fieldPath
223
+ @trigger = trigger
224
+ @errorString = errorString
225
+ @apiError_Type = apiError_Type
226
+ @reason = reason
175
227
  end
176
228
  end
177
229
 
178
- # DoubleValue
179
- # - comparableValue_Type - SOAP::SOAPString
180
- # - number - SOAP::SOAPDouble
181
- class DoubleValue < NumberValue
182
- attr_accessor :comparableValue_Type
183
- attr_accessor :number
230
+ # DistinctError
231
+ # - fieldPath - SOAP::SOAPString
232
+ # - trigger - SOAP::SOAPString
233
+ # - errorString - SOAP::SOAPString
234
+ # - apiError_Type - SOAP::SOAPString
235
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::DistinctErrorReason
236
+ class DistinctError < ApiError
237
+ attr_accessor :fieldPath
238
+ attr_accessor :trigger
239
+ attr_accessor :errorString
240
+ attr_accessor :apiError_Type
241
+ attr_accessor :reason
184
242
 
185
- def initialize(comparableValue_Type = nil, number = nil)
186
- @comparableValue_Type = comparableValue_Type
187
- @number = number
243
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
244
+ @fieldPath = fieldPath
245
+ @trigger = trigger
246
+ @errorString = errorString
247
+ @apiError_Type = apiError_Type
248
+ @reason = reason
188
249
  end
189
250
  end
190
251
 
191
- # LongValue
192
- # - comparableValue_Type - SOAP::SOAPString
193
- # - number - SOAP::SOAPLong
194
- class LongValue < NumberValue
195
- attr_accessor :comparableValue_Type
196
- attr_accessor :number
252
+ # EntityCountLimitExceeded
253
+ # - fieldPath - SOAP::SOAPString
254
+ # - trigger - SOAP::SOAPString
255
+ # - errorString - SOAP::SOAPString
256
+ # - apiError_Type - SOAP::SOAPString
257
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::EntityCountLimitExceededReason
258
+ # - enclosingId - SOAP::SOAPString
259
+ # - limit - SOAP::SOAPInt
260
+ class EntityCountLimitExceeded < ApiError
261
+ attr_accessor :fieldPath
262
+ attr_accessor :trigger
263
+ attr_accessor :errorString
264
+ attr_accessor :apiError_Type
265
+ attr_accessor :reason
266
+ attr_accessor :enclosingId
267
+ attr_accessor :limit
197
268
 
198
- def initialize(comparableValue_Type = nil, number = nil)
199
- @comparableValue_Type = comparableValue_Type
200
- @number = number
269
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil)
270
+ @fieldPath = fieldPath
271
+ @trigger = trigger
272
+ @errorString = errorString
273
+ @apiError_Type = apiError_Type
274
+ @reason = reason
275
+ @enclosingId = enclosingId
276
+ @limit = limit
201
277
  end
202
278
  end
203
279
 
204
- # ProductCondition
205
- # - argument - SOAP::SOAPString
206
- # - operand - AdwordsApi::V201008::TargetingIdeaService::ProductConditionOperand
207
- class ProductCondition
208
- attr_accessor :argument
209
- attr_accessor :operand
280
+ # AdGroupCriterionLimitExceeded
281
+ # - fieldPath - SOAP::SOAPString
282
+ # - trigger - SOAP::SOAPString
283
+ # - errorString - SOAP::SOAPString
284
+ # - apiError_Type - SOAP::SOAPString
285
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::EntityCountLimitExceededReason
286
+ # - enclosingId - SOAP::SOAPString
287
+ # - limit - SOAP::SOAPInt
288
+ # - limitType - AdwordsApi::V201008::TargetingIdeaService::AdGroupCriterionLimitExceededCriteriaLimitType
289
+ class AdGroupCriterionLimitExceeded < EntityCountLimitExceeded
290
+ attr_accessor :fieldPath
291
+ attr_accessor :trigger
292
+ attr_accessor :errorString
293
+ attr_accessor :apiError_Type
294
+ attr_accessor :reason
295
+ attr_accessor :enclosingId
296
+ attr_accessor :limit
297
+ attr_accessor :limitType
210
298
 
211
- def initialize(argument = nil, operand = nil)
212
- @argument = argument
213
- @operand = operand
299
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil, limitType = nil)
300
+ @fieldPath = fieldPath
301
+ @trigger = trigger
302
+ @errorString = errorString
303
+ @apiError_Type = apiError_Type
304
+ @reason = reason
305
+ @enclosingId = enclosingId
306
+ @limit = limit
307
+ @limitType = limitType
214
308
  end
215
309
  end
216
310
 
217
- # Target
218
- # abstract
219
- # - target_Type - SOAP::SOAPString
220
- class Target
221
- attr_accessor :target_Type
311
+ # EntityNotFound
312
+ # - fieldPath - SOAP::SOAPString
313
+ # - trigger - SOAP::SOAPString
314
+ # - errorString - SOAP::SOAPString
315
+ # - apiError_Type - SOAP::SOAPString
316
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::EntityNotFoundReason
317
+ class EntityNotFound < ApiError
318
+ attr_accessor :fieldPath
319
+ attr_accessor :trigger
320
+ attr_accessor :errorString
321
+ attr_accessor :apiError_Type
322
+ attr_accessor :reason
222
323
 
223
- def initialize(target_Type = nil)
224
- @target_Type = target_Type
324
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
325
+ @fieldPath = fieldPath
326
+ @trigger = trigger
327
+ @errorString = errorString
328
+ @apiError_Type = apiError_Type
329
+ @reason = reason
225
330
  end
226
331
  end
227
332
 
228
- # AdScheduleTarget
229
- # - target_Type - SOAP::SOAPString
230
- # - dayOfWeek - AdwordsApi::V201008::TargetingIdeaService::DayOfWeek
231
- # - startHour - SOAP::SOAPInt
232
- # - startMinute - AdwordsApi::V201008::TargetingIdeaService::MinuteOfHour
233
- # - endHour - SOAP::SOAPInt
234
- # - endMinute - AdwordsApi::V201008::TargetingIdeaService::MinuteOfHour
235
- # - bidMultiplier - SOAP::SOAPDouble
236
- class AdScheduleTarget < Target
237
- attr_accessor :target_Type
238
- attr_accessor :dayOfWeek
239
- attr_accessor :startHour
240
- attr_accessor :startMinute
241
- attr_accessor :endHour
242
- attr_accessor :endMinute
243
- attr_accessor :bidMultiplier
333
+ # InternalApiError
334
+ # - fieldPath - SOAP::SOAPString
335
+ # - trigger - SOAP::SOAPString
336
+ # - errorString - SOAP::SOAPString
337
+ # - apiError_Type - SOAP::SOAPString
338
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::InternalApiErrorReason
339
+ class InternalApiError < ApiError
340
+ attr_accessor :fieldPath
341
+ attr_accessor :trigger
342
+ attr_accessor :errorString
343
+ attr_accessor :apiError_Type
344
+ attr_accessor :reason
244
345
 
245
- def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
246
- @target_Type = target_Type
247
- @dayOfWeek = dayOfWeek
248
- @startHour = startHour
249
- @startMinute = startMinute
250
- @endHour = endHour
251
- @endMinute = endMinute
252
- @bidMultiplier = bidMultiplier
346
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
347
+ @fieldPath = fieldPath
348
+ @trigger = trigger
349
+ @errorString = errorString
350
+ @apiError_Type = apiError_Type
351
+ @reason = reason
253
352
  end
254
353
  end
255
354
 
256
- # LanguageTarget
257
- # - target_Type - SOAP::SOAPString
258
- # - languageCode - SOAP::SOAPString
259
- class LanguageTarget < Target
260
- attr_accessor :target_Type
261
- attr_accessor :languageCode
355
+ # NotEmptyError
356
+ # - fieldPath - SOAP::SOAPString
357
+ # - trigger - SOAP::SOAPString
358
+ # - errorString - SOAP::SOAPString
359
+ # - apiError_Type - SOAP::SOAPString
360
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::NotEmptyErrorReason
361
+ class NotEmptyError < ApiError
362
+ attr_accessor :fieldPath
363
+ attr_accessor :trigger
364
+ attr_accessor :errorString
365
+ attr_accessor :apiError_Type
366
+ attr_accessor :reason
262
367
 
263
- def initialize(target_Type = nil, languageCode = nil)
264
- @target_Type = target_Type
265
- @languageCode = languageCode
368
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
369
+ @fieldPath = fieldPath
370
+ @trigger = trigger
371
+ @errorString = errorString
372
+ @apiError_Type = apiError_Type
373
+ @reason = reason
266
374
  end
267
375
  end
268
376
 
269
- # MobileTarget
270
- # abstract
271
- # - target_Type - SOAP::SOAPString
272
- class MobileTarget < Target
273
- attr_accessor :target_Type
377
+ # NotWhitelistedError
378
+ # - fieldPath - SOAP::SOAPString
379
+ # - trigger - SOAP::SOAPString
380
+ # - errorString - SOAP::SOAPString
381
+ # - apiError_Type - SOAP::SOAPString
382
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::NotWhitelistedErrorReason
383
+ class NotWhitelistedError < ApiError
384
+ attr_accessor :fieldPath
385
+ attr_accessor :trigger
386
+ attr_accessor :errorString
387
+ attr_accessor :apiError_Type
388
+ attr_accessor :reason
274
389
 
275
- def initialize(target_Type = nil)
276
- @target_Type = target_Type
390
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
391
+ @fieldPath = fieldPath
392
+ @trigger = trigger
393
+ @errorString = errorString
394
+ @apiError_Type = apiError_Type
395
+ @reason = reason
277
396
  end
278
397
  end
279
398
 
280
- # MobileCarrierTarget
281
- # - target_Type - SOAP::SOAPString
282
- # - carrierName - SOAP::SOAPString
283
- # - countryCode - SOAP::SOAPString
284
- class MobileCarrierTarget < MobileTarget
285
- attr_accessor :target_Type
286
- attr_accessor :carrierName
287
- attr_accessor :countryCode
288
-
289
- def initialize(target_Type = nil, carrierName = nil, countryCode = nil)
290
- @target_Type = target_Type
291
- @carrierName = carrierName
292
- @countryCode = countryCode
293
- end
294
- end
399
+ # NullError
400
+ # - fieldPath - SOAP::SOAPString
401
+ # - trigger - SOAP::SOAPString
402
+ # - errorString - SOAP::SOAPString
403
+ # - apiError_Type - SOAP::SOAPString
404
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::NullErrorReason
405
+ class NullError < ApiError
406
+ attr_accessor :fieldPath
407
+ attr_accessor :trigger
408
+ attr_accessor :errorString
409
+ attr_accessor :apiError_Type
410
+ attr_accessor :reason
295
411
 
296
- # MobilePlatformTarget
297
- # - target_Type - SOAP::SOAPString
298
- # - platformName - SOAP::SOAPString
299
- class MobilePlatformTarget < MobileTarget
300
- attr_accessor :target_Type
301
- attr_accessor :platformName
302
-
303
- def initialize(target_Type = nil, platformName = nil)
304
- @target_Type = target_Type
305
- @platformName = platformName
306
- end
307
- end
308
-
309
- # NetworkTarget
310
- # - target_Type - SOAP::SOAPString
311
- # - networkCoverageType - AdwordsApi::V201008::TargetingIdeaService::NetworkCoverageType
312
- class NetworkTarget < Target
313
- attr_accessor :target_Type
314
- attr_accessor :networkCoverageType
315
-
316
- def initialize(target_Type = nil, networkCoverageType = nil)
317
- @target_Type = target_Type
318
- @networkCoverageType = networkCoverageType
319
- end
320
- end
321
-
322
- # PlatformTarget
323
- # - target_Type - SOAP::SOAPString
324
- # - platformType - AdwordsApi::V201008::TargetingIdeaService::PlatformType
325
- class PlatformTarget < Target
326
- attr_accessor :target_Type
327
- attr_accessor :platformType
328
-
329
- def initialize(target_Type = nil, platformType = nil)
330
- @target_Type = target_Type
331
- @platformType = platformType
332
- end
333
- end
334
-
335
- # DemographicTarget
336
- # abstract
337
- # - target_Type - SOAP::SOAPString
338
- # - bidModifier - SOAP::SOAPInt
339
- class DemographicTarget < Target
340
- attr_accessor :target_Type
341
- attr_accessor :bidModifier
342
-
343
- def initialize(target_Type = nil, bidModifier = nil)
344
- @target_Type = target_Type
345
- @bidModifier = bidModifier
346
- end
347
- end
348
-
349
- # AgeTarget
350
- # - target_Type - SOAP::SOAPString
351
- # - bidModifier - SOAP::SOAPInt
352
- # - age - AdwordsApi::V201008::TargetingIdeaService::AgeTargetAge
353
- class AgeTarget < DemographicTarget
354
- attr_accessor :target_Type
355
- attr_accessor :bidModifier
356
- attr_accessor :age
357
-
358
- def initialize(target_Type = nil, bidModifier = nil, age = nil)
359
- @target_Type = target_Type
360
- @bidModifier = bidModifier
361
- @age = age
412
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
413
+ @fieldPath = fieldPath
414
+ @trigger = trigger
415
+ @errorString = errorString
416
+ @apiError_Type = apiError_Type
417
+ @reason = reason
362
418
  end
363
419
  end
364
420
 
365
- # GenderTarget
366
- # - target_Type - SOAP::SOAPString
367
- # - bidModifier - SOAP::SOAPInt
368
- # - gender - AdwordsApi::V201008::TargetingIdeaService::GenderTargetGender
369
- class GenderTarget < DemographicTarget
370
- attr_accessor :target_Type
371
- attr_accessor :bidModifier
372
- attr_accessor :gender
421
+ # PolicyViolationError
422
+ # - fieldPath - SOAP::SOAPString
423
+ # - trigger - SOAP::SOAPString
424
+ # - errorString - SOAP::SOAPString
425
+ # - apiError_Type - SOAP::SOAPString
426
+ # - key - AdwordsApi::V201008::TargetingIdeaService::PolicyViolationKey
427
+ # - externalPolicyName - SOAP::SOAPString
428
+ # - externalPolicyUrl - SOAP::SOAPString
429
+ # - externalPolicyDescription - SOAP::SOAPString
430
+ # - isExemptable - SOAP::SOAPBoolean
431
+ # - violatingParts - AdwordsApi::V201008::TargetingIdeaService::PolicyViolationErrorPart
432
+ class PolicyViolationError < ApiError
433
+ attr_accessor :fieldPath
434
+ attr_accessor :trigger
435
+ attr_accessor :errorString
436
+ attr_accessor :apiError_Type
437
+ attr_accessor :key
438
+ attr_accessor :externalPolicyName
439
+ attr_accessor :externalPolicyUrl
440
+ attr_accessor :externalPolicyDescription
441
+ attr_accessor :isExemptable
442
+ attr_accessor :violatingParts
373
443
 
374
- def initialize(target_Type = nil, bidModifier = nil, gender = nil)
375
- @target_Type = target_Type
376
- @bidModifier = bidModifier
377
- @gender = gender
444
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
445
+ @fieldPath = fieldPath
446
+ @trigger = trigger
447
+ @errorString = errorString
448
+ @apiError_Type = apiError_Type
449
+ @key = key
450
+ @externalPolicyName = externalPolicyName
451
+ @externalPolicyUrl = externalPolicyUrl
452
+ @externalPolicyDescription = externalPolicyDescription
453
+ @isExemptable = isExemptable
454
+ @violatingParts = violatingParts
378
455
  end
379
456
  end
380
457
 
381
- # GeoTarget
382
- # abstract
383
- # - target_Type - SOAP::SOAPString
384
- # - excluded - SOAP::SOAPBoolean
385
- class GeoTarget < Target
386
- attr_accessor :target_Type
387
- attr_accessor :excluded
458
+ # CriterionPolicyError
459
+ # - fieldPath - SOAP::SOAPString
460
+ # - trigger - SOAP::SOAPString
461
+ # - errorString - SOAP::SOAPString
462
+ # - apiError_Type - SOAP::SOAPString
463
+ # - key - AdwordsApi::V201008::TargetingIdeaService::PolicyViolationKey
464
+ # - externalPolicyName - SOAP::SOAPString
465
+ # - externalPolicyUrl - SOAP::SOAPString
466
+ # - externalPolicyDescription - SOAP::SOAPString
467
+ # - isExemptable - SOAP::SOAPBoolean
468
+ # - violatingParts - AdwordsApi::V201008::TargetingIdeaService::PolicyViolationErrorPart
469
+ class CriterionPolicyError < PolicyViolationError
470
+ attr_accessor :fieldPath
471
+ attr_accessor :trigger
472
+ attr_accessor :errorString
473
+ attr_accessor :apiError_Type
474
+ attr_accessor :key
475
+ attr_accessor :externalPolicyName
476
+ attr_accessor :externalPolicyUrl
477
+ attr_accessor :externalPolicyDescription
478
+ attr_accessor :isExemptable
479
+ attr_accessor :violatingParts
388
480
 
389
- def initialize(target_Type = nil, excluded = nil)
390
- @target_Type = target_Type
391
- @excluded = excluded
481
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
482
+ @fieldPath = fieldPath
483
+ @trigger = trigger
484
+ @errorString = errorString
485
+ @apiError_Type = apiError_Type
486
+ @key = key
487
+ @externalPolicyName = externalPolicyName
488
+ @externalPolicyUrl = externalPolicyUrl
489
+ @externalPolicyDescription = externalPolicyDescription
490
+ @isExemptable = isExemptable
491
+ @violatingParts = violatingParts
392
492
  end
393
493
  end
394
494
 
395
- # CityTarget
396
- # - target_Type - SOAP::SOAPString
397
- # - excluded - SOAP::SOAPBoolean
398
- # - cityName - SOAP::SOAPString
399
- # - provinceCode - SOAP::SOAPString
400
- # - countryCode - SOAP::SOAPString
401
- class CityTarget < GeoTarget
402
- attr_accessor :target_Type
403
- attr_accessor :excluded
404
- attr_accessor :cityName
405
- attr_accessor :provinceCode
406
- attr_accessor :countryCode
495
+ # QuotaCheckError
496
+ # - fieldPath - SOAP::SOAPString
497
+ # - trigger - SOAP::SOAPString
498
+ # - errorString - SOAP::SOAPString
499
+ # - apiError_Type - SOAP::SOAPString
500
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::QuotaCheckErrorReason
501
+ class QuotaCheckError < ApiError
502
+ attr_accessor :fieldPath
503
+ attr_accessor :trigger
504
+ attr_accessor :errorString
505
+ attr_accessor :apiError_Type
506
+ attr_accessor :reason
407
507
 
408
- def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
409
- @target_Type = target_Type
410
- @excluded = excluded
411
- @cityName = cityName
412
- @provinceCode = provinceCode
413
- @countryCode = countryCode
508
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
509
+ @fieldPath = fieldPath
510
+ @trigger = trigger
511
+ @errorString = errorString
512
+ @apiError_Type = apiError_Type
513
+ @reason = reason
414
514
  end
415
515
  end
416
516
 
417
- # CountryTarget
418
- # - target_Type - SOAP::SOAPString
419
- # - excluded - SOAP::SOAPBoolean
420
- # - countryCode - SOAP::SOAPString
421
- class CountryTarget < GeoTarget
422
- attr_accessor :target_Type
423
- attr_accessor :excluded
424
- attr_accessor :countryCode
517
+ # RangeError
518
+ # - fieldPath - SOAP::SOAPString
519
+ # - trigger - SOAP::SOAPString
520
+ # - errorString - SOAP::SOAPString
521
+ # - apiError_Type - SOAP::SOAPString
522
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::RangeErrorReason
523
+ class C_RangeError < ApiError
524
+ attr_accessor :fieldPath
525
+ attr_accessor :trigger
526
+ attr_accessor :errorString
527
+ attr_accessor :apiError_Type
528
+ attr_accessor :reason
425
529
 
426
- def initialize(target_Type = nil, excluded = nil, countryCode = nil)
427
- @target_Type = target_Type
428
- @excluded = excluded
429
- @countryCode = countryCode
530
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
531
+ @fieldPath = fieldPath
532
+ @trigger = trigger
533
+ @errorString = errorString
534
+ @apiError_Type = apiError_Type
535
+ @reason = reason
430
536
  end
431
537
  end
432
538
 
433
- # MetroTarget
434
- # - target_Type - SOAP::SOAPString
435
- # - excluded - SOAP::SOAPBoolean
436
- # - metroCode - SOAP::SOAPString
437
- class MetroTarget < GeoTarget
438
- attr_accessor :target_Type
439
- attr_accessor :excluded
440
- attr_accessor :metroCode
539
+ # RateExceededError
540
+ # - fieldPath - SOAP::SOAPString
541
+ # - trigger - SOAP::SOAPString
542
+ # - errorString - SOAP::SOAPString
543
+ # - apiError_Type - SOAP::SOAPString
544
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::RateExceededErrorReason
545
+ # - rateName - SOAP::SOAPString
546
+ # - rateScope - SOAP::SOAPString
547
+ # - retryAfterSeconds - SOAP::SOAPInt
548
+ class RateExceededError < ApiError
549
+ attr_accessor :fieldPath
550
+ attr_accessor :trigger
551
+ attr_accessor :errorString
552
+ attr_accessor :apiError_Type
553
+ attr_accessor :reason
554
+ attr_accessor :rateName
555
+ attr_accessor :rateScope
556
+ attr_accessor :retryAfterSeconds
441
557
 
442
- def initialize(target_Type = nil, excluded = nil, metroCode = nil)
443
- @target_Type = target_Type
444
- @excluded = excluded
445
- @metroCode = metroCode
558
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
559
+ @fieldPath = fieldPath
560
+ @trigger = trigger
561
+ @errorString = errorString
562
+ @apiError_Type = apiError_Type
563
+ @reason = reason
564
+ @rateName = rateName
565
+ @rateScope = rateScope
566
+ @retryAfterSeconds = retryAfterSeconds
446
567
  end
447
568
  end
448
569
 
449
- # PolygonTarget
450
- # - target_Type - SOAP::SOAPString
451
- # - excluded - SOAP::SOAPBoolean
452
- # - vertices - AdwordsApi::V201008::TargetingIdeaService::GeoPoint
453
- class PolygonTarget < GeoTarget
454
- attr_accessor :target_Type
455
- attr_accessor :excluded
456
- attr_accessor :vertices
570
+ # ReadOnlyError
571
+ # - fieldPath - SOAP::SOAPString
572
+ # - trigger - SOAP::SOAPString
573
+ # - errorString - SOAP::SOAPString
574
+ # - apiError_Type - SOAP::SOAPString
575
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::ReadOnlyErrorReason
576
+ class ReadOnlyError < ApiError
577
+ attr_accessor :fieldPath
578
+ attr_accessor :trigger
579
+ attr_accessor :errorString
580
+ attr_accessor :apiError_Type
581
+ attr_accessor :reason
457
582
 
458
- def initialize(target_Type = nil, excluded = nil, vertices = [])
459
- @target_Type = target_Type
460
- @excluded = excluded
461
- @vertices = vertices
583
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
584
+ @fieldPath = fieldPath
585
+ @trigger = trigger
586
+ @errorString = errorString
587
+ @apiError_Type = apiError_Type
588
+ @reason = reason
462
589
  end
463
590
  end
464
591
 
465
- # ProvinceTarget
466
- # - target_Type - SOAP::SOAPString
467
- # - excluded - SOAP::SOAPBoolean
468
- # - provinceCode - SOAP::SOAPString
469
- class ProvinceTarget < GeoTarget
470
- attr_accessor :target_Type
471
- attr_accessor :excluded
472
- attr_accessor :provinceCode
592
+ # RegionCodeError
593
+ # - fieldPath - SOAP::SOAPString
594
+ # - trigger - SOAP::SOAPString
595
+ # - errorString - SOAP::SOAPString
596
+ # - apiError_Type - SOAP::SOAPString
597
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::RegionCodeErrorReason
598
+ class RegionCodeError < ApiError
599
+ attr_accessor :fieldPath
600
+ attr_accessor :trigger
601
+ attr_accessor :errorString
602
+ attr_accessor :apiError_Type
603
+ attr_accessor :reason
473
604
 
474
- def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
475
- @target_Type = target_Type
476
- @excluded = excluded
477
- @provinceCode = provinceCode
605
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
606
+ @fieldPath = fieldPath
607
+ @trigger = trigger
608
+ @errorString = errorString
609
+ @apiError_Type = apiError_Type
610
+ @reason = reason
478
611
  end
479
612
  end
480
613
 
481
- # ProximityTarget
482
- # - target_Type - SOAP::SOAPString
483
- # - excluded - SOAP::SOAPBoolean
484
- # - geoPoint - AdwordsApi::V201008::TargetingIdeaService::GeoPoint
485
- # - radiusDistanceUnits - AdwordsApi::V201008::TargetingIdeaService::ProximityTargetDistanceUnits
486
- # - radiusInUnits - SOAP::SOAPDouble
487
- # - address - AdwordsApi::V201008::TargetingIdeaService::Address
488
- # - allowServiceOfAddress - SOAP::SOAPBoolean
489
- class ProximityTarget < GeoTarget
490
- attr_accessor :target_Type
491
- attr_accessor :excluded
492
- attr_accessor :geoPoint
493
- attr_accessor :radiusDistanceUnits
494
- attr_accessor :radiusInUnits
495
- attr_accessor :address
496
- attr_accessor :allowServiceOfAddress
497
-
498
- def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
499
- @target_Type = target_Type
500
- @excluded = excluded
501
- @geoPoint = geoPoint
502
- @radiusDistanceUnits = radiusDistanceUnits
503
- @radiusInUnits = radiusInUnits
504
- @address = address
505
- @allowServiceOfAddress = allowServiceOfAddress
614
+ # RequestError
615
+ # - fieldPath - SOAP::SOAPString
616
+ # - trigger - SOAP::SOAPString
617
+ # - errorString - SOAP::SOAPString
618
+ # - apiError_Type - SOAP::SOAPString
619
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::RequestErrorReason
620
+ class RequestError < ApiError
621
+ attr_accessor :fieldPath
622
+ attr_accessor :trigger
623
+ attr_accessor :errorString
624
+ attr_accessor :apiError_Type
625
+ attr_accessor :reason
626
+
627
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
628
+ @fieldPath = fieldPath
629
+ @trigger = trigger
630
+ @errorString = errorString
631
+ @apiError_Type = apiError_Type
632
+ @reason = reason
506
633
  end
507
634
  end
508
635
 
509
- # ApiError
510
- # abstract
636
+ # RequiredError
511
637
  # - fieldPath - SOAP::SOAPString
512
638
  # - trigger - SOAP::SOAPString
513
639
  # - errorString - SOAP::SOAPString
514
640
  # - apiError_Type - SOAP::SOAPString
515
- class ApiError
641
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::RequiredErrorReason
642
+ class RequiredError < ApiError
516
643
  attr_accessor :fieldPath
517
644
  attr_accessor :trigger
518
645
  attr_accessor :errorString
519
646
  attr_accessor :apiError_Type
647
+ attr_accessor :reason
520
648
 
521
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
649
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
522
650
  @fieldPath = fieldPath
523
651
  @trigger = trigger
524
652
  @errorString = errorString
525
653
  @apiError_Type = apiError_Type
654
+ @reason = reason
526
655
  end
527
656
  end
528
657
 
529
- # AdGroupCriterionError
658
+ # SizeLimitError
530
659
  # - fieldPath - SOAP::SOAPString
531
660
  # - trigger - SOAP::SOAPString
532
661
  # - errorString - SOAP::SOAPString
533
662
  # - apiError_Type - SOAP::SOAPString
534
- # - reason - AdwordsApi::V201008::TargetingIdeaService::AdGroupCriterionErrorReason
535
- class AdGroupCriterionError < ApiError
663
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::SizeLimitErrorReason
664
+ class SizeLimitError < ApiError
536
665
  attr_accessor :fieldPath
537
666
  attr_accessor :trigger
538
667
  attr_accessor :errorString
@@ -548,13 +677,13 @@ class AdGroupCriterionError < ApiError
548
677
  end
549
678
  end
550
679
 
551
- # AuthenticationError
680
+ # StatsQueryError
552
681
  # - fieldPath - SOAP::SOAPString
553
682
  # - trigger - SOAP::SOAPString
554
683
  # - errorString - SOAP::SOAPString
555
684
  # - apiError_Type - SOAP::SOAPString
556
- # - reason - AdwordsApi::V201008::TargetingIdeaService::AuthenticationErrorReason
557
- class AuthenticationError < ApiError
685
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::StatsQueryErrorReason
686
+ class StatsQueryError < ApiError
558
687
  attr_accessor :fieldPath
559
688
  attr_accessor :trigger
560
689
  attr_accessor :errorString
@@ -570,13 +699,13 @@ class AuthenticationError < ApiError
570
699
  end
571
700
  end
572
701
 
573
- # AuthorizationError
702
+ # StringLengthError
574
703
  # - fieldPath - SOAP::SOAPString
575
704
  # - trigger - SOAP::SOAPString
576
705
  # - errorString - SOAP::SOAPString
577
706
  # - apiError_Type - SOAP::SOAPString
578
- # - reason - AdwordsApi::V201008::TargetingIdeaService::AuthorizationErrorReason
579
- class AuthorizationError < ApiError
707
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::StringLengthErrorReason
708
+ class StringLengthError < ApiError
580
709
  attr_accessor :fieldPath
581
710
  attr_accessor :trigger
582
711
  attr_accessor :errorString
@@ -592,13 +721,13 @@ class AuthorizationError < ApiError
592
721
  end
593
722
  end
594
723
 
595
- # BiddingError
724
+ # TargetError
596
725
  # - fieldPath - SOAP::SOAPString
597
726
  # - trigger - SOAP::SOAPString
598
727
  # - errorString - SOAP::SOAPString
599
728
  # - apiError_Type - SOAP::SOAPString
600
- # - reason - AdwordsApi::V201008::TargetingIdeaService::BiddingErrorReason
601
- class BiddingError < ApiError
729
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::TargetErrorReason
730
+ class TargetError < ApiError
602
731
  attr_accessor :fieldPath
603
732
  attr_accessor :trigger
604
733
  attr_accessor :errorString
@@ -614,13 +743,13 @@ class BiddingError < ApiError
614
743
  end
615
744
  end
616
745
 
617
- # BudgetError
746
+ # CollectionSizeError
618
747
  # - fieldPath - SOAP::SOAPString
619
748
  # - trigger - SOAP::SOAPString
620
749
  # - errorString - SOAP::SOAPString
621
750
  # - apiError_Type - SOAP::SOAPString
622
- # - reason - AdwordsApi::V201008::TargetingIdeaService::BudgetErrorReason
623
- class BudgetError < ApiError
751
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::CollectionSizeErrorReason
752
+ class CollectionSizeError < ApiError
624
753
  attr_accessor :fieldPath
625
754
  attr_accessor :trigger
626
755
  attr_accessor :errorString
@@ -636,13 +765,13 @@ class BudgetError < ApiError
636
765
  end
637
766
  end
638
767
 
639
- # ClientTermsError
768
+ # MatchesRegexError
640
769
  # - fieldPath - SOAP::SOAPString
641
770
  # - trigger - SOAP::SOAPString
642
771
  # - errorString - SOAP::SOAPString
643
772
  # - apiError_Type - SOAP::SOAPString
644
- # - reason - AdwordsApi::V201008::TargetingIdeaService::ClientTermsErrorReason
645
- class ClientTermsError < ApiError
773
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::MatchesRegexErrorReason
774
+ class MatchesRegexError < ApiError
646
775
  attr_accessor :fieldPath
647
776
  attr_accessor :trigger
648
777
  attr_accessor :errorString
@@ -658,1026 +787,983 @@ class ClientTermsError < ApiError
658
787
  end
659
788
  end
660
789
 
661
- # DateError
790
+ # TargetingIdeaError
662
791
  # - fieldPath - SOAP::SOAPString
663
792
  # - trigger - SOAP::SOAPString
664
793
  # - errorString - SOAP::SOAPString
665
794
  # - apiError_Type - SOAP::SOAPString
666
- # - reason - AdwordsApi::V201008::TargetingIdeaService::DateErrorReason
667
- class DateError < ApiError
795
+ # - reason - AdwordsApi::V201008::TargetingIdeaService::TargetingIdeaErrorReason
796
+ class TargetingIdeaError < ApiError
668
797
  attr_accessor :fieldPath
669
798
  attr_accessor :trigger
670
799
  attr_accessor :errorString
671
800
  attr_accessor :apiError_Type
672
801
  attr_accessor :reason
673
802
 
674
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
675
- @fieldPath = fieldPath
676
- @trigger = trigger
677
- @errorString = errorString
678
- @apiError_Type = apiError_Type
679
- @reason = reason
803
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
804
+ @fieldPath = fieldPath
805
+ @trigger = trigger
806
+ @errorString = errorString
807
+ @apiError_Type = apiError_Type
808
+ @reason = reason
809
+ end
810
+ end
811
+
812
+ # ApplicationException
813
+ # - message - SOAP::SOAPString
814
+ # - applicationException_Type - SOAP::SOAPString
815
+ class ApplicationException
816
+ attr_accessor :message
817
+ attr_accessor :applicationException_Type
818
+
819
+ def initialize(message = nil, applicationException_Type = nil)
820
+ @message = message
821
+ @applicationException_Type = applicationException_Type
822
+ end
823
+ end
824
+
825
+ # ApiException
826
+ # - message - SOAP::SOAPString
827
+ # - applicationException_Type - SOAP::SOAPString
828
+ # - errors - AdwordsApi::V201008::TargetingIdeaService::ApiError
829
+ class ApiException < ApplicationException
830
+ attr_accessor :message
831
+ attr_accessor :applicationException_Type
832
+ attr_accessor :errors
833
+
834
+ def initialize(message = nil, applicationException_Type = nil, errors = [])
835
+ @message = message
836
+ @applicationException_Type = applicationException_Type
837
+ @errors = errors
838
+ end
839
+ end
840
+
841
+ # ComparableValue
842
+ # abstract
843
+ # - comparableValue_Type - SOAP::SOAPString
844
+ class ComparableValue
845
+ attr_accessor :comparableValue_Type
846
+
847
+ def initialize(comparableValue_Type = nil)
848
+ @comparableValue_Type = comparableValue_Type
849
+ end
850
+ end
851
+
852
+ # Money
853
+ # - comparableValue_Type - SOAP::SOAPString
854
+ # - microAmount - SOAP::SOAPLong
855
+ class Money < ComparableValue
856
+ attr_accessor :comparableValue_Type
857
+ attr_accessor :microAmount
858
+
859
+ def initialize(comparableValue_Type = nil, microAmount = nil)
860
+ @comparableValue_Type = comparableValue_Type
861
+ @microAmount = microAmount
862
+ end
863
+ end
864
+
865
+ # NumberValue
866
+ # abstract
867
+ # - comparableValue_Type - SOAP::SOAPString
868
+ class NumberValue < ComparableValue
869
+ attr_accessor :comparableValue_Type
870
+
871
+ def initialize(comparableValue_Type = nil)
872
+ @comparableValue_Type = comparableValue_Type
873
+ end
874
+ end
875
+
876
+ # DoubleValue
877
+ # - comparableValue_Type - SOAP::SOAPString
878
+ # - number - SOAP::SOAPDouble
879
+ class DoubleValue < NumberValue
880
+ attr_accessor :comparableValue_Type
881
+ attr_accessor :number
882
+
883
+ def initialize(comparableValue_Type = nil, number = nil)
884
+ @comparableValue_Type = comparableValue_Type
885
+ @number = number
886
+ end
887
+ end
888
+
889
+ # LongValue
890
+ # - comparableValue_Type - SOAP::SOAPString
891
+ # - number - SOAP::SOAPLong
892
+ class LongValue < NumberValue
893
+ attr_accessor :comparableValue_Type
894
+ attr_accessor :number
895
+
896
+ def initialize(comparableValue_Type = nil, number = nil)
897
+ @comparableValue_Type = comparableValue_Type
898
+ @number = number
899
+ end
900
+ end
901
+
902
+ # Criterion
903
+ # - id - SOAP::SOAPLong
904
+ # - criterion_Type - SOAP::SOAPString
905
+ class Criterion
906
+ attr_accessor :id
907
+ attr_accessor :criterion_Type
908
+
909
+ def initialize(id = nil, criterion_Type = nil)
910
+ @id = id
911
+ @criterion_Type = criterion_Type
912
+ end
913
+ end
914
+
915
+ # Keyword
916
+ # - id - SOAP::SOAPLong
917
+ # - criterion_Type - SOAP::SOAPString
918
+ # - text - SOAP::SOAPString
919
+ # - matchType - AdwordsApi::V201008::TargetingIdeaService::KeywordMatchType
920
+ class Keyword < Criterion
921
+ attr_accessor :id
922
+ attr_accessor :criterion_Type
923
+ attr_accessor :text
924
+ attr_accessor :matchType
925
+
926
+ def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
927
+ @id = id
928
+ @criterion_Type = criterion_Type
929
+ @text = text
930
+ @matchType = matchType
931
+ end
932
+ end
933
+
934
+ # Placement
935
+ # - id - SOAP::SOAPLong
936
+ # - criterion_Type - SOAP::SOAPString
937
+ # - url - SOAP::SOAPString
938
+ class Placement < Criterion
939
+ attr_accessor :id
940
+ attr_accessor :criterion_Type
941
+ attr_accessor :url
942
+
943
+ def initialize(id = nil, criterion_Type = nil, url = nil)
944
+ @id = id
945
+ @criterion_Type = criterion_Type
946
+ @url = url
947
+ end
948
+ end
949
+
950
+ # Product
951
+ # - id - SOAP::SOAPLong
952
+ # - criterion_Type - SOAP::SOAPString
953
+ # - conditions - AdwordsApi::V201008::TargetingIdeaService::ProductCondition
954
+ # - text - SOAP::SOAPString
955
+ class Product < Criterion
956
+ attr_accessor :id
957
+ attr_accessor :criterion_Type
958
+ attr_accessor :conditions
959
+ attr_accessor :text
960
+
961
+ def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
962
+ @id = id
963
+ @criterion_Type = criterion_Type
964
+ @conditions = conditions
965
+ @text = text
966
+ end
967
+ end
968
+
969
+ # CriterionUserInterest
970
+ # - id - SOAP::SOAPLong
971
+ # - criterion_Type - SOAP::SOAPString
972
+ # - userInterestId - SOAP::SOAPLong
973
+ # - userInterestName - SOAP::SOAPString
974
+ class CriterionUserInterest < Criterion
975
+ attr_accessor :id
976
+ attr_accessor :criterion_Type
977
+ attr_accessor :userInterestId
978
+ attr_accessor :userInterestName
979
+
980
+ def initialize(id = nil, criterion_Type = nil, userInterestId = nil, userInterestName = nil)
981
+ @id = id
982
+ @criterion_Type = criterion_Type
983
+ @userInterestId = userInterestId
984
+ @userInterestName = userInterestName
985
+ end
986
+ end
987
+
988
+ # CriterionUserList
989
+ # - id - SOAP::SOAPLong
990
+ # - criterion_Type - SOAP::SOAPString
991
+ # - userListId - SOAP::SOAPLong
992
+ # - userListName - SOAP::SOAPString
993
+ # - userListMembershipStatus - AdwordsApi::V201008::TargetingIdeaService::CriterionUserListMembershipStatus
994
+ # - userListSize - SOAP::SOAPLong
995
+ class CriterionUserList < Criterion
996
+ attr_accessor :id
997
+ attr_accessor :criterion_Type
998
+ attr_accessor :userListId
999
+ attr_accessor :userListName
1000
+ attr_accessor :userListMembershipStatus
1001
+ attr_accessor :userListSize
1002
+
1003
+ def initialize(id = nil, criterion_Type = nil, userListId = nil, userListName = nil, userListMembershipStatus = nil, userListSize = nil)
1004
+ @id = id
1005
+ @criterion_Type = criterion_Type
1006
+ @userListId = userListId
1007
+ @userListName = userListName
1008
+ @userListMembershipStatus = userListMembershipStatus
1009
+ @userListSize = userListSize
680
1010
  end
681
1011
  end
682
1012
 
683
- # DistinctError
684
- # - fieldPath - SOAP::SOAPString
685
- # - trigger - SOAP::SOAPString
686
- # - errorString - SOAP::SOAPString
687
- # - apiError_Type - SOAP::SOAPString
688
- # - reason - AdwordsApi::V201008::TargetingIdeaService::DistinctErrorReason
689
- class DistinctError < ApiError
690
- attr_accessor :fieldPath
691
- attr_accessor :trigger
692
- attr_accessor :errorString
693
- attr_accessor :apiError_Type
694
- attr_accessor :reason
1013
+ # Vertical
1014
+ # - id - SOAP::SOAPLong
1015
+ # - criterion_Type - SOAP::SOAPString
1016
+ # - path - SOAP::SOAPString
1017
+ class Vertical < Criterion
1018
+ attr_accessor :id
1019
+ attr_accessor :criterion_Type
1020
+ attr_accessor :path
695
1021
 
696
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
697
- @fieldPath = fieldPath
698
- @trigger = trigger
699
- @errorString = errorString
700
- @apiError_Type = apiError_Type
701
- @reason = reason
1022
+ def initialize(id = nil, criterion_Type = nil, path = [])
1023
+ @id = id
1024
+ @criterion_Type = criterion_Type
1025
+ @path = path
702
1026
  end
703
1027
  end
704
1028
 
705
- # EntityCountLimitExceeded
706
- # - fieldPath - SOAP::SOAPString
707
- # - trigger - SOAP::SOAPString
708
- # - errorString - SOAP::SOAPString
709
- # - apiError_Type - SOAP::SOAPString
710
- # - reason - AdwordsApi::V201008::TargetingIdeaService::EntityCountLimitExceededReason
711
- # - enclosingId - SOAP::SOAPString
712
- # - limit - SOAP::SOAPInt
713
- class EntityCountLimitExceeded < ApiError
714
- attr_accessor :fieldPath
715
- attr_accessor :trigger
716
- attr_accessor :errorString
717
- attr_accessor :apiError_Type
718
- attr_accessor :reason
719
- attr_accessor :enclosingId
720
- attr_accessor :limit
1029
+ # GeoPoint
1030
+ # - latitudeInMicroDegrees - SOAP::SOAPInt
1031
+ # - longitudeInMicroDegrees - SOAP::SOAPInt
1032
+ class GeoPoint
1033
+ attr_accessor :latitudeInMicroDegrees
1034
+ attr_accessor :longitudeInMicroDegrees
721
1035
 
722
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil)
723
- @fieldPath = fieldPath
724
- @trigger = trigger
725
- @errorString = errorString
726
- @apiError_Type = apiError_Type
727
- @reason = reason
728
- @enclosingId = enclosingId
729
- @limit = limit
1036
+ def initialize(latitudeInMicroDegrees = nil, longitudeInMicroDegrees = nil)
1037
+ @latitudeInMicroDegrees = latitudeInMicroDegrees
1038
+ @longitudeInMicroDegrees = longitudeInMicroDegrees
730
1039
  end
731
1040
  end
732
1041
 
733
- # AdGroupCriterionLimitExceeded
734
- # - fieldPath - SOAP::SOAPString
735
- # - trigger - SOAP::SOAPString
736
- # - errorString - SOAP::SOAPString
737
- # - apiError_Type - SOAP::SOAPString
738
- # - reason - AdwordsApi::V201008::TargetingIdeaService::EntityCountLimitExceededReason
739
- # - enclosingId - SOAP::SOAPString
740
- # - limit - SOAP::SOAPInt
741
- # - limitType - AdwordsApi::V201008::TargetingIdeaService::AdGroupCriterionLimitExceededCriteriaLimitType
742
- class AdGroupCriterionLimitExceeded < EntityCountLimitExceeded
743
- attr_accessor :fieldPath
744
- attr_accessor :trigger
745
- attr_accessor :errorString
746
- attr_accessor :apiError_Type
747
- attr_accessor :reason
748
- attr_accessor :enclosingId
749
- attr_accessor :limit
750
- attr_accessor :limitType
1042
+ # Paging
1043
+ # - startIndex - SOAP::SOAPInt
1044
+ # - numberResults - SOAP::SOAPInt
1045
+ class Paging
1046
+ attr_accessor :startIndex
1047
+ attr_accessor :numberResults
751
1048
 
752
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, enclosingId = nil, limit = nil, limitType = nil)
753
- @fieldPath = fieldPath
754
- @trigger = trigger
755
- @errorString = errorString
756
- @apiError_Type = apiError_Type
757
- @reason = reason
758
- @enclosingId = enclosingId
759
- @limit = limit
760
- @limitType = limitType
1049
+ def initialize(startIndex = nil, numberResults = nil)
1050
+ @startIndex = startIndex
1051
+ @numberResults = numberResults
761
1052
  end
762
1053
  end
763
1054
 
764
- # EntityNotFound
765
- # - fieldPath - SOAP::SOAPString
766
- # - trigger - SOAP::SOAPString
767
- # - errorString - SOAP::SOAPString
768
- # - apiError_Type - SOAP::SOAPString
769
- # - reason - AdwordsApi::V201008::TargetingIdeaService::EntityNotFoundReason
770
- class EntityNotFound < ApiError
771
- attr_accessor :fieldPath
772
- attr_accessor :trigger
773
- attr_accessor :errorString
774
- attr_accessor :apiError_Type
775
- attr_accessor :reason
1055
+ # PolicyViolationError.Part
1056
+ # - index - SOAP::SOAPInt
1057
+ # - length - SOAP::SOAPInt
1058
+ class PolicyViolationErrorPart
1059
+ attr_accessor :index
1060
+ attr_accessor :length
776
1061
 
777
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
778
- @fieldPath = fieldPath
779
- @trigger = trigger
780
- @errorString = errorString
781
- @apiError_Type = apiError_Type
782
- @reason = reason
1062
+ def initialize(index = nil, length = nil)
1063
+ @index = index
1064
+ @length = length
783
1065
  end
784
1066
  end
785
1067
 
786
- # InternalApiError
787
- # - fieldPath - SOAP::SOAPString
788
- # - trigger - SOAP::SOAPString
789
- # - errorString - SOAP::SOAPString
790
- # - apiError_Type - SOAP::SOAPString
791
- # - reason - AdwordsApi::V201008::TargetingIdeaService::InternalApiErrorReason
792
- class InternalApiError < ApiError
793
- attr_accessor :fieldPath
794
- attr_accessor :trigger
795
- attr_accessor :errorString
796
- attr_accessor :apiError_Type
797
- attr_accessor :reason
1068
+ # PolicyViolationKey
1069
+ # - policyName - SOAP::SOAPString
1070
+ # - violatingText - SOAP::SOAPString
1071
+ class PolicyViolationKey
1072
+ attr_accessor :policyName
1073
+ attr_accessor :violatingText
798
1074
 
799
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
800
- @fieldPath = fieldPath
801
- @trigger = trigger
802
- @errorString = errorString
803
- @apiError_Type = apiError_Type
804
- @reason = reason
1075
+ def initialize(policyName = nil, violatingText = nil)
1076
+ @policyName = policyName
1077
+ @violatingText = violatingText
805
1078
  end
806
1079
  end
807
1080
 
808
- # NotEmptyError
809
- # - fieldPath - SOAP::SOAPString
810
- # - trigger - SOAP::SOAPString
811
- # - errorString - SOAP::SOAPString
812
- # - apiError_Type - SOAP::SOAPString
813
- # - reason - AdwordsApi::V201008::TargetingIdeaService::NotEmptyErrorReason
814
- class NotEmptyError < ApiError
815
- attr_accessor :fieldPath
816
- attr_accessor :trigger
817
- attr_accessor :errorString
818
- attr_accessor :apiError_Type
819
- attr_accessor :reason
1081
+ # ProductCondition
1082
+ # - argument - SOAP::SOAPString
1083
+ # - operand - AdwordsApi::V201008::TargetingIdeaService::ProductConditionOperand
1084
+ class ProductCondition
1085
+ attr_accessor :argument
1086
+ attr_accessor :operand
820
1087
 
821
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
822
- @fieldPath = fieldPath
823
- @trigger = trigger
824
- @errorString = errorString
825
- @apiError_Type = apiError_Type
826
- @reason = reason
1088
+ def initialize(argument = nil, operand = nil)
1089
+ @argument = argument
1090
+ @operand = operand
827
1091
  end
828
1092
  end
829
1093
 
830
- # NotWhitelistedError
831
- # - fieldPath - SOAP::SOAPString
832
- # - trigger - SOAP::SOAPString
833
- # - errorString - SOAP::SOAPString
834
- # - apiError_Type - SOAP::SOAPString
835
- # - reason - AdwordsApi::V201008::TargetingIdeaService::NotWhitelistedErrorReason
836
- class NotWhitelistedError < ApiError
837
- attr_accessor :fieldPath
838
- attr_accessor :trigger
839
- attr_accessor :errorString
840
- attr_accessor :apiError_Type
841
- attr_accessor :reason
1094
+ # ProductConditionOperand
1095
+ # - operand - SOAP::SOAPString
1096
+ class ProductConditionOperand
1097
+ attr_accessor :operand
842
1098
 
843
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
844
- @fieldPath = fieldPath
845
- @trigger = trigger
846
- @errorString = errorString
847
- @apiError_Type = apiError_Type
848
- @reason = reason
1099
+ def initialize(operand = nil)
1100
+ @operand = operand
849
1101
  end
850
1102
  end
851
1103
 
852
- # NullError
853
- # - fieldPath - SOAP::SOAPString
854
- # - trigger - SOAP::SOAPString
855
- # - errorString - SOAP::SOAPString
856
- # - apiError_Type - SOAP::SOAPString
857
- # - reason - AdwordsApi::V201008::TargetingIdeaService::NullErrorReason
858
- class NullError < ApiError
859
- attr_accessor :fieldPath
860
- attr_accessor :trigger
861
- attr_accessor :errorString
862
- attr_accessor :apiError_Type
863
- attr_accessor :reason
864
-
865
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
866
- @fieldPath = fieldPath
867
- @trigger = trigger
868
- @errorString = errorString
869
- @apiError_Type = apiError_Type
870
- @reason = reason
1104
+ # SoapHeader
1105
+ # - authToken - SOAP::SOAPString
1106
+ # - clientCustomerId - SOAP::SOAPString
1107
+ # - clientEmail - SOAP::SOAPString
1108
+ # - developerToken - SOAP::SOAPString
1109
+ # - userAgent - SOAP::SOAPString
1110
+ # - validateOnly - SOAP::SOAPBoolean
1111
+ # - partialFailure - SOAP::SOAPBoolean
1112
+ class SoapHeader
1113
+ attr_accessor :authToken
1114
+ attr_accessor :clientCustomerId
1115
+ attr_accessor :clientEmail
1116
+ attr_accessor :developerToken
1117
+ attr_accessor :userAgent
1118
+ attr_accessor :validateOnly
1119
+ attr_accessor :partialFailure
1120
+
1121
+ def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
1122
+ @authToken = authToken
1123
+ @clientCustomerId = clientCustomerId
1124
+ @clientEmail = clientEmail
1125
+ @developerToken = developerToken
1126
+ @userAgent = userAgent
1127
+ @validateOnly = validateOnly
1128
+ @partialFailure = partialFailure
871
1129
  end
872
1130
  end
873
1131
 
874
- # QuotaCheckError
875
- # - fieldPath - SOAP::SOAPString
876
- # - trigger - SOAP::SOAPString
877
- # - errorString - SOAP::SOAPString
878
- # - apiError_Type - SOAP::SOAPString
879
- # - reason - AdwordsApi::V201008::TargetingIdeaService::QuotaCheckErrorReason
880
- class QuotaCheckError < ApiError
881
- attr_accessor :fieldPath
882
- attr_accessor :trigger
883
- attr_accessor :errorString
884
- attr_accessor :apiError_Type
885
- attr_accessor :reason
1132
+ # SoapResponseHeader
1133
+ # - requestId - SOAP::SOAPString
1134
+ # - operations - SOAP::SOAPLong
1135
+ # - responseTime - SOAP::SOAPLong
1136
+ # - units - SOAP::SOAPLong
1137
+ class SoapResponseHeader
1138
+ attr_accessor :requestId
1139
+ attr_accessor :operations
1140
+ attr_accessor :responseTime
1141
+ attr_accessor :units
886
1142
 
887
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
888
- @fieldPath = fieldPath
889
- @trigger = trigger
890
- @errorString = errorString
891
- @apiError_Type = apiError_Type
892
- @reason = reason
1143
+ def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
1144
+ @requestId = requestId
1145
+ @operations = operations
1146
+ @responseTime = responseTime
1147
+ @units = units
893
1148
  end
894
1149
  end
895
1150
 
896
- # RangeError
897
- # - fieldPath - SOAP::SOAPString
898
- # - trigger - SOAP::SOAPString
899
- # - errorString - SOAP::SOAPString
900
- # - apiError_Type - SOAP::SOAPString
901
- # - reason - AdwordsApi::V201008::TargetingIdeaService::RangeErrorReason
902
- class C_RangeError < ApiError
903
- attr_accessor :fieldPath
904
- attr_accessor :trigger
905
- attr_accessor :errorString
906
- attr_accessor :apiError_Type
907
- attr_accessor :reason
1151
+ # Target
1152
+ # abstract
1153
+ # - target_Type - SOAP::SOAPString
1154
+ class Target
1155
+ attr_accessor :target_Type
908
1156
 
909
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
910
- @fieldPath = fieldPath
911
- @trigger = trigger
912
- @errorString = errorString
913
- @apiError_Type = apiError_Type
914
- @reason = reason
1157
+ def initialize(target_Type = nil)
1158
+ @target_Type = target_Type
915
1159
  end
916
1160
  end
917
1161
 
918
- # RateExceededError
919
- # - fieldPath - SOAP::SOAPString
920
- # - trigger - SOAP::SOAPString
921
- # - errorString - SOAP::SOAPString
922
- # - apiError_Type - SOAP::SOAPString
923
- # - reason - AdwordsApi::V201008::TargetingIdeaService::RateExceededErrorReason
924
- # - rateName - SOAP::SOAPString
925
- # - rateScope - SOAP::SOAPString
926
- # - retryAfterSeconds - SOAP::SOAPInt
927
- class RateExceededError < ApiError
928
- attr_accessor :fieldPath
929
- attr_accessor :trigger
930
- attr_accessor :errorString
931
- attr_accessor :apiError_Type
932
- attr_accessor :reason
933
- attr_accessor :rateName
934
- attr_accessor :rateScope
935
- attr_accessor :retryAfterSeconds
1162
+ # AdScheduleTarget
1163
+ # - target_Type - SOAP::SOAPString
1164
+ # - dayOfWeek - AdwordsApi::V201008::TargetingIdeaService::DayOfWeek
1165
+ # - startHour - SOAP::SOAPInt
1166
+ # - startMinute - AdwordsApi::V201008::TargetingIdeaService::MinuteOfHour
1167
+ # - endHour - SOAP::SOAPInt
1168
+ # - endMinute - AdwordsApi::V201008::TargetingIdeaService::MinuteOfHour
1169
+ # - bidMultiplier - SOAP::SOAPDouble
1170
+ class AdScheduleTarget < Target
1171
+ attr_accessor :target_Type
1172
+ attr_accessor :dayOfWeek
1173
+ attr_accessor :startHour
1174
+ attr_accessor :startMinute
1175
+ attr_accessor :endHour
1176
+ attr_accessor :endMinute
1177
+ attr_accessor :bidMultiplier
936
1178
 
937
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
938
- @fieldPath = fieldPath
939
- @trigger = trigger
940
- @errorString = errorString
941
- @apiError_Type = apiError_Type
942
- @reason = reason
943
- @rateName = rateName
944
- @rateScope = rateScope
945
- @retryAfterSeconds = retryAfterSeconds
1179
+ def initialize(target_Type = nil, dayOfWeek = nil, startHour = nil, startMinute = nil, endHour = nil, endMinute = nil, bidMultiplier = nil)
1180
+ @target_Type = target_Type
1181
+ @dayOfWeek = dayOfWeek
1182
+ @startHour = startHour
1183
+ @startMinute = startMinute
1184
+ @endHour = endHour
1185
+ @endMinute = endMinute
1186
+ @bidMultiplier = bidMultiplier
946
1187
  end
947
1188
  end
948
1189
 
949
- # ReadOnlyError
950
- # - fieldPath - SOAP::SOAPString
951
- # - trigger - SOAP::SOAPString
952
- # - errorString - SOAP::SOAPString
953
- # - apiError_Type - SOAP::SOAPString
954
- # - reason - AdwordsApi::V201008::TargetingIdeaService::ReadOnlyErrorReason
955
- class ReadOnlyError < ApiError
956
- attr_accessor :fieldPath
957
- attr_accessor :trigger
958
- attr_accessor :errorString
959
- attr_accessor :apiError_Type
960
- attr_accessor :reason
1190
+ # DemographicTarget
1191
+ # abstract
1192
+ # - target_Type - SOAP::SOAPString
1193
+ # - bidModifier - SOAP::SOAPInt
1194
+ class DemographicTarget < Target
1195
+ attr_accessor :target_Type
1196
+ attr_accessor :bidModifier
961
1197
 
962
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
963
- @fieldPath = fieldPath
964
- @trigger = trigger
965
- @errorString = errorString
966
- @apiError_Type = apiError_Type
967
- @reason = reason
1198
+ def initialize(target_Type = nil, bidModifier = nil)
1199
+ @target_Type = target_Type
1200
+ @bidModifier = bidModifier
968
1201
  end
969
1202
  end
970
1203
 
971
- # RegionCodeError
972
- # - fieldPath - SOAP::SOAPString
973
- # - trigger - SOAP::SOAPString
974
- # - errorString - SOAP::SOAPString
975
- # - apiError_Type - SOAP::SOAPString
976
- # - reason - AdwordsApi::V201008::TargetingIdeaService::RegionCodeErrorReason
977
- class RegionCodeError < ApiError
978
- attr_accessor :fieldPath
979
- attr_accessor :trigger
980
- attr_accessor :errorString
981
- attr_accessor :apiError_Type
982
- attr_accessor :reason
1204
+ # AgeTarget
1205
+ # - target_Type - SOAP::SOAPString
1206
+ # - bidModifier - SOAP::SOAPInt
1207
+ # - age - AdwordsApi::V201008::TargetingIdeaService::AgeTargetAge
1208
+ class AgeTarget < DemographicTarget
1209
+ attr_accessor :target_Type
1210
+ attr_accessor :bidModifier
1211
+ attr_accessor :age
983
1212
 
984
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
985
- @fieldPath = fieldPath
986
- @trigger = trigger
987
- @errorString = errorString
988
- @apiError_Type = apiError_Type
989
- @reason = reason
1213
+ def initialize(target_Type = nil, bidModifier = nil, age = nil)
1214
+ @target_Type = target_Type
1215
+ @bidModifier = bidModifier
1216
+ @age = age
990
1217
  end
991
1218
  end
992
1219
 
993
- # RequestError
994
- # - fieldPath - SOAP::SOAPString
995
- # - trigger - SOAP::SOAPString
996
- # - errorString - SOAP::SOAPString
997
- # - apiError_Type - SOAP::SOAPString
998
- # - reason - AdwordsApi::V201008::TargetingIdeaService::RequestErrorReason
999
- class RequestError < ApiError
1000
- attr_accessor :fieldPath
1001
- attr_accessor :trigger
1002
- attr_accessor :errorString
1003
- attr_accessor :apiError_Type
1004
- attr_accessor :reason
1220
+ # GenderTarget
1221
+ # - target_Type - SOAP::SOAPString
1222
+ # - bidModifier - SOAP::SOAPInt
1223
+ # - gender - AdwordsApi::V201008::TargetingIdeaService::GenderTargetGender
1224
+ class GenderTarget < DemographicTarget
1225
+ attr_accessor :target_Type
1226
+ attr_accessor :bidModifier
1227
+ attr_accessor :gender
1005
1228
 
1006
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1007
- @fieldPath = fieldPath
1008
- @trigger = trigger
1009
- @errorString = errorString
1010
- @apiError_Type = apiError_Type
1011
- @reason = reason
1229
+ def initialize(target_Type = nil, bidModifier = nil, gender = nil)
1230
+ @target_Type = target_Type
1231
+ @bidModifier = bidModifier
1232
+ @gender = gender
1012
1233
  end
1013
1234
  end
1014
1235
 
1015
- # RequiredError
1016
- # - fieldPath - SOAP::SOAPString
1017
- # - trigger - SOAP::SOAPString
1018
- # - errorString - SOAP::SOAPString
1019
- # - apiError_Type - SOAP::SOAPString
1020
- # - reason - AdwordsApi::V201008::TargetingIdeaService::RequiredErrorReason
1021
- class RequiredError < ApiError
1022
- attr_accessor :fieldPath
1023
- attr_accessor :trigger
1024
- attr_accessor :errorString
1025
- attr_accessor :apiError_Type
1026
- attr_accessor :reason
1236
+ # GeoTarget
1237
+ # abstract
1238
+ # - target_Type - SOAP::SOAPString
1239
+ # - excluded - SOAP::SOAPBoolean
1240
+ class GeoTarget < Target
1241
+ attr_accessor :target_Type
1242
+ attr_accessor :excluded
1027
1243
 
1028
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1029
- @fieldPath = fieldPath
1030
- @trigger = trigger
1031
- @errorString = errorString
1032
- @apiError_Type = apiError_Type
1033
- @reason = reason
1244
+ def initialize(target_Type = nil, excluded = nil)
1245
+ @target_Type = target_Type
1246
+ @excluded = excluded
1034
1247
  end
1035
1248
  end
1036
1249
 
1037
- # SizeLimitError
1038
- # - fieldPath - SOAP::SOAPString
1039
- # - trigger - SOAP::SOAPString
1040
- # - errorString - SOAP::SOAPString
1041
- # - apiError_Type - SOAP::SOAPString
1042
- # - reason - AdwordsApi::V201008::TargetingIdeaService::SizeLimitErrorReason
1043
- class SizeLimitError < ApiError
1044
- attr_accessor :fieldPath
1045
- attr_accessor :trigger
1046
- attr_accessor :errorString
1047
- attr_accessor :apiError_Type
1048
- attr_accessor :reason
1250
+ # CityTarget
1251
+ # - target_Type - SOAP::SOAPString
1252
+ # - excluded - SOAP::SOAPBoolean
1253
+ # - cityName - SOAP::SOAPString
1254
+ # - provinceCode - SOAP::SOAPString
1255
+ # - countryCode - SOAP::SOAPString
1256
+ class CityTarget < GeoTarget
1257
+ attr_accessor :target_Type
1258
+ attr_accessor :excluded
1259
+ attr_accessor :cityName
1260
+ attr_accessor :provinceCode
1261
+ attr_accessor :countryCode
1049
1262
 
1050
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1051
- @fieldPath = fieldPath
1052
- @trigger = trigger
1053
- @errorString = errorString
1054
- @apiError_Type = apiError_Type
1055
- @reason = reason
1263
+ def initialize(target_Type = nil, excluded = nil, cityName = nil, provinceCode = nil, countryCode = nil)
1264
+ @target_Type = target_Type
1265
+ @excluded = excluded
1266
+ @cityName = cityName
1267
+ @provinceCode = provinceCode
1268
+ @countryCode = countryCode
1056
1269
  end
1057
1270
  end
1058
1271
 
1059
- # StatsQueryError
1060
- # - fieldPath - SOAP::SOAPString
1061
- # - trigger - SOAP::SOAPString
1062
- # - errorString - SOAP::SOAPString
1063
- # - apiError_Type - SOAP::SOAPString
1064
- # - reason - AdwordsApi::V201008::TargetingIdeaService::StatsQueryErrorReason
1065
- class StatsQueryError < ApiError
1066
- attr_accessor :fieldPath
1067
- attr_accessor :trigger
1068
- attr_accessor :errorString
1069
- attr_accessor :apiError_Type
1070
- attr_accessor :reason
1272
+ # CountryTarget
1273
+ # - target_Type - SOAP::SOAPString
1274
+ # - excluded - SOAP::SOAPBoolean
1275
+ # - countryCode - SOAP::SOAPString
1276
+ class CountryTarget < GeoTarget
1277
+ attr_accessor :target_Type
1278
+ attr_accessor :excluded
1279
+ attr_accessor :countryCode
1071
1280
 
1072
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1073
- @fieldPath = fieldPath
1074
- @trigger = trigger
1075
- @errorString = errorString
1076
- @apiError_Type = apiError_Type
1077
- @reason = reason
1281
+ def initialize(target_Type = nil, excluded = nil, countryCode = nil)
1282
+ @target_Type = target_Type
1283
+ @excluded = excluded
1284
+ @countryCode = countryCode
1078
1285
  end
1079
1286
  end
1080
1287
 
1081
- # StringLengthError
1082
- # - fieldPath - SOAP::SOAPString
1083
- # - trigger - SOAP::SOAPString
1084
- # - errorString - SOAP::SOAPString
1085
- # - apiError_Type - SOAP::SOAPString
1086
- # - reason - AdwordsApi::V201008::TargetingIdeaService::StringLengthErrorReason
1087
- class StringLengthError < ApiError
1088
- attr_accessor :fieldPath
1089
- attr_accessor :trigger
1090
- attr_accessor :errorString
1091
- attr_accessor :apiError_Type
1092
- attr_accessor :reason
1288
+ # MetroTarget
1289
+ # - target_Type - SOAP::SOAPString
1290
+ # - excluded - SOAP::SOAPBoolean
1291
+ # - metroCode - SOAP::SOAPString
1292
+ class MetroTarget < GeoTarget
1293
+ attr_accessor :target_Type
1294
+ attr_accessor :excluded
1295
+ attr_accessor :metroCode
1093
1296
 
1094
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1095
- @fieldPath = fieldPath
1096
- @trigger = trigger
1097
- @errorString = errorString
1098
- @apiError_Type = apiError_Type
1099
- @reason = reason
1297
+ def initialize(target_Type = nil, excluded = nil, metroCode = nil)
1298
+ @target_Type = target_Type
1299
+ @excluded = excluded
1300
+ @metroCode = metroCode
1100
1301
  end
1101
1302
  end
1102
1303
 
1103
- # TargetError
1104
- # - fieldPath - SOAP::SOAPString
1105
- # - trigger - SOAP::SOAPString
1106
- # - errorString - SOAP::SOAPString
1107
- # - apiError_Type - SOAP::SOAPString
1108
- # - reason - AdwordsApi::V201008::TargetingIdeaService::TargetErrorReason
1109
- class TargetError < ApiError
1110
- attr_accessor :fieldPath
1111
- attr_accessor :trigger
1112
- attr_accessor :errorString
1113
- attr_accessor :apiError_Type
1114
- attr_accessor :reason
1304
+ # PolygonTarget
1305
+ # - target_Type - SOAP::SOAPString
1306
+ # - excluded - SOAP::SOAPBoolean
1307
+ # - vertices - AdwordsApi::V201008::TargetingIdeaService::GeoPoint
1308
+ class PolygonTarget < GeoTarget
1309
+ attr_accessor :target_Type
1310
+ attr_accessor :excluded
1311
+ attr_accessor :vertices
1115
1312
 
1116
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1117
- @fieldPath = fieldPath
1118
- @trigger = trigger
1119
- @errorString = errorString
1120
- @apiError_Type = apiError_Type
1121
- @reason = reason
1313
+ def initialize(target_Type = nil, excluded = nil, vertices = [])
1314
+ @target_Type = target_Type
1315
+ @excluded = excluded
1316
+ @vertices = vertices
1122
1317
  end
1123
1318
  end
1124
1319
 
1125
- # DatabaseError
1126
- # - fieldPath - SOAP::SOAPString
1127
- # - trigger - SOAP::SOAPString
1128
- # - errorString - SOAP::SOAPString
1129
- # - apiError_Type - SOAP::SOAPString
1130
- # - reason - AdwordsApi::V201008::TargetingIdeaService::DatabaseErrorReason
1131
- class DatabaseError < ApiError
1132
- attr_accessor :fieldPath
1133
- attr_accessor :trigger
1134
- attr_accessor :errorString
1135
- attr_accessor :apiError_Type
1136
- attr_accessor :reason
1320
+ # ProvinceTarget
1321
+ # - target_Type - SOAP::SOAPString
1322
+ # - excluded - SOAP::SOAPBoolean
1323
+ # - provinceCode - SOAP::SOAPString
1324
+ class ProvinceTarget < GeoTarget
1325
+ attr_accessor :target_Type
1326
+ attr_accessor :excluded
1327
+ attr_accessor :provinceCode
1137
1328
 
1138
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1139
- @fieldPath = fieldPath
1140
- @trigger = trigger
1141
- @errorString = errorString
1142
- @apiError_Type = apiError_Type
1143
- @reason = reason
1329
+ def initialize(target_Type = nil, excluded = nil, provinceCode = nil)
1330
+ @target_Type = target_Type
1331
+ @excluded = excluded
1332
+ @provinceCode = provinceCode
1144
1333
  end
1145
1334
  end
1146
1335
 
1147
- # PolicyViolationError
1148
- # - fieldPath - SOAP::SOAPString
1149
- # - trigger - SOAP::SOAPString
1150
- # - errorString - SOAP::SOAPString
1151
- # - apiError_Type - SOAP::SOAPString
1152
- # - key - AdwordsApi::V201008::TargetingIdeaService::PolicyViolationKey
1153
- # - externalPolicyName - SOAP::SOAPString
1154
- # - externalPolicyUrl - SOAP::SOAPString
1155
- # - externalPolicyDescription - SOAP::SOAPString
1156
- # - isExemptable - SOAP::SOAPBoolean
1157
- # - violatingParts - AdwordsApi::V201008::TargetingIdeaService::PolicyViolationErrorPart
1158
- class PolicyViolationError < ApiError
1159
- attr_accessor :fieldPath
1160
- attr_accessor :trigger
1161
- attr_accessor :errorString
1162
- attr_accessor :apiError_Type
1163
- attr_accessor :key
1164
- attr_accessor :externalPolicyName
1165
- attr_accessor :externalPolicyUrl
1166
- attr_accessor :externalPolicyDescription
1167
- attr_accessor :isExemptable
1168
- attr_accessor :violatingParts
1336
+ # ProximityTarget
1337
+ # - target_Type - SOAP::SOAPString
1338
+ # - excluded - SOAP::SOAPBoolean
1339
+ # - geoPoint - AdwordsApi::V201008::TargetingIdeaService::GeoPoint
1340
+ # - radiusDistanceUnits - AdwordsApi::V201008::TargetingIdeaService::ProximityTargetDistanceUnits
1341
+ # - radiusInUnits - SOAP::SOAPDouble
1342
+ # - address - AdwordsApi::V201008::TargetingIdeaService::Address
1343
+ # - allowServiceOfAddress - SOAP::SOAPBoolean
1344
+ class ProximityTarget < GeoTarget
1345
+ attr_accessor :target_Type
1346
+ attr_accessor :excluded
1347
+ attr_accessor :geoPoint
1348
+ attr_accessor :radiusDistanceUnits
1349
+ attr_accessor :radiusInUnits
1350
+ attr_accessor :address
1351
+ attr_accessor :allowServiceOfAddress
1169
1352
 
1170
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
1171
- @fieldPath = fieldPath
1172
- @trigger = trigger
1173
- @errorString = errorString
1174
- @apiError_Type = apiError_Type
1175
- @key = key
1176
- @externalPolicyName = externalPolicyName
1177
- @externalPolicyUrl = externalPolicyUrl
1178
- @externalPolicyDescription = externalPolicyDescription
1179
- @isExemptable = isExemptable
1180
- @violatingParts = violatingParts
1353
+ def initialize(target_Type = nil, excluded = nil, geoPoint = nil, radiusDistanceUnits = nil, radiusInUnits = nil, address = nil, allowServiceOfAddress = nil)
1354
+ @target_Type = target_Type
1355
+ @excluded = excluded
1356
+ @geoPoint = geoPoint
1357
+ @radiusDistanceUnits = radiusDistanceUnits
1358
+ @radiusInUnits = radiusInUnits
1359
+ @address = address
1360
+ @allowServiceOfAddress = allowServiceOfAddress
1181
1361
  end
1182
1362
  end
1183
1363
 
1184
- # CriterionPolicyError
1185
- # - fieldPath - SOAP::SOAPString
1186
- # - trigger - SOAP::SOAPString
1187
- # - errorString - SOAP::SOAPString
1188
- # - apiError_Type - SOAP::SOAPString
1189
- # - key - AdwordsApi::V201008::TargetingIdeaService::PolicyViolationKey
1190
- # - externalPolicyName - SOAP::SOAPString
1191
- # - externalPolicyUrl - SOAP::SOAPString
1192
- # - externalPolicyDescription - SOAP::SOAPString
1193
- # - isExemptable - SOAP::SOAPBoolean
1194
- # - violatingParts - AdwordsApi::V201008::TargetingIdeaService::PolicyViolationErrorPart
1195
- class CriterionPolicyError < PolicyViolationError
1196
- attr_accessor :fieldPath
1197
- attr_accessor :trigger
1198
- attr_accessor :errorString
1199
- attr_accessor :apiError_Type
1200
- attr_accessor :key
1201
- attr_accessor :externalPolicyName
1202
- attr_accessor :externalPolicyUrl
1203
- attr_accessor :externalPolicyDescription
1204
- attr_accessor :isExemptable
1205
- attr_accessor :violatingParts
1364
+ # LanguageTarget
1365
+ # - target_Type - SOAP::SOAPString
1366
+ # - languageCode - SOAP::SOAPString
1367
+ class LanguageTarget < Target
1368
+ attr_accessor :target_Type
1369
+ attr_accessor :languageCode
1206
1370
 
1207
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, key = nil, externalPolicyName = nil, externalPolicyUrl = nil, externalPolicyDescription = nil, isExemptable = nil, violatingParts = [])
1208
- @fieldPath = fieldPath
1209
- @trigger = trigger
1210
- @errorString = errorString
1211
- @apiError_Type = apiError_Type
1212
- @key = key
1213
- @externalPolicyName = externalPolicyName
1214
- @externalPolicyUrl = externalPolicyUrl
1215
- @externalPolicyDescription = externalPolicyDescription
1216
- @isExemptable = isExemptable
1217
- @violatingParts = violatingParts
1371
+ def initialize(target_Type = nil, languageCode = nil)
1372
+ @target_Type = target_Type
1373
+ @languageCode = languageCode
1218
1374
  end
1219
1375
  end
1220
1376
 
1221
- # CollectionSizeError
1222
- # - fieldPath - SOAP::SOAPString
1223
- # - trigger - SOAP::SOAPString
1224
- # - errorString - SOAP::SOAPString
1225
- # - apiError_Type - SOAP::SOAPString
1226
- # - reason - AdwordsApi::V201008::TargetingIdeaService::CollectionSizeErrorReason
1227
- class CollectionSizeError < ApiError
1228
- attr_accessor :fieldPath
1229
- attr_accessor :trigger
1230
- attr_accessor :errorString
1231
- attr_accessor :apiError_Type
1232
- attr_accessor :reason
1233
-
1234
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1235
- @fieldPath = fieldPath
1236
- @trigger = trigger
1237
- @errorString = errorString
1238
- @apiError_Type = apiError_Type
1239
- @reason = reason
1377
+ # MobileTarget
1378
+ # abstract
1379
+ # - target_Type - SOAP::SOAPString
1380
+ class MobileTarget < Target
1381
+ attr_accessor :target_Type
1382
+
1383
+ def initialize(target_Type = nil)
1384
+ @target_Type = target_Type
1240
1385
  end
1241
1386
  end
1242
1387
 
1243
- # MatchesRegexError
1244
- # - fieldPath - SOAP::SOAPString
1245
- # - trigger - SOAP::SOAPString
1246
- # - errorString - SOAP::SOAPString
1247
- # - apiError_Type - SOAP::SOAPString
1248
- # - reason - AdwordsApi::V201008::TargetingIdeaService::MatchesRegexErrorReason
1249
- class MatchesRegexError < ApiError
1250
- attr_accessor :fieldPath
1251
- attr_accessor :trigger
1252
- attr_accessor :errorString
1253
- attr_accessor :apiError_Type
1254
- attr_accessor :reason
1388
+ # MobileCarrierTarget
1389
+ # - target_Type - SOAP::SOAPString
1390
+ # - carrierName - SOAP::SOAPString
1391
+ # - countryCode - SOAP::SOAPString
1392
+ class MobileCarrierTarget < MobileTarget
1393
+ attr_accessor :target_Type
1394
+ attr_accessor :carrierName
1395
+ attr_accessor :countryCode
1255
1396
 
1256
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1257
- @fieldPath = fieldPath
1258
- @trigger = trigger
1259
- @errorString = errorString
1260
- @apiError_Type = apiError_Type
1261
- @reason = reason
1397
+ def initialize(target_Type = nil, carrierName = nil, countryCode = nil)
1398
+ @target_Type = target_Type
1399
+ @carrierName = carrierName
1400
+ @countryCode = countryCode
1262
1401
  end
1263
1402
  end
1264
1403
 
1265
- # TargetingIdeaError
1266
- # - fieldPath - SOAP::SOAPString
1267
- # - trigger - SOAP::SOAPString
1268
- # - errorString - SOAP::SOAPString
1269
- # - apiError_Type - SOAP::SOAPString
1270
- # - reason - AdwordsApi::V201008::TargetingIdeaService::TargetingIdeaErrorReason
1271
- class TargetingIdeaError < ApiError
1272
- attr_accessor :fieldPath
1273
- attr_accessor :trigger
1274
- attr_accessor :errorString
1275
- attr_accessor :apiError_Type
1276
- attr_accessor :reason
1404
+ # MobilePlatformTarget
1405
+ # - target_Type - SOAP::SOAPString
1406
+ # - platformName - SOAP::SOAPString
1407
+ class MobilePlatformTarget < MobileTarget
1408
+ attr_accessor :target_Type
1409
+ attr_accessor :platformName
1277
1410
 
1278
- def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
1279
- @fieldPath = fieldPath
1280
- @trigger = trigger
1281
- @errorString = errorString
1282
- @apiError_Type = apiError_Type
1283
- @reason = reason
1411
+ def initialize(target_Type = nil, platformName = nil)
1412
+ @target_Type = target_Type
1413
+ @platformName = platformName
1284
1414
  end
1285
1415
  end
1286
1416
 
1287
- # ApplicationException
1288
- # - message - SOAP::SOAPString
1289
- # - applicationException_Type - SOAP::SOAPString
1290
- class ApplicationException
1291
- attr_accessor :message
1292
- attr_accessor :applicationException_Type
1417
+ # NetworkTarget
1418
+ # - target_Type - SOAP::SOAPString
1419
+ # - networkCoverageType - AdwordsApi::V201008::TargetingIdeaService::NetworkCoverageType
1420
+ class NetworkTarget < Target
1421
+ attr_accessor :target_Type
1422
+ attr_accessor :networkCoverageType
1293
1423
 
1294
- def initialize(message = nil, applicationException_Type = nil)
1295
- @message = message
1296
- @applicationException_Type = applicationException_Type
1424
+ def initialize(target_Type = nil, networkCoverageType = nil)
1425
+ @target_Type = target_Type
1426
+ @networkCoverageType = networkCoverageType
1297
1427
  end
1298
1428
  end
1299
1429
 
1300
- # ApiException
1301
- # - message - SOAP::SOAPString
1302
- # - applicationException_Type - SOAP::SOAPString
1303
- # - errors - AdwordsApi::V201008::TargetingIdeaService::ApiError
1304
- class ApiException < ApplicationException
1305
- attr_accessor :message
1306
- attr_accessor :applicationException_Type
1307
- attr_accessor :errors
1430
+ # PlatformTarget
1431
+ # - target_Type - SOAP::SOAPString
1432
+ # - platformType - AdwordsApi::V201008::TargetingIdeaService::PlatformType
1433
+ class PlatformTarget < Target
1434
+ attr_accessor :target_Type
1435
+ attr_accessor :platformType
1308
1436
 
1309
- def initialize(message = nil, applicationException_Type = nil, errors = [])
1310
- @message = message
1311
- @applicationException_Type = applicationException_Type
1312
- @errors = errors
1437
+ def initialize(target_Type = nil, platformType = nil)
1438
+ @target_Type = target_Type
1439
+ @platformType = platformType
1313
1440
  end
1314
1441
  end
1315
1442
 
1316
- # Criterion
1317
- # - id - SOAP::SOAPLong
1318
- # - criterion_Type - SOAP::SOAPString
1319
- class Criterion
1320
- attr_accessor :id
1321
- attr_accessor :criterion_Type
1443
+ # AdFormatSpec
1444
+ # - format - AdwordsApi::V201008::TargetingIdeaService::SiteConstantsAdFormat
1445
+ class AdFormatSpec
1446
+ attr_accessor :format
1322
1447
 
1323
- def initialize(id = nil, criterion_Type = nil)
1324
- @id = id
1325
- @criterion_Type = criterion_Type
1448
+ def initialize(format = nil)
1449
+ @format = format
1326
1450
  end
1327
1451
  end
1328
1452
 
1329
- # Keyword
1330
- # - id - SOAP::SOAPLong
1331
- # - criterion_Type - SOAP::SOAPString
1332
- # - text - SOAP::SOAPString
1333
- # - matchType - AdwordsApi::V201008::TargetingIdeaService::KeywordMatchType
1334
- class Keyword < Criterion
1335
- attr_accessor :id
1336
- attr_accessor :criterion_Type
1337
- attr_accessor :text
1338
- attr_accessor :matchType
1453
+ # Attribute
1454
+ # abstract
1455
+ # - attribute_Type - SOAP::SOAPString
1456
+ class Attribute
1457
+ attr_accessor :attribute_Type
1339
1458
 
1340
- def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
1341
- @id = id
1342
- @criterion_Type = criterion_Type
1343
- @text = text
1344
- @matchType = matchType
1459
+ def initialize(attribute_Type = nil)
1460
+ @attribute_Type = attribute_Type
1345
1461
  end
1346
1462
  end
1347
1463
 
1348
- # Placement
1349
- # - id - SOAP::SOAPLong
1350
- # - criterion_Type - SOAP::SOAPString
1351
- # - url - SOAP::SOAPString
1352
- class Placement < Criterion
1353
- attr_accessor :id
1354
- attr_accessor :criterion_Type
1355
- attr_accessor :url
1464
+ # AdFormatSpecListAttribute
1465
+ # - attribute_Type - SOAP::SOAPString
1466
+ # - value - AdwordsApi::V201008::TargetingIdeaService::AdFormatSpec
1467
+ class AdFormatSpecListAttribute < Attribute
1468
+ attr_accessor :attribute_Type
1469
+ attr_accessor :value
1356
1470
 
1357
- def initialize(id = nil, criterion_Type = nil, url = nil)
1358
- @id = id
1359
- @criterion_Type = criterion_Type
1360
- @url = url
1471
+ def initialize(attribute_Type = nil, value = [])
1472
+ @attribute_Type = attribute_Type
1473
+ @value = value
1361
1474
  end
1362
1475
  end
1363
1476
 
1364
- # CriterionUserInterest
1365
- # - id - SOAP::SOAPLong
1366
- # - criterion_Type - SOAP::SOAPString
1367
- # - userInterestId - SOAP::SOAPLong
1368
- # - userInterestName - SOAP::SOAPString
1369
- class CriterionUserInterest < Criterion
1370
- attr_accessor :id
1371
- attr_accessor :criterion_Type
1372
- attr_accessor :userInterestId
1373
- attr_accessor :userInterestName
1477
+ # BooleanAttribute
1478
+ # - attribute_Type - SOAP::SOAPString
1479
+ # - value - SOAP::SOAPBoolean
1480
+ class BooleanAttribute < Attribute
1481
+ attr_accessor :attribute_Type
1482
+ attr_accessor :value
1374
1483
 
1375
- def initialize(id = nil, criterion_Type = nil, userInterestId = nil, userInterestName = nil)
1376
- @id = id
1377
- @criterion_Type = criterion_Type
1378
- @userInterestId = userInterestId
1379
- @userInterestName = userInterestName
1484
+ def initialize(attribute_Type = nil, value = nil)
1485
+ @attribute_Type = attribute_Type
1486
+ @value = value
1380
1487
  end
1381
1488
  end
1382
1489
 
1383
- # CriterionUserList
1384
- # - id - SOAP::SOAPLong
1385
- # - criterion_Type - SOAP::SOAPString
1386
- # - userListId - SOAP::SOAPLong
1387
- # - userListName - SOAP::SOAPString
1388
- # - userListMembershipStatus - AdwordsApi::V201008::TargetingIdeaService::CriterionUserListMembershipStatus
1389
- # - userListSize - SOAP::SOAPLong
1390
- class CriterionUserList < Criterion
1391
- attr_accessor :id
1392
- attr_accessor :criterion_Type
1393
- attr_accessor :userListId
1394
- attr_accessor :userListName
1395
- attr_accessor :userListMembershipStatus
1396
- attr_accessor :userListSize
1490
+ # DoubleAttribute
1491
+ # - attribute_Type - SOAP::SOAPString
1492
+ # - value - SOAP::SOAPDouble
1493
+ class DoubleAttribute < Attribute
1494
+ attr_accessor :attribute_Type
1495
+ attr_accessor :value
1397
1496
 
1398
- def initialize(id = nil, criterion_Type = nil, userListId = nil, userListName = nil, userListMembershipStatus = nil, userListSize = nil)
1399
- @id = id
1400
- @criterion_Type = criterion_Type
1401
- @userListId = userListId
1402
- @userListName = userListName
1403
- @userListMembershipStatus = userListMembershipStatus
1404
- @userListSize = userListSize
1497
+ def initialize(attribute_Type = nil, value = nil)
1498
+ @attribute_Type = attribute_Type
1499
+ @value = value
1405
1500
  end
1406
1501
  end
1407
1502
 
1408
- # Vertical
1409
- # - id - SOAP::SOAPLong
1410
- # - criterion_Type - SOAP::SOAPString
1411
- # - path - SOAP::SOAPString
1412
- class Vertical < Criterion
1413
- attr_accessor :id
1414
- attr_accessor :criterion_Type
1415
- attr_accessor :path
1503
+ # IdeaTypeAttribute
1504
+ # - attribute_Type - SOAP::SOAPString
1505
+ # - value - AdwordsApi::V201008::TargetingIdeaService::IdeaType
1506
+ class IdeaTypeAttribute < Attribute
1507
+ attr_accessor :attribute_Type
1508
+ attr_accessor :value
1416
1509
 
1417
- def initialize(id = nil, criterion_Type = nil, path = [])
1418
- @id = id
1419
- @criterion_Type = criterion_Type
1420
- @path = path
1510
+ def initialize(attribute_Type = nil, value = nil)
1511
+ @attribute_Type = attribute_Type
1512
+ @value = value
1421
1513
  end
1422
1514
  end
1423
1515
 
1424
- # Product
1425
- # - id - SOAP::SOAPLong
1426
- # - criterion_Type - SOAP::SOAPString
1427
- # - conditions - AdwordsApi::V201008::TargetingIdeaService::ProductCondition
1428
- # - text - SOAP::SOAPString
1429
- class Product < Criterion
1430
- attr_accessor :id
1431
- attr_accessor :criterion_Type
1432
- attr_accessor :conditions
1433
- attr_accessor :text
1434
-
1435
- def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
1436
- @id = id
1437
- @criterion_Type = criterion_Type
1438
- @conditions = conditions
1439
- @text = text
1516
+ # InStreamAdInfoAttribute
1517
+ # - attribute_Type - SOAP::SOAPString
1518
+ # - value - AdwordsApi::V201008::TargetingIdeaService::InStreamAdInfo
1519
+ class InStreamAdInfoAttribute < Attribute
1520
+ attr_accessor :attribute_Type
1521
+ attr_accessor :value
1522
+
1523
+ def initialize(attribute_Type = nil, value = nil)
1524
+ @attribute_Type = attribute_Type
1525
+ @value = value
1440
1526
  end
1441
1527
  end
1442
1528
 
1443
- # AdFormatSpec
1444
- # - format - AdwordsApi::V201008::TargetingIdeaService::SiteConstantsAdFormat
1445
- class AdFormatSpec
1446
- attr_accessor :format
1529
+ # IntegerAttribute
1530
+ # - attribute_Type - SOAP::SOAPString
1531
+ # - value - SOAP::SOAPInt
1532
+ class IntegerAttribute < Attribute
1533
+ attr_accessor :attribute_Type
1534
+ attr_accessor :value
1447
1535
 
1448
- def initialize(format = nil)
1449
- @format = format
1536
+ def initialize(attribute_Type = nil, value = nil)
1537
+ @attribute_Type = attribute_Type
1538
+ @value = value
1450
1539
  end
1451
1540
  end
1452
1541
 
1453
- # DoubleComparisonOperation
1454
- # - minimum - SOAP::SOAPDouble
1455
- # - maximum - SOAP::SOAPDouble
1456
- class DoubleComparisonOperation
1457
- attr_accessor :minimum
1458
- attr_accessor :maximum
1542
+ # IntegerSetAttribute
1543
+ # - attribute_Type - SOAP::SOAPString
1544
+ # - value - SOAP::SOAPInt
1545
+ class IntegerSetAttribute < Attribute
1546
+ attr_accessor :attribute_Type
1547
+ attr_accessor :value
1459
1548
 
1460
- def initialize(minimum = nil, maximum = nil)
1461
- @minimum = minimum
1462
- @maximum = maximum
1549
+ def initialize(attribute_Type = nil, value = [])
1550
+ @attribute_Type = attribute_Type
1551
+ @value = value
1463
1552
  end
1464
1553
  end
1465
1554
 
1466
- # InStreamAdInfo
1467
- # - maxAdDuration - SOAP::SOAPInt
1468
- # - minAdDuration - SOAP::SOAPInt
1469
- # - medianAdDuration - SOAP::SOAPInt
1470
- # - preRollPercent - SOAP::SOAPDouble
1471
- # - midRollPercent - SOAP::SOAPDouble
1472
- # - postRollPercent - SOAP::SOAPDouble
1473
- class InStreamAdInfo
1474
- attr_accessor :maxAdDuration
1475
- attr_accessor :minAdDuration
1476
- attr_accessor :medianAdDuration
1477
- attr_accessor :preRollPercent
1478
- attr_accessor :midRollPercent
1479
- attr_accessor :postRollPercent
1555
+ # KeywordAttribute
1556
+ # - attribute_Type - SOAP::SOAPString
1557
+ # - value - AdwordsApi::V201008::TargetingIdeaService::Keyword
1558
+ class KeywordAttribute < Attribute
1559
+ attr_accessor :attribute_Type
1560
+ attr_accessor :value
1480
1561
 
1481
- def initialize(maxAdDuration = nil, minAdDuration = nil, medianAdDuration = nil, preRollPercent = nil, midRollPercent = nil, postRollPercent = nil)
1482
- @maxAdDuration = maxAdDuration
1483
- @minAdDuration = minAdDuration
1484
- @medianAdDuration = medianAdDuration
1485
- @preRollPercent = preRollPercent
1486
- @midRollPercent = midRollPercent
1487
- @postRollPercent = postRollPercent
1562
+ def initialize(attribute_Type = nil, value = nil)
1563
+ @attribute_Type = attribute_Type
1564
+ @value = value
1488
1565
  end
1489
1566
  end
1490
1567
 
1491
- # LongComparisonOperation
1492
- # - minimum - SOAP::SOAPLong
1493
- # - maximum - SOAP::SOAPLong
1494
- class LongComparisonOperation
1495
- attr_accessor :minimum
1496
- attr_accessor :maximum
1568
+ # LongAttribute
1569
+ # - attribute_Type - SOAP::SOAPString
1570
+ # - value - SOAP::SOAPLong
1571
+ class LongAttribute < Attribute
1572
+ attr_accessor :attribute_Type
1573
+ attr_accessor :value
1497
1574
 
1498
- def initialize(minimum = nil, maximum = nil)
1499
- @minimum = minimum
1500
- @maximum = maximum
1575
+ def initialize(attribute_Type = nil, value = nil)
1576
+ @attribute_Type = attribute_Type
1577
+ @value = value
1501
1578
  end
1502
1579
  end
1503
1580
 
1504
- # MonthlySearchVolume
1505
- # - year - SOAP::SOAPInt
1506
- # - month - SOAP::SOAPInt
1507
- # - count - SOAP::SOAPLong
1508
- class MonthlySearchVolume
1509
- attr_accessor :year
1510
- attr_accessor :month
1511
- attr_accessor :count
1581
+ # LongRangeAttribute
1582
+ # - attribute_Type - SOAP::SOAPString
1583
+ # - value - AdwordsApi::V201008::TargetingIdeaService::C_Range
1584
+ class LongRangeAttribute < Attribute
1585
+ attr_accessor :attribute_Type
1586
+ attr_accessor :value
1512
1587
 
1513
- def initialize(year = nil, month = nil, count = nil)
1514
- @year = year
1515
- @month = month
1516
- @count = count
1588
+ def initialize(attribute_Type = nil, value = nil)
1589
+ @attribute_Type = attribute_Type
1590
+ @value = value
1517
1591
  end
1518
1592
  end
1519
1593
 
1520
- # WebpageDescriptor
1521
- # - url - SOAP::SOAPString
1522
- # - title - SOAP::SOAPString
1523
- class WebpageDescriptor
1524
- attr_accessor :url
1525
- attr_accessor :title
1594
+ # MoneyAttribute
1595
+ # - attribute_Type - SOAP::SOAPString
1596
+ # - value - AdwordsApi::V201008::TargetingIdeaService::Money
1597
+ class MoneyAttribute < Attribute
1598
+ attr_accessor :attribute_Type
1599
+ attr_accessor :value
1526
1600
 
1527
- def initialize(url = nil, title = nil)
1528
- @url = url
1529
- @title = title
1601
+ def initialize(attribute_Type = nil, value = nil)
1602
+ @attribute_Type = attribute_Type
1603
+ @value = value
1530
1604
  end
1531
1605
  end
1532
1606
 
1533
- # Range
1534
- # - min - AdwordsApi::V201008::TargetingIdeaService::ComparableValue
1535
- # - max - AdwordsApi::V201008::TargetingIdeaService::ComparableValue
1536
- class C_Range
1537
- attr_accessor :min
1538
- attr_accessor :max
1607
+ # MonthlySearchVolumeAttribute
1608
+ # - attribute_Type - SOAP::SOAPString
1609
+ # - value - AdwordsApi::V201008::TargetingIdeaService::MonthlySearchVolume
1610
+ class MonthlySearchVolumeAttribute < Attribute
1611
+ attr_accessor :attribute_Type
1612
+ attr_accessor :value
1539
1613
 
1540
- def initialize(min = nil, max = nil)
1541
- @min = min
1542
- @max = max
1614
+ def initialize(attribute_Type = nil, value = [])
1615
+ @attribute_Type = attribute_Type
1616
+ @value = value
1543
1617
  end
1544
1618
  end
1545
1619
 
1546
- # SearchParameter
1547
- # abstract
1548
- # - searchParameter_Type - SOAP::SOAPString
1549
- class SearchParameter
1550
- attr_accessor :searchParameter_Type
1620
+ # PlacementAttribute
1621
+ # - attribute_Type - SOAP::SOAPString
1622
+ # - value - AdwordsApi::V201008::TargetingIdeaService::Placement
1623
+ class PlacementAttribute < Attribute
1624
+ attr_accessor :attribute_Type
1625
+ attr_accessor :value
1551
1626
 
1552
- def initialize(searchParameter_Type = nil)
1553
- @searchParameter_Type = searchParameter_Type
1627
+ def initialize(attribute_Type = nil, value = nil)
1628
+ @attribute_Type = attribute_Type
1629
+ @value = value
1554
1630
  end
1555
1631
  end
1556
1632
 
1557
- # AdTypeSearchParameter
1558
- # - searchParameter_Type - SOAP::SOAPString
1559
- # - adTypes - AdwordsApi::V201008::TargetingIdeaService::SiteConstantsAdType
1560
- class AdTypeSearchParameter < SearchParameter
1561
- attr_accessor :searchParameter_Type
1562
- attr_accessor :adTypes
1633
+ # PlacementTypeAttribute
1634
+ # - attribute_Type - SOAP::SOAPString
1635
+ # - value - AdwordsApi::V201008::TargetingIdeaService::SiteConstantsPlacementType
1636
+ class PlacementTypeAttribute < Attribute
1637
+ attr_accessor :attribute_Type
1638
+ attr_accessor :value
1563
1639
 
1564
- def initialize(searchParameter_Type = nil, adTypes = [])
1565
- @searchParameter_Type = searchParameter_Type
1566
- @adTypes = adTypes
1640
+ def initialize(attribute_Type = nil, value = nil)
1641
+ @attribute_Type = attribute_Type
1642
+ @value = value
1567
1643
  end
1568
1644
  end
1569
1645
 
1570
- # CompetitionSearchParameter
1571
- # - searchParameter_Type - SOAP::SOAPString
1572
- # - levels - AdwordsApi::V201008::TargetingIdeaService::CompetitionSearchParameterLevel
1573
- class CompetitionSearchParameter < SearchParameter
1574
- attr_accessor :searchParameter_Type
1575
- attr_accessor :levels
1646
+ # StringAttribute
1647
+ # - attribute_Type - SOAP::SOAPString
1648
+ # - value - SOAP::SOAPString
1649
+ class StringAttribute < Attribute
1650
+ attr_accessor :attribute_Type
1651
+ attr_accessor :value
1576
1652
 
1577
- def initialize(searchParameter_Type = nil, levels = [])
1578
- @searchParameter_Type = searchParameter_Type
1579
- @levels = levels
1653
+ def initialize(attribute_Type = nil, value = nil)
1654
+ @attribute_Type = attribute_Type
1655
+ @value = value
1580
1656
  end
1581
1657
  end
1582
1658
 
1583
- # IdeaTextMatchesSearchParameter
1584
- # - searchParameter_Type - SOAP::SOAPString
1585
- # - included - SOAP::SOAPString
1586
- # - excluded - SOAP::SOAPString
1587
- # - priorityAction - AdwordsApi::V201008::TargetingIdeaService::MatchAction
1588
- class IdeaTextMatchesSearchParameter < SearchParameter
1589
- attr_accessor :searchParameter_Type
1590
- attr_accessor :included
1591
- attr_accessor :excluded
1592
- attr_accessor :priorityAction
1659
+ # WebpageDescriptorAttribute
1660
+ # - attribute_Type - SOAP::SOAPString
1661
+ # - value - AdwordsApi::V201008::TargetingIdeaService::WebpageDescriptor
1662
+ class WebpageDescriptorAttribute < Attribute
1663
+ attr_accessor :attribute_Type
1664
+ attr_accessor :value
1593
1665
 
1594
- def initialize(searchParameter_Type = nil, included = [], excluded = [], priorityAction = nil)
1595
- @searchParameter_Type = searchParameter_Type
1596
- @included = included
1597
- @excluded = excluded
1598
- @priorityAction = priorityAction
1666
+ def initialize(attribute_Type = nil, value = nil)
1667
+ @attribute_Type = attribute_Type
1668
+ @value = value
1599
1669
  end
1600
1670
  end
1601
1671
 
1602
- # IncludeAdultContentSearchParameter
1603
- # - searchParameter_Type - SOAP::SOAPString
1604
- class IncludeAdultContentSearchParameter < SearchParameter
1605
- attr_accessor :searchParameter_Type
1672
+ # DoubleComparisonOperation
1673
+ # - minimum - SOAP::SOAPDouble
1674
+ # - maximum - SOAP::SOAPDouble
1675
+ class DoubleComparisonOperation
1676
+ attr_accessor :minimum
1677
+ attr_accessor :maximum
1606
1678
 
1607
- def initialize(searchParameter_Type = nil)
1608
- @searchParameter_Type = searchParameter_Type
1679
+ def initialize(minimum = nil, maximum = nil)
1680
+ @minimum = minimum
1681
+ @maximum = maximum
1609
1682
  end
1610
1683
  end
1611
1684
 
1612
- # KeywordCategoryIdSearchParameter
1613
- # - searchParameter_Type - SOAP::SOAPString
1614
- # - categoryId - SOAP::SOAPInt
1615
- class KeywordCategoryIdSearchParameter < SearchParameter
1616
- attr_accessor :searchParameter_Type
1617
- attr_accessor :categoryId
1685
+ # InStreamAdInfo
1686
+ # - maxAdDuration - SOAP::SOAPInt
1687
+ # - minAdDuration - SOAP::SOAPInt
1688
+ # - medianAdDuration - SOAP::SOAPInt
1689
+ # - preRollPercent - SOAP::SOAPDouble
1690
+ # - midRollPercent - SOAP::SOAPDouble
1691
+ # - postRollPercent - SOAP::SOAPDouble
1692
+ class InStreamAdInfo
1693
+ attr_accessor :maxAdDuration
1694
+ attr_accessor :minAdDuration
1695
+ attr_accessor :medianAdDuration
1696
+ attr_accessor :preRollPercent
1697
+ attr_accessor :midRollPercent
1698
+ attr_accessor :postRollPercent
1618
1699
 
1619
- def initialize(searchParameter_Type = nil, categoryId = nil)
1620
- @searchParameter_Type = searchParameter_Type
1621
- @categoryId = categoryId
1700
+ def initialize(maxAdDuration = nil, minAdDuration = nil, medianAdDuration = nil, preRollPercent = nil, midRollPercent = nil, postRollPercent = nil)
1701
+ @maxAdDuration = maxAdDuration
1702
+ @minAdDuration = minAdDuration
1703
+ @medianAdDuration = medianAdDuration
1704
+ @preRollPercent = preRollPercent
1705
+ @midRollPercent = midRollPercent
1706
+ @postRollPercent = postRollPercent
1622
1707
  end
1623
1708
  end
1624
1709
 
1625
- # KeywordMatchTypeSearchParameter
1626
- # - searchParameter_Type - SOAP::SOAPString
1627
- # - keywordMatchTypes - AdwordsApi::V201008::TargetingIdeaService::KeywordMatchType
1628
- class KeywordMatchTypeSearchParameter < SearchParameter
1629
- attr_accessor :searchParameter_Type
1630
- attr_accessor :keywordMatchTypes
1710
+ # LongComparisonOperation
1711
+ # - minimum - SOAP::SOAPLong
1712
+ # - maximum - SOAP::SOAPLong
1713
+ class LongComparisonOperation
1714
+ attr_accessor :minimum
1715
+ attr_accessor :maximum
1631
1716
 
1632
- def initialize(searchParameter_Type = nil, keywordMatchTypes = [])
1633
- @searchParameter_Type = searchParameter_Type
1634
- @keywordMatchTypes = keywordMatchTypes
1717
+ def initialize(minimum = nil, maximum = nil)
1718
+ @minimum = minimum
1719
+ @maximum = maximum
1635
1720
  end
1636
1721
  end
1637
1722
 
1638
- # MobileSearchParameter
1639
- # - searchParameter_Type - SOAP::SOAPString
1640
- class MobileSearchParameter < SearchParameter
1641
- attr_accessor :searchParameter_Type
1723
+ # MonthlySearchVolume
1724
+ # - year - SOAP::SOAPInt
1725
+ # - month - SOAP::SOAPInt
1726
+ # - count - SOAP::SOAPLong
1727
+ class MonthlySearchVolume
1728
+ attr_accessor :year
1729
+ attr_accessor :month
1730
+ attr_accessor :count
1642
1731
 
1643
- def initialize(searchParameter_Type = nil)
1644
- @searchParameter_Type = searchParameter_Type
1732
+ def initialize(year = nil, month = nil, count = nil)
1733
+ @year = year
1734
+ @month = month
1735
+ @count = count
1645
1736
  end
1646
1737
  end
1647
1738
 
1648
- # PlacementTypeSearchParameter
1649
- # - searchParameter_Type - SOAP::SOAPString
1650
- # - placementTypes - AdwordsApi::V201008::TargetingIdeaService::SiteConstantsPlacementType
1651
- class PlacementTypeSearchParameter < SearchParameter
1652
- attr_accessor :searchParameter_Type
1653
- attr_accessor :placementTypes
1739
+ # Range
1740
+ # - min - AdwordsApi::V201008::TargetingIdeaService::ComparableValue
1741
+ # - max - AdwordsApi::V201008::TargetingIdeaService::ComparableValue
1742
+ class C_Range
1743
+ attr_accessor :min
1744
+ attr_accessor :max
1654
1745
 
1655
- def initialize(searchParameter_Type = nil, placementTypes = [])
1656
- @searchParameter_Type = searchParameter_Type
1657
- @placementTypes = placementTypes
1746
+ def initialize(min = nil, max = nil)
1747
+ @min = min
1748
+ @max = max
1658
1749
  end
1659
1750
  end
1660
1751
 
1661
- # RelatedToUrlSearchParameter
1752
+ # SearchParameter
1753
+ # abstract
1662
1754
  # - searchParameter_Type - SOAP::SOAPString
1663
- # - urls - SOAP::SOAPString
1664
- # - includeSubUrls - SOAP::SOAPBoolean
1665
- class RelatedToUrlSearchParameter < SearchParameter
1755
+ class SearchParameter
1666
1756
  attr_accessor :searchParameter_Type
1667
- attr_accessor :urls
1668
- attr_accessor :includeSubUrls
1669
1757
 
1670
- def initialize(searchParameter_Type = nil, urls = [], includeSubUrls = nil)
1758
+ def initialize(searchParameter_Type = nil)
1671
1759
  @searchParameter_Type = searchParameter_Type
1672
- @urls = urls
1673
- @includeSubUrls = includeSubUrls
1674
1760
  end
1675
1761
  end
1676
1762
 
1677
- # SearchShareSearchParameter
1763
+ # AdShareSearchParameter
1678
1764
  # - searchParameter_Type - SOAP::SOAPString
1679
1765
  # - operation - AdwordsApi::V201008::TargetingIdeaService::DoubleComparisonOperation
1680
- class SearchShareSearchParameter < SearchParameter
1766
+ class AdShareSearchParameter < SearchParameter
1681
1767
  attr_accessor :searchParameter_Type
1682
1768
  attr_accessor :operation
1683
1769
 
@@ -1687,29 +1773,16 @@ class SearchShareSearchParameter < SearchParameter
1687
1773
  end
1688
1774
  end
1689
1775
 
1690
- # SeedAdGroupIdSearchParameter
1691
- # - searchParameter_Type - SOAP::SOAPString
1692
- # - adGroupId - SOAP::SOAPLong
1693
- class SeedAdGroupIdSearchParameter < SearchParameter
1694
- attr_accessor :searchParameter_Type
1695
- attr_accessor :adGroupId
1696
-
1697
- def initialize(searchParameter_Type = nil, adGroupId = nil)
1698
- @searchParameter_Type = searchParameter_Type
1699
- @adGroupId = adGroupId
1700
- end
1701
- end
1702
-
1703
- # AdShareSearchParameter
1776
+ # AdTypeSearchParameter
1704
1777
  # - searchParameter_Type - SOAP::SOAPString
1705
- # - operation - AdwordsApi::V201008::TargetingIdeaService::DoubleComparisonOperation
1706
- class AdShareSearchParameter < SearchParameter
1778
+ # - adTypes - AdwordsApi::V201008::TargetingIdeaService::SiteConstantsAdType
1779
+ class AdTypeSearchParameter < SearchParameter
1707
1780
  attr_accessor :searchParameter_Type
1708
- attr_accessor :operation
1781
+ attr_accessor :adTypes
1709
1782
 
1710
- def initialize(searchParameter_Type = nil, operation = nil)
1783
+ def initialize(searchParameter_Type = nil, adTypes = [])
1711
1784
  @searchParameter_Type = searchParameter_Type
1712
- @operation = operation
1785
+ @adTypes = adTypes
1713
1786
  end
1714
1787
  end
1715
1788
 
@@ -1726,16 +1799,16 @@ class AverageTargetedMonthlySearchesSearchParameter < SearchParameter
1726
1799
  end
1727
1800
  end
1728
1801
 
1729
- # GlobalMonthlySearchesSearchParameter
1802
+ # CompetitionSearchParameter
1730
1803
  # - searchParameter_Type - SOAP::SOAPString
1731
- # - operation - AdwordsApi::V201008::TargetingIdeaService::LongComparisonOperation
1732
- class GlobalMonthlySearchesSearchParameter < SearchParameter
1804
+ # - levels - AdwordsApi::V201008::TargetingIdeaService::CompetitionSearchParameterLevel
1805
+ class CompetitionSearchParameter < SearchParameter
1733
1806
  attr_accessor :searchParameter_Type
1734
- attr_accessor :operation
1807
+ attr_accessor :levels
1735
1808
 
1736
- def initialize(searchParameter_Type = nil, operation = nil)
1809
+ def initialize(searchParameter_Type = nil, levels = [])
1737
1810
  @searchParameter_Type = searchParameter_Type
1738
- @operation = operation
1811
+ @levels = levels
1739
1812
  end
1740
1813
  end
1741
1814
 
@@ -1752,19 +1825,6 @@ class CountryTargetSearchParameter < SearchParameter
1752
1825
  end
1753
1826
  end
1754
1827
 
1755
- # LanguageTargetSearchParameter
1756
- # - searchParameter_Type - SOAP::SOAPString
1757
- # - languageTargets - AdwordsApi::V201008::TargetingIdeaService::LanguageTarget
1758
- class LanguageTargetSearchParameter < SearchParameter
1759
- attr_accessor :searchParameter_Type
1760
- attr_accessor :languageTargets
1761
-
1762
- def initialize(searchParameter_Type = nil, languageTargets = [])
1763
- @searchParameter_Type = searchParameter_Type
1764
- @languageTargets = languageTargets
1765
- end
1766
- end
1767
-
1768
1828
  # ExcludedKeywordSearchParameter
1769
1829
  # - searchParameter_Type - SOAP::SOAPString
1770
1830
  # - keywords - AdwordsApi::V201008::TargetingIdeaService::Keyword
@@ -1778,276 +1838,162 @@ class ExcludedKeywordSearchParameter < SearchParameter
1778
1838
  end
1779
1839
  end
1780
1840
 
1781
- # RelatedToKeywordSearchParameter
1841
+ # GlobalMonthlySearchesSearchParameter
1782
1842
  # - searchParameter_Type - SOAP::SOAPString
1783
- # - keywords - AdwordsApi::V201008::TargetingIdeaService::Keyword
1784
- class RelatedToKeywordSearchParameter < SearchParameter
1843
+ # - operation - AdwordsApi::V201008::TargetingIdeaService::LongComparisonOperation
1844
+ class GlobalMonthlySearchesSearchParameter < SearchParameter
1785
1845
  attr_accessor :searchParameter_Type
1786
- attr_accessor :keywords
1846
+ attr_accessor :operation
1787
1847
 
1788
- def initialize(searchParameter_Type = nil, keywords = [])
1848
+ def initialize(searchParameter_Type = nil, operation = nil)
1789
1849
  @searchParameter_Type = searchParameter_Type
1790
- @keywords = keywords
1791
- end
1792
- end
1793
-
1794
- # TargetingIdeaSelector
1795
- # - searchParameters - AdwordsApi::V201008::TargetingIdeaService::SearchParameter
1796
- # - ideaType - AdwordsApi::V201008::TargetingIdeaService::IdeaType
1797
- # - requestType - AdwordsApi::V201008::TargetingIdeaService::RequestType
1798
- # - requestedAttributeTypes - AdwordsApi::V201008::TargetingIdeaService::AttributeType
1799
- # - paging - AdwordsApi::V201008::TargetingIdeaService::Paging
1800
- # - localeCode - SOAP::SOAPString
1801
- # - currencyCode - SOAP::SOAPString
1802
- class TargetingIdeaSelector
1803
- attr_accessor :searchParameters
1804
- attr_accessor :ideaType
1805
- attr_accessor :requestType
1806
- attr_accessor :requestedAttributeTypes
1807
- attr_accessor :paging
1808
- attr_accessor :localeCode
1809
- attr_accessor :currencyCode
1810
-
1811
- def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
1812
- @searchParameters = searchParameters
1813
- @ideaType = ideaType
1814
- @requestType = requestType
1815
- @requestedAttributeTypes = requestedAttributeTypes
1816
- @paging = paging
1817
- @localeCode = localeCode
1818
- @currencyCode = currencyCode
1819
- end
1820
- end
1821
-
1822
- # Attribute
1823
- # abstract
1824
- # - attribute_Type - SOAP::SOAPString
1825
- class Attribute
1826
- attr_accessor :attribute_Type
1827
-
1828
- def initialize(attribute_Type = nil)
1829
- @attribute_Type = attribute_Type
1830
- end
1831
- end
1832
-
1833
- # AdFormatSpecListAttribute
1834
- # - attribute_Type - SOAP::SOAPString
1835
- # - value - AdwordsApi::V201008::TargetingIdeaService::AdFormatSpec
1836
- class AdFormatSpecListAttribute < Attribute
1837
- attr_accessor :attribute_Type
1838
- attr_accessor :value
1839
-
1840
- def initialize(attribute_Type = nil, value = [])
1841
- @attribute_Type = attribute_Type
1842
- @value = value
1843
- end
1844
- end
1845
-
1846
- # BooleanAttribute
1847
- # - attribute_Type - SOAP::SOAPString
1848
- # - value - SOAP::SOAPBoolean
1849
- class BooleanAttribute < Attribute
1850
- attr_accessor :attribute_Type
1851
- attr_accessor :value
1852
-
1853
- def initialize(attribute_Type = nil, value = nil)
1854
- @attribute_Type = attribute_Type
1855
- @value = value
1856
- end
1857
- end
1858
-
1859
- # DoubleAttribute
1860
- # - attribute_Type - SOAP::SOAPString
1861
- # - value - SOAP::SOAPDouble
1862
- class DoubleAttribute < Attribute
1863
- attr_accessor :attribute_Type
1864
- attr_accessor :value
1865
-
1866
- def initialize(attribute_Type = nil, value = nil)
1867
- @attribute_Type = attribute_Type
1868
- @value = value
1869
- end
1870
- end
1871
-
1872
- # IdeaTypeAttribute
1873
- # - attribute_Type - SOAP::SOAPString
1874
- # - value - AdwordsApi::V201008::TargetingIdeaService::IdeaType
1875
- class IdeaTypeAttribute < Attribute
1876
- attr_accessor :attribute_Type
1877
- attr_accessor :value
1878
-
1879
- def initialize(attribute_Type = nil, value = nil)
1880
- @attribute_Type = attribute_Type
1881
- @value = value
1882
- end
1883
- end
1884
-
1885
- # InStreamAdInfoAttribute
1886
- # - attribute_Type - SOAP::SOAPString
1887
- # - value - AdwordsApi::V201008::TargetingIdeaService::InStreamAdInfo
1888
- class InStreamAdInfoAttribute < Attribute
1889
- attr_accessor :attribute_Type
1890
- attr_accessor :value
1891
-
1892
- def initialize(attribute_Type = nil, value = nil)
1893
- @attribute_Type = attribute_Type
1894
- @value = value
1895
- end
1896
- end
1897
-
1898
- # IntegerAttribute
1899
- # - attribute_Type - SOAP::SOAPString
1900
- # - value - SOAP::SOAPInt
1901
- class IntegerAttribute < Attribute
1902
- attr_accessor :attribute_Type
1903
- attr_accessor :value
1904
-
1905
- def initialize(attribute_Type = nil, value = nil)
1906
- @attribute_Type = attribute_Type
1907
- @value = value
1850
+ @operation = operation
1908
1851
  end
1909
1852
  end
1910
1853
 
1911
- # IntegerSetAttribute
1912
- # - attribute_Type - SOAP::SOAPString
1913
- # - value - SOAP::SOAPInt
1914
- class IntegerSetAttribute < Attribute
1915
- attr_accessor :attribute_Type
1916
- attr_accessor :value
1854
+ # IdeaTextMatchesSearchParameter
1855
+ # - searchParameter_Type - SOAP::SOAPString
1856
+ # - included - SOAP::SOAPString
1857
+ # - excluded - SOAP::SOAPString
1858
+ # - priorityAction - AdwordsApi::V201008::TargetingIdeaService::MatchAction
1859
+ class IdeaTextMatchesSearchParameter < SearchParameter
1860
+ attr_accessor :searchParameter_Type
1861
+ attr_accessor :included
1862
+ attr_accessor :excluded
1863
+ attr_accessor :priorityAction
1917
1864
 
1918
- def initialize(attribute_Type = nil, value = [])
1919
- @attribute_Type = attribute_Type
1920
- @value = value
1865
+ def initialize(searchParameter_Type = nil, included = [], excluded = [], priorityAction = nil)
1866
+ @searchParameter_Type = searchParameter_Type
1867
+ @included = included
1868
+ @excluded = excluded
1869
+ @priorityAction = priorityAction
1921
1870
  end
1922
1871
  end
1923
1872
 
1924
- # LongAttribute
1925
- # - attribute_Type - SOAP::SOAPString
1926
- # - value - SOAP::SOAPLong
1927
- class LongAttribute < Attribute
1928
- attr_accessor :attribute_Type
1929
- attr_accessor :value
1873
+ # IncludeAdultContentSearchParameter
1874
+ # - searchParameter_Type - SOAP::SOAPString
1875
+ class IncludeAdultContentSearchParameter < SearchParameter
1876
+ attr_accessor :searchParameter_Type
1930
1877
 
1931
- def initialize(attribute_Type = nil, value = nil)
1932
- @attribute_Type = attribute_Type
1933
- @value = value
1878
+ def initialize(searchParameter_Type = nil)
1879
+ @searchParameter_Type = searchParameter_Type
1934
1880
  end
1935
1881
  end
1936
1882
 
1937
- # MonthlySearchVolumeAttribute
1938
- # - attribute_Type - SOAP::SOAPString
1939
- # - value - AdwordsApi::V201008::TargetingIdeaService::MonthlySearchVolume
1940
- class MonthlySearchVolumeAttribute < Attribute
1941
- attr_accessor :attribute_Type
1942
- attr_accessor :value
1883
+ # KeywordCategoryIdSearchParameter
1884
+ # - searchParameter_Type - SOAP::SOAPString
1885
+ # - categoryId - SOAP::SOAPInt
1886
+ class KeywordCategoryIdSearchParameter < SearchParameter
1887
+ attr_accessor :searchParameter_Type
1888
+ attr_accessor :categoryId
1943
1889
 
1944
- def initialize(attribute_Type = nil, value = [])
1945
- @attribute_Type = attribute_Type
1946
- @value = value
1890
+ def initialize(searchParameter_Type = nil, categoryId = nil)
1891
+ @searchParameter_Type = searchParameter_Type
1892
+ @categoryId = categoryId
1947
1893
  end
1948
1894
  end
1949
1895
 
1950
- # PlacementTypeAttribute
1951
- # - attribute_Type - SOAP::SOAPString
1952
- # - value - AdwordsApi::V201008::TargetingIdeaService::SiteConstantsPlacementType
1953
- class PlacementTypeAttribute < Attribute
1954
- attr_accessor :attribute_Type
1955
- attr_accessor :value
1896
+ # KeywordMatchTypeSearchParameter
1897
+ # - searchParameter_Type - SOAP::SOAPString
1898
+ # - keywordMatchTypes - AdwordsApi::V201008::TargetingIdeaService::KeywordMatchType
1899
+ class KeywordMatchTypeSearchParameter < SearchParameter
1900
+ attr_accessor :searchParameter_Type
1901
+ attr_accessor :keywordMatchTypes
1956
1902
 
1957
- def initialize(attribute_Type = nil, value = nil)
1958
- @attribute_Type = attribute_Type
1959
- @value = value
1903
+ def initialize(searchParameter_Type = nil, keywordMatchTypes = [])
1904
+ @searchParameter_Type = searchParameter_Type
1905
+ @keywordMatchTypes = keywordMatchTypes
1960
1906
  end
1961
1907
  end
1962
1908
 
1963
- # StringAttribute
1964
- # - attribute_Type - SOAP::SOAPString
1965
- # - value - SOAP::SOAPString
1966
- class StringAttribute < Attribute
1967
- attr_accessor :attribute_Type
1968
- attr_accessor :value
1909
+ # LanguageTargetSearchParameter
1910
+ # - searchParameter_Type - SOAP::SOAPString
1911
+ # - languageTargets - AdwordsApi::V201008::TargetingIdeaService::LanguageTarget
1912
+ class LanguageTargetSearchParameter < SearchParameter
1913
+ attr_accessor :searchParameter_Type
1914
+ attr_accessor :languageTargets
1969
1915
 
1970
- def initialize(attribute_Type = nil, value = nil)
1971
- @attribute_Type = attribute_Type
1972
- @value = value
1916
+ def initialize(searchParameter_Type = nil, languageTargets = [])
1917
+ @searchParameter_Type = searchParameter_Type
1918
+ @languageTargets = languageTargets
1973
1919
  end
1974
1920
  end
1975
1921
 
1976
- # WebpageDescriptorAttribute
1977
- # - attribute_Type - SOAP::SOAPString
1978
- # - value - AdwordsApi::V201008::TargetingIdeaService::WebpageDescriptor
1979
- class WebpageDescriptorAttribute < Attribute
1980
- attr_accessor :attribute_Type
1981
- attr_accessor :value
1922
+ # MobileSearchParameter
1923
+ # - searchParameter_Type - SOAP::SOAPString
1924
+ class MobileSearchParameter < SearchParameter
1925
+ attr_accessor :searchParameter_Type
1982
1926
 
1983
- def initialize(attribute_Type = nil, value = nil)
1984
- @attribute_Type = attribute_Type
1985
- @value = value
1927
+ def initialize(searchParameter_Type = nil)
1928
+ @searchParameter_Type = searchParameter_Type
1986
1929
  end
1987
1930
  end
1988
1931
 
1989
- # MoneyAttribute
1990
- # - attribute_Type - SOAP::SOAPString
1991
- # - value - AdwordsApi::V201008::TargetingIdeaService::Money
1992
- class MoneyAttribute < Attribute
1993
- attr_accessor :attribute_Type
1994
- attr_accessor :value
1932
+ # PlacementTypeSearchParameter
1933
+ # - searchParameter_Type - SOAP::SOAPString
1934
+ # - placementTypes - AdwordsApi::V201008::TargetingIdeaService::SiteConstantsPlacementType
1935
+ class PlacementTypeSearchParameter < SearchParameter
1936
+ attr_accessor :searchParameter_Type
1937
+ attr_accessor :placementTypes
1995
1938
 
1996
- def initialize(attribute_Type = nil, value = nil)
1997
- @attribute_Type = attribute_Type
1998
- @value = value
1939
+ def initialize(searchParameter_Type = nil, placementTypes = [])
1940
+ @searchParameter_Type = searchParameter_Type
1941
+ @placementTypes = placementTypes
1999
1942
  end
2000
1943
  end
2001
1944
 
2002
- # LongRangeAttribute
2003
- # - attribute_Type - SOAP::SOAPString
2004
- # - value - AdwordsApi::V201008::TargetingIdeaService::C_Range
2005
- class LongRangeAttribute < Attribute
2006
- attr_accessor :attribute_Type
2007
- attr_accessor :value
1945
+ # RelatedToKeywordSearchParameter
1946
+ # - searchParameter_Type - SOAP::SOAPString
1947
+ # - keywords - AdwordsApi::V201008::TargetingIdeaService::Keyword
1948
+ class RelatedToKeywordSearchParameter < SearchParameter
1949
+ attr_accessor :searchParameter_Type
1950
+ attr_accessor :keywords
2008
1951
 
2009
- def initialize(attribute_Type = nil, value = nil)
2010
- @attribute_Type = attribute_Type
2011
- @value = value
1952
+ def initialize(searchParameter_Type = nil, keywords = [])
1953
+ @searchParameter_Type = searchParameter_Type
1954
+ @keywords = keywords
2012
1955
  end
2013
1956
  end
2014
1957
 
2015
- # KeywordAttribute
2016
- # - attribute_Type - SOAP::SOAPString
2017
- # - value - AdwordsApi::V201008::TargetingIdeaService::Keyword
2018
- class KeywordAttribute < Attribute
2019
- attr_accessor :attribute_Type
2020
- attr_accessor :value
1958
+ # RelatedToUrlSearchParameter
1959
+ # - searchParameter_Type - SOAP::SOAPString
1960
+ # - urls - SOAP::SOAPString
1961
+ # - includeSubUrls - SOAP::SOAPBoolean
1962
+ class RelatedToUrlSearchParameter < SearchParameter
1963
+ attr_accessor :searchParameter_Type
1964
+ attr_accessor :urls
1965
+ attr_accessor :includeSubUrls
2021
1966
 
2022
- def initialize(attribute_Type = nil, value = nil)
2023
- @attribute_Type = attribute_Type
2024
- @value = value
1967
+ def initialize(searchParameter_Type = nil, urls = [], includeSubUrls = nil)
1968
+ @searchParameter_Type = searchParameter_Type
1969
+ @urls = urls
1970
+ @includeSubUrls = includeSubUrls
2025
1971
  end
2026
1972
  end
2027
1973
 
2028
- # PlacementAttribute
2029
- # - attribute_Type - SOAP::SOAPString
2030
- # - value - AdwordsApi::V201008::TargetingIdeaService::Placement
2031
- class PlacementAttribute < Attribute
2032
- attr_accessor :attribute_Type
2033
- attr_accessor :value
1974
+ # SearchShareSearchParameter
1975
+ # - searchParameter_Type - SOAP::SOAPString
1976
+ # - operation - AdwordsApi::V201008::TargetingIdeaService::DoubleComparisonOperation
1977
+ class SearchShareSearchParameter < SearchParameter
1978
+ attr_accessor :searchParameter_Type
1979
+ attr_accessor :operation
2034
1980
 
2035
- def initialize(attribute_Type = nil, value = nil)
2036
- @attribute_Type = attribute_Type
2037
- @value = value
1981
+ def initialize(searchParameter_Type = nil, operation = nil)
1982
+ @searchParameter_Type = searchParameter_Type
1983
+ @operation = operation
2038
1984
  end
2039
1985
  end
2040
1986
 
2041
- # Type_AttributeMapEntry
2042
- # - key - AdwordsApi::V201008::TargetingIdeaService::AttributeType
2043
- # - value - AdwordsApi::V201008::TargetingIdeaService::Attribute
2044
- class Type_AttributeMapEntry
2045
- attr_accessor :key
2046
- attr_accessor :value
1987
+ # SeedAdGroupIdSearchParameter
1988
+ # - searchParameter_Type - SOAP::SOAPString
1989
+ # - adGroupId - SOAP::SOAPLong
1990
+ class SeedAdGroupIdSearchParameter < SearchParameter
1991
+ attr_accessor :searchParameter_Type
1992
+ attr_accessor :adGroupId
2047
1993
 
2048
- def initialize(key = nil, value = nil)
2049
- @key = key
2050
- @value = value
1994
+ def initialize(searchParameter_Type = nil, adGroupId = nil)
1995
+ @searchParameter_Type = searchParameter_Type
1996
+ @adGroupId = adGroupId
2051
1997
  end
2052
1998
  end
2053
1999
 
@@ -2074,6 +2020,60 @@ class TargetingIdeaPage
2074
2020
  end
2075
2021
  end
2076
2022
 
2023
+ # TargetingIdeaSelector
2024
+ # - searchParameters - AdwordsApi::V201008::TargetingIdeaService::SearchParameter
2025
+ # - ideaType - AdwordsApi::V201008::TargetingIdeaService::IdeaType
2026
+ # - requestType - AdwordsApi::V201008::TargetingIdeaService::RequestType
2027
+ # - requestedAttributeTypes - AdwordsApi::V201008::TargetingIdeaService::AttributeType
2028
+ # - paging - AdwordsApi::V201008::TargetingIdeaService::Paging
2029
+ # - localeCode - SOAP::SOAPString
2030
+ # - currencyCode - SOAP::SOAPString
2031
+ class TargetingIdeaSelector
2032
+ attr_accessor :searchParameters
2033
+ attr_accessor :ideaType
2034
+ attr_accessor :requestType
2035
+ attr_accessor :requestedAttributeTypes
2036
+ attr_accessor :paging
2037
+ attr_accessor :localeCode
2038
+ attr_accessor :currencyCode
2039
+
2040
+ def initialize(searchParameters = [], ideaType = nil, requestType = nil, requestedAttributeTypes = [], paging = nil, localeCode = nil, currencyCode = nil)
2041
+ @searchParameters = searchParameters
2042
+ @ideaType = ideaType
2043
+ @requestType = requestType
2044
+ @requestedAttributeTypes = requestedAttributeTypes
2045
+ @paging = paging
2046
+ @localeCode = localeCode
2047
+ @currencyCode = currencyCode
2048
+ end
2049
+ end
2050
+
2051
+ # Type_AttributeMapEntry
2052
+ # - key - AdwordsApi::V201008::TargetingIdeaService::AttributeType
2053
+ # - value - AdwordsApi::V201008::TargetingIdeaService::Attribute
2054
+ class Type_AttributeMapEntry
2055
+ attr_accessor :key
2056
+ attr_accessor :value
2057
+
2058
+ def initialize(key = nil, value = nil)
2059
+ @key = key
2060
+ @value = value
2061
+ end
2062
+ end
2063
+
2064
+ # WebpageDescriptor
2065
+ # - url - SOAP::SOAPString
2066
+ # - title - SOAP::SOAPString
2067
+ class WebpageDescriptor
2068
+ attr_accessor :url
2069
+ attr_accessor :title
2070
+
2071
+ def initialize(url = nil, title = nil)
2072
+ @url = url
2073
+ @title = title
2074
+ end
2075
+ end
2076
+
2077
2077
  # AdGroupCriterionError.Reason
2078
2078
  class AdGroupCriterionErrorReason < ::String
2079
2079
  BID_INCOMPATIBLE_WITH_ADGROUP = AdGroupCriterionErrorReason.new("BID_INCOMPATIBLE_WITH_ADGROUP")