ysm4r 0.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.
- data/Authors.txt +2 -0
- data/ChangeLog.txt +1 -0
- data/License.txt +13 -0
- data/Rakefile +209 -0
- data/Readme.txt +4 -0
- data/clean.sh +3 -0
- data/lib/soapex/driver.rb +13 -0
- data/lib/soapex/error.rb +49 -0
- data/lib/soapex/mapping.rb +31 -0
- data/lib/soapex/wsdl2ruby.rb +166 -0
- data/lib/ysm4r.rb +4 -0
- data/lib/ysm4r/client.rb +120 -0
- data/lib/ysm4r/service.rb +68 -0
- data/lib/ysm4r/v1/AccountService.rb +370 -0
- data/lib/ysm4r/v1/AccountServiceDriver.rb +162 -0
- data/lib/ysm4r/v1/AccountServiceMappingRegistry.rb +509 -0
- data/lib/ysm4r/v1/AdGroupService.rb +649 -0
- data/lib/ysm4r/v1/AdGroupServiceDriver.rb +226 -0
- data/lib/ysm4r/v1/AdGroupServiceMappingRegistry.rb +864 -0
- data/lib/ysm4r/v1/AdService.rb +533 -0
- data/lib/ysm4r/v1/AdServiceDriver.rb +178 -0
- data/lib/ysm4r/v1/AdServiceMappingRegistry.rb +753 -0
- data/lib/ysm4r/v1/BasicReportService.rb +259 -0
- data/lib/ysm4r/v1/BasicReportServiceDriver.rb +98 -0
- data/lib/ysm4r/v1/BasicReportServiceMappingRegistry.rb +389 -0
- data/lib/ysm4r/v1/BidInformationService.rb +69 -0
- data/lib/ysm4r/v1/BidInformationServiceDriver.rb +50 -0
- data/lib/ysm4r/v1/BidInformationServiceMappingRegistry.rb +135 -0
- data/lib/ysm4r/v1/BudgetingService.rb +161 -0
- data/lib/ysm4r/v1/BudgetingServiceDriver.rb +98 -0
- data/lib/ysm4r/v1/BudgetingServiceMappingRegistry.rb +230 -0
- data/lib/ysm4r/v1/CampaignService.rb +644 -0
- data/lib/ysm4r/v1/CampaignServiceDriver.rb +210 -0
- data/lib/ysm4r/v1/CampaignServiceMappingRegistry.rb +909 -0
- data/lib/ysm4r/v1/ExcludedWordsService.rb +294 -0
- data/lib/ysm4r/v1/ExcludedWordsServiceDriver.rb +122 -0
- data/lib/ysm4r/v1/ExcludedWordsServiceMappingRegistry.rb +469 -0
- data/lib/ysm4r/v1/ForecastService.rb +200 -0
- data/lib/ysm4r/v1/ForecastServiceDriver.rb +66 -0
- data/lib/ysm4r/v1/ForecastServiceMappingRegistry.rb +359 -0
- data/lib/ysm4r/v1/KeywordResearchService.rb +290 -0
- data/lib/ysm4r/v1/KeywordResearchServiceDriver.rb +66 -0
- data/lib/ysm4r/v1/KeywordResearchServiceMappingRegistry.rb +548 -0
- data/lib/ysm4r/v1/KeywordService.rb +671 -0
- data/lib/ysm4r/v1/KeywordServiceDriver.rb +218 -0
- data/lib/ysm4r/v1/KeywordServiceMappingRegistry.rb +913 -0
- data/lib/ysm4r/v1/LocationService.rb +53 -0
- data/lib/ysm4r/v1/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v1/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v1/MasterAccountService.rb +289 -0
- data/lib/ysm4r/v1/MasterAccountServiceDriver.rb +74 -0
- data/lib/ysm4r/v1/MasterAccountServiceMappingRegistry.rb +414 -0
- data/lib/ysm4r/v1/UpgradeService.rb +72 -0
- data/lib/ysm4r/v1/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v1/UpgradeServiceMappingRegistry.rb +145 -0
- data/lib/ysm4r/v1/UserManagementService.rb +766 -0
- data/lib/ysm4r/v1/UserManagementServiceDriver.rb +290 -0
- data/lib/ysm4r/v1/UserManagementServiceMappingRegistry.rb +1057 -0
- data/lib/ysm4r/v1/sandbox/LocationService.rb +53 -0
- data/lib/ysm4r/v1/sandbox/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v1/sandbox/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v1/sandbox/UpgradeService.rb +72 -0
- data/lib/ysm4r/v1/sandbox/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v1/sandbox/UpgradeServiceMappingRegistry.rb +145 -0
- data/lib/ysm4r/v2/AccountService.rb +372 -0
- data/lib/ysm4r/v2/AccountServiceDriver.rb +162 -0
- data/lib/ysm4r/v2/AccountServiceMappingRegistry.rb +510 -0
- data/lib/ysm4r/v2/AdGroupService.rb +649 -0
- data/lib/ysm4r/v2/AdGroupServiceDriver.rb +226 -0
- data/lib/ysm4r/v2/AdGroupServiceMappingRegistry.rb +864 -0
- data/lib/ysm4r/v2/AdService.rb +553 -0
- data/lib/ysm4r/v2/AdServiceDriver.rb +186 -0
- data/lib/ysm4r/v2/AdServiceMappingRegistry.rb +774 -0
- data/lib/ysm4r/v2/BasicReportService.rb +272 -0
- data/lib/ysm4r/v2/BasicReportServiceDriver.rb +98 -0
- data/lib/ysm4r/v2/BasicReportServiceMappingRegistry.rb +389 -0
- data/lib/ysm4r/v2/BidInformationService.rb +109 -0
- data/lib/ysm4r/v2/BidInformationServiceDriver.rb +66 -0
- data/lib/ysm4r/v2/BidInformationServiceMappingRegistry.rb +177 -0
- data/lib/ysm4r/v2/BudgetingService.rb +161 -0
- data/lib/ysm4r/v2/BudgetingServiceDriver.rb +98 -0
- data/lib/ysm4r/v2/BudgetingServiceMappingRegistry.rb +230 -0
- data/lib/ysm4r/v2/CampaignService.rb +644 -0
- data/lib/ysm4r/v2/CampaignServiceDriver.rb +210 -0
- data/lib/ysm4r/v2/CampaignServiceMappingRegistry.rb +909 -0
- data/lib/ysm4r/v2/CompanyService.rb +68 -0
- data/lib/ysm4r/v2/CompanyServiceDriver.rb +50 -0
- data/lib/ysm4r/v2/CompanyServiceMappingRegistry.rb +136 -0
- data/lib/ysm4r/v2/ExcludedWordsService.rb +294 -0
- data/lib/ysm4r/v2/ExcludedWordsServiceDriver.rb +122 -0
- data/lib/ysm4r/v2/ExcludedWordsServiceMappingRegistry.rb +469 -0
- data/lib/ysm4r/v2/ForecastService.rb +200 -0
- data/lib/ysm4r/v2/ForecastServiceDriver.rb +66 -0
- data/lib/ysm4r/v2/ForecastServiceMappingRegistry.rb +359 -0
- data/lib/ysm4r/v2/KeywordResearchService.rb +369 -0
- data/lib/ysm4r/v2/KeywordResearchServiceDriver.rb +82 -0
- data/lib/ysm4r/v2/KeywordResearchServiceMappingRegistry.rb +673 -0
- data/lib/ysm4r/v2/KeywordService.rb +691 -0
- data/lib/ysm4r/v2/KeywordServiceDriver.rb +226 -0
- data/lib/ysm4r/v2/KeywordServiceMappingRegistry.rb +934 -0
- data/lib/ysm4r/v2/LocationService.rb +53 -0
- data/lib/ysm4r/v2/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v2/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v2/MasterAccountService.rb +332 -0
- data/lib/ysm4r/v2/MasterAccountServiceDriver.rb +82 -0
- data/lib/ysm4r/v2/MasterAccountServiceMappingRegistry.rb +480 -0
- data/lib/ysm4r/v2/UpgradeService.rb +72 -0
- data/lib/ysm4r/v2/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v2/UpgradeServiceMappingRegistry.rb +145 -0
- data/lib/ysm4r/v2/UserManagementService.rb +766 -0
- data/lib/ysm4r/v2/UserManagementServiceDriver.rb +290 -0
- data/lib/ysm4r/v2/UserManagementServiceMappingRegistry.rb +1057 -0
- data/lib/ysm4r/v2/sandbox/LocationService.rb +53 -0
- data/lib/ysm4r/v2/sandbox/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v2/sandbox/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v2/sandbox/UpgradeService.rb +72 -0
- data/lib/ysm4r/v2/sandbox/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v2/sandbox/UpgradeServiceMappingRegistry.rb +145 -0
- data/setup.rb +1585 -0
- data/test/test_campaign_service.rb +12 -0
- data/test/test_keyword_research_service.rb +15 -0
- data/test/test_master_account_service.rb +18 -0
- data/ysm.properties +6 -0
- metadata +171 -0
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
require 'xsd/qname'
|
|
2
|
+
|
|
3
|
+
module YSM::AdGroupService
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# {http://marketing.ews.yahooapis.com/V2}AdGroup
|
|
7
|
+
class AdGroup
|
|
8
|
+
attr_accessor :iD
|
|
9
|
+
attr_accessor :accountID
|
|
10
|
+
attr_accessor :adAutoOptimizationON
|
|
11
|
+
attr_accessor :advancedMatchON
|
|
12
|
+
attr_accessor :campaignID
|
|
13
|
+
attr_accessor :contentMatchMaxBid
|
|
14
|
+
attr_accessor :contentMatchMaxBidTimestamp
|
|
15
|
+
attr_accessor :contentMatchON
|
|
16
|
+
attr_accessor :createTimestamp
|
|
17
|
+
attr_accessor :deleteTimestamp
|
|
18
|
+
attr_accessor :lastUpdateTimestamp
|
|
19
|
+
attr_accessor :name
|
|
20
|
+
attr_accessor :sponsoredSearchMaxBid
|
|
21
|
+
attr_accessor :sponsoredSearchMaxBidTimestamp
|
|
22
|
+
attr_accessor :sponsoredSearchON
|
|
23
|
+
attr_accessor :status
|
|
24
|
+
attr_accessor :watchON
|
|
25
|
+
|
|
26
|
+
def initialize(iD = nil, accountID = nil, adAutoOptimizationON = nil, advancedMatchON = nil, campaignID = nil, contentMatchMaxBid = nil, contentMatchMaxBidTimestamp = nil, contentMatchON = nil, createTimestamp = nil, deleteTimestamp = nil, lastUpdateTimestamp = nil, name = nil, sponsoredSearchMaxBid = nil, sponsoredSearchMaxBidTimestamp = nil, sponsoredSearchON = nil, status = nil, watchON = nil)
|
|
27
|
+
@iD = iD
|
|
28
|
+
@accountID = accountID
|
|
29
|
+
@adAutoOptimizationON = adAutoOptimizationON
|
|
30
|
+
@advancedMatchON = advancedMatchON
|
|
31
|
+
@campaignID = campaignID
|
|
32
|
+
@contentMatchMaxBid = contentMatchMaxBid
|
|
33
|
+
@contentMatchMaxBidTimestamp = contentMatchMaxBidTimestamp
|
|
34
|
+
@contentMatchON = contentMatchON
|
|
35
|
+
@createTimestamp = createTimestamp
|
|
36
|
+
@deleteTimestamp = deleteTimestamp
|
|
37
|
+
@lastUpdateTimestamp = lastUpdateTimestamp
|
|
38
|
+
@name = name
|
|
39
|
+
@sponsoredSearchMaxBid = sponsoredSearchMaxBid
|
|
40
|
+
@sponsoredSearchMaxBidTimestamp = sponsoredSearchMaxBidTimestamp
|
|
41
|
+
@sponsoredSearchON = sponsoredSearchON
|
|
42
|
+
@status = status
|
|
43
|
+
@watchON = watchON
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# {http://marketing.ews.yahooapis.com/V2}AdGroupResponse
|
|
48
|
+
class AdGroupResponse
|
|
49
|
+
attr_accessor :adGroup
|
|
50
|
+
attr_accessor :errors
|
|
51
|
+
attr_accessor :operationSucceeded
|
|
52
|
+
|
|
53
|
+
def initialize(adGroup = nil, errors = nil, operationSucceeded = nil)
|
|
54
|
+
@adGroup = adGroup
|
|
55
|
+
@errors = errors
|
|
56
|
+
@operationSucceeded = operationSucceeded
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfError
|
|
61
|
+
class ArrayOfError < ::Array
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# {http://marketing.ews.yahooapis.com/V2}Error
|
|
65
|
+
class Error
|
|
66
|
+
attr_accessor :code
|
|
67
|
+
attr_accessor :message
|
|
68
|
+
|
|
69
|
+
def initialize(code = nil, message = nil)
|
|
70
|
+
@code = code
|
|
71
|
+
@message = message
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# {http://marketing.ews.yahooapis.com/V2}ApiFault
|
|
76
|
+
class ApiFault < ::StandardError
|
|
77
|
+
attr_accessor :code
|
|
78
|
+
attr_accessor :message
|
|
79
|
+
|
|
80
|
+
def initialize(code = nil, message = nil)
|
|
81
|
+
@code = code
|
|
82
|
+
@message = message
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfLong
|
|
87
|
+
class ArrayOfLong < ::Array
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfAdGroupResponse
|
|
91
|
+
class ArrayOfAdGroupResponse < ::Array
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# {http://marketing.ews.yahooapis.com/V2}AdGroupOptimizationGuidelines
|
|
95
|
+
class AdGroupOptimizationGuidelines
|
|
96
|
+
attr_accessor :cPA
|
|
97
|
+
attr_accessor :cPC
|
|
98
|
+
attr_accessor :cPM
|
|
99
|
+
attr_accessor :rOAS
|
|
100
|
+
attr_accessor :accountID
|
|
101
|
+
attr_accessor :adGroupID
|
|
102
|
+
attr_accessor :averageConversionRate
|
|
103
|
+
attr_accessor :averageRevenuePerConversion
|
|
104
|
+
attr_accessor :campaignID
|
|
105
|
+
attr_accessor :contentMatchMaxBid
|
|
106
|
+
attr_accessor :conversionImportance
|
|
107
|
+
attr_accessor :createTimestamp
|
|
108
|
+
attr_accessor :impressionImportance
|
|
109
|
+
attr_accessor :lastUpdateTimestamp
|
|
110
|
+
attr_accessor :leadImportance
|
|
111
|
+
attr_accessor :sponsoredSearchMaxBid
|
|
112
|
+
attr_accessor :sponsoredSearchMinPosition
|
|
113
|
+
attr_accessor :sponsoredSearchMinPositionImportance
|
|
114
|
+
|
|
115
|
+
def initialize(cPA = nil, cPC = nil, cPM = nil, rOAS = nil, accountID = nil, adGroupID = nil, averageConversionRate = nil, averageRevenuePerConversion = nil, campaignID = nil, contentMatchMaxBid = nil, conversionImportance = nil, createTimestamp = nil, impressionImportance = nil, lastUpdateTimestamp = nil, leadImportance = nil, sponsoredSearchMaxBid = nil, sponsoredSearchMinPosition = nil, sponsoredSearchMinPositionImportance = nil)
|
|
116
|
+
@cPA = cPA
|
|
117
|
+
@cPC = cPC
|
|
118
|
+
@cPM = cPM
|
|
119
|
+
@rOAS = rOAS
|
|
120
|
+
@accountID = accountID
|
|
121
|
+
@adGroupID = adGroupID
|
|
122
|
+
@averageConversionRate = averageConversionRate
|
|
123
|
+
@averageRevenuePerConversion = averageRevenuePerConversion
|
|
124
|
+
@campaignID = campaignID
|
|
125
|
+
@contentMatchMaxBid = contentMatchMaxBid
|
|
126
|
+
@conversionImportance = conversionImportance
|
|
127
|
+
@createTimestamp = createTimestamp
|
|
128
|
+
@impressionImportance = impressionImportance
|
|
129
|
+
@lastUpdateTimestamp = lastUpdateTimestamp
|
|
130
|
+
@leadImportance = leadImportance
|
|
131
|
+
@sponsoredSearchMaxBid = sponsoredSearchMaxBid
|
|
132
|
+
@sponsoredSearchMinPosition = sponsoredSearchMinPosition
|
|
133
|
+
@sponsoredSearchMinPositionImportance = sponsoredSearchMinPositionImportance
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# {http://marketing.ews.yahooapis.com/V2}AdGroupOptimizationGuidelinesResponse
|
|
138
|
+
class AdGroupOptimizationGuidelinesResponse
|
|
139
|
+
attr_accessor :adGroupOptimizationGuidelines
|
|
140
|
+
attr_accessor :errors
|
|
141
|
+
attr_accessor :operationSucceeded
|
|
142
|
+
|
|
143
|
+
def initialize(adGroupOptimizationGuidelines = nil, errors = nil, operationSucceeded = nil)
|
|
144
|
+
@adGroupOptimizationGuidelines = adGroupOptimizationGuidelines
|
|
145
|
+
@errors = errors
|
|
146
|
+
@operationSucceeded = operationSucceeded
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# {http://marketing.ews.yahooapis.com/V2}BasicResponse
|
|
151
|
+
class BasicResponse
|
|
152
|
+
attr_accessor :errors
|
|
153
|
+
attr_accessor :operationSucceeded
|
|
154
|
+
|
|
155
|
+
def initialize(errors = nil, operationSucceeded = nil)
|
|
156
|
+
@errors = errors
|
|
157
|
+
@operationSucceeded = operationSucceeded
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfAdGroup
|
|
162
|
+
class ArrayOfAdGroup < ::Array
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfBasicResponse
|
|
166
|
+
class ArrayOfBasicResponse < ::Array
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# {http://schemas.xmlsoap.org/ws/2002/07/secext}Security
|
|
170
|
+
class Security
|
|
171
|
+
attr_accessor :usernameToken
|
|
172
|
+
|
|
173
|
+
def initialize(usernameToken = nil)
|
|
174
|
+
@usernameToken = usernameToken
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# {http://schemas.xmlsoap.org/ws/2002/07/secext}UsernameToken
|
|
179
|
+
class UsernameToken
|
|
180
|
+
attr_accessor :username
|
|
181
|
+
attr_accessor :password
|
|
182
|
+
|
|
183
|
+
def initialize(username = nil, password = nil)
|
|
184
|
+
@username = username
|
|
185
|
+
@password = password
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# {http://marketing.ews.yahooapis.com/V2}AdGroupStatus
|
|
190
|
+
class AdGroupStatus < ::String
|
|
191
|
+
Deleted = AdGroupStatus.new("Deleted")
|
|
192
|
+
Off = AdGroupStatus.new("Off")
|
|
193
|
+
On = AdGroupStatus.new("On")
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# {http://marketing.ews.yahooapis.com/V2}Importance
|
|
197
|
+
class Importance < ::String
|
|
198
|
+
High = Importance.new("High")
|
|
199
|
+
Low = Importance.new("Low")
|
|
200
|
+
Medium = Importance.new("Medium")
|
|
201
|
+
None = Importance.new("None")
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# {http://marketing.ews.yahooapis.com/V2}updateAdGroup
|
|
205
|
+
class UpdateAdGroup
|
|
206
|
+
attr_accessor :adGroup
|
|
207
|
+
attr_accessor :updateAll
|
|
208
|
+
|
|
209
|
+
def initialize(adGroup = nil, updateAll = nil)
|
|
210
|
+
@adGroup = adGroup
|
|
211
|
+
@updateAll = updateAll
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
# {http://marketing.ews.yahooapis.com/V2}updateAdGroupResponse
|
|
216
|
+
class UpdateAdGroupResponse
|
|
217
|
+
attr_accessor :out
|
|
218
|
+
|
|
219
|
+
def initialize(out = nil)
|
|
220
|
+
@out = out
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# {http://marketing.ews.yahooapis.com/V2}updateStatusForAdGroups
|
|
225
|
+
class UpdateStatusForAdGroups
|
|
226
|
+
attr_accessor :adGroupIDs
|
|
227
|
+
attr_accessor :status
|
|
228
|
+
|
|
229
|
+
def initialize(adGroupIDs = nil, status = nil)
|
|
230
|
+
@adGroupIDs = adGroupIDs
|
|
231
|
+
@status = status
|
|
232
|
+
end
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
# {http://marketing.ews.yahooapis.com/V2}updateStatusForAdGroupsResponse
|
|
236
|
+
class UpdateStatusForAdGroupsResponse
|
|
237
|
+
attr_accessor :out
|
|
238
|
+
|
|
239
|
+
def initialize(out = nil)
|
|
240
|
+
@out = out
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# {http://marketing.ews.yahooapis.com/V2}setOptimizationGuidelinesForAdGroup
|
|
245
|
+
class SetOptimizationGuidelinesForAdGroup
|
|
246
|
+
attr_accessor :optimizationGuidelines
|
|
247
|
+
|
|
248
|
+
def initialize(optimizationGuidelines = nil)
|
|
249
|
+
@optimizationGuidelines = optimizationGuidelines
|
|
250
|
+
end
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
# {http://marketing.ews.yahooapis.com/V2}setOptimizationGuidelinesForAdGroupResponse
|
|
254
|
+
class SetOptimizationGuidelinesForAdGroupResponse
|
|
255
|
+
attr_accessor :out
|
|
256
|
+
|
|
257
|
+
def initialize(out = nil)
|
|
258
|
+
@out = out
|
|
259
|
+
end
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# {http://marketing.ews.yahooapis.com/V2}moveAdGroup
|
|
263
|
+
class MoveAdGroup
|
|
264
|
+
attr_accessor :adGroupID
|
|
265
|
+
attr_accessor :destinationCampaignID
|
|
266
|
+
attr_accessor :newAdGroupName
|
|
267
|
+
|
|
268
|
+
def initialize(adGroupID = nil, destinationCampaignID = nil, newAdGroupName = nil)
|
|
269
|
+
@adGroupID = adGroupID
|
|
270
|
+
@destinationCampaignID = destinationCampaignID
|
|
271
|
+
@newAdGroupName = newAdGroupName
|
|
272
|
+
end
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
# {http://marketing.ews.yahooapis.com/V2}moveAdGroupResponse
|
|
276
|
+
class MoveAdGroupResponse
|
|
277
|
+
attr_accessor :out
|
|
278
|
+
|
|
279
|
+
def initialize(out = nil)
|
|
280
|
+
@out = out
|
|
281
|
+
end
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# {http://marketing.ews.yahooapis.com/V2}addAdGroups
|
|
285
|
+
class AddAdGroups
|
|
286
|
+
attr_accessor :adGroups
|
|
287
|
+
|
|
288
|
+
def initialize(adGroups = nil)
|
|
289
|
+
@adGroups = adGroups
|
|
290
|
+
end
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
# {http://marketing.ews.yahooapis.com/V2}addAdGroupsResponse
|
|
294
|
+
class AddAdGroupsResponse
|
|
295
|
+
attr_accessor :out
|
|
296
|
+
|
|
297
|
+
def initialize(out = nil)
|
|
298
|
+
@out = out
|
|
299
|
+
end
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# {http://marketing.ews.yahooapis.com/V2}setAdGroupSponsoredSearchMaxBid
|
|
303
|
+
class SetAdGroupSponsoredSearchMaxBid
|
|
304
|
+
attr_accessor :adGroupID
|
|
305
|
+
attr_accessor :maxBid
|
|
306
|
+
|
|
307
|
+
def initialize(adGroupID = nil, maxBid = nil)
|
|
308
|
+
@adGroupID = adGroupID
|
|
309
|
+
@maxBid = maxBid
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
# {http://marketing.ews.yahooapis.com/V2}setAdGroupSponsoredSearchMaxBidResponse
|
|
314
|
+
class SetAdGroupSponsoredSearchMaxBidResponse
|
|
315
|
+
attr_accessor :out
|
|
316
|
+
|
|
317
|
+
def initialize(out = nil)
|
|
318
|
+
@out = out
|
|
319
|
+
end
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
# {http://marketing.ews.yahooapis.com/V2}getOptimizationGuidelinesForAdGroup
|
|
323
|
+
class GetOptimizationGuidelinesForAdGroup
|
|
324
|
+
attr_accessor :adGroupID
|
|
325
|
+
|
|
326
|
+
def initialize(adGroupID = nil)
|
|
327
|
+
@adGroupID = adGroupID
|
|
328
|
+
end
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
# {http://marketing.ews.yahooapis.com/V2}getOptimizationGuidelinesForAdGroupResponse
|
|
332
|
+
class GetOptimizationGuidelinesForAdGroupResponse
|
|
333
|
+
attr_accessor :out
|
|
334
|
+
|
|
335
|
+
def initialize(out = nil)
|
|
336
|
+
@out = out
|
|
337
|
+
end
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupsByCampaignIDByStatus
|
|
341
|
+
class GetAdGroupsByCampaignIDByStatus
|
|
342
|
+
attr_accessor :campaignID
|
|
343
|
+
attr_accessor :adGroupStatus
|
|
344
|
+
|
|
345
|
+
def initialize(campaignID = nil, adGroupStatus = nil)
|
|
346
|
+
@campaignID = campaignID
|
|
347
|
+
@adGroupStatus = adGroupStatus
|
|
348
|
+
end
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupsByCampaignIDByStatusResponse
|
|
352
|
+
class GetAdGroupsByCampaignIDByStatusResponse
|
|
353
|
+
attr_accessor :out
|
|
354
|
+
|
|
355
|
+
def initialize(out = nil)
|
|
356
|
+
@out = out
|
|
357
|
+
end
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupKeywordCount
|
|
361
|
+
class GetAdGroupKeywordCount
|
|
362
|
+
attr_accessor :adGroupID
|
|
363
|
+
attr_accessor :includeDeleted
|
|
364
|
+
|
|
365
|
+
def initialize(adGroupID = nil, includeDeleted = nil)
|
|
366
|
+
@adGroupID = adGroupID
|
|
367
|
+
@includeDeleted = includeDeleted
|
|
368
|
+
end
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupKeywordCountResponse
|
|
372
|
+
class GetAdGroupKeywordCountResponse
|
|
373
|
+
attr_accessor :out
|
|
374
|
+
|
|
375
|
+
def initialize(out = nil)
|
|
376
|
+
@out = out
|
|
377
|
+
end
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
# {http://marketing.ews.yahooapis.com/V2}addAdGroup
|
|
381
|
+
class AddAdGroup
|
|
382
|
+
attr_accessor :adGroup
|
|
383
|
+
|
|
384
|
+
def initialize(adGroup = nil)
|
|
385
|
+
@adGroup = adGroup
|
|
386
|
+
end
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
# {http://marketing.ews.yahooapis.com/V2}addAdGroupResponse
|
|
390
|
+
class AddAdGroupResponse
|
|
391
|
+
attr_accessor :out
|
|
392
|
+
|
|
393
|
+
def initialize(out = nil)
|
|
394
|
+
@out = out
|
|
395
|
+
end
|
|
396
|
+
end
|
|
397
|
+
|
|
398
|
+
# {http://marketing.ews.yahooapis.com/V2}updateAdGroups
|
|
399
|
+
class UpdateAdGroups
|
|
400
|
+
attr_accessor :adGroups
|
|
401
|
+
attr_accessor :updateAll
|
|
402
|
+
|
|
403
|
+
def initialize(adGroups = nil, updateAll = nil)
|
|
404
|
+
@adGroups = adGroups
|
|
405
|
+
@updateAll = updateAll
|
|
406
|
+
end
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
# {http://marketing.ews.yahooapis.com/V2}updateAdGroupsResponse
|
|
410
|
+
class UpdateAdGroupsResponse
|
|
411
|
+
attr_accessor :out
|
|
412
|
+
|
|
413
|
+
def initialize(out = nil)
|
|
414
|
+
@out = out
|
|
415
|
+
end
|
|
416
|
+
end
|
|
417
|
+
|
|
418
|
+
# {http://marketing.ews.yahooapis.com/V2}setAdGroupContentMatchMaxBid
|
|
419
|
+
class SetAdGroupContentMatchMaxBid
|
|
420
|
+
attr_accessor :adGroupID
|
|
421
|
+
attr_accessor :maxBid
|
|
422
|
+
|
|
423
|
+
def initialize(adGroupID = nil, maxBid = nil)
|
|
424
|
+
@adGroupID = adGroupID
|
|
425
|
+
@maxBid = maxBid
|
|
426
|
+
end
|
|
427
|
+
end
|
|
428
|
+
|
|
429
|
+
# {http://marketing.ews.yahooapis.com/V2}setAdGroupContentMatchMaxBidResponse
|
|
430
|
+
class SetAdGroupContentMatchMaxBidResponse
|
|
431
|
+
attr_accessor :out
|
|
432
|
+
|
|
433
|
+
def initialize(out = nil)
|
|
434
|
+
@out = out
|
|
435
|
+
end
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroups
|
|
439
|
+
class GetAdGroups
|
|
440
|
+
attr_accessor :adGroupIDs
|
|
441
|
+
|
|
442
|
+
def initialize(adGroupIDs = nil)
|
|
443
|
+
@adGroupIDs = adGroupIDs
|
|
444
|
+
end
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupsResponse
|
|
448
|
+
class GetAdGroupsResponse
|
|
449
|
+
attr_accessor :out
|
|
450
|
+
|
|
451
|
+
def initialize(out = nil)
|
|
452
|
+
@out = out
|
|
453
|
+
end
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# {http://marketing.ews.yahooapis.com/V2}getStatusForAdGroup
|
|
457
|
+
class GetStatusForAdGroup
|
|
458
|
+
attr_accessor :adGroupID
|
|
459
|
+
|
|
460
|
+
def initialize(adGroupID = nil)
|
|
461
|
+
@adGroupID = adGroupID
|
|
462
|
+
end
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# {http://marketing.ews.yahooapis.com/V2}getStatusForAdGroupResponse
|
|
466
|
+
class GetStatusForAdGroupResponse
|
|
467
|
+
attr_accessor :out
|
|
468
|
+
|
|
469
|
+
def initialize(out = nil)
|
|
470
|
+
@out = out
|
|
471
|
+
end
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupContentMatchMaxBid
|
|
475
|
+
class GetAdGroupContentMatchMaxBid
|
|
476
|
+
attr_accessor :adGroupID
|
|
477
|
+
|
|
478
|
+
def initialize(adGroupID = nil)
|
|
479
|
+
@adGroupID = adGroupID
|
|
480
|
+
end
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupContentMatchMaxBidResponse
|
|
484
|
+
class GetAdGroupContentMatchMaxBidResponse
|
|
485
|
+
attr_accessor :out
|
|
486
|
+
|
|
487
|
+
def initialize(out = nil)
|
|
488
|
+
@out = out
|
|
489
|
+
end
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroup
|
|
493
|
+
class GetAdGroup
|
|
494
|
+
attr_accessor :adGroupID
|
|
495
|
+
|
|
496
|
+
def initialize(adGroupID = nil)
|
|
497
|
+
@adGroupID = adGroupID
|
|
498
|
+
end
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupResponse
|
|
502
|
+
class GetAdGroupResponse
|
|
503
|
+
attr_accessor :out
|
|
504
|
+
|
|
505
|
+
def initialize(out = nil)
|
|
506
|
+
@out = out
|
|
507
|
+
end
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupsByCampaignID
|
|
511
|
+
class GetAdGroupsByCampaignID
|
|
512
|
+
attr_accessor :campaignID
|
|
513
|
+
attr_accessor :includeDeleted
|
|
514
|
+
attr_accessor :startElement
|
|
515
|
+
attr_accessor :numElements
|
|
516
|
+
|
|
517
|
+
def initialize(campaignID = nil, includeDeleted = nil, startElement = nil, numElements = nil)
|
|
518
|
+
@campaignID = campaignID
|
|
519
|
+
@includeDeleted = includeDeleted
|
|
520
|
+
@startElement = startElement
|
|
521
|
+
@numElements = numElements
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupsByCampaignIDResponse
|
|
526
|
+
class GetAdGroupsByCampaignIDResponse
|
|
527
|
+
attr_accessor :out
|
|
528
|
+
|
|
529
|
+
def initialize(out = nil)
|
|
530
|
+
@out = out
|
|
531
|
+
end
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
# {http://marketing.ews.yahooapis.com/V2}updateStatusForAdGroup
|
|
535
|
+
class UpdateStatusForAdGroup
|
|
536
|
+
attr_accessor :adGroupID
|
|
537
|
+
attr_accessor :status
|
|
538
|
+
|
|
539
|
+
def initialize(adGroupID = nil, status = nil)
|
|
540
|
+
@adGroupID = adGroupID
|
|
541
|
+
@status = status
|
|
542
|
+
end
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
# {http://marketing.ews.yahooapis.com/V2}updateStatusForAdGroupResponse
|
|
546
|
+
class UpdateStatusForAdGroupResponse
|
|
547
|
+
attr_accessor :out
|
|
548
|
+
|
|
549
|
+
def initialize(out = nil)
|
|
550
|
+
@out = out
|
|
551
|
+
end
|
|
552
|
+
end
|
|
553
|
+
|
|
554
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupAdCount
|
|
555
|
+
class GetAdGroupAdCount
|
|
556
|
+
attr_accessor :adGroupID
|
|
557
|
+
attr_accessor :includeDeleted
|
|
558
|
+
|
|
559
|
+
def initialize(adGroupID = nil, includeDeleted = nil)
|
|
560
|
+
@adGroupID = adGroupID
|
|
561
|
+
@includeDeleted = includeDeleted
|
|
562
|
+
end
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupAdCountResponse
|
|
566
|
+
class GetAdGroupAdCountResponse
|
|
567
|
+
attr_accessor :out
|
|
568
|
+
|
|
569
|
+
def initialize(out = nil)
|
|
570
|
+
@out = out
|
|
571
|
+
end
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
# {http://marketing.ews.yahooapis.com/V2}deleteAdGroup
|
|
575
|
+
class DeleteAdGroup
|
|
576
|
+
attr_accessor :adGroupID
|
|
577
|
+
|
|
578
|
+
def initialize(adGroupID = nil)
|
|
579
|
+
@adGroupID = adGroupID
|
|
580
|
+
end
|
|
581
|
+
end
|
|
582
|
+
|
|
583
|
+
# {http://marketing.ews.yahooapis.com/V2}deleteAdGroupResponse
|
|
584
|
+
class DeleteAdGroupResponse
|
|
585
|
+
attr_accessor :out
|
|
586
|
+
|
|
587
|
+
def initialize(out = nil)
|
|
588
|
+
@out = out
|
|
589
|
+
end
|
|
590
|
+
end
|
|
591
|
+
|
|
592
|
+
# {http://marketing.ews.yahooapis.com/V2}deleteAdGroups
|
|
593
|
+
class DeleteAdGroups
|
|
594
|
+
attr_accessor :adGroupIDs
|
|
595
|
+
|
|
596
|
+
def initialize(adGroupIDs = nil)
|
|
597
|
+
@adGroupIDs = adGroupIDs
|
|
598
|
+
end
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
# {http://marketing.ews.yahooapis.com/V2}deleteAdGroupsResponse
|
|
602
|
+
class DeleteAdGroupsResponse
|
|
603
|
+
attr_accessor :out
|
|
604
|
+
|
|
605
|
+
def initialize(out = nil)
|
|
606
|
+
@out = out
|
|
607
|
+
end
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupExcludedWordsCount
|
|
611
|
+
class GetAdGroupExcludedWordsCount
|
|
612
|
+
attr_accessor :adGroupID
|
|
613
|
+
attr_accessor :includeDeleted
|
|
614
|
+
|
|
615
|
+
def initialize(adGroupID = nil, includeDeleted = nil)
|
|
616
|
+
@adGroupID = adGroupID
|
|
617
|
+
@includeDeleted = includeDeleted
|
|
618
|
+
end
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupExcludedWordsCountResponse
|
|
622
|
+
class GetAdGroupExcludedWordsCountResponse
|
|
623
|
+
attr_accessor :out
|
|
624
|
+
|
|
625
|
+
def initialize(out = nil)
|
|
626
|
+
@out = out
|
|
627
|
+
end
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupSponsoredSearchMaxBid
|
|
631
|
+
class GetAdGroupSponsoredSearchMaxBid
|
|
632
|
+
attr_accessor :adGroupID
|
|
633
|
+
|
|
634
|
+
def initialize(adGroupID = nil)
|
|
635
|
+
@adGroupID = adGroupID
|
|
636
|
+
end
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
# {http://marketing.ews.yahooapis.com/V2}getAdGroupSponsoredSearchMaxBidResponse
|
|
640
|
+
class GetAdGroupSponsoredSearchMaxBidResponse
|
|
641
|
+
attr_accessor :out
|
|
642
|
+
|
|
643
|
+
def initialize(out = nil)
|
|
644
|
+
@out = out
|
|
645
|
+
end
|
|
646
|
+
end
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
end
|