google-adwords-api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
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 AdGroupServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::AdGroupService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class AdGroupServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201101::AdGroupService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201101::AdGroupService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class AdParamServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::AdParamService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::AdParamService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class AdParamServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201101::AdParamService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201101::AdParamService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -16,7 +16,7 @@ class AlertServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/mcm/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::AlertService::ApiException_"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/mcm/v201101", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::AlertService::ApiException_"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/mcm/v201101", :name=>"ApiException"}} }
20
20
  ]
21
21
  ]
22
22
 
@@ -5583,10 +5583,12 @@ class DeprecatedAdType < ::String
5583
5583
  GADGET = DeprecatedAdType.new("GADGET")
5584
5584
  GADGET_TEMPLATE = DeprecatedAdType.new("GADGET_TEMPLATE")
5585
5585
  IN_STREAM_VIDEO = DeprecatedAdType.new("IN_STREAM_VIDEO")
5586
+ LOCAL_BUSINESS_AD = DeprecatedAdType.new("LOCAL_BUSINESS_AD")
5586
5587
  PRINT = DeprecatedAdType.new("PRINT")
5587
5588
  TEXT_LINK = DeprecatedAdType.new("TEXT_LINK")
5588
5589
  TEXT_WIDE = DeprecatedAdType.new("TEXT_WIDE")
5589
5590
  TEXT_WITH_VIDEO = DeprecatedAdType.new("TEXT_WITH_VIDEO")
5591
+ UNKNOWN = DeprecatedAdType.new("UNKNOWN")
5590
5592
  VIDEO = DeprecatedAdType.new("VIDEO")
5591
5593
  end
5592
5594
 
@@ -16,7 +16,7 @@ class BulkMutateJobServiceInterface < ::SOAP::RPC::Driver
16
16
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "getResponse"]] ],
17
17
  { :request_style => :document, :request_use => :literal,
18
18
  :response_style => :document, :response_use => :literal,
19
- :faults => {"AdwordsApi::V201101::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :name=>"ApiException"}} }
19
+ :faults => {"AdwordsApi::V201101::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
20
20
  ],
21
21
  [ "",
22
22
  "mutate",
@@ -24,7 +24,7 @@ class BulkMutateJobServiceInterface < ::SOAP::RPC::Driver
24
24
  ["out", "parameters", ["::SOAP::SOAPElement", "https://adwords.google.com/api/adwords/cm/v201101", "mutateResponse"]] ],
25
25
  { :request_style => :document, :request_use => :literal,
26
26
  :response_style => :document, :response_use => :literal,
27
- :faults => {"AdwordsApi::V201101::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :use=>"literal", :name=>"ApiException"}} }
27
+ :faults => {"AdwordsApi::V201101::BulkMutateJobService::ApiException"=>{:encodingstyle=>"document", :use=>"literal", :namespace=>nil, :ns=>"https://adwords.google.com/api/adwords/cm/v201101", :name=>"ApiException"}} }
28
28
  ]
29
29
  ]
30
30
 
@@ -0,0 +1,1367 @@
1
+ require 'xsd/qname'
2
+
3
+ module AdwordsApi; module V201101; module BulkOpportunityService
4
+
5
+
6
+ # ApiError
7
+ # abstract
8
+ # - fieldPath - SOAP::SOAPString
9
+ # - trigger - SOAP::SOAPString
10
+ # - errorString - SOAP::SOAPString
11
+ # - apiError_Type - SOAP::SOAPString
12
+ class ApiError
13
+ attr_accessor :fieldPath
14
+ attr_accessor :trigger
15
+ attr_accessor :errorString
16
+ attr_accessor :apiError_Type
17
+
18
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil)
19
+ @fieldPath = fieldPath
20
+ @trigger = trigger
21
+ @errorString = errorString
22
+ @apiError_Type = apiError_Type
23
+ end
24
+ end
25
+
26
+ # AuthenticationError
27
+ # - fieldPath - SOAP::SOAPString
28
+ # - trigger - SOAP::SOAPString
29
+ # - errorString - SOAP::SOAPString
30
+ # - apiError_Type - SOAP::SOAPString
31
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::AuthenticationErrorReason
32
+ class AuthenticationError < ApiError
33
+ attr_accessor :fieldPath
34
+ attr_accessor :trigger
35
+ attr_accessor :errorString
36
+ attr_accessor :apiError_Type
37
+ attr_accessor :reason
38
+
39
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
40
+ @fieldPath = fieldPath
41
+ @trigger = trigger
42
+ @errorString = errorString
43
+ @apiError_Type = apiError_Type
44
+ @reason = reason
45
+ end
46
+ end
47
+
48
+ # AuthorizationError
49
+ # - fieldPath - SOAP::SOAPString
50
+ # - trigger - SOAP::SOAPString
51
+ # - errorString - SOAP::SOAPString
52
+ # - apiError_Type - SOAP::SOAPString
53
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::AuthorizationErrorReason
54
+ class AuthorizationError < ApiError
55
+ attr_accessor :fieldPath
56
+ attr_accessor :trigger
57
+ attr_accessor :errorString
58
+ attr_accessor :apiError_Type
59
+ attr_accessor :reason
60
+
61
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
62
+ @fieldPath = fieldPath
63
+ @trigger = trigger
64
+ @errorString = errorString
65
+ @apiError_Type = apiError_Type
66
+ @reason = reason
67
+ end
68
+ end
69
+
70
+ # ClientTermsError
71
+ # - fieldPath - SOAP::SOAPString
72
+ # - trigger - SOAP::SOAPString
73
+ # - errorString - SOAP::SOAPString
74
+ # - apiError_Type - SOAP::SOAPString
75
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::ClientTermsErrorReason
76
+ class ClientTermsError < ApiError
77
+ attr_accessor :fieldPath
78
+ attr_accessor :trigger
79
+ attr_accessor :errorString
80
+ attr_accessor :apiError_Type
81
+ attr_accessor :reason
82
+
83
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
84
+ @fieldPath = fieldPath
85
+ @trigger = trigger
86
+ @errorString = errorString
87
+ @apiError_Type = apiError_Type
88
+ @reason = reason
89
+ end
90
+ end
91
+
92
+ # DatabaseError
93
+ # - fieldPath - SOAP::SOAPString
94
+ # - trigger - SOAP::SOAPString
95
+ # - errorString - SOAP::SOAPString
96
+ # - apiError_Type - SOAP::SOAPString
97
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::DatabaseErrorReason
98
+ class DatabaseError < ApiError
99
+ attr_accessor :fieldPath
100
+ attr_accessor :trigger
101
+ attr_accessor :errorString
102
+ attr_accessor :apiError_Type
103
+ attr_accessor :reason
104
+
105
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
106
+ @fieldPath = fieldPath
107
+ @trigger = trigger
108
+ @errorString = errorString
109
+ @apiError_Type = apiError_Type
110
+ @reason = reason
111
+ end
112
+ end
113
+
114
+ # InternalApiError
115
+ # - fieldPath - SOAP::SOAPString
116
+ # - trigger - SOAP::SOAPString
117
+ # - errorString - SOAP::SOAPString
118
+ # - apiError_Type - SOAP::SOAPString
119
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::InternalApiErrorReason
120
+ class InternalApiError < ApiError
121
+ attr_accessor :fieldPath
122
+ attr_accessor :trigger
123
+ attr_accessor :errorString
124
+ attr_accessor :apiError_Type
125
+ attr_accessor :reason
126
+
127
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
128
+ @fieldPath = fieldPath
129
+ @trigger = trigger
130
+ @errorString = errorString
131
+ @apiError_Type = apiError_Type
132
+ @reason = reason
133
+ end
134
+ end
135
+
136
+ # NotWhitelistedError
137
+ # - fieldPath - SOAP::SOAPString
138
+ # - trigger - SOAP::SOAPString
139
+ # - errorString - SOAP::SOAPString
140
+ # - apiError_Type - SOAP::SOAPString
141
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::NotWhitelistedErrorReason
142
+ class NotWhitelistedError < ApiError
143
+ attr_accessor :fieldPath
144
+ attr_accessor :trigger
145
+ attr_accessor :errorString
146
+ attr_accessor :apiError_Type
147
+ attr_accessor :reason
148
+
149
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
150
+ @fieldPath = fieldPath
151
+ @trigger = trigger
152
+ @errorString = errorString
153
+ @apiError_Type = apiError_Type
154
+ @reason = reason
155
+ end
156
+ end
157
+
158
+ # NullError
159
+ # - fieldPath - SOAP::SOAPString
160
+ # - trigger - SOAP::SOAPString
161
+ # - errorString - SOAP::SOAPString
162
+ # - apiError_Type - SOAP::SOAPString
163
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::NullErrorReason
164
+ class NullError < ApiError
165
+ attr_accessor :fieldPath
166
+ attr_accessor :trigger
167
+ attr_accessor :errorString
168
+ attr_accessor :apiError_Type
169
+ attr_accessor :reason
170
+
171
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
172
+ @fieldPath = fieldPath
173
+ @trigger = trigger
174
+ @errorString = errorString
175
+ @apiError_Type = apiError_Type
176
+ @reason = reason
177
+ end
178
+ end
179
+
180
+ # QuotaCheckError
181
+ # - fieldPath - SOAP::SOAPString
182
+ # - trigger - SOAP::SOAPString
183
+ # - errorString - SOAP::SOAPString
184
+ # - apiError_Type - SOAP::SOAPString
185
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::QuotaCheckErrorReason
186
+ class QuotaCheckError < ApiError
187
+ attr_accessor :fieldPath
188
+ attr_accessor :trigger
189
+ attr_accessor :errorString
190
+ attr_accessor :apiError_Type
191
+ attr_accessor :reason
192
+
193
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
194
+ @fieldPath = fieldPath
195
+ @trigger = trigger
196
+ @errorString = errorString
197
+ @apiError_Type = apiError_Type
198
+ @reason = reason
199
+ end
200
+ end
201
+
202
+ # RateExceededError
203
+ # - fieldPath - SOAP::SOAPString
204
+ # - trigger - SOAP::SOAPString
205
+ # - errorString - SOAP::SOAPString
206
+ # - apiError_Type - SOAP::SOAPString
207
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::RateExceededErrorReason
208
+ # - rateName - SOAP::SOAPString
209
+ # - rateScope - SOAP::SOAPString
210
+ # - retryAfterSeconds - SOAP::SOAPInt
211
+ class RateExceededError < ApiError
212
+ attr_accessor :fieldPath
213
+ attr_accessor :trigger
214
+ attr_accessor :errorString
215
+ attr_accessor :apiError_Type
216
+ attr_accessor :reason
217
+ attr_accessor :rateName
218
+ attr_accessor :rateScope
219
+ attr_accessor :retryAfterSeconds
220
+
221
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil, rateName = nil, rateScope = nil, retryAfterSeconds = nil)
222
+ @fieldPath = fieldPath
223
+ @trigger = trigger
224
+ @errorString = errorString
225
+ @apiError_Type = apiError_Type
226
+ @reason = reason
227
+ @rateName = rateName
228
+ @rateScope = rateScope
229
+ @retryAfterSeconds = retryAfterSeconds
230
+ end
231
+ end
232
+
233
+ # RequestError
234
+ # - fieldPath - SOAP::SOAPString
235
+ # - trigger - SOAP::SOAPString
236
+ # - errorString - SOAP::SOAPString
237
+ # - apiError_Type - SOAP::SOAPString
238
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::RequestErrorReason
239
+ class RequestError < ApiError
240
+ attr_accessor :fieldPath
241
+ attr_accessor :trigger
242
+ attr_accessor :errorString
243
+ attr_accessor :apiError_Type
244
+ attr_accessor :reason
245
+
246
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
247
+ @fieldPath = fieldPath
248
+ @trigger = trigger
249
+ @errorString = errorString
250
+ @apiError_Type = apiError_Type
251
+ @reason = reason
252
+ end
253
+ end
254
+
255
+ # RequiredError
256
+ # - fieldPath - SOAP::SOAPString
257
+ # - trigger - SOAP::SOAPString
258
+ # - errorString - SOAP::SOAPString
259
+ # - apiError_Type - SOAP::SOAPString
260
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::RequiredErrorReason
261
+ class RequiredError < ApiError
262
+ attr_accessor :fieldPath
263
+ attr_accessor :trigger
264
+ attr_accessor :errorString
265
+ attr_accessor :apiError_Type
266
+ attr_accessor :reason
267
+
268
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
269
+ @fieldPath = fieldPath
270
+ @trigger = trigger
271
+ @errorString = errorString
272
+ @apiError_Type = apiError_Type
273
+ @reason = reason
274
+ end
275
+ end
276
+
277
+ # SizeLimitError
278
+ # - fieldPath - SOAP::SOAPString
279
+ # - trigger - SOAP::SOAPString
280
+ # - errorString - SOAP::SOAPString
281
+ # - apiError_Type - SOAP::SOAPString
282
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::SizeLimitErrorReason
283
+ class SizeLimitError < ApiError
284
+ attr_accessor :fieldPath
285
+ attr_accessor :trigger
286
+ attr_accessor :errorString
287
+ attr_accessor :apiError_Type
288
+ attr_accessor :reason
289
+
290
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
291
+ @fieldPath = fieldPath
292
+ @trigger = trigger
293
+ @errorString = errorString
294
+ @apiError_Type = apiError_Type
295
+ @reason = reason
296
+ end
297
+ end
298
+
299
+ # BulkOpportunityServiceError
300
+ # - fieldPath - SOAP::SOAPString
301
+ # - trigger - SOAP::SOAPString
302
+ # - errorString - SOAP::SOAPString
303
+ # - apiError_Type - SOAP::SOAPString
304
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityServiceErrorReason
305
+ class BulkOpportunityServiceError < ApiError
306
+ attr_accessor :fieldPath
307
+ attr_accessor :trigger
308
+ attr_accessor :errorString
309
+ attr_accessor :apiError_Type
310
+ attr_accessor :reason
311
+
312
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
313
+ @fieldPath = fieldPath
314
+ @trigger = trigger
315
+ @errorString = errorString
316
+ @apiError_Type = apiError_Type
317
+ @reason = reason
318
+ end
319
+ end
320
+
321
+ # OpportunityError
322
+ # - fieldPath - SOAP::SOAPString
323
+ # - trigger - SOAP::SOAPString
324
+ # - errorString - SOAP::SOAPString
325
+ # - apiError_Type - SOAP::SOAPString
326
+ # - reason - AdwordsApi::V201101::BulkOpportunityService::OpportunityErrorReason
327
+ class OpportunityError < ApiError
328
+ attr_accessor :fieldPath
329
+ attr_accessor :trigger
330
+ attr_accessor :errorString
331
+ attr_accessor :apiError_Type
332
+ attr_accessor :reason
333
+
334
+ def initialize(fieldPath = nil, trigger = nil, errorString = nil, apiError_Type = nil, reason = nil)
335
+ @fieldPath = fieldPath
336
+ @trigger = trigger
337
+ @errorString = errorString
338
+ @apiError_Type = apiError_Type
339
+ @reason = reason
340
+ end
341
+ end
342
+
343
+ # ApplicationException
344
+ # - message - SOAP::SOAPString
345
+ # - applicationException_Type - SOAP::SOAPString
346
+ class ApplicationException
347
+ attr_accessor :message
348
+ attr_accessor :applicationException_Type
349
+
350
+ def initialize(message = nil, applicationException_Type = nil)
351
+ @message = message
352
+ @applicationException_Type = applicationException_Type
353
+ end
354
+ end
355
+
356
+ # ApiException
357
+ # - message - SOAP::SOAPString
358
+ # - applicationException_Type - SOAP::SOAPString
359
+ # - errors - AdwordsApi::V201101::BulkOpportunityService::ApiError
360
+ class ApiException < ApplicationException
361
+ attr_accessor :message
362
+ attr_accessor :applicationException_Type
363
+ attr_accessor :errors
364
+
365
+ def initialize(message = nil, applicationException_Type = nil, errors = [])
366
+ @message = message
367
+ @applicationException_Type = applicationException_Type
368
+ @errors = errors
369
+ end
370
+ end
371
+
372
+ # BidLandscape.LandscapePoint
373
+ # - bid - AdwordsApi::V201101::BulkOpportunityService::Money
374
+ # - clicks - SOAP::SOAPLong
375
+ # - cost - AdwordsApi::V201101::BulkOpportunityService::Money
376
+ # - marginalCpc - AdwordsApi::V201101::BulkOpportunityService::Money
377
+ # - impressions - SOAP::SOAPLong
378
+ class BidLandscapeLandscapePoint
379
+ attr_accessor :bid
380
+ attr_accessor :clicks
381
+ attr_accessor :cost
382
+ attr_accessor :marginalCpc
383
+ attr_accessor :impressions
384
+
385
+ def initialize(bid = nil, clicks = nil, cost = nil, marginalCpc = nil, impressions = nil)
386
+ @bid = bid
387
+ @clicks = clicks
388
+ @cost = cost
389
+ @marginalCpc = marginalCpc
390
+ @impressions = impressions
391
+ end
392
+ end
393
+
394
+ # ComparableValue
395
+ # abstract
396
+ # - comparableValue_Type - SOAP::SOAPString
397
+ class ComparableValue
398
+ attr_accessor :comparableValue_Type
399
+
400
+ def initialize(comparableValue_Type = nil)
401
+ @comparableValue_Type = comparableValue_Type
402
+ end
403
+ end
404
+
405
+ # Money
406
+ # - comparableValue_Type - SOAP::SOAPString
407
+ # - microAmount - SOAP::SOAPLong
408
+ class Money < ComparableValue
409
+ attr_accessor :comparableValue_Type
410
+ attr_accessor :microAmount
411
+
412
+ def initialize(comparableValue_Type = nil, microAmount = nil)
413
+ @comparableValue_Type = comparableValue_Type
414
+ @microAmount = microAmount
415
+ end
416
+ end
417
+
418
+ # NumberValue
419
+ # abstract
420
+ # - comparableValue_Type - SOAP::SOAPString
421
+ class NumberValue < ComparableValue
422
+ attr_accessor :comparableValue_Type
423
+
424
+ def initialize(comparableValue_Type = nil)
425
+ @comparableValue_Type = comparableValue_Type
426
+ end
427
+ end
428
+
429
+ # DoubleValue
430
+ # - comparableValue_Type - SOAP::SOAPString
431
+ # - number - SOAP::SOAPDouble
432
+ class DoubleValue < NumberValue
433
+ attr_accessor :comparableValue_Type
434
+ attr_accessor :number
435
+
436
+ def initialize(comparableValue_Type = nil, number = nil)
437
+ @comparableValue_Type = comparableValue_Type
438
+ @number = number
439
+ end
440
+ end
441
+
442
+ # LongValue
443
+ # - comparableValue_Type - SOAP::SOAPString
444
+ # - number - SOAP::SOAPLong
445
+ class LongValue < NumberValue
446
+ attr_accessor :comparableValue_Type
447
+ attr_accessor :number
448
+
449
+ def initialize(comparableValue_Type = nil, number = nil)
450
+ @comparableValue_Type = comparableValue_Type
451
+ @number = number
452
+ end
453
+ end
454
+
455
+ # Criterion
456
+ # - id - SOAP::SOAPLong
457
+ # - criterion_Type - SOAP::SOAPString
458
+ class Criterion
459
+ attr_accessor :id
460
+ attr_accessor :criterion_Type
461
+
462
+ def initialize(id = nil, criterion_Type = nil)
463
+ @id = id
464
+ @criterion_Type = criterion_Type
465
+ end
466
+ end
467
+
468
+ # Keyword
469
+ # - id - SOAP::SOAPLong
470
+ # - criterion_Type - SOAP::SOAPString
471
+ # - text - SOAP::SOAPString
472
+ # - matchType - AdwordsApi::V201101::BulkOpportunityService::KeywordMatchType
473
+ class Keyword < Criterion
474
+ attr_accessor :id
475
+ attr_accessor :criterion_Type
476
+ attr_accessor :text
477
+ attr_accessor :matchType
478
+
479
+ def initialize(id = nil, criterion_Type = nil, text = nil, matchType = nil)
480
+ @id = id
481
+ @criterion_Type = criterion_Type
482
+ @text = text
483
+ @matchType = matchType
484
+ end
485
+ end
486
+
487
+ # Placement
488
+ # - id - SOAP::SOAPLong
489
+ # - criterion_Type - SOAP::SOAPString
490
+ # - url - SOAP::SOAPString
491
+ class Placement < Criterion
492
+ attr_accessor :id
493
+ attr_accessor :criterion_Type
494
+ attr_accessor :url
495
+
496
+ def initialize(id = nil, criterion_Type = nil, url = nil)
497
+ @id = id
498
+ @criterion_Type = criterion_Type
499
+ @url = url
500
+ end
501
+ end
502
+
503
+ # Product
504
+ # - id - SOAP::SOAPLong
505
+ # - criterion_Type - SOAP::SOAPString
506
+ # - conditions - AdwordsApi::V201101::BulkOpportunityService::ProductCondition
507
+ # - text - SOAP::SOAPString
508
+ class Product < Criterion
509
+ attr_accessor :id
510
+ attr_accessor :criterion_Type
511
+ attr_accessor :conditions
512
+ attr_accessor :text
513
+
514
+ def initialize(id = nil, criterion_Type = nil, conditions = [], text = nil)
515
+ @id = id
516
+ @criterion_Type = criterion_Type
517
+ @conditions = conditions
518
+ @text = text
519
+ end
520
+ end
521
+
522
+ # CriterionUserInterest
523
+ # - id - SOAP::SOAPLong
524
+ # - criterion_Type - SOAP::SOAPString
525
+ # - userInterestId - SOAP::SOAPLong
526
+ # - userInterestName - SOAP::SOAPString
527
+ class CriterionUserInterest < Criterion
528
+ attr_accessor :id
529
+ attr_accessor :criterion_Type
530
+ attr_accessor :userInterestId
531
+ attr_accessor :userInterestName
532
+
533
+ def initialize(id = nil, criterion_Type = nil, userInterestId = nil, userInterestName = nil)
534
+ @id = id
535
+ @criterion_Type = criterion_Type
536
+ @userInterestId = userInterestId
537
+ @userInterestName = userInterestName
538
+ end
539
+ end
540
+
541
+ # CriterionUserList
542
+ # - id - SOAP::SOAPLong
543
+ # - criterion_Type - SOAP::SOAPString
544
+ # - userListId - SOAP::SOAPLong
545
+ # - userListName - SOAP::SOAPString
546
+ # - userListMembershipStatus - AdwordsApi::V201101::BulkOpportunityService::CriterionUserListMembershipStatus
547
+ class CriterionUserList < Criterion
548
+ attr_accessor :id
549
+ attr_accessor :criterion_Type
550
+ attr_accessor :userListId
551
+ attr_accessor :userListName
552
+ attr_accessor :userListMembershipStatus
553
+
554
+ def initialize(id = nil, criterion_Type = nil, userListId = nil, userListName = nil, userListMembershipStatus = nil)
555
+ @id = id
556
+ @criterion_Type = criterion_Type
557
+ @userListId = userListId
558
+ @userListName = userListName
559
+ @userListMembershipStatus = userListMembershipStatus
560
+ end
561
+ end
562
+
563
+ # Vertical
564
+ # - id - SOAP::SOAPLong
565
+ # - criterion_Type - SOAP::SOAPString
566
+ # - path - SOAP::SOAPString
567
+ class Vertical < Criterion
568
+ attr_accessor :id
569
+ attr_accessor :criterion_Type
570
+ attr_accessor :path
571
+
572
+ def initialize(id = nil, criterion_Type = nil, path = [])
573
+ @id = id
574
+ @criterion_Type = criterion_Type
575
+ @path = path
576
+ end
577
+ end
578
+
579
+ # Paging
580
+ # - startIndex - SOAP::SOAPInt
581
+ # - numberResults - SOAP::SOAPInt
582
+ class Paging
583
+ attr_accessor :startIndex
584
+ attr_accessor :numberResults
585
+
586
+ def initialize(startIndex = nil, numberResults = nil)
587
+ @startIndex = startIndex
588
+ @numberResults = numberResults
589
+ end
590
+ end
591
+
592
+ # ProductCondition
593
+ # - argument - SOAP::SOAPString
594
+ # - operand - AdwordsApi::V201101::BulkOpportunityService::ProductConditionOperand
595
+ class ProductCondition
596
+ attr_accessor :argument
597
+ attr_accessor :operand
598
+
599
+ def initialize(argument = nil, operand = nil)
600
+ @argument = argument
601
+ @operand = operand
602
+ end
603
+ end
604
+
605
+ # ProductConditionOperand
606
+ # - operand - SOAP::SOAPString
607
+ class ProductConditionOperand
608
+ attr_accessor :operand
609
+
610
+ def initialize(operand = nil)
611
+ @operand = operand
612
+ end
613
+ end
614
+
615
+ # SoapHeader
616
+ # - authToken - SOAP::SOAPString
617
+ # - clientCustomerId - SOAP::SOAPString
618
+ # - clientEmail - SOAP::SOAPString
619
+ # - developerToken - SOAP::SOAPString
620
+ # - userAgent - SOAP::SOAPString
621
+ # - validateOnly - SOAP::SOAPBoolean
622
+ # - partialFailure - SOAP::SOAPBoolean
623
+ class SoapHeader
624
+ attr_accessor :authToken
625
+ attr_accessor :clientCustomerId
626
+ attr_accessor :clientEmail
627
+ attr_accessor :developerToken
628
+ attr_accessor :userAgent
629
+ attr_accessor :validateOnly
630
+ attr_accessor :partialFailure
631
+
632
+ def initialize(authToken = nil, clientCustomerId = nil, clientEmail = nil, developerToken = nil, userAgent = nil, validateOnly = nil, partialFailure = nil)
633
+ @authToken = authToken
634
+ @clientCustomerId = clientCustomerId
635
+ @clientEmail = clientEmail
636
+ @developerToken = developerToken
637
+ @userAgent = userAgent
638
+ @validateOnly = validateOnly
639
+ @partialFailure = partialFailure
640
+ end
641
+ end
642
+
643
+ # SoapResponseHeader
644
+ # - requestId - SOAP::SOAPString
645
+ # - operations - SOAP::SOAPLong
646
+ # - responseTime - SOAP::SOAPLong
647
+ # - units - SOAP::SOAPLong
648
+ class SoapResponseHeader
649
+ attr_accessor :requestId
650
+ attr_accessor :operations
651
+ attr_accessor :responseTime
652
+ attr_accessor :units
653
+
654
+ def initialize(requestId = nil, operations = nil, responseTime = nil, units = nil)
655
+ @requestId = requestId
656
+ @operations = operations
657
+ @responseTime = responseTime
658
+ @units = units
659
+ end
660
+ end
661
+
662
+ # DataEntry
663
+ # abstract
664
+ # - dataEntry_Type - SOAP::SOAPString
665
+ class DataEntry
666
+ attr_accessor :dataEntry_Type
667
+
668
+ def initialize(dataEntry_Type = nil)
669
+ @dataEntry_Type = dataEntry_Type
670
+ end
671
+ end
672
+
673
+ # BidLandscape
674
+ # abstract
675
+ # - dataEntry_Type - SOAP::SOAPString
676
+ # - campaignId - SOAP::SOAPLong
677
+ # - adGroupId - SOAP::SOAPLong
678
+ # - startDate - SOAP::SOAPString
679
+ # - endDate - SOAP::SOAPString
680
+ # - landscapePoints - AdwordsApi::V201101::BulkOpportunityService::BidLandscapeLandscapePoint
681
+ class BidLandscape < DataEntry
682
+ attr_accessor :dataEntry_Type
683
+ attr_accessor :campaignId
684
+ attr_accessor :adGroupId
685
+ attr_accessor :startDate
686
+ attr_accessor :endDate
687
+ attr_accessor :landscapePoints
688
+
689
+ def initialize(dataEntry_Type = nil, campaignId = nil, adGroupId = nil, startDate = nil, endDate = nil, landscapePoints = [])
690
+ @dataEntry_Type = dataEntry_Type
691
+ @campaignId = campaignId
692
+ @adGroupId = adGroupId
693
+ @startDate = startDate
694
+ @endDate = endDate
695
+ @landscapePoints = landscapePoints
696
+ end
697
+ end
698
+
699
+ # AdGroupBidLandscape
700
+ # - dataEntry_Type - SOAP::SOAPString
701
+ # - campaignId - SOAP::SOAPLong
702
+ # - adGroupId - SOAP::SOAPLong
703
+ # - startDate - SOAP::SOAPString
704
+ # - endDate - SOAP::SOAPString
705
+ # - landscapePoints - AdwordsApi::V201101::BulkOpportunityService::BidLandscapeLandscapePoint
706
+ # - type - AdwordsApi::V201101::BulkOpportunityService::AdGroupBidLandscapeType
707
+ # - landscapeCurrent - SOAP::SOAPBoolean
708
+ class AdGroupBidLandscape < BidLandscape
709
+ attr_accessor :dataEntry_Type
710
+ attr_accessor :campaignId
711
+ attr_accessor :adGroupId
712
+ attr_accessor :startDate
713
+ attr_accessor :endDate
714
+ attr_accessor :landscapePoints
715
+ attr_accessor :type
716
+ attr_accessor :landscapeCurrent
717
+
718
+ def initialize(dataEntry_Type = nil, campaignId = nil, adGroupId = nil, startDate = nil, endDate = nil, landscapePoints = [], type = nil, landscapeCurrent = nil)
719
+ @dataEntry_Type = dataEntry_Type
720
+ @campaignId = campaignId
721
+ @adGroupId = adGroupId
722
+ @startDate = startDate
723
+ @endDate = endDate
724
+ @landscapePoints = landscapePoints
725
+ @type = type
726
+ @landscapeCurrent = landscapeCurrent
727
+ end
728
+ end
729
+
730
+ # CriterionBidLandscape
731
+ # - dataEntry_Type - SOAP::SOAPString
732
+ # - campaignId - SOAP::SOAPLong
733
+ # - adGroupId - SOAP::SOAPLong
734
+ # - startDate - SOAP::SOAPString
735
+ # - endDate - SOAP::SOAPString
736
+ # - landscapePoints - AdwordsApi::V201101::BulkOpportunityService::BidLandscapeLandscapePoint
737
+ # - criterionId - SOAP::SOAPLong
738
+ class CriterionBidLandscape < BidLandscape
739
+ attr_accessor :dataEntry_Type
740
+ attr_accessor :campaignId
741
+ attr_accessor :adGroupId
742
+ attr_accessor :startDate
743
+ attr_accessor :endDate
744
+ attr_accessor :landscapePoints
745
+ attr_accessor :criterionId
746
+
747
+ def initialize(dataEntry_Type = nil, campaignId = nil, adGroupId = nil, startDate = nil, endDate = nil, landscapePoints = [], criterionId = nil)
748
+ @dataEntry_Type = dataEntry_Type
749
+ @campaignId = campaignId
750
+ @adGroupId = adGroupId
751
+ @startDate = startDate
752
+ @endDate = endDate
753
+ @landscapePoints = landscapePoints
754
+ @criterionId = criterionId
755
+ end
756
+ end
757
+
758
+ # AdFormatSpec
759
+ # - format - AdwordsApi::V201101::BulkOpportunityService::SiteConstantsAdFormat
760
+ class AdFormatSpec
761
+ attr_accessor :format
762
+
763
+ def initialize(format = nil)
764
+ @format = format
765
+ end
766
+ end
767
+
768
+ # Attribute
769
+ # abstract
770
+ # - attribute_Type - SOAP::SOAPString
771
+ class Attribute
772
+ attr_accessor :attribute_Type
773
+
774
+ def initialize(attribute_Type = nil)
775
+ @attribute_Type = attribute_Type
776
+ end
777
+ end
778
+
779
+ # AdFormatSpecListAttribute
780
+ # - attribute_Type - SOAP::SOAPString
781
+ # - value - AdwordsApi::V201101::BulkOpportunityService::AdFormatSpec
782
+ class AdFormatSpecListAttribute < Attribute
783
+ attr_accessor :attribute_Type
784
+ attr_accessor :value
785
+
786
+ def initialize(attribute_Type = nil, value = [])
787
+ @attribute_Type = attribute_Type
788
+ @value = value
789
+ end
790
+ end
791
+
792
+ # BidLandscapeAttribute
793
+ # - attribute_Type - SOAP::SOAPString
794
+ # - value - AdwordsApi::V201101::BulkOpportunityService::BidLandscape
795
+ class BidLandscapeAttribute < Attribute
796
+ attr_accessor :attribute_Type
797
+ attr_accessor :value
798
+
799
+ def initialize(attribute_Type = nil, value = nil)
800
+ @attribute_Type = attribute_Type
801
+ @value = value
802
+ end
803
+ end
804
+
805
+ # BooleanAttribute
806
+ # - attribute_Type - SOAP::SOAPString
807
+ # - value - SOAP::SOAPBoolean
808
+ class BooleanAttribute < Attribute
809
+ attr_accessor :attribute_Type
810
+ attr_accessor :value
811
+
812
+ def initialize(attribute_Type = nil, value = nil)
813
+ @attribute_Type = attribute_Type
814
+ @value = value
815
+ end
816
+ end
817
+
818
+ # CriterionAttribute
819
+ # - attribute_Type - SOAP::SOAPString
820
+ # - value - AdwordsApi::V201101::BulkOpportunityService::Criterion
821
+ class CriterionAttribute < Attribute
822
+ attr_accessor :attribute_Type
823
+ attr_accessor :value
824
+
825
+ def initialize(attribute_Type = nil, value = nil)
826
+ @attribute_Type = attribute_Type
827
+ @value = value
828
+ end
829
+ end
830
+
831
+ # DoubleAttribute
832
+ # - attribute_Type - SOAP::SOAPString
833
+ # - value - SOAP::SOAPDouble
834
+ class DoubleAttribute < Attribute
835
+ attr_accessor :attribute_Type
836
+ attr_accessor :value
837
+
838
+ def initialize(attribute_Type = nil, value = nil)
839
+ @attribute_Type = attribute_Type
840
+ @value = value
841
+ end
842
+ end
843
+
844
+ # IdeaTypeAttribute
845
+ # - attribute_Type - SOAP::SOAPString
846
+ # - value - AdwordsApi::V201101::BulkOpportunityService::IdeaType
847
+ class IdeaTypeAttribute < Attribute
848
+ attr_accessor :attribute_Type
849
+ attr_accessor :value
850
+
851
+ def initialize(attribute_Type = nil, value = nil)
852
+ @attribute_Type = attribute_Type
853
+ @value = value
854
+ end
855
+ end
856
+
857
+ # InStreamAdInfoAttribute
858
+ # - attribute_Type - SOAP::SOAPString
859
+ # - value - AdwordsApi::V201101::BulkOpportunityService::InStreamAdInfo
860
+ class InStreamAdInfoAttribute < Attribute
861
+ attr_accessor :attribute_Type
862
+ attr_accessor :value
863
+
864
+ def initialize(attribute_Type = nil, value = nil)
865
+ @attribute_Type = attribute_Type
866
+ @value = value
867
+ end
868
+ end
869
+
870
+ # IntegerAttribute
871
+ # - attribute_Type - SOAP::SOAPString
872
+ # - value - SOAP::SOAPInt
873
+ class IntegerAttribute < Attribute
874
+ attr_accessor :attribute_Type
875
+ attr_accessor :value
876
+
877
+ def initialize(attribute_Type = nil, value = nil)
878
+ @attribute_Type = attribute_Type
879
+ @value = value
880
+ end
881
+ end
882
+
883
+ # IntegerSetAttribute
884
+ # - attribute_Type - SOAP::SOAPString
885
+ # - value - SOAP::SOAPInt
886
+ class IntegerSetAttribute < Attribute
887
+ attr_accessor :attribute_Type
888
+ attr_accessor :value
889
+
890
+ def initialize(attribute_Type = nil, value = [])
891
+ @attribute_Type = attribute_Type
892
+ @value = value
893
+ end
894
+ end
895
+
896
+ # KeywordAttribute
897
+ # - attribute_Type - SOAP::SOAPString
898
+ # - value - AdwordsApi::V201101::BulkOpportunityService::Keyword
899
+ class KeywordAttribute < Attribute
900
+ attr_accessor :attribute_Type
901
+ attr_accessor :value
902
+
903
+ def initialize(attribute_Type = nil, value = nil)
904
+ @attribute_Type = attribute_Type
905
+ @value = value
906
+ end
907
+ end
908
+
909
+ # LongAttribute
910
+ # - attribute_Type - SOAP::SOAPString
911
+ # - value - SOAP::SOAPLong
912
+ class LongAttribute < Attribute
913
+ attr_accessor :attribute_Type
914
+ attr_accessor :value
915
+
916
+ def initialize(attribute_Type = nil, value = nil)
917
+ @attribute_Type = attribute_Type
918
+ @value = value
919
+ end
920
+ end
921
+
922
+ # LongRangeAttribute
923
+ # - attribute_Type - SOAP::SOAPString
924
+ # - value - AdwordsApi::V201101::BulkOpportunityService::C_Range
925
+ class LongRangeAttribute < Attribute
926
+ attr_accessor :attribute_Type
927
+ attr_accessor :value
928
+
929
+ def initialize(attribute_Type = nil, value = nil)
930
+ @attribute_Type = attribute_Type
931
+ @value = value
932
+ end
933
+ end
934
+
935
+ # MoneyAttribute
936
+ # - attribute_Type - SOAP::SOAPString
937
+ # - value - AdwordsApi::V201101::BulkOpportunityService::Money
938
+ class MoneyAttribute < Attribute
939
+ attr_accessor :attribute_Type
940
+ attr_accessor :value
941
+
942
+ def initialize(attribute_Type = nil, value = nil)
943
+ @attribute_Type = attribute_Type
944
+ @value = value
945
+ end
946
+ end
947
+
948
+ # MonthlySearchVolumeAttribute
949
+ # - attribute_Type - SOAP::SOAPString
950
+ # - value - AdwordsApi::V201101::BulkOpportunityService::MonthlySearchVolume
951
+ class MonthlySearchVolumeAttribute < Attribute
952
+ attr_accessor :attribute_Type
953
+ attr_accessor :value
954
+
955
+ def initialize(attribute_Type = nil, value = [])
956
+ @attribute_Type = attribute_Type
957
+ @value = value
958
+ end
959
+ end
960
+
961
+ # OpportunityIdeaTypeAttribute
962
+ # - attribute_Type - SOAP::SOAPString
963
+ # - value - AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaType
964
+ class OpportunityIdeaTypeAttribute < Attribute
965
+ attr_accessor :attribute_Type
966
+ attr_accessor :value
967
+
968
+ def initialize(attribute_Type = nil, value = nil)
969
+ @attribute_Type = attribute_Type
970
+ @value = value
971
+ end
972
+ end
973
+
974
+ # PlacementAttribute
975
+ # - attribute_Type - SOAP::SOAPString
976
+ # - value - AdwordsApi::V201101::BulkOpportunityService::Placement
977
+ class PlacementAttribute < Attribute
978
+ attr_accessor :attribute_Type
979
+ attr_accessor :value
980
+
981
+ def initialize(attribute_Type = nil, value = nil)
982
+ @attribute_Type = attribute_Type
983
+ @value = value
984
+ end
985
+ end
986
+
987
+ # PlacementTypeAttribute
988
+ # - attribute_Type - SOAP::SOAPString
989
+ # - value - AdwordsApi::V201101::BulkOpportunityService::SiteConstantsPlacementType
990
+ class PlacementTypeAttribute < Attribute
991
+ attr_accessor :attribute_Type
992
+ attr_accessor :value
993
+
994
+ def initialize(attribute_Type = nil, value = nil)
995
+ @attribute_Type = attribute_Type
996
+ @value = value
997
+ end
998
+ end
999
+
1000
+ # StringAttribute
1001
+ # - attribute_Type - SOAP::SOAPString
1002
+ # - value - SOAP::SOAPString
1003
+ class StringAttribute < Attribute
1004
+ attr_accessor :attribute_Type
1005
+ attr_accessor :value
1006
+
1007
+ def initialize(attribute_Type = nil, value = nil)
1008
+ @attribute_Type = attribute_Type
1009
+ @value = value
1010
+ end
1011
+ end
1012
+
1013
+ # WebpageDescriptorAttribute
1014
+ # - attribute_Type - SOAP::SOAPString
1015
+ # - value - AdwordsApi::V201101::BulkOpportunityService::WebpageDescriptor
1016
+ class WebpageDescriptorAttribute < Attribute
1017
+ attr_accessor :attribute_Type
1018
+ attr_accessor :value
1019
+
1020
+ def initialize(attribute_Type = nil, value = nil)
1021
+ @attribute_Type = attribute_Type
1022
+ @value = value
1023
+ end
1024
+ end
1025
+
1026
+ # BulkOpportunityPage
1027
+ # - entries - AdwordsApi::V201101::BulkOpportunityService::Opportunity
1028
+ # - totalNumEntries - SOAP::SOAPInt
1029
+ class BulkOpportunityPage
1030
+ attr_accessor :entries
1031
+ attr_accessor :totalNumEntries
1032
+
1033
+ def initialize(entries = [], totalNumEntries = nil)
1034
+ @entries = entries
1035
+ @totalNumEntries = totalNumEntries
1036
+ end
1037
+ end
1038
+
1039
+ # BulkOpportunitySelector
1040
+ # - ideaTypes - AdwordsApi::V201101::BulkOpportunityService::OpportunityIdeaType
1041
+ # - requestedAttributeTypes - AdwordsApi::V201101::BulkOpportunityService::OpportunityAttributeType
1042
+ # - paging - AdwordsApi::V201101::BulkOpportunityService::Paging
1043
+ class BulkOpportunitySelector
1044
+ attr_accessor :ideaTypes
1045
+ attr_accessor :requestedAttributeTypes
1046
+ attr_accessor :paging
1047
+
1048
+ def initialize(ideaTypes = [], requestedAttributeTypes = [], paging = nil)
1049
+ @ideaTypes = ideaTypes
1050
+ @requestedAttributeTypes = requestedAttributeTypes
1051
+ @paging = paging
1052
+ end
1053
+ end
1054
+
1055
+ # InStreamAdInfo
1056
+ # - maxAdDuration - SOAP::SOAPInt
1057
+ # - minAdDuration - SOAP::SOAPInt
1058
+ # - medianAdDuration - SOAP::SOAPInt
1059
+ # - preRollPercent - SOAP::SOAPDouble
1060
+ # - midRollPercent - SOAP::SOAPDouble
1061
+ # - postRollPercent - SOAP::SOAPDouble
1062
+ class InStreamAdInfo
1063
+ attr_accessor :maxAdDuration
1064
+ attr_accessor :minAdDuration
1065
+ attr_accessor :medianAdDuration
1066
+ attr_accessor :preRollPercent
1067
+ attr_accessor :midRollPercent
1068
+ attr_accessor :postRollPercent
1069
+
1070
+ def initialize(maxAdDuration = nil, minAdDuration = nil, medianAdDuration = nil, preRollPercent = nil, midRollPercent = nil, postRollPercent = nil)
1071
+ @maxAdDuration = maxAdDuration
1072
+ @minAdDuration = minAdDuration
1073
+ @medianAdDuration = medianAdDuration
1074
+ @preRollPercent = preRollPercent
1075
+ @midRollPercent = midRollPercent
1076
+ @postRollPercent = postRollPercent
1077
+ end
1078
+ end
1079
+
1080
+ # MonthlySearchVolume
1081
+ # - year - SOAP::SOAPInt
1082
+ # - month - SOAP::SOAPInt
1083
+ # - count - SOAP::SOAPLong
1084
+ class MonthlySearchVolume
1085
+ attr_accessor :year
1086
+ attr_accessor :month
1087
+ attr_accessor :count
1088
+
1089
+ def initialize(year = nil, month = nil, count = nil)
1090
+ @year = year
1091
+ @month = month
1092
+ @count = count
1093
+ end
1094
+ end
1095
+
1096
+ # Opportunity
1097
+ # - opportunityIdeas - AdwordsApi::V201101::BulkOpportunityService::OpportunityIdea
1098
+ class Opportunity
1099
+ attr_accessor :opportunityIdeas
1100
+
1101
+ def initialize(opportunityIdeas = [])
1102
+ @opportunityIdeas = opportunityIdeas
1103
+ end
1104
+ end
1105
+
1106
+ # OpportunityAttribute_AttributeMapEntry
1107
+ # - key - AdwordsApi::V201101::BulkOpportunityService::OpportunityAttributeType
1108
+ # - value - AdwordsApi::V201101::BulkOpportunityService::Attribute
1109
+ class OpportunityAttribute_AttributeMapEntry
1110
+ attr_accessor :key
1111
+ attr_accessor :value
1112
+
1113
+ def initialize(key = nil, value = nil)
1114
+ @key = key
1115
+ @value = value
1116
+ end
1117
+ end
1118
+
1119
+ # OpportunityIdea
1120
+ # - data - AdwordsApi::V201101::BulkOpportunityService::OpportunityAttribute_AttributeMapEntry
1121
+ class OpportunityIdea
1122
+ attr_accessor :data
1123
+
1124
+ def initialize(data = [])
1125
+ @data = data
1126
+ end
1127
+ end
1128
+
1129
+ # Range
1130
+ # - min - AdwordsApi::V201101::BulkOpportunityService::ComparableValue
1131
+ # - max - AdwordsApi::V201101::BulkOpportunityService::ComparableValue
1132
+ class C_Range
1133
+ attr_accessor :min
1134
+ attr_accessor :max
1135
+
1136
+ def initialize(min = nil, max = nil)
1137
+ @min = min
1138
+ @max = max
1139
+ end
1140
+ end
1141
+
1142
+ # WebpageDescriptor
1143
+ # - url - SOAP::SOAPString
1144
+ # - title - SOAP::SOAPString
1145
+ class WebpageDescriptor
1146
+ attr_accessor :url
1147
+ attr_accessor :title
1148
+
1149
+ def initialize(url = nil, title = nil)
1150
+ @url = url
1151
+ @title = title
1152
+ end
1153
+ end
1154
+
1155
+ # AdGroupBidLandscape.Type
1156
+ class AdGroupBidLandscapeType < ::String
1157
+ DEFAULT = AdGroupBidLandscapeType.new("DEFAULT")
1158
+ UNIFORM = AdGroupBidLandscapeType.new("UNIFORM")
1159
+ UNKNOWN = AdGroupBidLandscapeType.new("UNKNOWN")
1160
+ end
1161
+
1162
+ # AuthenticationError.Reason
1163
+ class AuthenticationErrorReason < ::String
1164
+ AUTHENTICATION_FAILED = AuthenticationErrorReason.new("AUTHENTICATION_FAILED")
1165
+ CLIENT_CUSTOMER_ID_INVALID = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_INVALID")
1166
+ CLIENT_CUSTOMER_ID_IS_REQUIRED = AuthenticationErrorReason.new("CLIENT_CUSTOMER_ID_IS_REQUIRED")
1167
+ CLIENT_EMAIL_FAILED_TO_AUTHENTICATE = AuthenticationErrorReason.new("CLIENT_EMAIL_FAILED_TO_AUTHENTICATE")
1168
+ CLIENT_EMAIL_INVALID = AuthenticationErrorReason.new("CLIENT_EMAIL_INVALID")
1169
+ CLIENT_EMAIL_REQUIRED = AuthenticationErrorReason.new("CLIENT_EMAIL_REQUIRED")
1170
+ CUSTOMER_NOT_FOUND = AuthenticationErrorReason.new("CUSTOMER_NOT_FOUND")
1171
+ FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT = AuthenticationErrorReason.new("FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT")
1172
+ FAILED_TO_RETRIEVE_LOGIN_COOKIE = AuthenticationErrorReason.new("FAILED_TO_RETRIEVE_LOGIN_COOKIE")
1173
+ GOOGLE_ACCOUNT_COOKIE_INVALID = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_COOKIE_INVALID")
1174
+ GOOGLE_ACCOUNT_DELETED = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_DELETED")
1175
+ GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = AuthenticationErrorReason.new("GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH")
1176
+ LOGIN_COOKIE_INVALID = AuthenticationErrorReason.new("LOGIN_COOKIE_INVALID")
1177
+ LOGIN_COOKIE_REQUIRED = AuthenticationErrorReason.new("LOGIN_COOKIE_REQUIRED")
1178
+ NOT_ADS_USER = AuthenticationErrorReason.new("NOT_ADS_USER")
1179
+ OAUTH_TOKEN_DISABLED = AuthenticationErrorReason.new("OAUTH_TOKEN_DISABLED")
1180
+ OAUTH_TOKEN_EXPIRED = AuthenticationErrorReason.new("OAUTH_TOKEN_EXPIRED")
1181
+ OAUTH_TOKEN_HEADER_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_HEADER_INVALID")
1182
+ OAUTH_TOKEN_INVALID = AuthenticationErrorReason.new("OAUTH_TOKEN_INVALID")
1183
+ OAUTH_TOKEN_REVOKED = AuthenticationErrorReason.new("OAUTH_TOKEN_REVOKED")
1184
+ USER_ID_INVALID = AuthenticationErrorReason.new("USER_ID_INVALID")
1185
+ end
1186
+
1187
+ # AuthorizationError.Reason
1188
+ class AuthorizationErrorReason < ::String
1189
+ EFFECTIVE_USER_PERMISSION_DENIED = AuthorizationErrorReason.new("EFFECTIVE_USER_PERMISSION_DENIED")
1190
+ NO_ADWORDS_ACCOUNT_FOR_CUSTOMER = AuthorizationErrorReason.new("NO_ADWORDS_ACCOUNT_FOR_CUSTOMER")
1191
+ NO_CUSTOMER_FOUND = AuthorizationErrorReason.new("NO_CUSTOMER_FOUND")
1192
+ UNABLE_TO_AUTHORIZE = AuthorizationErrorReason.new("UNABLE_TO_AUTHORIZE")
1193
+ USER_HAS_READONLY_PERMISSION = AuthorizationErrorReason.new("USER_HAS_READONLY_PERMISSION")
1194
+ USER_PERMISSION_DENIED = AuthorizationErrorReason.new("USER_PERMISSION_DENIED")
1195
+ end
1196
+
1197
+ # ClientTermsError.Reason
1198
+ class ClientTermsErrorReason < ::String
1199
+ INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED = ClientTermsErrorReason.new("INCOMPLETE_SIGNUP_CURRENT_ADWORDS_TNC_NOT_AGREED")
1200
+ end
1201
+
1202
+ # DatabaseError.Reason
1203
+ class DatabaseErrorReason < ::String
1204
+ CAMPAIGN_PRODUCT_NOT_SUPPORTED = DatabaseErrorReason.new("CAMPAIGN_PRODUCT_NOT_SUPPORTED")
1205
+ CONCURRENT_MODIFICATION = DatabaseErrorReason.new("CONCURRENT_MODIFICATION")
1206
+ DATABASE_ERROR = DatabaseErrorReason.new("DATABASE_ERROR")
1207
+ DUPLICATE_KEY = DatabaseErrorReason.new("DUPLICATE_KEY")
1208
+ PERMISSION_DENIED = DatabaseErrorReason.new("PERMISSION_DENIED")
1209
+ UNKNOWN = DatabaseErrorReason.new("UNKNOWN")
1210
+ end
1211
+
1212
+ # InternalApiError.Reason
1213
+ class InternalApiErrorReason < ::String
1214
+ UNEXPECTED_INTERNAL_API_ERROR = InternalApiErrorReason.new("UNEXPECTED_INTERNAL_API_ERROR")
1215
+ UNKNOWN = InternalApiErrorReason.new("UNKNOWN")
1216
+ end
1217
+
1218
+ # KeywordMatchType
1219
+ class KeywordMatchType < ::String
1220
+ BROAD = KeywordMatchType.new("BROAD")
1221
+ EXACT = KeywordMatchType.new("EXACT")
1222
+ PHRASE = KeywordMatchType.new("PHRASE")
1223
+ end
1224
+
1225
+ # NotWhitelistedError.Reason
1226
+ class NotWhitelistedErrorReason < ::String
1227
+ CUSTOMER_NOT_WHITELISTED_FOR_API = NotWhitelistedErrorReason.new("CUSTOMER_NOT_WHITELISTED_FOR_API")
1228
+ end
1229
+
1230
+ # NullError.Reason
1231
+ class NullErrorReason < ::String
1232
+ NULL_CONTENT = NullErrorReason.new("NULL_CONTENT")
1233
+ end
1234
+
1235
+ # QuotaCheckError.Reason
1236
+ class QuotaCheckErrorReason < ::String
1237
+ ACCOUNT_DELINQUENT = QuotaCheckErrorReason.new("ACCOUNT_DELINQUENT")
1238
+ ACCOUNT_INACCESSIBLE = QuotaCheckErrorReason.new("ACCOUNT_INACCESSIBLE")
1239
+ ACCOUNT_INACTIVE = QuotaCheckErrorReason.new("ACCOUNT_INACTIVE")
1240
+ INCOMPLETE_SIGNUP = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP")
1241
+ INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_LATEST_ADWORDS_API_TNC_NOT_AGREED")
1242
+ INCOMPLETE_SIGNUP_NO_BILLING_INFO = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_NO_BILLING_INFO")
1243
+ INCOMPLETE_SIGNUP_USER_INFO_MISSING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_MISSING")
1244
+ INCOMPLETE_SIGNUP_USER_INFO_PENDING = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_PENDING")
1245
+ INCOMPLETE_SIGNUP_USER_INFO_REJECTED = QuotaCheckErrorReason.new("INCOMPLETE_SIGNUP_USER_INFO_REJECTED")
1246
+ INVALID_TOKEN_HEADER = QuotaCheckErrorReason.new("INVALID_TOKEN_HEADER")
1247
+ MONTHLY_BUDGET_REACHED = QuotaCheckErrorReason.new("MONTHLY_BUDGET_REACHED")
1248
+ QUOTA_EXCEEDED = QuotaCheckErrorReason.new("QUOTA_EXCEEDED")
1249
+ end
1250
+
1251
+ # RateExceededError.Reason
1252
+ class RateExceededErrorReason < ::String
1253
+ RATE_EXCEEDED = RateExceededErrorReason.new("RATE_EXCEEDED")
1254
+ end
1255
+
1256
+ # RequestError.Reason
1257
+ class RequestErrorReason < ::String
1258
+ INVALID_INPUT = RequestErrorReason.new("INVALID_INPUT")
1259
+ UNKNOWN = RequestErrorReason.new("UNKNOWN")
1260
+ end
1261
+
1262
+ # RequiredError.Reason
1263
+ class RequiredErrorReason < ::String
1264
+ REQUIRED = RequiredErrorReason.new("REQUIRED")
1265
+ end
1266
+
1267
+ # SizeLimitError.Reason
1268
+ class SizeLimitErrorReason < ::String
1269
+ REQUEST_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("REQUEST_SIZE_LIMIT_EXCEEDED")
1270
+ RESPONSE_SIZE_LIMIT_EXCEEDED = SizeLimitErrorReason.new("RESPONSE_SIZE_LIMIT_EXCEEDED")
1271
+ UNKNOWN = SizeLimitErrorReason.new("UNKNOWN")
1272
+ end
1273
+
1274
+ # CriterionUserList.MembershipStatus
1275
+ class CriterionUserListMembershipStatus < ::String
1276
+ CLOSED = CriterionUserListMembershipStatus.new("CLOSED")
1277
+ OPEN = CriterionUserListMembershipStatus.new("OPEN")
1278
+ end
1279
+
1280
+ # BulkOpportunityServiceError.Reason
1281
+ class BulkOpportunityServiceErrorReason < ::String
1282
+ BULK_OPPORTUNITY_SERVICE_ERROR = BulkOpportunityServiceErrorReason.new("BULK_OPPORTUNITY_SERVICE_ERROR")
1283
+ INVALID_PAGING = BulkOpportunityServiceErrorReason.new("INVALID_PAGING")
1284
+ TOO_MANY_RESULTS_REQUESTED = BulkOpportunityServiceErrorReason.new("TOO_MANY_RESULTS_REQUESTED")
1285
+ end
1286
+
1287
+ # IdeaType
1288
+ class IdeaType < ::String
1289
+ KEYWORD = IdeaType.new("KEYWORD")
1290
+ PLACEMENT = IdeaType.new("PLACEMENT")
1291
+ end
1292
+
1293
+ # OpportunityAttributeType
1294
+ class OpportunityAttributeType < ::String
1295
+ ADGROUP_ID = OpportunityAttributeType.new("ADGROUP_ID")
1296
+ AVERAGE_MONTHLY_SEARCHES = OpportunityAttributeType.new("AVERAGE_MONTHLY_SEARCHES")
1297
+ BID_LANDSCAPE = OpportunityAttributeType.new("BID_LANDSCAPE")
1298
+ CAMPAIGN_ID = OpportunityAttributeType.new("CAMPAIGN_ID")
1299
+ CLICKS_CHANGE = OpportunityAttributeType.new("CLICKS_CHANGE")
1300
+ COST_CHANGE = OpportunityAttributeType.new("COST_CHANGE")
1301
+ CURRENT_BID = OpportunityAttributeType.new("CURRENT_BID")
1302
+ CURRENT_BUDGET = OpportunityAttributeType.new("CURRENT_BUDGET")
1303
+ CUSTOMER_ID = OpportunityAttributeType.new("CUSTOMER_ID")
1304
+ IDEA_TYPE = OpportunityAttributeType.new("IDEA_TYPE")
1305
+ IMPRESSIONS_CHANGE = OpportunityAttributeType.new("IMPRESSIONS_CHANGE")
1306
+ KEYWORD = OpportunityAttributeType.new("KEYWORD")
1307
+ NEW_BID = OpportunityAttributeType.new("NEW_BID")
1308
+ NEW_BUDGET = OpportunityAttributeType.new("NEW_BUDGET")
1309
+ UNKNOWN = OpportunityAttributeType.new("UNKNOWN")
1310
+ end
1311
+
1312
+ # OpportunityError.Reason
1313
+ class OpportunityErrorReason < ::String
1314
+ OPPORTUNITY_DOES_NOT_EXIST = OpportunityErrorReason.new("OPPORTUNITY_DOES_NOT_EXIST")
1315
+ RPC_ERROR = OpportunityErrorReason.new("RPC_ERROR")
1316
+ end
1317
+
1318
+ # OpportunityIdeaType
1319
+ class OpportunityIdeaType < ::String
1320
+ BID = OpportunityIdeaType.new("BID")
1321
+ BUDGET = OpportunityIdeaType.new("BUDGET")
1322
+ KEYWORD = OpportunityIdeaType.new("KEYWORD")
1323
+ end
1324
+
1325
+ # SiteConstants.AdFormat
1326
+ class SiteConstantsAdFormat < ::String
1327
+ AUDIO = SiteConstantsAdFormat.new("AUDIO")
1328
+ IMAGE = SiteConstantsAdFormat.new("IMAGE")
1329
+ INSTREAM = SiteConstantsAdFormat.new("INSTREAM")
1330
+ TEXT = SiteConstantsAdFormat.new("TEXT")
1331
+ UNKNOWN = SiteConstantsAdFormat.new("UNKNOWN")
1332
+ VIDEO = SiteConstantsAdFormat.new("VIDEO")
1333
+ end
1334
+
1335
+ # SiteConstants.PlacementType
1336
+ class SiteConstantsPlacementType < ::String
1337
+ AUDIO = SiteConstantsPlacementType.new("AUDIO")
1338
+ FEED = SiteConstantsPlacementType.new("FEED")
1339
+ GAME = SiteConstantsPlacementType.new("GAME")
1340
+ MOBILE = SiteConstantsPlacementType.new("MOBILE")
1341
+ SITE = SiteConstantsPlacementType.new("SITE")
1342
+ UNKNOWN = SiteConstantsPlacementType.new("UNKNOWN")
1343
+ VIDEO = SiteConstantsPlacementType.new("VIDEO")
1344
+ end
1345
+
1346
+ # get
1347
+ # - selector - AdwordsApi::V201101::BulkOpportunityService::BulkOpportunitySelector
1348
+ class Get #:nodoc: all
1349
+ attr_accessor :selector
1350
+
1351
+ def initialize(selector = nil)
1352
+ @selector = selector
1353
+ end
1354
+ end
1355
+
1356
+ # getResponse
1357
+ # - rval - AdwordsApi::V201101::BulkOpportunityService::BulkOpportunityPage
1358
+ class GetResponse #:nodoc: all
1359
+ attr_accessor :rval
1360
+
1361
+ def initialize(rval = nil)
1362
+ @rval = rval
1363
+ end
1364
+ end
1365
+
1366
+
1367
+ end; end; end